@gizone/rrs-client 3.11.12-alpha.21 → 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 +13 -18
- 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/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/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/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/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/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 +15 -15
- package/dist/esm/models/index.d.ts +13 -18
- package/dist/esm/models/index.js +13 -18
- package/dist/esm/models/inspection-item-bo.d.ts +10 -4
- package/dist/esm/models/inspection-point-item.d.ts +6 -18
- package/dist/{models/json-result-page-dto-sys-user-msg-dto.d.ts → esm/models/json-result-calendar-add-redis-list-vo.d.ts} +11 -11
- package/dist/esm/models/{json-result-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/{models/page-dto-sys-user-msg-dto.d.ts → esm/models/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 -6
- 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 +15 -15
- package/dist/models/index.d.ts +13 -18
- package/dist/models/index.js +13 -18
- package/dist/models/inspection-item-bo.d.ts +10 -4
- package/dist/models/inspection-point-item.d.ts +6 -18
- package/dist/{esm/models/json-result-page-dto-sys-user-msg-dto.d.ts → models/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/{esm/models/page-dto-sys-user-msg-dto.d.ts → models/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 -6
- 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 +15 -15
- package/models/index.ts +13 -18
- package/models/inspection-item-bo.ts +10 -4
- package/models/inspection-point-item.ts +6 -18
- 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 -6
- 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/dist/esm/models/dept-relation-dto.d.ts +0 -120
- package/dist/esm/models/dept-relation.d.ts +0 -84
- package/dist/esm/models/json-result-excel-import-result-dtocalendar-export-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/park-info-dto.d.ts +0 -85
- package/dist/esm/models/park-info-edit-vo.d.ts +0 -49
- 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/json-result-excel-import-result-dtocalendar-export-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/park-info-dto.d.ts +0 -85
- package/dist/models/park-info-edit-vo.d.ts +0 -49
- 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/json-result-excel-import-result-dtocalendar-export-dto.ts +0 -66
- package/models/json-result-list-work-order-dept-settings-entity.ts +0 -66
- 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/{json-result-excel-import-result-dtocalendar-export-dto.js → json-result-space-edit-before-and-after-dto.js} +0 -0
- /package/dist/esm/models/{json-result-list-work-order-dept-settings-entity.js → json-result-sys-user-msg-do.js} +0 -0
- /package/dist/esm/models/{json-result-page-dto-sys-user-msg-dto.js → page-dto-sys-user-msg-list-dto.js} +0 -0
- /package/dist/esm/models/{json-result-park-info-dto.js → space-edit-before-and-after-dto.js} +0 -0
- /package/dist/esm/models/{json-result-sys-user-msg-dto.js → space-edit-excel-dto.js} +0 -0
- /package/dist/esm/models/{json-result-work-order-dept-settings-entity.js → sys-user-msg-do.js} +0 -0
- /package/dist/esm/models/{page-dto-sys-user-msg-dto.js → sys-user-msg-list-dto.js} +0 -0
- /package/dist/esm/models/{park-info-dto.js → sys-user-msg-search-list-vo.js} +0 -0
- /package/dist/esm/models/{park-info-edit-vo.js → work-order-check-before-acceptance-adopt-vo.js} +0 -0
- /package/dist/esm/models/{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/{json-result-excel-import-result-dtocalendar-export-dto.js → json-result-space-edit-before-and-after-dto.js} +0 -0
- /package/dist/models/{json-result-list-work-order-dept-settings-entity.js → json-result-sys-user-msg-do.js} +0 -0
- /package/dist/models/{json-result-page-dto-sys-user-msg-dto.js → page-dto-sys-user-msg-list-dto.js} +0 -0
- /package/dist/models/{json-result-park-info-dto.js → space-edit-before-and-after-dto.js} +0 -0
- /package/dist/models/{json-result-sys-user-msg-dto.js → space-edit-excel-dto.js} +0 -0
- /package/dist/models/{json-result-work-order-dept-settings-entity.js → sys-user-msg-do.js} +0 -0
- /package/dist/models/{page-dto-sys-user-msg-dto.js → sys-user-msg-list-dto.js} +0 -0
- /package/dist/models/{park-info-dto.js → sys-user-msg-search-list-vo.js} +0 -0
- /package/dist/models/{park-info-edit-vo.js → work-order-check-before-acceptance-adopt-vo.js} +0 -0
- /package/dist/models/{sys-user-msg-dto.js → work-order-check-before-acceptance-no-vo.js} +0 -0
package/apis/space-api.ts
CHANGED
|
@@ -36,6 +36,8 @@ import type { JsonResultListSpaceUrlDTO } from '../models';
|
|
|
36
36
|
// @ts-ignore
|
|
37
37
|
import type { JsonResultSpaceAddRedisListDTO } from '../models';
|
|
38
38
|
// @ts-ignore
|
|
39
|
+
import type { JsonResultSpaceEditBeforeAndAfterDTO } from '../models';
|
|
40
|
+
// @ts-ignore
|
|
39
41
|
import type { JsonResultSpaceImageDetailDTO } from '../models';
|
|
40
42
|
// @ts-ignore
|
|
41
43
|
import type { SpaceAddPlanVo } from '../models';
|
|
@@ -383,6 +385,47 @@ export const SpaceApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
383
385
|
options: localVarRequestOptions,
|
|
384
386
|
};
|
|
385
387
|
},
|
|
388
|
+
/**
|
|
389
|
+
*
|
|
390
|
+
* @summary 查询修改前后数据
|
|
391
|
+
* @param {number} parkId
|
|
392
|
+
* @param {*} [options] Override http request option.
|
|
393
|
+
* @throws {RequiredError}
|
|
394
|
+
*/
|
|
395
|
+
spaceEditBeforeAndAfter: async (parkId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
396
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
397
|
+
assertParamExists('spaceEditBeforeAndAfter', 'parkId', parkId)
|
|
398
|
+
const localVarPath = `/gizone/space/get-edit-before-and-after`;
|
|
399
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
400
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
401
|
+
let baseOptions;
|
|
402
|
+
if (configuration) {
|
|
403
|
+
baseOptions = configuration.baseOptions;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
407
|
+
const localVarHeaderParameter = {} as any;
|
|
408
|
+
const localVarQueryParameter = {} as any;
|
|
409
|
+
|
|
410
|
+
// authentication tokenScheme required
|
|
411
|
+
// http bearer authentication required
|
|
412
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
413
|
+
|
|
414
|
+
if (parkId !== undefined) {
|
|
415
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
421
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
422
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
423
|
+
|
|
424
|
+
return {
|
|
425
|
+
url: toPathString(localVarUrlObj),
|
|
426
|
+
options: localVarRequestOptions,
|
|
427
|
+
};
|
|
428
|
+
},
|
|
386
429
|
/**
|
|
387
430
|
*
|
|
388
431
|
* @summary /导出修改Excel模板
|
|
@@ -434,6 +477,122 @@ export const SpaceApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
434
477
|
options: localVarRequestOptions,
|
|
435
478
|
};
|
|
436
479
|
},
|
|
480
|
+
/**
|
|
481
|
+
*
|
|
482
|
+
* @summary /修改excel入数据库
|
|
483
|
+
* @param {*} [options] Override http request option.
|
|
484
|
+
* @throws {RequiredError}
|
|
485
|
+
*/
|
|
486
|
+
spaceEditImportConfirm: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
487
|
+
const localVarPath = `/gizone/space/editImport`;
|
|
488
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
489
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
490
|
+
let baseOptions;
|
|
491
|
+
if (configuration) {
|
|
492
|
+
baseOptions = configuration.baseOptions;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
496
|
+
const localVarHeaderParameter = {} as any;
|
|
497
|
+
const localVarQueryParameter = {} as any;
|
|
498
|
+
|
|
499
|
+
// authentication tokenScheme required
|
|
500
|
+
// http bearer authentication required
|
|
501
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
506
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
507
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
508
|
+
|
|
509
|
+
return {
|
|
510
|
+
url: toPathString(localVarUrlObj),
|
|
511
|
+
options: localVarRequestOptions,
|
|
512
|
+
};
|
|
513
|
+
},
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @summary 修改---结果确认
|
|
517
|
+
* @param {*} [options] Override http request option.
|
|
518
|
+
* @throws {RequiredError}
|
|
519
|
+
*/
|
|
520
|
+
spaceEditImportPreview: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
521
|
+
const localVarPath = `/gizone/space/editRedisList`;
|
|
522
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
523
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
524
|
+
let baseOptions;
|
|
525
|
+
if (configuration) {
|
|
526
|
+
baseOptions = configuration.baseOptions;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
530
|
+
const localVarHeaderParameter = {} as any;
|
|
531
|
+
const localVarQueryParameter = {} as any;
|
|
532
|
+
|
|
533
|
+
// authentication tokenScheme required
|
|
534
|
+
// http bearer authentication required
|
|
535
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
540
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
541
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
542
|
+
|
|
543
|
+
return {
|
|
544
|
+
url: toPathString(localVarUrlObj),
|
|
545
|
+
options: localVarRequestOptions,
|
|
546
|
+
};
|
|
547
|
+
},
|
|
548
|
+
/**
|
|
549
|
+
*
|
|
550
|
+
* @summary 修改---上传文件
|
|
551
|
+
* @param {string} [language]
|
|
552
|
+
* @param {File} [file]
|
|
553
|
+
* @param {*} [options] Override http request option.
|
|
554
|
+
* @throws {RequiredError}
|
|
555
|
+
*/
|
|
556
|
+
spaceEditImportUpload: async (language?: string, file?: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
557
|
+
const localVarPath = `/gizone/space/editSpaceFileToRedis`;
|
|
558
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
559
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
560
|
+
let baseOptions;
|
|
561
|
+
if (configuration) {
|
|
562
|
+
baseOptions = configuration.baseOptions;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
566
|
+
const localVarHeaderParameter = {} as any;
|
|
567
|
+
const localVarQueryParameter = {} as any;
|
|
568
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
569
|
+
|
|
570
|
+
// authentication tokenScheme required
|
|
571
|
+
// http bearer authentication required
|
|
572
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
573
|
+
|
|
574
|
+
if (language !== undefined) {
|
|
575
|
+
localVarQueryParameter['language'] = language;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
if (file !== undefined) {
|
|
580
|
+
localVarFormParams.append('file', file as any);
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
585
|
+
|
|
586
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
587
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
588
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
589
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
590
|
+
|
|
591
|
+
return {
|
|
592
|
+
url: toPathString(localVarUrlObj),
|
|
593
|
+
options: localVarRequestOptions,
|
|
594
|
+
};
|
|
595
|
+
},
|
|
437
596
|
/**
|
|
438
597
|
*
|
|
439
598
|
* @summary 编辑平面图
|
|
@@ -1026,6 +1185,19 @@ export const SpaceApiFp = function(configuration?: Configuration) {
|
|
|
1026
1185
|
const localVarOperationServerBasePath = operationServerMap['SpaceApi.spaceEdit']?.[localVarOperationServerIndex]?.url;
|
|
1027
1186
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1028
1187
|
},
|
|
1188
|
+
/**
|
|
1189
|
+
*
|
|
1190
|
+
* @summary 查询修改前后数据
|
|
1191
|
+
* @param {number} parkId
|
|
1192
|
+
* @param {*} [options] Override http request option.
|
|
1193
|
+
* @throws {RequiredError}
|
|
1194
|
+
*/
|
|
1195
|
+
async spaceEditBeforeAndAfter(parkId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultSpaceEditBeforeAndAfterDTO>> {
|
|
1196
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.spaceEditBeforeAndAfter(parkId, options);
|
|
1197
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1198
|
+
const localVarOperationServerBasePath = operationServerMap['SpaceApi.spaceEditBeforeAndAfter']?.[localVarOperationServerIndex]?.url;
|
|
1199
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1200
|
+
},
|
|
1029
1201
|
/**
|
|
1030
1202
|
*
|
|
1031
1203
|
* @summary /导出修改Excel模板
|
|
@@ -1041,6 +1213,44 @@ export const SpaceApiFp = function(configuration?: Configuration) {
|
|
|
1041
1213
|
const localVarOperationServerBasePath = operationServerMap['SpaceApi.spaceEditExportTemplate']?.[localVarOperationServerIndex]?.url;
|
|
1042
1214
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1043
1215
|
},
|
|
1216
|
+
/**
|
|
1217
|
+
*
|
|
1218
|
+
* @summary /修改excel入数据库
|
|
1219
|
+
* @param {*} [options] Override http request option.
|
|
1220
|
+
* @throws {RequiredError}
|
|
1221
|
+
*/
|
|
1222
|
+
async spaceEditImportConfirm(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
1223
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.spaceEditImportConfirm(options);
|
|
1224
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1225
|
+
const localVarOperationServerBasePath = operationServerMap['SpaceApi.spaceEditImportConfirm']?.[localVarOperationServerIndex]?.url;
|
|
1226
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1227
|
+
},
|
|
1228
|
+
/**
|
|
1229
|
+
*
|
|
1230
|
+
* @summary 修改---结果确认
|
|
1231
|
+
* @param {*} [options] Override http request option.
|
|
1232
|
+
* @throws {RequiredError}
|
|
1233
|
+
*/
|
|
1234
|
+
async spaceEditImportPreview(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
1235
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.spaceEditImportPreview(options);
|
|
1236
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1237
|
+
const localVarOperationServerBasePath = operationServerMap['SpaceApi.spaceEditImportPreview']?.[localVarOperationServerIndex]?.url;
|
|
1238
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1239
|
+
},
|
|
1240
|
+
/**
|
|
1241
|
+
*
|
|
1242
|
+
* @summary 修改---上传文件
|
|
1243
|
+
* @param {string} [language]
|
|
1244
|
+
* @param {File} [file]
|
|
1245
|
+
* @param {*} [options] Override http request option.
|
|
1246
|
+
* @throws {RequiredError}
|
|
1247
|
+
*/
|
|
1248
|
+
async spaceEditImportUpload(language?: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
1249
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.spaceEditImportUpload(language, file, options);
|
|
1250
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1251
|
+
const localVarOperationServerBasePath = operationServerMap['SpaceApi.spaceEditImportUpload']?.[localVarOperationServerIndex]?.url;
|
|
1252
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1253
|
+
},
|
|
1044
1254
|
/**
|
|
1045
1255
|
*
|
|
1046
1256
|
* @summary 编辑平面图
|
|
@@ -1286,6 +1496,16 @@ export const SpaceApiFactory = function (configuration?: Configuration, basePath
|
|
|
1286
1496
|
spaceEdit(requestParameters: SpaceApiSpaceEditRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
1287
1497
|
return localVarFp.spaceEdit(requestParameters.spaceEditVO, options).then((request) => request(axios, basePath));
|
|
1288
1498
|
},
|
|
1499
|
+
/**
|
|
1500
|
+
*
|
|
1501
|
+
* @summary 查询修改前后数据
|
|
1502
|
+
* @param {SpaceApiSpaceEditBeforeAndAfterRequest} requestParameters Request parameters.
|
|
1503
|
+
* @param {*} [options] Override http request option.
|
|
1504
|
+
* @throws {RequiredError}
|
|
1505
|
+
*/
|
|
1506
|
+
spaceEditBeforeAndAfter(requestParameters: SpaceApiSpaceEditBeforeAndAfterRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultSpaceEditBeforeAndAfterDTO> {
|
|
1507
|
+
return localVarFp.spaceEditBeforeAndAfter(requestParameters.parkId, options).then((request) => request(axios, basePath));
|
|
1508
|
+
},
|
|
1289
1509
|
/**
|
|
1290
1510
|
*
|
|
1291
1511
|
* @summary /导出修改Excel模板
|
|
@@ -1296,6 +1516,34 @@ export const SpaceApiFactory = function (configuration?: Configuration, basePath
|
|
|
1296
1516
|
spaceEditExportTemplate(requestParameters: SpaceApiSpaceEditExportTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1297
1517
|
return localVarFp.spaceEditExportTemplate(requestParameters.parkId, requestParameters.spaceIds, requestParameters.language, options).then((request) => request(axios, basePath));
|
|
1298
1518
|
},
|
|
1519
|
+
/**
|
|
1520
|
+
*
|
|
1521
|
+
* @summary /修改excel入数据库
|
|
1522
|
+
* @param {*} [options] Override http request option.
|
|
1523
|
+
* @throws {RequiredError}
|
|
1524
|
+
*/
|
|
1525
|
+
spaceEditImportConfirm(options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
1526
|
+
return localVarFp.spaceEditImportConfirm(options).then((request) => request(axios, basePath));
|
|
1527
|
+
},
|
|
1528
|
+
/**
|
|
1529
|
+
*
|
|
1530
|
+
* @summary 修改---结果确认
|
|
1531
|
+
* @param {*} [options] Override http request option.
|
|
1532
|
+
* @throws {RequiredError}
|
|
1533
|
+
*/
|
|
1534
|
+
spaceEditImportPreview(options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
1535
|
+
return localVarFp.spaceEditImportPreview(options).then((request) => request(axios, basePath));
|
|
1536
|
+
},
|
|
1537
|
+
/**
|
|
1538
|
+
*
|
|
1539
|
+
* @summary 修改---上传文件
|
|
1540
|
+
* @param {SpaceApiSpaceEditImportUploadRequest} requestParameters Request parameters.
|
|
1541
|
+
* @param {*} [options] Override http request option.
|
|
1542
|
+
* @throws {RequiredError}
|
|
1543
|
+
*/
|
|
1544
|
+
spaceEditImportUpload(requestParameters: SpaceApiSpaceEditImportUploadRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
1545
|
+
return localVarFp.spaceEditImportUpload(requestParameters.language, requestParameters.file, options).then((request) => request(axios, basePath));
|
|
1546
|
+
},
|
|
1299
1547
|
/**
|
|
1300
1548
|
*
|
|
1301
1549
|
* @summary 编辑平面图
|
|
@@ -1524,6 +1772,20 @@ export interface SpaceApiSpaceEditRequest {
|
|
|
1524
1772
|
readonly spaceEditVO: SpaceEditVO
|
|
1525
1773
|
}
|
|
1526
1774
|
|
|
1775
|
+
/**
|
|
1776
|
+
* Request parameters for spaceEditBeforeAndAfter operation in SpaceApi.
|
|
1777
|
+
* @export
|
|
1778
|
+
* @interface SpaceApiSpaceEditBeforeAndAfterRequest
|
|
1779
|
+
*/
|
|
1780
|
+
export interface SpaceApiSpaceEditBeforeAndAfterRequest {
|
|
1781
|
+
/**
|
|
1782
|
+
*
|
|
1783
|
+
* @type {number}
|
|
1784
|
+
* @memberof SpaceApiSpaceEditBeforeAndAfter
|
|
1785
|
+
*/
|
|
1786
|
+
readonly parkId: number
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1527
1789
|
/**
|
|
1528
1790
|
* Request parameters for spaceEditExportTemplate operation in SpaceApi.
|
|
1529
1791
|
* @export
|
|
@@ -1552,6 +1814,27 @@ export interface SpaceApiSpaceEditExportTemplateRequest {
|
|
|
1552
1814
|
readonly language?: string
|
|
1553
1815
|
}
|
|
1554
1816
|
|
|
1817
|
+
/**
|
|
1818
|
+
* Request parameters for spaceEditImportUpload operation in SpaceApi.
|
|
1819
|
+
* @export
|
|
1820
|
+
* @interface SpaceApiSpaceEditImportUploadRequest
|
|
1821
|
+
*/
|
|
1822
|
+
export interface SpaceApiSpaceEditImportUploadRequest {
|
|
1823
|
+
/**
|
|
1824
|
+
*
|
|
1825
|
+
* @type {string}
|
|
1826
|
+
* @memberof SpaceApiSpaceEditImportUpload
|
|
1827
|
+
*/
|
|
1828
|
+
readonly language?: string
|
|
1829
|
+
|
|
1830
|
+
/**
|
|
1831
|
+
*
|
|
1832
|
+
* @type {File}
|
|
1833
|
+
* @memberof SpaceApiSpaceEditImportUpload
|
|
1834
|
+
*/
|
|
1835
|
+
readonly file?: File
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1555
1838
|
/**
|
|
1556
1839
|
* Request parameters for spaceEditSpacePlanUrl operation in SpaceApi.
|
|
1557
1840
|
* @export
|
|
@@ -1822,6 +2105,18 @@ export class SpaceApi extends BaseAPI {
|
|
|
1822
2105
|
return SpaceApiFp(this.configuration).spaceEdit(requestParameters.spaceEditVO, options).then((request) => request(this.axios, this.basePath));
|
|
1823
2106
|
}
|
|
1824
2107
|
|
|
2108
|
+
/**
|
|
2109
|
+
*
|
|
2110
|
+
* @summary 查询修改前后数据
|
|
2111
|
+
* @param {SpaceApiSpaceEditBeforeAndAfterRequest} requestParameters Request parameters.
|
|
2112
|
+
* @param {*} [options] Override http request option.
|
|
2113
|
+
* @throws {RequiredError}
|
|
2114
|
+
* @memberof SpaceApi
|
|
2115
|
+
*/
|
|
2116
|
+
public spaceEditBeforeAndAfter(requestParameters: SpaceApiSpaceEditBeforeAndAfterRequest, options?: RawAxiosRequestConfig) {
|
|
2117
|
+
return SpaceApiFp(this.configuration).spaceEditBeforeAndAfter(requestParameters.parkId, options).then((request) => request(this.axios, this.basePath));
|
|
2118
|
+
}
|
|
2119
|
+
|
|
1825
2120
|
/**
|
|
1826
2121
|
*
|
|
1827
2122
|
* @summary /导出修改Excel模板
|
|
@@ -1834,6 +2129,40 @@ export class SpaceApi extends BaseAPI {
|
|
|
1834
2129
|
return SpaceApiFp(this.configuration).spaceEditExportTemplate(requestParameters.parkId, requestParameters.spaceIds, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
1835
2130
|
}
|
|
1836
2131
|
|
|
2132
|
+
/**
|
|
2133
|
+
*
|
|
2134
|
+
* @summary /修改excel入数据库
|
|
2135
|
+
* @param {*} [options] Override http request option.
|
|
2136
|
+
* @throws {RequiredError}
|
|
2137
|
+
* @memberof SpaceApi
|
|
2138
|
+
*/
|
|
2139
|
+
public spaceEditImportConfirm(options?: RawAxiosRequestConfig) {
|
|
2140
|
+
return SpaceApiFp(this.configuration).spaceEditImportConfirm(options).then((request) => request(this.axios, this.basePath));
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2143
|
+
/**
|
|
2144
|
+
*
|
|
2145
|
+
* @summary 修改---结果确认
|
|
2146
|
+
* @param {*} [options] Override http request option.
|
|
2147
|
+
* @throws {RequiredError}
|
|
2148
|
+
* @memberof SpaceApi
|
|
2149
|
+
*/
|
|
2150
|
+
public spaceEditImportPreview(options?: RawAxiosRequestConfig) {
|
|
2151
|
+
return SpaceApiFp(this.configuration).spaceEditImportPreview(options).then((request) => request(this.axios, this.basePath));
|
|
2152
|
+
}
|
|
2153
|
+
|
|
2154
|
+
/**
|
|
2155
|
+
*
|
|
2156
|
+
* @summary 修改---上传文件
|
|
2157
|
+
* @param {SpaceApiSpaceEditImportUploadRequest} requestParameters Request parameters.
|
|
2158
|
+
* @param {*} [options] Override http request option.
|
|
2159
|
+
* @throws {RequiredError}
|
|
2160
|
+
* @memberof SpaceApi
|
|
2161
|
+
*/
|
|
2162
|
+
public spaceEditImportUpload(requestParameters: SpaceApiSpaceEditImportUploadRequest = {}, options?: RawAxiosRequestConfig) {
|
|
2163
|
+
return SpaceApiFp(this.configuration).spaceEditImportUpload(requestParameters.language, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
2164
|
+
}
|
|
2165
|
+
|
|
1837
2166
|
/**
|
|
1838
2167
|
*
|
|
1839
2168
|
* @summary 编辑平面图
|