@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
package/.openapi-generator/FILES
CHANGED
|
@@ -118,6 +118,7 @@ models/area-park-dto.ts
|
|
|
118
118
|
models/area-park-vo.ts
|
|
119
119
|
models/base-error-result.ts
|
|
120
120
|
models/budget-balance-query-dto.ts
|
|
121
|
+
models/budget-interaction-result-detail-dto.ts
|
|
121
122
|
models/budget-object.ts
|
|
122
123
|
models/business-contacts-vo.ts
|
|
123
124
|
models/calendar-entity.ts
|
|
@@ -130,8 +131,11 @@ models/choose-pak-body.ts
|
|
|
130
131
|
models/cuser-info.ts
|
|
131
132
|
models/cuser-update-pass-word-vo.ts
|
|
132
133
|
models/czy-budget-balance-vo.ts
|
|
134
|
+
models/czy-budget-interaction-result-webhook-dto.ts
|
|
133
135
|
models/czy-organization-cost-vo.ts
|
|
136
|
+
models/czy-settlement-interaction-webhook-dto.ts
|
|
134
137
|
models/czy-system-organization-member-detail-vo.ts
|
|
138
|
+
models/czycover-file-url-webhook-dto.ts
|
|
135
139
|
models/dashboard-access-park-group-stats-vo.ts
|
|
136
140
|
models/dashboard-access-search-dto.ts
|
|
137
141
|
models/dashboard-access-source-group-stats-vo.ts
|
|
@@ -159,6 +163,7 @@ models/dashboard-work-order-type-subcategory-group-stats-vo.ts
|
|
|
159
163
|
models/del-user-vo.ts
|
|
160
164
|
models/dept-relation-dto.ts
|
|
161
165
|
models/dept-relation.ts
|
|
166
|
+
models/dept.ts
|
|
162
167
|
models/devices-status-update-vo.ts
|
|
163
168
|
models/disaster-warning-standard-add-or-update-vo.ts
|
|
164
169
|
models/disaster-warning-standard-category-enum.ts
|
|
@@ -235,6 +240,9 @@ models/functional-area-enum.ts
|
|
|
235
240
|
models/fusion-role-request-dto.ts
|
|
236
241
|
models/group-dept-vo.ts
|
|
237
242
|
models/hik-get-cameras-info-vo.ts
|
|
243
|
+
models/hwork-notice-bpm-dto.ts
|
|
244
|
+
models/hwork-user-list-req-dto.ts
|
|
245
|
+
models/hwork-user-list-result-vo.ts
|
|
238
246
|
models/index.ts
|
|
239
247
|
models/inspection-category-enum.ts
|
|
240
248
|
models/inspection-comp.ts
|
|
@@ -295,6 +303,7 @@ models/json-result-excel-import-upload-to-redis-vo-space-add-excel-dto.ts
|
|
|
295
303
|
models/json-result-exploration-work-order-details-dto.ts
|
|
296
304
|
models/json-result-file-dto.ts
|
|
297
305
|
models/json-result-group-dept-vo.ts
|
|
306
|
+
models/json-result-hwork-user-list-result-vo.ts
|
|
298
307
|
models/json-result-inspection-standard-entity.ts
|
|
299
308
|
models/json-result-integer.ts
|
|
300
309
|
models/json-result-ipage-energy-cost-record-info-vo.ts
|
|
@@ -331,6 +340,7 @@ models/json-result-list-equipment-system-tree-dto.ts
|
|
|
331
340
|
models/json-result-list-equipment-tree-dto.ts
|
|
332
341
|
models/json-result-list-inspection-point.ts
|
|
333
342
|
models/json-result-list-inspection-standard-entity.ts
|
|
343
|
+
models/json-result-list-maintenance-order-process-record-list-vo.ts
|
|
334
344
|
models/json-result-list-maintenance-standard-entity.ts
|
|
335
345
|
models/json-result-list-mdm-increment-vendor-bank-accounts-vo.ts
|
|
336
346
|
models/json-result-list-mdm-increment-vendors-vo.ts
|
|
@@ -338,6 +348,7 @@ models/json-result-list-park-list-dto.ts
|
|
|
338
348
|
models/json-result-list-plan-calendar-list-vo.ts
|
|
339
349
|
models/json-result-list-plan-calendar-vo.ts
|
|
340
350
|
models/json-result-list-reimbursement-bill-payer-vo.ts
|
|
351
|
+
models/json-result-list-reimbursement-bill-process-record-list-vo.ts
|
|
341
352
|
models/json-result-list-space-image-detail-dto.ts
|
|
342
353
|
models/json-result-list-space-point-dto.ts
|
|
343
354
|
models/json-result-list-space-qr-code-dto.ts
|
|
@@ -428,6 +439,8 @@ models/maintenance-order-approval-config-add-dto.ts
|
|
|
428
439
|
models/maintenance-order-construction-details-vo.ts
|
|
429
440
|
models/maintenance-order-details-vo.ts
|
|
430
441
|
models/maintenance-order-list-vo.ts
|
|
442
|
+
models/maintenance-order-process-record-list-vo.ts
|
|
443
|
+
models/maintenance-order-process-status-enum.ts
|
|
431
444
|
models/maintenance-order-settlement-add-dto.ts
|
|
432
445
|
models/maintenance-order-settlement-details-vo.ts
|
|
433
446
|
models/maintenance-order-status-enum.ts
|
|
@@ -494,6 +507,7 @@ models/park-settings-details-dto.ts
|
|
|
494
507
|
models/park-settings-vo.ts
|
|
495
508
|
models/park.ts
|
|
496
509
|
models/payment-method-enum.ts
|
|
510
|
+
models/payment-result-dto.ts
|
|
497
511
|
models/perform-object.ts
|
|
498
512
|
models/period-detail-resp.ts
|
|
499
513
|
models/plan-add-vo.ts
|
|
@@ -521,8 +535,13 @@ models/reimbursement-bill-handle-info-add-dto.ts
|
|
|
521
535
|
models/reimbursement-bill-handle-info-vo.ts
|
|
522
536
|
models/reimbursement-bill-list-vo.ts
|
|
523
537
|
models/reimbursement-bill-payer-vo.ts
|
|
538
|
+
models/reimbursement-bill-process-record-list-vo.ts
|
|
539
|
+
models/reimbursement-bill-process-type-enum.ts
|
|
524
540
|
models/reimbursement-bill-search-dto.ts
|
|
525
541
|
models/reimbursement-bill-submit-dto.ts
|
|
542
|
+
models/reimbursement-create-result-dto.ts
|
|
543
|
+
models/reimbursement-platform-status-dto.ts
|
|
544
|
+
models/reimbursement-reverse-status-dto.ts
|
|
526
545
|
models/reimbursement-status-enum.ts
|
|
527
546
|
models/response-data.ts
|
|
528
547
|
models/result-code.ts
|
|
@@ -620,6 +639,7 @@ models/user-settings-entity.ts
|
|
|
620
639
|
models/user-settings-update-bo.ts
|
|
621
640
|
models/user-source-enum.ts
|
|
622
641
|
models/user-whether-privacy-dto.ts
|
|
642
|
+
models/user.ts
|
|
623
643
|
models/violation-center-attribute-enum.ts
|
|
624
644
|
models/violation-decision-vo.ts
|
|
625
645
|
models/violation-issue-type-enum.ts
|
package/apis/device-api.ts
CHANGED
|
@@ -44,9 +44,9 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
44
44
|
* @param {*} [options] Override http request option.
|
|
45
45
|
* @throws {RequiredError}
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
_delete: async (iotDeviceUnitDeleteDTO: IotDeviceUnitDeleteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48
48
|
// verify required parameter 'iotDeviceUnitDeleteDTO' is not null or undefined
|
|
49
|
-
assertParamExists('
|
|
49
|
+
assertParamExists('_delete', 'iotDeviceUnitDeleteDTO', iotDeviceUnitDeleteDTO)
|
|
50
50
|
const localVarPath = `/gizone/iot/device/unit`;
|
|
51
51
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
52
52
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -214,10 +214,10 @@ export const DeviceApiFp = function(configuration?: Configuration) {
|
|
|
214
214
|
* @param {*} [options] Override http request option.
|
|
215
215
|
* @throws {RequiredError}
|
|
216
216
|
*/
|
|
217
|
-
async
|
|
218
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
217
|
+
async _delete(iotDeviceUnitDeleteDTO: IotDeviceUnitDeleteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
218
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator._delete(iotDeviceUnitDeleteDTO, options);
|
|
219
219
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
220
|
-
const localVarOperationServerBasePath = operationServerMap['DeviceApi.
|
|
220
|
+
const localVarOperationServerBasePath = operationServerMap['DeviceApi._delete']?.[localVarOperationServerIndex]?.url;
|
|
221
221
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
222
222
|
},
|
|
223
223
|
/**
|
|
@@ -272,12 +272,12 @@ export const DeviceApiFactory = function (configuration?: Configuration, basePat
|
|
|
272
272
|
/**
|
|
273
273
|
*
|
|
274
274
|
* @summary 删除设备部件
|
|
275
|
-
* @param {
|
|
275
|
+
* @param {DeviceApiDeleteRequest} requestParameters Request parameters.
|
|
276
276
|
* @param {*} [options] Override http request option.
|
|
277
277
|
* @throws {RequiredError}
|
|
278
278
|
*/
|
|
279
|
-
|
|
280
|
-
return localVarFp.
|
|
279
|
+
_delete(requestParameters: DeviceApiDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
280
|
+
return localVarFp._delete(requestParameters.iotDeviceUnitDeleteDTO, options).then((request) => request(axios, basePath));
|
|
281
281
|
},
|
|
282
282
|
/**
|
|
283
283
|
*
|
|
@@ -313,15 +313,15 @@ export const DeviceApiFactory = function (configuration?: Configuration, basePat
|
|
|
313
313
|
};
|
|
314
314
|
|
|
315
315
|
/**
|
|
316
|
-
* Request parameters for
|
|
316
|
+
* Request parameters for _delete operation in DeviceApi.
|
|
317
317
|
* @export
|
|
318
|
-
* @interface
|
|
318
|
+
* @interface DeviceApiDeleteRequest
|
|
319
319
|
*/
|
|
320
|
-
export interface
|
|
320
|
+
export interface DeviceApiDeleteRequest {
|
|
321
321
|
/**
|
|
322
322
|
*
|
|
323
323
|
* @type {IotDeviceUnitDeleteDTO}
|
|
324
|
-
* @memberof
|
|
324
|
+
* @memberof DeviceApiDelete
|
|
325
325
|
*/
|
|
326
326
|
readonly iotDeviceUnitDeleteDTO: IotDeviceUnitDeleteDTO
|
|
327
327
|
}
|
|
@@ -378,13 +378,13 @@ export class DeviceApi extends BaseAPI {
|
|
|
378
378
|
/**
|
|
379
379
|
*
|
|
380
380
|
* @summary 删除设备部件
|
|
381
|
-
* @param {
|
|
381
|
+
* @param {DeviceApiDeleteRequest} requestParameters Request parameters.
|
|
382
382
|
* @param {*} [options] Override http request option.
|
|
383
383
|
* @throws {RequiredError}
|
|
384
384
|
* @memberof DeviceApi
|
|
385
385
|
*/
|
|
386
|
-
public
|
|
387
|
-
return DeviceApiFp(this.configuration).
|
|
386
|
+
public _delete(requestParameters: DeviceApiDeleteRequest, options?: RawAxiosRequestConfig) {
|
|
387
|
+
return DeviceApiFp(this.configuration)._delete(requestParameters.iotDeviceUnitDeleteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
388
388
|
}
|
|
389
389
|
|
|
390
390
|
/**
|
package/apis/hwork-api.ts
CHANGED
|
@@ -22,6 +22,10 @@ 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 { HWorkUserListReqDTO } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { JsonResultHWorkUserListResultVo } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
25
29
|
import type { JsonResultSysDept } from '../models';
|
|
26
30
|
// @ts-ignore
|
|
27
31
|
import type { LoginTypeEnum } from '../models';
|
|
@@ -31,6 +35,46 @@ import type { LoginTypeEnum } from '../models';
|
|
|
31
35
|
*/
|
|
32
36
|
export const HWorkApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
33
37
|
return {
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @summary 获取H-work用户列表
|
|
41
|
+
* @param {HWorkUserListReqDTO} hWorkUserListReqDTO
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
hWorkUserList: async (hWorkUserListReqDTO: HWorkUserListReqDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
|
+
// verify required parameter 'hWorkUserListReqDTO' is not null or undefined
|
|
47
|
+
assertParamExists('hWorkUserList', 'hWorkUserListReqDTO', hWorkUserListReqDTO)
|
|
48
|
+
const localVarPath = `/haier/hwork/user`;
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
51
|
+
let baseOptions;
|
|
52
|
+
if (configuration) {
|
|
53
|
+
baseOptions = configuration.baseOptions;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
57
|
+
const localVarHeaderParameter = {} as any;
|
|
58
|
+
const localVarQueryParameter = {} as any;
|
|
59
|
+
|
|
60
|
+
// authentication tokenScheme required
|
|
61
|
+
// http bearer authentication required
|
|
62
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
67
|
+
|
|
68
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
69
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
71
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hWorkUserListReqDTO, localVarRequestOptions, configuration)
|
|
72
|
+
|
|
73
|
+
return {
|
|
74
|
+
url: toPathString(localVarUrlObj),
|
|
75
|
+
options: localVarRequestOptions,
|
|
76
|
+
};
|
|
77
|
+
},
|
|
34
78
|
/**
|
|
35
79
|
*
|
|
36
80
|
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
@@ -87,6 +131,19 @@ export const HWorkApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
87
131
|
export const HWorkApiFp = function(configuration?: Configuration) {
|
|
88
132
|
const localVarAxiosParamCreator = HWorkApiAxiosParamCreator(configuration)
|
|
89
133
|
return {
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @summary 获取H-work用户列表
|
|
137
|
+
* @param {HWorkUserListReqDTO} hWorkUserListReqDTO
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
*/
|
|
141
|
+
async hWorkUserList(hWorkUserListReqDTO: HWorkUserListReqDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultHWorkUserListResultVo>> {
|
|
142
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hWorkUserList(hWorkUserListReqDTO, options);
|
|
143
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
144
|
+
const localVarOperationServerBasePath = operationServerMap['HWorkApi.hWorkUserList']?.[localVarOperationServerIndex]?.url;
|
|
145
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
146
|
+
},
|
|
90
147
|
/**
|
|
91
148
|
*
|
|
92
149
|
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
@@ -111,6 +168,16 @@ export const HWorkApiFp = function(configuration?: Configuration) {
|
|
|
111
168
|
export const HWorkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
112
169
|
const localVarFp = HWorkApiFp(configuration)
|
|
113
170
|
return {
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @summary 获取H-work用户列表
|
|
174
|
+
* @param {HWorkApiHWorkUserListRequest} requestParameters Request parameters.
|
|
175
|
+
* @param {*} [options] Override http request option.
|
|
176
|
+
* @throws {RequiredError}
|
|
177
|
+
*/
|
|
178
|
+
hWorkUserList(requestParameters: HWorkApiHWorkUserListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultHWorkUserListResultVo> {
|
|
179
|
+
return localVarFp.hWorkUserList(requestParameters.hWorkUserListReqDTO, options).then((request) => request(axios, basePath));
|
|
180
|
+
},
|
|
114
181
|
/**
|
|
115
182
|
*
|
|
116
183
|
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
@@ -124,6 +191,20 @@ export const HWorkApiFactory = function (configuration?: Configuration, basePath
|
|
|
124
191
|
};
|
|
125
192
|
};
|
|
126
193
|
|
|
194
|
+
/**
|
|
195
|
+
* Request parameters for hWorkUserList operation in HWorkApi.
|
|
196
|
+
* @export
|
|
197
|
+
* @interface HWorkApiHWorkUserListRequest
|
|
198
|
+
*/
|
|
199
|
+
export interface HWorkApiHWorkUserListRequest {
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* @type {HWorkUserListReqDTO}
|
|
203
|
+
* @memberof HWorkApiHWorkUserList
|
|
204
|
+
*/
|
|
205
|
+
readonly hWorkUserListReqDTO: HWorkUserListReqDTO
|
|
206
|
+
}
|
|
207
|
+
|
|
127
208
|
/**
|
|
128
209
|
* Request parameters for initHWorkUser operation in HWorkApi.
|
|
129
210
|
* @export
|
|
@@ -152,6 +233,18 @@ export interface HWorkApiInitHWorkUserRequest {
|
|
|
152
233
|
* @extends {BaseAPI}
|
|
153
234
|
*/
|
|
154
235
|
export class HWorkApi extends BaseAPI {
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @summary 获取H-work用户列表
|
|
239
|
+
* @param {HWorkApiHWorkUserListRequest} requestParameters Request parameters.
|
|
240
|
+
* @param {*} [options] Override http request option.
|
|
241
|
+
* @throws {RequiredError}
|
|
242
|
+
* @memberof HWorkApi
|
|
243
|
+
*/
|
|
244
|
+
public hWorkUserList(requestParameters: HWorkApiHWorkUserListRequest, options?: RawAxiosRequestConfig) {
|
|
245
|
+
return HWorkApiFp(this.configuration).hWorkUserList(requestParameters.hWorkUserListReqDTO, options).then((request) => request(this.axios, this.basePath));
|
|
246
|
+
}
|
|
247
|
+
|
|
155
248
|
/**
|
|
156
249
|
*
|
|
157
250
|
* @summary 初始化 HWork 用户并获取确认园区 ID
|