@gizone/rrs-client 4.2.9-alpha.869 → 4.2.9-alpha.871

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.
@@ -16,7 +16,6 @@ import type { AppLoginCodeDto } from '../models';
16
16
  import type { AppLoginPasswordDto } from '../models';
17
17
  import type { AppLoginWxChatDto } from '../models';
18
18
  import type { AppLoginWxChatPubDto } from '../models';
19
- import type { AppObtainToken } from '../models';
20
19
  import type { ChoosePakBody } from '../models';
21
20
  import type { JsonResult } from '../models';
22
21
  import type { JsonResultBoolean } from '../models';
@@ -120,14 +119,6 @@ export declare const AppAuthApiAxiosParamCreator: (configuration?: Configuration
120
119
  * @throws {RequiredError}
121
120
  */
122
121
  loginByCodeV2: (appLoginWxChatDto: AppLoginWxChatDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
123
- /**
124
- *
125
- * @summary openId换取登录token
126
- * @param {AppObtainToken} appObtainToken
127
- * @param {*} [options] Override http request option.
128
- * @throws {RequiredError}
129
- */
130
- loginByOpenId: (appObtainToken: AppObtainToken, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
131
122
  /**
132
123
  *
133
124
  * @summary 微信公众号登录
@@ -251,16 +242,6 @@ export declare const AppAuthApiFp: (configuration?: Configuration) => {
251
242
  * @throws {RequiredError}
252
243
  */
253
244
  loginByCodeV2(appLoginWxChatDto: AppLoginWxChatDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
254
- /**
255
- *
256
- * @summary openId换取登录token
257
- * @param {AppObtainToken} appObtainToken
258
- * @param {*} [options] Override http request option.
259
- * @throws {RequiredError}
260
- */
261
- loginByOpenId(appObtainToken: AppObtainToken, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
262
- [key: string]: any;
263
- }>>;
264
245
  /**
265
246
  *
266
247
  * @summary 微信公众号登录
@@ -383,16 +364,6 @@ export declare const AppAuthApiFactory: (configuration?: Configuration, basePath
383
364
  * @throws {RequiredError}
384
365
  */
385
366
  loginByCodeV2(requestParameters: AppAuthApiLoginByCodeV2Request, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
386
- /**
387
- *
388
- * @summary openId换取登录token
389
- * @param {AppAuthApiLoginByOpenIdRequest} requestParameters Request parameters.
390
- * @param {*} [options] Override http request option.
391
- * @throws {RequiredError}
392
- */
393
- loginByOpenId(requestParameters: AppAuthApiLoginByOpenIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
394
- [key: string]: any;
395
- }>;
396
367
  /**
397
368
  *
398
369
  * @summary 微信公众号登录
@@ -582,19 +553,6 @@ export interface AppAuthApiLoginByCodeV2Request {
582
553
  */
583
554
  readonly appLoginWxChatDto: AppLoginWxChatDto;
584
555
  }
585
- /**
586
- * Request parameters for loginByOpenId operation in AppAuthApi.
587
- * @export
588
- * @interface AppAuthApiLoginByOpenIdRequest
589
- */
590
- export interface AppAuthApiLoginByOpenIdRequest {
591
- /**
592
- *
593
- * @type {AppObtainToken}
594
- * @memberof AppAuthApiLoginByOpenId
595
- */
596
- readonly appObtainToken: AppObtainToken;
597
- }
598
556
  /**
599
557
  * Request parameters for loginByWechatPublic operation in AppAuthApi.
600
558
  * @export
@@ -745,17 +703,6 @@ export declare class AppAuthApi extends BaseAPI {
745
703
  * @memberof AppAuthApi
746
704
  */
747
705
  loginByCodeV2(requestParameters: AppAuthApiLoginByCodeV2Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any, {}>>;
748
- /**
749
- *
750
- * @summary openId换取登录token
751
- * @param {AppAuthApiLoginByOpenIdRequest} requestParameters Request parameters.
752
- * @param {*} [options] Override http request option.
753
- * @throws {RequiredError}
754
- * @memberof AppAuthApi
755
- */
756
- loginByOpenId(requestParameters: AppAuthApiLoginByOpenIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
757
- [key: string]: any;
758
- }, any, {}>>;
759
706
  /**
760
707
  *
761
708
  * @summary 微信公众号登录
@@ -420,39 +420,6 @@ export const AppAuthApiAxiosParamCreator = function (configuration) {
420
420
  options: localVarRequestOptions,
421
421
  };
422
422
  }),
423
- /**
424
- *
425
- * @summary openId换取登录token
426
- * @param {AppObtainToken} appObtainToken
427
- * @param {*} [options] Override http request option.
428
- * @throws {RequiredError}
429
- */
430
- loginByOpenId: (appObtainToken_1, ...args_1) => __awaiter(this, [appObtainToken_1, ...args_1], void 0, function* (appObtainToken, options = {}) {
431
- // verify required parameter 'appObtainToken' is not null or undefined
432
- assertParamExists('loginByOpenId', 'appObtainToken', appObtainToken);
433
- const localVarPath = `/miniapp/auth/loginByOpenId`;
434
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
435
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
436
- let baseOptions;
437
- if (configuration) {
438
- baseOptions = configuration.baseOptions;
439
- }
440
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
441
- const localVarHeaderParameter = {};
442
- const localVarQueryParameter = {};
443
- // authentication tokenScheme required
444
- // http bearer authentication required
445
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
446
- localVarHeaderParameter['Content-Type'] = 'application/json';
447
- setSearchParams(localVarUrlObj, localVarQueryParameter);
448
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
449
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
450
- localVarRequestOptions.data = serializeDataIfNeeded(appObtainToken, localVarRequestOptions, configuration);
451
- return {
452
- url: toPathString(localVarUrlObj),
453
- options: localVarRequestOptions,
454
- };
455
- }),
456
423
  /**
457
424
  *
458
425
  * @summary 微信公众号登录
@@ -746,22 +713,6 @@ export const AppAuthApiFp = function (configuration) {
746
713
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
747
714
  });
748
715
  },
749
- /**
750
- *
751
- * @summary openId换取登录token
752
- * @param {AppObtainToken} appObtainToken
753
- * @param {*} [options] Override http request option.
754
- * @throws {RequiredError}
755
- */
756
- loginByOpenId(appObtainToken, options) {
757
- return __awaiter(this, void 0, void 0, function* () {
758
- var _a, _b, _c;
759
- const localVarAxiosArgs = yield localVarAxiosParamCreator.loginByOpenId(appObtainToken, options);
760
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
761
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AppAuthApi.loginByOpenId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
762
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
763
- });
764
- },
765
716
  /**
766
717
  *
767
718
  * @summary 微信公众号登录
@@ -929,16 +880,6 @@ export const AppAuthApiFactory = function (configuration, basePath, axios) {
929
880
  loginByCodeV2(requestParameters, options) {
930
881
  return localVarFp.loginByCodeV2(requestParameters.appLoginWxChatDto, options).then((request) => request(axios, basePath));
931
882
  },
932
- /**
933
- *
934
- * @summary openId换取登录token
935
- * @param {AppAuthApiLoginByOpenIdRequest} requestParameters Request parameters.
936
- * @param {*} [options] Override http request option.
937
- * @throws {RequiredError}
938
- */
939
- loginByOpenId(requestParameters, options) {
940
- return localVarFp.loginByOpenId(requestParameters.appObtainToken, options).then((request) => request(axios, basePath));
941
- },
942
883
  /**
943
884
  *
944
885
  * @summary 微信公众号登录
@@ -1098,17 +1039,6 @@ export class AppAuthApi extends BaseAPI {
1098
1039
  loginByCodeV2(requestParameters, options) {
1099
1040
  return AppAuthApiFp(this.configuration).loginByCodeV2(requestParameters.appLoginWxChatDto, options).then((request) => request(this.axios, this.basePath));
1100
1041
  }
1101
- /**
1102
- *
1103
- * @summary openId换取登录token
1104
- * @param {AppAuthApiLoginByOpenIdRequest} requestParameters Request parameters.
1105
- * @param {*} [options] Override http request option.
1106
- * @throws {RequiredError}
1107
- * @memberof AppAuthApi
1108
- */
1109
- loginByOpenId(requestParameters, options) {
1110
- return AppAuthApiFp(this.configuration).loginByOpenId(requestParameters.appObtainToken, options).then((request) => request(this.axios, this.basePath));
1111
- }
1112
1042
  /**
1113
1043
  *
1114
1044
  * @summary 微信公众号登录
@@ -16,7 +16,6 @@ import type { AppLoginCodeDto } from '../models';
16
16
  import type { AppLoginPasswordDto } from '../models';
17
17
  import type { AppLoginWxChatDto } from '../models';
18
18
  import type { AppLoginWxChatPubDto } from '../models';
19
- import type { AppObtainToken } from '../models';
20
19
  import type { ChoosePakBody } from '../models';
21
20
  import type { JsonResult } from '../models';
22
21
  import type { JsonResultBoolean } from '../models';
@@ -186,14 +185,6 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
186
185
  * @throws {RequiredError}
187
186
  */
188
187
  loginByCodeV2: (appLoginWxChatDto: AppLoginWxChatDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
189
- /**
190
- *
191
- * @summary openId换取登录token
192
- * @param {AppObtainToken} appObtainToken
193
- * @param {*} [options] Override http request option.
194
- * @throws {RequiredError}
195
- */
196
- loginByOpenId: (appObtainToken: AppObtainToken, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
197
188
  /**
198
189
  *
199
190
  * @summary 微信公众号登录
@@ -412,16 +403,6 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
412
403
  * @throws {RequiredError}
413
404
  */
414
405
  loginByCodeV2(appLoginWxChatDto: AppLoginWxChatDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
415
- /**
416
- *
417
- * @summary openId换取登录token
418
- * @param {AppObtainToken} appObtainToken
419
- * @param {*} [options] Override http request option.
420
- * @throws {RequiredError}
421
- */
422
- loginByOpenId(appObtainToken: AppObtainToken, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
423
- [key: string]: any;
424
- }>>;
425
406
  /**
426
407
  *
427
408
  * @summary 微信公众号登录
@@ -642,16 +623,6 @@ export declare const AuthApiFactory: (configuration?: Configuration, basePath?:
642
623
  * @throws {RequiredError}
643
624
  */
644
625
  loginByCodeV2(requestParameters: AuthApiLoginByCodeV2Request, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
645
- /**
646
- *
647
- * @summary openId换取登录token
648
- * @param {AuthApiLoginByOpenIdRequest} requestParameters Request parameters.
649
- * @param {*} [options] Override http request option.
650
- * @throws {RequiredError}
651
- */
652
- loginByOpenId(requestParameters: AuthApiLoginByOpenIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
653
- [key: string]: any;
654
- }>;
655
626
  /**
656
627
  *
657
628
  * @summary 微信公众号登录
@@ -927,19 +898,6 @@ export interface AuthApiLoginByCodeV2Request {
927
898
  */
928
899
  readonly appLoginWxChatDto: AppLoginWxChatDto;
929
900
  }
930
- /**
931
- * Request parameters for loginByOpenId operation in AuthApi.
932
- * @export
933
- * @interface AuthApiLoginByOpenIdRequest
934
- */
935
- export interface AuthApiLoginByOpenIdRequest {
936
- /**
937
- *
938
- * @type {AppObtainToken}
939
- * @memberof AuthApiLoginByOpenId
940
- */
941
- readonly appObtainToken: AppObtainToken;
942
- }
943
901
  /**
944
902
  * Request parameters for loginByWechatPublic operation in AuthApi.
945
903
  * @export
@@ -1207,17 +1165,6 @@ export declare class AuthApi extends BaseAPI {
1207
1165
  * @memberof AuthApi
1208
1166
  */
1209
1167
  loginByCodeV2(requestParameters: AuthApiLoginByCodeV2Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any, {}>>;
1210
- /**
1211
- *
1212
- * @summary openId换取登录token
1213
- * @param {AuthApiLoginByOpenIdRequest} requestParameters Request parameters.
1214
- * @param {*} [options] Override http request option.
1215
- * @throws {RequiredError}
1216
- * @memberof AuthApi
1217
- */
1218
- loginByOpenId(requestParameters: AuthApiLoginByOpenIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1219
- [key: string]: any;
1220
- }, any, {}>>;
1221
1168
  /**
1222
1169
  *
1223
1170
  * @summary 微信公众号登录
@@ -673,39 +673,6 @@ export const AuthApiAxiosParamCreator = function (configuration) {
673
673
  options: localVarRequestOptions,
674
674
  };
675
675
  }),
676
- /**
677
- *
678
- * @summary openId换取登录token
679
- * @param {AppObtainToken} appObtainToken
680
- * @param {*} [options] Override http request option.
681
- * @throws {RequiredError}
682
- */
683
- loginByOpenId: (appObtainToken_1, ...args_1) => __awaiter(this, [appObtainToken_1, ...args_1], void 0, function* (appObtainToken, options = {}) {
684
- // verify required parameter 'appObtainToken' is not null or undefined
685
- assertParamExists('loginByOpenId', 'appObtainToken', appObtainToken);
686
- const localVarPath = `/miniapp/auth/loginByOpenId`;
687
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
688
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
689
- let baseOptions;
690
- if (configuration) {
691
- baseOptions = configuration.baseOptions;
692
- }
693
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
694
- const localVarHeaderParameter = {};
695
- const localVarQueryParameter = {};
696
- // authentication tokenScheme required
697
- // http bearer authentication required
698
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
699
- localVarHeaderParameter['Content-Type'] = 'application/json';
700
- setSearchParams(localVarUrlObj, localVarQueryParameter);
701
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
702
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
703
- localVarRequestOptions.data = serializeDataIfNeeded(appObtainToken, localVarRequestOptions, configuration);
704
- return {
705
- url: toPathString(localVarUrlObj),
706
- options: localVarRequestOptions,
707
- };
708
- }),
709
676
  /**
710
677
  *
711
678
  * @summary 微信公众号登录
@@ -1223,22 +1190,6 @@ export const AuthApiFp = function (configuration) {
1223
1190
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1224
1191
  });
1225
1192
  },
1226
- /**
1227
- *
1228
- * @summary openId换取登录token
1229
- * @param {AppObtainToken} appObtainToken
1230
- * @param {*} [options] Override http request option.
1231
- * @throws {RequiredError}
1232
- */
1233
- loginByOpenId(appObtainToken, options) {
1234
- return __awaiter(this, void 0, void 0, function* () {
1235
- var _a, _b, _c;
1236
- const localVarAxiosArgs = yield localVarAxiosParamCreator.loginByOpenId(appObtainToken, options);
1237
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1238
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AuthApi.loginByOpenId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1239
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1240
- });
1241
- },
1242
1193
  /**
1243
1194
  *
1244
1195
  * @summary 微信公众号登录
@@ -1530,16 +1481,6 @@ export const AuthApiFactory = function (configuration, basePath, axios) {
1530
1481
  loginByCodeV2(requestParameters, options) {
1531
1482
  return localVarFp.loginByCodeV2(requestParameters.appLoginWxChatDto, options).then((request) => request(axios, basePath));
1532
1483
  },
1533
- /**
1534
- *
1535
- * @summary openId换取登录token
1536
- * @param {AuthApiLoginByOpenIdRequest} requestParameters Request parameters.
1537
- * @param {*} [options] Override http request option.
1538
- * @throws {RequiredError}
1539
- */
1540
- loginByOpenId(requestParameters, options) {
1541
- return localVarFp.loginByOpenId(requestParameters.appObtainToken, options).then((request) => request(axios, basePath));
1542
- },
1543
1484
  /**
1544
1485
  *
1545
1486
  * @summary 微信公众号登录
@@ -1813,17 +1754,6 @@ export class AuthApi extends BaseAPI {
1813
1754
  loginByCodeV2(requestParameters, options) {
1814
1755
  return AuthApiFp(this.configuration).loginByCodeV2(requestParameters.appLoginWxChatDto, options).then((request) => request(this.axios, this.basePath));
1815
1756
  }
1816
- /**
1817
- *
1818
- * @summary openId换取登录token
1819
- * @param {AuthApiLoginByOpenIdRequest} requestParameters Request parameters.
1820
- * @param {*} [options] Override http request option.
1821
- * @throws {RequiredError}
1822
- * @memberof AuthApi
1823
- */
1824
- loginByOpenId(requestParameters, options) {
1825
- return AuthApiFp(this.configuration).loginByOpenId(requestParameters.appObtainToken, options).then((request) => request(this.axios, this.basePath));
1826
- }
1827
1757
  /**
1828
1758
  *
1829
1759
  * @summary 微信公众号登录
@@ -60,7 +60,6 @@ export * from './app-login-code-dto';
60
60
  export * from './app-login-password-dto';
61
61
  export * from './app-login-wx-chat-dto';
62
62
  export * from './app-login-wx-chat-pub-dto';
63
- export * from './app-obtain-token';
64
63
  export * from './applet-sys-user-drop-down-box-list-dto';
65
64
  export * from './applet-user-type-dto';
66
65
  export * from './approver-dto';
@@ -60,7 +60,6 @@ export * from './app-login-code-dto';
60
60
  export * from './app-login-password-dto';
61
61
  export * from './app-login-wx-chat-dto';
62
62
  export * from './app-login-wx-chat-pub-dto';
63
- export * from './app-obtain-token';
64
63
  export * from './applet-sys-user-drop-down-box-list-dto';
65
64
  export * from './applet-user-type-dto';
66
65
  export * from './approver-dto';
@@ -60,7 +60,6 @@ export * from './app-login-code-dto';
60
60
  export * from './app-login-password-dto';
61
61
  export * from './app-login-wx-chat-dto';
62
62
  export * from './app-login-wx-chat-pub-dto';
63
- export * from './app-obtain-token';
64
63
  export * from './applet-sys-user-drop-down-box-list-dto';
65
64
  export * from './applet-user-type-dto';
66
65
  export * from './approver-dto';
@@ -76,7 +76,6 @@ __exportStar(require("./app-login-code-dto"), exports);
76
76
  __exportStar(require("./app-login-password-dto"), exports);
77
77
  __exportStar(require("./app-login-wx-chat-dto"), exports);
78
78
  __exportStar(require("./app-login-wx-chat-pub-dto"), exports);
79
- __exportStar(require("./app-obtain-token"), exports);
80
79
  __exportStar(require("./applet-sys-user-drop-down-box-list-dto"), exports);
81
80
  __exportStar(require("./applet-user-type-dto"), exports);
82
81
  __exportStar(require("./approver-dto"), exports);
package/models/index.ts CHANGED
@@ -60,7 +60,6 @@ export * from './app-login-code-dto';
60
60
  export * from './app-login-password-dto';
61
61
  export * from './app-login-wx-chat-dto';
62
62
  export * from './app-login-wx-chat-pub-dto';
63
- export * from './app-obtain-token';
64
63
  export * from './applet-sys-user-drop-down-box-list-dto';
65
64
  export * from './applet-user-type-dto';
66
65
  export * from './approver-dto';