@gizone/rrs-client 4.2.0-alpha.276 → 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.
@@ -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
package/apis/smsapi.ts CHANGED
@@ -22,7 +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
+ // @ts-ignore
27
+ import type { SmsCaptchaVo } from '../models';
26
28
  /**
27
29
  * SMSApi - axios parameter creator
28
30
  * @export
@@ -32,14 +34,14 @@ export const SMSApiAxiosParamCreator = function (configuration?: Configuration)
32
34
  /**
33
35
  *
34
36
  * @summary 发送验证码
35
- * @param {string} phone
37
+ * @param {SmsCaptchaVo} smsCaptchaVo
36
38
  * @param {*} [options] Override http request option.
37
39
  * @throws {RequiredError}
38
40
  */
39
- sms: async (phone: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
40
- // verify required parameter 'phone' is not null or undefined
41
- assertParamExists('sms', 'phone', phone)
42
- const localVarPath = `/gizone/sms`;
41
+ sendSmsCaptcha: async (smsCaptchaVo: SmsCaptchaVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42
+ // verify required parameter 'smsCaptchaVo' is not null or undefined
43
+ assertParamExists('sendSmsCaptcha', 'smsCaptchaVo', smsCaptchaVo)
44
+ const localVarPath = `/gizone/sms/captcha`;
43
45
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
44
46
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
45
47
  let baseOptions;
@@ -47,7 +49,7 @@ export const SMSApiAxiosParamCreator = function (configuration?: Configuration)
47
49
  baseOptions = configuration.baseOptions;
48
50
  }
49
51
 
50
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
52
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
51
53
  const localVarHeaderParameter = {} as any;
52
54
  const localVarQueryParameter = {} as any;
53
55
 
@@ -55,15 +57,14 @@ export const SMSApiAxiosParamCreator = function (configuration?: Configuration)
55
57
  // http bearer authentication required
56
58
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
57
59
 
58
- if (phone !== undefined) {
59
- localVarQueryParameter['phone'] = phone;
60
- }
61
-
62
60
 
63
61
 
62
+ localVarHeaderParameter['Content-Type'] = 'application/json';
63
+
64
64
  setSearchParams(localVarUrlObj, localVarQueryParameter);
65
65
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
66
66
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
67
+ localVarRequestOptions.data = serializeDataIfNeeded(smsCaptchaVo, localVarRequestOptions, configuration)
67
68
 
68
69
  return {
69
70
  url: toPathString(localVarUrlObj),
@@ -83,14 +84,14 @@ export const SMSApiFp = function(configuration?: Configuration) {
83
84
  /**
84
85
  *
85
86
  * @summary 发送验证码
86
- * @param {string} phone
87
+ * @param {SmsCaptchaVo} smsCaptchaVo
87
88
  * @param {*} [options] Override http request option.
88
89
  * @throws {RequiredError}
89
90
  */
90
- async sms(phone: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
91
- const localVarAxiosArgs = await localVarAxiosParamCreator.sms(phone, options);
91
+ async sendSmsCaptcha(smsCaptchaVo: SmsCaptchaVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
92
+ const localVarAxiosArgs = await localVarAxiosParamCreator.sendSmsCaptcha(smsCaptchaVo, options);
92
93
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
93
- const localVarOperationServerBasePath = operationServerMap['SMSApi.sms']?.[localVarOperationServerIndex]?.url;
94
+ const localVarOperationServerBasePath = operationServerMap['SMSApi.sendSmsCaptcha']?.[localVarOperationServerIndex]?.url;
94
95
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
95
96
  },
96
97
  }
@@ -106,28 +107,28 @@ export const SMSApiFactory = function (configuration?: Configuration, basePath?:
106
107
  /**
107
108
  *
108
109
  * @summary 发送验证码
109
- * @param {SMSApiSmsRequest} requestParameters Request parameters.
110
+ * @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
110
111
  * @param {*} [options] Override http request option.
111
112
  * @throws {RequiredError}
112
113
  */
113
- sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
114
- return localVarFp.sms(requestParameters.phone, 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));
115
116
  },
116
117
  };
117
118
  };
118
119
 
119
120
  /**
120
- * Request parameters for sms operation in SMSApi.
121
+ * Request parameters for sendSmsCaptcha operation in SMSApi.
121
122
  * @export
122
- * @interface SMSApiSmsRequest
123
+ * @interface SMSApiSendSmsCaptchaRequest
123
124
  */
