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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/apis/smsapi.ts CHANGED
@@ -29,232 +29,6 @@ import type { JsonResult } from '../models';
29
29
  */
30
30
  export const SMSApiAxiosParamCreator = function (configuration?: Configuration) {
31
31
  return {
32
- /**
33
- *
34
- * @param {*} [options] Override http request option.
35
- * @throws {RequiredError}
36
- */
37
- fusionGetToken2: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38
- const localVarPath = `/fusion/sms/getToken`;
39
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
40
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41
- let baseOptions;
42
- if (configuration) {
43
- baseOptions = configuration.baseOptions;
44
- }
45
-
46
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
47
- const localVarHeaderParameter = {} as any;
48
- const localVarQueryParameter = {} as any;
49
-
50
- // authentication tokenScheme required
51
- // http bearer authentication required
52
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
53
-
54
-
55
-
56
- setSearchParams(localVarUrlObj, localVarQueryParameter);
57
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
59
-
60
- return {
61
- url: toPathString(localVarUrlObj),
62
- options: localVarRequestOptions,
63
- };
64
- },
65
- /**
66
- *
67
- * @param {*} [options] Override http request option.
68
- * @throws {RequiredError}
69
- */
70
- fusionGetToken3: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
71
- const localVarPath = `/fusion/sms/getToken`;
72
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
73
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
74
- let baseOptions;
75
- if (configuration) {
76
- baseOptions = configuration.baseOptions;
77
- }
78
-
79
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
80
- const localVarHeaderParameter = {} as any;
81
- const localVarQueryParameter = {} as any;
82
-
83
- // authentication tokenScheme required
84
- // http bearer authentication required
85
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
86
-
87
-
88
-
89
- setSearchParams(localVarUrlObj, localVarQueryParameter);
90
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
91
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
92
-
93
- return {
94
- url: toPathString(localVarUrlObj),
95
- options: localVarRequestOptions,
96
- };
97
- },
98
- /**
99
- *
100
- * @param {*} [options] Override http request option.
101
- * @throws {RequiredError}
102
- */
103
- getTokenByHttp2: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
104
- const localVarPath = `/fusion/sms/fusionGetTokenByHttp`;
105
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
106
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
107
- let baseOptions;
108
- if (configuration) {
109
- baseOptions = configuration.baseOptions;
110
- }
111
-
112
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
113
- const localVarHeaderParameter = {} as any;
114
- const localVarQueryParameter = {} as any;
115
-
116
- // authentication tokenScheme required
117
- // http bearer authentication required
118
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
119
-
120
-
121
-
122
- setSearchParams(localVarUrlObj, localVarQueryParameter);
123
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
124
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
125
-
126
- return {
127
- url: toPathString(localVarUrlObj),
128
- options: localVarRequestOptions,
129
- };
130
- },
131
- /**
132
- *
133
- * @param {*} [options] Override http request option.
134
- * @throws {RequiredError}
135
- */
136
- getTokenByHttp3: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
137
- const localVarPath = `/fusion/sms/fusionGetTokenByHttp`;
138
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
139
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
140
- let baseOptions;
141
- if (configuration) {
142
- baseOptions = configuration.baseOptions;
143
- }
144
-
145
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
146
- const localVarHeaderParameter = {} as any;
147
- const localVarQueryParameter = {} as any;
148
-
149
- // authentication tokenScheme required
150
- // http bearer authentication required
151
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
152
-
153
-
154
-
155
- setSearchParams(localVarUrlObj, localVarQueryParameter);
156
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
157
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
158
-
159
- return {
160
- url: toPathString(localVarUrlObj),
161
- options: localVarRequestOptions,
162
- };
163
- },
164
- /**
165
- *
166
- * @param {string} phone
167
- * @param {string} templateCode
168
- * @param {*} [options] Override http request option.
169
- * @throws {RequiredError}
170
- */
171
- sendSms: async (phone: string, templateCode: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
172
- // verify required parameter 'phone' is not null or undefined
173
- assertParamExists('sendSms', 'phone', phone)
174
- // verify required parameter 'templateCode' is not null or undefined
175
- assertParamExists('sendSms', 'templateCode', templateCode)
176
- const localVarPath = `/fusion/sms/sendSms`;
177
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
178
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
179
- let baseOptions;
180
- if (configuration) {
181
- baseOptions = configuration.baseOptions;
182
- }
183
-
184
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
185
- const localVarHeaderParameter = {} as any;
186
- const localVarQueryParameter = {} as any;
187
-
188
- // authentication tokenScheme required
189
- // http bearer authentication required
190
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
191
-
192
- if (phone !== undefined) {
193
- localVarQueryParameter['phone'] = phone;
194
- }
195
-
196
- if (templateCode !== undefined) {
197
- localVarQueryParameter['templateCode'] = templateCode;
198
- }
199
-
200
-
201
-
202
- setSearchParams(localVarUrlObj, localVarQueryParameter);
203
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
204
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
205
-
206
- return {
207
- url: toPathString(localVarUrlObj),
208
- options: localVarRequestOptions,
209
- };
210
- },
211
- /**
212
- *
213
- * @param {string} phone
214
- * @param {string} templateCode
215
- * @param {*} [options] Override http request option.
216
- * @throws {RequiredError}
217
- */
218
- sendSms1: async (phone: string, templateCode: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
219
- // verify required parameter 'phone' is not null or undefined
220
- assertParamExists('sendSms1', 'phone', phone)
221
- // verify required parameter 'templateCode' is not null or undefined
222
- assertParamExists('sendSms1', 'templateCode', templateCode)
223
- const localVarPath = `/fusion/sms/sendSms`;
224
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
225
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
226
- let baseOptions;
227
- if (configuration) {
228
- baseOptions = configuration.baseOptions;
229
- }
230
-
231
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
232
- const localVarHeaderParameter = {} as any;
233
- const localVarQueryParameter = {} as any;
234
-
235
- // authentication tokenScheme required
236
- // http bearer authentication required
237
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
238
-
239
- if (phone !== undefined) {
240
- localVarQueryParameter['phone'] = phone;
241
- }
242
-
243
- if (templateCode !== undefined) {
244
- localVarQueryParameter['templateCode'] = templateCode;
245
- }
246
-
247
-
248
-
249
- setSearchParams(localVarUrlObj, localVarQueryParameter);
250
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
251
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
252
-
253
- return {
254
- url: toPathString(localVarUrlObj),
255
- options: localVarRequestOptions,
256
- };
257
- },
258
32
  /**
259
33
  *
260
34
  * @summary 发送验证码
@@ -287,54 +61,6 @@ export const SMSApiAxiosParamCreator = function (configuration?: Configuration)
287
61
 
288
62
 
289
63
 
290
- setSearchParams(localVarUrlObj, localVarQueryParameter);
291
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
292
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
293
-
294
- return {
295
- url: toPathString(localVarUrlObj),
296
- options: localVarRequestOptions,
297
- };
298
- },
299
- /**
300
- *
301
- * @summary 发送验证码
302
- * @param {string} phone
303
- * @param {string} msg
304
- * @param {*} [options] Override http request option.
305
- * @throws {RequiredError}
306
- */
307
- testSMS: async (phone: string, msg: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
308
- // verify required parameter 'phone' is not null or undefined
309
- assertParamExists('testSMS', 'phone', phone)
310
- // verify required parameter 'msg' is not null or undefined
311
- assertParamExists('testSMS', 'msg', msg)
312
- const localVarPath = `/gizone/testSMS`;
313
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
314
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
315
- let baseOptions;
316
- if (configuration) {
317
- baseOptions = configuration.baseOptions;
318
- }
319
-
320
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
321
- const localVarHeaderParameter = {} as any;
322
- const localVarQueryParameter = {} as any;
323
-
324
- // authentication tokenScheme required
325
- // http bearer authentication required
326
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
327
-
328
- if (phone !== undefined) {
329
- localVarQueryParameter['phone'] = phone;
330
- }
331
-
332
- if (msg !== undefined) {
333
- localVarQueryParameter['msg'] = msg;
334
- }
335
-
336
-
337
-
338
64
  setSearchParams(localVarUrlObj, localVarQueryParameter);
339
65
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
340
66
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -354,76 +80,6 @@ export const SMSApiAxiosParamCreator = function (configuration?: Configuration)
354
80
  export const SMSApiFp = function(configuration?: Configuration) {
355
81
  const localVarAxiosParamCreator = SMSApiAxiosParamCreator(configuration)
356
82
  return {
357
- /**
358
- *
359
- * @param {*} [options] Override http request option.
360
- * @throws {RequiredError}
361
- */
362
- async fusionGetToken2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
363
- const localVarAxiosArgs = await localVarAxiosParamCreator.fusionGetToken2(options);
364
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
365
- const localVarOperationServerBasePath = operationServerMap['SMSApi.fusionGetToken2']?.[localVarOperationServerIndex]?.url;
366
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
367
- },
368
- /**
369
- *
370
- * @param {*} [options] Override http request option.
371
- * @throws {RequiredError}
372
- */
373
- async fusionGetToken3(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
374
- const localVarAxiosArgs = await localVarAxiosParamCreator.fusionGetToken3(options);
375
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
376
- const localVarOperationServerBasePath = operationServerMap['SMSApi.fusionGetToken3']?.[localVarOperationServerIndex]?.url;
377
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
378
- },
379
- /**
380
- *
381
- * @param {*} [options] Override http request option.
382
- * @throws {RequiredError}
383
- */
384
- async getTokenByHttp2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
385
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTokenByHttp2(options);
386
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
387
- const localVarOperationServerBasePath = operationServerMap['SMSApi.getTokenByHttp2']?.[localVarOperationServerIndex]?.url;
388
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
389
- },
390
- /**
391
- *
392
- * @param {*} [options] Override http request option.
393
- * @throws {RequiredError}
394
- */
395
- async getTokenByHttp3(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
396
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTokenByHttp3(options);
397
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
398
- const localVarOperationServerBasePath = operationServerMap['SMSApi.getTokenByHttp3']?.[localVarOperationServerIndex]?.url;
399
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
400
- },
401
- /**
402
- *
403
- * @param {string} phone
404
- * @param {string} templateCode
405
- * @param {*} [options] Override http request option.
406
- * @throws {RequiredError}
407
- */
408
- async sendSms(phone: string, templateCode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
409
- const localVarAxiosArgs = await localVarAxiosParamCreator.sendSms(phone, templateCode, options);
410
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
411
- const localVarOperationServerBasePath = operationServerMap['SMSApi.sendSms']?.[localVarOperationServerIndex]?.url;
412
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
413
- },
414
- /**
415
- *
416
- * @param {string} phone
417
- * @param {string} templateCode
418
- * @param {*} [options] Override http request option.
419
- * @throws {RequiredError}
420
- */
421
- async sendSms1(phone: string, templateCode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
422
- const localVarAxiosArgs = await localVarAxiosParamCreator.sendSms1(phone, templateCode, options);
423
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
424
- const localVarOperationServerBasePath = operationServerMap['SMSApi.sendSms1']?.[localVarOperationServerIndex]?.url;
425
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
426
- },
427
83
  /**
428
84
  *
429
85
  * @summary 发送验证码
@@ -437,20 +93,6 @@ export const SMSApiFp = function(configuration?: Configuration) {
437
93
  const localVarOperationServerBasePath = operationServerMap['SMSApi.sms']?.[localVarOperationServerIndex]?.url;
438
94
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
439
95
  },
440
- /**
441
- *
442
- * @summary 发送验证码
443
- * @param {string} phone
444
- * @param {string} msg
445
- * @param {*} [options] Override http request option.
446
- * @throws {RequiredError}
447
- */
448
- async testSMS(phone: string, msg: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
449
- const localVarAxiosArgs = await localVarAxiosParamCreator.testSMS(phone, msg, options);
450
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
451
- const localVarOperationServerBasePath = operationServerMap['SMSApi.testSMS']?.[localVarOperationServerIndex]?.url;
452
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
453
- },
454
96
  }
