@gizone/rrs-client 4.2.9-alpha.515 → 4.2.9-alpha.517

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.
@@ -320,72 +320,6 @@ export const AppAuthApiAxiosParamCreator = function (configuration?: Configurati
320
320
  options: localVarRequestOptions,
321
321
  };
322
322
  },
323
- /**
324
- *
325
- * @param {*} [options] Override http request option.
326
- * @throws {RequiredError}
327
- */
328
- fusionGetToken: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
329
- const localVarPath = `/miniapp/auth/getToken`;
330
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
331
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
332
- let baseOptions;
333
- if (configuration) {
334
- baseOptions = configuration.baseOptions;
335
- }
336
-
337
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
338
- const localVarHeaderParameter = {} as any;
339
- const localVarQueryParameter = {} as any;
340
-
341
- // authentication tokenScheme required
342
- // http bearer authentication required
343
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
344
-
345
-
346
-
347
- setSearchParams(localVarUrlObj, localVarQueryParameter);
348
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
349
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
350
-
351
- return {
352
- url: toPathString(localVarUrlObj),
353
- options: localVarRequestOptions,
354
- };
355
- },
356
- /**
357
- *
358
- * @param {*} [options] Override http request option.
359
- * @throws {RequiredError}
360
- */
361
- fusionGetToken1: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
362
- const localVarPath = `/miniapp/auth/getToken`;
363
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
364
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
365
- let baseOptions;
366
- if (configuration) {
367
- baseOptions = configuration.baseOptions;
368
- }
369
-
370
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
371
- const localVarHeaderParameter = {} as any;
372
- const localVarQueryParameter = {} as any;
373
-
374
- // authentication tokenScheme required
375
- // http bearer authentication required
376
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
377
-
378
-
379
-
380
- setSearchParams(localVarUrlObj, localVarQueryParameter);
381
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
382
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
383
-
384
- return {
385
- url: toPathString(localVarUrlObj),
386
- options: localVarRequestOptions,
387
- };
388
- },
389
323
  /**
390
324
  *
391
325
  * @summary 获取园区数据
@@ -532,72 +466,6 @@ export const AppAuthApiAxiosParamCreator = function (configuration?: Configurati
532
466
 
533
467
 
534
468
 
535
- setSearchParams(localVarUrlObj, localVarQueryParameter);
536
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
537
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
538
-
539
- return {
540
- url: toPathString(localVarUrlObj),
541
- options: localVarRequestOptions,
542
- };
543
- },
544
- /**
545
- *
546
- * @param {*} [options] Override http request option.
547
- * @throws {RequiredError}
548
- */
549
- getTokenByHttp: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
550
- const localVarPath = `/miniapp/auth/fusionGetTokenByHttp`;
551
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
552
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
553
- let baseOptions;
554
- if (configuration) {
555
- baseOptions = configuration.baseOptions;
556
- }
557
-
558
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
559
- const localVarHeaderParameter = {} as any;
560
- const localVarQueryParameter = {} as any;
561
-
562
- // authentication tokenScheme required
563
- // http bearer authentication required
564
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
565
-
566
-
567
-
568
- setSearchParams(localVarUrlObj, localVarQueryParameter);
569
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
570
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
571
-
572
- return {
573
- url: toPathString(localVarUrlObj),
574
- options: localVarRequestOptions,
575
- };
576
- },
577
- /**
578
- *
579
- * @param {*} [options] Override http request option.
580
- * @throws {RequiredError}
581
- */
582
- getTokenByHttp1: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
583
- const localVarPath = `/miniapp/auth/fusionGetTokenByHttp`;
584
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
585
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
586
- let baseOptions;
587
- if (configuration) {
588
- baseOptions = configuration.baseOptions;
589
- }
590
-
591
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
592
- const localVarHeaderParameter = {} as any;
593
- const localVarQueryParameter = {} as any;
594
-
595
- // authentication tokenScheme required
596
- // http bearer authentication required
597
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
598
-
599
-
600
-
601
469
  setSearchParams(localVarUrlObj, localVarQueryParameter);
602
470
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
603
471
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -910,28 +778,6 @@ export const AppAuthApiFp = function(configuration?: Configuration) {
910
778
  const localVarOperationServerBasePath = operationServerMap['AppAuthApi.choosePark']?.[localVarOperationServerIndex]?.url;
911
779
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
912
780
  },
