@gizone/rrs-client 4.2.9-alpha.514 → 4.2.9-alpha.517
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/apis/app-auth-api.ts +0 -248
- package/apis/auth-api.ts +0 -496
- package/dist/apis/app-auth-api.d.ts +0 -100
- package/dist/apis/app-auth-api.js +0 -232
- package/dist/apis/auth-api.d.ts +0 -200
- package/dist/apis/auth-api.js +0 -464
- package/dist/esm/apis/app-auth-api.d.ts +0 -100
- package/dist/esm/apis/app-auth-api.js +0 -232
- package/dist/esm/apis/auth-api.d.ts +0 -200
- package/dist/esm/apis/auth-api.js +0 -464
- package/dist/esm/models/violation-decision-vo.d.ts +0 -12
- package/dist/esm/models/violation-work-order-add-vo.d.ts +0 -6
- package/dist/esm/models/violation-work-order-info.d.ts +0 -12
- package/dist/models/violation-decision-vo.d.ts +0 -12
- package/dist/models/violation-work-order-add-vo.d.ts +0 -6
- package/dist/models/violation-work-order-info.d.ts +0 -12
- package/models/violation-decision-vo.ts +0 -12
- package/models/violation-work-order-add-vo.ts +0 -6
- package/models/violation-work-order-info.ts +0 -12
- package/package.json +1 -1
|
@@ -82,18 +82,6 @@ export declare const AppAuthApiAxiosParamCreator: (configuration?: Configuration
|
|
|
82
82
|
* @throws {RequiredError}
|
|
83
83
|
*/
|
|
84
84
|
choosePark: (choosePakBody: ChoosePakBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* @param {*} [options] Override http request option.
|
|
88
|
-
* @throws {RequiredError}
|
|
89
|
-
*/
|
|
90
|
-
fusionGetToken: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @param {*} [options] Override http request option.
|
|
94
|
-
* @throws {RequiredError}
|
|
95
|
-
*/
|
|
96
|
-
fusionGetToken1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
97
85
|
/**
|
|
98
86
|
*
|
|
99
87
|
* @summary 获取园区数据
|
|
@@ -123,18 +111,6 @@ export declare const AppAuthApiAxiosParamCreator: (configuration?: Configuration
|
|
|
123
111
|
* @throws {RequiredError}
|
|
124
112
|
*/
|
|
125
113
|
getParkMiniApp: (uuid: string, userType: string, parkId: number, appId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
126
|
-
/**
|
|
127
|
-
*
|
|
128
|
-
* @param {*} [options] Override http request option.
|
|
129
|
-
* @throws {RequiredError}
|
|
130
|
-
*/
|
|
131
|
-
getTokenByHttp: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
132
|
-
/**
|
|
133
|
-
*
|
|
134
|
-
* @param {*} [options] Override http request option.
|
|
135
|
-
* @throws {RequiredError}
|
|
136
|
-
*/
|
|
137
|
-
getTokenByHttp1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
138
114
|
/**
|
|
139
115
|
*
|
|
140
116
|
* @summary 微信小程序登录
|
|
@@ -235,18 +211,6 @@ export declare const AppAuthApiFp: (configuration?: Configuration) => {
|
|
|
235
211
|
* @throws {RequiredError}
|
|
236
212
|
*/
|
|
237
213
|
choosePark(choosePakBody: ChoosePakBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultString>>;
|
|
238
|
-
/**
|
|
239
|
-
*
|
|
240
|
-
* @param {*} [options] Override http request option.
|
|
241
|
-
* @throws {RequiredError}
|
|
242
|
-
*/
|
|
243
|
-
fusionGetToken(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
244
|
-
/**
|
|
245
|
-
*
|
|
246
|
-
* @param {*} [options] Override http request option.
|
|
247
|
-
* @throws {RequiredError}
|
|
248
|
-
*/
|
|
249
|
-
fusionGetToken1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
250
214
|
/**
|
|
251
215
|
*
|
|
252
216
|
* @summary 获取园区数据
|
|
@@ -276,18 +240,6 @@ export declare const AppAuthApiFp: (configuration?: Configuration) => {
|
|
|
276
240
|
* @throws {RequiredError}
|
|
277
241
|
*/
|
|
278
242
|
getParkMiniApp(uuid: string, userType: string, parkId: number, appId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
279
|
-
/**
|
|
280
|
-
*
|
|
281
|
-
* @param {*} [options] Override http request option.
|
|
282
|
-
* @throws {RequiredError}
|
|
283
|
-
*/
|
|
284
|
-
getTokenByHttp(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
285
|
-
/**
|
|
286
|
-
*
|
|
287
|
-
* @param {*} [options] Override http request option.
|
|
288
|
-
* @throws {RequiredError}
|
|
289
|
-
*/
|
|
290
|
-
getTokenByHttp1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
291
243
|
/**
|
|
292
244
|
*
|
|
293
245
|
* @summary 微信小程序登录
|
|
@@ -394,18 +346,6 @@ export declare const AppAuthApiFactory: (configuration?: Configuration, basePath
|
|
|
394
346
|
* @throws {RequiredError}
|
|
395
347
|
*/
|
|
396
348
|
choosePark(requestParameters: AppAuthApiChooseParkRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultString>;
|
|
397
|
-
/**
|
|
398
|
-
*
|
|
399
|
-
* @param {*} [options] Override http request option.
|
|
400
|
-
* @throws {RequiredError}
|
|
401
|
-
*/
|
|
402
|
-
fusionGetToken(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
403
|
-
/**
|
|
404
|
-
*
|
|
405
|
-
* @param {*} [options] Override http request option.
|
|
406
|
-
* @throws {RequiredError}
|
|
407
|
-
*/
|
|
408
|
-
fusionGetToken1(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
409
349
|
/**
|
|
410
350
|
*
|
|
411
351
|
* @summary 获取园区数据
|
|
@@ -430,18 +370,6 @@ export declare const AppAuthApiFactory: (configuration?: Configuration, basePath
|
|
|
430
370
|
* @throws {RequiredError}
|
|
431
371
|
*/
|
|
432
372
|
getParkMiniApp(requestParameters: AppAuthApiGetParkMiniAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
|
|
433
|
-
/**
|
|
434
|
-
*
|
|
435
|
-
* @param {*} [options] Override http request option.
|
|
436
|
-
* @throws {RequiredError}
|
|
437
|
-
*/
|
|
438
|
-
getTokenByHttp(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
439
|
-
/**
|
|
440
|
-
*
|
|
441
|
-
* @param {*} [options] Override http request option.
|
|
442
|
-
* @throws {RequiredError}
|
|
443
|
-
*/
|
|
444
|
-
getTokenByHttp1(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
445
373
|
/**
|
|
446
374
|
*
|
|
447
375
|
* @summary 微信小程序登录
|
|
@@ -774,20 +702,6 @@ export declare class AppAuthApi extends BaseAPI {
|
|
|
774
702
|
* @memberof AppAuthApi
|
|
775
703
|
*/
|
|
776
704
|
choosePark(requestParameters: AppAuthApiChooseParkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultString, any, {}>>;
|
|
777
|
-
/**
|
|
778
|
-
*
|
|
779
|
-
* @param {*} [options] Override http request option.
|
|
780
|
-
* @throws {RequiredError}
|
|
781
|
-
* @memberof AppAuthApi
|
|
782
|
-
*/
|
|
783
|
-
fusionGetToken(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
784
|
-
/**
|
|
785
|
-
*
|
|
786
|
-
* @param {*} [options] Override http request option.
|
|
787
|
-
* @throws {RequiredError}
|
|
788
|
-
* @memberof AppAuthApi
|
|
789
|
-
*/
|
|
790
|
-
fusionGetToken1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
791
705
|
/**
|
|
792
706
|
*
|
|
793
707
|
* @summary 获取园区数据
|
|
@@ -815,20 +729,6 @@ export declare class AppAuthApi extends BaseAPI {
|
|
|
815
729
|
* @memberof AppAuthApi
|
|
816
730
|
*/
|
|
817
731
|
getParkMiniApp(requestParameters: AppAuthApiGetParkMiniAppRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any, {}>>;
|
|
818
|
-
/**
|
|
819
|
-
*
|
|
820
|
-
* @param {*} [options] Override http request option.
|
|
821
|
-
* @throws {RequiredError}
|
|
822
|
-
* @memberof AppAuthApi
|
|
823
|
-
*/
|
|
824
|
-
getTokenByHttp(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
825
|
-
/**
|
|
826
|
-
*
|
|
827
|
-
* @param {*} [options] Override http request option.
|
|
828
|
-
* @throws {RequiredError}
|
|
829
|
-
* @memberof AppAuthApi
|
|
830
|
-
*/
|
|
831
|
-
getTokenByHttp1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
832
732
|
/**
|
|
833
733
|
*
|
|
834
734
|
* @summary 微信小程序登录
|
|
@@ -259,60 +259,6 @@ const AppAuthApiAxiosParamCreator = function (configuration) {
|
|
|
259
259
|
options: localVarRequestOptions,
|
|
260
260
|
};
|
|
261
261
|
}),
|
|
262
|
-
/**
|
|
263
|
-
*
|
|
264
|
-
* @param {*} [options] Override http request option.
|
|
265
|
-
* @throws {RequiredError}
|
|
266
|
-
*/
|
|
267
|
-
fusionGetToken: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
268
|
-
const localVarPath = `/miniapp/auth/getToken`;
|
|
269
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
270
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
271
|
-
let baseOptions;
|
|
272
|
-
if (configuration) {
|
|
273
|
-
baseOptions = configuration.baseOptions;
|
|
274
|
-
}
|
|
275
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
276
|
-
const localVarHeaderParameter = {};
|
|
277
|
-
const localVarQueryParameter = {};
|
|
278
|
-
// authentication tokenScheme required
|
|
279
|
-
// http bearer authentication required
|
|
280
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
281
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
282
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
283
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
284
|
-
return {
|
|
285
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
286
|
-
options: localVarRequestOptions,
|
|
287
|
-
};
|
|
288
|
-
}),
|
|
289
|
-
/**
|
|
290
|
-
*
|
|
291
|
-
* @param {*} [options] Override http request option.
|
|
292
|
-
* @throws {RequiredError}
|
|
293
|
-
*/
|
|
294
|
-
fusionGetToken1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
295
|
-
const localVarPath = `/miniapp/auth/getToken`;
|
|
296
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
297
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
298
|
-
let baseOptions;
|
|
299
|
-
if (configuration) {
|
|
300
|
-
baseOptions = configuration.baseOptions;
|
|
301
|
-
}
|
|
302
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
303
|
-
const localVarHeaderParameter = {};
|
|
304
|
-
const localVarQueryParameter = {};
|
|
305
|
-
// authentication tokenScheme required
|
|
306
|
-
// http bearer authentication required
|
|
307
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
308
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
309
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
310
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
311
|
-
return {
|
|
312
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
313
|
-
options: localVarRequestOptions,
|
|
314
|
-
};
|
|
315
|
-
}),
|
|
316
262
|
/**
|
|
317
263
|
*
|
|
318
264
|
* @summary 获取园区数据
|
|
@@ -443,60 +389,6 @@ const AppAuthApiAxiosParamCreator = function (configuration) {
|
|
|
443
389
|
options: localVarRequestOptions,
|
|
444
390
|
};
|
|
445
391
|
}),
|
|
446
|
-
/**
|
|
447
|
-
*
|
|
448
|
-
* @param {*} [options] Override http request option.
|
|
449
|
-
* @throws {RequiredError}
|
|
450
|
-
*/
|
|
451
|
-
getTokenByHttp: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
452
|
-
const localVarPath = `/miniapp/auth/fusionGetTokenByHttp`;
|
|
453
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
454
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
455
|
-
let baseOptions;
|
|
456
|
-
if (configuration) {
|
|
457
|
-
baseOptions = configuration.baseOptions;
|
|
458
|
-
}
|
|
459
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
460
|
-
const localVarHeaderParameter = {};
|
|
461
|
-
const localVarQueryParameter = {};
|
|
462
|
-
// authentication tokenScheme required
|
|
463
|
-
// http bearer authentication required
|
|
464
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
465
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
466
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
467
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
468
|
-
return {
|
|
469
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
470
|
-
options: localVarRequestOptions,
|
|
471
|
-
};
|
|
472
|
-
}),
|
|
473
|
-
/**
|
|
474
|
-
*
|
|
475
|
-
* @param {*} [options] Override http request option.
|
|
476
|
-
* @throws {RequiredError}
|
|
477
|
-
*/
|
|
478
|
-
getTokenByHttp1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
479
|
-
const localVarPath = `/miniapp/auth/fusionGetTokenByHttp`;
|
|
480
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
481
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
482
|
-
let baseOptions;
|
|
483
|
-
if (configuration) {
|
|
484
|
-
baseOptions = configuration.baseOptions;
|
|
485
|
-
}
|
|
486
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
487
|
-
const localVarHeaderParameter = {};
|
|
488
|
-
const localVarQueryParameter = {};
|
|
489
|
-
// authentication tokenScheme required
|
|
490
|
-
// http bearer authentication required
|
|
491
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
492
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
493
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
494
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
495
|
-
return {
|
|
496
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
497
|
-
options: localVarRequestOptions,
|
|
498
|
-
};
|
|
499
|
-
}),
|
|
500
392
|
/**
|
|
501
393
|
*
|
|
502
394
|
* @summary 微信小程序登录
|
|
@@ -786,34 +678,6 @@ const AppAuthApiFp = function (configuration) {
|
|
|
786
678
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
787
679
|
});
|
|
788
680
|
},
|
|
789
|
-
/**
|
|
790
|
-
*
|
|
791
|
-
* @param {*} [options] Override http request option.
|
|
792
|
-
* @throws {RequiredError}
|
|
793
|
-
*/
|
|
794
|
-
fusionGetToken(options) {
|
|
795
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
796
|
-
var _a, _b, _c;
|
|
797
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.fusionGetToken(options);
|
|
798
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
799
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AppAuthApi.fusionGetToken']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
800
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
801
|
-
});
|
|
802
|
-
},
|
|
803
|
-
/**
|
|
804
|
-
*
|
|
805
|
-
* @param {*} [options] Override http request option.
|
|
806
|
-
* @throws {RequiredError}
|
|
807
|
-
*/
|
|
808
|
-
fusionGetToken1(options) {
|
|
809
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
810
|
-
var _a, _b, _c;
|
|
811
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.fusionGetToken1(options);
|
|
812
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
813
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AppAuthApi.fusionGetToken1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
814
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
815
|
-
});
|
|
816
|
-
},
|
|
817
681
|
/**
|
|
818
682
|
*
|
|
819
683
|
* @summary 获取园区数据
|
|
@@ -867,34 +731,6 @@ const AppAuthApiFp = function (configuration) {
|
|
|
867
731
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
868
732
|
});
|
|
869
733
|
},
|
|
870
|
-
/**
|
|
871
|
-
*
|
|
872
|
-
* @param {*} [options] Override http request option.
|
|
873
|
-
* @throws {RequiredError}
|
|
874
|
-
*/
|
|
875
|
-
getTokenByHttp(options) {
|
|
876
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
877
|
-
var _a, _b, _c;
|
|
878
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTokenByHttp(options);
|
|
879
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
880
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AppAuthApi.getTokenByHttp']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
881
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
882
|
-
});
|
|
883
|
-
},
|
|
884
|
-
/**
|
|
885
|
-
*
|
|
886
|
-
* @param {*} [options] Override http request option.
|
|
887
|
-
* @throws {RequiredError}
|
|
888
|
-
*/
|
|
889
|
-
getTokenByHttp1(options) {
|
|
890
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
891
|
-
var _a, _b, _c;
|
|
892
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTokenByHttp1(options);
|
|
893
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
894
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AppAuthApi.getTokenByHttp1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
895
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
896
|
-
});
|
|
897
|
-
},
|
|
898
734
|
/**
|
|
899
735
|
*
|
|
900
736
|
* @summary 微信小程序登录
|
|
@@ -1053,22 +889,6 @@ const AppAuthApiFactory = function (configuration, basePath, axios) {
|
|
|
1053
889
|
choosePark(requestParameters, options) {
|
|
1054
890
|
return localVarFp.choosePark(requestParameters.choosePakBody, options).then((request) => request(axios, basePath));
|
|
1055
891
|
},
|
|
1056
|
-
/**
|
|
1057
|
-
*
|
|
1058
|
-
* @param {*} [options] Override http request option.
|
|
1059
|
-
* @throws {RequiredError}
|
|
1060
|
-
*/
|
|
1061
|
-
fusionGetToken(options) {
|
|
1062
|
-
return localVarFp.fusionGetToken(options).then((request) => request(axios, basePath));
|
|
1063
|
-
},
|
|
1064
|
-
/**
|
|
1065
|
-
*
|
|
1066
|
-
* @param {*} [options] Override http request option.
|
|
1067
|
-
* @throws {RequiredError}
|
|
1068
|
-
*/
|
|
1069
|
-
fusionGetToken1(options) {
|
|
1070
|
-
return localVarFp.fusionGetToken1(options).then((request) => request(axios, basePath));
|
|
1071
|
-
},
|
|
1072
892
|
/**
|
|
1073
893
|
*
|
|
1074
894
|
* @summary 获取园区数据
|
|
@@ -1099,22 +919,6 @@ const AppAuthApiFactory = function (configuration, basePath, axios) {
|
|
|
1099
919
|
getParkMiniApp(requestParameters, options) {
|
|
1100
920
|
return localVarFp.getParkMiniApp(requestParameters.uuid, requestParameters.userType, requestParameters.parkId, requestParameters.appId, options).then((request) => request(axios, basePath));
|
|
1101
921
|
},
|
|
1102
|
-
/**
|
|
1103
|
-
*
|
|
1104
|
-
* @param {*} [options] Override http request option.
|
|
1105
|
-
* @throws {RequiredError}
|
|
1106
|
-
*/
|
|
1107
|
-
getTokenByHttp(options) {
|
|
1108
|
-
return localVarFp.getTokenByHttp(options).then((request) => request(axios, basePath));
|
|
1109
|
-
},
|
|
1110
|
-
/**
|
|
1111
|
-
*
|
|
1112
|
-
* @param {*} [options] Override http request option.
|
|
1113
|
-
* @throws {RequiredError}
|
|
1114
|
-
*/
|
|
1115
|
-
getTokenByHttp1(options) {
|
|
1116
|
-
return localVarFp.getTokenByHttp1(options).then((request) => request(axios, basePath));
|
|
1117
|
-
},
|
|
1118
922
|
/**
|
|
1119
923
|
*
|
|
1120
924
|
* @summary 微信小程序登录
|
|
@@ -1249,24 +1053,6 @@ class AppAuthApi extends base_1.BaseAPI {
|
|
|
1249
1053
|
choosePark(requestParameters, options) {
|
|
1250
1054
|
return (0, exports.AppAuthApiFp)(this.configuration).choosePark(requestParameters.choosePakBody, options).then((request) => request(this.axios, this.basePath));
|
|
1251
1055
|
}
|
|
1252
|
-
/**
|
|
1253
|
-
*
|
|
1254
|
-
* @param {*} [options] Override http request option.
|
|
1255
|
-
* @throws {RequiredError}
|
|
1256
|
-
* @memberof AppAuthApi
|
|
1257
|
-
*/
|
|
1258
|
-
fusionGetToken(options) {
|
|
1259
|
-
return (0, exports.AppAuthApiFp)(this.configuration).fusionGetToken(options).then((request) => request(this.axios, this.basePath));
|
|
1260
|
-
}
|
|
1261
|
-
/**
|
|
1262
|
-
*
|
|
1263
|
-
* @param {*} [options] Override http request option.
|
|
1264
|
-
* @throws {RequiredError}
|
|
1265
|
-
* @memberof AppAuthApi
|
|
1266
|
-
*/
|
|
1267
|
-
fusionGetToken1(options) {
|
|
1268
|
-
return (0, exports.AppAuthApiFp)(this.configuration).fusionGetToken1(options).then((request) => request(this.axios, this.basePath));
|
|
1269
|
-
}
|
|
1270
1056
|
/**
|
|
1271
1057
|
*
|
|
1272
1058
|
* @summary 获取园区数据
|
|
@@ -1300,24 +1086,6 @@ class AppAuthApi extends base_1.BaseAPI {
|
|
|
1300
1086
|
getParkMiniApp(requestParameters, options) {
|
|
1301
1087
|
return (0, exports.AppAuthApiFp)(this.configuration).getParkMiniApp(requestParameters.uuid, requestParameters.userType, requestParameters.parkId, requestParameters.appId, options).then((request) => request(this.axios, this.basePath));
|
|
1302
1088
|
}
|
|
1303
|
-
/**
|
|
1304
|
-
*
|
|
1305
|
-
* @param {*} [options] Override http request option.
|
|
1306
|
-
* @throws {RequiredError}
|
|
1307
|
-
* @memberof AppAuthApi
|
|
1308
|
-
*/
|
|
1309
|
-
getTokenByHttp(options) {
|
|
1310
|
-
return (0, exports.AppAuthApiFp)(this.configuration).getTokenByHttp(options).then((request) => request(this.axios, this.basePath));
|
|
1311
|
-
}
|
|
1312
|
-
/**
|
|
1313
|
-
*
|
|
1314
|
-
* @param {*} [options] Override http request option.
|
|
1315
|
-
* @throws {RequiredError}
|
|
1316
|
-
* @memberof AppAuthApi
|
|
1317
|
-
*/
|
|
1318
|
-
getTokenByHttp1(options) {
|
|
1319
|
-
return (0, exports.AppAuthApiFp)(this.configuration).getTokenByHttp1(options).then((request) => request(this.axios, this.basePath));
|
|
1320
|
-
}
|
|
1321
1089
|
/**
|
|
1322
1090
|
*
|
|
1323
1091
|
* @summary 微信小程序登录
|
package/dist/apis/auth-api.d.ts
CHANGED
|
@@ -103,30 +103,6 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
103
103
|
* @throws {RequiredError}
|
|
104
104
|
*/
|
|
105
105
|
code: (email: string, language: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
* @param {*} [options] Override http request option.
|
|
109
|
-
* @throws {RequiredError}
|
|
110
|
-
*/
|
|
111
|
-
fusionGetToken: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @param {*} [options] Override http request option.
|
|
115
|
-
* @throws {RequiredError}
|
|
116
|
-
*/
|
|
117
|
-
fusionGetToken1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* @param {*} [options] Override http request option.
|
|
121
|
-
* @throws {RequiredError}
|
|
122
|
-
*/
|
|
123
|
-
fusionGetToken2: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
124
|
-
/**
|
|
125
|
-
*
|
|
126
|
-
* @param {*} [options] Override http request option.
|
|
127
|
-
* @throws {RequiredError}
|
|
128
|
-
*/
|
|
129
|
-
fusionGetToken3: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
130
106
|
/**
|
|
131
107
|
*
|
|
132
108
|
* @param {*} [options] Override http request option.
|
|
@@ -181,30 +157,6 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
181
157
|
* @throws {RequiredError}
|
|
182
158
|
*/
|
|
183
159
|
getRoutersAll: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
184
|
-
/**
|
|
185
|
-
*
|
|
186
|
-
* @param {*} [options] Override http request option.
|
|
187
|
-
* @throws {RequiredError}
|
|
188
|
-
*/
|
|
189
|
-
getTokenByHttp: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
190
|
-
/**
|
|
191
|
-
*
|
|
192
|
-
* @param {*} [options] Override http request option.
|
|
193
|
-
* @throws {RequiredError}
|
|
194
|
-
*/
|
|
195
|
-
getTokenByHttp1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
196
|
-
/**
|
|
197
|
-
*
|
|
198
|
-
* @param {*} [options] Override http request option.
|
|
199
|
-
* @throws {RequiredError}
|
|
200
|
-
*/
|
|
201
|
-
getTokenByHttp2: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
202
|
-
/**
|
|
203
|
-
*
|
|
204
|
-
* @param {*} [options] Override http request option.
|
|
205
|
-
* @throws {RequiredError}
|
|
206
|
-
*/
|
|
207
|
-
getTokenByHttp3: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
208
160
|
/**
|
|
209
161
|
*
|
|
210
162
|
* @summary 获取用户信息
|
|
@@ -359,30 +311,6 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
|
|
|
359
311
|
* @throws {RequiredError}
|
|
360
312
|
*/
|
|
361
313
|
code(email: string, language: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
362
|
-
/**
|
|
363
|
-
*
|
|
364
|
-
* @param {*} [options] Override http request option.
|
|
365
|
-
* @throws {RequiredError}
|
|
366
|
-
*/
|
|
367
|
-
fusionGetToken(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
368
|
-
/**
|
|
369
|
-
*
|
|
370
|
-
* @param {*} [options] Override http request option.
|
|
371
|
-
* @throws {RequiredError}
|
|
372
|
-
*/
|
|
373
|
-
fusionGetToken1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
374
|
-
/**
|
|
375
|
-
*
|
|
376
|
-
* @param {*} [options] Override http request option.
|
|
377
|
-
* @throws {RequiredError}
|
|
378
|
-
*/
|
|
379
|
-
fusionGetToken2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
380
|
-
/**
|
|
381
|
-
*
|
|
382
|
-
* @param {*} [options] Override http request option.
|
|
383
|
-
* @throws {RequiredError}
|
|
384
|
-
*/
|
|
385
|
-
fusionGetToken3(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
386
314
|
/**
|
|
387
315
|
*
|
|
388
316
|
* @param {*} [options] Override http request option.
|
|
@@ -445,30 +373,6 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
|
|
|
445
373
|
getRoutersAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
446
374
|
[key: string]: object;
|
|
447
375
|
}>>;
|
|
448
|
-
/**
|
|
449
|
-
*
|
|
450
|
-
* @param {*} [options] Override http request option.
|
|
451
|
-
* @throws {RequiredError}
|
|
452
|
-
*/
|
|
453
|
-
getTokenByHttp(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
454
|
-
/**
|
|
455
|
-
*
|
|
456
|
-
* @param {*} [options] Override http request option.
|
|
457
|
-
* @throws {RequiredError}
|
|
458
|
-
*/
|
|
459
|
-
getTokenByHttp1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
460
|
-
/**
|
|
461
|
-
*
|
|
462
|
-
* @param {*} [options] Override http request option.
|
|
463
|
-
* @throws {RequiredError}
|
|
464
|
-
*/
|
|
465
|
-
getTokenByHttp2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
466
|
-
/**
|
|
467
|
-
*
|
|
468
|
-
* @param {*} [options] Override http request option.
|
|
469
|
-
* @throws {RequiredError}
|
|
470
|
-
*/
|
|
471
|
-
getTokenByHttp3(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
472
376
|
/**
|
|
473
377
|
*
|
|
474
378
|
* @summary 获取用户信息
|
|
@@ -634,30 +538,6 @@ export declare const AuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
634
538
|
* @throws {RequiredError}
|
|
635
539
|
*/
|
|
636
540
|
code(requestParameters: AuthApiCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
|
|
637
|
-
/**
|
|
638
|
-
*
|
|
639
|
-
* @param {*} [options] Override http request option.
|
|
640
|
-
* @throws {RequiredError}
|
|
641
|
-
*/
|
|
642
|
-
fusionGetToken(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
643
|
-
/**
|
|
644
|
-
*
|
|
645
|
-
* @param {*} [options] Override http request option.
|
|
646
|
-
* @throws {RequiredError}
|
|
647
|
-
*/
|
|
648
|
-
fusionGetToken1(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
649
|
-
/**
|
|
650
|
-
*
|
|
651
|
-
* @param {*} [options] Override http request option.
|
|
652
|
-
* @throws {RequiredError}
|
|
653
|
-
*/
|
|
654
|
-
fusionGetToken2(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
655
|
-
/**
|
|
656
|
-
*
|
|
657
|
-
* @param {*} [options] Override http request option.
|
|
658
|
-
* @throws {RequiredError}
|
|
659
|
-
*/
|
|
660
|
-
fusionGetToken3(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
661
541
|
/**
|
|
662
542
|
*
|
|
663
543
|
* @param {*} [options] Override http request option.
|
|
@@ -715,30 +595,6 @@ export declare const AuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
715
595
|
getRoutersAll(options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
716
596
|
[key: string]: object;
|
|
717
597
|
}>;
|
|
718
|
-
/**
|
|
719
|
-
*
|
|
720
|
-
* @param {*} [options] Override http request option.
|
|
721
|
-
* @throws {RequiredError}
|
|
722
|
-
*/
|
|
723
|
-
getTokenByHttp(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
724
|
-
/**
|
|
725
|
-
*
|
|
726
|
-
* @param {*} [options] Override http request option.
|
|
727
|
-
* @throws {RequiredError}
|
|
728
|
-
*/
|
|
729
|
-
getTokenByHttp1(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
730
|
-
/**
|
|
731
|
-
*
|
|
732
|
-
* @param {*} [options] Override http request option.
|
|
733
|
-
* @throws {RequiredError}
|
|
734
|
-
*/
|
|
735
|
-
getTokenByHttp2(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
736
|
-
/**
|
|
737
|
-
*
|
|
738
|
-
* @param {*} [options] Override http request option.
|
|
739
|
-
* @throws {RequiredError}
|
|
740
|
-
*/
|
|
741
|
-
getTokenByHttp3(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
742
598
|
/**
|
|
743
599
|
*
|
|
744
600
|
* @summary 获取用户信息
|
|
@@ -1229,34 +1085,6 @@ export declare class AuthApi extends BaseAPI {
|
|
|
1229
1085
|
* @memberof AuthApi
|
|
1230
1086
|
*/
|
|
1231
1087
|
code(requestParameters: AuthApiCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any, {}>>;
|
|
1232
|
-
/**
|
|
1233
|
-
*
|
|
1234
|
-
* @param {*} [options] Override http request option.
|
|
1235
|
-
* @throws {RequiredError}
|
|
1236
|
-
* @memberof AuthApi
|
|
1237
|
-
*/
|
|
1238
|
-
fusionGetToken(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
1239
|
-
/**
|
|
1240
|
-
*
|
|
1241
|
-
* @param {*} [options] Override http request option.
|
|
1242
|
-
* @throws {RequiredError}
|
|
1243
|
-
* @memberof AuthApi
|
|
1244
|
-
*/
|
|
1245
|
-
fusionGetToken1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
1246
|
-
/**
|
|
1247
|
-
*
|
|
1248
|
-
* @param {*} [options] Override http request option.
|
|
1249
|
-
* @throws {RequiredError}
|
|
1250
|
-
* @memberof AuthApi
|
|
1251
|
-
*/
|
|
1252
|
-
fusionGetToken2(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
1253
|
-
/**
|
|
1254
|
-
*
|
|
1255
|
-
* @param {*} [options] Override http request option.
|
|
1256
|
-
* @throws {RequiredError}
|
|
1257
|
-
* @memberof AuthApi
|
|
1258
|
-
*/
|
|
1259
|
-
fusionGetToken3(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
1260
1088
|
/**
|
|
1261
1089
|
*
|
|
1262
1090
|
* @param {*} [options] Override http request option.
|
|
@@ -1321,34 +1149,6 @@ export declare class AuthApi extends BaseAPI {
|
|
|
1321
1149
|
getRoutersAll(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
1322
1150
|
[key: string]: object;
|
|
1323
1151
|
}, any, {}>>;
|
|
1324
|
-
/**
|
|
1325
|
-
*
|
|
1326
|
-
* @param {*} [options] Override http request option.
|
|
1327
|
-
* @throws {RequiredError}
|
|
1328
|
-
* @memberof AuthApi
|
|
1329
|
-
*/
|
|
1330
|
-
getTokenByHttp(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
1331
|
-
/**
|
|
1332
|
-
*
|
|
1333
|
-
* @param {*} [options] Override http request option.
|
|
1334
|
-
* @throws {RequiredError}
|
|
1335
|
-
* @memberof AuthApi
|
|
1336
|
-
*/
|
|
1337
|
-
getTokenByHttp1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
1338
|
-
/**
|
|
1339
|
-
*
|
|
1340
|
-
* @param {*} [options] Override http request option.
|
|
1341
|
-
* @throws {RequiredError}
|
|
1342
|
-
* @memberof AuthApi
|
|
1343
|
-
*/
|
|
1344
|
-
getTokenByHttp2(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
1345
|
-
/**
|
|
1346
|
-
*
|
|
1347
|
-
* @param {*} [options] Override http request option.
|
|
1348
|
-
* @throws {RequiredError}
|
|
1349
|
-
* @memberof AuthApi
|
|
1350
|
-
*/
|
|
1351
|
-
getTokenByHttp3(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
1352
1152
|
/**
|
|
1353
1153
|
*
|
|
1354
1154
|
* @summary 获取用户信息
|