455
97
  };
456
98
 
@@ -461,56 +103,6 @@ export const SMSApiFp = function(configuration?: Configuration) {
461
103
  export const SMSApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
462
104
  const localVarFp = SMSApiFp(configuration)
463
105
  return {
464
- /**
465
- *
466
- * @param {*} [options] Override http request option.
467
- * @throws {RequiredError}
468
- */
469
- fusionGetToken2(options?: RawAxiosRequestConfig): AxiosPromise<string> {
470
- return localVarFp.fusionGetToken2(options).then((request) => request(axios, basePath));
471
- },
472
- /**
473
- *
474
- * @param {*} [options] Override http request option.
475
- * @throws {RequiredError}
476
- */
477
- fusionGetToken3(options?: RawAxiosRequestConfig): AxiosPromise<string> {
478
- return localVarFp.fusionGetToken3(options).then((request) => request(axios, basePath));
479
- },
480
- /**
481
- *
482
- * @param {*} [options] Override http request option.
483
- * @throws {RequiredError}
484
- */
485
- getTokenByHttp2(options?: RawAxiosRequestConfig): AxiosPromise<string> {
486
- return localVarFp.getTokenByHttp2(options).then((request) => request(axios, basePath));
487
- },
488
- /**
489
- *
490
- * @param {*} [options] Override http request option.
491
- * @throws {RequiredError}
492
- */
493
- getTokenByHttp3(options?: RawAxiosRequestConfig): AxiosPromise<string> {
494
- return localVarFp.getTokenByHttp3(options).then((request) => request(axios, basePath));
495
- },
496
- /**
497
- *
498
- * @param {SMSApiSendSmsRequest} requestParameters Request parameters.
499
- * @param {*} [options] Override http request option.
500
- * @throws {RequiredError}
501
- */
502
- sendSms(requestParameters: SMSApiSendSmsRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
503
- return localVarFp.sendSms(requestParameters.phone, requestParameters.templateCode, options).then((request) => request(axios, basePath));
504
- },
505
- /**
506
- *
507
- * @param {SMSApiSendSms1Request} requestParameters Request parameters.
508
- * @param {*} [options] Override http request option.
509
- * @throws {RequiredError}
510
- */
511
- sendSms1(requestParameters: SMSApiSendSms1Request, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
512
- return localVarFp.sendSms1(requestParameters.phone, requestParameters.templateCode, options).then((request) => request(axios, basePath));
513
- },
514
106
  /**
515
107
  *
516
108
  * @summary 发送验证码
@@ -521,61 +113,9 @@ export const SMSApiFactory = function (configuration?: Configuration, basePath?:
521
113
  sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
522
114
  return localVarFp.sms(requestParameters.phone, options).then((request) => request(axios, basePath));
523
115
  },
524
- /**
525
- *
526
- * @summary 发送验证码
527
- * @param {SMSApiTestSMSRequest} requestParameters Request parameters.
528
- * @param {*} [options] Override http request option.
529
- * @throws {RequiredError}
530
- */
531
- testSMS(requestParameters: SMSApiTestSMSRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
532
- return localVarFp.testSMS(requestParameters.phone, requestParameters.msg, options).then((request) => request(axios, basePath));
533
- },
534
116
  };
535
117
  };