124
- export interface SMSApiSmsRequest {
125
+ export interface SMSApiSendSmsCaptchaRequest {
125
126
  /**
126
127
  *
127
- * @type {string}
128
- * @memberof SMSApiSms
128
+ * @type {SmsCaptchaVo}
129
+ * @memberof SMSApiSendSmsCaptcha
129
130
  */
130
- readonly phone: string
131
+ readonly smsCaptchaVo: SmsCaptchaVo
131
132
  }
132
133
 
133
134
  /**
@@ -140,13 +141,13 @@ export class SMSApi extends BaseAPI {
140
141
  /**
141
142
  *
142
143
  * @summary 发送验证码
143
- * @param {SMSApiSmsRequest} requestParameters Request parameters.
144
+ * @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
144
145
  * @param {*} [options] Override http request option.
145
146
  * @throws {RequiredError}
146
147
  * @memberof SMSApi
147
148
  */
148
- public sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig) {
149
- return SMSApiFp(this.configuration).sms(requestParameters.phone, 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));
150
151
  }
151
152
  }
152
153
 
@@ -12,7 +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';
15
+ import type { JsonResultVoid } from '../models';
16
+ import type { SmsCaptchaVo } from '../models';
16
17
  /**
17
18
  * SMSApi - axios parameter creator
18
19
  * @export
@@ -21,11 +22,11 @@ export declare const SMSApiAxiosParamCreator: (configuration?: Configuration) =>
21
22
  /**
22
23
  *
23
24
  * @summary 发送验证码
24
- * @param {string} phone
25
+ * @param {SmsCaptchaVo} smsCaptchaVo
25
26
  * @param {*} [options] Override http request option.
26
27
  * @throws {RequiredError}
27
28
  */
