@gizone/rrs-client 4.2.0-alpha.275 → 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/apis/auth-api.ts +2 -452
- package/apis/smsapi.ts +0 -555
- 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/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/models/get-user-wx200-response.d.ts +18 -18
- package/dist/models/get-user-wx200-response.d.ts +18 -18
- package/models/get-user-wx200-response.ts +18 -18
- package/package.json +1 -1
|
@@ -384,60 +384,6 @@ export const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
384
384
|
* @throws {RequiredError}
|
|
385
385
|
*/
|
|
386
386
|
fusionGetToken2: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
387
|
-
const localVarPath = `/fusion/sms/getToken`;
|
|
388
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
389
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
390
|
-
let baseOptions;
|
|
391
|
-
if (configuration) {
|
|
392
|
-
baseOptions = configuration.baseOptions;
|
|
393
|
-
}
|
|
394
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
395
|
-
const localVarHeaderParameter = {};
|
|
396
|
-
const localVarQueryParameter = {};
|
|
397
|
-
// authentication tokenScheme required
|
|
398
|
-
// http bearer authentication required
|
|
399
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
400
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
401
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
402
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
403
|
-
return {
|
|
404
|
-
url: toPathString(localVarUrlObj),
|
|
405
|
-
options: localVarRequestOptions,
|
|
406
|
-
};
|
|
407
|
-
}),
|
|
408
|
-
/**
|
|
409
|
-
*
|
|
410
|
-
* @param {*} [options] Override http request option.
|
|
411
|
-
* @throws {RequiredError}
|
|
412
|
-
*/
|
|
413
|
-
fusionGetToken3: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
414
|
-
const localVarPath = `/fusion/sms/getToken`;
|
|
415
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
416
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
417
|
-
let baseOptions;
|
|
418
|
-
if (configuration) {
|
|
419
|
-
baseOptions = configuration.baseOptions;
|
|
420
|
-
}
|
|
421
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
422
|
-
const localVarHeaderParameter = {};
|
|
423
|
-
const localVarQueryParameter = {};
|
|
424
|
-
// authentication tokenScheme required
|
|
425
|
-
// http bearer authentication required
|
|
426
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
427
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
428
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
429
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
430
|
-
return {
|
|
431
|
-
url: toPathString(localVarUrlObj),
|
|
432
|
-
options: localVarRequestOptions,
|
|
433
|
-
};
|
|
434
|
-
}),
|
|
435
|
-
/**
|
|
436
|
-
*
|
|
437
|
-
* @param {*} [options] Override http request option.
|
|
438
|
-
* @throws {RequiredError}
|
|
439
|
-
*/
|
|
440
|
-
fusionGetToken4: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
441
387
|
const localVarPath = `/fusion/base/getToken`;
|
|
442
388
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
443
389
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -464,7 +410,7 @@ export const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
464
410
|
* @param {*} [options] Override http request option.
|
|
465
411
|
* @throws {RequiredError}
|
|
466
412
|
*/
|
|
467
|
-
|
|
413
|
+
fusionGetToken3: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
468
414
|
const localVarPath = `/fusion/base/getToken`;
|
|
469
415
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
470
416
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -790,60 +736,6 @@ export const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
790
736
|
* @throws {RequiredError}
|
|
791
737
|
*/
|
|
792
738
|
getTokenByHttp2: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
793
|
-
const localVarPath = `/fusion/sms/fusionGetTokenByHttp`;
|
|
794
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
795
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
796
|
-
let baseOptions;
|
|
797
|
-
if (configuration) {
|
|
798
|
-
baseOptions = configuration.baseOptions;
|
|
799
|
-
}
|
|
800
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
801
|
-
const localVarHeaderParameter = {};
|
|
802
|
-
const localVarQueryParameter = {};
|
|
803
|
-
// authentication tokenScheme required
|
|
804
|
-
// http bearer authentication required
|
|
805
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
806
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
807
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
808
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
809
|
-
return {
|
|
810
|
-
url: toPathString(localVarUrlObj),
|
|
811
|
-
options: localVarRequestOptions,
|
|
812
|
-
};
|
|
813
|
-
}),
|
|
814
|
-
/**
|
|
815
|
-
*
|
|
816
|
-
* @param {*} [options] Override http request option.
|
|
817
|
-
* @throws {RequiredError}
|
|
818
|
-
*/
|
|
819
|
-
getTokenByHttp3: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
820
|
-
const localVarPath = `/fusion/sms/fusionGetTokenByHttp`;
|
|
821
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
822
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
823
|
-
let baseOptions;
|
|
824
|
-
if (configuration) {
|
|
825
|
-
baseOptions = configuration.baseOptions;
|
|
826
|
-
}
|
|
827
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
828
|
-
const localVarHeaderParameter = {};
|
|
829
|
-
const localVarQueryParameter = {};
|
|
830
|
-
// authentication tokenScheme required
|
|
831
|
-
// http bearer authentication required
|
|
832
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
833
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
834
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
835
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
836
|
-
return {
|
|
837
|
-
url: toPathString(localVarUrlObj),
|
|
838
|
-
options: localVarRequestOptions,
|
|
839
|
-
};
|
|
840
|
-
}),
|
|
841
|
-
/**
|
|
842
|
-
*
|
|
843
|
-
* @param {*} [options] Override http request option.
|
|
844
|
-
* @throws {RequiredError}
|
|
845
|
-
*/
|
|
846
|
-
getTokenByHttp4: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
847
739
|
const localVarPath = `/fusion/base/fusionGetTokenByHttp`;
|
|
848
740
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
849
741
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -870,7 +762,7 @@ export const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
870
762
|
* @param {*} [options] Override http request option.
|
|
871
763
|
* @throws {RequiredError}
|
|
872
764
|
*/
|
|
873
|
-
|
|
765
|
+
getTokenByHttp3: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
874
766
|
const localVarPath = `/fusion/base/fusionGetTokenByHttp`;
|
|
875
767
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
876
768
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1164,84 +1056,6 @@ export const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
1164
1056
|
options: localVarRequestOptions,
|
|
1165
1057
|
};
|
|
1166
1058
|
}),
|
|
1167
|
-
/**
|
|
1168
|
-
*
|
|
1169
|
-
* @param {string} phone
|
|
1170
|
-
* @param {string} templateCode
|
|
1171
|
-
* @param {*} [options] Override http request option.
|
|
1172
|
-
* @throws {RequiredError}
|
|
1173
|
-
*/
|
|
1174
|
-
sendSms: (phone_1, templateCode_1, ...args_1) => __awaiter(this, [phone_1, templateCode_1, ...args_1], void 0, function* (phone, templateCode, options = {}) {
|
|
1175
|
-
// verify required parameter 'phone' is not null or undefined
|
|
1176
|
-
assertParamExists('sendSms', 'phone', phone);
|
|
1177
|
-
// verify required parameter 'templateCode' is not null or undefined
|
|
1178
|
-
assertParamExists('sendSms', 'templateCode', templateCode);
|
|
1179
|
-
const localVarPath = `/fusion/sms/sendSms`;
|
|
1180
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1181
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1182
|
-
let baseOptions;
|
|
1183
|
-
if (configuration) {
|
|
1184
|
-
baseOptions = configuration.baseOptions;
|
|
1185
|
-
}
|
|
1186
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1187
|
-
const localVarHeaderParameter = {};
|
|
1188
|
-
const localVarQueryParameter = {};
|
|
1189
|
-
// authentication tokenScheme required
|
|
1190
|
-
// http bearer authentication required
|
|
1191
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1192
|
-
if (phone !== undefined) {
|
|
1193
|
-
localVarQueryParameter['phone'] = phone;
|
|
1194
|
-
}
|
|
1195
|
-
if (templateCode !== undefined) {
|
|
1196
|
-
localVarQueryParameter['templateCode'] = templateCode;
|
|
1197
|
-
}
|
|
1198
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1199
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1200
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1201
|
-
return {
|
|
1202
|
-
url: toPathString(localVarUrlObj),
|
|
1203
|
-
options: localVarRequestOptions,
|
|
1204
|
-
};
|
|
1205
|
-
}),
|
|
1206
|
-
/**
|
|
1207
|
-
*
|
|
1208
|
-
* @param {string} phone
|
|
1209
|
-
* @param {string} templateCode
|
|
1210
|
-
* @param {*} [options] Override http request option.
|
|
1211
|
-
* @throws {RequiredError}
|
|
1212
|
-
*/
|
|
1213
|
-
sendSms1: (phone_1, templateCode_1, ...args_1) => __awaiter(this, [phone_1, templateCode_1, ...args_1], void 0, function* (phone, templateCode, options = {}) {
|
|
1214
|
-
// verify required parameter 'phone' is not null or undefined
|
|
1215
|
-
assertParamExists('sendSms1', 'phone', phone);
|
|
1216
|
-
// verify required parameter 'templateCode' is not null or undefined
|
|
1217
|
-
assertParamExists('sendSms1', 'templateCode', templateCode);
|
|
1218
|
-
const localVarPath = `/fusion/sms/sendSms`;
|
|
1219
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1220
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1221
|
-
let baseOptions;
|
|
1222
|
-
if (configuration) {
|
|
1223
|
-
baseOptions = configuration.baseOptions;
|
|
1224
|
-
}
|
|
1225
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1226
|
-
const localVarHeaderParameter = {};
|
|
1227
|
-
const localVarQueryParameter = {};
|
|
1228
|
-
// authentication tokenScheme required
|
|
1229
|
-
// http bearer authentication required
|
|
1230
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1231
|
-
if (phone !== undefined) {
|
|
1232
|
-
localVarQueryParameter['phone'] = phone;
|
|
1233
|
-
}
|
|
1234
|
-
if (templateCode !== undefined) {
|
|
1235
|
-
localVarQueryParameter['templateCode'] = templateCode;
|
|
1236
|
-
}
|
|
1237
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1238
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1239
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1240
|
-
return {
|
|
1241
|
-
url: toPathString(localVarUrlObj),
|
|
1242
|
-
options: localVarRequestOptions,
|
|
1243
|
-
};
|
|
1244
|
-
}),
|
|
1245
1059
|
/**
|
|
1246
1060
|
*
|
|
1247
1061
|
* @summary 小程序切换园区
|
|
@@ -1547,34 +1361,6 @@ export const AuthApiFp = function (configuration) {
|
|
|
1547
1361
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1548
1362
|
});
|
|
1549
1363
|
},
|
|
1550
|
-
/**
|
|
1551
|
-
*
|
|
1552
|
-
* @param {*} [options] Override http request option.
|
|
1553
|
-
* @throws {RequiredError}
|
|
1554
|
-
*/
|
|
1555
|
-
fusionGetToken4(options) {
|
|
1556
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1557
|
-
var _a, _b, _c;
|
|
1558
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.fusionGetToken4(options);
|
|
1559
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1560
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AuthApi.fusionGetToken4']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1561
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1562
|
-
});
|
|
1563
|
-
},
|
|
1564
|
-
/**
|
|
1565
|
-
*
|
|
1566
|
-
* @param {*} [options] Override http request option.
|
|
1567
|
-
* @throws {RequiredError}
|
|
1568
|
-
*/
|
|
1569
|
-
fusionGetToken5(options) {
|
|
1570
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1571
|
-
var _a, _b, _c;
|
|
1572
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.fusionGetToken5(options);
|
|
1573
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1574
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AuthApi.fusionGetToken5']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1575
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1576
|
-
});
|
|
1577
|
-
},
|
|
1578
1364
|
/**
|
|
1579
1365
|
*
|
|
1580
1366
|
* @param {*} [options] Override http request option.
|
|
@@ -1741,34 +1527,6 @@ export const AuthApiFp = function (configuration) {
|
|
|
1741
1527
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1742
1528
|
});
|
|
1743
1529
|
},
|
|
1744
|
-
/**
|
|
1745
|
-
*
|
|
1746
|
-
* @param {*} [options] Override http request option.
|
|
1747
|
-
* @throws {RequiredError}
|
|
1748
|
-
*/
|
|
1749
|
-
getTokenByHttp4(options) {
|
|
1750
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1751
|
-
var _a, _b, _c;
|
|
1752
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTokenByHttp4(options);
|
|
1753
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1754
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AuthApi.getTokenByHttp4']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1755
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1756
|
-
});
|
|
1757
|
-
},
|
|
1758
|
-
/**
|
|
1759
|
-
*
|
|
1760
|
-
* @param {*} [options] Override http request option.
|
|
1761
|
-
* @throws {RequiredError}
|
|
1762
|
-
*/
|
|
1763
|
-
getTokenByHttp5(options) {
|
|
1764
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1765
|
-
var _a, _b, _c;
|
|
1766
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTokenByHttp5(options);
|
|
1767
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1768
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AuthApi.getTokenByHttp5']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1769
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1770
|
-
});
|
|
1771
|
-
},
|
|
1772
1530
|
/**
|
|
1773
1531
|
*
|
|
1774
1532
|
* @summary 获取用户信息
|
|
@@ -1897,38 +1655,6 @@ export const AuthApiFp = function (configuration) {
|
|
|
1897
1655
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1898
1656
|
});
|
|
1899
1657
|
},
|
|
1900
|
-
/**
|
|
1901
|
-
*
|
|
1902
|
-
* @param {string} phone
|
|
1903
|
-
* @param {string} templateCode
|
|
1904
|
-
* @param {*} [options] Override http request option.
|
|
1905
|
-
* @throws {RequiredError}
|
|
1906
|
-
*/
|
|
1907
|
-
sendSms(phone, templateCode, options) {
|
|
1908
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1909
|
-
var _a, _b, _c;
|
|
1910
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.sendSms(phone, templateCode, options);
|
|
1911
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1912
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AuthApi.sendSms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1913
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1914
|
-
});
|
|
1915
|
-
},
|
|
1916
|
-
/**
|
|
1917
|
-
*
|
|
1918
|
-
* @param {string} phone
|
|
1919
|
-
* @param {string} templateCode
|
|
1920
|
-
* @param {*} [options] Override http request option.
|
|
1921
|
-
* @throws {RequiredError}
|
|
1922
|
-
*/
|
|
1923
|
-
sendSms1(phone, templateCode, options) {
|
|
1924
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1925
|
-
var _a, _b, _c;
|
|
1926
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.sendSms1(phone, templateCode, options);
|
|
1927
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1928
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AuthApi.sendSms1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1929
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1930
|
-
});
|
|
1931
|
-
},
|
|
1932
1658
|
/**
|
|
1933
1659
|
*
|
|
1934
1660
|
* @summary 小程序切换园区
|
|
@@ -2104,22 +1830,6 @@ export const AuthApiFactory = function (configuration, basePath, axios) {
|
|
|
2104
1830
|
fusionGetToken3(options) {
|
|
2105
1831
|
return localVarFp.fusionGetToken3(options).then((request) => request(axios, basePath));
|
|
2106
1832
|
},
|
|
2107
|
-
/**
|
|
2108
|
-
*
|
|
2109
|
-
* @param {*} [options] Override http request option.
|
|
2110
|
-
* @throws {RequiredError}
|
|
2111
|
-
*/
|
|
2112
|
-
fusionGetToken4(options) {
|
|
2113
|
-
return localVarFp.fusionGetToken4(options).then((request) => request(axios, basePath));
|
|
2114
|
-
},
|
|
2115
|
-
/**
|
|
2116
|
-
*
|
|
2117
|
-
* @param {*} [options] Override http request option.
|
|
2118
|
-
* @throws {RequiredError}
|
|
2119
|
-
*/
|
|
2120
|
-
fusionGetToken5(options) {
|
|
2121
|
-
return localVarFp.fusionGetToken5(options).then((request) => request(axios, basePath));
|
|
2122
|
-
},
|
|
2123
1833
|
/**
|
|
2124
1834
|
*
|
|
2125
1835
|
* @param {*} [options] Override http request option.
|
|
@@ -2215,22 +1925,6 @@ export const AuthApiFactory = function (configuration, basePath, axios) {
|
|
|
2215
1925
|
getTokenByHttp3(options) {
|
|
2216
1926
|
return localVarFp.getTokenByHttp3(options).then((request) => request(axios, basePath));
|
|
2217
1927
|
},
|
|
2218
|
-
/**
|
|
2219
|
-
*
|
|
2220
|
-
* @param {*} [options] Override http request option.
|
|
2221
|
-
* @throws {RequiredError}
|
|
2222
|
-
*/
|
|
2223
|
-
getTokenByHttp4(options) {
|
|
2224
|
-
return localVarFp.getTokenByHttp4(options).then((request) => request(axios, basePath));
|
|
2225
|
-
},
|
|
2226
|
-
/**
|
|
2227
|
-
*
|
|
2228
|
-
* @param {*} [options] Override http request option.
|
|
2229
|
-
* @throws {RequiredError}
|
|
2230
|
-
*/
|
|
2231
|
-
getTokenByHttp5(options) {
|
|
2232
|
-
return localVarFp.getTokenByHttp5(options).then((request) => request(axios, basePath));
|
|
2233
|
-
},
|
|
2234
1928
|
/**
|
|
2235
1929
|
*
|
|
2236
1930
|
* @summary 获取用户信息
|
|
@@ -2309,24 +2003,6 @@ export const AuthApiFactory = function (configuration, basePath, axios) {
|
|
|
2309
2003
|
pushMsg(requestParameters, options) {
|
|
2310
2004
|
return localVarFp.pushMsg(requestParameters.cid, requestParameters.payload, options).then((request) => request(axios, basePath));
|
|
2311
2005
|
},
|
|
2312
|
-
/**
|
|
2313
|
-
*
|
|
2314
|
-
* @param {AuthApiSendSmsRequest} requestParameters Request parameters.
|
|
2315
|
-
* @param {*} [options] Override http request option.
|
|
2316
|
-
* @throws {RequiredError}
|
|
2317
|
-
*/
|
|
2318
|
-
sendSms(requestParameters, options) {
|
|
2319
|
-
return localVarFp.sendSms(requestParameters.phone, requestParameters.templateCode, options).then((request) => request(axios, basePath));
|
|
2320
|
-
},
|
|
2321
|
-
/**
|
|
2322
|
-
*
|
|
2323
|
-
* @param {AuthApiSendSms1Request} requestParameters Request parameters.
|
|
2324
|
-
* @param {*} [options] Override http request option.
|
|
2325
|
-
* @throws {RequiredError}
|
|
2326
|
-
*/
|
|
2327
|
-
sendSms1(requestParameters, options) {
|
|
2328
|
-
return localVarFp.sendSms1(requestParameters.phone, requestParameters.templateCode, options).then((request) => request(axios, basePath));
|
|
2329
|
-
},
|
|
2330
2006
|
/**
|
|
2331
2007
|
*
|
|
2332
2008
|
* @summary 小程序切换园区
|
|
@@ -2497,24 +2173,6 @@ export class AuthApi extends BaseAPI {
|
|
|
2497
2173
|
fusionGetToken3(options) {
|
|
2498
2174
|
return AuthApiFp(this.configuration).fusionGetToken3(options).then((request) => request(this.axios, this.basePath));
|
|
2499
2175
|
}
|
|
2500
|
-
/**
|
|
2501
|
-
*
|
|
2502
|
-
* @param {*} [options] Override http request option.
|
|
2503
|
-
* @throws {RequiredError}
|
|
2504
|
-
* @memberof AuthApi
|
|
2505
|
-
*/
|
|
2506
|
-
fusionGetToken4(options) {
|
|
2507
|
-
return AuthApiFp(this.configuration).fusionGetToken4(options).then((request) => request(this.axios, this.basePath));
|
|
2508
|
-
}
|
|
2509
|
-
/**
|
|
2510
|
-
*
|
|
2511
|
-
* @param {*} [options] Override http request option.
|
|
2512
|
-
* @throws {RequiredError}
|
|
2513
|
-
* @memberof AuthApi
|
|
2514
|
-
*/
|
|
2515
|
-
fusionGetToken5(options) {
|
|
2516
|
-
return AuthApiFp(this.configuration).fusionGetToken5(options).then((request) => request(this.axios, this.basePath));
|
|
2517
|
-
}
|
|
2518
2176
|
/**
|
|
2519
2177
|
*
|
|
2520
2178
|
* @param {*} [options] Override http request option.
|
|
@@ -2621,24 +2279,6 @@ export class AuthApi extends BaseAPI {
|
|
|
2621
2279
|
getTokenByHttp3(options) {
|
|
2622
2280
|
return AuthApiFp(this.configuration).getTokenByHttp3(options).then((request) => request(this.axios, this.basePath));
|
|
2623
2281
|
}
|
|
2624
|
-
/**
|
|
2625
|
-
*
|
|
2626
|
-
* @param {*} [options] Override http request option.
|
|
2627
|
-
* @throws {RequiredError}
|
|
2628
|
-
* @memberof AuthApi
|
|
2629
|
-
*/
|
|
2630
|
-
getTokenByHttp4(options) {
|
|
2631
|
-
return AuthApiFp(this.configuration).getTokenByHttp4(options).then((request) => request(this.axios, this.basePath));
|
|
2632
|
-
}
|
|
2633
|
-
/**
|
|
2634
|
-
*
|
|
2635
|
-
* @param {*} [options] Override http request option.
|
|
2636
|
-
* @throws {RequiredError}
|
|
2637
|
-
* @memberof AuthApi
|
|
2638
|
-
*/
|
|
2639
|
-
getTokenByHttp5(options) {
|
|
2640
|
-
return AuthApiFp(this.configuration).getTokenByHttp5(options).then((request) => request(this.axios, this.basePath));
|
|
2641
|
-
}
|
|
2642
2282
|
/**
|
|
2643
2283
|
*
|
|
2644
2284
|
* @summary 获取用户信息
|
|
@@ -2725,26 +2365,6 @@ export class AuthApi extends BaseAPI {
|
|
|
2725
2365
|
pushMsg(requestParameters, options) {
|
|
2726
2366
|
return AuthApiFp(this.configuration).pushMsg(requestParameters.cid, requestParameters.payload, options).then((request) => request(this.axios, this.basePath));
|
|
2727
2367
|
}
|
|
2728
|
-
/**
|
|
2729
|
-
*
|
|
2730
|
-
* @param {AuthApiSendSmsRequest} requestParameters Request parameters.
|
|
2731
|
-
* @param {*} [options] Override http request option.
|
|
2732
|
-
* @throws {RequiredError}
|
|
2733
|
-
* @memberof AuthApi
|
|
2734
|
-
*/
|
|
2735
|
-
sendSms(requestParameters, options) {
|
|
2736
|
-
return AuthApiFp(this.configuration).sendSms(requestParameters.phone, requestParameters.templateCode, options).then((request) => request(this.axios, this.basePath));
|
|
2737
|
-
}
|
|
2738
|
-
/**
|
|
2739
|
-
*
|
|
2740
|
-
* @param {AuthApiSendSms1Request} requestParameters Request parameters.
|
|
2741
|
-
* @param {*} [options] Override http request option.
|
|
2742
|
-
* @throws {RequiredError}
|
|
2743
|
-
* @memberof AuthApi
|
|
2744
|
-
*/
|
|
2745
|
-
sendSms1(requestParameters, options) {
|
|
2746
|
-
return AuthApiFp(this.configuration).sendSms1(requestParameters.phone, requestParameters.templateCode, options).then((request) => request(this.axios, this.basePath));
|
|
2747
|
-
}
|
|
2748
2368
|
/**
|
|
2749
2369
|
*
|
|
2750
2370
|
* @summary 小程序切换园区
|