@gizone/rrs-client 4.2.9-alpha.643 → 4.2.9-alpha.657
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 +9 -9
- 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 +9 -9
- 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 +9 -9
- 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 +1182 -1179
- package/package.json +1 -1
|
@@ -40,6 +40,8 @@ import type { JsonResultListMdmIncrementVendorsVo } from '../models';
|
|
|
40
40
|
// @ts-ignore
|
|
41
41
|
import type { JsonResultListReimbursementBillPayerVo } from '../models';
|
|
42
42
|
// @ts-ignore
|
|
43
|
+
import type { JsonResultListReimbursementBillProcessRecordListVo } from '../models';
|
|
44
|
+
// @ts-ignore
|
|
43
45
|
import type { JsonResultPageDtoReimbursementBillListVo } from '../models';
|
|
44
46
|
// @ts-ignore
|
|
45
47
|
import type { JsonResultReimbursementBillDetailsVo } from '../models';
|
|
@@ -122,6 +124,44 @@ export const ReimbursementBillApiAxiosParamCreator = function (configuration?: C
|
|
|
122
124
|
|
|
123
125
|
|
|
124
126
|
|
|
127
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
128
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
129
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
130
|
+
|
|
131
|
+
return {
|
|
132
|
+
url: toPathString(localVarUrlObj),
|
|
133
|
+
options: localVarRequestOptions,
|
|
134
|
+
};
|
|
135
|
+
},
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @summary 查询报账单流转列表
|
|
139
|
+
* @param {number} id
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
*/
|
|
143
|
+
reimbursementBillProcessRecordList: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
144
|
+
// verify required parameter 'id' is not null or undefined
|
|
145
|
+
assertParamExists('reimbursementBillProcessRecordList', 'id', id)
|
|
146
|
+
const localVarPath = `/gizone/reimbursement-bill/{id}/processRecord`
|
|
147
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
148
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
149
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
150
|
+
let baseOptions;
|
|
151
|
+
if (configuration) {
|
|
152
|
+
baseOptions = configuration.baseOptions;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
156
|
+
const localVarHeaderParameter = {} as any;
|
|
157
|
+
const localVarQueryParameter = {} as any;
|
|
158
|
+
|
|
159
|
+
// authentication tokenScheme required
|
|
160
|
+
// http bearer authentication required
|
|
161
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
125
165
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
126
166
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
127
167
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -568,6 +608,19 @@ export const ReimbursementBillApiFp = function(configuration?: Configuration) {
|
|
|
568
608
|
const localVarOperationServerBasePath = operationServerMap['ReimbursementBillApi.reimbursementBillDetails']?.[localVarOperationServerIndex]?.url;
|
|
569
609
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
570
610
|
},
|
|
611
|
+
/**
|
|
612
|
+
*
|
|
613
|
+
* @summary 查询报账单流转列表
|
|
614
|
+
* @param {number} id
|
|
615
|
+
* @param {*} [options] Override http request option.
|
|
616
|
+
* @throws {RequiredError}
|
|
617
|
+
*/
|
|
618
|
+
async reimbursementBillProcessRecordList(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListReimbursementBillProcessRecordListVo>> {
|
|
619
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reimbursementBillProcessRecordList(id, options);
|
|
620
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
621
|
+
const localVarOperationServerBasePath = operationServerMap['ReimbursementBillApi.reimbursementBillProcessRecordList']?.[localVarOperationServerIndex]?.url;
|
|
622
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
623
|
+
},
|
|
571
624
|
/**
|
|
572
625
|
* 保存或更新报账单草稿,允许部分字段为空
|
|
573
626
|
* @summary 编辑报账单草稿
|
|
@@ -728,6 +781,16 @@ export const ReimbursementBillApiFactory = function (configuration?: Configurati
|
|
|
728
781
|
reimbursementBillDetails(requestParameters: ReimbursementBillApiReimbursementBillDetailsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultReimbursementBillDetailsVo> {
|
|
729
782
|
return localVarFp.reimbursementBillDetails(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
730
783
|
},
|
|
784
|
+
/**
|
|
785
|
+
*
|
|
786
|
+
* @summary 查询报账单流转列表
|
|
787
|
+
* @param {ReimbursementBillApiReimbursementBillProcessRecordListRequest} requestParameters Request parameters.
|
|
788
|
+
* @param {*} [options] Override http request option.
|
|
789
|
+
* @throws {RequiredError}
|
|
790
|
+
*/
|
|
791
|
+
reimbursementBillProcessRecordList(requestParameters: ReimbursementBillApiReimbursementBillProcessRecordListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListReimbursementBillProcessRecordListVo> {
|
|
792
|
+
return localVarFp.reimbursementBillProcessRecordList(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
793
|
+
},
|
|
731
794
|
/**
|
|
732
795
|
* 保存或更新报账单草稿,允许部分字段为空
|
|
733
796
|
* @summary 编辑报账单草稿
|
|
@@ -857,6 +920,20 @@ export interface ReimbursementBillApiReimbursementBillDetailsRequest {
|
|
|
857
920
|
readonly id: number
|
|
858
921
|
}
|
|
859
922
|
|
|
923
|
+
/**
|
|
924
|
+
* Request parameters for reimbursementBillProcessRecordList operation in ReimbursementBillApi.
|
|
925
|
+
* @export
|
|
926
|
+
* @interface ReimbursementBillApiReimbursementBillProcessRecordListRequest
|
|
927
|
+
*/
|
|
928
|
+
export interface ReimbursementBillApiReimbursementBillProcessRecordListRequest {
|
|
929
|
+
/**
|
|
930
|
+
*
|
|
931
|
+
* @type {number}
|
|
932
|
+
* @memberof ReimbursementBillApiReimbursementBillProcessRecordList
|
|
933
|
+
*/
|
|
934
|
+
readonly id: number
|
|
935
|
+
}
|
|
936
|
+
|
|
860
937
|
/**
|
|
861
938
|
* Request parameters for reimbursementBillSaveDraft operation in ReimbursementBillApi.
|
|
862
939
|
* @export
|
|
@@ -1014,6 +1091,18 @@ export class ReimbursementBillApi extends BaseAPI {
|
|
|
1014
1091
|
return ReimbursementBillApiFp(this.configuration).reimbursementBillDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1015
1092
|
}
|
|
1016
1093
|
|
|
1094
|
+
/**
|
|
1095
|
+
*
|
|
1096
|
+
* @summary 查询报账单流转列表
|
|
1097
|
+
* @param {ReimbursementBillApiReimbursementBillProcessRecordListRequest} requestParameters Request parameters.
|
|
1098
|
+
* @param {*} [options] Override http request option.
|
|
1099
|
+
* @throws {RequiredError}
|
|
1100
|
+
* @memberof ReimbursementBillApi
|
|
1101
|
+
*/
|
|
1102
|
+
public reimbursementBillProcessRecordList(requestParameters: ReimbursementBillApiReimbursementBillProcessRecordListRequest, options?: RawAxiosRequestConfig) {
|
|
1103
|
+
return ReimbursementBillApiFp(this.configuration).reimbursementBillProcessRecordList(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1017
1106
|
/**
|
|
1018
1107
|
* 保存或更新报账单草稿,允许部分字段为空
|
|
1019
1108
|
* @summary 编辑报账单草稿
|
package/apis/web-hook-api.ts
CHANGED
|
@@ -22,6 +22,14 @@ 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 { CZYCoverFileUrlWebhookDTO } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { CzyBudgetInteractionResultWebhookDTO } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { CzySettlementInteractionWebhookDTO } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { HWorkNoticeBpmDto } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
25
33
|
import type { InsuranceNoticeVo } from '../models';
|
|
26
34
|
// @ts-ignore
|
|
27
35
|
import type { InsuranceWorkOrderVo } from '../models';
|
|
@@ -35,6 +43,166 @@ import type { SrmParkContractChangeVo } from '../models';
|
|
|
35
43
|
*/
|
|
36
44
|
export const WebHookApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37
45
|
return {
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @summary S6报账单封皮返回
|
|
49
|
+
* @param {CZYCoverFileUrlWebhookDTO} cZYCoverFileUrlWebhookDTO
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
billCover: async (cZYCoverFileUrlWebhookDTO: CZYCoverFileUrlWebhookDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
54
|
+
// verify required parameter 'cZYCoverFileUrlWebhookDTO' is not null or undefined
|
|
55
|
+
assertParamExists('billCover', 'cZYCoverFileUrlWebhookDTO', cZYCoverFileUrlWebhookDTO)
|
|
56
|
+
const localVarPath = `/webhook/czy/bill/cover`;
|
|
57
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
59
|
+
let baseOptions;
|
|
60
|
+
if (configuration) {
|
|
61
|
+
baseOptions = configuration.baseOptions;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
65
|
+
const localVarHeaderParameter = {} as any;
|
|
66
|
+
const localVarQueryParameter = {} as any;
|
|
67
|
+
|
|
68
|
+
// authentication tokenScheme required
|
|
69
|
+
// http bearer authentication required
|
|
70
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
75
|
+
|
|
76
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
77
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
78
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
79
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cZYCoverFileUrlWebhookDTO, localVarRequestOptions, configuration)
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
url: toPathString(localVarUrlObj),
|
|
83
|
+
options: localVarRequestOptions,
|
|
84
|
+
};
|
|
85
|
+
},
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @summary S5结算账单及报账付款状态返回
|
|
89
|
+
* @param {CzySettlementInteractionWebhookDTO} czySettlementInteractionWebhookDTO
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
billStatus: async (czySettlementInteractionWebhookDTO: CzySettlementInteractionWebhookDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
94
|
+
// verify required parameter 'czySettlementInteractionWebhookDTO' is not null or undefined
|
|
95
|
+
assertParamExists('billStatus', 'czySettlementInteractionWebhookDTO', czySettlementInteractionWebhookDTO)
|
|
96
|
+
const localVarPath = `/webhook/czy/bill/status`;
|
|
97
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
98
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
99
|
+
let baseOptions;
|
|
100
|
+
if (configuration) {
|
|
101
|
+
baseOptions = configuration.baseOptions;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
105
|
+
const localVarHeaderParameter = {} as any;
|
|
106
|
+
const localVarQueryParameter = {} as any;
|
|
107
|
+
|
|
108
|
+
// authentication tokenScheme required
|
|
109
|
+
// http bearer authentication required
|
|
110
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
115
|
+
|
|
116
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
118
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
119
|
+
localVarRequestOptions.data = serializeDataIfNeeded(czySettlementInteractionWebhookDTO, localVarRequestOptions, configuration)
|
|
120
|
+
|
|
121
|
+
return {
|
|
122
|
+
url: toPathString(localVarUrlObj),
|
|
123
|
+
options: localVarRequestOptions,
|
|
124
|
+
};
|
|
125
|
+
},
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @summary S1预算申请及预算释放状态返回
|
|
129
|
+
* @param {CzyBudgetInteractionResultWebhookDTO} czyBudgetInteractionResultWebhookDTO
|
|
130
|
+
* @param {*} [options] Override http request option.
|
|
131
|
+
* @throws {RequiredError}
|
|
132
|
+
*/
|
|
133
|
+
budgetOccupation: async (czyBudgetInteractionResultWebhookDTO: CzyBudgetInteractionResultWebhookDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
134
|
+
// verify required parameter 'czyBudgetInteractionResultWebhookDTO' is not null or undefined
|
|
135
|
+
assertParamExists('budgetOccupation', 'czyBudgetInteractionResultWebhookDTO', czyBudgetInteractionResultWebhookDTO)
|
|
136
|
+
const localVarPath = `/webhook/czy/budget/occupation`;
|
|
137
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
138
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
139
|
+
let baseOptions;
|
|
140
|
+
if (configuration) {
|
|
141
|
+
baseOptions = configuration.baseOptions;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
145
|
+
const localVarHeaderParameter = {} as any;
|
|
146
|
+
const localVarQueryParameter = {} as any;
|
|
147
|
+
|
|
148
|
+
// authentication tokenScheme required
|
|
149
|
+
// http bearer authentication required
|
|
150
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
155
|
+
|
|
156
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
157
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
158
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
159
|
+
localVarRequestOptions.data = serializeDataIfNeeded(czyBudgetInteractionResultWebhookDTO, localVarRequestOptions, configuration)
|
|
160
|
+
|
|
161
|
+
return {
|
|
162
|
+
url: toPathString(localVarUrlObj),
|
|
163
|
+
options: localVarRequestOptions,
|
|
164
|
+
};
|
|
165
|
+
},
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @summary 消息通知回调
|
|
169
|
+
* @param {HWorkNoticeBpmDto} hWorkNoticeBpmDto
|
|
170
|
+
* @param {*} [options] Override http request option.
|
|
171
|
+
* @throws {RequiredError}
|
|
172
|
+
*/
|
|
173
|
+
noticeBpmResult: async (hWorkNoticeBpmDto: HWorkNoticeBpmDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
174
|
+
// verify required parameter 'hWorkNoticeBpmDto' is not null or undefined
|
|
175
|
+
assertParamExists('noticeBpmResult', 'hWorkNoticeBpmDto', hWorkNoticeBpmDto)
|
|
176
|
+
const localVarPath = `/webhook/h-work/api/bpm/noticeBpmResult`;
|
|
177
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
178
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
179
|
+
let baseOptions;
|
|
180
|
+
if (configuration) {
|
|
181
|
+
baseOptions = configuration.baseOptions;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
185
|
+
const localVarHeaderParameter = {} as any;
|
|
186
|
+
const localVarQueryParameter = {} as any;
|
|
187
|
+
|
|
188
|
+
// authentication tokenScheme required
|
|
189
|
+
// http bearer authentication required
|
|
190
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
195
|
+
|
|
196
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
197
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
198
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
199
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hWorkNoticeBpmDto, localVarRequestOptions, configuration)
|
|
200
|
+
|
|
201
|
+
return {
|
|
202
|
+
url: toPathString(localVarUrlObj),
|
|
203
|
+
options: localVarRequestOptions,
|
|
204
|
+
};
|
|
205
|
+
},
|
|
38
206
|
/**
|
|
39
207
|
*
|
|
40
208
|
* @summary 接收SRM园区合同变更通知
|
|
@@ -165,6 +333,58 @@ export const WebHookApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
165
333
|
export const WebHookApiFp = function(configuration?: Configuration) {
|
|
166
334
|
const localVarAxiosParamCreator = WebHookApiAxiosParamCreator(configuration)
|
|
167
335
|
return {
|
|
336
|
+
/**
|
|
337
|
+
*
|
|
338
|
+
* @summary S6报账单封皮返回
|
|
339
|
+
* @param {CZYCoverFileUrlWebhookDTO} cZYCoverFileUrlWebhookDTO
|
|
340
|
+
* @param {*} [options] Override http request option.
|
|
341
|
+
* @throws {RequiredError}
|
|
342
|
+
*/
|
|
343
|
+
async billCover(cZYCoverFileUrlWebhookDTO: CZYCoverFileUrlWebhookDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: object; }>> {
|
|
344
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.billCover(cZYCoverFileUrlWebhookDTO, options);
|
|
345
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
346
|
+
const localVarOperationServerBasePath = operationServerMap['WebHookApi.billCover']?.[localVarOperationServerIndex]?.url;
|
|
347
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
348
|
+
},
|
|
349
|
+
/**
|
|
350
|
+
*
|
|
351
|
+
* @summary S5结算账单及报账付款状态返回
|
|
352
|
+
* @param {CzySettlementInteractionWebhookDTO} czySettlementInteractionWebhookDTO
|
|
353
|
+
* @param {*} [options] Override http request option.
|
|
354
|
+
* @throws {RequiredError}
|
|
355
|
+
*/
|
|
356
|
+
async billStatus(czySettlementInteractionWebhookDTO: CzySettlementInteractionWebhookDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: object; }>> {
|
|
357
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.billStatus(czySettlementInteractionWebhookDTO, options);
|
|
358
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
359
|
+
const localVarOperationServerBasePath = operationServerMap['WebHookApi.billStatus']?.[localVarOperationServerIndex]?.url;
|
|
360
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
361
|
+
},
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @summary S1预算申请及预算释放状态返回
|
|
365
|
+
* @param {CzyBudgetInteractionResultWebhookDTO} czyBudgetInteractionResultWebhookDTO
|
|
366
|
+
* @param {*} [options] Override http request option.
|
|
367
|
+
* @throws {RequiredError}
|
|
368
|
+
*/
|
|
369
|
+
async budgetOccupation(czyBudgetInteractionResultWebhookDTO: CzyBudgetInteractionResultWebhookDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: object; }>> {
|
|
370
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.budgetOccupation(czyBudgetInteractionResultWebhookDTO, options);
|
|
371
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
372
|
+
const localVarOperationServerBasePath = operationServerMap['WebHookApi.budgetOccupation']?.[localVarOperationServerIndex]?.url;
|
|
373
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
374
|
+
},
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
* @summary 消息通知回调
|
|
378
|
+
* @param {HWorkNoticeBpmDto} hWorkNoticeBpmDto
|
|
379
|
+
* @param {*} [options] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
*/
|
|
382
|
+
async noticeBpmResult(hWorkNoticeBpmDto: HWorkNoticeBpmDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: object; }>> {
|
|
383
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.noticeBpmResult(hWorkNoticeBpmDto, options);
|
|
384
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
385
|
+
const localVarOperationServerBasePath = operationServerMap['WebHookApi.noticeBpmResult']?.[localVarOperationServerIndex]?.url;
|
|
386
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
387
|
+
},
|
|
168
388
|
/**
|
|
169
389
|
*
|
|
170
390
|
* @summary 接收SRM园区合同变更通知
|
|
@@ -214,6 +434,46 @@ export const WebHookApiFp = function(configuration?: Configuration) {
|
|
|
214
434
|
export const WebHookApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
215
435
|
const localVarFp = WebHookApiFp(configuration)
|
|
216
436
|
return {
|
|
437
|
+
/**
|
|
438
|
+
*
|
|
439
|
+
* @summary S6报账单封皮返回
|
|
440
|
+
* @param {WebHookApiBillCoverRequest} requestParameters Request parameters.
|
|
441
|
+
* @param {*} [options] Override http request option.
|
|
442
|
+
* @throws {RequiredError}
|
|
443
|
+
*/
|
|
444
|
+
billCover(requestParameters: WebHookApiBillCoverRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: object; }> {
|
|
445
|
+
return localVarFp.billCover(requestParameters.cZYCoverFileUrlWebhookDTO, options).then((request) => request(axios, basePath));
|
|
446
|
+
},
|
|
447
|
+
/**
|
|
448
|
+
*
|
|
449
|
+
* @summary S5结算账单及报账付款状态返回
|
|
450
|
+
* @param {WebHookApiBillStatusRequest} requestParameters Request parameters.
|
|
451
|
+
* @param {*} [options] Override http request option.
|
|
452
|
+
* @throws {RequiredError}
|
|
453
|
+
*/
|
|
454
|
+
billStatus(requestParameters: WebHookApiBillStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: object; }> {
|
|
455
|
+
return localVarFp.billStatus(requestParameters.czySettlementInteractionWebhookDTO, options).then((request) => request(axios, basePath));
|
|
456
|
+
},
|
|
457
|
+
/**
|
|
458
|
+
*
|
|
459
|
+
* @summary S1预算申请及预算释放状态返回
|
|
460
|
+
* @param {WebHookApiBudgetOccupationRequest} requestParameters Request parameters.
|
|
461
|
+
* @param {*} [options] Override http request option.
|
|
462
|
+
* @throws {RequiredError}
|
|
463
|
+
*/
|
|
464
|
+
budgetOccupation(requestParameters: WebHookApiBudgetOccupationRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: object; }> {
|
|
465
|
+
return localVarFp.budgetOccupation(requestParameters.czyBudgetInteractionResultWebhookDTO, options).then((request) => request(axios, basePath));
|
|
466
|
+
},
|
|
467
|
+
/**
|
|
468
|
+
*
|
|
469
|
+
* @summary 消息通知回调
|
|
470
|
+
* @param {WebHookApiNoticeBpmResultRequest} requestParameters Request parameters.
|
|
471
|
+
* @param {*} [options] Override http request option.
|
|
472
|
+
* @throws {RequiredError}
|
|
473
|
+
*/
|
|
474
|
+
noticeBpmResult(requestParameters: WebHookApiNoticeBpmResultRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: object; }> {
|
|
475
|
+
return localVarFp.noticeBpmResult(requestParameters.hWorkNoticeBpmDto, options).then((request) => request(axios, basePath));
|
|
476
|
+
},
|
|
217
477
|
/**
|
|
218
478
|
*
|
|
219
479
|
* @summary 接收SRM园区合同变更通知
|
|
@@ -247,6 +507,62 @@ export const WebHookApiFactory = function (configuration?: Configuration, basePa
|
|
|
247
507
|
};
|
|
248
508
|
};
|
|
249
509
|
|
|
510
|
+
/**
|
|
511
|
+
* Request parameters for billCover operation in WebHookApi.
|
|
512
|
+
* @export
|
|
513
|
+
* @interface WebHookApiBillCoverRequest
|
|
514
|
+
*/
|
|
515
|
+
export interface WebHookApiBillCoverRequest {
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @type {CZYCoverFileUrlWebhookDTO}
|
|
519
|
+
* @memberof WebHookApiBillCover
|
|
520
|
+
*/
|
|
521
|
+
readonly cZYCoverFileUrlWebhookDTO: CZYCoverFileUrlWebhookDTO
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* Request parameters for billStatus operation in WebHookApi.
|
|
526
|
+
* @export
|
|
527
|
+
* @interface WebHookApiBillStatusRequest
|
|
528
|
+
*/
|
|
529
|
+
export interface WebHookApiBillStatusRequest {
|
|
530
|
+
/**
|
|
531
|
+
*
|
|
532
|
+
* @type {CzySettlementInteractionWebhookDTO}
|
|
533
|
+
* @memberof WebHookApiBillStatus
|
|
534
|
+
*/
|
|
535
|
+
readonly czySettlementInteractionWebhookDTO: CzySettlementInteractionWebhookDTO
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* Request parameters for budgetOccupation operation in WebHookApi.
|
|
540
|
+
* @export
|
|
541
|
+
* @interface WebHookApiBudgetOccupationRequest
|
|
542
|
+
*/
|
|
543
|
+
export interface WebHookApiBudgetOccupationRequest {
|
|
544
|
+
/**
|
|
545
|
+
*
|
|
546
|
+
* @type {CzyBudgetInteractionResultWebhookDTO}
|
|
547
|
+
* @memberof WebHookApiBudgetOccupation
|
|
548
|
+
*/
|
|
549
|
+
readonly czyBudgetInteractionResultWebhookDTO: CzyBudgetInteractionResultWebhookDTO
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Request parameters for noticeBpmResult operation in WebHookApi.
|
|
554
|
+
* @export
|
|
555
|
+
* @interface WebHookApiNoticeBpmResultRequest
|
|
556
|
+
*/
|
|
557
|
+
export interface WebHookApiNoticeBpmResultRequest {
|
|
558
|
+
/**
|
|
559
|
+
*
|
|
560
|
+
* @type {HWorkNoticeBpmDto}
|
|
561
|
+
* @memberof WebHookApiNoticeBpmResult
|
|
562
|
+
*/
|
|
563
|
+
readonly hWorkNoticeBpmDto: HWorkNoticeBpmDto
|
|
564
|
+
}
|
|
565
|
+
|
|
250
566
|
/**
|
|
251
567
|
* Request parameters for srmParkContractChange operation in WebHookApi.
|
|
252
568
|
* @export
|
|
@@ -296,6 +612,54 @@ export interface WebHookApiWebhookInsuranceWorkOrderRequest {
|
|
|
296
612
|
* @extends {BaseAPI}
|
|
297
613
|
*/
|
|
298
614
|
export class WebHookApi extends BaseAPI {
|
|
615
|
+
/**
|
|
616
|
+
*
|
|
617
|
+
* @summary S6报账单封皮返回
|
|
618
|
+
* @param {WebHookApiBillCoverRequest} requestParameters Request parameters.
|
|
619
|
+
* @param {*} [options] Override http request option.
|
|
620
|
+
* @throws {RequiredError}
|
|
621
|
+
* @memberof WebHookApi
|
|
622
|
+
*/
|
|
623
|
+
public billCover(requestParameters: WebHookApiBillCoverRequest, options?: RawAxiosRequestConfig) {
|
|
624
|
+
return WebHookApiFp(this.configuration).billCover(requestParameters.cZYCoverFileUrlWebhookDTO, options).then((request) => request(this.axios, this.basePath));
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
*
|
|
629
|
+
* @summary S5结算账单及报账付款状态返回
|
|
630
|
+
* @param {WebHookApiBillStatusRequest} requestParameters Request parameters.
|
|
631
|
+
* @param {*} [options] Override http request option.
|
|
632
|
+
* @throws {RequiredError}
|
|
633
|
+
* @memberof WebHookApi
|
|
634
|
+
*/
|
|
635
|
+
public billStatus(requestParameters: WebHookApiBillStatusRequest, options?: RawAxiosRequestConfig) {
|
|
636
|
+
return WebHookApiFp(this.configuration).billStatus(requestParameters.czySettlementInteractionWebhookDTO, options).then((request) => request(this.axios, this.basePath));
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
*
|
|
641
|
+
* @summary S1预算申请及预算释放状态返回
|
|
642
|
+
* @param {WebHookApiBudgetOccupationRequest} requestParameters Request parameters.
|
|
643
|
+
* @param {*} [options] Override http request option.
|
|
644
|
+
* @throws {RequiredError}
|
|
645
|
+
* @memberof WebHookApi
|
|
646
|
+
*/
|
|
647
|
+
public budgetOccupation(requestParameters: WebHookApiBudgetOccupationRequest, options?: RawAxiosRequestConfig) {
|
|
648
|
+
return WebHookApiFp(this.configuration).budgetOccupation(requestParameters.czyBudgetInteractionResultWebhookDTO, options).then((request) => request(this.axios, this.basePath));
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
*
|
|
653
|
+
* @summary 消息通知回调
|
|
654
|
+
* @param {WebHookApiNoticeBpmResultRequest} requestParameters Request parameters.
|
|
655
|
+
* @param {*} [options] Override http request option.
|
|
656
|
+
* @throws {RequiredError}
|
|
657
|
+
* @memberof WebHookApi
|
|
658
|
+
*/
|
|
659
|
+
public noticeBpmResult(requestParameters: WebHookApiNoticeBpmResultRequest, options?: RawAxiosRequestConfig) {
|
|
660
|
+
return WebHookApiFp(this.configuration).noticeBpmResult(requestParameters.hWorkNoticeBpmDto, options).then((request) => request(this.axios, this.basePath));
|
|
661
|
+
}
|
|
662
|
+
|
|
299
663
|
/**
|
|
300
664
|
*
|
|
301
665
|
* @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 设备告警
|
package/dist/apis/device-api.js
CHANGED
|
@@ -42,9 +42,9 @@ const DeviceApiAxiosParamCreator = function (configuration) {
|
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
_delete: (iotDeviceUnitDeleteDTO_1, ...args_1) => __awaiter(this, [iotDeviceUnitDeleteDTO_1, ...args_1], void 0, function* (iotDeviceUnitDeleteDTO, options = {}) {
|
|
46
46
|
// verify required parameter 'iotDeviceUnitDeleteDTO' is not null or undefined
|
|
47
|
-
(0, common_1.assertParamExists)('
|
|
47
|
+
(0, common_1.assertParamExists)('_delete', 'iotDeviceUnitDeleteDTO', iotDeviceUnitDeleteDTO);
|
|
48
48
|
const localVarPath = `/gizone/iot/device/unit`;
|
|
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);
|
|
@@ -184,12 +184,12 @@ const DeviceApiFp = function (configuration) {
|
|
|
184
184
|
* @param {*} [options] Override http request option.
|
|
185
185
|
* @throws {RequiredError}
|
|
186
186
|
*/
|
|
187
|
-
|
|
187
|
+
_delete(iotDeviceUnitDeleteDTO, options) {
|
|
188
188
|
return __awaiter(this, void 0, void 0, function* () {
|
|
189
189
|
var _a, _b, _c;
|
|
190
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
190
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator._delete(iotDeviceUnitDeleteDTO, options);
|
|
191
191
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
192
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DeviceApi.
|
|
192
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DeviceApi._delete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
193
193
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
194
194
|
});
|
|
195
195
|
},
|
|
@@ -254,12 +254,12 @@ const DeviceApiFactory = function (configuration, basePath, axios) {
|
|
|
254
254
|
/**
|
|
255
255
|
*
|
|
256
256
|
* @summary 删除设备部件
|
|
257
|
-
* @param {
|
|
257
|
+
* @param {DeviceApiDeleteRequest} requestParameters Request parameters.
|
|
258
258
|
* @param {*} [options] Override http request option.
|
|
259
259
|
* @throws {RequiredError}
|
|
260
260
|
*/
|
|
261
|
-
|
|
262
|
-
return localVarFp.
|
|
261
|
+
_delete(requestParameters, options) {
|
|
262
|
+
return localVarFp._delete(requestParameters.iotDeviceUnitDeleteDTO, options).then((request) => request(axios, basePath));
|
|
263
263
|
},
|
|
264
264
|
/**
|
|
265
265
|
*
|
|
@@ -304,13 +304,13 @@ class DeviceApi extends base_1.BaseAPI {
|
|
|
304
304
|
/**
|
|
305
305
|
*
|
|
306
306
|
* @summary 删除设备部件
|
|
307
|
-
* @param {
|
|
307
|
+
* @param {DeviceApiDeleteRequest} requestParameters Request parameters.
|
|
308
308
|
* @param {*} [options] Override http request option.
|
|
309
309
|
* @throws {RequiredError}
|
|
310
310
|
* @memberof DeviceApi
|
|
311
311
|
*/
|
|
312
|
-
|
|
313
|
-
return (0, exports.DeviceApiFp)(this.configuration).
|
|
312
|
+
_delete(requestParameters, options) {
|
|
313
|
+
return (0, exports.DeviceApiFp)(this.configuration)._delete(requestParameters.iotDeviceUnitDeleteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
314
314
|
}
|
|
315
315
|
/**
|
|
316
316
|
*
|