536
118
 
537
- /**
538
- * Request parameters for sendSms operation in SMSApi.
539
- * @export
540
- * @interface SMSApiSendSmsRequest
541
- */
542
- export interface SMSApiSendSmsRequest {
543
- /**
544
- *
545
- * @type {string}
546
- * @memberof SMSApiSendSms
547
- */
548
- readonly phone: string
549
-
550
- /**
551
- *
552
- * @type {string}
553
- * @memberof SMSApiSendSms
554
- */
555
- readonly templateCode: string
556
- }
557
-
558
- /**
559
- * Request parameters for sendSms1 operation in SMSApi.
560
- * @export
561
- * @interface SMSApiSendSms1Request
562
- */
563
- export interface SMSApiSendSms1Request {
564
- /**
565
- *
566
- * @type {string}
567
- * @memberof SMSApiSendSms1
568
- */
569
- readonly phone: string
570
-
571
- /**
572
- *
573
- * @type {string}
574
- * @memberof SMSApiSendSms1
575
- */
576
- readonly templateCode: string
577
- }
578
-
579
119
  /**
580
120
  * Request parameters for sms operation in SMSApi.
581
121
  * @export
@@ -590,27 +130,6 @@ export interface SMSApiSmsRequest {
590
130
  readonly phone: string
591
131
  }
592
132
 
593
- /**
594
- * Request parameters for testSMS operation in SMSApi.
595
- * @export
596
- * @interface SMSApiTestSMSRequest
597
- */
598
- export interface SMSApiTestSMSRequest {
599
- /**
600
- *
601
- * @type {string}
602
- * @memberof SMSApiTestSMS
603
- */
604
- readonly phone: string
605
-
606
- /**
607
- *
608
- * @type {string}
609
- * @memberof SMSApiTestSMS
610
- */
611
- readonly msg: string
612
- }
613
-
614
133
  /**
615
134
  * SMSApi - object-oriented interface
616
135
  * @export
@@ -618,68 +137,6 @@ export interface SMSApiTestSMSRequest {
618
137
  * @extends {BaseAPI}
619
138
  */
