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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,175 +13,42 @@ import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { JsonResult } from '../models';
16
+ import type { UserSmsCaptchaEnum } from '../models';
16
17
  /**
17
18
  * SMSApi - axios parameter creator
18
19
  * @export
19
20
  */
20
21
  export declare const SMSApiAxiosParamCreator: (configuration?: Configuration) => {
21
- /**
22
- *
23
- * @param {*} [options] Override http request option.
24
- * @throws {RequiredError}
25
- */
26
- fusionGetToken2: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
27
- /**
28
- *
29
- * @param {*} [options] Override http request option.
30
- * @throws {RequiredError}
31
- */
32
- fusionGetToken3: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
33
- /**
34
- *
35
- * @param {*} [options] Override http request option.
36
- * @throws {RequiredError}
37
- */
38
- getTokenByHttp2: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
- /**
40
- *
41
- * @param {*} [options] Override http request option.
42
- * @throws {RequiredError}
43
- */
44
- getTokenByHttp3: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45
- /**
46
- *
47
- * @param {string} phone
48
- * @param {string} templateCode
49
- * @param {*} [options] Override http request option.
50
- * @throws {RequiredError}
51
- */
52
- sendSms: (phone: string, templateCode: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
53
- /**
54
- *
55
- * @param {string} phone
56
- * @param {string} templateCode
57
- * @param {*} [options] Override http request option.
58
- * @throws {RequiredError}
59
- */
60
- sendSms1: (phone: string, templateCode: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
61
- /**
62
- *
63
- * @summary 发送验证码
64
- * @param {string} phone
65
- * @param {*} [options] Override http request option.
66
- * @throws {RequiredError}
67
- */
68
- sms: (phone: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
69
22
  /**
70
23
  *
71
24
  * @summary 发送验证码
72
25
  * @param {string} phone
73
- * @param {string} msg
26
+ * @param {UserSmsCaptchaEnum} userSmsCaptcha
74
27
  * @param {*} [options] Override http request option.
75
28
  * @throws {RequiredError}
76
29
  */
77
- testSMS: (phone: string, msg: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
+ sms: (phone: string, userSmsCaptcha: UserSmsCaptchaEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
78
31
  };
79
32
  /**
80
33
  * SMSApi - functional programming interface
81
34
  * @export
82
35
  */
83
36
  export declare const SMSApiFp: (configuration?: Configuration) => {
84
- /**
85
- *
86
- * @param {*} [options] Override http request option.
87
- * @throws {RequiredError}
88
- */
89
- fusionGetToken2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
90
- /**
91
- *
92
- * @param {*} [options] Override http request option.
93
- * @throws {RequiredError}
94
- */
95
- fusionGetToken3(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
96
- /**
97
- *
98
- * @param {*} [options] Override http request option.
99
- * @throws {RequiredError}
100
- */
101
- getTokenByHttp2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
102
- /**
103
- *
104
- * @param {*} [options] Override http request option.
105
- * @throws {RequiredError}
106
- */
107
- getTokenByHttp3(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
108
- /**
109
- *
110
- * @param {string} phone
111
- * @param {string} templateCode
112
- * @param {*} [options] Override http request option.
113
- * @throws {RequiredError}
114
- */
115
- sendSms(phone: string, templateCode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
116
- /**
117
- *
118
- * @param {string} phone
119
- * @param {string} templateCode
120
- * @param {*} [options] Override http request option.
121
- * @throws {RequiredError}
122
- */
123
- sendSms1(phone: string, templateCode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
124
- /**
125
- *
126
- * @summary 发送验证码
127
- * @param {string} phone
128
- * @param {*} [options] Override http request option.
129
- * @throws {RequiredError}
130
- */
131
- sms(phone: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
132
37
  /**
133
38
  *
134
39
  * @summary 发送验证码
135
40
  * @param {string} phone
136
- * @param {string} msg
41
+ * @param {UserSmsCaptchaEnum} userSmsCaptcha
137
42
  * @param {*} [options] Override http request option.
138
43
  * @throws {RequiredError}
139
44
  */
140
- testSMS(phone: string, msg: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
45
+ sms(phone: string, userSmsCaptcha: UserSmsCaptchaEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
141
46
  };
142
47
  /**
143
48
  * SMSApi - factory interface
144
49
  * @export
145
50
  */
146
51
  export declare const SMSApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
147
- /**
148
- *
149
- * @param {*} [options] Override http request option.
150
- * @throws {RequiredError}
151
- */
152
- fusionGetToken2(options?: RawAxiosRequestConfig): AxiosPromise<string>;
153
- /**
154
- *
155
- * @param {*} [options] Override http request option.
156
- * @throws {RequiredError}
157
- */
158
- fusionGetToken3(options?: RawAxiosRequestConfig): AxiosPromise<string>;
159
- /**
160
- *
161
- * @param {*} [options] Override http request option.
162
- * @throws {RequiredError}
163
- */
164
- getTokenByHttp2(options?: RawAxiosRequestConfig): AxiosPromise<string>;
165
- /**
166
- *
167
- * @param {*} [options] Override http request option.
168
- * @throws {RequiredError}
169
- */
170
- getTokenByHttp3(options?: RawAxiosRequestConfig): AxiosPromise<string>;
171
- /**
172
- *
173
- * @param {SMSApiSendSmsRequest} requestParameters Request parameters.
174
- * @param {*} [options] Override http request option.
175
- * @throws {RequiredError}
176
- */
177
- sendSms(requestParameters: SMSApiSendSmsRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
178
- /**
179
- *
180
- * @param {SMSApiSendSms1Request} requestParameters Request parameters.
181
- * @param {*} [options] Override http request option.
182
- * @throws {RequiredError}
183
- */
184
- sendSms1(requestParameters: SMSApiSendSms1Request, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
185
52
  /**
186
53
  *
187
54
  * @summary 发送验证码
@@ -190,53 +57,7 @@ export declare const SMSApiFactory: (configuration?: Configuration, basePath?: s
190
57
  * @throws {RequiredError}
191
58
  */
192
59
  sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
193
- /**
194
- *
195
- * @summary 发送验证码
196
- * @param {SMSApiTestSMSRequest} requestParameters Request parameters.
197
- * @param {*} [options] Override http request option.
198
- * @throws {RequiredError}
199
- */
200
- testSMS(requestParameters: SMSApiTestSMSRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
201
60
  };
202
- /**
203
- * Request parameters for sendSms operation in SMSApi.
204
- * @export
205
- * @interface SMSApiSendSmsRequest
206
- */
207
- export interface SMSApiSendSmsRequest {
208
- /**
209
- *
210
- * @type {string}
211
- * @memberof SMSApiSendSms
212
- */
213
- readonly phone: string;
214
- /**
215
- *
216
- * @type {string}
217
- * @memberof SMSApiSendSms
218
- */
219
- readonly templateCode: string;
220
- }
221
- /**
222
- * Request parameters for sendSms1 operation in SMSApi.
223
- * @export
224
- * @interface SMSApiSendSms1Request
225
- */
226
- export interface SMSApiSendSms1Request {
227
- /**
228
- *
229
- * @type {string}
230
- * @memberof SMSApiSendSms1
231
- */
232
- readonly phone: string;
233
- /**
234
- *
235
- * @type {string}
236
- * @memberof SMSApiSendSms1
237
- */
238
- readonly templateCode: string;
239
- }
240
61
  /**
241
62
  * Request parameters for sms operation in SMSApi.
242
63
  * @export
@@ -249,25 +70,12 @@ export interface SMSApiSmsRequest {
249
70
  * @memberof SMSApiSms
250
71
  */
251
72
  readonly phone: string;
252
- }
253
- /**
254
- * Request parameters for testSMS operation in SMSApi.
255
- * @export
256
- * @interface SMSApiTestSMSRequest
257
- */
258
- export interface SMSApiTestSMSRequest {
259
73
  /**
260
74
  *
261
- * @type {string}
262
- * @memberof SMSApiTestSMS
263
- */
264
- readonly phone: string;
265
- /**
266
- *
267
- * @type {string}
268
- * @memberof SMSApiTestSMS
75
+ * @type {UserSmsCaptchaEnum}
76
+ * @memberof SMSApiSms
269
77
  */
270
- readonly msg: string;
78
+ readonly userSmsCaptcha: UserSmsCaptchaEnum;
271
79
  }
272
80
  /**
273
81
  * SMSApi - object-oriented interface
@@ -276,50 +84,6 @@ export interface SMSApiTestSMSRequest {
276
84
  * @extends {BaseAPI}
277
85
  */
278
86
  export declare class SMSApi extends BaseAPI {
279
- /**
280
- *
281
- * @param {*} [options] Override http request option.
282
- * @throws {RequiredError}
283
- * @memberof SMSApi
284
- */
285
- fusionGetToken2(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
286
- /**
287
- *
288
- * @param {*} [options] Override http request option.
289
- * @throws {RequiredError}
290
- * @memberof SMSApi
291
- */
292
- fusionGetToken3(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
293
- /**
294
- *
295
- * @param {*} [options] Override http request option.
296
- * @throws {RequiredError}
297
- * @memberof SMSApi
298
- */
299
- getTokenByHttp2(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
300
- /**
301
- *
302
- * @param {*} [options] Override http request option.
303
- * @throws {RequiredError}
304
- * @memberof SMSApi
305
- */
306
- getTokenByHttp3(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
307
- /**
308
- *
309
- * @param {SMSApiSendSmsRequest} requestParameters Request parameters.
310
- * @param {*} [options] Override http request option.
311
- * @throws {RequiredError}
312
- * @memberof SMSApi
313
- */
314
- sendSms(requestParameters: SMSApiSendSmsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
315
- /**
316
- *
317
- * @param {SMSApiSendSms1Request} requestParameters Request parameters.
318
- * @param {*} [options] Override http request option.
319
- * @throws {RequiredError}
320
- * @memberof SMSApi
321
- */
322
- sendSms1(requestParameters: SMSApiSendSms1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
323
87
  /**
324
88
  *
325
89
  * @summary 发送验证码
@@ -329,13 +93,4 @@ export declare class SMSApi extends BaseAPI {
329
93
  * @memberof SMSApi
330
94
  */
331
95
  sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any>>;
332
- /**
333
- *
334
- * @summary 发送验证码
335
- * @param {SMSApiTestSMSRequest} requestParameters Request parameters.
336
- * @param {*} [options] Override http request option.
337
- * @throws {RequiredError}
338
- * @memberof SMSApi
339
- */
340
- testSMS(requestParameters: SMSApiTestSMSRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any>>;
341
96
  }