@gizone/rrs-client 3.11.12-alpha.5 → 3.11.12-alpha.7
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 +0 -2
- package/apis/app-auth-api.ts +13 -13
- package/apis/auth-api.ts +13 -13
- package/apis/work-order-api.ts +10 -206
- 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/work-order-api.d.ts +8 -115
- package/dist/apis/work-order-api.js +4 -156
- 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/work-order-api.d.ts +8 -115
- package/dist/esm/apis/work-order-api.js +4 -156
- package/dist/esm/models/get-user-wx200-response.d.ts +6 -6
- package/dist/esm/models/index.d.ts +0 -2
- package/dist/esm/models/index.js +0 -2
- package/dist/esm/models/inspection-item-bo.d.ts +4 -10
- package/dist/esm/models/inspection-point-item.d.ts +6 -6
- package/dist/esm/models/ipage-access-vo.d.ts +6 -6
- package/dist/esm/models/maintenance-history-dto.d.ts +0 -6
- package/dist/esm/models/maintenance-history-dto.js +0 -6
- package/dist/esm/models/period-detail-resp.d.ts +0 -6
- package/dist/esm/models/period-detail-resp.js +0 -6
- package/dist/esm/models/work-order-detail-dto.d.ts +0 -6
- package/dist/esm/models/work-order-detail-dto.js +0 -6
- package/dist/esm/models/work-order-inspection-detail-dto.d.ts +1 -13
- package/dist/esm/models/work-order-inspection-item-req.d.ts +3 -3
- package/dist/esm/models/work-order-search-dto.d.ts +0 -6
- package/dist/esm/models/work-order-search-dto.js +0 -6
- package/dist/models/get-user-wx200-response.d.ts +6 -6
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/dist/models/inspection-item-bo.d.ts +4 -10
- package/dist/models/inspection-point-item.d.ts +6 -6
- package/dist/models/ipage-access-vo.d.ts +6 -6
- package/dist/models/maintenance-history-dto.d.ts +0 -6
- package/dist/models/maintenance-history-dto.js +0 -6
- package/dist/models/period-detail-resp.d.ts +0 -6
- package/dist/models/period-detail-resp.js +0 -6
- package/dist/models/work-order-detail-dto.d.ts +0 -6
- package/dist/models/work-order-detail-dto.js +0 -6
- package/dist/models/work-order-inspection-detail-dto.d.ts +1 -13
- package/dist/models/work-order-inspection-item-req.d.ts +3 -3
- package/dist/models/work-order-search-dto.d.ts +0 -6
- package/dist/models/work-order-search-dto.js +0 -6
- package/models/get-user-wx200-response.ts +6 -6
- package/models/index.ts +0 -2
- package/models/inspection-item-bo.ts +4 -10
- package/models/inspection-point-item.ts +6 -6
- package/models/ipage-access-vo.ts +6 -6
- package/models/maintenance-history-dto.ts +0 -6
- package/models/period-detail-resp.ts +0 -6
- package/models/work-order-detail-dto.ts +0 -6
- package/models/work-order-inspection-detail-dto.ts +1 -13
- package/models/work-order-inspection-item-req.ts +3 -3
- package/models/work-order-search-dto.ts +0 -6
- package/package.json +1 -1
- package/dist/esm/models/work-order-check-before-acceptance-adopt-vo.d.ts +0 -30
- package/dist/esm/models/work-order-check-before-acceptance-adopt-vo.js +0 -14
- package/dist/esm/models/work-order-check-before-acceptance-no-vo.d.ts +0 -36
- package/dist/esm/models/work-order-check-before-acceptance-no-vo.js +0 -14
- package/dist/models/work-order-check-before-acceptance-adopt-vo.d.ts +0 -30
- package/dist/models/work-order-check-before-acceptance-adopt-vo.js +0 -15
- package/dist/models/work-order-check-before-acceptance-no-vo.d.ts +0 -36
- package/dist/models/work-order-check-before-acceptance-no-vo.js +0 -15
- package/models/work-order-check-before-acceptance-adopt-vo.ts +0 -36
- package/models/work-order-check-before-acceptance-no-vo.ts +0 -42
package/.openapi-generator/FILES
CHANGED
|
@@ -853,8 +853,6 @@ models/white-black-del-vo.ts
|
|
|
853
853
|
models/white-edit-vo.ts
|
|
854
854
|
models/white-search-vo.ts
|
|
855
855
|
models/work-order-add-vo.ts
|
|
856
|
-
models/work-order-check-before-acceptance-adopt-vo.ts
|
|
857
|
-
models/work-order-check-before-acceptance-no-vo.ts
|
|
858
856
|
models/work-order-circulation-vo.ts
|
|
859
857
|
models/work-order-comment-dto.ts
|
|
860
858
|
models/work-order-comment-entity.ts
|
package/apis/app-auth-api.ts
CHANGED
|
@@ -483,17 +483,17 @@ export const AppAuthApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
483
483
|
*
|
|
484
484
|
* @summary 获取园区数据
|
|
485
485
|
* @param {string} uuid
|
|
486
|
-
* @param {
|
|
486
|
+
* @param {string} userType
|
|
487
487
|
* @param {number} parkId
|
|
488
488
|
* @param {string} appId
|
|
489
489
|
* @param {*} [options] Override http request option.
|
|
490
490
|
* @throws {RequiredError}
|
|
491
491
|
*/
|
|
492
|
-
getParkMiniApp: async (uuid: string,
|
|
492
|
+
getParkMiniApp: async (uuid: string, userType: string, parkId: number, appId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
493
493
|
// verify required parameter 'uuid' is not null or undefined
|
|
494
494
|
assertParamExists('getParkMiniApp', 'uuid', uuid)
|
|
495
|
-
// verify required parameter '
|
|
496
|
-
assertParamExists('getParkMiniApp', '
|
|
495
|
+
// verify required parameter 'userType' is not null or undefined
|
|
496
|
+
assertParamExists('getParkMiniApp', 'userType', userType)
|
|
497
497
|
// verify required parameter 'parkId' is not null or undefined
|
|
498
498
|
assertParamExists('getParkMiniApp', 'parkId', parkId)
|
|
499
499
|
// verify required parameter 'appId' is not null or undefined
|
|
@@ -518,8 +518,8 @@ export const AppAuthApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
518
518
|
localVarQueryParameter['uuid'] = uuid;
|
|
519
519
|
}
|
|
520
520
|
|
|
521
|
-
if (
|
|
522
|
-
localVarQueryParameter['
|
|
521
|
+
if (userType !== undefined) {
|
|
522
|
+
localVarQueryParameter['userType'] = userType;
|
|
523
523
|
}
|
|
524
524
|
|
|
525
525
|
if (parkId !== undefined) {
|
|
@@ -964,14 +964,14 @@ export const AppAuthApiFp = function(configuration?: Configuration) {
|
|
|
964
964
|
*
|
|
965
965
|
* @summary 获取园区数据
|
|
966
966
|
* @param {string} uuid
|
|
967
|
-
* @param {
|
|
967
|
+
* @param {string} userType
|
|
968
968
|
* @param {number} parkId
|
|
969
969
|
* @param {string} appId
|
|
970
970
|
* @param {*} [options] Override http request option.
|
|
971
971
|
* @throws {RequiredError}
|
|
972
972
|
*/
|
|
973
|
-
async getParkMiniApp(uuid: string,
|
|
974
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getParkMiniApp(uuid,
|
|
973
|
+
async getParkMiniApp(uuid: string, userType: string, parkId: number, appId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
974
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getParkMiniApp(uuid, userType, parkId, appId, options);
|
|
975
975
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
976
976
|
const localVarOperationServerBasePath = operationServerMap['AppAuthApi.getParkMiniApp']?.[localVarOperationServerIndex]?.url;
|
|
977
977
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1185,7 +1185,7 @@ export const AppAuthApiFactory = function (configuration?: Configuration, basePa
|
|
|
1185
1185
|
* @throws {RequiredError}
|
|
1186
1186
|
*/
|
|
1187
1187
|
getParkMiniApp(requestParameters: AppAuthApiGetParkMiniAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
1188
|
-
return localVarFp.getParkMiniApp(requestParameters.uuid, requestParameters.
|
|
1188
|
+
return localVarFp.getParkMiniApp(requestParameters.uuid, requestParameters.userType, requestParameters.parkId, requestParameters.appId, options).then((request) => request(axios, basePath));
|
|
1189
1189
|
},
|
|
1190
1190
|
/**
|
|
1191
1191
|
*
|
|
@@ -1396,10 +1396,10 @@ export interface AppAuthApiGetParkMiniAppRequest {
|
|
|
1396
1396
|
|
|
1397
1397
|
/**
|
|
1398
1398
|
*
|
|
1399
|
-
* @type {
|
|
1399
|
+
* @type {string}
|
|
1400
1400
|
* @memberof AppAuthApiGetParkMiniApp
|
|
1401
1401
|
*/
|
|
1402
|
-
readonly
|
|
1402
|
+
readonly userType: string
|
|
1403
1403
|
|
|
1404
1404
|
/**
|
|
1405
1405
|
*
|
|
@@ -1635,7 +1635,7 @@ export class AppAuthApi extends BaseAPI {
|
|
|
1635
1635
|
* @memberof AppAuthApi
|
|
1636
1636
|
*/
|
|
1637
1637
|
public getParkMiniApp(requestParameters: AppAuthApiGetParkMiniAppRequest, options?: RawAxiosRequestConfig) {
|
|
1638
|
-
return AppAuthApiFp(this.configuration).getParkMiniApp(requestParameters.uuid, requestParameters.
|
|
1638
|
+
return AppAuthApiFp(this.configuration).getParkMiniApp(requestParameters.uuid, requestParameters.userType, requestParameters.parkId, requestParameters.appId, options).then((request) => request(this.axios, this.basePath));
|
|
1639
1639
|
}
|
|
1640
1640
|
|
|
1641
1641
|
/**
|
package/apis/auth-api.ts
CHANGED
|
@@ -773,17 +773,17 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
773
773
|
*
|
|
774
774
|
* @summary 获取园区数据
|
|
775
775
|
* @param {string} uuid
|
|
776
|
-
* @param {
|
|
776
|
+
* @param {string} userType
|
|
777
777
|
* @param {number} parkId
|
|
778
778
|
* @param {string} appId
|
|
779
779
|
* @param {*} [options] Override http request option.
|
|
780
780
|
* @throws {RequiredError}
|
|
781
781
|
*/
|
|
782
|
-
getParkMiniApp: async (uuid: string,
|
|
782
|
+
getParkMiniApp: async (uuid: string, userType: string, parkId: number, appId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
783
783
|
// verify required parameter 'uuid' is not null or undefined
|
|
784
784
|
assertParamExists('getParkMiniApp', 'uuid', uuid)
|
|
785
|
-
// verify required parameter '
|
|
786
|
-
assertParamExists('getParkMiniApp', '
|
|
785
|
+
// verify required parameter 'userType' is not null or undefined
|
|
786
|
+
assertParamExists('getParkMiniApp', 'userType', userType)
|
|
787
787
|
// verify required parameter 'parkId' is not null or undefined
|
|
788
788
|
assertParamExists('getParkMiniApp', 'parkId', parkId)
|
|
789
789
|
// verify required parameter 'appId' is not null or undefined
|
|
@@ -808,8 +808,8 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
808
808
|
localVarQueryParameter['uuid'] = uuid;
|
|
809
809
|
}
|
|
810
810
|
|
|
811
|
-
if (
|
|
812
|
-
localVarQueryParameter['
|
|
811
|
+
if (userType !== undefined) {
|
|
812
|
+
localVarQueryParameter['userType'] = userType;
|
|
813
813
|
}
|
|
814
814
|
|
|
815
815
|
if (parkId !== undefined) {
|
|
@@ -1888,14 +1888,14 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
1888
1888
|
*
|
|
1889
1889
|
* @summary 获取园区数据
|
|
1890
1890
|
* @param {string} uuid
|
|
1891
|
-
* @param {
|
|
1891
|
+
* @param {string} userType
|
|
1892
1892
|
* @param {number} parkId
|
|
1893
1893
|
* @param {string} appId
|
|
1894
1894
|
* @param {*} [options] Override http request option.
|
|
1895
1895
|
* @throws {RequiredError}
|
|
1896
1896
|
*/
|
|
1897
|
-
async getParkMiniApp(uuid: string,
|
|
1898
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getParkMiniApp(uuid,
|
|
1897
|
+
async getParkMiniApp(uuid: string, userType: string, parkId: number, appId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
1898
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getParkMiniApp(uuid, userType, parkId, appId, options);
|
|
1899
1899
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1900
1900
|
const localVarOperationServerBasePath = operationServerMap['AuthApi.getParkMiniApp']?.[localVarOperationServerIndex]?.url;
|
|
1901
1901
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2346,7 +2346,7 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
2346
2346
|
* @throws {RequiredError}
|
|
2347
2347
|
*/
|
|
2348
2348
|
getParkMiniApp(requestParameters: AuthApiGetParkMiniAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
2349
|
-
return localVarFp.getParkMiniApp(requestParameters.uuid, requestParameters.
|
|
2349
|
+
return localVarFp.getParkMiniApp(requestParameters.uuid, requestParameters.userType, requestParameters.parkId, requestParameters.appId, options).then((request) => request(axios, basePath));
|
|
2350
2350
|
},
|
|
2351
2351
|
/**
|
|
2352
2352
|
*
|
|
@@ -2703,10 +2703,10 @@ export interface AuthApiGetParkMiniAppRequest {
|
|
|
2703
2703
|
|
|
2704
2704
|
/**
|
|
2705
2705
|
*
|
|
2706
|
-
* @type {
|
|
2706
|
+
* @type {string}
|
|
2707
2707
|
* @memberof AuthApiGetParkMiniApp
|
|
2708
2708
|
*/
|
|
2709
|
-
readonly
|
|
2709
|
+
readonly userType: string
|
|
2710
2710
|
|
|
2711
2711
|
/**
|
|
2712
2712
|
*
|
|
@@ -3172,7 +3172,7 @@ export class AuthApi extends BaseAPI {
|
|
|
3172
3172
|
* @memberof AuthApi
|
|
3173
3173
|
*/
|
|
3174
3174
|
public getParkMiniApp(requestParameters: AuthApiGetParkMiniAppRequest, options?: RawAxiosRequestConfig) {
|
|
3175
|
-
return AuthApiFp(this.configuration).getParkMiniApp(requestParameters.uuid, requestParameters.
|
|
3175
|
+
return AuthApiFp(this.configuration).getParkMiniApp(requestParameters.uuid, requestParameters.userType, requestParameters.parkId, requestParameters.appId, options).then((request) => request(this.axios, this.basePath));
|
|
3176
3176
|
}
|
|
3177
3177
|
|
|
3178
3178
|
/**
|
package/apis/work-order-api.ts
CHANGED
|
@@ -48,8 +48,6 @@ import type { JsonResultListWorkOrderStepByStepPushDTO } from '../models';
|
|
|
48
48
|
// @ts-ignore
|
|
49
49
|
import type { JsonResultListWorkOrderStepByStepPushUserDetailsDTO } from '../models';
|
|
50
50
|
// @ts-ignore
|
|
51
|
-
import type { JsonResultObject } from '../models';
|
|
52
|
-
// @ts-ignore
|
|
53
51
|
import type { JsonResultPageDtoPlanSearchDTO } from '../models';
|
|
54
52
|
// @ts-ignore
|
|
55
53
|
import type { JsonResultPageDtoWorkOrderSearchDTO } from '../models';
|
|
@@ -74,10 +72,6 @@ import type { SavePeriodWorkOrderDetailReq } from '../models';
|
|
|
74
72
|
// @ts-ignore
|
|
75
73
|
import type { WorkOrderAddVo } from '../models';
|
|
76
74
|
// @ts-ignore
|
|
77
|
-
import type { WorkOrderCheckBeforeAcceptanceAdoptVo } from '../models';
|
|
78
|
-
// @ts-ignore
|
|
79
|
-
import type { WorkOrderCheckBeforeAcceptanceNoVo } from '../models';
|
|
80
|
-
// @ts-ignore
|
|
81
75
|
import type { WorkOrderCommentVo } from '../models';
|
|
82
76
|
// @ts-ignore
|
|
83
77
|
import type { WorkOrderDistributeLeafletsVo } from '../models';
|
|
@@ -270,86 +264,6 @@ export const WorkOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
270
264
|
options: localVarRequestOptions,
|
|
271
265
|
};
|
|
272
266
|
},
|
|
273
|
-
/**
|
|
274
|
-
*
|
|
275
|
-
* @summary 验收通过
|
|
276
|
-
* @param {WorkOrderCheckBeforeAcceptanceAdoptVo} workOrderCheckBeforeAcceptanceAdoptVo
|
|
277
|
-
* @param {*} [options] Override http request option.
|
|
278
|
-
* @throws {RequiredError}
|
|
279
|
-
*/
|
|
280
|
-
checkBeforeAcceptanceAdopt: async (workOrderCheckBeforeAcceptanceAdoptVo: WorkOrderCheckBeforeAcceptanceAdoptVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
281
|
-
// verify required parameter 'workOrderCheckBeforeAcceptanceAdoptVo' is not null or undefined
|
|
282
|
-
assertParamExists('checkBeforeAcceptanceAdopt', 'workOrderCheckBeforeAcceptanceAdoptVo', workOrderCheckBeforeAcceptanceAdoptVo)
|
|
283
|
-
const localVarPath = `/gizone/workOrder/check/before/acceptance/adopt`;
|
|
284
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
285
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
286
|
-
let baseOptions;
|
|
287
|
-
if (configuration) {
|
|
288
|
-
baseOptions = configuration.baseOptions;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
292
|
-
const localVarHeaderParameter = {} as any;
|
|
293
|
-
const localVarQueryParameter = {} as any;
|
|
294
|
-
|
|
295
|
-
// authentication tokenScheme required
|
|
296
|
-
// http bearer authentication required
|
|
297
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
302
|
-
|
|
303
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
304
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
305
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
306
|
-
localVarRequestOptions.data = serializeDataIfNeeded(workOrderCheckBeforeAcceptanceAdoptVo, localVarRequestOptions, configuration)
|
|
307
|
-
|
|
308
|
-
return {
|
|
309
|
-
url: toPathString(localVarUrlObj),
|
|
310
|
-
options: localVarRequestOptions,
|
|
311
|
-
};
|
|
312
|
-
},
|
|
313
|
-
/**
|
|
314
|
-
*
|
|
315
|
-
* @summary 验收未通过
|
|
316
|
-
* @param {WorkOrderCheckBeforeAcceptanceNoVo} workOrderCheckBeforeAcceptanceNoVo
|
|
317
|
-
* @param {*} [options] Override http request option.
|
|
318
|
-
* @throws {RequiredError}
|
|
319
|
-
*/
|
|
320
|
-
checkBeforeAcceptanceNo: async (workOrderCheckBeforeAcceptanceNoVo: WorkOrderCheckBeforeAcceptanceNoVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
321
|
-
// verify required parameter 'workOrderCheckBeforeAcceptanceNoVo' is not null or undefined
|
|
322
|
-
assertParamExists('checkBeforeAcceptanceNo', 'workOrderCheckBeforeAcceptanceNoVo', workOrderCheckBeforeAcceptanceNoVo)
|
|
323
|
-
const localVarPath = `/gizone/workOrder/check/before/acceptance/no`;
|
|
324
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
325
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
326
|
-
let baseOptions;
|
|
327
|
-
if (configuration) {
|
|
328
|
-
baseOptions = configuration.baseOptions;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
332
|
-
const localVarHeaderParameter = {} as any;
|
|
333
|
-
const localVarQueryParameter = {} as any;
|
|
334
|
-
|
|
335
|
-
// authentication tokenScheme required
|
|
336
|
-
// http bearer authentication required
|
|
337
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
342
|
-
|
|
343
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
344
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
345
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
346
|
-
localVarRequestOptions.data = serializeDataIfNeeded(workOrderCheckBeforeAcceptanceNoVo, localVarRequestOptions, configuration)
|
|
347
|
-
|
|
348
|
-
return {
|
|
349
|
-
url: toPathString(localVarUrlObj),
|
|
350
|
-
options: localVarRequestOptions,
|
|
351
|
-
};
|
|
352
|
-
},
|
|
353
267
|
/**
|
|
354
268
|
*
|
|
355
269
|
* @summary 查询当前工单评论
|
|
@@ -732,7 +646,7 @@ export const WorkOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
732
646
|
handle: async (inspectionHandleReq: InspectionHandleReq, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
733
647
|
// verify required parameter 'inspectionHandleReq' is not null or undefined
|
|
734
648
|
assertParamExists('handle', 'inspectionHandleReq', inspectionHandleReq)
|
|
735
|
-
const localVarPath = `/gizone/
|
|
649
|
+
const localVarPath = `/gizone/workOrder/period/handle/inspection`;
|
|
736
650
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
737
651
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
738
652
|
let baseOptions;
|
|
@@ -772,7 +686,7 @@ export const WorkOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
772
686
|
handleBatch: async (inspectionHandleReq: Array<InspectionHandleReq>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
773
687
|
// verify required parameter 'inspectionHandleReq' is not null or undefined
|
|
774
688
|
assertParamExists('handleBatch', 'inspectionHandleReq', inspectionHandleReq)
|
|
775
|
-
const localVarPath = `/gizone/
|
|
689
|
+
const localVarPath = `/gizone/workOrder/period/handle/inspection/batch`;
|
|
776
690
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
777
691
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
778
692
|
let baseOptions;
|
|
@@ -1102,7 +1016,7 @@ export const WorkOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1102
1016
|
saveDetail: async (savePeriodWorkOrderDetailReq: SavePeriodWorkOrderDetailReq, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1103
1017
|
// verify required parameter 'savePeriodWorkOrderDetailReq' is not null or undefined
|
|
1104
1018
|
assertParamExists('saveDetail', 'savePeriodWorkOrderDetailReq', savePeriodWorkOrderDetailReq)
|
|
1105
|
-
const localVarPath = `/gizone/
|
|
1019
|
+
const localVarPath = `/gizone/workOrder/period/saveDetail`;
|
|
1106
1020
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1107
1021
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1108
1022
|
let baseOptions;
|
|
@@ -1519,7 +1433,7 @@ export const WorkOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1519
1433
|
workOrderPeriodDetail: async (workOrderId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1520
1434
|
// verify required parameter 'workOrderId' is not null or undefined
|
|
1521
1435
|
assertParamExists('workOrderPeriodDetail', 'workOrderId', workOrderId)
|
|
1522
|
-
const localVarPath = `/gizone/
|
|
1436
|
+
const localVarPath = `/gizone/workOrder/period/{workOrderId}`
|
|
1523
1437
|
.replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
|
|
1524
1438
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1525
1439
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1807,32 +1721,6 @@ export const WorkOrderApiFp = function(configuration?: Configuration) {
|
|
|
1807
1721
|
const localVarOperationServerBasePath = operationServerMap['WorkOrderApi.calendarList']?.[localVarOperationServerIndex]?.url;
|
|
1808
1722
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1809
1723
|
},
|
|
1810
|
-
/**
|
|
1811
|
-
*
|
|
1812
|
-
* @summary 验收通过
|
|
1813
|
-
* @param {WorkOrderCheckBeforeAcceptanceAdoptVo} workOrderCheckBeforeAcceptanceAdoptVo
|
|
1814
|
-
* @param {*} [options] Override http request option.
|
|
1815
|
-
* @throws {RequiredError}
|
|
1816
|
-
*/
|
|
1817
|
-
async checkBeforeAcceptanceAdopt(workOrderCheckBeforeAcceptanceAdoptVo: WorkOrderCheckBeforeAcceptanceAdoptVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>> {
|
|
1818
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.checkBeforeAcceptanceAdopt(workOrderCheckBeforeAcceptanceAdoptVo, options);
|
|
1819
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1820
|
-
const localVarOperationServerBasePath = operationServerMap['WorkOrderApi.checkBeforeAcceptanceAdopt']?.[localVarOperationServerIndex]?.url;
|
|
1821
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1822
|
-
},
|
|
1823
|
-
/**
|
|
1824
|
-
*
|
|
1825
|
-
* @summary 验收未通过
|
|
1826
|
-
* @param {WorkOrderCheckBeforeAcceptanceNoVo} workOrderCheckBeforeAcceptanceNoVo
|
|
1827
|
-
* @param {*} [options] Override http request option.
|
|
1828
|
-
* @throws {RequiredError}
|
|
1829
|
-
*/
|
|
1830
|
-
async checkBeforeAcceptanceNo(workOrderCheckBeforeAcceptanceNoVo: WorkOrderCheckBeforeAcceptanceNoVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>> {
|
|
1831
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.checkBeforeAcceptanceNo(workOrderCheckBeforeAcceptanceNoVo, options);
|
|
1832
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1833
|
-
const localVarOperationServerBasePath = operationServerMap['WorkOrderApi.checkBeforeAcceptanceNo']?.[localVarOperationServerIndex]?.url;
|
|
1834
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1835
|
-
},
|
|
1836
1724
|
/**
|
|
1837
1725
|
*
|
|
1838
1726
|
* @summary 查询当前工单评论
|
|
@@ -1955,7 +1843,7 @@ export const WorkOrderApiFp = function(configuration?: Configuration) {
|
|
|
1955
1843
|
* @param {*} [options] Override http request option.
|
|
1956
1844
|
* @throws {RequiredError}
|
|
1957
1845
|
*/
|
|
1958
|
-
async handle(inspectionHandleReq: InspectionHandleReq, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1846
|
+
async handle(inspectionHandleReq: InspectionHandleReq, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
1959
1847
|
const localVarAxiosArgs = await localVarAxiosParamCreator.handle(inspectionHandleReq, options);
|
|
1960
1848
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1961
1849
|
const localVarOperationServerBasePath = operationServerMap['WorkOrderApi.handle']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2068,7 +1956,7 @@ export const WorkOrderApiFp = function(configuration?: Configuration) {
|
|
|
2068
1956
|
* @param {*} [options] Override http request option.
|
|
2069
1957
|
* @throws {RequiredError}
|
|
2070
1958
|
*/
|
|
2071
|
-
async saveDetail(savePeriodWorkOrderDetailReq: SavePeriodWorkOrderDetailReq, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1959
|
+
async saveDetail(savePeriodWorkOrderDetailReq: SavePeriodWorkOrderDetailReq, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
2072
1960
|
const localVarAxiosArgs = await localVarAxiosParamCreator.saveDetail(savePeriodWorkOrderDetailReq, options);
|
|
2073
1961
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2074
1962
|
const localVarOperationServerBasePath = operationServerMap['WorkOrderApi.saveDetail']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2317,26 +2205,6 @@ export const WorkOrderApiFactory = function (configuration?: Configuration, base
|
|
|
2317
2205
|
calendarList(requestParameters: WorkOrderApiCalendarListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListPlanCalendarListVo> {
|
|
2318
2206
|
return localVarFp.calendarList(requestParameters.date, options).then((request) => request(axios, basePath));
|
|
2319
2207
|
},
|
|
2320
|
-
/**
|
|
2321
|
-
*
|
|
2322
|
-
* @summary 验收通过
|
|
2323
|
-
* @param {WorkOrderApiCheckBeforeAcceptanceAdoptRequest} requestParameters Request parameters.
|
|
2324
|
-
* @param {*} [options] Override http request option.
|
|
2325
|
-
* @throws {RequiredError}
|
|
2326
|
-
*/
|
|
2327
|
-
checkBeforeAcceptanceAdopt(requestParameters: WorkOrderApiCheckBeforeAcceptanceAdoptRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean> {
|
|
2328
|
-
return localVarFp.checkBeforeAcceptanceAdopt(requestParameters.workOrderCheckBeforeAcceptanceAdoptVo, options).then((request) => request(axios, basePath));
|
|
2329
|
-
},
|
|
2330
|
-
/**
|
|
2331
|
-
*
|
|
2332
|
-
* @summary 验收未通过
|
|
2333
|
-
* @param {WorkOrderApiCheckBeforeAcceptanceNoRequest} requestParameters Request parameters.
|
|
2334
|
-
* @param {*} [options] Override http request option.
|
|
2335
|
-
* @throws {RequiredError}
|
|
2336
|
-
*/
|
|
2337
|
-
checkBeforeAcceptanceNo(requestParameters: WorkOrderApiCheckBeforeAcceptanceNoRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean> {
|
|
2338
|
-
return localVarFp.checkBeforeAcceptanceNo(requestParameters.workOrderCheckBeforeAcceptanceNoVo, options).then((request) => request(axios, basePath));
|
|
2339
|
-
},
|
|
2340
2208
|
/**
|
|
2341
2209
|
*
|
|
2342
2210
|
* @summary 查询当前工单评论
|
|
@@ -2424,7 +2292,7 @@ export const WorkOrderApiFactory = function (configuration?: Configuration, base
|
|
|
2424
2292
|
* @param {*} [options] Override http request option.
|
|
2425
2293
|
* @throws {RequiredError}
|
|
2426
2294
|
*/
|
|
2427
|
-
handle(requestParameters: WorkOrderApiHandleRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2295
|
+
handle(requestParameters: WorkOrderApiHandleRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
2428
2296
|
return localVarFp.handle(requestParameters.inspectionHandleReq, options).then((request) => request(axios, basePath));
|
|
2429
2297
|
},
|
|
2430
2298
|
/**
|
|
@@ -2504,7 +2372,7 @@ export const WorkOrderApiFactory = function (configuration?: Configuration, base
|
|
|
2504
2372
|
* @param {*} [options] Override http request option.
|
|
2505
2373
|
* @throws {RequiredError}
|
|
2506
2374
|
*/
|
|
2507
|
-
saveDetail(requestParameters: WorkOrderApiSaveDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2375
|
+
saveDetail(requestParameters: WorkOrderApiSaveDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
2508
2376
|
return localVarFp.saveDetail(requestParameters.savePeriodWorkOrderDetailReq, options).then((request) => request(axios, basePath));
|
|
2509
2377
|
},
|
|
2510
2378
|
/**
|
|
@@ -2713,34 +2581,6 @@ export interface WorkOrderApiCalendarListRequest {
|
|
|
2713
2581
|
readonly date: string
|
|
2714
2582
|
}
|
|
2715
2583
|
|
|
2716
|
-
/**
|
|
2717
|
-
* Request parameters for checkBeforeAcceptanceAdopt operation in WorkOrderApi.
|
|
2718
|
-
* @export
|
|
2719
|
-
* @interface WorkOrderApiCheckBeforeAcceptanceAdoptRequest
|
|
2720
|
-
*/
|
|
2721
|
-
export interface WorkOrderApiCheckBeforeAcceptanceAdoptRequest {
|
|
2722
|
-
/**
|
|
2723
|
-
*
|
|
2724
|
-
* @type {WorkOrderCheckBeforeAcceptanceAdoptVo}
|
|
2725
|
-
* @memberof WorkOrderApiCheckBeforeAcceptanceAdopt
|
|
2726
|
-
*/
|
|
2727
|
-
readonly workOrderCheckBeforeAcceptanceAdoptVo: WorkOrderCheckBeforeAcceptanceAdoptVo
|
|
2728
|
-
}
|
|
2729
|
-
|
|
2730
|
-
/**
|
|
2731
|
-
* Request parameters for checkBeforeAcceptanceNo operation in WorkOrderApi.
|
|
2732
|
-
* @export
|
|
2733
|
-
* @interface WorkOrderApiCheckBeforeAcceptanceNoRequest
|
|
2734
|
-
*/
|
|
2735
|
-
export interface WorkOrderApiCheckBeforeAcceptanceNoRequest {
|
|
2736
|
-
/**
|
|
2737
|
-
*
|
|
2738
|
-
* @type {WorkOrderCheckBeforeAcceptanceNoVo}
|
|
2739
|
-
* @memberof WorkOrderApiCheckBeforeAcceptanceNo
|
|
2740
|
-
*/
|
|
2741
|
-
readonly workOrderCheckBeforeAcceptanceNoVo: WorkOrderCheckBeforeAcceptanceNoVo
|
|
2742
|
-
}
|
|
2743
|
-
|
|
2744
2584
|
/**
|
|
2745
2585
|
* Request parameters for commentList operation in WorkOrderApi.
|
|
2746
2586
|
* @export
|
|
@@ -2854,7 +2694,7 @@ export interface WorkOrderApiExportWorkOrderRequest {
|
|
|
2854
2694
|
|
|
2855
2695
|
/**
|
|
2856
2696
|
* 工单状态
|
|
2857
|
-
* @type {'
|
|
2697
|
+
* @type {'PENDING' | 'IN_PROGRESS' | 'COMPLETED' | 'OVERDUE' | 'CLOSED'}
|
|
2858
2698
|
* @memberof WorkOrderApiExportWorkOrder
|
|
2859
2699
|
*/
|
|
2860
2700
|
readonly workOrderStatus?: ExportWorkOrderWorkOrderStatusEnum
|
|
@@ -3239,7 +3079,7 @@ export interface WorkOrderApiWorkOrderListRequest {
|
|
|
3239
3079
|
|
|
3240
3080
|
/**
|
|
3241
3081
|
* 工单状态
|
|
3242
|
-
* @type {'
|
|
3082
|
+
* @type {'PENDING' | 'IN_PROGRESS' | 'COMPLETED' | 'OVERDUE' | 'CLOSED'}
|
|
3243
3083
|
* @memberof WorkOrderApiWorkOrderList
|
|
3244
3084
|
*/
|
|
3245
3085
|
readonly workOrderStatus?: WorkOrderListWorkOrderStatusEnum
|
|
@@ -3447,30 +3287,6 @@ export class WorkOrderApi extends BaseAPI {
|
|
|
3447
3287
|
return WorkOrderApiFp(this.configuration).calendarList(requestParameters.date, options).then((request) => request(this.axios, this.basePath));
|
|
3448
3288
|
}
|
|
3449
3289
|
|
|
3450
|
-
/**
|
|
3451
|
-
*
|
|
3452
|
-
* @summary 验收通过
|
|
3453
|
-
* @param {WorkOrderApiCheckBeforeAcceptanceAdoptRequest} requestParameters Request parameters.
|
|
3454
|
-
* @param {*} [options] Override http request option.
|
|
3455
|
-
* @throws {RequiredError}
|
|
3456
|
-
* @memberof WorkOrderApi
|
|
3457
|
-
*/
|
|
3458
|
-
public checkBeforeAcceptanceAdopt(requestParameters: WorkOrderApiCheckBeforeAcceptanceAdoptRequest, options?: RawAxiosRequestConfig) {
|
|
3459
|
-
return WorkOrderApiFp(this.configuration).checkBeforeAcceptanceAdopt(requestParameters.workOrderCheckBeforeAcceptanceAdoptVo, options).then((request) => request(this.axios, this.basePath));
|
|
3460
|
-
}
|
|
3461
|
-
|
|
3462
|
-
/**
|
|
3463
|
-
*
|
|
3464
|
-
* @summary 验收未通过
|
|
3465
|
-
* @param {WorkOrderApiCheckBeforeAcceptanceNoRequest} requestParameters Request parameters.
|
|
3466
|
-
* @param {*} [options] Override http request option.
|
|
3467
|
-
* @throws {RequiredError}
|
|
3468
|
-
* @memberof WorkOrderApi
|
|
3469
|
-
*/
|
|
3470
|
-
public checkBeforeAcceptanceNo(requestParameters: WorkOrderApiCheckBeforeAcceptanceNoRequest, options?: RawAxiosRequestConfig) {
|
|
3471
|
-
return WorkOrderApiFp(this.configuration).checkBeforeAcceptanceNo(requestParameters.workOrderCheckBeforeAcceptanceNoVo, options).then((request) => request(this.axios, this.basePath));
|
|
3472
|
-
}
|
|
3473
|
-
|
|
3474
3290
|
/**
|
|
3475
3291
|
*
|
|
3476
3292
|
* @summary 查询当前工单评论
|
|
@@ -3848,16 +3664,10 @@ export class WorkOrderApi extends BaseAPI {
|
|
|
3848
3664
|
* @export
|
|
3849
3665
|
*/
|
|
3850
3666
|
export const ExportWorkOrderWorkOrderStatusEnum = {
|
|
3851
|
-
InPreparation: 'IN_PREPARATION',
|
|
3852
3667
|
Pending: 'PENDING',
|
|
3853
3668
|
InProgress: 'IN_PROGRESS',
|
|
3854
|
-
PendingAcceptance: 'PENDING_ACCEPTANCE',
|
|
3855
3669
|
Completed: 'COMPLETED',
|
|
3856
|
-
AcceptanceRejected: 'ACCEPTANCE_REJECTED',
|
|
3857
3670
|
Overdue: 'OVERDUE',
|
|
3858
|
-
OverdueFinished: 'OVERDUE_FINISHED',
|
|
3859
|
-
OverdueUnfinished: 'OVERDUE_UNFINISHED',
|
|
3860
|
-
OverdueClosed: 'OVERDUE_CLOSED',
|
|
3861
3671
|
Closed: 'CLOSED'
|
|
3862
3672
|
} as const;
|
|
3863
3673
|
export type ExportWorkOrderWorkOrderStatusEnum = typeof ExportWorkOrderWorkOrderStatusEnum[keyof typeof ExportWorkOrderWorkOrderStatusEnum];
|
|
@@ -3884,16 +3694,10 @@ export type PlanListPlanTypeEnum = typeof PlanListPlanTypeEnum[keyof typeof Plan
|
|
|
3884
3694
|
* @export
|
|
3885
3695
|
*/
|
|
3886
3696
|
export const WorkOrderListWorkOrderStatusEnum = {
|
|
3887
|
-
InPreparation: 'IN_PREPARATION',
|
|
3888
3697
|
Pending: 'PENDING',
|
|
3889
3698
|
InProgress: 'IN_PROGRESS',
|
|
3890
|
-
PendingAcceptance: 'PENDING_ACCEPTANCE',
|
|
3891
3699
|
Completed: 'COMPLETED',
|
|
3892
|
-
AcceptanceRejected: 'ACCEPTANCE_REJECTED',
|
|
3893
3700
|
Overdue: 'OVERDUE',
|
|
3894
|
-
OverdueFinished: 'OVERDUE_FINISHED',
|
|
3895
|
-
OverdueUnfinished: 'OVERDUE_UNFINISHED',
|
|
3896
|
-
OverdueClosed: 'OVERDUE_CLOSED',
|
|
3897
3701
|
Closed: 'CLOSED'
|
|
3898
3702
|
} as const;
|
|
3899
3703
|
export type WorkOrderListWorkOrderStatusEnum = typeof WorkOrderListWorkOrderStatusEnum[keyof typeof WorkOrderListWorkOrderStatusEnum];
|
|
@@ -116,13 +116,13 @@ export declare const AppAuthApiAxiosParamCreator: (configuration?: Configuration
|
|
|
116
116
|
*
|
|
117
117
|
* @summary 获取园区数据
|
|
118
118
|
* @param {string} uuid
|
|
119
|
-
* @param {
|
|
119
|
+
* @param {string} userType
|
|
120
120
|
* @param {number} parkId
|
|
121
121
|
* @param {string} appId
|
|
122
122
|
* @param {*} [options] Override http request option.
|
|
123
123
|
* @throws {RequiredError}
|
|
124
124
|
*/
|
|
125
|
-
getParkMiniApp: (uuid: string,
|
|
125
|
+
getParkMiniApp: (uuid: string, userType: string, parkId: number, appId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
126
126
|
/**
|
|
127
127
|
*
|
|
128
128
|
* @param {*} [options] Override http request option.
|
|
@@ -269,13 +269,13 @@ export declare const AppAuthApiFp: (configuration?: Configuration) => {
|
|
|
269
269
|
*
|
|
270
270
|
* @summary 获取园区数据
|
|
271
271
|
* @param {string} uuid
|
|
272
|
-
* @param {
|
|
272
|
+
* @param {string} userType
|
|
273
273
|
* @param {number} parkId
|
|
274
274
|
* @param {string} appId
|
|
275
275
|
* @param {*} [options] Override http request option.
|
|
276
276
|
* @throws {RequiredError}
|
|
277
277
|
*/
|
|
278
|
-
getParkMiniApp(uuid: string,
|
|
278
|
+
getParkMiniApp(uuid: string, userType: string, parkId: number, appId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
279
279
|
/**
|
|
280
280
|
*
|
|
281
281
|
* @param {*} [options] Override http request option.
|
|
@@ -618,10 +618,10 @@ export interface AppAuthApiGetParkMiniAppRequest {
|
|
|
618
618
|
readonly uuid: string;
|
|
619
619
|
/**
|
|
620
620
|
*
|
|
621
|
-
* @type {
|
|
621
|
+
* @type {string}
|
|
622
622
|
* @memberof AppAuthApiGetParkMiniApp
|
|
623
623
|
*/
|
|
624
|
-
readonly
|
|
624
|
+
readonly userType: string;
|
|
625
625
|
/**
|
|
626
626
|
*
|
|
627
627
|
* @type {number}
|
|
@@ -395,17 +395,17 @@ const AppAuthApiAxiosParamCreator = function (configuration) {
|
|
|
395
395
|
*
|
|
396
396
|
* @summary 获取园区数据
|
|
397
397
|
* @param {string} uuid
|
|
398
|
-
* @param {
|
|
398
|
+
* @param {string} userType
|
|
399
399
|
* @param {number} parkId
|
|
400
400
|
* @param {string} appId
|
|
401
401
|
* @param {*} [options] Override http request option.
|
|
402
402
|
* @throws {RequiredError}
|
|
403
403
|
*/
|
|
404
|
-
getParkMiniApp: (uuid_1,
|
|
404
|
+
getParkMiniApp: (uuid_1, userType_1, parkId_1, appId_1, ...args_1) => __awaiter(this, [uuid_1, userType_1, parkId_1, appId_1, ...args_1], void 0, function* (uuid, userType, parkId, appId, options = {}) {
|
|
405
405
|
// verify required parameter 'uuid' is not null or undefined
|
|
406
406
|
(0, common_1.assertParamExists)('getParkMiniApp', 'uuid', uuid);
|
|
407
|
-
// verify required parameter '
|
|
408
|
-
(0, common_1.assertParamExists)('getParkMiniApp', '
|
|
407
|
+
// verify required parameter 'userType' is not null or undefined
|
|
408
|
+
(0, common_1.assertParamExists)('getParkMiniApp', 'userType', userType);
|
|
409
409
|
// verify required parameter 'parkId' is not null or undefined
|
|
410
410
|
(0, common_1.assertParamExists)('getParkMiniApp', 'parkId', parkId);
|
|
411
411
|
// verify required parameter 'appId' is not null or undefined
|
|
@@ -426,8 +426,8 @@ const AppAuthApiAxiosParamCreator = function (configuration) {
|
|
|
426
426
|
if (uuid !== undefined) {
|
|
427
427
|
localVarQueryParameter['uuid'] = uuid;
|
|
428
428
|
}
|
|
429
|
-
if (
|
|
430
|
-
localVarQueryParameter['
|
|
429
|
+
if (userType !== undefined) {
|
|
430
|
+
localVarQueryParameter['userType'] = userType;
|
|
431
431
|
}
|
|
432
432
|
if (parkId !== undefined) {
|
|
433
433
|
localVarQueryParameter['parkId'] = parkId;
|
|
@@ -852,16 +852,16 @@ const AppAuthApiFp = function (configuration) {
|
|
|
852
852
|
*
|
|
853
853
|
* @summary 获取园区数据
|
|
854
854
|
* @param {string} uuid
|
|
855
|
-
* @param {
|
|
855
|
+
* @param {string} userType
|
|
856
856
|
* @param {number} parkId
|
|
857
857
|
* @param {string} appId
|
|
858
858
|
* @param {*} [options] Override http request option.
|
|
859
859
|
* @throws {RequiredError}
|
|
860
860
|
*/
|
|
861
|
-
getParkMiniApp(uuid,
|
|
861
|
+
getParkMiniApp(uuid, userType, parkId, appId, options) {
|
|
862
862
|
return __awaiter(this, void 0, void 0, function* () {
|
|
863
863
|
var _a, _b, _c;
|
|
864
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getParkMiniApp(uuid,
|
|
864
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getParkMiniApp(uuid, userType, parkId, appId, options);
|
|
865
865
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
866
866
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AppAuthApi.getParkMiniApp']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
867
867
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1097,7 +1097,7 @@ const AppAuthApiFactory = function (configuration, basePath, axios) {
|
|
|
1097
1097
|
* @throws {RequiredError}
|
|
1098
1098
|
*/
|
|
1099
1099
|
getParkMiniApp(requestParameters, options) {
|
|
1100
|
-
return localVarFp.getParkMiniApp(requestParameters.uuid, requestParameters.
|
|
1100
|
+
return localVarFp.getParkMiniApp(requestParameters.uuid, requestParameters.userType, requestParameters.parkId, requestParameters.appId, options).then((request) => request(axios, basePath));
|
|
1101
1101
|
},
|
|
1102
1102
|
/**
|
|
1103
1103
|
*
|
|
@@ -1298,7 +1298,7 @@ class AppAuthApi extends base_1.BaseAPI {
|
|
|
1298
1298
|
* @memberof AppAuthApi
|
|
1299
1299
|
*/
|
|
1300
1300
|
getParkMiniApp(requestParameters, options) {
|
|
1301
|
-
return (0, exports.AppAuthApiFp)(this.configuration).getParkMiniApp(requestParameters.uuid, requestParameters.
|
|
1301
|
+
return (0, exports.AppAuthApiFp)(this.configuration).getParkMiniApp(requestParameters.uuid, requestParameters.userType, requestParameters.parkId, requestParameters.appId, options).then((request) => request(this.axios, this.basePath));
|
|
1302
1302
|
}
|
|
1303
1303
|
/**
|
|
1304
1304
|
*
|