@gizone/rrs-client 4.2.0-alpha.274 → 4.2.0-alpha.276
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 -1
- package/apis/auth-api.ts +2 -452
- package/apis/smsapi.ts +0 -555
- package/apis/surveillance-api.ts +19 -19
- package/dist/apis/auth-api.d.ts +0 -200
- package/dist/apis/auth-api.js +2 -382
- package/dist/apis/smsapi.d.ts +0 -254
- package/dist/apis/smsapi.js +0 -458
- package/dist/apis/surveillance-api.d.ts +6 -7
- package/dist/apis/surveillance-api.js +14 -13
- package/dist/esm/apis/auth-api.d.ts +0 -200
- package/dist/esm/apis/auth-api.js +2 -382
- package/dist/esm/apis/smsapi.d.ts +0 -254
- package/dist/esm/apis/smsapi.js +0 -458
- package/dist/esm/apis/surveillance-api.d.ts +6 -7
- package/dist/esm/apis/surveillance-api.js +14 -13
- package/dist/esm/models/get-user-wx200-response.d.ts +15 -15
- package/dist/esm/models/index.d.ts +0 -1
- package/dist/esm/models/index.js +0 -1
- package/dist/esm/models/ipage-access-vo.d.ts +3 -3
- package/dist/models/get-user-wx200-response.d.ts +15 -15
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/ipage-access-vo.d.ts +3 -3
- package/models/get-user-wx200-response.ts +15 -15
- package/models/index.ts +0 -1
- package/models/ipage-access-vo.ts +3 -3
- package/package.json +1 -1
- package/dist/esm/models/excel-upload-bo.d.ts +0 -36
- package/dist/esm/models/excel-upload-bo.js +0 -14
- package/dist/models/excel-upload-bo.d.ts +0 -36
- package/dist/models/excel-upload-bo.js +0 -15
- package/models/excel-upload-bo.ts +0 -42
package/.openapi-generator/FILES
CHANGED
|
@@ -284,7 +284,6 @@ models/excel-import-result-dtomaintenance-standard-import-dto.ts
|
|
|
284
284
|
models/excel-import-result-dtosurveillance-batch-import-template-dto.ts
|
|
285
285
|
models/excel-import-result-dtosurveillance-settings-export-dto.ts
|
|
286
286
|
models/excel-import-upload-to-redis-vo-space-add-excel-dto.ts
|
|
287
|
-
models/excel-upload-bo.ts
|
|
288
287
|
models/export-energy-meter-record-bo.ts
|
|
289
288
|
models/export-hire-energy-meter-record-bo.ts
|
|
290
289
|
models/export-in-park-vehicle-bo.ts
|
package/apis/auth-api.ts
CHANGED
|
@@ -484,72 +484,6 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
484
484
|
* @throws {RequiredError}
|
|
485
485
|
*/
|
|
486
486
|
fusionGetToken2: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
487
|
-
const localVarPath = `/fusion/sms/getToken`;
|
|
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
|
-
* @param {*} [options] Override http request option.
|
|
517
|
-
* @throws {RequiredError}
|
|
518
|
-
*/
|
|
519
|
-
fusionGetToken3: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
520
|
-
const localVarPath = `/fusion/sms/getToken`;
|
|
521
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
522
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
523
|
-
let baseOptions;
|
|
524
|
-
if (configuration) {
|
|
525
|
-
baseOptions = configuration.baseOptions;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
529
|
-
const localVarHeaderParameter = {} as any;
|
|
530
|
-
const localVarQueryParameter = {} as any;
|
|
531
|
-
|
|
532
|
-
// authentication tokenScheme required
|
|
533
|
-
// http bearer authentication required
|
|
534
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
539
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
540
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
541
|
-
|
|
542
|
-
return {
|
|
543
|
-
url: toPathString(localVarUrlObj),
|
|
544
|
-
options: localVarRequestOptions,
|
|
545
|
-
};
|
|
546
|
-
},
|
|
547
|
-
/**
|
|
548
|
-
*
|
|
549
|
-
* @param {*} [options] Override http request option.
|
|
550
|
-
* @throws {RequiredError}
|
|
551
|
-
*/
|
|
552
|
-
fusionGetToken4: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
553
487
|
const localVarPath = `/fusion/base/getToken`;
|
|
554
488
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
555
489
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -582,7 +516,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
582
516
|
* @param {*} [options] Override http request option.
|
|
583
517
|
* @throws {RequiredError}
|
|
584
518
|
*/
|
|
585
|
-
|
|
519
|
+
fusionGetToken3: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
586
520
|
const localVarPath = `/fusion/base/getToken`;
|
|
587
521
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
588
522
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -976,72 +910,6 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
976
910
|
* @throws {RequiredError}
|
|
977
911
|
*/
|
|
978
912
|
getTokenByHttp2: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
979
|
-
const localVarPath = `/fusion/sms/fusionGetTokenByHttp`;
|
|
980
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
981
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
982
|
-
let baseOptions;
|
|
983
|
-
if (configuration) {
|
|
984
|
-
baseOptions = configuration.baseOptions;
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
988
|
-
const localVarHeaderParameter = {} as any;
|
|
989
|
-
const localVarQueryParameter = {} as any;
|
|
990
|
-
|
|
991
|
-
// authentication tokenScheme required
|
|
992
|
-
// http bearer authentication required
|
|
993
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
998
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
999
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1000
|
-
|
|
1001
|
-
return {
|
|
1002
|
-
url: toPathString(localVarUrlObj),
|
|
1003
|
-
options: localVarRequestOptions,
|
|
1004
|
-
};
|
|
1005
|
-
},
|
|
1006
|
-
/**
|
|
1007
|
-
*
|
|
1008
|
-
* @param {*} [options] Override http request option.
|
|
1009
|
-
* @throws {RequiredError}
|
|
1010
|
-
*/
|
|
1011
|
-
getTokenByHttp3: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1012
|
-
const localVarPath = `/fusion/sms/fusionGetTokenByHttp`;
|
|
1013
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1014
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1015
|
-
let baseOptions;
|
|
1016
|
-
if (configuration) {
|
|
1017
|
-
baseOptions = configuration.baseOptions;
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1021
|
-
const localVarHeaderParameter = {} as any;
|
|
1022
|
-
const localVarQueryParameter = {} as any;
|
|
1023
|
-
|
|
1024
|
-
// authentication tokenScheme required
|
|
1025
|
-
// http bearer authentication required
|
|
1026
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1031
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1032
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1033
|
-
|
|
1034
|
-
return {
|
|
1035
|
-
url: toPathString(localVarUrlObj),
|
|
1036
|
-
options: localVarRequestOptions,
|
|
1037
|
-
};
|
|
1038
|
-
},
|
|
1039
|
-
/**
|
|
1040
|
-
*
|
|
1041
|
-
* @param {*} [options] Override http request option.
|
|
1042
|
-
* @throws {RequiredError}
|
|
1043
|
-
*/
|
|
1044
|
-
getTokenByHttp4: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1045
913
|
const localVarPath = `/fusion/base/fusionGetTokenByHttp`;
|
|
1046
914
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1047
915
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1074,7 +942,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1074
942
|
* @param {*} [options] Override http request option.
|
|
1075
943
|
* @throws {RequiredError}
|
|
1076
944
|
*/
|
|
1077
|
-
|
|
945
|
+
getTokenByHttp3: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1078
946
|
const localVarPath = `/fusion/base/fusionGetTokenByHttp`;
|
|
1079
947
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1080
948
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1421,100 +1289,6 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1421
1289
|
|
|
1422
1290
|
|
|
1423
1291
|
|
|
1424
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1425
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1426
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1427
|
-
|
|
1428
|
-
return {
|
|
1429
|
-
url: toPathString(localVarUrlObj),
|
|
1430
|
-
options: localVarRequestOptions,
|
|
1431
|
-
};
|
|
1432
|
-
},
|
|
1433
|
-
/**
|
|
1434
|
-
*
|
|
1435
|
-
* @param {string} phone
|
|
1436
|
-
* @param {string} templateCode
|
|
1437
|
-
* @param {*} [options] Override http request option.
|
|
1438
|
-
* @throws {RequiredError}
|
|
1439
|
-
*/
|
|
1440
|
-
sendSms: async (phone: string, templateCode: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1441
|
-
// verify required parameter 'phone' is not null or undefined
|
|
1442
|
-
assertParamExists('sendSms', 'phone', phone)
|
|
1443
|
-
// verify required parameter 'templateCode' is not null or undefined
|
|
1444
|
-
assertParamExists('sendSms', 'templateCode', templateCode)
|
|
1445
|
-
const localVarPath = `/fusion/sms/sendSms`;
|
|
1446
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1447
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1448
|
-
let baseOptions;
|
|
1449
|
-
if (configuration) {
|
|
1450
|
-
baseOptions = configuration.baseOptions;
|
|
1451
|
-
}
|
|
1452
|
-
|
|
1453
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1454
|
-
const localVarHeaderParameter = {} as any;
|
|
1455
|
-
const localVarQueryParameter = {} as any;
|
|
1456
|
-
|
|
1457
|
-
// authentication tokenScheme required
|
|
1458
|
-
// http bearer authentication required
|
|
1459
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1460
|
-
|
|
1461
|
-
if (phone !== undefined) {
|
|
1462
|
-
localVarQueryParameter['phone'] = phone;
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
|
-
if (templateCode !== undefined) {
|
|
1466
|
-
localVarQueryParameter['templateCode'] = templateCode;
|
|
1467
|
-
}
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1472
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1473
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1474
|
-
|
|
1475
|
-
return {
|
|
1476
|
-
url: toPathString(localVarUrlObj),
|
|
1477
|
-
options: localVarRequestOptions,
|
|
1478
|
-
};
|
|
1479
|
-
},
|
|
1480
|
-
/**
|
|
1481
|
-
*
|
|
1482
|
-
* @param {string} phone
|
|
1483
|
-
* @param {string} templateCode
|
|
1484
|
-
* @param {*} [options] Override http request option.
|
|
1485
|
-
* @throws {RequiredError}
|
|
1486
|
-
*/
|
|
1487
|
-
sendSms1: async (phone: string, templateCode: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1488
|
-
// verify required parameter 'phone' is not null or undefined
|
|
1489
|
-
assertParamExists('sendSms1', 'phone', phone)
|
|
1490
|
-
// verify required parameter 'templateCode' is not null or undefined
|
|
1491
|
-
assertParamExists('sendSms1', 'templateCode', templateCode)
|
|
1492
|
-
const localVarPath = `/fusion/sms/sendSms`;
|
|
1493
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1494
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1495
|
-
let baseOptions;
|
|
1496
|
-
if (configuration) {
|
|
1497
|
-
baseOptions = configuration.baseOptions;
|
|
1498
|
-
}
|
|
1499
|
-
|
|
1500
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1501
|
-
const localVarHeaderParameter = {} as any;
|
|
1502
|
-
const localVarQueryParameter = {} as any;
|
|
1503
|
-
|
|
1504
|
-
// authentication tokenScheme required
|
|
1505
|
-
// http bearer authentication required
|
|
1506
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1507
|
-
|
|
1508
|
-
if (phone !== undefined) {
|
|
1509
|
-
localVarQueryParameter['phone'] = phone;
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
|
-
if (templateCode !== undefined) {
|
|
1513
|
-
localVarQueryParameter['templateCode'] = templateCode;
|
|
1514
|
-
}
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
1292
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1519
1293
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1520
1294
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1812,28 +1586,6 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
1812
1586
|
const localVarOperationServerBasePath = operationServerMap['AuthApi.fusionGetToken3']?.[localVarOperationServerIndex]?.url;
|
|
1813
1587
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1814
1588
|
},
|
|
1815
|
-
/**
|
|
1816
|
-
*
|
|
1817
|
-
* @param {*} [options] Override http request option.
|
|
1818
|
-
* @throws {RequiredError}
|
|
1819
|
-
*/
|
|
1820
|
-
async fusionGetToken4(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
1821
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fusionGetToken4(options);
|
|
1822
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1823
|
-
const localVarOperationServerBasePath = operationServerMap['AuthApi.fusionGetToken4']?.[localVarOperationServerIndex]?.url;
|
|
1824
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1825
|
-
},
|
|
1826
|
-
/**
|
|
1827
|
-
*
|
|
1828
|
-
* @param {*} [options] Override http request option.
|
|
1829
|
-
* @throws {RequiredError}
|
|
1830
|
-
*/
|
|
1831
|
-
async fusionGetToken5(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
1832
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.fusionGetToken5(options);
|
|
1833
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1834
|
-
const localVarOperationServerBasePath = operationServerMap['AuthApi.fusionGetToken5']?.[localVarOperationServerIndex]?.url;
|
|
1835
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1836
|
-
},
|
|
1837
1589
|
/**
|
|
1838
1590
|
*
|
|
1839
1591
|
* @param {*} [options] Override http request option.
|
|
@@ -1967,28 +1719,6 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
1967
1719
|
const localVarOperationServerBasePath = operationServerMap['AuthApi.getTokenByHttp3']?.[localVarOperationServerIndex]?.url;
|
|
1968
1720
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1969
1721
|
},
|
|
1970
|
-
/**
|
|
1971
|
-
*
|
|
1972
|
-
* @param {*} [options] Override http request option.
|
|
1973
|
-
* @throws {RequiredError}
|
|
1974
|
-
*/
|
|
1975
|
-
async getTokenByHttp4(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
1976
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getTokenByHttp4(options);
|
|
1977
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1978
|
-
const localVarOperationServerBasePath = operationServerMap['AuthApi.getTokenByHttp4']?.[localVarOperationServerIndex]?.url;
|
|
1979
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1980
|
-
},
|
|
1981
|
-
/**
|
|
1982
|
-
*
|
|
1983
|
-
* @param {*} [options] Override http request option.
|
|
1984
|
-
* @throws {RequiredError}
|
|
1985
|
-
*/
|
|
1986
|
-
async getTokenByHttp5(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
1987
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getTokenByHttp5(options);
|
|
1988
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1989
|
-
const localVarOperationServerBasePath = operationServerMap['AuthApi.getTokenByHttp5']?.[localVarOperationServerIndex]?.url;
|
|
1990
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1991
|
-
},
|
|
1992
1722
|
/**
|
|
1993
1723
|
*
|
|
1994
1724
|
* @summary 获取用户信息
|
|
@@ -2093,32 +1823,6 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
2093
1823
|
const localVarOperationServerBasePath = operationServerMap['AuthApi.pushMsg']?.[localVarOperationServerIndex]?.url;
|
|
2094
1824
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2095
1825
|
},
|
|
2096
|
-
/**
|
|
2097
|
-
*
|
|
2098
|
-
* @param {string} phone
|
|
2099
|
-
* @param {string} templateCode
|
|
2100
|
-
* @param {*} [options] Override http request option.
|
|
2101
|
-
* @throws {RequiredError}
|
|
2102
|
-
*/
|
|
2103
|
-
async sendSms(phone: string, templateCode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
2104
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.sendSms(phone, templateCode, options);
|
|
2105
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2106
|
-
const localVarOperationServerBasePath = operationServerMap['AuthApi.sendSms']?.[localVarOperationServerIndex]?.url;
|
|
2107
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2108
|
-
},
|
|
2109
|
-
/**
|
|
2110
|
-
*
|
|
2111
|
-
* @param {string} phone
|
|
2112
|
-
* @param {string} templateCode
|
|
2113
|
-
* @param {*} [options] Override http request option.
|
|
2114
|
-
* @throws {RequiredError}
|
|
2115
|
-
*/
|
|
2116
|
-
async sendSms1(phone: string, templateCode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
2117
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.sendSms1(phone, templateCode, options);
|
|
2118
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2119
|
-
const localVarOperationServerBasePath = operationServerMap['AuthApi.sendSms1']?.[localVarOperationServerIndex]?.url;
|
|
2120
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2121
|
-
},
|
|
2122
1826
|
/**
|
|
2123
1827
|
*
|
|
2124
1828
|
* @summary 小程序切换园区
|
|
@@ -2286,22 +1990,6 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
2286
1990
|
fusionGetToken3(options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
2287
1991
|
return localVarFp.fusionGetToken3(options).then((request) => request(axios, basePath));
|
|
2288
1992
|
},
|
|
2289
|
-
/**
|
|
2290
|
-
*
|
|
2291
|
-
* @param {*} [options] Override http request option.
|
|
2292
|
-
* @throws {RequiredError}
|
|
2293
|
-
*/
|
|
2294
|
-
fusionGetToken4(options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
2295
|
-
return localVarFp.fusionGetToken4(options).then((request) => request(axios, basePath));
|
|
2296
|
-
},
|
|
2297
|
-
/**
|
|
2298
|
-
*
|
|
2299
|
-
* @param {*} [options] Override http request option.
|
|
2300
|
-
* @throws {RequiredError}
|
|
2301
|
-
*/
|
|
2302
|
-
fusionGetToken5(options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
2303
|
-
return localVarFp.fusionGetToken5(options).then((request) => request(axios, basePath));
|
|
2304
|
-
},
|
|
2305
1993
|
/**
|
|
2306
1994
|
*
|
|
2307
1995
|
* @param {*} [options] Override http request option.
|
|
@@ -2397,22 +2085,6 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
2397
2085
|
getTokenByHttp3(options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
2398
2086
|
return localVarFp.getTokenByHttp3(options).then((request) => request(axios, basePath));
|
|
2399
2087
|
},
|
|
2400
|
-
/**
|
|
2401
|
-
*
|
|
2402
|
-
* @param {*} [options] Override http request option.
|
|
2403
|
-
* @throws {RequiredError}
|
|
2404
|
-
*/
|
|
2405
|
-
getTokenByHttp4(options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
2406
|
-
return localVarFp.getTokenByHttp4(options).then((request) => request(axios, basePath));
|
|
2407
|
-
},
|
|
2408
|
-
/**
|
|
2409
|
-
*
|
|
2410
|
-
* @param {*} [options] Override http request option.
|
|
2411
|
-
* @throws {RequiredError}
|
|
2412
|
-
*/
|
|
2413
|
-
getTokenByHttp5(options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
2414
|
-
return localVarFp.getTokenByHttp5(options).then((request) => request(axios, basePath));
|
|
2415
|
-
},
|
|
2416
2088
|
/**
|
|
2417
2089
|
*
|
|
2418
2090
|
* @summary 获取用户信息
|
|
@@ -2491,24 +2163,6 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
2491
2163
|
pushMsg(requestParameters: AuthApiPushMsgRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
2492
2164
|
return localVarFp.pushMsg(requestParameters.cid, requestParameters.payload, options).then((request) => request(axios, basePath));
|
|
2493
2165
|
},
|
|
2494
|
-
/**
|
|
2495
|
-
*
|
|
2496
|
-
* @param {AuthApiSendSmsRequest} requestParameters Request parameters.
|
|
2497
|
-
* @param {*} [options] Override http request option.
|
|
2498
|
-
* @throws {RequiredError}
|
|
2499
|
-
*/
|
|
2500
|
-
sendSms(requestParameters: AuthApiSendSmsRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
|
|
2501
|
-
return localVarFp.sendSms(requestParameters.phone, requestParameters.templateCode, options).then((request) => request(axios, basePath));
|
|
2502
|
-
},
|
|
2503
|
-
/**
|
|
2504
|
-
*
|
|
2505
|
-
* @param {AuthApiSendSms1Request} requestParameters Request parameters.
|
|
2506
|
-
* @param {*} [options] Override http request option.
|
|
2507
|
-
* @throws {RequiredError}
|
|
2508
|
-
*/
|
|
2509
|
-
sendSms1(requestParameters: AuthApiSendSms1Request, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
|
|
2510
|
-
return localVarFp.sendSms1(requestParameters.phone, requestParameters.templateCode, options).then((request) => request(axios, basePath));
|
|
2511
|
-
},
|
|
2512
2166
|
/**
|
|
2513
2167
|
*
|
|
2514
2168
|
* @summary 小程序切换园区
|
|
@@ -2863,48 +2517,6 @@ export interface AuthApiPushMsgRequest {
|
|
|
2863
2517
|
readonly payload: string
|
|
2864
2518
|
}
|
|
2865
2519
|
|
|
2866
|
-
/**
|
|
2867
|
-
* Request parameters for sendSms operation in AuthApi.
|
|
2868
|
-
* @export
|
|
2869
|
-
* @interface AuthApiSendSmsRequest
|
|
2870
|
-
*/
|
|
2871
|
-
export interface AuthApiSendSmsRequest {
|
|
2872
|
-
/**
|
|
2873
|
-
*
|
|
2874
|
-
* @type {string}
|
|
2875
|
-
* @memberof AuthApiSendSms
|
|
2876
|
-
*/
|
|
2877
|
-
readonly phone: string
|
|
2878
|
-
|
|
2879
|
-
/**
|
|
2880
|
-
*
|
|
2881
|
-
* @type {string}
|
|
2882
|
-
* @memberof AuthApiSendSms
|
|
2883
|
-
*/
|
|
2884
|
-
readonly templateCode: string
|
|
2885
|
-
}
|
|
2886
|
-
|
|
2887
|
-
/**
|
|
2888
|
-
* Request parameters for sendSms1 operation in AuthApi.
|
|
2889
|
-
* @export
|
|
2890
|
-
* @interface AuthApiSendSms1Request
|
|
2891
|
-
*/
|
|
2892
|
-
export interface AuthApiSendSms1Request {
|
|
2893
|
-
/**
|
|
2894
|
-
*
|
|
2895
|
-
* @type {string}
|
|
2896
|
-
* @memberof AuthApiSendSms1
|
|
2897
|
-
*/
|
|
2898
|
-
readonly phone: string
|
|
2899
|
-
|
|
2900
|
-
/**
|
|
2901
|
-
*
|
|
2902
|
-
* @type {string}
|
|
2903
|
-
* @memberof AuthApiSendSms1
|
|
2904
|
-
*/
|
|
2905
|
-
readonly templateCode: string
|
|
2906
|
-
}
|
|
2907
|
-
|
|
2908
2520
|
/**
|
|
2909
2521
|
* Request parameters for switchPark operation in AuthApi.
|
|
2910
2522
|
* @export
|
|
@@ -3099,26 +2711,6 @@ export class AuthApi extends BaseAPI {
|
|
|
3099
2711
|
return AuthApiFp(this.configuration).fusionGetToken3(options).then((request) => request(this.axios, this.basePath));
|
|
3100
2712
|
}
|
|
3101
2713
|
|
|
3102
|
-
/**
|
|
3103
|
-
*
|
|
3104
|
-
* @param {*} [options] Override http request option.
|
|
3105
|
-
* @throws {RequiredError}
|
|
3106
|
-
* @memberof AuthApi
|
|
3107
|
-
*/
|
|
3108
|
-
public fusionGetToken4(options?: RawAxiosRequestConfig) {
|
|
3109
|
-
return AuthApiFp(this.configuration).fusionGetToken4(options).then((request) => request(this.axios, this.basePath));
|
|
3110
|
-
}
|
|
3111
|
-
|
|
3112
|
-
/**
|
|
3113
|
-
*
|
|
3114
|
-
* @param {*} [options] Override http request option.
|
|
3115
|
-
* @throws {RequiredError}
|
|
3116
|
-
* @memberof AuthApi
|
|
3117
|
-
*/
|
|
3118
|
-
public fusionGetToken5(options?: RawAxiosRequestConfig) {
|
|
3119
|
-
return AuthApiFp(this.configuration).fusionGetToken5(options).then((request) => request(this.axios, this.basePath));
|
|
3120
|
-
}
|
|
3121
|
-
|
|
3122
2714
|
/**
|
|
3123
2715
|
*
|
|
3124
2716
|
* @param {*} [options] Override http request option.
|
|
@@ -3236,26 +2828,6 @@ export class AuthApi extends BaseAPI {
|
|
|
3236
2828
|
return AuthApiFp(this.configuration).getTokenByHttp3(options).then((request) => request(this.axios, this.basePath));
|
|
3237
2829
|
}
|
|
3238
2830
|
|
|
3239
|
-
/**
|
|
3240
|
-
*
|
|
3241
|
-
* @param {*} [options] Override http request option.
|
|
3242
|
-
* @throws {RequiredError}
|
|
3243
|
-
* @memberof AuthApi
|
|
3244
|
-
*/
|
|
3245
|
-
public getTokenByHttp4(options?: RawAxiosRequestConfig) {
|
|
3246
|
-
return AuthApiFp(this.configuration).getTokenByHttp4(options).then((request) => request(this.axios, this.basePath));
|
|
3247
|
-
}
|
|
3248
|
-
|
|
3249
|
-
/**
|
|
3250
|
-
*
|
|
3251
|
-
* @param {*} [options] Override http request option.
|
|
3252
|
-
* @throws {RequiredError}
|
|
3253
|
-
* @memberof AuthApi
|
|
3254
|
-
*/
|
|
3255
|
-
public getTokenByHttp5(options?: RawAxiosRequestConfig) {
|
|
3256
|
-
return AuthApiFp(this.configuration).getTokenByHttp5(options).then((request) => request(this.axios, this.basePath));
|
|
3257
|
-
}
|
|
3258
|
-
|
|
3259
2831
|
/**
|
|
3260
2832
|
*
|
|
3261
2833
|
* @summary 获取用户信息
|
|
@@ -3350,28 +2922,6 @@ export class AuthApi extends BaseAPI {
|
|
|
3350
2922
|
return AuthApiFp(this.configuration).pushMsg(requestParameters.cid, requestParameters.payload, options).then((request) => request(this.axios, this.basePath));
|
|
3351
2923
|
}
|
|
3352
2924
|
|
|
3353
|
-
/**
|
|
3354
|
-
*
|
|
3355
|
-
* @param {AuthApiSendSmsRequest} requestParameters Request parameters.
|
|
3356
|
-
* @param {*} [options] Override http request option.
|
|
3357
|
-
* @throws {RequiredError}
|
|
3358
|
-
* @memberof AuthApi
|
|
3359
|
-
*/
|
|
3360
|
-
public sendSms(requestParameters: AuthApiSendSmsRequest, options?: RawAxiosRequestConfig) {
|
|
3361
|
-
return AuthApiFp(this.configuration).sendSms(requestParameters.phone, requestParameters.templateCode, options).then((request) => request(this.axios, this.basePath));
|
|
3362
|
-
}
|
|
3363
|
-
|
|
3364
|
-
/**
|
|
3365
|
-
*
|
|
3366
|
-
* @param {AuthApiSendSms1Request} requestParameters Request parameters.
|
|
3367
|
-
* @param {*} [options] Override http request option.
|
|
3368
|
-
* @throws {RequiredError}
|
|
3369
|
-
* @memberof AuthApi
|
|
3370
|
-
*/
|
|
3371
|
-
public sendSms1(requestParameters: AuthApiSendSms1Request, options?: RawAxiosRequestConfig) {
|
|
3372
|
-
return AuthApiFp(this.configuration).sendSms1(requestParameters.phone, requestParameters.templateCode, options).then((request) => request(this.axios, this.basePath));
|
|
3373
|
-
}
|
|
3374
|
-
|
|
3375
2925
|
/**
|
|
3376
2926
|
*
|
|
3377
2927
|
* @summary 小程序切换园区
|