@gizone/rrs-client 4.2.9-alpha.643 → 4.2.9-alpha.658
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 +20 -0
- package/apis/device-api.ts +15 -15
- package/apis/hwork-api.ts +93 -0
- package/apis/maintenance-order-api.ts +359 -270
- package/apis/reimbursement-bill-api.ts +89 -0
- package/apis/web-hook-api.ts +364 -0
- package/dist/apis/device-api.d.ts +10 -10
- package/dist/apis/device-api.js +11 -11
- package/dist/apis/hwork-api.d.ts +48 -0
- package/dist/apis/hwork-api.js +70 -0
- package/dist/apis/maintenance-order-api.d.ts +235 -188
- package/dist/apis/maintenance-order-api.js +259 -190
- package/dist/apis/reimbursement-bill-api.d.ts +47 -0
- package/dist/apis/reimbursement-bill-api.js +69 -0
- package/dist/apis/web-hook-api.d.ts +212 -0
- package/dist/apis/web-hook-api.js +280 -0
- package/dist/esm/apis/device-api.d.ts +10 -10
- package/dist/esm/apis/device-api.js +11 -11
- package/dist/esm/apis/hwork-api.d.ts +48 -0
- package/dist/esm/apis/hwork-api.js +71 -1
- package/dist/esm/apis/maintenance-order-api.d.ts +235 -188
- package/dist/esm/apis/maintenance-order-api.js +259 -190
- package/dist/esm/apis/reimbursement-bill-api.d.ts +47 -0
- package/dist/esm/apis/reimbursement-bill-api.js +69 -0
- package/dist/esm/apis/web-hook-api.d.ts +212 -0
- package/dist/esm/apis/web-hook-api.js +280 -0
- package/dist/esm/models/budget-interaction-result-detail-dto.d.ts +48 -0
- package/dist/esm/models/budget-interaction-result-detail-dto.js +14 -0
- package/dist/esm/models/czy-budget-interaction-result-webhook-dto.d.ts +79 -0
- package/dist/esm/models/czy-budget-interaction-result-webhook-dto.js +14 -0
- package/dist/esm/models/czy-settlement-interaction-webhook-dto.d.ts +57 -0
- package/dist/esm/models/czy-settlement-interaction-webhook-dto.js +14 -0
- package/dist/esm/models/czycover-file-url-webhook-dto.d.ts +84 -0
- package/dist/esm/models/czycover-file-url-webhook-dto.js +14 -0
- package/dist/esm/models/dashboard-maintenance-order-statistics-by-park-vo.d.ts +0 -6
- package/dist/esm/models/dashboard-maintenance-order-statistics-by-type-vo.d.ts +0 -6
- package/dist/esm/models/dept.d.ts +36 -0
- package/dist/esm/models/dept.js +14 -0
- package/dist/esm/models/hwork-notice-bpm-dto.d.ts +60 -0
- package/dist/esm/models/hwork-notice-bpm-dto.js +14 -0
- package/dist/esm/models/hwork-user-list-req-dto.d.ts +30 -0
- package/dist/esm/models/hwork-user-list-req-dto.js +14 -0
- package/dist/esm/models/hwork-user-list-result-vo.d.ts +44 -0
- package/dist/esm/models/hwork-user-list-result-vo.js +14 -0
- package/dist/esm/models/index.d.ts +20 -0
- package/dist/esm/models/index.js +20 -0
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +6 -6
- package/dist/esm/models/json-result-hwork-user-list-result-vo.d.ts +62 -0
- package/dist/esm/models/json-result-hwork-user-list-result-vo.js +14 -0
- package/dist/esm/models/json-result-list-maintenance-order-process-record-list-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-maintenance-order-process-record-list-vo.js +14 -0
- package/dist/esm/models/json-result-list-reimbursement-bill-process-record-list-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-reimbursement-bill-process-record-list-vo.js +14 -0
- package/dist/esm/models/maintenance-order-approval-config-add-dto.d.ts +6 -0
- package/dist/esm/models/maintenance-order-process-record-list-vo.d.ts +61 -0
- package/dist/esm/models/maintenance-order-process-record-list-vo.js +14 -0
- package/dist/esm/models/maintenance-order-process-status-enum.d.ts +30 -0
- package/dist/esm/models/maintenance-order-process-status-enum.js +31 -0
- package/dist/esm/models/mdm-increment-vendor-bank-accounts-vo.d.ts +9 -9
- package/dist/esm/models/mdm-increment-vendors-vo.d.ts +12 -12
- package/dist/esm/models/payment-result-dto.d.ts +102 -0
- package/dist/esm/models/payment-result-dto.js +14 -0
- package/dist/esm/models/reimbursement-bill-draft-dto.d.ts +6 -0
- package/dist/esm/models/reimbursement-bill-process-record-list-vo.d.ts +55 -0
- package/dist/esm/models/reimbursement-bill-process-record-list-vo.js +14 -0
- package/dist/esm/models/reimbursement-bill-process-type-enum.d.ts +22 -0
- package/dist/esm/models/reimbursement-bill-process-type-enum.js +23 -0
- package/dist/esm/models/reimbursement-bill-submit-dto.d.ts +7 -1
- package/dist/esm/models/reimbursement-create-result-dto.d.ts +48 -0
- package/dist/esm/models/reimbursement-create-result-dto.js +14 -0
- package/dist/esm/models/reimbursement-platform-status-dto.d.ts +169 -0
- package/dist/esm/models/reimbursement-platform-status-dto.js +14 -0
- package/dist/esm/models/reimbursement-reverse-status-dto.d.ts +60 -0
- package/dist/esm/models/reimbursement-reverse-status-dto.js +14 -0
- package/dist/esm/models/user.d.ts +36 -0
- package/dist/esm/models/user.js +14 -0
- package/dist/models/budget-interaction-result-detail-dto.d.ts +48 -0
- package/dist/models/budget-interaction-result-detail-dto.js +15 -0
- package/dist/models/czy-budget-interaction-result-webhook-dto.d.ts +79 -0
- package/dist/models/czy-budget-interaction-result-webhook-dto.js +15 -0
- package/dist/models/czy-settlement-interaction-webhook-dto.d.ts +57 -0
- package/dist/models/czy-settlement-interaction-webhook-dto.js +15 -0
- package/dist/models/czycover-file-url-webhook-dto.d.ts +84 -0
- package/dist/models/czycover-file-url-webhook-dto.js +15 -0
- package/dist/models/dashboard-maintenance-order-statistics-by-park-vo.d.ts +0 -6
- package/dist/models/dashboard-maintenance-order-statistics-by-type-vo.d.ts +0 -6
- package/dist/models/dept.d.ts +36 -0
- package/dist/models/dept.js +15 -0
- package/dist/models/hwork-notice-bpm-dto.d.ts +60 -0
- package/dist/models/hwork-notice-bpm-dto.js +15 -0
- package/dist/models/hwork-user-list-req-dto.d.ts +30 -0
- package/dist/models/hwork-user-list-req-dto.js +15 -0
- package/dist/models/hwork-user-list-result-vo.d.ts +44 -0
- package/dist/models/hwork-user-list-result-vo.js +15 -0
- package/dist/models/index.d.ts +20 -0
- package/dist/models/index.js +20 -0
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +6 -6
- package/dist/models/json-result-hwork-user-list-result-vo.d.ts +62 -0
- package/dist/models/json-result-hwork-user-list-result-vo.js +15 -0
- package/dist/models/json-result-list-maintenance-order-process-record-list-vo.d.ts +62 -0
- package/dist/models/json-result-list-maintenance-order-process-record-list-vo.js +15 -0
- package/dist/models/json-result-list-reimbursement-bill-process-record-list-vo.d.ts +62 -0
- package/dist/models/json-result-list-reimbursement-bill-process-record-list-vo.js +15 -0
- package/dist/models/maintenance-order-approval-config-add-dto.d.ts +6 -0
- package/dist/models/maintenance-order-process-record-list-vo.d.ts +61 -0
- package/dist/models/maintenance-order-process-record-list-vo.js +15 -0
- package/dist/models/maintenance-order-process-status-enum.d.ts +30 -0
- package/dist/models/maintenance-order-process-status-enum.js +34 -0
- package/dist/models/mdm-increment-vendor-bank-accounts-vo.d.ts +9 -9
- package/dist/models/mdm-increment-vendors-vo.d.ts +12 -12
- package/dist/models/payment-result-dto.d.ts +102 -0
- package/dist/models/payment-result-dto.js +15 -0
- package/dist/models/reimbursement-bill-draft-dto.d.ts +6 -0
- package/dist/models/reimbursement-bill-process-record-list-vo.d.ts +55 -0
- package/dist/models/reimbursement-bill-process-record-list-vo.js +15 -0
- package/dist/models/reimbursement-bill-process-type-enum.d.ts +22 -0
- package/dist/models/reimbursement-bill-process-type-enum.js +26 -0
- package/dist/models/reimbursement-bill-submit-dto.d.ts +7 -1
- package/dist/models/reimbursement-create-result-dto.d.ts +48 -0
- package/dist/models/reimbursement-create-result-dto.js +15 -0
- package/dist/models/reimbursement-platform-status-dto.d.ts +169 -0
- package/dist/models/reimbursement-platform-status-dto.js +15 -0
- package/dist/models/reimbursement-reverse-status-dto.d.ts +60 -0
- package/dist/models/reimbursement-reverse-status-dto.js +15 -0
- package/dist/models/user.d.ts +36 -0
- package/dist/models/user.js +15 -0
- package/models/budget-interaction-result-detail-dto.ts +54 -0
- package/models/czy-budget-interaction-result-webhook-dto.ts +87 -0
- package/models/czy-settlement-interaction-webhook-dto.ts +69 -0
- package/models/czycover-file-url-webhook-dto.ts +90 -0
- package/models/dashboard-maintenance-order-statistics-by-park-vo.ts +0 -6
- package/models/dashboard-maintenance-order-statistics-by-type-vo.ts +0 -6
- package/models/dept.ts +42 -0
- package/models/hwork-notice-bpm-dto.ts +66 -0
- package/models/hwork-user-list-req-dto.ts +36 -0
- package/models/hwork-user-list-result-vo.ts +54 -0
- package/models/index.ts +20 -0
- package/models/ipage-energy-cost-record-info-vo.ts +6 -6
- package/models/json-result-hwork-user-list-result-vo.ts +72 -0
- package/models/json-result-list-maintenance-order-process-record-list-vo.ts +72 -0
- package/models/json-result-list-reimbursement-bill-process-record-list-vo.ts +72 -0
- package/models/maintenance-order-approval-config-add-dto.ts +6 -0
- package/models/maintenance-order-process-record-list-vo.ts +71 -0
- package/models/maintenance-order-process-status-enum.ts +40 -0
- package/models/mdm-increment-vendor-bank-accounts-vo.ts +9 -9
- package/models/mdm-increment-vendors-vo.ts +12 -12
- package/models/payment-result-dto.ts +108 -0
- package/models/reimbursement-bill-draft-dto.ts +6 -0
- package/models/reimbursement-bill-process-record-list-vo.ts +65 -0
- package/models/reimbursement-bill-process-type-enum.ts +32 -0
- package/models/reimbursement-bill-submit-dto.ts +7 -1
- package/models/reimbursement-create-result-dto.ts +54 -0
- package/models/reimbursement-platform-status-dto.ts +177 -0
- package/models/reimbursement-reverse-status-dto.ts +66 -0
- package/models/user.ts +42 -0
- package/ossutil.log +1185 -1179
- package/package.json +1 -1
|
@@ -35,6 +35,138 @@ const base_1 = require("../base");
|
|
|
35
35
|
*/
|
|
36
36
|
const WebHookApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @summary S6报账单封皮返回
|
|
41
|
+
* @param {CZYCoverFileUrlWebhookDTO} cZYCoverFileUrlWebhookDTO
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
billCover: (cZYCoverFileUrlWebhookDTO_1, ...args_1) => __awaiter(this, [cZYCoverFileUrlWebhookDTO_1, ...args_1], void 0, function* (cZYCoverFileUrlWebhookDTO, options = {}) {
|
|
46
|
+
// verify required parameter 'cZYCoverFileUrlWebhookDTO' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('billCover', 'cZYCoverFileUrlWebhookDTO', cZYCoverFileUrlWebhookDTO);
|
|
48
|
+
const localVarPath = `/webhook/czy/bill/cover`;
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
51
|
+
let baseOptions;
|
|
52
|
+
if (configuration) {
|
|
53
|
+
baseOptions = configuration.baseOptions;
|
|
54
|
+
}
|
|
55
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
56
|
+
const localVarHeaderParameter = {};
|
|
57
|
+
const localVarQueryParameter = {};
|
|
58
|
+
// authentication tokenScheme required
|
|
59
|
+
// http bearer authentication required
|
|
60
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
61
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
62
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cZYCoverFileUrlWebhookDTO, localVarRequestOptions, configuration);
|
|
66
|
+
return {
|
|
67
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
68
|
+
options: localVarRequestOptions,
|
|
69
|
+
};
|
|
70
|
+
}),
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @summary S5结算账单及报账付款状态返回
|
|
74
|
+
* @param {CzySettlementInteractionWebhookDTO} czySettlementInteractionWebhookDTO
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
billStatus: (czySettlementInteractionWebhookDTO_1, ...args_1) => __awaiter(this, [czySettlementInteractionWebhookDTO_1, ...args_1], void 0, function* (czySettlementInteractionWebhookDTO, options = {}) {
|
|
79
|
+
// verify required parameter 'czySettlementInteractionWebhookDTO' is not null or undefined
|
|
80
|
+
(0, common_1.assertParamExists)('billStatus', 'czySettlementInteractionWebhookDTO', czySettlementInteractionWebhookDTO);
|
|
81
|
+
const localVarPath = `/webhook/czy/bill/status`;
|
|
82
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
84
|
+
let baseOptions;
|
|
85
|
+
if (configuration) {
|
|
86
|
+
baseOptions = configuration.baseOptions;
|
|
87
|
+
}
|
|
88
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
89
|
+
const localVarHeaderParameter = {};
|
|
90
|
+
const localVarQueryParameter = {};
|
|
91
|
+
// authentication tokenScheme required
|
|
92
|
+
// http bearer authentication required
|
|
93
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
94
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
95
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
96
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
98
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(czySettlementInteractionWebhookDTO, localVarRequestOptions, configuration);
|
|
99
|
+
return {
|
|
100
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
101
|
+
options: localVarRequestOptions,
|
|
102
|
+
};
|
|
103
|
+
}),
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @summary S1预算申请及预算释放状态返回
|
|
107
|
+
* @param {CzyBudgetInteractionResultWebhookDTO} czyBudgetInteractionResultWebhookDTO
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
budgetOccupation: (czyBudgetInteractionResultWebhookDTO_1, ...args_1) => __awaiter(this, [czyBudgetInteractionResultWebhookDTO_1, ...args_1], void 0, function* (czyBudgetInteractionResultWebhookDTO, options = {}) {
|
|
112
|
+
// verify required parameter 'czyBudgetInteractionResultWebhookDTO' is not null or undefined
|
|
113
|
+
(0, common_1.assertParamExists)('budgetOccupation', 'czyBudgetInteractionResultWebhookDTO', czyBudgetInteractionResultWebhookDTO);
|
|
114
|
+
const localVarPath = `/webhook/czy/budget/occupation`;
|
|
115
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
117
|
+
let baseOptions;
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
}
|
|
121
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
122
|
+
const localVarHeaderParameter = {};
|
|
123
|
+
const localVarQueryParameter = {};
|
|
124
|
+
// authentication tokenScheme required
|
|
125
|
+
// http bearer authentication required
|
|
126
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
127
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
128
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
129
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
130
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
131
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(czyBudgetInteractionResultWebhookDTO, localVarRequestOptions, configuration);
|
|
132
|
+
return {
|
|
133
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
134
|
+
options: localVarRequestOptions,
|
|
135
|
+
};
|
|
136
|
+
}),
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @summary 消息通知回调
|
|
140
|
+
* @param {HWorkNoticeBpmDto} hWorkNoticeBpmDto
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
noticeBpmResult: (hWorkNoticeBpmDto_1, ...args_1) => __awaiter(this, [hWorkNoticeBpmDto_1, ...args_1], void 0, function* (hWorkNoticeBpmDto, options = {}) {
|
|
145
|
+
// verify required parameter 'hWorkNoticeBpmDto' is not null or undefined
|
|
146
|
+
(0, common_1.assertParamExists)('noticeBpmResult', 'hWorkNoticeBpmDto', hWorkNoticeBpmDto);
|
|
147
|
+
const localVarPath = `/webhook/h-work/api/bpm/noticeBpmResult`;
|
|
148
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
149
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
150
|
+
let baseOptions;
|
|
151
|
+
if (configuration) {
|
|
152
|
+
baseOptions = configuration.baseOptions;
|
|
153
|
+
}
|
|
154
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
155
|
+
const localVarHeaderParameter = {};
|
|
156
|
+
const localVarQueryParameter = {};
|
|
157
|
+
// authentication tokenScheme required
|
|
158
|
+
// http bearer authentication required
|
|
159
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
160
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
161
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
162
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
163
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
164
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(hWorkNoticeBpmDto, localVarRequestOptions, configuration);
|
|
165
|
+
return {
|
|
166
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
167
|
+
options: localVarRequestOptions,
|
|
168
|
+
};
|
|
169
|
+
}),
|
|
38
170
|
/**
|
|
39
171
|
*
|
|
40
172
|
* @summary 接收SRM园区合同变更通知
|
|
@@ -144,6 +276,70 @@ exports.WebHookApiAxiosParamCreator = WebHookApiAxiosParamCreator;
|
|
|
144
276
|
const WebHookApiFp = function (configuration) {
|
|
145
277
|
const localVarAxiosParamCreator = (0, exports.WebHookApiAxiosParamCreator)(configuration);
|
|
146
278
|
return {
|
|
279
|
+
/**
|
|
280
|
+
*
|
|
281
|
+
* @summary S6报账单封皮返回
|
|
282
|
+
* @param {CZYCoverFileUrlWebhookDTO} cZYCoverFileUrlWebhookDTO
|
|
283
|
+
* @param {*} [options] Override http request option.
|
|
284
|
+
* @throws {RequiredError}
|
|
285
|
+
*/
|
|
286
|
+
billCover(cZYCoverFileUrlWebhookDTO, options) {
|
|
287
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
288
|
+
var _a, _b, _c;
|
|
289
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.billCover(cZYCoverFileUrlWebhookDTO, options);
|
|
290
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
291
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebHookApi.billCover']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
292
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
293
|
+
});
|
|
294
|
+
},
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @summary S5结算账单及报账付款状态返回
|
|
298
|
+
* @param {CzySettlementInteractionWebhookDTO} czySettlementInteractionWebhookDTO
|
|
299
|
+
* @param {*} [options] Override http request option.
|
|
300
|
+
* @throws {RequiredError}
|
|
301
|
+
*/
|
|
302
|
+
billStatus(czySettlementInteractionWebhookDTO, options) {
|
|
303
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
304
|
+
var _a, _b, _c;
|
|
305
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.billStatus(czySettlementInteractionWebhookDTO, options);
|
|
306
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
307
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebHookApi.billStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
308
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
309
|
+
});
|
|
310
|
+
},
|
|
311
|
+
/**
|
|
312
|
+
*
|
|
313
|
+
* @summary S1预算申请及预算释放状态返回
|
|
314
|
+
* @param {CzyBudgetInteractionResultWebhookDTO} czyBudgetInteractionResultWebhookDTO
|
|
315
|
+
* @param {*} [options] Override http request option.
|
|
316
|
+
* @throws {RequiredError}
|
|
317
|
+
*/
|
|
318
|
+
budgetOccupation(czyBudgetInteractionResultWebhookDTO, options) {
|
|
319
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
320
|
+
var _a, _b, _c;
|
|
321
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.budgetOccupation(czyBudgetInteractionResultWebhookDTO, options);
|
|
322
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
323
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebHookApi.budgetOccupation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
324
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
325
|
+
});
|
|
326
|
+
},
|
|
327
|
+
/**
|
|
328
|
+
*
|
|
329
|
+
* @summary 消息通知回调
|
|
330
|
+
* @param {HWorkNoticeBpmDto} hWorkNoticeBpmDto
|
|
331
|
+
* @param {*} [options] Override http request option.
|
|
332
|
+
* @throws {RequiredError}
|
|
333
|
+
*/
|
|
334
|
+
noticeBpmResult(hWorkNoticeBpmDto, options) {
|
|
335
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
336
|
+
var _a, _b, _c;
|
|
337
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeBpmResult(hWorkNoticeBpmDto, options);
|
|
338
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
339
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebHookApi.noticeBpmResult']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
340
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
341
|
+
});
|
|
342
|
+
},
|
|
147
343
|
/**
|
|
148
344
|
*
|
|
149
345
|
* @summary 接收SRM园区合同变更通知
|
|
@@ -202,6 +398,46 @@ exports.WebHookApiFp = WebHookApiFp;
|
|
|
202
398
|
const WebHookApiFactory = function (configuration, basePath, axios) {
|
|
203
399
|
const localVarFp = (0, exports.WebHookApiFp)(configuration);
|
|
204
400
|
return {
|
|
401
|
+
/**
|
|
402
|
+
*
|
|
403
|
+
* @summary S6报账单封皮返回
|
|
404
|
+
* @param {WebHookApiBillCoverRequest} requestParameters Request parameters.
|
|
405
|
+
* @param {*} [options] Override http request option.
|
|
406
|
+
* @throws {RequiredError}
|
|
407
|
+
*/
|
|
408
|
+
billCover(requestParameters, options) {
|
|
409
|
+
return localVarFp.billCover(requestParameters.cZYCoverFileUrlWebhookDTO, options).then((request) => request(axios, basePath));
|
|
410
|
+
},
|
|
411
|
+
/**
|
|
412
|
+
*
|
|
413
|
+
* @summary S5结算账单及报账付款状态返回
|
|
414
|
+
* @param {WebHookApiBillStatusRequest} requestParameters Request parameters.
|
|
415
|
+
* @param {*} [options] Override http request option.
|
|
416
|
+
* @throws {RequiredError}
|
|
417
|
+
*/
|
|
418
|
+
billStatus(requestParameters, options) {
|
|
419
|
+
return localVarFp.billStatus(requestParameters.czySettlementInteractionWebhookDTO, options).then((request) => request(axios, basePath));
|
|
420
|
+
},
|
|
421
|
+
/**
|
|
422
|
+
*
|
|
423
|
+
* @summary S1预算申请及预算释放状态返回
|
|
424
|
+
* @param {WebHookApiBudgetOccupationRequest} requestParameters Request parameters.
|
|
425
|
+
* @param {*} [options] Override http request option.
|
|
426
|
+
* @throws {RequiredError}
|
|
427
|
+
*/
|
|
428
|
+
budgetOccupation(requestParameters, options) {
|
|
429
|
+
return localVarFp.budgetOccupation(requestParameters.czyBudgetInteractionResultWebhookDTO, options).then((request) => request(axios, basePath));
|
|
430
|
+
},
|
|
431
|
+
/**
|
|
432
|
+
*
|
|
433
|
+
* @summary 消息通知回调
|
|
434
|
+
* @param {WebHookApiNoticeBpmResultRequest} requestParameters Request parameters.
|
|
435
|
+
* @param {*} [options] Override http request option.
|
|
436
|
+
* @throws {RequiredError}
|
|
437
|
+
*/
|
|
438
|
+
noticeBpmResult(requestParameters, options) {
|
|
439
|
+
return localVarFp.noticeBpmResult(requestParameters.hWorkNoticeBpmDto, options).then((request) => request(axios, basePath));
|
|
440
|
+
},
|
|
205
441
|
/**
|
|
206
442
|
*
|
|
207
443
|
* @summary 接收SRM园区合同变更通知
|
|
@@ -242,6 +478,50 @@ exports.WebHookApiFactory = WebHookApiFactory;
|
|
|
242
478
|
* @extends {BaseAPI}
|
|
243
479
|
*/
|
|
244
480
|
class WebHookApi extends base_1.BaseAPI {
|
|
481
|
+
/**
|
|
482
|
+
*
|
|
483
|
+
* @summary S6报账单封皮返回
|
|
484
|
+
* @param {WebHookApiBillCoverRequest} requestParameters Request parameters.
|
|
485
|
+
* @param {*} [options] Override http request option.
|
|
486
|
+
* @throws {RequiredError}
|
|
487
|
+
* @memberof WebHookApi
|
|
488
|
+
*/
|
|
489
|
+
billCover(requestParameters, options) {
|
|
490
|
+
return (0, exports.WebHookApiFp)(this.configuration).billCover(requestParameters.cZYCoverFileUrlWebhookDTO, options).then((request) => request(this.axios, this.basePath));
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
*
|
|
494
|
+
* @summary S5结算账单及报账付款状态返回
|
|
495
|
+
* @param {WebHookApiBillStatusRequest} requestParameters Request parameters.
|
|
496
|
+
* @param {*} [options] Override http request option.
|
|
497
|
+
* @throws {RequiredError}
|
|
498
|
+
* @memberof WebHookApi
|
|
499
|
+
*/
|
|
500
|
+
billStatus(requestParameters, options) {
|
|
501
|
+
return (0, exports.WebHookApiFp)(this.configuration).billStatus(requestParameters.czySettlementInteractionWebhookDTO, options).then((request) => request(this.axios, this.basePath));
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* @summary S1预算申请及预算释放状态返回
|
|
506
|
+
* @param {WebHookApiBudgetOccupationRequest} requestParameters Request parameters.
|
|
507
|
+
* @param {*} [options] Override http request option.
|
|
508
|
+
* @throws {RequiredError}
|
|
509
|
+
* @memberof WebHookApi
|
|
510
|
+
*/
|
|
511
|
+
budgetOccupation(requestParameters, options) {
|
|
512
|
+
return (0, exports.WebHookApiFp)(this.configuration).budgetOccupation(requestParameters.czyBudgetInteractionResultWebhookDTO, options).then((request) => request(this.axios, this.basePath));
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @summary 消息通知回调
|
|
517
|
+
* @param {WebHookApiNoticeBpmResultRequest} requestParameters Request parameters.
|
|
518
|
+
* @param {*} [options] Override http request option.
|
|
519
|
+
* @throws {RequiredError}
|
|
520
|
+
* @memberof WebHookApi
|
|
521
|
+
*/
|
|
522
|
+
noticeBpmResult(requestParameters, options) {
|
|
523
|
+
return (0, exports.WebHookApiFp)(this.configuration).noticeBpmResult(requestParameters.hWorkNoticeBpmDto, options).then((request) => request(this.axios, this.basePath));
|
|
524
|
+
}
|
|
245
525
|
/**
|
|
246
526
|
*
|
|
247
527
|
* @summary 接收SRM园区合同变更通知
|
|
@@ -29,7 +29,7 @@ export declare const DeviceApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
29
29
|
* @param {*} [options] Override http request option.
|
|
30
30
|
* @throws {RequiredError}
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
_delete: (iotDeviceUnitDeleteDTO: IotDeviceUnitDeleteDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @summary 设备告警
|
|
@@ -67,7 +67,7 @@ export declare const DeviceApiFp: (configuration?: Configuration) => {
|
|
|
67
67
|
* @param {*} [options] Override http request option.
|
|
68
68
|
* @throws {RequiredError}
|
|
69
69
|
*/
|
|
70
|
-
|
|
70
|
+
_delete(iotDeviceUnitDeleteDTO: IotDeviceUnitDeleteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
73
73
|
* @summary 设备告警
|
|
@@ -101,11 +101,11 @@ export declare const DeviceApiFactory: (configuration?: Configuration, basePath?
|
|
|
101
101
|
/**
|
|
102
102
|
*
|
|
103
103
|
* @summary 删除设备部件
|
|
104
|
-
* @param {
|
|
104
|
+
* @param {DeviceApiDeleteRequest} requestParameters Request parameters.
|
|
105
105
|
* @param {*} [options] Override http request option.
|
|
106
106
|
* @throws {RequiredError}
|
|
107
107
|
*/
|
|
108
|
-
|
|
108
|
+
_delete(requestParameters: DeviceApiDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
109
109
|
/**
|
|
110
110
|
*
|
|
111
111
|
* @summary 设备告警
|
|
@@ -132,15 +132,15 @@ export declare const DeviceApiFactory: (configuration?: Configuration, basePath?
|
|
|
132
132
|
syncDeviceUnit(requestParameters: DeviceApiSyncDeviceUnitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
133
133
|
};
|
|
134
134
|
/**
|
|
135
|
-
* Request parameters for
|
|
135
|
+
* Request parameters for _delete operation in DeviceApi.
|
|
136
136
|
* @export
|
|
137
|
-
* @interface
|
|
137
|
+
* @interface DeviceApiDeleteRequest
|
|
138
138
|
*/
|
|
139
|
-
export interface
|
|
139
|
+
export interface DeviceApiDeleteRequest {
|
|
140
140
|
/**
|
|
141
141
|
*
|
|
142
142
|
* @type {IotDeviceUnitDeleteDTO}
|
|
143
|
-
* @memberof
|
|
143
|
+
* @memberof DeviceApiDelete
|
|
144
144
|
*/
|
|
145
145
|
readonly iotDeviceUnitDeleteDTO: IotDeviceUnitDeleteDTO;
|
|
146
146
|
}
|
|
@@ -193,12 +193,12 @@ export declare class DeviceApi extends BaseAPI {
|
|
|
193
193
|
/**
|
|
194
194
|
*
|
|
195
195
|
* @summary 删除设备部件
|
|
196
|
-
* @param {
|
|
196
|
+
* @param {DeviceApiDeleteRequest} requestParameters Request parameters.
|
|
197
197
|
* @param {*} [options] Override http request option.
|
|
198
198
|
* @throws {RequiredError}
|
|
199
199
|
* @memberof DeviceApi
|
|
200
200
|
*/
|
|
201
|
-
|
|
201
|
+
_delete(requestParameters: DeviceApiDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any, {}>>;
|
|
202
202
|
/**
|
|
203
203
|
*
|
|
204
204
|
* @summary 设备告警
|
|
@@ -39,9 +39,9 @@ export const DeviceApiAxiosParamCreator = function (configuration) {
|
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
_delete: (iotDeviceUnitDeleteDTO_1, ...args_1) => __awaiter(this, [iotDeviceUnitDeleteDTO_1, ...args_1], void 0, function* (iotDeviceUnitDeleteDTO, options = {}) {
|
|
43
43
|
// verify required parameter 'iotDeviceUnitDeleteDTO' is not null or undefined
|
|
44
|
-
assertParamExists('
|
|
44
|
+
assertParamExists('_delete', 'iotDeviceUnitDeleteDTO', iotDeviceUnitDeleteDTO);
|
|
45
45
|
const localVarPath = `/gizone/iot/device/unit`;
|
|
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);
|
|
@@ -180,12 +180,12 @@ export const DeviceApiFp = function (configuration) {
|
|
|
180
180
|
* @param {*} [options] Override http request option.
|
|
181
181
|
* @throws {RequiredError}
|
|
182
182
|
*/
|
|
183
|
-
|
|
183
|
+
_delete(iotDeviceUnitDeleteDTO, options) {
|
|
184
184
|
return __awaiter(this, void 0, void 0, function* () {
|
|
185
185
|
var _a, _b, _c;
|
|
186
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
186
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator._delete(iotDeviceUnitDeleteDTO, options);
|
|
187
187
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
188
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DeviceApi.
|
|
188
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DeviceApi._delete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
189
189
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
190
190
|
});
|
|
191
191
|
},
|
|
@@ -249,12 +249,12 @@ export const DeviceApiFactory = function (configuration, basePath, axios) {
|
|
|
249
249
|
/**
|
|
250
250
|
*
|
|
251
251
|
* @summary 删除设备部件
|
|
252
|
-
* @param {
|
|
252
|
+
* @param {DeviceApiDeleteRequest} requestParameters Request parameters.
|
|
253
253
|
* @param {*} [options] Override http request option.
|
|
254
254
|
* @throws {RequiredError}
|
|
255
255
|
*/
|
|
256
|
-
|
|
257
|
-
return localVarFp.
|
|
256
|
+
_delete(requestParameters, options) {
|
|
257
|
+
return localVarFp._delete(requestParameters.iotDeviceUnitDeleteDTO, options).then((request) => request(axios, basePath));
|
|
258
258
|
},
|
|
259
259
|
/**
|
|
260
260
|
*
|
|
@@ -298,13 +298,13 @@ export class DeviceApi extends BaseAPI {
|
|
|
298
298
|
/**
|
|
299
299
|
*
|
|
300
300
|
* @summary 删除设备部件
|
|
301
|
-
* @param {
|
|
301
|
+
* @param {DeviceApiDeleteRequest} requestParameters Request parameters.
|
|
302
302
|
* @param {*} [options] Override http request option.
|
|
303
303
|
* @throws {RequiredError}
|
|
304
304
|
* @memberof DeviceApi
|
|
305
305
|
*/
|
|
306
|
-
|
|
307
|
-
return DeviceApiFp(this.configuration).
|
|
306
|
+
_delete(requestParameters, options) {
|
|
307
|
+
return DeviceApiFp(this.configuration)._delete(requestParameters.iotDeviceUnitDeleteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
308
308
|
}
|
|
309
309
|
/**
|
|
310
310
|
*
|
|
@@ -12,6 +12,8 @@
|
|
|
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 { HWorkUserListReqDTO } from '../models';
|
|
16
|
+
import type { JsonResultHWorkUserListResultVo } from '../models';
|
|
15
17
|
import type { JsonResultSysDept } from '../models';
|
|
16
18
|
import type { LoginTypeEnum } from '../models';
|
|
17
19
|
/**
|
|
@@ -19,6 +21,14 @@ import type { LoginTypeEnum } from '../models';
|
|
|
19
21
|
* @export
|
|
20
22
|
*/
|
|
21
23
|
export declare const HWorkApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @summary 获取H-work用户列表
|
|
27
|
+
* @param {HWorkUserListReqDTO} hWorkUserListReqDTO
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
hWorkUserList: (hWorkUserListReqDTO: HWorkUserListReqDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22
32
|
/**
|
|
23
33
|
*
|
|
24
34
|
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
@@ -34,6 +44,14 @@ export declare const HWorkApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
34
44
|
* @export
|
|
35
45
|
*/
|
|
36
46
|
export declare const HWorkApiFp: (configuration?: Configuration) => {
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @summary 获取H-work用户列表
|
|
50
|
+
* @param {HWorkUserListReqDTO} hWorkUserListReqDTO
|
|
51
|
+
* @param {*} [options] Override http request option.
|
|
52
|
+
* @throws {RequiredError}
|
|
53
|
+
*/
|
|
54
|
+
hWorkUserList(hWorkUserListReqDTO: HWorkUserListReqDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultHWorkUserListResultVo>>;
|
|
37
55
|
/**
|
|
38
56
|
*
|
|
39
57
|
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
@@ -49,6 +67,14 @@ export declare const HWorkApiFp: (configuration?: Configuration) => {
|
|
|
49
67
|
* @export
|
|
50
68
|
*/
|
|
51
69
|
export declare const HWorkApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @summary 获取H-work用户列表
|
|
73
|
+
* @param {HWorkApiHWorkUserListRequest} requestParameters Request parameters.
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
hWorkUserList(requestParameters: HWorkApiHWorkUserListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultHWorkUserListResultVo>;
|
|
52
78
|
/**
|
|
53
79
|
*
|
|
54
80
|
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
@@ -58,6 +84,19 @@ export declare const HWorkApiFactory: (configuration?: Configuration, basePath?:
|
|
|
58
84
|
*/
|
|
59
85
|
initHWorkUser(requestParameters: HWorkApiInitHWorkUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultSysDept>;
|
|
60
86
|
};
|
|
87
|
+
/**
|
|
88
|
+
* Request parameters for hWorkUserList operation in HWorkApi.
|
|
89
|
+
* @export
|
|
90
|
+
* @interface HWorkApiHWorkUserListRequest
|
|
91
|
+
*/
|
|
92
|
+
export interface HWorkApiHWorkUserListRequest {
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {HWorkUserListReqDTO}
|
|
96
|
+
* @memberof HWorkApiHWorkUserList
|
|
97
|
+
*/
|
|
98
|
+
readonly hWorkUserListReqDTO: HWorkUserListReqDTO;
|
|
99
|
+
}
|
|
61
100
|
/**
|
|
62
101
|
* Request parameters for initHWorkUser operation in HWorkApi.
|
|
63
102
|
* @export
|
|
@@ -84,6 +123,15 @@ export interface HWorkApiInitHWorkUserRequest {
|
|
|
84
123
|
* @extends {BaseAPI}
|
|
85
124
|
*/
|
|
86
125
|
export declare class HWorkApi extends BaseAPI {
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @summary 获取H-work用户列表
|
|
129
|
+
* @param {HWorkApiHWorkUserListRequest} requestParameters Request parameters.
|
|
130
|
+
* @param {*} [options] Override http request option.
|
|
131
|
+
* @throws {RequiredError}
|
|
132
|
+
* @memberof HWorkApi
|
|
133
|
+
*/
|
|
134
|
+
hWorkUserList(requestParameters: HWorkApiHWorkUserListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultHWorkUserListResultVo, any, {}>>;
|
|
87
135
|
/**
|
|
88
136
|
*
|
|
89
137
|
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
@@ -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
|
/**
|
|
@@ -32,6 +32,39 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
32
32
|
*/
|
|
33
33
|
export const HWorkApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary 获取H-work用户列表
|
|
38
|
+
* @param {HWorkUserListReqDTO} hWorkUserListReqDTO
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
hWorkUserList: (hWorkUserListReqDTO_1, ...args_1) => __awaiter(this, [hWorkUserListReqDTO_1, ...args_1], void 0, function* (hWorkUserListReqDTO, options = {}) {
|
|
43
|
+
// verify required parameter 'hWorkUserListReqDTO' is not null or undefined
|
|
44
|
+
assertParamExists('hWorkUserList', 'hWorkUserListReqDTO', hWorkUserListReqDTO);
|
|
45
|
+
const localVarPath = `/haier/hwork/user`;
|
|
46
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48
|
+
let baseOptions;
|
|
49
|
+
if (configuration) {
|
|
50
|
+
baseOptions = configuration.baseOptions;
|
|
51
|
+
}
|
|
52
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
53
|
+
const localVarHeaderParameter = {};
|
|
54
|
+
const localVarQueryParameter = {};
|
|
55
|
+
// authentication tokenScheme required
|
|
56
|
+
// http bearer authentication required
|
|
57
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
58
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
59
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
62
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hWorkUserListReqDTO, localVarRequestOptions, configuration);
|
|
63
|
+
return {
|
|
64
|
+
url: toPathString(localVarUrlObj),
|
|
65
|
+
options: localVarRequestOptions,
|
|
66
|
+
};
|
|
67
|
+
}),
|
|
35
68
|
/**
|
|
36
69
|
*
|
|
37
70
|
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
@@ -79,6 +112,22 @@ export const HWorkApiAxiosParamCreator = function (configuration) {
|
|
|
79
112
|
export const HWorkApiFp = function (configuration) {
|
|
80
113
|
const localVarAxiosParamCreator = HWorkApiAxiosParamCreator(configuration);
|
|
81
114
|
return {
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @summary 获取H-work用户列表
|
|
118
|
+
* @param {HWorkUserListReqDTO} hWorkUserListReqDTO
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
*/
|
|
122
|
+
hWorkUserList(hWorkUserListReqDTO, options) {
|
|
123
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
124
|
+
var _a, _b, _c;
|
|
125
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.hWorkUserList(hWorkUserListReqDTO, options);
|
|
126
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
127
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['HWorkApi.hWorkUserList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
128
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
129
|
+
});
|
|
130
|
+
},
|
|
82
131
|
/**
|
|
83
132
|
*
|
|
84
133
|
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
@@ -105,6 +154,16 @@ export const HWorkApiFp = function (configuration) {
|
|
|
105
154
|
export const HWorkApiFactory = function (configuration, basePath, axios) {
|
|
106
155
|
const localVarFp = HWorkApiFp(configuration);
|
|
107
156
|
return {
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @summary 获取H-work用户列表
|
|
160
|
+
* @param {HWorkApiHWorkUserListRequest} requestParameters Request parameters.
|
|
161
|
+
* @param {*} [options] Override http request option.
|
|
162
|
+
* @throws {RequiredError}
|
|
163
|
+
*/
|
|
164
|
+
hWorkUserList(requestParameters, options) {
|
|
165
|
+
return localVarFp.hWorkUserList(requestParameters.hWorkUserListReqDTO, options).then((request) => request(axios, basePath));
|
|
166
|
+
},
|
|
108
167
|
/**
|
|
109
168
|
*
|
|
110
169
|
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
@@ -124,6 +183,17 @@ export const HWorkApiFactory = function (configuration, basePath, axios) {
|
|
|
124
183
|
* @extends {BaseAPI}
|
|
125
184
|
*/
|
|
126
185
|
export class HWorkApi extends BaseAPI {
|
|
186
|
+
/**
|
|
187
|
+
*
|
|
188
|
+
* @summary 获取H-work用户列表
|
|
189
|
+
* @param {HWorkApiHWorkUserListRequest} requestParameters Request parameters.
|
|
190
|
+
* @param {*} [options] Override http request option.
|
|
191
|
+
* @throws {RequiredError}
|
|
192
|
+
* @memberof HWorkApi
|
|
193
|
+
*/
|
|
194
|
+
hWorkUserList(requestParameters, options) {
|
|
195
|
+
return HWorkApiFp(this.configuration).hWorkUserList(requestParameters.hWorkUserListReqDTO, options).then((request) => request(this.axios, this.basePath));
|
|
196
|
+
}
|
|
127
197
|
/**
|
|
128
198
|
*
|
|
129
199
|
* @summary 初始化 HWork 用户并获取确认园区 ID
|