@gizone/rrs-client 4.2.0-alpha.250 → 4.2.0-alpha.251
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/.openapi-generator/FILES +1 -0
- package/apis/web-hook-api.ts +18 -17
- package/dist/apis/web-hook-api.d.ts +8 -7
- package/dist/apis/web-hook-api.js +12 -13
- package/dist/esm/apis/web-hook-api.d.ts +8 -7
- package/dist/esm/apis/web-hook-api.js +13 -14
- package/dist/esm/models/get-user-wx200-response.d.ts +6 -6
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/ipage-access-vo.d.ts +6 -6
- package/dist/esm/models/srm-park-contract-change-vo.d.ts +24 -0
- package/dist/esm/models/srm-park-contract-change-vo.js +14 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/models/get-user-wx200-response.d.ts +6 -6
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/ipage-access-vo.d.ts +6 -6
- package/dist/models/srm-park-contract-change-vo.d.ts +24 -0
- package/dist/models/srm-park-contract-change-vo.js +15 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/models/get-user-wx200-response.ts +6 -6
- package/models/index.ts +1 -0
- package/models/ipage-access-vo.ts +6 -6
- package/models/srm-park-contract-change-vo.ts +30 -0
- package/models/sys-user.ts +4 -4
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/apis/web-hook-api.ts
CHANGED
|
@@ -23,6 +23,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
import type { JsonResultVoid } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { SrmParkContractChangeVo } from '../models';
|
|
26
28
|
/**
|
|
27
29
|
* WebHookApi - axios parameter creator
|
|
28
30
|
* @export
|
|
@@ -32,13 +34,13 @@ export const WebHookApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
32
34
|
/**
|
|
33
35
|
*
|
|
34
36
|
* @summary 接收SRM园区合同变更通知
|
|
35
|
-
* @param {
|
|
37
|
+
* @param {SrmParkContractChangeVo} srmParkContractChangeVo
|
|
36
38
|
* @param {*} [options] Override http request option.
|
|
37
39
|
* @throws {RequiredError}
|
|
38
40
|
*/
|
|
39
|
-
srmParkContractChange: async (
|
|
40
|
-
// verify required parameter '
|
|
41
|
-
assertParamExists('srmParkContractChange', '
|
|
41
|
+
srmParkContractChange: async (srmParkContractChangeVo: SrmParkContractChangeVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42
|
+
// verify required parameter 'srmParkContractChangeVo' is not null or undefined
|
|
43
|
+
assertParamExists('srmParkContractChange', 'srmParkContractChangeVo', srmParkContractChangeVo)
|
|
42
44
|
const localVarPath = `/webhook/srm/parkContract/change`;
|
|
43
45
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44
46
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -47,7 +49,7 @@ export const WebHookApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
47
49
|
baseOptions = configuration.baseOptions;
|
|
48
50
|
}
|
|
49
51
|
|
|
50
|
-
const localVarRequestOptions = { method: '
|
|
52
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
51
53
|
const localVarHeaderParameter = {} as any;
|
|
52
54
|
const localVarQueryParameter = {} as any;
|
|
53
55
|
|
|
@@ -55,15 +57,14 @@ export const WebHookApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
55
57
|
// http bearer authentication required
|
|
56
58
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
57
59
|
|
|
58
|
-
if (parkCode !== undefined) {
|
|
59
|
-
localVarQueryParameter['parkCode'] = parkCode;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
60
|
|
|
63
61
|
|
|
62
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
63
|
+
|
|
64
64
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65
65
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66
66
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
67
|
+
localVarRequestOptions.data = serializeDataIfNeeded(srmParkContractChangeVo, localVarRequestOptions, configuration)
|
|
67
68
|
|
|
68
69
|
return {
|
|
69
70
|
url: toPathString(localVarUrlObj),
|
|
@@ -83,12 +84,12 @@ export const WebHookApiFp = function(configuration?: Configuration) {
|
|
|
83
84
|
/**
|
|
84
85
|
*
|
|
85
86
|
* @summary 接收SRM园区合同变更通知
|
|
86
|
-
* @param {
|
|
87
|
+
* @param {SrmParkContractChangeVo} srmParkContractChangeVo
|
|
87
88
|
* @param {*} [options] Override http request option.
|
|
88
89
|
* @throws {RequiredError}
|
|
89
90
|
*/
|
|
90
|
-
async srmParkContractChange(
|
|
91
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.srmParkContractChange(
|
|
91
|
+
async srmParkContractChange(srmParkContractChangeVo: SrmParkContractChangeVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
92
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.srmParkContractChange(srmParkContractChangeVo, options);
|
|
92
93
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
93
94
|
const localVarOperationServerBasePath = operationServerMap['WebHookApi.srmParkContractChange']?.[localVarOperationServerIndex]?.url;
|
|
94
95
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -111,7 +112,7 @@ export const WebHookApiFactory = function (configuration?: Configuration, basePa
|
|
|
111
112
|
* @throws {RequiredError}
|
|
112
113
|
*/
|
|
113
114
|
srmParkContractChange(requestParameters: WebHookApiSrmParkContractChangeRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
114
|
-
return localVarFp.srmParkContractChange(requestParameters.
|
|
115
|
+
return localVarFp.srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(axios, basePath));
|
|
115
116
|
},
|
|
116
117
|
};
|
|
117
118
|
};
|
|
@@ -123,11 +124,11 @@ export const WebHookApiFactory = function (configuration?: Configuration, basePa
|
|
|
123
124
|
*/
|
|
124
125
|
export interface WebHookApiSrmParkContractChangeRequest {
|
|
125
126
|
/**
|
|
126
|
-
*
|
|
127
|
-
* @type {
|
|
127
|
+
*
|
|
128
|
+
* @type {SrmParkContractChangeVo}
|
|
128
129
|
* @memberof WebHookApiSrmParkContractChange
|
|
129
130
|
*/
|
|
130
|
-
readonly
|
|
131
|
+
readonly srmParkContractChangeVo: SrmParkContractChangeVo
|
|
131
132
|
}
|
|
132
133
|
|
|
133
134
|
/**
|
|
@@ -146,7 +147,7 @@ export class WebHookApi extends BaseAPI {
|
|
|
146
147
|
* @memberof WebHookApi
|
|
147
148
|
*/
|
|
148
149
|
public srmParkContractChange(requestParameters: WebHookApiSrmParkContractChangeRequest, options?: RawAxiosRequestConfig) {
|
|
149
|
-
return WebHookApiFp(this.configuration).srmParkContractChange(requestParameters.
|
|
150
|
+
return WebHookApiFp(this.configuration).srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(this.axios, this.basePath));
|
|
150
151
|
}
|
|
151
152
|
}
|
|
152
153
|
|
|
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { JsonResultVoid } from '../models';
|
|
16
|
+
import type { SrmParkContractChangeVo } from '../models';
|
|
16
17
|
/**
|
|
17
18
|
* WebHookApi - axios parameter creator
|
|
18
19
|
* @export
|
|
@@ -21,11 +22,11 @@ export declare const WebHookApiAxiosParamCreator: (configuration?: Configuration
|
|
|
21
22
|
/**
|
|
22
23
|
*
|
|
23
24
|
* @summary 接收SRM园区合同变更通知
|
|
24
|
-
* @param {
|
|
25
|
+
* @param {SrmParkContractChangeVo} srmParkContractChangeVo
|
|
25
26
|
* @param {*} [options] Override http request option.
|
|
26
27
|
* @throws {RequiredError}
|
|
27
28
|
*/
|
|
28
|
-
srmParkContractChange: (
|
|
29
|
+
srmParkContractChange: (srmParkContractChangeVo: SrmParkContractChangeVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
30
|
};
|
|
30
31
|
/**
|
|
31
32
|
* WebHookApi - functional programming interface
|
|
@@ -35,11 +36,11 @@ export declare const WebHookApiFp: (configuration?: Configuration) => {
|
|
|
35
36
|
/**
|
|
36
37
|
*
|
|
37
38
|
* @summary 接收SRM园区合同变更通知
|
|
38
|
-
* @param {
|
|
39
|
+
* @param {SrmParkContractChangeVo} srmParkContractChangeVo
|
|
39
40
|
* @param {*} [options] Override http request option.
|
|
40
41
|
* @throws {RequiredError}
|
|
41
42
|
*/
|
|
42
|
-
srmParkContractChange(
|
|
43
|
+
srmParkContractChange(srmParkContractChangeVo: SrmParkContractChangeVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
43
44
|
};
|
|
44
45
|
/**
|
|
45
46
|
* WebHookApi - factory interface
|
|
@@ -62,11 +63,11 @@ export declare const WebHookApiFactory: (configuration?: Configuration, basePath
|
|
|
62
63
|
*/
|
|
63
64
|
export interface WebHookApiSrmParkContractChangeRequest {
|
|
64
65
|
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {
|
|
66
|
+
*
|
|
67
|
+
* @type {SrmParkContractChangeVo}
|
|
67
68
|
* @memberof WebHookApiSrmParkContractChange
|
|
68
69
|
*/
|
|
69
|
-
readonly
|
|
70
|
+
readonly srmParkContractChangeVo: SrmParkContractChangeVo;
|
|
70
71
|
}
|
|
71
72
|
/**
|
|
72
73
|
* WebHookApi - object-oriented interface
|
|
@@ -38,13 +38,13 @@ const WebHookApiAxiosParamCreator = function (configuration) {
|
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @summary 接收SRM园区合同变更通知
|
|
41
|
-
* @param {
|
|
41
|
+
* @param {SrmParkContractChangeVo} srmParkContractChangeVo
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
srmParkContractChange: (
|
|
46
|
-
// verify required parameter '
|
|
47
|
-
(0, common_1.assertParamExists)('srmParkContractChange', '
|
|
45
|
+
srmParkContractChange: (srmParkContractChangeVo_1, ...args_1) => __awaiter(this, [srmParkContractChangeVo_1, ...args_1], void 0, function* (srmParkContractChangeVo, options = {}) {
|
|
46
|
+
// verify required parameter 'srmParkContractChangeVo' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('srmParkContractChange', 'srmParkContractChangeVo', srmParkContractChangeVo);
|
|
48
48
|
const localVarPath = `/webhook/srm/parkContract/change`;
|
|
49
49
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
50
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -52,18 +52,17 @@ const WebHookApiAxiosParamCreator = function (configuration) {
|
|
|
52
52
|
if (configuration) {
|
|
53
53
|
baseOptions = configuration.baseOptions;
|
|
54
54
|
}
|
|
55
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
55
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
56
56
|
const localVarHeaderParameter = {};
|
|
57
57
|
const localVarQueryParameter = {};
|
|
58
58
|
// authentication tokenScheme required
|
|
59
59
|
// http bearer authentication required
|
|
60
60
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
61
|
-
|
|
62
|
-
localVarQueryParameter['parkCode'] = parkCode;
|
|
63
|
-
}
|
|
61
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
64
62
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
65
63
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66
64
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(srmParkContractChangeVo, localVarRequestOptions, configuration);
|
|
67
66
|
return {
|
|
68
67
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
69
68
|
options: localVarRequestOptions,
|
|
@@ -82,14 +81,14 @@ const WebHookApiFp = function (configuration) {
|
|
|
82
81
|
/**
|
|
83
82
|
*
|
|
84
83
|
* @summary 接收SRM园区合同变更通知
|
|
85
|
-
* @param {
|
|
84
|
+
* @param {SrmParkContractChangeVo} srmParkContractChangeVo
|
|
86
85
|
* @param {*} [options] Override http request option.
|
|
87
86
|
* @throws {RequiredError}
|
|
88
87
|
*/
|
|
89
|
-
srmParkContractChange(
|
|
88
|
+
srmParkContractChange(srmParkContractChangeVo, options) {
|
|
90
89
|
return __awaiter(this, void 0, void 0, function* () {
|
|
91
90
|
var _a, _b, _c;
|
|
92
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.srmParkContractChange(
|
|
91
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.srmParkContractChange(srmParkContractChangeVo, options);
|
|
93
92
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
94
93
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebHookApi.srmParkContractChange']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
95
94
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -113,7 +112,7 @@ const WebHookApiFactory = function (configuration, basePath, axios) {
|
|
|
113
112
|
* @throws {RequiredError}
|
|
114
113
|
*/
|
|
115
114
|
srmParkContractChange(requestParameters, options) {
|
|
116
|
-
return localVarFp.srmParkContractChange(requestParameters.
|
|
115
|
+
return localVarFp.srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(axios, basePath));
|
|
117
116
|
},
|
|
118
117
|
};
|
|
119
118
|
};
|
|
@@ -134,7 +133,7 @@ class WebHookApi extends base_1.BaseAPI {
|
|
|
134
133
|
* @memberof WebHookApi
|
|
135
134
|
*/
|
|
136
135
|
srmParkContractChange(requestParameters, options) {
|
|
137
|
-
return (0, exports.WebHookApiFp)(this.configuration).srmParkContractChange(requestParameters.
|
|
136
|
+
return (0, exports.WebHookApiFp)(this.configuration).srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(this.axios, this.basePath));
|
|
138
137
|
}
|
|
139
138
|
}
|
|
140
139
|
exports.WebHookApi = WebHookApi;
|
|
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { JsonResultVoid } from '../models';
|
|
16
|
+
import type { SrmParkContractChangeVo } from '../models';
|
|
16
17
|
/**
|
|
17
18
|
* WebHookApi - axios parameter creator
|
|
18
19
|
* @export
|
|
@@ -21,11 +22,11 @@ export declare const WebHookApiAxiosParamCreator: (configuration?: Configuration
|
|
|
21
22
|
/**
|
|
22
23
|
*
|
|
23
24
|
* @summary 接收SRM园区合同变更通知
|
|
24
|
-
* @param {
|
|
25
|
+
* @param {SrmParkContractChangeVo} srmParkContractChangeVo
|
|
25
26
|
* @param {*} [options] Override http request option.
|
|
26
27
|
* @throws {RequiredError}
|
|
27
28
|
*/
|
|
28
|
-
srmParkContractChange: (
|
|
29
|
+
srmParkContractChange: (srmParkContractChangeVo: SrmParkContractChangeVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
30
|
};
|
|
30
31
|
/**
|
|
31
32
|
* WebHookApi - functional programming interface
|
|
@@ -35,11 +36,11 @@ export declare const WebHookApiFp: (configuration?: Configuration) => {
|
|
|
35
36
|
/**
|
|
36
37
|
*
|
|
37
38
|
* @summary 接收SRM园区合同变更通知
|
|
38
|
-
* @param {
|
|
39
|
+
* @param {SrmParkContractChangeVo} srmParkContractChangeVo
|
|
39
40
|
* @param {*} [options] Override http request option.
|
|
40
41
|
* @throws {RequiredError}
|
|
41
42
|
*/
|
|
42
|
-
srmParkContractChange(
|
|
43
|
+
srmParkContractChange(srmParkContractChangeVo: SrmParkContractChangeVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
43
44
|
};
|
|
44
45
|
/**
|
|
45
46
|
* WebHookApi - factory interface
|
|
@@ -62,11 +63,11 @@ export declare const WebHookApiFactory: (configuration?: Configuration, basePath
|
|
|
62
63
|
*/
|
|
63
64
|
export interface WebHookApiSrmParkContractChangeRequest {
|
|
64
65
|
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {
|
|
66
|
+
*
|
|
67
|
+
* @type {SrmParkContractChangeVo}
|
|
67
68
|
* @memberof WebHookApiSrmParkContractChange
|
|
68
69
|
*/
|
|
69
|
-
readonly
|
|
70
|
+
readonly srmParkContractChangeVo: SrmParkContractChangeVo;
|
|
70
71
|
}
|
|
71
72
|
/**
|
|
72
73
|
* WebHookApi - object-oriented interface
|
|
@@ -23,7 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
import globalAxios from 'axios';
|
|
24
24
|
// Some imports not used depending on template conditions
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
29
|
/**
|
|
@@ -35,13 +35,13 @@ export const WebHookApiAxiosParamCreator = function (configuration) {
|
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @summary 接收SRM园区合同变更通知
|
|
38
|
-
* @param {
|
|
38
|
+
* @param {SrmParkContractChangeVo} srmParkContractChangeVo
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
|
-
srmParkContractChange: (
|
|
43
|
-
// verify required parameter '
|
|
44
|
-
assertParamExists('srmParkContractChange', '
|
|
42
|
+
srmParkContractChange: (srmParkContractChangeVo_1, ...args_1) => __awaiter(this, [srmParkContractChangeVo_1, ...args_1], void 0, function* (srmParkContractChangeVo, options = {}) {
|
|
43
|
+
// verify required parameter 'srmParkContractChangeVo' is not null or undefined
|
|
44
|
+
assertParamExists('srmParkContractChange', 'srmParkContractChangeVo', srmParkContractChangeVo);
|
|
45
45
|
const localVarPath = `/webhook/srm/parkContract/change`;
|
|
46
46
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
47
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -49,18 +49,17 @@ export const WebHookApiAxiosParamCreator = function (configuration) {
|
|
|
49
49
|
if (configuration) {
|
|
50
50
|
baseOptions = configuration.baseOptions;
|
|
51
51
|
}
|
|
52
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
52
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
53
53
|
const localVarHeaderParameter = {};
|
|
54
54
|
const localVarQueryParameter = {};
|
|
55
55
|
// authentication tokenScheme required
|
|
56
56
|
// http bearer authentication required
|
|
57
57
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
58
|
-
|
|
59
|
-
localVarQueryParameter['parkCode'] = parkCode;
|
|
60
|
-
}
|
|
58
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
61
59
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
62
60
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63
61
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
62
|
+
localVarRequestOptions.data = serializeDataIfNeeded(srmParkContractChangeVo, localVarRequestOptions, configuration);
|
|
64
63
|
return {
|
|
65
64
|
url: toPathString(localVarUrlObj),
|
|
66
65
|
options: localVarRequestOptions,
|
|
@@ -78,14 +77,14 @@ export const WebHookApiFp = function (configuration) {
|
|
|
78
77
|
/**
|
|
79
78
|
*
|
|
80
79
|
* @summary 接收SRM园区合同变更通知
|
|
81
|
-
* @param {
|
|
80
|
+
* @param {SrmParkContractChangeVo} srmParkContractChangeVo
|
|
82
81
|
* @param {*} [options] Override http request option.
|
|
83
82
|
* @throws {RequiredError}
|
|
84
83
|
*/
|
|
85
|
-
srmParkContractChange(
|
|
84
|
+
srmParkContractChange(srmParkContractChangeVo, options) {
|
|
86
85
|
return __awaiter(this, void 0, void 0, function* () {
|
|
87
86
|
var _a, _b, _c;
|
|
88
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.srmParkContractChange(
|
|
87
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.srmParkContractChange(srmParkContractChangeVo, options);
|
|
89
88
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
90
89
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WebHookApi.srmParkContractChange']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
91
90
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -108,7 +107,7 @@ export const WebHookApiFactory = function (configuration, basePath, axios) {
|
|
|
108
107
|
* @throws {RequiredError}
|
|
109
108
|
*/
|
|
110
109
|
srmParkContractChange(requestParameters, options) {
|
|
111
|
-
return localVarFp.srmParkContractChange(requestParameters.
|
|
110
|
+
return localVarFp.srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(axios, basePath));
|
|
112
111
|
},
|
|
113
112
|
};
|
|
114
113
|
};
|
|
@@ -128,6 +127,6 @@ export class WebHookApi extends BaseAPI {
|
|
|
128
127
|
* @memberof WebHookApi
|
|
129
128
|
*/
|
|
130
129
|
srmParkContractChange(requestParameters, options) {
|
|
131
|
-
return WebHookApiFp(this.configuration).srmParkContractChange(requestParameters.
|
|
130
|
+
return WebHookApiFp(this.configuration).srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(this.axios, this.basePath));
|
|
132
131
|
}
|
|
133
132
|
}
|
|
@@ -17,12 +17,6 @@ import type { GetUserWx200ResponseOutputStream } from './get-user-wx200-response
|
|
|
17
17
|
* @interface GetUserWx200Response
|
|
18
18
|
*/
|
|
19
19
|
export interface GetUserWx200Response {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {object}
|
|
23
|
-
* @memberof GetUserWx200Response
|
|
24
|
-
*/
|
|
25
|
-
'trailerFields'?: object;
|
|
26
20
|
/**
|
|
27
21
|
*
|
|
28
22
|
* @type {number}
|
|
@@ -35,6 +29,12 @@ export interface GetUserWx200Response {
|
|
|
35
29
|
* @memberof GetUserWx200Response
|
|
36
30
|
*/
|
|
37
31
|
'headerNames'?: Array<string>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {object}
|
|
35
|
+
* @memberof GetUserWx200Response
|
|
36
|
+
*/
|
|
37
|
+
'trailerFields'?: object;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {GetUserWx200ResponseLocale}
|
|
@@ -773,6 +773,7 @@ export * from './space-type-enum';
|
|
|
773
773
|
export * from './space-url-add-vo';
|
|
774
774
|
export * from './space-url-dto';
|
|
775
775
|
export * from './space-url-edit-vo';
|
|
776
|
+
export * from './srm-park-contract-change-vo';
|
|
776
777
|
export * from './standard-delete-vo';
|
|
777
778
|
export * from './statistics-park-carbon-emission-bo';
|
|
778
779
|
export * from './steps';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -773,6 +773,7 @@ export * from './space-type-enum';
|
|
|
773
773
|
export * from './space-url-add-vo';
|
|
774
774
|
export * from './space-url-dto';
|
|
775
775
|
export * from './space-url-edit-vo';
|
|
776
|
+
export * from './srm-park-contract-change-vo';
|
|
776
777
|
export * from './standard-delete-vo';
|
|
777
778
|
export * from './statistics-park-carbon-emission-bo';
|
|
778
779
|
export * from './steps';
|
|
@@ -34,12 +34,6 @@ export interface IPageAccessVO {
|
|
|
34
34
|
* @memberof IPageAccessVO
|
|
35
35
|
*/
|
|
36
36
|
'records'?: Array<AccessVO>;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {boolean}
|
|
40
|
-
* @memberof IPageAccessVO
|
|
41
|
-
*/
|
|
42
|
-
'searchCount'?: boolean;
|
|
43
37
|
/**
|
|
44
38
|
*
|
|
45
39
|
* @type {number}
|
|
@@ -53,6 +47,12 @@ export interface IPageAccessVO {
|
|
|
53
47
|
* @deprecated
|
|
54
48
|
*/
|
|
55
49
|
'hitCount'?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof IPageAccessVO
|
|
54
|
+
*/
|
|
55
|
+
'searchCount'?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {number}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* srm园区合同变更
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SrmParkContractChangeVo
|
|
16
|
+
*/
|
|
17
|
+
export interface SrmParkContractChangeVo {
|
|
18
|
+
/**
|
|
19
|
+
* 园区Code
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SrmParkContractChangeVo
|
|
22
|
+
*/
|
|
23
|
+
'parkCode': string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export {};
|
|
@@ -370,14 +370,14 @@ export interface SysUser {
|
|
|
370
370
|
'userAttachments'?: Array<SysUserAttachmentInfo>;
|
|
371
371
|
/**
|
|
372
372
|
*
|
|
373
|
-
* @type {
|
|
373
|
+
* @type {number}
|
|
374
374
|
* @memberof SysUser
|
|
375
375
|
*/
|
|
376
|
-
'
|
|
376
|
+
'cuserId'?: number;
|
|
377
377
|
/**
|
|
378
378
|
*
|
|
379
|
-
* @type {
|
|
379
|
+
* @type {string}
|
|
380
380
|
* @memberof SysUser
|
|
381
381
|
*/
|
|
382
|
-
'
|
|
382
|
+
'cid'?: string;
|
|
383
383
|
}
|
|
@@ -17,12 +17,6 @@ import type { GetUserWx200ResponseOutputStream } from './get-user-wx200-response
|
|
|
17
17
|
* @interface GetUserWx200Response
|
|
18
18
|
*/
|
|
19
19
|
export interface GetUserWx200Response {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {object}
|
|
23
|
-
* @memberof GetUserWx200Response
|
|
24
|
-
*/
|
|
25
|
-
'trailerFields'?: object;
|
|
26
20
|
/**
|
|
27
21
|
*
|
|
28
22
|
* @type {number}
|
|
@@ -35,6 +29,12 @@ export interface GetUserWx200Response {
|
|
|
35
29
|
* @memberof GetUserWx200Response
|
|
36
30
|
*/
|
|
37
31
|
'headerNames'?: Array<string>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {object}
|
|
35
|
+
* @memberof GetUserWx200Response
|
|
36
|
+
*/
|
|
37
|
+
'trailerFields'?: object;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {GetUserWx200ResponseLocale}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -773,6 +773,7 @@ export * from './space-type-enum';
|
|
|
773
773
|
export * from './space-url-add-vo';
|
|
774
774
|
export * from './space-url-dto';
|
|
775
775
|
export * from './space-url-edit-vo';
|
|
776
|
+
export * from './srm-park-contract-change-vo';
|
|
776
777
|
export * from './standard-delete-vo';
|
|
777
778
|
export * from './statistics-park-carbon-emission-bo';
|
|
778
779
|
export * from './steps';
|
package/dist/models/index.js
CHANGED
|
@@ -789,6 +789,7 @@ __exportStar(require("./space-type-enum"), exports);
|
|
|
789
789
|
__exportStar(require("./space-url-add-vo"), exports);
|
|
790
790
|
__exportStar(require("./space-url-dto"), exports);
|
|
791
791
|
__exportStar(require("./space-url-edit-vo"), exports);
|
|
792
|
+
__exportStar(require("./srm-park-contract-change-vo"), exports);
|
|
792
793
|
__exportStar(require("./standard-delete-vo"), exports);
|
|
793
794
|
__exportStar(require("./statistics-park-carbon-emission-bo"), exports);
|
|
794
795
|
__exportStar(require("./steps"), exports);
|
|
@@ -34,12 +34,6 @@ export interface IPageAccessVO {
|
|
|
34
34
|
* @memberof IPageAccessVO
|
|
35
35
|
*/
|
|
36
36
|
'records'?: Array<AccessVO>;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {boolean}
|
|
40
|
-
* @memberof IPageAccessVO
|
|
41
|
-
*/
|
|
42
|
-
'searchCount'?: boolean;
|
|
43
37
|
/**
|
|
44
38
|
*
|
|
45
39
|
* @type {number}
|
|
@@ -53,6 +47,12 @@ export interface IPageAccessVO {
|
|
|
53
47
|
* @deprecated
|
|
54
48
|
*/
|
|
55
49
|
'hitCount'?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof IPageAccessVO
|
|
54
|
+
*/
|
|
55
|
+
'searchCount'?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {number}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* srm园区合同变更
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SrmParkContractChangeVo
|
|
16
|
+
*/
|
|
17
|
+
export interface SrmParkContractChangeVo {
|
|
18
|
+
/**
|
|
19
|
+
* 园区Code
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SrmParkContractChangeVo
|
|
22
|
+
*/
|
|
23
|
+
'parkCode': string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -370,14 +370,14 @@ export interface SysUser {
|
|
|
370
370
|
'userAttachments'?: Array<SysUserAttachmentInfo>;
|
|
371
371
|
/**
|
|
372
372
|
*
|
|
373
|
-
* @type {
|
|
373
|
+
* @type {number}
|
|
374
374
|
* @memberof SysUser
|
|
375
375
|
*/
|
|
376
|
-
'
|
|
376
|
+
'cuserId'?: number;
|
|
377
377
|
/**
|
|
378
378
|
*
|
|
379
|
-
* @type {
|
|
379
|
+
* @type {string}
|
|
380
380
|
* @memberof SysUser
|
|
381
381
|
*/
|
|
382
|
-
'
|
|
382
|
+
'cid'?: string;
|
|
383
383
|
}
|
|
@@ -26,12 +26,6 @@ import type { GetUserWx200ResponseOutputStream } from './get-user-wx200-response
|
|
|
26
26
|
* @interface GetUserWx200Response
|
|
27
27
|
*/
|
|
28
28
|
export interface GetUserWx200Response {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {object}
|
|
32
|
-
* @memberof GetUserWx200Response
|
|
33
|
-
*/
|
|
34
|
-
'trailerFields'?: object;
|
|
35
29
|
/**
|
|
36
30
|
*
|
|
37
31
|
* @type {number}
|
|
@@ -44,6 +38,12 @@ export interface GetUserWx200Response {
|
|
|
44
38
|
* @memberof GetUserWx200Response
|
|
45
39
|
*/
|
|
46
40
|
'headerNames'?: Array<string>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {object}
|
|
44
|
+
* @memberof GetUserWx200Response
|
|
45
|
+
*/
|
|
46
|
+
'trailerFields'?: object;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @type {GetUserWx200ResponseLocale}
|
package/models/index.ts
CHANGED
|
@@ -773,6 +773,7 @@ export * from './space-type-enum';
|
|
|
773
773
|
export * from './space-url-add-vo';
|
|
774
774
|
export * from './space-url-dto';
|
|
775
775
|
export * from './space-url-edit-vo';
|
|
776
|
+
export * from './srm-park-contract-change-vo';
|
|
776
777
|
export * from './standard-delete-vo';
|
|
777
778
|
export * from './statistics-park-carbon-emission-bo';
|
|
778
779
|
export * from './steps';
|
|
@@ -41,12 +41,6 @@ export interface IPageAccessVO {
|
|
|
41
41
|
* @memberof IPageAccessVO
|
|
42
42
|
*/
|
|
43
43
|
'records'?: Array<AccessVO>;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {boolean}
|
|
47
|
-
* @memberof IPageAccessVO
|
|
48
|
-
*/
|
|
49
|
-
'searchCount'?: boolean;
|
|
50
44
|
/**
|
|
51
45
|
*
|
|
52
46
|
* @type {number}
|
|
@@ -60,6 +54,12 @@ export interface IPageAccessVO {
|
|
|
60
54
|
* @deprecated
|
|
61
55
|
*/
|
|
62
56
|
'hitCount'?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {boolean}
|
|
60
|
+
* @memberof IPageAccessVO
|
|
61
|
+
*/
|
|
62
|
+
'searchCount'?: boolean;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
* @type {number}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* srm园区合同变更
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SrmParkContractChangeVo
|
|
21
|
+
*/
|
|
22
|
+
export interface SrmParkContractChangeVo {
|
|
23
|
+
/**
|
|
24
|
+
* 园区Code
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SrmParkContractChangeVo
|
|
27
|
+
*/
|
|
28
|
+
'parkCode': string;
|
|
29
|
+
}
|
|
30
|
+
|
package/models/sys-user.ts
CHANGED
|
@@ -379,15 +379,15 @@ export interface SysUser {
|
|
|
379
379
|
'userAttachments'?: Array<SysUserAttachmentInfo>;
|
|
380
380
|
/**
|
|
381
381
|
*
|
|
382
|
-
* @type {
|
|
382
|
+
* @type {number}
|
|
383
383
|
* @memberof SysUser
|
|
384
384
|
*/
|
|
385
|
-
'
|
|
385
|
+
'cuserId'?: number;
|
|
386
386
|
/**
|
|
387
387
|
*
|
|
388
|
-
* @type {
|
|
388
|
+
* @type {string}
|
|
389
389
|
* @memberof SysUser
|
|
390
390
|
*/
|
|
391
|
-
'
|
|
391
|
+
'cid'?: string;
|
|
392
392
|
}
|
|
393
393
|
|