620
139
  export class SMSApi extends BaseAPI {
621
- /**
622
- *
623
- * @param {*} [options] Override http request option.
624
- * @throws {RequiredError}
625
- * @memberof SMSApi
626
- */
627
- public fusionGetToken2(options?: RawAxiosRequestConfig) {
628
- return SMSApiFp(this.configuration).fusionGetToken2(options).then((request) => request(this.axios, this.basePath));
629
- }
630
-
631
- /**
632
- *
633
- * @param {*} [options] Override http request option.
634
- * @throws {RequiredError}
635
- * @memberof SMSApi
636
- */
637
- public fusionGetToken3(options?: RawAxiosRequestConfig) {
638
- return SMSApiFp(this.configuration).fusionGetToken3(options).then((request) => request(this.axios, this.basePath));
639
- }
640
-
641
- /**
642
- *
643
- * @param {*} [options] Override http request option.
644
- * @throws {RequiredError}
645
- * @memberof SMSApi
646
- */
647
- public getTokenByHttp2(options?: RawAxiosRequestConfig) {
648
- return SMSApiFp(this.configuration).getTokenByHttp2(options).then((request) => request(this.axios, this.basePath));
649
- }
650
-
651
- /**
652
- *
653
- * @param {*} [options] Override http request option.
654
- * @throws {RequiredError}
655
- * @memberof SMSApi
656
- */
657
- public getTokenByHttp3(options?: RawAxiosRequestConfig) {
658
- return SMSApiFp(this.configuration).getTokenByHttp3(options).then((request) => request(this.axios, this.basePath));
659
- }
660
-
661
- /**
662
- *
663
- * @param {SMSApiSendSmsRequest} requestParameters Request parameters.
664
- * @param {*} [options] Override http request option.
665
- * @throws {RequiredError}
666
- * @memberof SMSApi
667
- */
668
- public sendSms(requestParameters: SMSApiSendSmsRequest, options?: RawAxiosRequestConfig) {
669
- return SMSApiFp(this.configuration).sendSms(requestParameters.phone, requestParameters.templateCode, options).then((request) => request(this.axios, this.basePath));
670
- }
671
-
672
- /**
673
- *
674
- * @param {SMSApiSendSms1Request} requestParameters Request parameters.
675
- * @param {*} [options] Override http request option.
676
- * @throws {RequiredError}
677
- * @memberof SMSApi
678
- */
679
- public sendSms1(requestParameters: SMSApiSendSms1Request, options?: RawAxiosRequestConfig) {
680
- return SMSApiFp(this.configuration).sendSms1(requestParameters.phone, requestParameters.templateCode, options).then((request) => request(this.axios, this.basePath));
681
- }
682
-
683
140
  /**
684
141
  *
685
142
  * @summary 发送验证码
@@ -691,17 +148,5 @@ export class SMSApi extends BaseAPI {
691
148
  public sms(requestParameters: SMSApiSmsRequest, options?: RawAxiosRequestConfig) {
692
149
  return SMSApiFp(this.configuration).sms(requestParameters.phone, options).then((request) => request(this.axios, this.basePath));
693
150
  }
694
-
695
- /**
696
- *
697
- * @summary 发送验证码
698
- * @param {SMSApiTestSMSRequest} requestParameters Request parameters.
699
- * @param {*} [options] Override http request option.
700
- * @throws {RequiredError}
701
- * @memberof SMSApi
702
- */
703
- public testSMS(requestParameters: SMSApiTestSMSRequest, options?: RawAxiosRequestConfig) {
704
- return SMSApiFp(this.configuration).testSMS(requestParameters.phone, requestParameters.msg, options).then((request) => request(this.axios, this.basePath));
705
- }
706
151
  }
707
152