@gizone/rrs-client 4.2.0-alpha.277 → 4.2.0-alpha.280

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.
@@ -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 { JsonResult } from '../models';
25
+ import type { JsonResultVoid } from '../models';
26
26
  // @ts-ignore
27
- import type { UserSmsCaptchaEnum } from '../models';
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 {string} phone
38
- * @param {UserSmsCaptchaEnum} userSmsCaptcha
37
+ * @param {SmsCaptchaVo} smsCaptchaVo
39
38
  * @param {*} [options] Override http request option.
40
39
  * @throws {RequiredError}
41
40
  */
42
- sms: async (phone: string, userSmsCaptcha: UserSmsCaptchaEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
43
- // verify required parameter 'phone' is not null or undefined
44
- assertParamExists('sms', 'phone', phone)
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: 'GET', ...baseOptions, ...options};
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 {string} phone
96
- * @param {UserSmsCaptchaEnum} userSmsCaptcha
87
+ * @param {SmsCaptchaVo} smsCaptchaVo
97
88
  * @param {*} [options] Override http request option.
98
89
  * @throws {RequiredError}
99
90
  */
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);
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.sms']?.[localVarOperationServerIndex]?.url;
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 {SMSApiSmsRequest} requestParameters Request parameters.
110
+ * @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
120
111
  * @param {*} [options] Override http request option.
121
112
  * @throws {RequiredError}
122
113
  */
123
- sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
124
- return localVarFp.sms(requestParameters.phone, requestParameters.userSmsCaptcha, options).then((request) => request(axios, basePath));
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 sms operation in SMSApi.
121
+ * Request parameters for sendSmsCaptcha operation in SMSApi.
131
122
  * @export
132
- * @interface SMSApiSmsRequest
123
+ * @interface SMSApiSendSmsCaptchaRequest
133
124
  */
