@gizone/rrs-client 4.2.0-alpha.276 → 4.2.0-alpha.277
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 +1 -0
- package/apis/smsapi.ts +23 -6
- package/dist/apis/smsapi.d.ts +11 -2
- package/dist/apis/smsapi.js +13 -6
- package/dist/esm/apis/smsapi.d.ts +11 -2
- package/dist/esm/apis/smsapi.js +13 -6
- package/dist/esm/models/get-user-wx200-response.d.ts +10 -10
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/user-sms-captcha-enum.d.ts +21 -0
- package/dist/esm/models/user-sms-captcha-enum.js +22 -0
- package/dist/models/get-user-wx200-response.d.ts +10 -10
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/user-sms-captcha-enum.d.ts +21 -0
- package/dist/models/user-sms-captcha-enum.js +25 -0
- package/models/get-user-wx200-response.ts +10 -10
- package/models/index.ts +1 -0
- package/models/user-sms-captcha-enum.ts +31 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -940,6 +940,7 @@ models/user-excel-dto.ts
|
|
|
940
940
|
models/user-roles-and-permissions-dto.ts
|
|
941
941
|
models/user-settings-entity.ts
|
|
942
942
|
models/user-settings-update-bo.ts
|
|
943
|
+
models/user-sms-captcha-enum.ts
|
|
943
944
|
models/user-whether-privacy-dto.ts
|
|
944
945
|
models/user-white-del-dto.ts
|
|
945
946
|
models/vehicle-payment-bo.ts
|
package/apis/smsapi.ts
CHANGED
|
@@ -23,6 +23,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
import type { JsonResult } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { UserSmsCaptchaEnum } from '../models';
|
|
26
28
|
/**
|
|
27
29
|
* SMSApi - axios parameter creator
|
|
28
30
|
* @export
|
|
@@ -33,13 +35,16 @@ export const SMSApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
33
35
|
*
|
|
34
36
|
* @summary 发送验证码
|
|
35
37
|
* @param {string} phone
|
|
38
|
+
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
36
39
|
* @param {*} [options] Override http request option.
|
|
37
40
|
* @throws {RequiredError}
|
|
38
41
|
*/
|
|
39
|
-
sms: async (phone: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42
|
+
sms: async (phone: string, userSmsCaptcha: UserSmsCaptchaEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40
43
|
// verify required parameter 'phone' is not null or undefined
|
|
41
44
|
assertParamExists('sms', 'phone', phone)
|
|
42
|
-
|
|
45
|
+
// verify required parameter 'userSmsCaptcha' is not null or undefined
|
|
46
|
+
assertParamExists('sms', 'userSmsCaptcha', userSmsCaptcha)
|
|
47
|
+
const localVarPath = `/gizone/sms/captcha`;
|
|
43
48
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44
49
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45
50
|
let baseOptions;
|
|
@@ -59,6 +64,10 @@ export const SMSApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
59
64
|
localVarQueryParameter['phone'] = phone;
|
|
60
65
|
}
|
|
61
66
|
|
|
67
|
+
if (userSmsCaptcha !== undefined) {
|
|
68
|
+
localVarQueryParameter['userSmsCaptcha'] = userSmsCaptcha;
|
|
69
|
+
}
|
|
70
|
+
|
|
62
71
|
|
|
63
72
|
|
|
64
73
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -84,11 +93,12 @@ export const SMSApiFp = function(configuration?: Configuration) {
|
|
|
84
93
|
*
|
|
85
94
|
* @summary 发送验证码
|
|
86
95
|
* @param {string} phone
|
|
96
|
+
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
87
97
|
* @param {*} [options] Override http request option.
|
|
88
98
|
* @throws {RequiredError}
|
|
89
99
|
*/
|
|
90
|
-
async sms(phone: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
91
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.sms(phone, options);
|
|
100
|
+
async sms(phone: string, userSmsCaptcha: UserSmsCaptchaEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
101
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sms(phone, userSmsCaptcha, options);
|
|
92
102
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
93
103
|
const localVarOperationServerBasePath = operationServerMap['SMSApi.sms']?.[localVarOperationServerIndex]?.url;
|
|
94
104
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -111,7 +121,7 @@ export const SMSApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
111
121
|
* @throws {RequiredError}
|
|
112
122
|
*/
|
|
113
123
|
sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
114
|
-
return localVarFp.sms(requestParameters.phone, options).then((request) => request(axios, basePath));
|
|
124
|
+
return localVarFp.sms(requestParameters.phone, requestParameters.userSmsCaptcha, options).then((request) => request(axios, basePath));
|
|
115
125
|
},
|
|
116
126
|
};
|
|
117
127
|
};
|
|
@@ -128,6 +138,13 @@ export interface SMSApiSmsRequest {
|
|
|
128
138
|
* @memberof SMSApiSms
|
|
129
139
|
*/
|
|
130
140
|
readonly phone: string
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {UserSmsCaptchaEnum}
|
|
145
|
+
* @memberof SMSApiSms
|
|
146
|
+
*/
|
|
147
|
+
readonly userSmsCaptcha: UserSmsCaptchaEnum
|
|
131
148
|
}
|
|
132
149
|
|
|
133
150
|
/**
|
|
@@ -146,7 +163,7 @@ export class SMSApi extends BaseAPI {
|
|
|
146
163
|
* @memberof SMSApi
|
|
147
164
|
*/
|
|
148
165
|
public sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig) {
|
|
149
|
-
return SMSApiFp(this.configuration).sms(requestParameters.phone, options).then((request) => request(this.axios, this.basePath));
|
|
166
|
+
return SMSApiFp(this.configuration).sms(requestParameters.phone, requestParameters.userSmsCaptcha, options).then((request) => request(this.axios, this.basePath));
|
|
150
167
|
}
|
|
151
168
|
}
|
|
152
169
|
|
package/dist/apis/smsapi.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { JsonResult } from '../models';
|
|
16
|
+
import type { UserSmsCaptchaEnum } from '../models';
|
|
16
17
|
/**
|
|
17
18
|
* SMSApi - axios parameter creator
|
|
18
19
|
* @export
|
|
@@ -22,10 +23,11 @@ export declare const SMSApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
22
23
|
*
|
|
23
24
|
* @summary 发送验证码
|
|
24
25
|
* @param {string} phone
|
|
26
|
+
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
25
27
|
* @param {*} [options] Override http request option.
|
|
26
28
|
* @throws {RequiredError}
|
|
27
29
|
*/
|
|
28
|
-
sms: (phone: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
|
+
sms: (phone: string, userSmsCaptcha: UserSmsCaptchaEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
31
|
};
|
|
30
32
|
/**
|
|
31
33
|
* SMSApi - functional programming interface
|
|
@@ -36,10 +38,11 @@ export declare const SMSApiFp: (configuration?: Configuration) => {
|
|
|
36
38
|
*
|
|
37
39
|
* @summary 发送验证码
|
|
38
40
|
* @param {string} phone
|
|
41
|
+
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
39
42
|
* @param {*} [options] Override http request option.
|
|
40
43
|
* @throws {RequiredError}
|
|
41
44
|
*/
|
|
42
|
-
sms(phone: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
45
|
+
sms(phone: string, userSmsCaptcha: UserSmsCaptchaEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
43
46
|
};
|
|
44
47
|
/**
|
|
45
48
|
* SMSApi - factory interface
|
|
@@ -67,6 +70,12 @@ export interface SMSApiSmsRequest {
|
|
|
67
70
|
* @memberof SMSApiSms
|
|
68
71
|
*/
|
|
69
72
|
readonly phone: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {UserSmsCaptchaEnum}
|
|
76
|
+
* @memberof SMSApiSms
|
|
77
|
+
*/
|
|
78
|
+
readonly userSmsCaptcha: UserSmsCaptchaEnum;
|
|
70
79
|
}
|
|
71
80
|
/**
|
|
72
81
|
* SMSApi - object-oriented interface
|
package/dist/apis/smsapi.js
CHANGED
|
@@ -39,13 +39,16 @@ const SMSApiAxiosParamCreator = function (configuration) {
|
|
|
39
39
|
*
|
|
40
40
|
* @summary 发送验证码
|
|
41
41
|
* @param {string} phone
|
|
42
|
+
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
42
43
|
* @param {*} [options] Override http request option.
|
|
43
44
|
* @throws {RequiredError}
|
|
44
45
|
*/
|
|
45
|
-
sms: (phone_1, ...args_1) => __awaiter(this, [phone_1, ...args_1], void 0, function* (phone, options = {}) {
|
|
46
|
+
sms: (phone_1, userSmsCaptcha_1, ...args_1) => __awaiter(this, [phone_1, userSmsCaptcha_1, ...args_1], void 0, function* (phone, userSmsCaptcha, options = {}) {
|
|
46
47
|
// verify required parameter 'phone' is not null or undefined
|
|
47
48
|
(0, common_1.assertParamExists)('sms', 'phone', phone);
|
|
48
|
-
|
|
49
|
+
// verify required parameter 'userSmsCaptcha' is not null or undefined
|
|
50
|
+
(0, common_1.assertParamExists)('sms', 'userSmsCaptcha', userSmsCaptcha);
|
|
51
|
+
const localVarPath = `/gizone/sms/captcha`;
|
|
49
52
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
53
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
51
54
|
let baseOptions;
|
|
@@ -61,6 +64,9 @@ const SMSApiAxiosParamCreator = function (configuration) {
|
|
|
61
64
|
if (phone !== undefined) {
|
|
62
65
|
localVarQueryParameter['phone'] = phone;
|
|
63
66
|
}
|
|
67
|
+
if (userSmsCaptcha !== undefined) {
|
|
68
|
+
localVarQueryParameter['userSmsCaptcha'] = userSmsCaptcha;
|
|
69
|
+
}
|
|
64
70
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
65
71
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66
72
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -83,13 +89,14 @@ const SMSApiFp = function (configuration) {
|
|
|
83
89
|
*
|
|
84
90
|
* @summary 发送验证码
|
|
85
91
|
* @param {string} phone
|
|
92
|
+
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
86
93
|
* @param {*} [options] Override http request option.
|
|
87
94
|
* @throws {RequiredError}
|
|
88
95
|
*/
|
|
89
|
-
sms(phone, options) {
|
|
96
|
+
sms(phone, userSmsCaptcha, options) {
|
|
90
97
|
return __awaiter(this, void 0, void 0, function* () {
|
|
91
98
|
var _a, _b, _c;
|
|
92
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.sms(phone, options);
|
|
99
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.sms(phone, userSmsCaptcha, options);
|
|
93
100
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
94
101
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SMSApi.sms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
95
102
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -113,7 +120,7 @@ const SMSApiFactory = function (configuration, basePath, axios) {
|
|
|
113
120
|
* @throws {RequiredError}
|
|
114
121
|
*/
|
|
115
122
|
sms(requestParameters, options) {
|
|
116
|
-
return localVarFp.sms(requestParameters.phone, options).then((request) => request(axios, basePath));
|
|
123
|
+
return localVarFp.sms(requestParameters.phone, requestParameters.userSmsCaptcha, options).then((request) => request(axios, basePath));
|
|
117
124
|
},
|
|
118
125
|
};
|
|
119
126
|
};
|
|
@@ -134,7 +141,7 @@ class SMSApi extends base_1.BaseAPI {
|
|
|
134
141
|
* @memberof SMSApi
|
|
135
142
|
*/
|
|
136
143
|
sms(requestParameters, options) {
|
|
137
|
-
return (0, exports.SMSApiFp)(this.configuration).sms(requestParameters.phone, options).then((request) => request(this.axios, this.basePath));
|
|
144
|
+
return (0, exports.SMSApiFp)(this.configuration).sms(requestParameters.phone, requestParameters.userSmsCaptcha, options).then((request) => request(this.axios, this.basePath));
|
|
138
145
|
}
|
|
139
146
|
}
|
|
140
147
|
exports.SMSApi = SMSApi;
|
|
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { JsonResult } from '../models';
|
|
16
|
+
import type { UserSmsCaptchaEnum } from '../models';
|
|
16
17
|
/**
|
|
17
18
|
* SMSApi - axios parameter creator
|
|
18
19
|
* @export
|
|
@@ -22,10 +23,11 @@ export declare const SMSApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
22
23
|
*
|
|
23
24
|
* @summary 发送验证码
|
|
24
25
|
* @param {string} phone
|
|
26
|
+
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
25
27
|
* @param {*} [options] Override http request option.
|
|
26
28
|
* @throws {RequiredError}
|
|
27
29
|
*/
|
|
28
|
-
sms: (phone: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
|
+
sms: (phone: string, userSmsCaptcha: UserSmsCaptchaEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
31
|
};
|
|
30
32
|
/**
|
|
31
33
|
* SMSApi - functional programming interface
|
|
@@ -36,10 +38,11 @@ export declare const SMSApiFp: (configuration?: Configuration) => {
|
|
|
36
38
|
*
|
|
37
39
|
* @summary 发送验证码
|
|
38
40
|
* @param {string} phone
|
|
41
|
+
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
39
42
|
* @param {*} [options] Override http request option.
|
|
40
43
|
* @throws {RequiredError}
|
|
41
44
|
*/
|
|
42
|
-
sms(phone: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
45
|
+
sms(phone: string, userSmsCaptcha: UserSmsCaptchaEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
43
46
|
};
|
|
44
47
|
/**
|
|
45
48
|
* SMSApi - factory interface
|
|
@@ -67,6 +70,12 @@ export interface SMSApiSmsRequest {
|
|
|
67
70
|
* @memberof SMSApiSms
|
|
68
71
|
*/
|
|
69
72
|
readonly phone: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {UserSmsCaptchaEnum}
|
|
76
|
+
* @memberof SMSApiSms
|
|
77
|
+
*/
|
|
78
|
+
readonly userSmsCaptcha: UserSmsCaptchaEnum;
|
|
70
79
|
}
|
|
71
80
|
/**
|
|
72
81
|
* SMSApi - object-oriented interface
|
package/dist/esm/apis/smsapi.js
CHANGED
|
@@ -36,13 +36,16 @@ export const SMSApiAxiosParamCreator = function (configuration) {
|
|
|
36
36
|
*
|
|
37
37
|
* @summary 发送验证码
|
|
38
38
|
* @param {string} phone
|
|
39
|
+
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
39
40
|
* @param {*} [options] Override http request option.
|
|
40
41
|
* @throws {RequiredError}
|
|
41
42
|
*/
|
|
42
|
-
sms: (phone_1, ...args_1) => __awaiter(this, [phone_1, ...args_1], void 0, function* (phone, options = {}) {
|
|
43
|
+
sms: (phone_1, userSmsCaptcha_1, ...args_1) => __awaiter(this, [phone_1, userSmsCaptcha_1, ...args_1], void 0, function* (phone, userSmsCaptcha, options = {}) {
|
|
43
44
|
// verify required parameter 'phone' is not null or undefined
|
|
44
45
|
assertParamExists('sms', 'phone', phone);
|
|
45
|
-
|
|
46
|
+
// verify required parameter 'userSmsCaptcha' is not null or undefined
|
|
47
|
+
assertParamExists('sms', 'userSmsCaptcha', userSmsCaptcha);
|
|
48
|
+
const localVarPath = `/gizone/sms/captcha`;
|
|
46
49
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
50
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48
51
|
let baseOptions;
|
|
@@ -58,6 +61,9 @@ export const SMSApiAxiosParamCreator = function (configuration) {
|
|
|
58
61
|
if (phone !== undefined) {
|
|
59
62
|
localVarQueryParameter['phone'] = phone;
|
|
60
63
|
}
|
|
64
|
+
if (userSmsCaptcha !== undefined) {
|
|
65
|
+
localVarQueryParameter['userSmsCaptcha'] = userSmsCaptcha;
|
|
66
|
+
}
|
|
61
67
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
62
68
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63
69
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -79,13 +85,14 @@ export const SMSApiFp = function (configuration) {
|
|
|
79
85
|
*
|
|
80
86
|
* @summary 发送验证码
|
|
81
87
|
* @param {string} phone
|
|
88
|
+
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
82
89
|
* @param {*} [options] Override http request option.
|
|
83
90
|
* @throws {RequiredError}
|
|
84
91
|
*/
|
|
85
|
-
sms(phone, options) {
|
|
92
|
+
sms(phone, userSmsCaptcha, options) {
|
|
86
93
|
return __awaiter(this, void 0, void 0, function* () {
|
|
87
94
|
var _a, _b, _c;
|
|
88
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.sms(phone, options);
|
|
95
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.sms(phone, userSmsCaptcha, options);
|
|
89
96
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
90
97
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SMSApi.sms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
91
98
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -108,7 +115,7 @@ export const SMSApiFactory = function (configuration, basePath, axios) {
|
|
|
108
115
|
* @throws {RequiredError}
|
|
109
116
|
*/
|
|
110
117
|
sms(requestParameters, options) {
|
|
111
|
-
return localVarFp.sms(requestParameters.phone, options).then((request) => request(axios, basePath));
|
|
118
|
+
return localVarFp.sms(requestParameters.phone, requestParameters.userSmsCaptcha, options).then((request) => request(axios, basePath));
|
|
112
119
|
},
|
|
113
120
|
};
|
|
114
121
|
};
|
|
@@ -128,6 +135,6 @@ export class SMSApi extends BaseAPI {
|
|
|
128
135
|
* @memberof SMSApi
|
|
129
136
|
*/
|
|
130
137
|
sms(requestParameters, options) {
|
|
131
|
-
return SMSApiFp(this.configuration).sms(requestParameters.phone, options).then((request) => request(this.axios, this.basePath));
|
|
138
|
+
return SMSApiFp(this.configuration).sms(requestParameters.phone, requestParameters.userSmsCaptcha, options).then((request) => request(this.axios, this.basePath));
|
|
132
139
|
}
|
|
133
140
|
}
|
|
@@ -25,22 +25,28 @@ export interface GetUserWx200Response {
|
|
|
25
25
|
'status'?: number;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {
|
|
28
|
+
* @type {Array<string>}
|
|
29
29
|
* @memberof GetUserWx200Response
|
|
30
30
|
*/
|
|
31
|
-
'
|
|
31
|
+
'headerNames'?: Array<string>;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
|
-
* @type {
|
|
34
|
+
* @type {object}
|
|
35
35
|
* @memberof GetUserWx200Response
|
|
36
36
|
*/
|
|
37
|
-
'
|
|
37
|
+
'trailerFields'?: object;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {GetUserWx200ResponseLocale}
|
|
41
41
|
* @memberof GetUserWx200Response
|
|
42
42
|
*/
|
|
43
43
|
'locale'?: GetUserWx200ResponseLocale;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof GetUserWx200Response
|
|
48
|
+
*/
|
|
49
|
+
'bufferSize'?: number;
|
|
44
50
|
/**
|
|
45
51
|
*
|
|
46
52
|
* @type {string}
|
|
@@ -59,12 +65,6 @@ export interface GetUserWx200Response {
|
|
|
59
65
|
* @memberof GetUserWx200Response
|
|
60
66
|
*/
|
|
61
67
|
'outputStream'?: GetUserWx200ResponseOutputStream;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {number}
|
|
65
|
-
* @memberof GetUserWx200Response
|
|
66
|
-
*/
|
|
67
|
-
'bufferSize'?: number;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @type {string}
|
|
@@ -872,6 +872,7 @@ export * from './user-excel-dto';
|
|
|
872
872
|
export * from './user-roles-and-permissions-dto';
|
|
873
873
|
export * from './user-settings-entity';
|
|
874
874
|
export * from './user-settings-update-bo';
|
|
875
|
+
export * from './user-sms-captcha-enum';
|
|
875
876
|
export * from './user-whether-privacy-dto';
|
|
876
877
|
export * from './user-white-del-dto';
|
|
877
878
|
export * from './vehicle-payment-bo';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -872,6 +872,7 @@ export * from './user-excel-dto';
|
|
|
872
872
|
export * from './user-roles-and-permissions-dto';
|
|
873
873
|
export * from './user-settings-entity';
|
|
874
874
|
export * from './user-settings-update-bo';
|
|
875
|
+
export * from './user-sms-captcha-enum';
|
|
875
876
|
export * from './user-whether-privacy-dto';
|
|
876
877
|
export * from './user-white-del-dto';
|
|
877
878
|
export * from './vehicle-payment-bo';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 用户短信验证码相关常量
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const UserSmsCaptchaEnum: {
|
|
18
|
+
readonly Login: "LOGIN";
|
|
19
|
+
readonly ChangePassword: "CHANGE_PASSWORD";
|
|
20
|
+
};
|
|
21
|
+
export type UserSmsCaptchaEnum = typeof UserSmsCaptchaEnum[keyof typeof UserSmsCaptchaEnum];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* 用户短信验证码相关常量
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const UserSmsCaptchaEnum = {
|
|
20
|
+
Login: 'LOGIN',
|
|
21
|
+
ChangePassword: 'CHANGE_PASSWORD'
|
|
22
|
+
};
|
|
@@ -25,22 +25,28 @@ export interface GetUserWx200Response {
|
|
|
25
25
|
'status'?: number;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {
|
|
28
|
+
* @type {Array<string>}
|
|
29
29
|
* @memberof GetUserWx200Response
|
|
30
30
|
*/
|
|
31
|
-
'
|
|
31
|
+
'headerNames'?: Array<string>;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
|
-
* @type {
|
|
34
|
+
* @type {object}
|
|
35
35
|
* @memberof GetUserWx200Response
|
|
36
36
|
*/
|
|
37
|
-
'
|
|
37
|
+
'trailerFields'?: object;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {GetUserWx200ResponseLocale}
|
|
41
41
|
* @memberof GetUserWx200Response
|
|
42
42
|
*/
|
|
43
43
|
'locale'?: GetUserWx200ResponseLocale;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof GetUserWx200Response
|
|
48
|
+
*/
|
|
49
|
+
'bufferSize'?: number;
|
|
44
50
|
/**
|
|
45
51
|
*
|
|
46
52
|
* @type {string}
|
|
@@ -59,12 +65,6 @@ export interface GetUserWx200Response {
|
|
|
59
65
|
* @memberof GetUserWx200Response
|
|
60
66
|
*/
|
|
61
67
|
'outputStream'?: GetUserWx200ResponseOutputStream;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {number}
|
|
65
|
-
* @memberof GetUserWx200Response
|
|
66
|
-
*/
|
|
67
|
-
'bufferSize'?: number;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @type {string}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -872,6 +872,7 @@ export * from './user-excel-dto';
|
|
|
872
872
|
export * from './user-roles-and-permissions-dto';
|
|
873
873
|
export * from './user-settings-entity';
|
|
874
874
|
export * from './user-settings-update-bo';
|
|
875
|
+
export * from './user-sms-captcha-enum';
|
|
875
876
|
export * from './user-whether-privacy-dto';
|
|
876
877
|
export * from './user-white-del-dto';
|
|
877
878
|
export * from './vehicle-payment-bo';
|
package/dist/models/index.js
CHANGED
|
@@ -888,6 +888,7 @@ __exportStar(require("./user-excel-dto"), exports);
|
|
|
888
888
|
__exportStar(require("./user-roles-and-permissions-dto"), exports);
|
|
889
889
|
__exportStar(require("./user-settings-entity"), exports);
|
|
890
890
|
__exportStar(require("./user-settings-update-bo"), exports);
|
|
891
|
+
__exportStar(require("./user-sms-captcha-enum"), exports);
|
|
891
892
|
__exportStar(require("./user-whether-privacy-dto"), exports);
|
|
892
893
|
__exportStar(require("./user-white-del-dto"), exports);
|
|
893
894
|
__exportStar(require("./vehicle-payment-bo"), exports);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 用户短信验证码相关常量
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const UserSmsCaptchaEnum: {
|
|
18
|
+
readonly Login: "LOGIN";
|
|
19
|
+
readonly ChangePassword: "CHANGE_PASSWORD";
|
|
20
|
+
};
|
|
21
|
+
export type UserSmsCaptchaEnum = typeof UserSmsCaptchaEnum[keyof typeof UserSmsCaptchaEnum];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserSmsCaptchaEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* 用户短信验证码相关常量
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.UserSmsCaptchaEnum = {
|
|
23
|
+
Login: 'LOGIN',
|
|
24
|
+
ChangePassword: 'CHANGE_PASSWORD'
|
|
25
|
+
};
|
|
@@ -34,22 +34,28 @@ export interface GetUserWx200Response {
|
|
|
34
34
|
'status'?: number;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {
|
|
37
|
+
* @type {Array<string>}
|
|
38
38
|
* @memberof GetUserWx200Response
|
|
39
39
|
*/
|
|
40
|
-
'
|
|
40
|
+
'headerNames'?: Array<string>;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {
|
|
43
|
+
* @type {object}
|
|
44
44
|
* @memberof GetUserWx200Response
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'trailerFields'?: object;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @type {GetUserWx200ResponseLocale}
|
|
50
50
|
* @memberof GetUserWx200Response
|
|
51
51
|
*/
|
|
52
52
|
'locale'?: GetUserWx200ResponseLocale;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof GetUserWx200Response
|
|
57
|
+
*/
|
|
58
|
+
'bufferSize'?: number;
|
|
53
59
|
/**
|
|
54
60
|
*
|
|
55
61
|
* @type {string}
|
|
@@ -68,12 +74,6 @@ export interface GetUserWx200Response {
|
|
|
68
74
|
* @memberof GetUserWx200Response
|
|
69
75
|
*/
|
|
70
76
|
'outputStream'?: GetUserWx200ResponseOutputStream;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {number}
|
|
74
|
-
* @memberof GetUserWx200Response
|
|
75
|
-
*/
|
|
76
|
-
'bufferSize'?: number;
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
79
|
* @type {string}
|
package/models/index.ts
CHANGED
|
@@ -872,6 +872,7 @@ export * from './user-excel-dto';
|
|
|
872
872
|
export * from './user-roles-and-permissions-dto';
|
|
873
873
|
export * from './user-settings-entity';
|
|
874
874
|
export * from './user-settings-update-bo';
|
|
875
|
+
export * from './user-sms-captcha-enum';
|
|
875
876
|
export * from './user-whether-privacy-dto';
|
|
876
877
|
export * from './user-white-del-dto';
|
|
877
878
|
export * from './vehicle-payment-bo';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 用户短信验证码相关常量
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const UserSmsCaptchaEnum = {
|
|
24
|
+
Login: 'LOGIN',
|
|
25
|
+
ChangePassword: 'CHANGE_PASSWORD'
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type UserSmsCaptchaEnum = typeof UserSmsCaptchaEnum[keyof typeof UserSmsCaptchaEnum];
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|