913
- /**
914
- *
915
- * @param {*} [options] Override http request option.
916
- * @throws {RequiredError}
917
- */
918
- async fusionGetToken(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
919
- const localVarAxiosArgs = await localVarAxiosParamCreator.fusionGetToken(options);
920
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
921
- const localVarOperationServerBasePath = operationServerMap['AppAuthApi.fusionGetToken']?.[localVarOperationServerIndex]?.url;
922
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
923
- },
924
- /**
925
- *
926
- * @param {*} [options] Override http request option.
927
- * @throws {RequiredError}
928
- */
929
- async fusionGetToken1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
930
- const localVarAxiosArgs = await localVarAxiosParamCreator.fusionGetToken1(options);
931
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
932
- const localVarOperationServerBasePath = operationServerMap['AppAuthApi.fusionGetToken1']?.[localVarOperationServerIndex]?.url;
933
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
934
- },
935
781
  /**
936
782
  *
937
783
  * @summary 获取园区数据
@@ -976,28 +822,6 @@ export const AppAuthApiFp = function(configuration?: Configuration) {
976
822
  const localVarOperationServerBasePath = operationServerMap['AppAuthApi.getParkMiniApp']?.[localVarOperationServerIndex]?.url;
977
823
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
978
824
  },
979
- /**
980
- *
981
- * @param {*} [options] Override http request option.
982
- * @throws {RequiredError}
983
- */
984
- async getTokenByHttp(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
985
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTokenByHttp(options);
986
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
987
- const localVarOperationServerBasePath = operationServerMap['AppAuthApi.getTokenByHttp']?.[localVarOperationServerIndex]?.url;
988
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
989
- },
990
- /**
991
- *
992
- * @param {*} [options] Override http request option.
993
- * @throws {RequiredError}
994
- */
995
- async getTokenByHttp1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
996
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTokenByHttp1(options);
997
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
998
- const localVarOperationServerBasePath = operationServerMap['AppAuthApi.getTokenByHttp1']?.[localVarOperationServerIndex]?.url;
999
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1000
- },
1001
825
  /**
1002
826
  *
1003
827
  * @summary 微信小程序登录
@@ -1141,22 +965,6 @@ export const AppAuthApiFactory = function (configuration?: Configuration, basePa
1141
965
  choosePark(requestParameters: AppAuthApiChooseParkRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultString> {
1142
966
  return localVarFp.choosePark(requestParameters.choosePakBody, options).then((request) => request(axios, basePath));
1143
967
  },
1144
- /**
1145
- *
1146
- * @param {*} [options] Override http request option.
1147
- * @throws {RequiredError}
1148
- */
1149
- fusionGetToken(options?: RawAxiosRequestConfig): AxiosPromise<string> {
1150
- return localVarFp.fusionGetToken(options).then((request) => request(axios, basePath));
1151
- },
1152
- /**
1153
- *
1154
- * @param {*} [options] Override http request option.
1155
- * @throws {RequiredError}
1156
- */
1157
- fusionGetToken1(options?: RawAxiosRequestConfig): AxiosPromise<string> {
1158
- return localVarFp.fusionGetToken1(options).then((request) => request(axios, basePath));
1159
- },
1160
968
  /**
1161
969
  *
1162
970
  * @summary 获取园区数据
@@ -1187,22 +995,6 @@ export const AppAuthApiFactory = function (configuration?: Configuration, basePa
1187
995
  getParkMiniApp(requestParameters: AppAuthApiGetParkMiniAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
1188
996
  return localVarFp.getParkMiniApp(requestParameters.uuid, requestParameters.userType, requestParameters.parkId, requestParameters.appId, options).then((request) => request(axios, basePath));
1189
997
  },
1190
- /**
1191
- *
1192
- * @param {*} [options] Override http request option.
1193
- * @throws {RequiredError}
1194
- */
1195
- getTokenByHttp(options?: RawAxiosRequestConfig): AxiosPromise<string> {
1196
- return localVarFp.getTokenByHttp(options).then((request) => request(axios, basePath));
1197
- },
1198
- /**
1199
- *
1200
- * @param {*} [options] Override http request option.
1201
- * @throws {RequiredError}
1202
- */
1203
- getTokenByHttp1(options?: RawAxiosRequestConfig): AxiosPromise<string> {
1204
- return localVarFp.getTokenByHttp1(options).then((request) => request(axios, basePath));
1205
- },
1206
998
  /**
1207
999
  *
1208
1000
  * @summary 微信小程序登录
@@ -1582,26 +1374,6 @@ export class AppAuthApi extends BaseAPI {
1582
1374
  return AppAuthApiFp(this.configuration).choosePark(requestParameters.choosePakBody, options).then((request) => request(this.axios, this.basePath));
1583
1375
  }
1584
1376
 
1585
- /**
1586
- *
1587
- * @param {*} [options] Override http request option.
1588
- * @throws {RequiredError}
1589
- * @memberof AppAuthApi
1590
- */
1591
- public fusionGetToken(options?: RawAxiosRequestConfig) {
1592
- return AppAuthApiFp(this.configuration).fusionGetToken(options).then((request) => request(this.axios, this.basePath));
1593
- }
1594
-
1595
- /**
1596
- *
1597
- * @param {*} [options] Override http request option.
1598
- * @throws {RequiredError}
1599
- * @memberof AppAuthApi
1600
- */
1601
- public fusionGetToken1(options?: RawAxiosRequestConfig) {
1602
- return AppAuthApiFp(this.configuration).fusionGetToken1(options).then((request) => request(this.axios, this.basePath));
1603
- }
1604
-
1605
1377
  /**
1606
1378
  *
1607
1379
  * @summary 获取园区数据
@@ -1638,26 +1410,6 @@ export class AppAuthApi extends BaseAPI {
1638
1410
  return AppAuthApiFp(this.configuration).getParkMiniApp(requestParameters.uuid, requestParameters.userType, requestParameters.parkId, requestParameters.appId, options).then((request) => request(this.axios, this.basePath));
1639
1411
  }
1640
1412
 
1641
- /**
1642
- *
1643
- * @param {*} [options] Override http request option.
1644
- * @throws {RequiredError}
1645
- * @memberof AppAuthApi
1646
- */
1647
- public getTokenByHttp(options?: RawAxiosRequestConfig) {
1648
- return AppAuthApiFp(this.configuration).getTokenByHttp(options).then((request) => request(this.axios, this.basePath));
1649
- }
1650
-
1651
- /**
1652
- *
1653
- * @param {*} [options] Override http request option.
1654
- * @throws {RequiredError}
1655
- * @memberof AppAuthApi
1656
- */
1657
- public getTokenByHttp1(options?: RawAxiosRequestConfig) {
1658
- return AppAuthApiFp(this.configuration).getTokenByHttp1(options).then((request) => request(this.axios, this.basePath));
1659
- }
1660
-
1661
1413
  /**
1662
1414
  *
1663
1415
  * @summary 微信小程序登录