28
- sms: (phone: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
+ sendSmsCaptcha: (smsCaptchaVo: SmsCaptchaVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
30
  };
30
31
  /**
31
32
  * SMSApi - functional programming interface
@@ -35,11 +36,11 @@ export declare const SMSApiFp: (configuration?: Configuration) => {
35
36
  /**
36
37
  *
37
38
  * @summary 发送验证码
38
- * @param {string} phone
39
+ * @param {SmsCaptchaVo} smsCaptchaVo
39
40
  * @param {*} [options] Override http request option.
40
41
  * @throws {RequiredError}
41
42
  */
42
- sms(phone: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
43
+ sendSmsCaptcha(smsCaptchaVo: SmsCaptchaVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
43
44
  };
44
45
  /**
45
46
  * SMSApi - factory interface
@@ -49,24 +50,24 @@ export declare const SMSApiFactory: (configuration?: Configuration, basePath?: s
49
50
  /**
50
51
  *
51
52
  * @summary 发送验证码
52
- * @param {SMSApiSmsRequest} requestParameters Request parameters.
53
+ * @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
53
54
  * @param {*} [options] Override http request option.
54
55
  * @throws {RequiredError}
55
56
  */
56
- sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
57
+ sendSmsCaptcha(requestParameters: SMSApiSendSmsCaptchaRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
57
58
  };
58
59
  /**
59
- * Request parameters for sms operation in SMSApi.
60
+ * Request parameters for sendSmsCaptcha operation in SMSApi.
60
61
  * @export
61
- * @interface SMSApiSmsRequest
62
+ * @interface SMSApiSendSmsCaptchaRequest
62
63
  */
63
- export interface SMSApiSmsRequest {
64
+ export interface SMSApiSendSmsCaptchaRequest {
64
65
  /**
65
66
  *
66
- * @type {string}
67
- * @memberof SMSApiSms
67
+ * @type {SmsCaptchaVo}
68
+ * @memberof SMSApiSendSmsCaptcha
68
69
  */
69
- readonly phone: string;
70
+ readonly smsCaptchaVo: SmsCaptchaVo;
70
71
  }
71
72
  /**
72
73
  * SMSApi - object-oriented interface
@@ -78,10 +79,10 @@ export declare class SMSApi extends BaseAPI {
78
79
  /**
79
80
  *
80
81
  * @summary 发送验证码
81
- * @param {SMSApiSmsRequest} requestParameters Request parameters.
82
+ * @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
82
83
  * @param {*} [options] Override http request option.
83
84
  * @throws {RequiredError}
84
85
  * @memberof SMSApi
85
86
  */
86
- sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any>>;
87
+ sendSmsCaptcha(requestParameters: SMSApiSendSmsCaptchaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
87
88
  }
@@ -38,32 +38,31 @@ const SMSApiAxiosParamCreator = function (configuration) {
38
38
  /**
39
39
  *
40
40
  * @summary 发送验证码
41
- * @param {string} phone
41
+ * @param {SmsCaptchaVo} smsCaptchaVo
42
42
  * @param {*} [options] Override http request option.
43
43
  * @throws {RequiredError}
44
44
  */
45
- sms: (phone_1, ...args_1) => __awaiter(this, [phone_1, ...args_1], void 0, function* (phone, options = {}) {
46
- // verify required parameter 'phone' is not null or undefined
47
- (0, common_1.assertParamExists)('sms', 'phone', phone);
48
- const localVarPath = `/gizone/sms`;
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);
48
+ const localVarPath = `/gizone/sms/captcha`;
49
49
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
50
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
51
51
  let baseOptions;
52
52
  if (configuration) {
53
53
  baseOptions = configuration.baseOptions;
54
54
  }
55
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
55
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
56
56
  const localVarHeaderParameter = {};
57
57
  const localVarQueryParameter = {};
58
58
  // authentication tokenScheme required
59
59
  // http bearer authentication required
60
60
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
61
- if (phone !== undefined) {
62
- localVarQueryParameter['phone'] = phone;
63
- }
61
+ localVarHeaderParameter['Content-Type'] = 'application/json';
64
62
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
65
63
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
66
64
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
65
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(smsCaptchaVo, localVarRequestOptions, configuration);
67
66
  return {
68
67
  url: (0, common_1.toPathString)(localVarUrlObj),
69
68
  options: localVarRequestOptions,
@@ -82,16 +81,16 @@ const SMSApiFp = function (configuration) {
82
81
  /**
83
82
  *
84
83
  * @summary 发送验证码
85
- * @param {string} phone
84
+ * @param {SmsCaptchaVo} smsCaptchaVo
86
85
  * @param {*} [options] Override http request option.
87
86
  * @throws {RequiredError}
88
87
  */
89
- sms(phone, options) {
88
+ sendSmsCaptcha(smsCaptchaVo, options) {
90
89
  return __awaiter(this, void 0, void 0, function* () {
91
90
  var _a, _b, _c;
92
- const localVarAxiosArgs = yield localVarAxiosParamCreator.sms(phone, options);
91
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.sendSmsCaptcha(smsCaptchaVo, options);
93
92
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
94
- 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;
95
94
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
96
95
  });
97
96
  },
@@ -108,12 +107,12 @@ const SMSApiFactory = function (configuration, basePath, axios) {
108
107
  /**
109
108
  *
110
109
  * @summary 发送验证码
111
- * @param {SMSApiSmsRequest} requestParameters Request parameters.
110
+ * @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
112
111
  * @param {*} [options] Override http request option.
113
112
  * @throws {RequiredError}
114
113
  */
115
- sms(requestParameters, options) {
116
- return localVarFp.sms(requestParameters.phone, options).then((request) => request(axios, basePath));
114
+ sendSmsCaptcha(requestParameters, options) {
115
+ return localVarFp.sendSmsCaptcha(requestParameters.smsCaptchaVo, options).then((request) => request(axios, basePath));
117
116
  },
118
117
  };
119
118
  };
@@ -128,13 +127,13 @@ class SMSApi extends base_1.BaseAPI {
128
127
  /**
129
128
  *
130
129
  * @summary 发送验证码
131
- * @param {SMSApiSmsRequest} requestParameters Request parameters.
130
+ * @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
132
131
  * @param {*} [options] Override http request option.
133
132
  * @throws {RequiredError}
134
133
  * @memberof SMSApi
135
134
  */
136
- sms(requestParameters, options) {
137
- return (0, exports.SMSApiFp)(this.configuration).sms(requestParameters.phone, 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));
138
137
  }
139
138
  }
140
139
  exports.SMSApi = SMSApi;
@@ -12,7 +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';
15
+ import type { JsonResultVoid } from '../models';
16
+ import type { SmsCaptchaVo } from '../models';
16
17
  /**
17
18
  * SMSApi - axios parameter creator
18
19
  * @export
@@ -21,11 +22,11 @@ export declare const SMSApiAxiosParamCreator: (configuration?: Configuration) =>
21
22
  /**
22
23
  *
23
24
  * @summary 发送验证码
24
- * @param {string} phone
25
+ * @param {SmsCaptchaVo} smsCaptchaVo
25
26
  * @param {*} [options] Override http request option.
26
27
  * @throws {RequiredError}
27
28
  */
28
- sms: (phone: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
+ sendSmsCaptcha: (smsCaptchaVo: SmsCaptchaVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
30
  };
30
31
  /**
31
32
  * SMSApi - functional programming interface
@@ -35,11 +36,11 @@ export declare const SMSApiFp: (configuration?: Configuration) => {
35
36
  /**
36
37
  *
37
38
  * @summary 发送验证码
38
- * @param {string} phone
39
+ * @param {SmsCaptchaVo} smsCaptchaVo
39
40
  * @param {*} [options] Override http request option.
40
41
  * @throws {RequiredError}
41
42
  */
42
- sms(phone: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
43
+ sendSmsCaptcha(smsCaptchaVo: SmsCaptchaVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
43
44
  };
44
45
  /**
45
46
  * SMSApi - factory interface
@@ -49,24 +50,24 @@ export declare const SMSApiFactory: (configuration?: Configuration, basePath?: s
49
50
  /**
50
51
  *
51
52
  * @summary 发送验证码
52
- * @param {SMSApiSmsRequest} requestParameters Request parameters.
53
+ * @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
53
54
  * @param {*} [options] Override http request option.
54
55
  * @throws {RequiredError}
55
56
  */
56
- sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
57
+ sendSmsCaptcha(requestParameters: SMSApiSendSmsCaptchaRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
57
58
  };
58
59
  /**
59
- * Request parameters for sms operation in SMSApi.
60
+ * Request parameters for sendSmsCaptcha operation in SMSApi.
60
61
  * @export
61
- * @interface SMSApiSmsRequest
62
+ * @interface SMSApiSendSmsCaptchaRequest
62
63
  */
63
- export interface SMSApiSmsRequest {
64
+ export interface SMSApiSendSmsCaptchaRequest {
64
65
  /**
65
66
  *
66
- * @type {string}
67
- * @memberof SMSApiSms
67
+ * @type {SmsCaptchaVo}
68
+ * @memberof SMSApiSendSmsCaptcha
68
69
  */
69
- readonly phone: string;
70
+ readonly smsCaptchaVo: SmsCaptchaVo;
70
71
  }
71
72
  /**
72
73
  * SMSApi - object-oriented interface
@@ -78,10 +79,10 @@ export declare class SMSApi extends BaseAPI {
78
79
  /**
79
80
  *
80
81
  * @summary 发送验证码
81
- * @param {SMSApiSmsRequest} requestParameters Request parameters.
82
+ * @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
82
83
  * @param {*} [options] Override http request option.
83
84
  * @throws {RequiredError}
84
85
  * @memberof SMSApi
85
86
  */
86
- sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any>>;
87
+ sendSmsCaptcha(requestParameters: SMSApiSendSmsCaptchaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
87
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,32 +35,31 @@ export const SMSApiAxiosParamCreator = function (configuration) {
35
35
  /**
36
36
  *
37
37
  * @summary 发送验证码
38
- * @param {string} phone
38
+ * @param {SmsCaptchaVo} smsCaptchaVo
39
39
  * @param {*} [options] Override http request option.
40
40
  * @throws {RequiredError}
41
41
  */
42
- sms: (phone_1, ...args_1) => __awaiter(this, [phone_1, ...args_1], void 0, function* (phone, options = {}) {
43
- // verify required parameter 'phone' is not null or undefined
44
- assertParamExists('sms', 'phone', phone);
45
- const localVarPath = `/gizone/sms`;
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);
45
+ const localVarPath = `/gizone/sms/captcha`;
46
46
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
47
47
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48
48
  let baseOptions;
49
49
  if (configuration) {
50
50
  baseOptions = configuration.baseOptions;
51
51
  }
52
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
52
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
53
53
  const localVarHeaderParameter = {};
54
54
  const localVarQueryParameter = {};
55
55
  // authentication tokenScheme required
56
56
  // http bearer authentication required
57
57
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
58
- if (phone !== undefined) {
59
- localVarQueryParameter['phone'] = phone;
60
- }
58
+ localVarHeaderParameter['Content-Type'] = 'application/json';
61
59
  setSearchParams(localVarUrlObj, localVarQueryParameter);
62
60
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
63
61
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
62
+ localVarRequestOptions.data = serializeDataIfNeeded(smsCaptchaVo, localVarRequestOptions, configuration);
64
63
  return {
65
64
  url: toPathString(localVarUrlObj),
66
65
  options: localVarRequestOptions,
@@ -78,16 +77,16 @@ export const SMSApiFp = function (configuration) {
78
77
  /**
79
78
  *
80
79
  * @summary 发送验证码
81
- * @param {string} phone
80
+ * @param {SmsCaptchaVo} smsCaptchaVo
82
81
  * @param {*} [options] Override http request option.
83
82
  * @throws {RequiredError}
84
83
  */
85
- sms(phone, options) {
84
+ sendSmsCaptcha(smsCaptchaVo, options) {
86
85
  return __awaiter(this, void 0, void 0, function* () {
87
86
  var _a, _b, _c;
88
- const localVarAxiosArgs = yield localVarAxiosParamCreator.sms(phone, options);
87
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.sendSmsCaptcha(smsCaptchaVo, options);
89
88
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
90
- 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;
91
90
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
92
91
  });
93
92
  },
@@ -103,12 +102,12 @@ export const SMSApiFactory = function (configuration, basePath, axios) {
103
102
  /**
104
103
  *
105
104
  * @summary 发送验证码
106
- * @param {SMSApiSmsRequest} requestParameters Request parameters.
105
+ * @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
107
106
  * @param {*} [options] Override http request option.
108
107
  * @throws {RequiredError}
109
108
  */
110
- sms(requestParameters, options) {
111
- return localVarFp.sms(requestParameters.phone, options).then((request) => request(axios, basePath));
109
+ sendSmsCaptcha(requestParameters, options) {
110
+ return localVarFp.sendSmsCaptcha(requestParameters.smsCaptchaVo, options).then((request) => request(axios, basePath));
112
111
  },
113
112
  };
114
113
  };
@@ -122,12 +121,12 @@ export class SMSApi extends BaseAPI {
122
121
  /**
123
122
  *
124
123
  * @summary 发送验证码
125
- * @param {SMSApiSmsRequest} requestParameters Request parameters.
124
+ * @param {SMSApiSendSmsCaptchaRequest} requestParameters Request parameters.
126
125
  * @param {*} [options] Override http request option.
127
126
  * @throws {RequiredError}
128
127
  * @memberof SMSApi
129
128
  */
130
- sms(requestParameters, options) {
131
- return SMSApiFp(this.configuration).sms(requestParameters.phone, 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));
132
131
  }
133
132
  }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * 用户验证码相关常量
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const CaptchaTypeEnum: {
18
+ readonly Login: "LOGIN";
19
+ readonly ChangePassword: "CHANGE_PASSWORD";
20
+ };
21
+ export type CaptchaTypeEnum = typeof CaptchaTypeEnum[keyof typeof CaptchaTypeEnum];
@@ -0,0 +1,22 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenAPI definition
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * 用户验证码相关常量
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ export const CaptchaTypeEnum = {
20
+ Login: 'LOGIN',
21
+ ChangePassword: 'CHANGE_PASSWORD'
22
+ };
@@ -25,16 +25,16 @@ export interface GetUserWx200Response {
25
25
  'status'?: number;
26
26
  /**
27
27
  *
28
- * @type {object}
28
+ * @type {Array<string>}
29
29
  * @memberof GetUserWx200Response
30
30
  */
31
- 'trailerFields'?: object;
31
+ 'headerNames'?: Array<string>;
32
32
  /**
33
33
  *
34
- * @type {Array<string>}
34
+ * @type {object}
35
35
  * @memberof GetUserWx200Response
36
36
  */
37
- 'headerNames'?: Array<string>;
37
+ 'trailerFields'?: object;
38
38
  /**
39
39
  *
40
40
  * @type {GetUserWx200ResponseLocale}
@@ -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';
@@ -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';
@@ -36,23 +36,23 @@ export interface IPageAccessVO {
36
36
  'records'?: Array<AccessVO>;
37
37
  /**
38
38
  *
39
- * @type {number}
39
+ * @type {boolean}
40
40
  * @memberof IPageAccessVO
41
41
  */
42
- 'pages'?: number;
42
+ 'searchCount'?: boolean;
43
43
  /**
44
44
  *
45
- * @type {boolean}
45
+ * @type {number}
46
46
  * @memberof IPageAccessVO
47
- * @deprecated
48
47
  */
49
- 'hitCount'?: boolean;
48
+ 'pages'?: number;
50
49
  /**
51
50
  *
52
51
  * @type {boolean}
53
52
  * @memberof IPageAccessVO
53
+ * @deprecated
54
54
  */
55
- 'searchCount'?: boolean;
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 {};
@@ -0,0 +1,21 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * 用户验证码相关常量
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const CaptchaTypeEnum: {
18
+ readonly Login: "LOGIN";
19
+ readonly ChangePassword: "CHANGE_PASSWORD";
20
+ };
21
+ export type CaptchaTypeEnum = typeof CaptchaTypeEnum[keyof typeof CaptchaTypeEnum];
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CaptchaTypeEnum = void 0;
17
+ /**
18
+ * 用户验证码相关常量
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.CaptchaTypeEnum = {
23
+ Login: 'LOGIN',
24
+ ChangePassword: 'CHANGE_PASSWORD'
25
+ };
@@ -25,16 +25,16 @@ export interface GetUserWx200Response {
25
25
  'status'?: number;
26
26
  /**
27
27
  *
28
- * @type {object}
28
+ * @type {Array<string>}
29
29
  * @memberof GetUserWx200Response
30
30
  */
31
- 'trailerFields'?: object;
31
+ 'headerNames'?: Array<string>;
32
32
  /**
33
33
  *
34
- * @type {Array<string>}
34
+ * @type {object}
35
35
  * @memberof GetUserWx200Response
36
36
  */
37
- 'headerNames'?: Array<string>;
37
+ 'trailerFields'?: object;
38
38
  /**
39
39
  *
40
40
  * @type {GetUserWx200ResponseLocale}
@@ -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';
@@ -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);
@@ -36,23 +36,23 @@ export interface IPageAccessVO {
36
36
  'records'?: Array<AccessVO>;
37
37
  /**
38
38
  *
39
- * @type {number}
39
+ * @type {boolean}
40
40
  * @memberof IPageAccessVO
41
41
  */
42
- 'pages'?: number;
42
+ 'searchCount'?: boolean;
43
43
  /**
44
44
  *
45
- * @type {boolean}
45
+ * @type {number}
46
46
  * @memberof IPageAccessVO
47
- * @deprecated
48
47
  */
49
- 'hitCount'?: boolean;
48
+ 'pages'?: number;
50
49
  /**
51
50
  *
52
51
  * @type {boolean}
53
52
  * @memberof IPageAccessVO
53
+ * @deprecated
54
54
  */
55
- 'searchCount'?: boolean;
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 });
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenAPI definition
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ * 用户验证码相关常量
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const CaptchaTypeEnum = {
24
+ Login: 'LOGIN',
25
+ ChangePassword: 'CHANGE_PASSWORD'
26
+ } as const;
27
+
28
+ export type CaptchaTypeEnum = typeof CaptchaTypeEnum[keyof typeof CaptchaTypeEnum];
29
+
30
+
31
+
@@ -34,16 +34,16 @@ export interface GetUserWx200Response {
34
34
  'status'?: number;
35
35
  /**
36
36
  *
37
- * @type {object}
37
+ * @type {Array<string>}
38
38
  * @memberof GetUserWx200Response
39
39
  */
40
- 'trailerFields'?: object;
40
+ 'headerNames'?: Array<string>;
41
41
  /**
42
42
  *
43
- * @type {Array<string>}
43
+ * @type {object}
44
44
  * @memberof GetUserWx200Response
45
45
  */
46
- 'headerNames'?: Array<string>;
46
+ 'trailerFields'?: object;
47
47
  /**
48
48
  *
49
49
  * @type {GetUserWx200ResponseLocale}
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';
@@ -43,23 +43,23 @@ export interface IPageAccessVO {
43
43
  'records'?: Array<AccessVO>;
44
44
  /**
45
45
  *
46
- * @type {number}
46
+ * @type {boolean}
47
47
  * @memberof IPageAccessVO
48
48
  */
49
- 'pages'?: number;
49
+ 'searchCount'?: boolean;
50
50
  /**
51
51
  *
52
- * @type {boolean}
52
+ * @type {number}
53
53
  * @memberof IPageAccessVO
54
- * @deprecated
55
54
  */
56
- 'hitCount'?: boolean;
55
+ 'pages'?: number;
57
56
  /**
58
57
  *
59
58
  * @type {boolean}
60
59
  * @memberof IPageAccessVO
60
+ * @deprecated
61
61
  */
62
- 'searchCount'?: boolean;
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
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gizone/rrs-client",
3
- "version": "4.2.0-alpha.276",
3
+ "version": "4.2.0-alpha.279",
4
4
  "description": "OpenAPI client for @gizone/rrs-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {