@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/dist/apis/auth-api.js
CHANGED
|
@@ -387,60 +387,6 @@ const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
387
387
|
* @throws {RequiredError}
|
|
388
388
|
*/
|
|
389
389
|
fusionGetToken2: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
390
|
-
const localVarPath = `/fusion/sms/getToken`;
|
|
391
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
392
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
393
|
-
let baseOptions;
|
|
394
|
-
if (configuration) {
|
|
395
|
-
baseOptions = configuration.baseOptions;
|
|
396
|
-
}
|
|
397
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
398
|
-
const localVarHeaderParameter = {};
|
|
399
|
-
const localVarQueryParameter = {};
|
|
400
|
-
// authentication tokenScheme required
|
|
401
|
-
// http bearer authentication required
|
|
402
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
403
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
404
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
405
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
406
|
-
return {
|
|
407
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
408
|
-
options: localVarRequestOptions,
|
|
409
|
-
};
|
|
410
|
-
}),
|
|
411
|
-
/**
|
|
412
|
-
*
|
|
413
|
-
* @param {*} [options] Override http request option.
|
|
414
|
-
* @throws {RequiredError}
|
|
415
|
-
*/
|
|
416
|
-
fusionGetToken3: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
417
|
-
const localVarPath = `/fusion/sms/getToken`;
|
|
418
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
419
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
420
|
-
let baseOptions;
|
|
421
|
-
if (configuration) {
|
|
422
|
-
baseOptions = configuration.baseOptions;
|
|
423
|
-
}
|
|
424
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
425
|
-
const localVarHeaderParameter = {};
|
|
426
|
-
const localVarQueryParameter = {};
|
|
427
|
-
// authentication tokenScheme required
|
|
428
|
-
// http bearer authentication required
|
|
429
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
430
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
431
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
432
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
433
|
-
return {
|
|
434
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
435
|
-
options: localVarRequestOptions,
|
|
436
|
-
};
|
|
437
|
-
}),
|
|
438
|
-
/**
|
|
439
|
-
*
|
|
440
|
-
* @param {*} [options] Override http request option.
|
|
441
|
-
* @throws {RequiredError}
|
|
442
|
-
*/
|
|
443
|
-
fusionGetToken4: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
444
390
|
const localVarPath = `/fusion/base/getToken`;
|
|
445
391
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
446
392
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -467,7 +413,7 @@ const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
467
413
|
* @param {*} [options] Override http request option.
|
|
468
414
|
* @throws {RequiredError}
|
|
469
415
|
*/
|
|
470
|
-
|
|
416
|
+
fusionGetToken3: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
471
417
|
const localVarPath = `/fusion/base/getToken`;
|
|
472
418
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
473
419
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -793,60 +739,6 @@ const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
793
739
|
* @throws {RequiredError}
|
|
794
740
|
*/
|
|
795
741
|
getTokenByHttp2: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
796
|
-
const localVarPath = `/fusion/sms/fusionGetTokenByHttp`;
|
|
797
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
798
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
799
|
-
let baseOptions;
|
|
800
|
-
if (configuration) {
|
|
801
|
-
baseOptions = configuration.baseOptions;
|
|
802
|
-
}
|
|
803
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
804
|
-
const localVarHeaderParameter = {};
|
|
805
|
-
const localVarQueryParameter = {};
|
|
806
|
-
// authentication tokenScheme required
|
|
807
|
-
// http bearer authentication required
|
|
808
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
809
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
810
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
811
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
812
|
-
return {
|
|
813
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
814
|
-
options: localVarRequestOptions,
|
|
815
|
-
};
|
|
816
|
-
}),
|
|
817
|
-
/**
|
|
818
|
-
*
|
|
819
|
-
* @param {*} [options] Override http request option.
|
|
820
|
-
* @throws {RequiredError}
|
|
821
|
-
*/
|
|
822
|
-
getTokenByHttp3: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
823
|
-
const localVarPath = `/fusion/sms/fusionGetTokenByHttp`;
|
|
824
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
825
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
826
|
-
let baseOptions;
|
|
827
|
-
if (configuration) {
|
|
828
|
-
baseOptions = configuration.baseOptions;
|
|
829
|
-
}
|
|
830
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
831
|
-
const localVarHeaderParameter = {};
|
|
832
|
-
const localVarQueryParameter = {};
|
|
833
|
-
// authentication tokenScheme required
|
|
834
|
-
// http bearer authentication required
|
|
835
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
836
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
837
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
838
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
839
|
-
return {
|
|
840
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
841
|
-
options: localVarRequestOptions,
|
|
842
|
-
};
|
|
843
|
-
}),
|
|
844
|
-
/**
|
|
845
|
-
*
|
|
846
|
-
* @param {*} [options] Override http request option.
|
|
847
|
-
* @throws {RequiredError}
|
|
848
|
-
*/
|
|
849
|
-
getTokenByHttp4: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
850
742
|
const localVarPath = `/fusion/base/fusionGetTokenByHttp`;
|
|
851
743
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
852
744
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -873,7 +765,7 @@ const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
873
765
|
* @param {*} [options] Override http request option.
|
|
874
766
|
* @throws {RequiredError}
|
|
875
767
|
*/
|
|
876
|
-
|
|
768
|
+
getTokenByHttp3: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
877
769
|
const localVarPath = `/fusion/base/fusionGetTokenByHttp`;
|
|
878
770
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
879
771
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1167,84 +1059,6 @@ const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
1167
1059
|
options: localVarRequestOptions,
|
|
1168
1060
|
};
|
|
1169
1061
|
}),
|
|
1170
|
-
/**
|
|
1171
|
-
*
|
|
1172
|
-
* @param {string} phone
|
|
1173
|
-
* @param {string} templateCode
|
|
1174
|
-
* @param {*} [options] Override http request option.
|
|
1175
|
-
* @throws {RequiredError}
|
|
1176
|
-
*/
|
|
1177
|
-
sendSms: (phone_1, templateCode_1, ...args_1) => __awaiter(this, [phone_1, templateCode_1, ...args_1], void 0, function* (phone, templateCode, options = {}) {
|
|
1178
|
-
// verify required parameter 'phone' is not null or undefined
|
|
1179
|
-
(0, common_1.assertParamExists)('sendSms', 'phone', phone);
|
|
1180
|
-
// verify required parameter 'templateCode' is not null or undefined
|
|
1181
|
-
(0, common_1.assertParamExists)('sendSms', 'templateCode', templateCode);
|
|
1182
|
-
const localVarPath = `/fusion/sms/sendSms`;
|
|
1183
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1184
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1185
|
-
let baseOptions;
|
|
1186
|
-
if (configuration) {
|
|
1187
|
-
baseOptions = configuration.baseOptions;
|
|
1188
|
-
}
|
|
1189
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1190
|
-
const localVarHeaderParameter = {};
|
|
1191
|
-
const localVarQueryParameter = {};
|
|
1192
|
-
// authentication tokenScheme required
|
|
1193
|
-
// http bearer authentication required
|
|
1194
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1195
|
-
if (phone !== undefined) {
|
|
1196
|
-
localVarQueryParameter['phone'] = phone;
|
|
1197
|
-
}
|
|
1198
|
-
if (templateCode !== undefined) {
|
|
1199
|
-
localVarQueryParameter['templateCode'] = templateCode;
|
|
1200
|
-
}
|
|
1201
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1202
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1203
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1204
|
-
return {
|
|
1205
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1206
|
-
options: localVarRequestOptions,
|
|
1207
|
-
};
|
|
1208
|
-
}),
|
|
1209
|
-
/**
|
|
1210
|
-
*
|
|
1211
|
-
* @param {string} phone
|
|
1212
|
-
* @param {string} templateCode
|
|
1213
|
-
* @param {*} [options] Override http request option.
|
|
1214
|
-
* @throws {RequiredError}
|
|
1215
|
-
*/
|
|
1216
|
-
sendSms1: (phone_1, templateCode_1, ...args_1) => __awaiter(this, [phone_1, templateCode_1, ...args_1], void 0, function* (phone, templateCode, options = {}) {
|
|
1217
|
-
// verify required parameter 'phone' is not null or undefined
|
|
1218
|
-
(0, common_1.assertParamExists)('sendSms1', 'phone', phone);
|
|
1219
|
-
// verify required parameter 'templateCode' is not null or undefined
|
|
1220
|
-
(0, common_1.assertParamExists)('sendSms1', 'templateCode', templateCode);
|
|
1221
|
-
const localVarPath = `/fusion/sms/sendSms`;
|
|
1222
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1223
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1224
|
-
let baseOptions;
|
|
1225
|
-
if (configuration) {
|
|
1226
|
-
baseOptions = configuration.baseOptions;
|
|
1227
|
-
}
|
|
1228
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1229
|
-
const localVarHeaderParameter = {};
|
|
1230
|
-
const localVarQueryParameter = {};
|
|
1231
|
-
// authentication tokenScheme required
|
|
1232
|
-
// http bearer authentication required
|
|
1233
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1234
|
-
if (phone !== undefined) {
|
|
1235
|
-
localVarQueryParameter['phone'] = phone;
|
|
1236
|
-
}
|
|
1237
|
-
if (templateCode !== undefined) {
|
|
1238
|
-
localVarQueryParameter['templateCode'] = templateCode;
|
|
1239
|
-
}
|
|
1240
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1241
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1242
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1243
|
-
return {
|
|
1244
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1245
|
-
options: localVarRequestOptions,
|
|
1246
|
-
};
|
|
1247
|
-
}),
|
|
1248
1062
|
/**
|
|
1249
1063
|
*
|
|
1250
1064
|
* @summary 小程序切换园区
|
|
@@ -1551,34 +1365,6 @@ const AuthApiFp = function (configuration) {
|
|
|
1551
1365
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1552
1366
|
});
|
|
1553
1367
|
},
|
|
1554
|
-
/**
|
|
1555
|
-
*
|
|
1556
|
-
* @param {*} [options] Override http request option.
|
|
1557
|
-
* @throws {RequiredError}
|
|
1558
|
-
*/
|
|
1559
|
-
fusionGetToken4(options) {
|
|
1560
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1561
|
-
var _a, _b, _c;
|
|
1562
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.fusionGetToken4(options);
|
|
1563
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1564
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthApi.fusionGetToken4']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1565
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1566
|
-
});
|
|
1567
|
-
},
|
|
1568
|
-
/**
|
|
1569
|
-
*
|
|
1570
|
-
* @param {*} [options] Override http request option.
|
|
1571
|
-
* @throws {RequiredError}
|
|
1572
|
-
*/
|
|
1573
|
-
fusionGetToken5(options) {
|
|
1574
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1575
|
-
var _a, _b, _c;
|
|
1576
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.fusionGetToken5(options);
|
|
1577
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1578
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthApi.fusionGetToken5']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1579
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1580
|
-
});
|
|
1581
|
-
},
|
|
1582
1368
|
/**
|
|
1583
1369
|
*
|
|
1584
1370
|
* @param {*} [options] Override http request option.
|
|
@@ -1745,34 +1531,6 @@ const AuthApiFp = function (configuration) {
|
|
|
1745
1531
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1746
1532
|
});
|
|
1747
1533
|
},
|
|
1748
|
-
/**
|
|
1749
|
-
*
|
|
1750
|
-
* @param {*} [options] Override http request option.
|
|
1751
|
-
* @throws {RequiredError}
|
|
1752
|
-
*/
|
|
1753
|
-
getTokenByHttp4(options) {
|
|
1754
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1755
|
-
var _a, _b, _c;
|
|
1756
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTokenByHttp4(options);
|
|
1757
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1758
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthApi.getTokenByHttp4']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1759
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1760
|
-
});
|
|
1761
|
-
},
|
|
1762
|
-
/**
|
|
1763
|
-
*
|
|
1764
|
-
* @param {*} [options] Override http request option.
|
|
1765
|
-
* @throws {RequiredError}
|
|
1766
|
-
*/
|
|
1767
|
-
getTokenByHttp5(options) {
|
|
1768
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1769
|
-
var _a, _b, _c;
|
|
1770
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTokenByHttp5(options);
|
|
1771
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1772
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthApi.getTokenByHttp5']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1773
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1774
|
-
});
|
|
1775
|
-
},
|
|
1776
1534
|
/**
|
|
1777
1535
|
*
|
|
1778
1536
|
* @summary 获取用户信息
|
|
@@ -1901,38 +1659,6 @@ const AuthApiFp = function (configuration) {
|
|
|
1901
1659
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1902
1660
|
});
|
|
1903
1661
|
},
|
|
1904
|
-
/**
|
|
1905
|
-
*
|
|
1906
|
-
* @param {string} phone
|
|
1907
|
-
* @param {string} templateCode
|
|
1908
|
-
* @param {*} [options] Override http request option.
|
|
1909
|
-
* @throws {RequiredError}
|
|
1910
|
-
*/
|
|
1911
|
-
sendSms(phone, templateCode, options) {
|
|
1912
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1913
|
-
var _a, _b, _c;
|
|
1914
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.sendSms(phone, templateCode, options);
|
|
1915
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1916
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthApi.sendSms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1917
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1918
|
-
});
|
|
1919
|
-
},
|
|
1920
|
-
/**
|
|
1921
|
-
*
|
|
1922
|
-
* @param {string} phone
|
|
1923
|
-
* @param {string} templateCode
|
|
1924
|
-
* @param {*} [options] Override http request option.
|
|
1925
|
-
* @throws {RequiredError}
|
|
1926
|
-
*/
|
|
1927
|
-
sendSms1(phone, templateCode, options) {
|
|
1928
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1929
|
-
var _a, _b, _c;
|
|
1930
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.sendSms1(phone, templateCode, options);
|
|
1931
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1932
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthApi.sendSms1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1933
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1934
|
-
});
|
|
1935
|
-
},
|
|
1936
1662
|
/**
|
|
1937
1663
|
*
|
|
1938
1664
|
* @summary 小程序切换园区
|
|
@@ -2109,22 +1835,6 @@ const AuthApiFactory = function (configuration, basePath, axios) {
|
|
|
2109
1835
|
fusionGetToken3(options) {
|
|
2110
1836
|
return localVarFp.fusionGetToken3(options).then((request) => request(axios, basePath));
|
|
2111
1837
|
},
|
|
2112
|
-
/**
|
|
2113
|
-
*
|
|
2114
|
-
* @param {*} [options] Override http request option.
|
|
2115
|
-
* @throws {RequiredError}
|
|
2116
|
-
*/
|
|
2117
|
-
fusionGetToken4(options) {
|
|
2118
|
-
return localVarFp.fusionGetToken4(options).then((request) => request(axios, basePath));
|
|
2119
|
-
},
|
|
2120
|
-
/**
|
|
2121
|
-
*
|
|
2122
|
-
* @param {*} [options] Override http request option.
|
|
2123
|
-
* @throws {RequiredError}
|
|
2124
|
-
*/
|
|
2125
|
-
fusionGetToken5(options) {
|
|
2126
|
-
return localVarFp.fusionGetToken5(options).then((request) => request(axios, basePath));
|
|
2127
|
-
},
|
|
2128
1838
|
/**
|
|
2129
1839
|
*
|
|
2130
1840
|
* @param {*} [options] Override http request option.
|
|
@@ -2220,22 +1930,6 @@ const AuthApiFactory = function (configuration, basePath, axios) {
|
|
|
2220
1930
|
getTokenByHttp3(options) {
|
|
2221
1931
|
return localVarFp.getTokenByHttp3(options).then((request) => request(axios, basePath));
|
|
2222
1932
|
},
|
|
2223
|
-
/**
|
|
2224
|
-
*
|
|
2225
|
-
* @param {*} [options] Override http request option.
|
|
2226
|
-
* @throws {RequiredError}
|
|
2227
|
-
*/
|
|
2228
|
-
getTokenByHttp4(options) {
|
|
2229
|
-
return localVarFp.getTokenByHttp4(options).then((request) => request(axios, basePath));
|
|
2230
|
-
},
|
|
2231
|
-
/**
|
|
2232
|
-
*
|
|
2233
|
-
* @param {*} [options] Override http request option.
|
|
2234
|
-
* @throws {RequiredError}
|
|
2235
|
-
*/
|
|
2236
|
-
getTokenByHttp5(options) {
|
|
2237
|
-
return localVarFp.getTokenByHttp5(options).then((request) => request(axios, basePath));
|
|
2238
|
-
},
|
|
2239
1933
|
/**
|
|
2240
1934
|
*
|
|
2241
1935
|
* @summary 获取用户信息
|
|
@@ -2314,24 +2008,6 @@ const AuthApiFactory = function (configuration, basePath, axios) {
|
|
|
2314
2008
|
pushMsg(requestParameters, options) {
|
|
2315
2009
|
return localVarFp.pushMsg(requestParameters.cid, requestParameters.payload, options).then((request) => request(axios, basePath));
|
|
2316
2010
|
},
|
|
2317
|
-
/**
|
|
2318
|
-
*
|
|
2319
|
-
* @param {AuthApiSendSmsRequest} requestParameters Request parameters.
|
|
2320
|
-
* @param {*} [options] Override http request option.
|
|
2321
|
-
* @throws {RequiredError}
|
|
2322
|
-
*/
|
|
2323
|
-
sendSms(requestParameters, options) {
|
|
2324
|
-
return localVarFp.sendSms(requestParameters.phone, requestParameters.templateCode, options).then((request) => request(axios, basePath));
|
|
2325
|
-
},
|
|
2326
|
-
/**
|
|
2327
|
-
*
|
|
2328
|
-
* @param {AuthApiSendSms1Request} requestParameters Request parameters.
|
|
2329
|
-
* @param {*} [options] Override http request option.
|
|
2330
|
-
* @throws {RequiredError}
|
|
2331
|
-
*/
|
|
2332
|
-
sendSms1(requestParameters, options) {
|
|
2333
|
-
return localVarFp.sendSms1(requestParameters.phone, requestParameters.templateCode, options).then((request) => request(axios, basePath));
|
|
2334
|
-
},
|
|
2335
2011
|
/**
|
|
2336
2012
|
*
|
|
2337
2013
|
* @summary 小程序切换园区
|
|
@@ -2503,24 +2179,6 @@ class AuthApi extends base_1.BaseAPI {
|
|
|
2503
2179
|
fusionGetToken3(options) {
|
|
2504
2180
|
return (0, exports.AuthApiFp)(this.configuration).fusionGetToken3(options).then((request) => request(this.axios, this.basePath));
|
|
2505
2181
|
}
|
|
2506
|
-
/**
|
|
2507
|
-
*
|
|
2508
|
-
* @param {*} [options] Override http request option.
|
|
2509
|
-
* @throws {RequiredError}
|
|
2510
|
-
* @memberof AuthApi
|
|
2511
|
-
*/
|
|
2512
|
-
fusionGetToken4(options) {
|
|
2513
|
-
return (0, exports.AuthApiFp)(this.configuration).fusionGetToken4(options).then((request) => request(this.axios, this.basePath));
|
|
2514
|
-
}
|
|
2515
|
-
/**
|
|
2516
|
-
*
|
|
2517
|
-
* @param {*} [options] Override http request option.
|
|
2518
|
-
* @throws {RequiredError}
|
|
2519
|
-
* @memberof AuthApi
|
|
2520
|
-
*/
|
|
2521
|
-
fusionGetToken5(options) {
|
|
2522
|
-
return (0, exports.AuthApiFp)(this.configuration).fusionGetToken5(options).then((request) => request(this.axios, this.basePath));
|
|
2523
|
-
}
|
|
2524
2182
|
/**
|
|
2525
2183
|
*
|
|
2526
2184
|
* @param {*} [options] Override http request option.
|
|
@@ -2627,24 +2285,6 @@ class AuthApi extends base_1.BaseAPI {
|
|
|
2627
2285
|
getTokenByHttp3(options) {
|
|
2628
2286
|
return (0, exports.AuthApiFp)(this.configuration).getTokenByHttp3(options).then((request) => request(this.axios, this.basePath));
|
|
2629
2287
|
}
|
|
2630
|
-
/**
|
|
2631
|
-
*
|
|
2632
|
-
* @param {*} [options] Override http request option.
|
|
2633
|
-
* @throws {RequiredError}
|
|
2634
|
-
* @memberof AuthApi
|
|
2635
|
-
*/
|
|
2636
|
-
getTokenByHttp4(options) {
|
|
2637
|
-
return (0, exports.AuthApiFp)(this.configuration).getTokenByHttp4(options).then((request) => request(this.axios, this.basePath));
|
|
2638
|
-
}
|
|
2639
|
-
/**
|
|
2640
|
-
*
|
|
2641
|
-
* @param {*} [options] Override http request option.
|
|
2642
|
-
* @throws {RequiredError}
|
|
2643
|
-
* @memberof AuthApi
|
|
2644
|
-
*/
|
|
2645
|
-
getTokenByHttp5(options) {
|
|
2646
|
-
return (0, exports.AuthApiFp)(this.configuration).getTokenByHttp5(options).then((request) => request(this.axios, this.basePath));
|
|
2647
|
-
}
|
|
2648
2288
|
/**
|
|
2649
2289
|
*
|
|
2650
2290
|
* @summary 获取用户信息
|
|
@@ -2731,26 +2371,6 @@ class AuthApi extends base_1.BaseAPI {
|
|
|
2731
2371
|
pushMsg(requestParameters, options) {
|
|
2732
2372
|
return (0, exports.AuthApiFp)(this.configuration).pushMsg(requestParameters.cid, requestParameters.payload, options).then((request) => request(this.axios, this.basePath));
|
|
2733
2373
|
}
|
|
2734
|
-
/**
|
|
2735
|
-
*
|
|
2736
|
-
* @param {AuthApiSendSmsRequest} requestParameters Request parameters.
|
|
2737
|
-
* @param {*} [options] Override http request option.
|
|
2738
|
-
* @throws {RequiredError}
|
|
2739
|
-
* @memberof AuthApi
|
|
2740
|
-
*/
|
|
2741
|
-
sendSms(requestParameters, options) {
|
|
2742
|
-
return (0, exports.AuthApiFp)(this.configuration).sendSms(requestParameters.phone, requestParameters.templateCode, options).then((request) => request(this.axios, this.basePath));
|
|
2743
|
-
}
|
|
2744
|
-
/**
|
|
2745
|
-
*
|
|
2746
|
-
* @param {AuthApiSendSms1Request} requestParameters Request parameters.
|
|
2747
|
-
* @param {*} [options] Override http request option.
|
|
2748
|
-
* @throws {RequiredError}
|
|
2749
|
-
* @memberof AuthApi
|
|
2750
|
-
*/
|
|
2751
|
-
sendSms1(requestParameters, options) {
|
|
2752
|
-
return (0, exports.AuthApiFp)(this.configuration).sendSms1(requestParameters.phone, requestParameters.templateCode, options).then((request) => request(this.axios, this.basePath));
|
|
2753
|
-
}
|
|
2754
2374
|
/**
|
|
2755
2375
|
*
|
|
2756
2376
|
* @summary 小程序切换园区
|