@gizone/rrs-client 4.2.0-alpha.277 → 4.2.0-alpha.279
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 +2 -1
- package/apis/smsapi.ts +26 -42
- package/dist/apis/smsapi.d.ts +16 -24
- package/dist/apis/smsapi.js +17 -25
- package/dist/esm/apis/smsapi.d.ts +16 -24
- package/dist/esm/apis/smsapi.js +18 -26
- package/dist/esm/models/{user-sms-captcha-enum.d.ts → captcha-type-enum.d.ts} +3 -3
- package/dist/esm/models/{user-sms-captcha-enum.js → captcha-type-enum.js} +2 -2
- package/dist/esm/models/get-user-wx200-response.d.ts +6 -6
- package/dist/esm/models/index.d.ts +2 -1
- package/dist/esm/models/index.js +2 -1
- package/dist/esm/models/ipage-access-vo.d.ts +6 -6
- package/dist/esm/models/sms-captcha-vo.d.ts +31 -0
- package/dist/esm/models/sms-captcha-vo.js +14 -0
- package/dist/models/{user-sms-captcha-enum.d.ts → captcha-type-enum.d.ts} +3 -3
- package/dist/models/{user-sms-captcha-enum.js → captcha-type-enum.js} +3 -3
- package/dist/models/get-user-wx200-response.d.ts +6 -6
- package/dist/models/index.d.ts +2 -1
- package/dist/models/index.js +2 -1
- package/dist/models/ipage-access-vo.d.ts +6 -6
- package/dist/models/sms-captcha-vo.d.ts +31 -0
- package/dist/models/sms-captcha-vo.js +15 -0
- package/models/{user-sms-captcha-enum.ts → captcha-type-enum.ts} +3 -3
- package/models/get-user-wx200-response.ts +6 -6
- package/models/index.ts +2 -1
- package/models/ipage-access-vo.ts +6 -6
- package/models/sms-captcha-vo.ts +41 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -136,6 +136,7 @@ models/call-police-history-dto.ts
|
|
|
136
136
|
models/call-police-history-handle.ts
|
|
137
137
|
models/call-police-type-dto.ts
|
|
138
138
|
models/call-police-type-enum.ts
|
|
139
|
+
models/captcha-type-enum.ts
|
|
139
140
|
models/center-list-dto.ts
|
|
140
141
|
models/change-password-dto.ts
|
|
141
142
|
models/choice-energy-meter-bo.ts
|
|
@@ -822,6 +823,7 @@ models/select-hire-energy-bill-details-bo.ts
|
|
|
822
823
|
models/select-meter-record-list-bo.ts
|
|
823
824
|
models/select-park-energy-bill-detail-bo.ts
|
|
824
825
|
models/select-time-cost-tenant-rent-bill-bo.ts
|
|
826
|
+
models/sms-captcha-vo.ts
|
|
825
827
|
models/source-alert-dto.ts
|
|
826
828
|
models/source-feedback-dto.ts
|
|
827
829
|
models/source-work-order-dto.ts
|
|
@@ -940,7 +942,6 @@ models/user-excel-dto.ts
|
|
|
940
942
|
models/user-roles-and-permissions-dto.ts
|
|
941
943
|
models/user-settings-entity.ts
|
|
942
944
|
models/user-settings-update-bo.ts
|
|
943
|
-
models/user-sms-captcha-enum.ts
|
|
944
945
|
models/user-whether-privacy-dto.ts
|
|
945
946
|
models/user-white-del-dto.ts
|
|
946
947
|
models/vehicle-payment-bo.ts
|
package/apis/smsapi.ts
CHANGED
|
@@ -22,9 +22,9 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
24
|
// @ts-ignore
|
|
25
|
-
import type {
|
|
25
|
+
import type { JsonResultVoid } from '../models';
|
|
26
26
|
// @ts-ignore
|
|
27
|
-
import type {
|
|
27
|
+
import type { SmsCaptchaVo } from '../models';
|
|
28
28
|
/**
|
|
29
29
|
* SMSApi - axios parameter creator
|
|
30
30
|
* @export
|
|
@@ -34,16 +34,13 @@ export const SMSApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @summary 发送验证码
|
|
37
|
-
* @param {
|
|
38
|
-
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
37
|
+
* @param {SmsCaptchaVo} smsCaptchaVo
|
|
39
38
|
* @param {*} [options] Override http request option.
|
|
40
39
|
* @throws {RequiredError}
|
|
41
40
|
*/
|
|
42
|
-
|
|
43
|
-
// verify required parameter '
|
|
44
|
-
assertParamExists('
|
|
45
|
-
// verify required parameter 'userSmsCaptcha' is not null or undefined
|
|
46
|
-
assertParamExists('sms', 'userSmsCaptcha', userSmsCaptcha)
|
|
41
|
+
sendSmsCaptcha: async (smsCaptchaVo: SmsCaptchaVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42
|
+
// verify required parameter 'smsCaptchaVo' is not null or undefined
|
|
43
|
+
assertParamExists('sendSmsCaptcha', 'smsCaptchaVo', smsCaptchaVo)
|
|
47
44
|
const localVarPath = `/gizone/sms/captcha`;
|
|
48
45
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
49
46
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -52,7 +49,7 @@ export const SMSApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
52
49
|
baseOptions = configuration.baseOptions;
|
|
53
50
|
}
|
|
54
51
|
|
|
55
|
-
const localVarRequestOptions = { method: '
|
|
52
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
56
53
|
const localVarHeaderParameter = {} as any;
|
|
57
54
|
const localVarQueryParameter = {} as any;
|
|
58
55
|
|
|
@@ -60,19 +57,14 @@ export const SMSApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
60
57
|
// http bearer authentication required
|
|
61
58
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
62
59
|
|
|
63
|
-
if (phone !== undefined) {
|
|
64
|
-
localVarQueryParameter['phone'] = phone;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
if (userSmsCaptcha !== undefined) {
|
|
68
|
-
localVarQueryParameter['userSmsCaptcha'] = userSmsCaptcha;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
60
|
|
|
72
61
|
|
|
62
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
63
|
+
|
|
73
64
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74
65
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
75
66
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
67
|
+
localVarRequestOptions.data = serializeDataIfNeeded(smsCaptchaVo, localVarRequestOptions, configuration)
|
|
76
68
|
|
|
77
69
|
return {
|
|
78
70
|
url: toPathString(localVarUrlObj),
|
|
@@ -92,15 +84,14 @@ export const SMSApiFp = function(configuration?: Configuration) {
|
|
|
92
84
|
/**
|
|
93
85
|
*
|
|
94
86
|
* @summary 发送验证码
|
|
95
|
-
* @param {
|
|
96
|
-
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
87
|
+
* @param {SmsCaptchaVo} smsCaptchaVo
|
|
97
88
|
* @param {*} [options] Override http request option.
|
|
98
89
|
* @throws {RequiredError}
|
|
99
90
|
*/
|
|
100
|
-
async
|
|
101
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
91
|
+
async sendSmsCaptcha(smsCaptchaVo: SmsCaptchaVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
92
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sendSmsCaptcha(smsCaptchaVo, options);
|
|
102
93
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103
|
-
const localVarOperationServerBasePath = operationServerMap['SMSApi.
|
|
94
|
+
const localVarOperationServerBasePath = operationServerMap['SMSApi.sendSmsCaptcha']?.[localVarOperationServerIndex]?.url;
|
|
104
95
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
105
96
|
},
|
|
106
97
|
}
|
|
@@ -116,35 +107,28 @@ export const SMSApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
116
107
|
/**
|
|
117
108
|
*
|
|
118
109
|
* @summary 发送验证码
|
|
119
|
-
* @param {
|
|
110
|
+
* @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
|
|
120
111
|
* @param {*} [options] Override http request option.
|
|
121
112
|
* @throws {RequiredError}
|
|
122
113
|
*/
|
|
123
|
-
|
|
124
|
-
return localVarFp.
|
|
114
|
+
sendSmsCaptcha(requestParameters: SMSApiSendSmsCaptchaRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
115
|
+
return localVarFp.sendSmsCaptcha(requestParameters.smsCaptchaVo, options).then((request) => request(axios, basePath));
|
|
125
116
|
},
|
|
126
117
|
};
|
|
127
118
|
};
|
|
128
119
|
|
|
129
120
|
/**
|
|
130
|
-
* Request parameters for
|
|
121
|
+
* Request parameters for sendSmsCaptcha operation in SMSApi.
|
|
131
122
|
* @export
|
|
132
|
-
* @interface
|
|
123
|
+
* @interface SMSApiSendSmsCaptchaRequest
|
|
133
124
|
*/
|
|
134
|
-
export interface
|
|
135
|
-
/**
|
|
136
|
-
*
|
|
137
|
-
* @type {string}
|
|
138
|
-
* @memberof SMSApiSms
|
|
139
|
-
*/
|
|
140
|
-
readonly phone: string
|
|
141
|
-
|
|
125
|
+
export interface SMSApiSendSmsCaptchaRequest {
|
|
142
126
|
/**
|
|
143
127
|
*
|
|
144
|
-
* @type {
|
|
145
|
-
* @memberof
|
|
128
|
+
* @type {SmsCaptchaVo}
|
|
129
|
+
* @memberof SMSApiSendSmsCaptcha
|
|
146
130
|
*/
|
|
147
|
-
readonly
|
|
131
|
+
readonly smsCaptchaVo: SmsCaptchaVo
|
|
148
132
|
}
|
|
149
133
|
|
|
150
134
|
/**
|
|
@@ -157,13 +141,13 @@ export class SMSApi extends BaseAPI {
|
|
|
157
141
|
/**
|
|
158
142
|
*
|
|
159
143
|
* @summary 发送验证码
|
|
160
|
-
* @param {
|
|
144
|
+
* @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
|
|
161
145
|
* @param {*} [options] Override http request option.
|
|
162
146
|
* @throws {RequiredError}
|
|
163
147
|
* @memberof SMSApi
|
|
164
148
|
*/
|
|
165
|
-
public
|
|
166
|
-
return SMSApiFp(this.configuration).
|
|
149
|
+
public sendSmsCaptcha(requestParameters: SMSApiSendSmsCaptchaRequest, options?: RawAxiosRequestConfig) {
|
|
150
|
+
return SMSApiFp(this.configuration).sendSmsCaptcha(requestParameters.smsCaptchaVo, options).then((request) => request(this.axios, this.basePath));
|
|
167
151
|
}
|
|
168
152
|
}
|
|
169
153
|
|
package/dist/apis/smsapi.d.ts
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import type {
|
|
16
|
-
import type {
|
|
15
|
+
import type { JsonResultVoid } from '../models';
|
|
16
|
+
import type { SmsCaptchaVo } from '../models';
|
|
17
17
|
/**
|
|
18
18
|
* SMSApi - axios parameter creator
|
|
19
19
|
* @export
|
|
@@ -22,12 +22,11 @@ export declare const SMSApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @summary 发送验证码
|
|
25
|
-
* @param {
|
|
26
|
-
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
25
|
+
* @param {SmsCaptchaVo} smsCaptchaVo
|
|
27
26
|
* @param {*} [options] Override http request option.
|
|
28
27
|
* @throws {RequiredError}
|
|
29
28
|
*/
|
|
30
|
-
|
|
29
|
+
sendSmsCaptcha: (smsCaptchaVo: SmsCaptchaVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
30
|
};
|
|
32
31
|
/**
|
|
33
32
|
* SMSApi - functional programming interface
|
|
@@ -37,12 +36,11 @@ export declare const SMSApiFp: (configuration?: Configuration) => {
|
|
|
37
36
|
/**
|
|
38
37
|
*
|
|
39
38
|
* @summary 发送验证码
|
|
40
|
-
* @param {
|
|
41
|
-
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
39
|
+
* @param {SmsCaptchaVo} smsCaptchaVo
|
|
42
40
|
* @param {*} [options] Override http request option.
|
|
43
41
|
* @throws {RequiredError}
|
|
44
42
|
*/
|
|
45
|
-
|
|
43
|
+
sendSmsCaptcha(smsCaptchaVo: SmsCaptchaVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
46
44
|
};
|
|
47
45
|
/**
|
|
48
46
|
* SMSApi - factory interface
|
|
@@ -52,30 +50,24 @@ export declare const SMSApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
52
50
|
/**
|
|
53
51
|
*
|
|
54
52
|
* @summary 发送验证码
|
|
55
|
-
* @param {
|
|
53
|
+
* @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
|
|
56
54
|
* @param {*} [options] Override http request option.
|
|
57
55
|
* @throws {RequiredError}
|
|
58
56
|
*/
|
|
59
|
-
|
|
57
|
+
sendSmsCaptcha(requestParameters: SMSApiSendSmsCaptchaRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
60
58
|
};
|
|
61
59
|
/**
|
|
62
|
-
* Request parameters for
|
|
60
|
+
* Request parameters for sendSmsCaptcha operation in SMSApi.
|
|
63
61
|
* @export
|
|
64
|
-
* @interface
|
|
62
|
+
* @interface SMSApiSendSmsCaptchaRequest
|
|
65
63
|
*/
|
|
66
|
-
export interface
|
|
64
|
+
export interface SMSApiSendSmsCaptchaRequest {
|
|
67
65
|
/**
|
|
68
66
|
*
|
|
69
|
-
* @type {
|
|
70
|
-
* @memberof
|
|
67
|
+
* @type {SmsCaptchaVo}
|
|
68
|
+
* @memberof SMSApiSendSmsCaptcha
|
|
71
69
|
*/
|
|
72
|
-
readonly
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {UserSmsCaptchaEnum}
|
|
76
|
-
* @memberof SMSApiSms
|
|
77
|
-
*/
|
|
78
|
-
readonly userSmsCaptcha: UserSmsCaptchaEnum;
|
|
70
|
+
readonly smsCaptchaVo: SmsCaptchaVo;
|
|
79
71
|
}
|
|
80
72
|
/**
|
|
81
73
|
* SMSApi - object-oriented interface
|
|
@@ -87,10 +79,10 @@ export declare class SMSApi extends BaseAPI {
|
|
|
87
79
|
/**
|
|
88
80
|
*
|
|
89
81
|
* @summary 发送验证码
|
|
90
|
-
* @param {
|
|
82
|
+
* @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
|
|
91
83
|
* @param {*} [options] Override http request option.
|
|
92
84
|
* @throws {RequiredError}
|
|
93
85
|
* @memberof SMSApi
|
|
94
86
|
*/
|
|
95
|
-
|
|
87
|
+
sendSmsCaptcha(requestParameters: SMSApiSendSmsCaptchaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
96
88
|
}
|
package/dist/apis/smsapi.js
CHANGED
|
@@ -38,16 +38,13 @@ const SMSApiAxiosParamCreator = function (configuration) {
|
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @summary 发送验证码
|
|
41
|
-
* @param {
|
|
42
|
-
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
41
|
+
* @param {SmsCaptchaVo} smsCaptchaVo
|
|
43
42
|
* @param {*} [options] Override http request option.
|
|
44
43
|
* @throws {RequiredError}
|
|
45
44
|
*/
|
|
46
|
-
|
|
47
|
-
// verify required parameter '
|
|
48
|
-
(0, common_1.assertParamExists)('
|
|
49
|
-
// verify required parameter 'userSmsCaptcha' is not null or undefined
|
|
50
|
-
(0, common_1.assertParamExists)('sms', 'userSmsCaptcha', userSmsCaptcha);
|
|
45
|
+
sendSmsCaptcha: (smsCaptchaVo_1, ...args_1) => __awaiter(this, [smsCaptchaVo_1, ...args_1], void 0, function* (smsCaptchaVo, options = {}) {
|
|
46
|
+
// verify required parameter 'smsCaptchaVo' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('sendSmsCaptcha', 'smsCaptchaVo', smsCaptchaVo);
|
|
51
48
|
const localVarPath = `/gizone/sms/captcha`;
|
|
52
49
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53
50
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -55,21 +52,17 @@ const SMSApiAxiosParamCreator = function (configuration) {
|
|
|
55
52
|
if (configuration) {
|
|
56
53
|
baseOptions = configuration.baseOptions;
|
|
57
54
|
}
|
|
58
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
55
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
59
56
|
const localVarHeaderParameter = {};
|
|
60
57
|
const localVarQueryParameter = {};
|
|
61
58
|
// authentication tokenScheme required
|
|
62
59
|
// http bearer authentication required
|
|
63
60
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
64
|
-
|
|
65
|
-
localVarQueryParameter['phone'] = phone;
|
|
66
|
-
}
|
|
67
|
-
if (userSmsCaptcha !== undefined) {
|
|
68
|
-
localVarQueryParameter['userSmsCaptcha'] = userSmsCaptcha;
|
|
69
|
-
}
|
|
61
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
70
62
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
71
63
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72
64
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(smsCaptchaVo, localVarRequestOptions, configuration);
|
|
73
66
|
return {
|
|
74
67
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
75
68
|
options: localVarRequestOptions,
|
|
@@ -88,17 +81,16 @@ const SMSApiFp = function (configuration) {
|
|
|
88
81
|
/**
|
|
89
82
|
*
|
|
90
83
|
* @summary 发送验证码
|
|
91
|
-
* @param {
|
|
92
|
-
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
84
|
+
* @param {SmsCaptchaVo} smsCaptchaVo
|
|
93
85
|
* @param {*} [options] Override http request option.
|
|
94
86
|
* @throws {RequiredError}
|
|
95
87
|
*/
|
|
96
|
-
|
|
88
|
+
sendSmsCaptcha(smsCaptchaVo, options) {
|
|
97
89
|
return __awaiter(this, void 0, void 0, function* () {
|
|
98
90
|
var _a, _b, _c;
|
|
99
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
91
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.sendSmsCaptcha(smsCaptchaVo, options);
|
|
100
92
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
101
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SMSApi.
|
|
93
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SMSApi.sendSmsCaptcha']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
102
94
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103
95
|
});
|
|
104
96
|
},
|
|
@@ -115,12 +107,12 @@ const SMSApiFactory = function (configuration, basePath, axios) {
|
|
|
115
107
|
/**
|
|
116
108
|
*
|
|
117
109
|
* @summary 发送验证码
|
|
118
|
-
* @param {
|
|
110
|
+
* @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
|
|
119
111
|
* @param {*} [options] Override http request option.
|
|
120
112
|
* @throws {RequiredError}
|
|
121
113
|
*/
|
|
122
|
-
|
|
123
|
-
return localVarFp.
|
|
114
|
+
sendSmsCaptcha(requestParameters, options) {
|
|
115
|
+
return localVarFp.sendSmsCaptcha(requestParameters.smsCaptchaVo, options).then((request) => request(axios, basePath));
|
|
124
116
|
},
|
|
125
117
|
};
|
|
126
118
|
};
|
|
@@ -135,13 +127,13 @@ class SMSApi extends base_1.BaseAPI {
|
|
|
135
127
|
/**
|
|
136
128
|
*
|
|
137
129
|
* @summary 发送验证码
|
|
138
|
-
* @param {
|
|
130
|
+
* @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
|
|
139
131
|
* @param {*} [options] Override http request option.
|
|
140
132
|
* @throws {RequiredError}
|
|
141
133
|
* @memberof SMSApi
|
|
142
134
|
*/
|
|
143
|
-
|
|
144
|
-
return (0, exports.SMSApiFp)(this.configuration).
|
|
135
|
+
sendSmsCaptcha(requestParameters, options) {
|
|
136
|
+
return (0, exports.SMSApiFp)(this.configuration).sendSmsCaptcha(requestParameters.smsCaptchaVo, options).then((request) => request(this.axios, this.basePath));
|
|
145
137
|
}
|
|
146
138
|
}
|
|
147
139
|
exports.SMSApi = SMSApi;
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import type {
|
|
16
|
-
import type {
|
|
15
|
+
import type { JsonResultVoid } from '../models';
|
|
16
|
+
import type { SmsCaptchaVo } from '../models';
|
|
17
17
|
/**
|
|
18
18
|
* SMSApi - axios parameter creator
|
|
19
19
|
* @export
|
|
@@ -22,12 +22,11 @@ export declare const SMSApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @summary 发送验证码
|
|
25
|
-
* @param {
|
|
26
|
-
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
25
|
+
* @param {SmsCaptchaVo} smsCaptchaVo
|
|
27
26
|
* @param {*} [options] Override http request option.
|
|
28
27
|
* @throws {RequiredError}
|
|
29
28
|
*/
|
|
30
|
-
|
|
29
|
+
sendSmsCaptcha: (smsCaptchaVo: SmsCaptchaVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
30
|
};
|
|
32
31
|
/**
|
|
33
32
|
* SMSApi - functional programming interface
|
|
@@ -37,12 +36,11 @@ export declare const SMSApiFp: (configuration?: Configuration) => {
|
|
|
37
36
|
/**
|
|
38
37
|
*
|
|
39
38
|
* @summary 发送验证码
|
|
40
|
-
* @param {
|
|
41
|
-
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
39
|
+
* @param {SmsCaptchaVo} smsCaptchaVo
|
|
42
40
|
* @param {*} [options] Override http request option.
|
|
43
41
|
* @throws {RequiredError}
|
|
44
42
|
*/
|
|
45
|
-
|
|
43
|
+
sendSmsCaptcha(smsCaptchaVo: SmsCaptchaVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
46
44
|
};
|
|
47
45
|
/**
|
|
48
46
|
* SMSApi - factory interface
|
|
@@ -52,30 +50,24 @@ export declare const SMSApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
52
50
|
/**
|
|
53
51
|
*
|
|
54
52
|
* @summary 发送验证码
|
|
55
|
-
* @param {
|
|
53
|
+
* @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
|
|
56
54
|
* @param {*} [options] Override http request option.
|
|
57
55
|
* @throws {RequiredError}
|
|
58
56
|
*/
|
|
59
|
-
|
|
57
|
+
sendSmsCaptcha(requestParameters: SMSApiSendSmsCaptchaRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
60
58
|
};
|
|
61
59
|
/**
|
|
62
|
-
* Request parameters for
|
|
60
|
+
* Request parameters for sendSmsCaptcha operation in SMSApi.
|
|
63
61
|
* @export
|
|
64
|
-
* @interface
|
|
62
|
+
* @interface SMSApiSendSmsCaptchaRequest
|
|
65
63
|
*/
|
|
66
|
-
export interface
|
|
64
|
+
export interface SMSApiSendSmsCaptchaRequest {
|
|
67
65
|
/**
|
|
68
66
|
*
|
|
69
|
-
* @type {
|
|
70
|
-
* @memberof
|
|
67
|
+
* @type {SmsCaptchaVo}
|
|
68
|
+
* @memberof SMSApiSendSmsCaptcha
|
|
71
69
|
*/
|
|
72
|
-
readonly
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {UserSmsCaptchaEnum}
|
|
76
|
-
* @memberof SMSApiSms
|
|
77
|
-
*/
|
|
78
|
-
readonly userSmsCaptcha: UserSmsCaptchaEnum;
|
|
70
|
+
readonly smsCaptchaVo: SmsCaptchaVo;
|
|
79
71
|
}
|
|
80
72
|
/**
|
|
81
73
|
* SMSApi - object-oriented interface
|
|
@@ -87,10 +79,10 @@ export declare class SMSApi extends BaseAPI {
|
|
|
87
79
|
/**
|
|
88
80
|
*
|
|
89
81
|
* @summary 发送验证码
|
|
90
|
-
* @param {
|
|
82
|
+
* @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
|
|
91
83
|
* @param {*} [options] Override http request option.
|
|
92
84
|
* @throws {RequiredError}
|
|
93
85
|
* @memberof SMSApi
|
|
94
86
|
*/
|
|
95
|
-
|
|
87
|
+
sendSmsCaptcha(requestParameters: SMSApiSendSmsCaptchaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
96
88
|
}
|
package/dist/esm/apis/smsapi.js
CHANGED
|
@@ -23,7 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
import globalAxios from 'axios';
|
|
24
24
|
// Some imports not used depending on template conditions
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
29
|
/**
|
|
@@ -35,16 +35,13 @@ export const SMSApiAxiosParamCreator = function (configuration) {
|
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @summary 发送验证码
|
|
38
|
-
* @param {
|
|
39
|
-
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
38
|
+
* @param {SmsCaptchaVo} smsCaptchaVo
|
|
40
39
|
* @param {*} [options] Override http request option.
|
|
41
40
|
* @throws {RequiredError}
|
|
42
41
|
*/
|
|
43
|
-
|
|
44
|
-
// verify required parameter '
|
|
45
|
-
assertParamExists('
|
|
46
|
-
// verify required parameter 'userSmsCaptcha' is not null or undefined
|
|
47
|
-
assertParamExists('sms', 'userSmsCaptcha', userSmsCaptcha);
|
|
42
|
+
sendSmsCaptcha: (smsCaptchaVo_1, ...args_1) => __awaiter(this, [smsCaptchaVo_1, ...args_1], void 0, function* (smsCaptchaVo, options = {}) {
|
|
43
|
+
// verify required parameter 'smsCaptchaVo' is not null or undefined
|
|
44
|
+
assertParamExists('sendSmsCaptcha', 'smsCaptchaVo', smsCaptchaVo);
|
|
48
45
|
const localVarPath = `/gizone/sms/captcha`;
|
|
49
46
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
47
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -52,21 +49,17 @@ export const SMSApiAxiosParamCreator = function (configuration) {
|
|
|
52
49
|
if (configuration) {
|
|
53
50
|
baseOptions = configuration.baseOptions;
|
|
54
51
|
}
|
|
55
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
52
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
56
53
|
const localVarHeaderParameter = {};
|
|
57
54
|
const localVarQueryParameter = {};
|
|
58
55
|
// authentication tokenScheme required
|
|
59
56
|
// http bearer authentication required
|
|
60
57
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
61
|
-
|
|
62
|
-
localVarQueryParameter['phone'] = phone;
|
|
63
|
-
}
|
|
64
|
-
if (userSmsCaptcha !== undefined) {
|
|
65
|
-
localVarQueryParameter['userSmsCaptcha'] = userSmsCaptcha;
|
|
66
|
-
}
|
|
58
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
67
59
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68
60
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69
61
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
62
|
+
localVarRequestOptions.data = serializeDataIfNeeded(smsCaptchaVo, localVarRequestOptions, configuration);
|
|
70
63
|
return {
|
|
71
64
|
url: toPathString(localVarUrlObj),
|
|
72
65
|
options: localVarRequestOptions,
|
|
@@ -84,17 +77,16 @@ export const SMSApiFp = function (configuration) {
|
|
|
84
77
|
/**
|
|
85
78
|
*
|
|
86
79
|
* @summary 发送验证码
|
|
87
|
-
* @param {
|
|
88
|
-
* @param {UserSmsCaptchaEnum} userSmsCaptcha
|
|
80
|
+
* @param {SmsCaptchaVo} smsCaptchaVo
|
|
89
81
|
* @param {*} [options] Override http request option.
|
|
90
82
|
* @throws {RequiredError}
|
|
91
83
|
*/
|
|
92
|
-
|
|
84
|
+
sendSmsCaptcha(smsCaptchaVo, options) {
|
|
93
85
|
return __awaiter(this, void 0, void 0, function* () {
|
|
94
86
|
var _a, _b, _c;
|
|
95
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
87
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.sendSmsCaptcha(smsCaptchaVo, options);
|
|
96
88
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
97
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SMSApi.
|
|
89
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SMSApi.sendSmsCaptcha']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
98
90
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
99
91
|
});
|
|
100
92
|
},
|
|
@@ -110,12 +102,12 @@ export const SMSApiFactory = function (configuration, basePath, axios) {
|
|
|
110
102
|
/**
|
|
111
103
|
*
|
|
112
104
|
* @summary 发送验证码
|
|
113
|
-
* @param {
|
|
105
|
+
* @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
|
|
114
106
|
* @param {*} [options] Override http request option.
|
|
115
107
|
* @throws {RequiredError}
|
|
116
108
|
*/
|
|
117
|
-
|
|
118
|
-
return localVarFp.
|
|
109
|
+
sendSmsCaptcha(requestParameters, options) {
|
|
110
|
+
return localVarFp.sendSmsCaptcha(requestParameters.smsCaptchaVo, options).then((request) => request(axios, basePath));
|
|
119
111
|
},
|
|
120
112
|
};
|
|
121
113
|
};
|
|
@@ -129,12 +121,12 @@ export class SMSApi extends BaseAPI {
|
|
|
129
121
|
/**
|
|
130
122
|
*
|
|
131
123
|
* @summary 发送验证码
|
|
132
|
-
* @param {
|
|
124
|
+
* @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
|
|
133
125
|
* @param {*} [options] Override http request option.
|
|
134
126
|
* @throws {RequiredError}
|
|
135
127
|
* @memberof SMSApi
|
|
136
128
|
*/
|
|
137
|
-
|
|
138
|
-
return SMSApiFp(this.configuration).
|
|
129
|
+
sendSmsCaptcha(requestParameters, options) {
|
|
130
|
+
return SMSApiFp(this.configuration).sendSmsCaptcha(requestParameters.smsCaptchaVo, options).then((request) => request(this.axios, this.basePath));
|
|
139
131
|
}
|
|
140
132
|
}
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* 用户验证码相关常量
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
|
-
export declare const
|
|
17
|
+
export declare const CaptchaTypeEnum: {
|
|
18
18
|
readonly Login: "LOGIN";
|
|
19
19
|
readonly ChangePassword: "CHANGE_PASSWORD";
|
|
20
20
|
};
|
|
21
|
-
export type
|
|
21
|
+
export type CaptchaTypeEnum = typeof CaptchaTypeEnum[keyof typeof CaptchaTypeEnum];
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* 用户验证码相关常量
|
|
16
16
|
* @export
|
|
17
17
|
* @enum {string}
|
|
18
18
|
*/
|
|
19
|
-
export const
|
|
19
|
+
export const CaptchaTypeEnum = {
|
|
20
20
|
Login: 'LOGIN',
|
|
21
21
|
ChangePassword: 'CHANGE_PASSWORD'
|
|
22
22
|
};
|
|
@@ -41,12 +41,6 @@ export interface GetUserWx200Response {
|
|
|
41
41
|
* @memberof GetUserWx200Response
|
|
42
42
|
*/
|
|
43
43
|
'locale'?: GetUserWx200ResponseLocale;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {number}
|
|
47
|
-
* @memberof GetUserWx200Response
|
|
48
|
-
*/
|
|
49
|
-
'bufferSize'?: number;
|
|
50
44
|
/**
|
|
51
45
|
*
|
|
52
46
|
* @type {string}
|
|
@@ -65,6 +59,12 @@ export interface GetUserWx200Response {
|
|
|
65
59
|
* @memberof GetUserWx200Response
|
|
66
60
|
*/
|
|
67
61
|
'outputStream'?: GetUserWx200ResponseOutputStream;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof GetUserWx200Response
|
|
66
|
+
*/
|
|
67
|
+
'bufferSize'?: number;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @type {string}
|
|
@@ -71,6 +71,7 @@ export * from './call-police-history-dto';
|
|
|
71
71
|
export * from './call-police-history-handle';
|
|
72
72
|
export * from './call-police-type-dto';
|
|
73
73
|
export * from './call-police-type-enum';
|
|
74
|
+
export * from './captcha-type-enum';
|
|
74
75
|
export * from './center-list-dto';
|
|
75
76
|
export * from './change-password-dto';
|
|
76
77
|
export * from './choice-energy-meter-bo';
|
|
@@ -754,6 +755,7 @@ export * from './select-hire-energy-bill-details-bo';
|
|
|
754
755
|
export * from './select-meter-record-list-bo';
|
|
755
756
|
export * from './select-park-energy-bill-detail-bo';
|
|
756
757
|
export * from './select-time-cost-tenant-rent-bill-bo';
|
|
758
|
+
export * from './sms-captcha-vo';
|
|
757
759
|
export * from './source-alert-dto';
|
|
758
760
|
export * from './source-feedback-dto';
|
|
759
761
|
export * from './source-work-order-dto';
|
|
@@ -872,7 +874,6 @@ export * from './user-excel-dto';
|
|
|
872
874
|
export * from './user-roles-and-permissions-dto';
|
|
873
875
|
export * from './user-settings-entity';
|
|
874
876
|
export * from './user-settings-update-bo';
|
|
875
|
-
export * from './user-sms-captcha-enum';
|
|
876
877
|
export * from './user-whether-privacy-dto';
|
|
877
878
|
export * from './user-white-del-dto';
|
|
878
879
|
export * from './vehicle-payment-bo';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -71,6 +71,7 @@ export * from './call-police-history-dto';
|
|
|
71
71
|
export * from './call-police-history-handle';
|
|
72
72
|
export * from './call-police-type-dto';
|
|
73
73
|
export * from './call-police-type-enum';
|
|
74
|
+
export * from './captcha-type-enum';
|
|
74
75
|
export * from './center-list-dto';
|
|
75
76
|
export * from './change-password-dto';
|
|
76
77
|
export * from './choice-energy-meter-bo';
|
|
@@ -754,6 +755,7 @@ export * from './select-hire-energy-bill-details-bo';
|
|
|
754
755
|
export * from './select-meter-record-list-bo';
|
|
755
756
|
export * from './select-park-energy-bill-detail-bo';
|
|
756
757
|
export * from './select-time-cost-tenant-rent-bill-bo';
|
|
758
|
+
export * from './sms-captcha-vo';
|
|
757
759
|
export * from './source-alert-dto';
|
|
758
760
|
export * from './source-feedback-dto';
|
|
759
761
|
export * from './source-work-order-dto';
|
|
@@ -872,7 +874,6 @@ export * from './user-excel-dto';
|
|
|
872
874
|
export * from './user-roles-and-permissions-dto';
|
|
873
875
|
export * from './user-settings-entity';
|
|
874
876
|
export * from './user-settings-update-bo';
|
|
875
|
-
export * from './user-sms-captcha-enum';
|
|
876
877
|
export * from './user-whether-privacy-dto';
|
|
877
878
|
export * from './user-white-del-dto';
|
|
878
879
|
export * from './vehicle-payment-bo';
|
|
@@ -36,23 +36,23 @@ export interface IPageAccessVO {
|
|
|
36
36
|
'records'?: Array<AccessVO>;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {boolean}
|
|
40
40
|
* @memberof IPageAccessVO
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'searchCount'?: boolean;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
|
-
* @type {
|
|
45
|
+
* @type {number}
|
|
46
46
|
* @memberof IPageAccessVO
|
|
47
|
-
* @deprecated
|
|
48
47
|
*/
|
|
49
|
-
'
|
|
48
|
+
'pages'?: number;
|
|
50
49
|
/**
|
|
51
50
|
*
|
|
52
51
|
* @type {boolean}
|
|
53
52
|
* @memberof IPageAccessVO
|
|
53
|
+
* @deprecated
|
|
54
54
|
*/
|
|
55
|
-
'
|
|
55
|
+
'hitCount'?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {number}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
import type { CaptchaTypeEnum } from './captcha-type-enum';
|
|
13
|
+
/**
|
|
14
|
+
* 发送短信验证码
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SmsCaptchaVo
|
|
17
|
+
*/
|
|
18
|
+
export interface SmsCaptchaVo {
|
|
19
|
+
/**
|
|
20
|
+
* 手机号
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SmsCaptchaVo
|
|
23
|
+
*/
|
|
24
|
+
'phone': string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {CaptchaTypeEnum}
|
|
28
|
+
* @memberof SmsCaptchaVo
|
|
29
|
+
*/
|
|
30
|
+
'captchaType': CaptchaTypeEnum;
|
|
31
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export {};
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* 用户验证码相关常量
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
|
-
export declare const
|
|
17
|
+
export declare const CaptchaTypeEnum: {
|
|
18
18
|
readonly Login: "LOGIN";
|
|
19
19
|
readonly ChangePassword: "CHANGE_PASSWORD";
|
|
20
20
|
};
|
|
21
|
-
export type
|
|
21
|
+
export type CaptchaTypeEnum = typeof CaptchaTypeEnum[keyof typeof CaptchaTypeEnum];
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.CaptchaTypeEnum = void 0;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* 用户验证码相关常量
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
exports.
|
|
22
|
+
exports.CaptchaTypeEnum = {
|
|
23
23
|
Login: 'LOGIN',
|
|
24
24
|
ChangePassword: 'CHANGE_PASSWORD'
|
|
25
25
|
};
|
|
@@ -41,12 +41,6 @@ export interface GetUserWx200Response {
|
|
|
41
41
|
* @memberof GetUserWx200Response
|
|
42
42
|
*/
|
|
43
43
|
'locale'?: GetUserWx200ResponseLocale;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {number}
|
|
47
|
-
* @memberof GetUserWx200Response
|
|
48
|
-
*/
|
|
49
|
-
'bufferSize'?: number;
|
|
50
44
|
/**
|
|
51
45
|
*
|
|
52
46
|
* @type {string}
|
|
@@ -65,6 +59,12 @@ export interface GetUserWx200Response {
|
|
|
65
59
|
* @memberof GetUserWx200Response
|
|
66
60
|
*/
|
|
67
61
|
'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
|
@@ -71,6 +71,7 @@ export * from './call-police-history-dto';
|
|
|
71
71
|
export * from './call-police-history-handle';
|
|
72
72
|
export * from './call-police-type-dto';
|
|
73
73
|
export * from './call-police-type-enum';
|
|
74
|
+
export * from './captcha-type-enum';
|
|
74
75
|
export * from './center-list-dto';
|
|
75
76
|
export * from './change-password-dto';
|
|
76
77
|
export * from './choice-energy-meter-bo';
|
|
@@ -754,6 +755,7 @@ export * from './select-hire-energy-bill-details-bo';
|
|
|
754
755
|
export * from './select-meter-record-list-bo';
|
|
755
756
|
export * from './select-park-energy-bill-detail-bo';
|
|
756
757
|
export * from './select-time-cost-tenant-rent-bill-bo';
|
|
758
|
+
export * from './sms-captcha-vo';
|
|
757
759
|
export * from './source-alert-dto';
|
|
758
760
|
export * from './source-feedback-dto';
|
|
759
761
|
export * from './source-work-order-dto';
|
|
@@ -872,7 +874,6 @@ export * from './user-excel-dto';
|
|
|
872
874
|
export * from './user-roles-and-permissions-dto';
|
|
873
875
|
export * from './user-settings-entity';
|
|
874
876
|
export * from './user-settings-update-bo';
|
|
875
|
-
export * from './user-sms-captcha-enum';
|
|
876
877
|
export * from './user-whether-privacy-dto';
|
|
877
878
|
export * from './user-white-del-dto';
|
|
878
879
|
export * from './vehicle-payment-bo';
|
package/dist/models/index.js
CHANGED
|
@@ -87,6 +87,7 @@ __exportStar(require("./call-police-history-dto"), exports);
|
|
|
87
87
|
__exportStar(require("./call-police-history-handle"), exports);
|
|
88
88
|
__exportStar(require("./call-police-type-dto"), exports);
|
|
89
89
|
__exportStar(require("./call-police-type-enum"), exports);
|
|
90
|
+
__exportStar(require("./captcha-type-enum"), exports);
|
|
90
91
|
__exportStar(require("./center-list-dto"), exports);
|
|
91
92
|
__exportStar(require("./change-password-dto"), exports);
|
|
92
93
|
__exportStar(require("./choice-energy-meter-bo"), exports);
|
|
@@ -770,6 +771,7 @@ __exportStar(require("./select-hire-energy-bill-details-bo"), exports);
|
|
|
770
771
|
__exportStar(require("./select-meter-record-list-bo"), exports);
|
|
771
772
|
__exportStar(require("./select-park-energy-bill-detail-bo"), exports);
|
|
772
773
|
__exportStar(require("./select-time-cost-tenant-rent-bill-bo"), exports);
|
|
774
|
+
__exportStar(require("./sms-captcha-vo"), exports);
|
|
773
775
|
__exportStar(require("./source-alert-dto"), exports);
|
|
774
776
|
__exportStar(require("./source-feedback-dto"), exports);
|
|
775
777
|
__exportStar(require("./source-work-order-dto"), exports);
|
|
@@ -888,7 +890,6 @@ __exportStar(require("./user-excel-dto"), exports);
|
|
|
888
890
|
__exportStar(require("./user-roles-and-permissions-dto"), exports);
|
|
889
891
|
__exportStar(require("./user-settings-entity"), exports);
|
|
890
892
|
__exportStar(require("./user-settings-update-bo"), exports);
|
|
891
|
-
__exportStar(require("./user-sms-captcha-enum"), exports);
|
|
892
893
|
__exportStar(require("./user-whether-privacy-dto"), exports);
|
|
893
894
|
__exportStar(require("./user-white-del-dto"), exports);
|
|
894
895
|
__exportStar(require("./vehicle-payment-bo"), exports);
|
|
@@ -36,23 +36,23 @@ export interface IPageAccessVO {
|
|
|
36
36
|
'records'?: Array<AccessVO>;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {boolean}
|
|
40
40
|
* @memberof IPageAccessVO
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'searchCount'?: boolean;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
|
-
* @type {
|
|
45
|
+
* @type {number}
|
|
46
46
|
* @memberof IPageAccessVO
|
|
47
|
-
* @deprecated
|
|
48
47
|
*/
|
|
49
|
-
'
|
|
48
|
+
'pages'?: number;
|
|
50
49
|
/**
|
|
51
50
|
*
|
|
52
51
|
* @type {boolean}
|
|
53
52
|
* @memberof IPageAccessVO
|
|
53
|
+
* @deprecated
|
|
54
54
|
*/
|
|
55
|
-
'
|
|
55
|
+
'hitCount'?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {number}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
import type { CaptchaTypeEnum } from './captcha-type-enum';
|
|
13
|
+
/**
|
|
14
|
+
* 发送短信验证码
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SmsCaptchaVo
|
|
17
|
+
*/
|
|
18
|
+
export interface SmsCaptchaVo {
|
|
19
|
+
/**
|
|
20
|
+
* 手机号
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SmsCaptchaVo
|
|
23
|
+
*/
|
|
24
|
+
'phone': string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {CaptchaTypeEnum}
|
|
28
|
+
* @memberof SmsCaptchaVo
|
|
29
|
+
*/
|
|
30
|
+
'captchaType': CaptchaTypeEnum;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 });
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* 用户验证码相关常量
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
|
-
export const
|
|
23
|
+
export const CaptchaTypeEnum = {
|
|
24
24
|
Login: 'LOGIN',
|
|
25
25
|
ChangePassword: 'CHANGE_PASSWORD'
|
|
26
26
|
} as const;
|
|
27
27
|
|
|
28
|
-
export type
|
|
28
|
+
export type CaptchaTypeEnum = typeof CaptchaTypeEnum[keyof typeof CaptchaTypeEnum];
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
@@ -50,12 +50,6 @@ export interface GetUserWx200Response {
|
|
|
50
50
|
* @memberof GetUserWx200Response
|
|
51
51
|
*/
|
|
52
52
|
'locale'?: GetUserWx200ResponseLocale;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {number}
|
|
56
|
-
* @memberof GetUserWx200Response
|
|
57
|
-
*/
|
|
58
|
-
'bufferSize'?: number;
|
|
59
53
|
/**
|
|
60
54
|
*
|
|
61
55
|
* @type {string}
|
|
@@ -74,6 +68,12 @@ export interface GetUserWx200Response {
|
|
|
74
68
|
* @memberof GetUserWx200Response
|
|
75
69
|
*/
|
|
76
70
|
'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
|
@@ -71,6 +71,7 @@ export * from './call-police-history-dto';
|
|
|
71
71
|
export * from './call-police-history-handle';
|
|
72
72
|
export * from './call-police-type-dto';
|
|
73
73
|
export * from './call-police-type-enum';
|
|
74
|
+
export * from './captcha-type-enum';
|
|
74
75
|
export * from './center-list-dto';
|
|
75
76
|
export * from './change-password-dto';
|
|
76
77
|
export * from './choice-energy-meter-bo';
|
|
@@ -754,6 +755,7 @@ export * from './select-hire-energy-bill-details-bo';
|
|
|
754
755
|
export * from './select-meter-record-list-bo';
|
|
755
756
|
export * from './select-park-energy-bill-detail-bo';
|
|
756
757
|
export * from './select-time-cost-tenant-rent-bill-bo';
|
|
758
|
+
export * from './sms-captcha-vo';
|
|
757
759
|
export * from './source-alert-dto';
|
|
758
760
|
export * from './source-feedback-dto';
|
|
759
761
|
export * from './source-work-order-dto';
|
|
@@ -872,7 +874,6 @@ export * from './user-excel-dto';
|
|
|
872
874
|
export * from './user-roles-and-permissions-dto';
|
|
873
875
|
export * from './user-settings-entity';
|
|
874
876
|
export * from './user-settings-update-bo';
|
|
875
|
-
export * from './user-sms-captcha-enum';
|
|
876
877
|
export * from './user-whether-privacy-dto';
|
|
877
878
|
export * from './user-white-del-dto';
|
|
878
879
|
export * from './vehicle-payment-bo';
|
|
@@ -43,23 +43,23 @@ export interface IPageAccessVO {
|
|
|
43
43
|
'records'?: Array<AccessVO>;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {
|
|
46
|
+
* @type {boolean}
|
|
47
47
|
* @memberof IPageAccessVO
|
|
48
48
|
*/
|
|
49
|
-
'
|
|
49
|
+
'searchCount'?: boolean;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
|
-
* @type {
|
|
52
|
+
* @type {number}
|
|
53
53
|
* @memberof IPageAccessVO
|
|
54
|
-
* @deprecated
|
|
55
54
|
*/
|
|
56
|
-
'
|
|
55
|
+
'pages'?: number;
|
|
57
56
|
/**
|
|
58
57
|
*
|
|
59
58
|
* @type {boolean}
|
|
60
59
|
* @memberof IPageAccessVO
|
|
60
|
+
* @deprecated
|
|
61
61
|
*/
|
|
62
|
-
'
|
|
62
|
+
'hitCount'?: boolean;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
* @type {number}
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { CaptchaTypeEnum } from './captcha-type-enum';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* 发送短信验证码
|
|
22
|
+
* @export
|
|
23
|
+
* @interface SmsCaptchaVo
|
|
24
|
+
*/
|
|
25
|
+
export interface SmsCaptchaVo {
|
|
26
|
+
/**
|
|
27
|
+
* 手机号
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof SmsCaptchaVo
|
|
30
|
+
*/
|
|
31
|
+
'phone': string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {CaptchaTypeEnum}
|
|
35
|
+
* @memberof SmsCaptchaVo
|
|
36
|
+
*/
|
|
37
|
+
'captchaType': CaptchaTypeEnum;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|