@gizone/rrs-client 4.2.0-alpha.256 → 4.2.0-alpha.257
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/hwork-api.ts
CHANGED
|
@@ -22,7 +22,7 @@ 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 {
|
|
25
|
+
import type { JsonResultSysDept } from '../models';
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
import type { LoginTypeEnum } from '../models';
|
|
28
28
|
/**
|
|
@@ -95,7 +95,7 @@ export const HWorkApiFp = function(configuration?: Configuration) {
|
|
|
95
95
|
* @param {*} [options] Override http request option.
|
|
96
96
|
* @throws {RequiredError}
|
|
97
97
|
*/
|
|
98
|
-
async getOnePark(loginType: LoginTypeEnum, groupId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
98
|
+
async getOnePark(loginType: LoginTypeEnum, groupId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultSysDept>> {
|
|
99
99
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getOnePark(loginType, groupId, options);
|
|
100
100
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
101
101
|
const localVarOperationServerBasePath = operationServerMap['HWorkApi.getOnePark']?.[localVarOperationServerIndex]?.url;
|
|
@@ -118,7 +118,7 @@ export const HWorkApiFactory = function (configuration?: Configuration, basePath
|
|
|
118
118
|
* @param {*} [options] Override http request option.
|
|
119
119
|
* @throws {RequiredError}
|
|
120
120
|
*/
|
|
121
|
-
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
121
|
+
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultSysDept> {
|
|
122
122
|
return localVarFp.getOnePark(requestParameters.loginType, requestParameters.groupId, options).then((request) => request(axios, basePath));
|
|
123
123
|
},
|
|
124
124
|
};
|
package/dist/apis/hwork-api.d.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
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 {
|
|
15
|
+
import type { JsonResultSysDept } from '../models';
|
|
16
16
|
import type { LoginTypeEnum } from '../models';
|
|
17
17
|
/**
|
|
18
18
|
* HWorkApi - axios parameter creator
|
|
@@ -42,7 +42,7 @@ export declare const HWorkApiFp: (configuration?: Configuration) => {
|
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
getOnePark(loginType: LoginTypeEnum, groupId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
45
|
+
getOnePark(loginType: LoginTypeEnum, groupId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultSysDept>>;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
48
|
* HWorkApi - factory interface
|
|
@@ -56,7 +56,7 @@ export declare const HWorkApiFactory: (configuration?: Configuration, basePath?:
|
|
|
56
56
|
* @param {*} [options] Override http request option.
|
|
57
57
|
* @throws {RequiredError}
|
|
58
58
|
*/
|
|
59
|
-
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
59
|
+
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultSysDept>;
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
62
|
* Request parameters for getOnePark operation in HWorkApi.
|
|
@@ -92,5 +92,5 @@ export declare class HWorkApi extends BaseAPI {
|
|
|
92
92
|
* @throws {RequiredError}
|
|
93
93
|
* @memberof HWorkApi
|
|
94
94
|
*/
|
|
95
|
-
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
95
|
+
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultSysDept, any>>;
|
|
96
96
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
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 {
|
|
15
|
+
import type { JsonResultSysDept } from '../models';
|
|
16
16
|
import type { LoginTypeEnum } from '../models';
|
|
17
17
|
/**
|
|
18
18
|
* HWorkApi - axios parameter creator
|
|
@@ -42,7 +42,7 @@ export declare const HWorkApiFp: (configuration?: Configuration) => {
|
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
getOnePark(loginType: LoginTypeEnum, groupId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
45
|
+
getOnePark(loginType: LoginTypeEnum, groupId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultSysDept>>;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
48
|
* HWorkApi - factory interface
|
|
@@ -56,7 +56,7 @@ export declare const HWorkApiFactory: (configuration?: Configuration, basePath?:
|
|
|
56
56
|
* @param {*} [options] Override http request option.
|
|
57
57
|
* @throws {RequiredError}
|
|
58
58
|
*/
|
|
59
|
-
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
59
|
+
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultSysDept>;
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
62
|
* Request parameters for getOnePark operation in HWorkApi.
|
|
@@ -92,5 +92,5 @@ export declare class HWorkApi extends BaseAPI {
|
|
|
92
92
|
* @throws {RequiredError}
|
|
93
93
|
* @memberof HWorkApi
|
|
94
94
|
*/
|
|
95
|
-
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
95
|
+
getOnePark(requestParameters: HWorkApiGetOneParkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultSysDept, any>>;
|
|
96
96
|
}
|