134
- export interface SMSApiSmsRequest {
135
- /**
136
- *
137
- * @type {string}
138
- * @memberof SMSApiSms
139
- */
140
- readonly phone: string
141
-
125
+ export interface SMSApiSendSmsCaptchaRequest {
142
126
  /**
143
127
  *
144
- * @type {UserSmsCaptchaEnum}
145
- * @memberof SMSApiSms
128
+ * @type {SmsCaptchaVo}
129
+ * @memberof SMSApiSendSmsCaptcha
146
130
  */
147
- readonly userSmsCaptcha: UserSmsCaptchaEnum
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 {SMSApiSmsRequest} requestParameters Request parameters.
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 sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig) {
166
- return SMSApiFp(this.configuration).sms(requestParameters.phone, requestParameters.userSmsCaptcha, options).then((request) => request(this.axios, this.basePath));
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
 
@@ -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 { JsonResult } from '../models';
16
- import type { UserSmsCaptchaEnum } from '../models';
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 {string} phone
26
- * @param {UserSmsCaptchaEnum} userSmsCaptcha
25
+ * @param {SmsCaptchaVo} smsCaptchaVo
27
26
  * @param {*} [options] Override http request option.
28
27
  * @throws {RequiredError}
29
28
  */
30
- sms: (phone: string, userSmsCaptcha: UserSmsCaptchaEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
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 {string} phone
41
- * @param {UserSmsCaptchaEnum} userSmsCaptcha
39
+ * @param {SmsCaptchaVo} smsCaptchaVo
42
40
  * @param {*} [options] Override http request option.
43
41
  * @throws {RequiredError}
44
42
  */
45
- sms(phone: string, userSmsCaptcha: UserSmsCaptchaEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
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 {SMSApiSmsRequest} requestParameters Request parameters.
53
+ * @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
56
54
  * @param {*} [options] Override http request option.
57
55
  * @throws {RequiredError}
58
56
  */
59
- sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
57
+ sendSmsCaptcha(requestParameters: SMSApiSendSmsCaptchaRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
60
58
  };
61
59
  /**
62
- * Request parameters for sms operation in SMSApi.
60
+ * Request parameters for sendSmsCaptcha operation in SMSApi.
63
61
  * @export
64
- * @interface SMSApiSmsRequest
62
+ * @interface SMSApiSendSmsCaptchaRequest
65
63
  */
66
- export interface SMSApiSmsRequest {
64
+ export interface SMSApiSendSmsCaptchaRequest {
67
65
  /**
68
66
  *
69
- * @type {string}
70
- * @memberof SMSApiSms
67
+ * @type {SmsCaptchaVo}
68
+ * @memberof SMSApiSendSmsCaptcha
71
69
  */
72
- readonly phone: string;
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 {SMSApiSmsRequest} requestParameters Request parameters.
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
- sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any>>;
87
+ sendSmsCaptcha(requestParameters: SMSApiSendSmsCaptchaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
96
88
  }
@@ -38,16 +38,13 @@ const SMSApiAxiosParamCreator = function (configuration) {
38
38
  /**
39
39
  *
40
40
  * @summary 发送验证码
41
- * @param {string} phone
42
- * @param {UserSmsCaptchaEnum} userSmsCaptcha
41
+ * @param {SmsCaptchaVo} smsCaptchaVo
43
42
  * @param {*} [options] Override http request option.
44
43
  * @throws {RequiredError}
45
44
  */
46
- sms: (phone_1, userSmsCaptcha_1, ...args_1) => __awaiter(this, [phone_1, userSmsCaptcha_1, ...args_1], void 0, function* (phone, userSmsCaptcha, options = {}) {
47
- // verify required parameter 'phone' is not null or undefined
48
- (0, common_1.assertParamExists)('sms', 'phone', phone);
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: 'GET' }, baseOptions), options);
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
- if (phone !== undefined) {
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 {string} phone
92
- * @param {UserSmsCaptchaEnum} userSmsCaptcha
84
+ * @param {SmsCaptchaVo} smsCaptchaVo
93
85
  * @param {*} [options] Override http request option.
94
86
  * @throws {RequiredError}
95
87
  */
96
- sms(phone, userSmsCaptcha, options) {
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.sms(phone, userSmsCaptcha, options);
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.sms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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 {SMSApiSmsRequest} requestParameters Request parameters.
110
+ * @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
119
111
  * @param {*} [options] Override http request option.
120
112
  * @throws {RequiredError}
121
113
  */
122
- sms(requestParameters, options) {
123
- return localVarFp.sms(requestParameters.phone, requestParameters.userSmsCaptcha, options).then((request) => request(axios, basePath));
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 {SMSApiSmsRequest} requestParameters Request parameters.
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
- sms(requestParameters, options) {
144
- return (0, exports.SMSApiFp)(this.configuration).sms(requestParameters.phone, requestParameters.userSmsCaptcha, options).then((request) => request(this.axios, this.basePath));
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 { JsonResult } from '../models';
16
- import type { UserSmsCaptchaEnum } from '../models';
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 {string} phone
26
- * @param {UserSmsCaptchaEnum} userSmsCaptcha
25
+ * @param {SmsCaptchaVo} smsCaptchaVo
27
26
  * @param {*} [options] Override http request option.
28
27
  * @throws {RequiredError}
29
28
  */
30
- sms: (phone: string, userSmsCaptcha: UserSmsCaptchaEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
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 {string} phone
41
- * @param {UserSmsCaptchaEnum} userSmsCaptcha
39
+ * @param {SmsCaptchaVo} smsCaptchaVo
42
40
  * @param {*} [options] Override http request option.
43
41
  * @throws {RequiredError}
44
42
  */
45
- sms(phone: string, userSmsCaptcha: UserSmsCaptchaEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
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 {SMSApiSmsRequest} requestParameters Request parameters.
53
+ * @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
56
54
  * @param {*} [options] Override http request option.
57
55
  * @throws {RequiredError}
58
56
  */
59
- sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
57
+ sendSmsCaptcha(requestParameters: SMSApiSendSmsCaptchaRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
60
58
  };
61
59
  /**
62
- * Request parameters for sms operation in SMSApi.
60
+ * Request parameters for sendSmsCaptcha operation in SMSApi.
63
61
  * @export
64
- * @interface SMSApiSmsRequest
62
+ * @interface SMSApiSendSmsCaptchaRequest
65
63
  */
66
- export interface SMSApiSmsRequest {
64
+ export interface SMSApiSendSmsCaptchaRequest {
67
65
  /**
68
66
  *
69
- * @type {string}
70
- * @memberof SMSApiSms
67
+ * @type {SmsCaptchaVo}
68
+ * @memberof SMSApiSendSmsCaptcha
71
69
  */
72
- readonly phone: string;
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 {SMSApiSmsRequest} requestParameters Request parameters.
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
- sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any>>;
87
+ sendSmsCaptcha(requestParameters: SMSApiSendSmsCaptchaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
96
88
  }
@@ -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 {string} phone
39
- * @param {UserSmsCaptchaEnum} userSmsCaptcha
38
+ * @param {SmsCaptchaVo} smsCaptchaVo
40
39
  * @param {*} [options] Override http request option.
41
40
  * @throws {RequiredError}
42
41
  */
43
- sms: (phone_1, userSmsCaptcha_1, ...args_1) => __awaiter(this, [phone_1, userSmsCaptcha_1, ...args_1], void 0, function* (phone, userSmsCaptcha, options = {}) {
44
- // verify required parameter 'phone' is not null or undefined
45
- assertParamExists('sms', 'phone', phone);
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: 'GET' }, baseOptions), options);
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
- if (phone !== undefined) {
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 {string} phone
88
- * @param {UserSmsCaptchaEnum} userSmsCaptcha
80
+ * @param {SmsCaptchaVo} smsCaptchaVo
89
81
  * @param {*} [options] Override http request option.
90
82
  * @throws {RequiredError}
91
83
  */
92
- sms(phone, userSmsCaptcha, options) {
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.sms(phone, userSmsCaptcha, options);
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.sms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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 {SMSApiSmsRequest} requestParameters Request parameters.
105
+ * @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
114
106
  * @param {*} [options] Override http request option.
115
107
  * @throws {RequiredError}
116
108
  */
117
- sms(requestParameters, options) {
118
- return localVarFp.sms(requestParameters.phone, requestParameters.userSmsCaptcha, options).then((request) => request(axios, basePath));
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 {SMSApiSmsRequest} requestParameters Request parameters.
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
- sms(requestParameters, options) {
138
- return SMSApiFp(this.configuration).sms(requestParameters.phone, requestParameters.userSmsCaptcha, options).then((request) => request(this.axios, this.basePath));
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 UserSmsCaptchaEnum: {
17
+ export declare const CaptchaTypeEnum: {
18
18
  readonly Login: "LOGIN";
19
19
  readonly ChangePassword: "CHANGE_PASSWORD";
20
20
  };
21
- export type UserSmsCaptchaEnum = typeof UserSmsCaptchaEnum[keyof typeof UserSmsCaptchaEnum];
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 UserSmsCaptchaEnum = {
19
+ export const CaptchaTypeEnum = {
20
20
  Login: 'LOGIN',
21
21
  ChangePassword: 'CHANGE_PASSWORD'
22
22
  };
@@ -37,34 +37,34 @@ export interface GetUserWx200Response {
37
37
  'trailerFields'?: object;
38
38
  /**
39
39
  *
40
- * @type {GetUserWx200ResponseLocale}
40
+ * @type {string}
41
41
  * @memberof GetUserWx200Response
42
42
  */
43
- 'locale'?: GetUserWx200ResponseLocale;
43
+ 'contentType'?: string;
44
44
  /**
45
45
  *
46
46
  * @type {number}
47
47
  * @memberof GetUserWx200Response
48
48
  */
49
- 'bufferSize'?: number;
49
+ 'contentLength'?: number;
50
50
  /**
51
51
  *
52
- * @type {string}
52
+ * @type {GetUserWx200ResponseOutputStream}
53
53
  * @memberof GetUserWx200Response
54
54
  */
55
- 'contentType'?: string;
55
+ 'outputStream'?: GetUserWx200ResponseOutputStream;
56
56
  /**
57
57
  *
58
- * @type {number}
58
+ * @type {GetUserWx200ResponseLocale}
59
59
  * @memberof GetUserWx200Response
60
60
  */
61
- 'contentLength'?: number;
61
+ 'locale'?: GetUserWx200ResponseLocale;
62
62
  /**
63
63
  *
64
- * @type {GetUserWx200ResponseOutputStream}
64
+ * @type {number}
65
65
  * @memberof GetUserWx200Response
66
66
  */
67
- 'outputStream'?: GetUserWx200ResponseOutputStream;
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';
@@ -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';
@@ -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 UserSmsCaptchaEnum: {
17
+ export declare const CaptchaTypeEnum: {
18
18
  readonly Login: "LOGIN";
19
19
  readonly ChangePassword: "CHANGE_PASSWORD";
20
20
  };
21
- export type UserSmsCaptchaEnum = typeof UserSmsCaptchaEnum[keyof typeof UserSmsCaptchaEnum];
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.UserSmsCaptchaEnum = void 0;
16
+ exports.CaptchaTypeEnum = void 0;
17
17
  /**
18
- * 用户短信验证码相关常量
18
+ * 用户验证码相关常量
19
19
  * @export
20
20
  * @enum {string}
21
21
  */
22
- exports.UserSmsCaptchaEnum = {
22
+ exports.CaptchaTypeEnum = {
23
23
  Login: 'LOGIN',
24
24
  ChangePassword: 'CHANGE_PASSWORD'
25
25
  };
@@ -37,34 +37,34 @@ export interface GetUserWx200Response {
37
37
  'trailerFields'?: object;
38
38
  /**
39
39
  *
40
- * @type {GetUserWx200ResponseLocale}
40
+ * @type {string}
41
41
  * @memberof GetUserWx200Response
42
42
  */
43
- 'locale'?: GetUserWx200ResponseLocale;
43
+ 'contentType'?: string;
44
44
  /**
45
45
  *
46
46
  * @type {number}
47
47
  * @memberof GetUserWx200Response
48
48
  */
49
- 'bufferSize'?: number;
49
+ 'contentLength'?: number;
50
50
  /**
51
51
  *
52
- * @type {string}
52
+ * @type {GetUserWx200ResponseOutputStream}
53
53
  * @memberof GetUserWx200Response
54
54
  */
55
- 'contentType'?: string;
55
+ 'outputStream'?: GetUserWx200ResponseOutputStream;
56
56
  /**
57
57
  *
58
- * @type {number}
58
+ * @type {GetUserWx200ResponseLocale}
59
59
  * @memberof GetUserWx200Response
60
60
  */
61
- 'contentLength'?: number;
61
+ 'locale'?: GetUserWx200ResponseLocale;
62
62
  /**
63
63
  *
64
- * @type {GetUserWx200ResponseOutputStream}
64
+ * @type {number}
65
65
  * @memberof GetUserWx200Response
66
66
  */
67
- 'outputStream'?: GetUserWx200ResponseOutputStream;
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';
@@ -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);
@@ -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 UserSmsCaptchaEnum = {
23
+ export const CaptchaTypeEnum = {
24
24
  Login: 'LOGIN',
25
25
  ChangePassword: 'CHANGE_PASSWORD'
26
26
  } as const;
27
27
 
28
- export type UserSmsCaptchaEnum = typeof UserSmsCaptchaEnum[keyof typeof UserSmsCaptchaEnum];
28
+ export type CaptchaTypeEnum = typeof CaptchaTypeEnum[keyof typeof CaptchaTypeEnum];
29
29
 
30
30
 
31
31
 
@@ -46,34 +46,34 @@ export interface GetUserWx200Response {
46
46
  'trailerFields'?: object;
47
47
  /**
48
48
  *
49
- * @type {GetUserWx200ResponseLocale}
49
+ * @type {string}
50
50
  * @memberof GetUserWx200Response
51
51
  */
52
- 'locale'?: GetUserWx200ResponseLocale;
52
+ 'contentType'?: string;
53
53
  /**
54
54
  *
55
55
  * @type {number}
56
56
  * @memberof GetUserWx200Response
57
57
  */
58
- 'bufferSize'?: number;
58
+ 'contentLength'?: number;
59
59
  /**
60
60
  *
61
- * @type {string}
61
+ * @type {GetUserWx200ResponseOutputStream}
62
62
  * @memberof GetUserWx200Response
63
63
  */
64
- 'contentType'?: string;
64
+ 'outputStream'?: GetUserWx200ResponseOutputStream;
65
65
  /**
66
66
  *
67
- * @type {number}
67
+ * @type {GetUserWx200ResponseLocale}
68
68
  * @memberof GetUserWx200Response
69
69
  */
70
- 'contentLength'?: number;
70
+ 'locale'?: GetUserWx200ResponseLocale;
71
71
  /**
72
72
  *
73
- * @type {GetUserWx200ResponseOutputStream}
73
+ * @type {number}
74
74
  * @memberof GetUserWx200Response
75
75
  */
76
- 'outputStream'?: GetUserWx200ResponseOutputStream;
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';
@@ -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
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gizone/rrs-client",
3
- "version": "4.2.0-alpha.277",
3
+ "version": "4.2.0-alpha.280",
4
4
  "description": "OpenAPI client for @gizone/rrs-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {