@gizone/rrs-client 4.2.0-alpha.281 → 4.2.0-alpha.283

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.
Files changed (37) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/api.ts +0 -1
  3. package/apis/open-api-api.ts +62 -26
  4. package/dist/api.d.ts +0 -1
  5. package/dist/api.js +0 -1
  6. package/dist/apis/open-api-api.d.ts +34 -10
  7. package/dist/apis/open-api-api.js +39 -24
  8. package/dist/esm/api.d.ts +0 -1
  9. package/dist/esm/api.js +0 -1
  10. package/dist/esm/apis/open-api-api.d.ts +34 -10
  11. package/dist/esm/apis/open-api-api.js +39 -24
  12. package/dist/esm/models/get-user-wx200-response.d.ts +9 -9
  13. package/dist/esm/models/ipage-access-vo.d.ts +6 -6
  14. package/dist/esm/models/login-type-enum.d.ts +0 -2
  15. package/dist/esm/models/login-type-enum.js +1 -3
  16. package/dist/esm/models/sync-equipment-status-vo.d.ts +2 -2
  17. package/dist/esm/models/sync-equipment-vo.d.ts +2 -2
  18. package/dist/esm/models/sys-user.d.ts +0 -6
  19. package/dist/models/get-user-wx200-response.d.ts +9 -9
  20. package/dist/models/ipage-access-vo.d.ts +6 -6
  21. package/dist/models/login-type-enum.d.ts +0 -2
  22. package/dist/models/login-type-enum.js +1 -3
  23. package/dist/models/sync-equipment-status-vo.d.ts +2 -2
  24. package/dist/models/sync-equipment-vo.d.ts +2 -2
  25. package/dist/models/sys-user.d.ts +0 -6
  26. package/models/get-user-wx200-response.ts +9 -9
  27. package/models/ipage-access-vo.ts +6 -6
  28. package/models/login-type-enum.ts +1 -3
  29. package/models/sync-equipment-status-vo.ts +2 -2
  30. package/models/sync-equipment-vo.ts +2 -2
  31. package/models/sys-user.ts +0 -6
  32. package/package.json +1 -1
  33. package/apis/hwork-api.ts +0 -167
  34. package/dist/apis/hwork-api.d.ts +0 -96
  35. package/dist/apis/hwork-api.js +0 -145
  36. package/dist/esm/apis/hwork-api.d.ts +0 -96
  37. package/dist/esm/apis/hwork-api.js +0 -138
@@ -1,138 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * OpenAPI definition
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
- return new (P || (P = Promise))(function (resolve, reject) {
17
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
- step((generator = generator.apply(thisArg, _arguments || [])).next());
21
- });
22
- };
23
- import globalAxios from 'axios';
24
- // Some imports not used depending on template conditions
25
- // @ts-ignore
26
- import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
27
- // @ts-ignore
28
- import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
- /**
30
- * HWorkApi - axios parameter creator
31
- * @export
32
- */
33
- export const HWorkApiAxiosParamCreator = function (configuration) {
34
- return {
35
- /**
36
- *
37
- * @summary 获取用户的某一个园区
38
- * @param {LoginTypeEnum} loginType
39
- * @param {number} [groupId]
40
- * @param {*} [options] Override http request option.
41
- * @throws {RequiredError}
42
- */
43
- getOnePark: (loginType_1, groupId_1, ...args_1) => __awaiter(this, [loginType_1, groupId_1, ...args_1], void 0, function* (loginType, groupId, options = {}) {
44
- // verify required parameter 'loginType' is not null or undefined
45
- assertParamExists('getOnePark', 'loginType', loginType);
46
- const localVarPath = `/haier/hwork/getOnePark`;
47
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
48
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
49
- let baseOptions;
50
- if (configuration) {
51
- baseOptions = configuration.baseOptions;
52
- }
53
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
54
- const localVarHeaderParameter = {};
55
- const localVarQueryParameter = {};
56
- // authentication tokenScheme required
57
- // http bearer authentication required
58
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
59
- if (groupId !== undefined) {
60
- localVarQueryParameter['groupId'] = groupId;
61
- }
62
- if (loginType !== undefined) {
63
- localVarQueryParameter['loginType'] = loginType;
64
- }
65
- setSearchParams(localVarUrlObj, localVarQueryParameter);
66
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
67
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
68
- return {
69
- url: toPathString(localVarUrlObj),
70
- options: localVarRequestOptions,
71
- };
72
- }),
73
- };
74
- };
75
- /**
76
- * HWorkApi - functional programming interface
77
- * @export
78
- */
79
- export const HWorkApiFp = function (configuration) {
80
- const localVarAxiosParamCreator = HWorkApiAxiosParamCreator(configuration);
81
- return {
82
- /**
83
- *
84
- * @summary 获取用户的某一个园区
85
- * @param {LoginTypeEnum} loginType
86
- * @param {number} [groupId]
87
- * @param {*} [options] Override http request option.
88
- * @throws {RequiredError}
89
- */
90
- getOnePark(loginType, groupId, options) {
91
- return __awaiter(this, void 0, void 0, function* () {
92
- var _a, _b, _c;
93
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getOnePark(loginType, groupId, options);
94
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
95
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['HWorkApi.getOnePark']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
96
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
97
- });
98
- },
99
- };
100
- };
101
- /**
102
- * HWorkApi - factory interface
103
- * @export
104
- */
105
- export const HWorkApiFactory = function (configuration, basePath, axios) {
106
- const localVarFp = HWorkApiFp(configuration);
107
- return {
108
- /**
109
- *
110
- * @summary 获取用户的某一个园区
111
- * @param {HWorkApiGetOneParkRequest} requestParameters Request parameters.
112
- * @param {*} [options] Override http request option.
113
- * @throws {RequiredError}
114
- */
115
- getOnePark(requestParameters, options) {
116
- return localVarFp.getOnePark(requestParameters.loginType, requestParameters.groupId, options).then((request) => request(axios, basePath));
117
- },
118
- };
119
- };
120
- /**
121
- * HWorkApi - object-oriented interface
122
- * @export
123
- * @class HWorkApi
124
- * @extends {BaseAPI}
125
- */
126
- export class HWorkApi extends BaseAPI {
127
- /**
128
- *
129
- * @summary 获取用户的某一个园区
130
- * @param {HWorkApiGetOneParkRequest} requestParameters Request parameters.
131
- * @param {*} [options] Override http request option.
132
- * @throws {RequiredError}
133
- * @memberof HWorkApi
134
- */
135
- getOnePark(requestParameters, options) {
136
- return HWorkApiFp(this.configuration).getOnePark(requestParameters.loginType, requestParameters.groupId, options).then((request) => request(this.axios, this.basePath));
137
- }
138
- }