@gizone/rrs-client 4.2.0-alpha.375 → 4.2.0-alpha.377
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 +21 -2
- package/api.ts +1 -0
- package/apis/hwork-api.ts +167 -0
- package/apis/message-api.ts +0 -178
- package/apis/notification-api.ts +133 -227
- package/apis/open-api-api.ts +214 -0
- package/apis/setting-api.ts +307 -0
- package/apis/web-hook-api.ts +182 -0
- package/apis/work-order-api.ts +450 -15
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/apis/hwork-api.d.ts +96 -0
- package/dist/apis/hwork-api.js +145 -0
- package/dist/apis/message-api.d.ts +0 -93
- package/dist/apis/message-api.js +0 -139
- package/dist/apis/notification-api.d.ts +90 -135
- package/dist/apis/notification-api.js +99 -174
- package/dist/apis/open-api-api.d.ts +110 -0
- package/dist/apis/open-api-api.js +156 -0
- package/dist/apis/setting-api.d.ts +166 -0
- package/dist/apis/setting-api.js +223 -0
- package/dist/apis/web-hook-api.d.ts +94 -0
- package/dist/apis/web-hook-api.js +140 -0
- package/dist/apis/work-order-api.d.ts +243 -6
- package/dist/apis/work-order-api.js +322 -15
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/apis/hwork-api.d.ts +96 -0
- package/dist/esm/apis/hwork-api.js +138 -0
- package/dist/esm/apis/message-api.d.ts +0 -93
- package/dist/esm/apis/message-api.js +1 -140
- package/dist/esm/apis/notification-api.d.ts +90 -135
- package/dist/esm/apis/notification-api.js +99 -174
- package/dist/esm/apis/open-api-api.d.ts +110 -0
- package/dist/esm/apis/open-api-api.js +156 -0
- package/dist/esm/apis/setting-api.d.ts +166 -0
- package/dist/esm/apis/setting-api.js +223 -0
- package/dist/esm/apis/web-hook-api.d.ts +94 -0
- package/dist/esm/apis/web-hook-api.js +140 -0
- package/dist/esm/apis/work-order-api.d.ts +243 -6
- package/dist/esm/apis/work-order-api.js +322 -15
- package/dist/esm/models/disaster-warning-standard-add-or-update-vo.d.ts +1 -1
- package/dist/esm/models/disaster-warning-standard-entity.d.ts +1 -1
- package/dist/esm/models/exploration-work-order-details-dto.d.ts +123 -0
- package/dist/esm/models/exploration-work-order-info.d.ts +111 -0
- package/dist/esm/models/exploration-work-order-info.js +19 -0
- package/dist/esm/models/exploration-work-order-submit-vo.d.ts +36 -0
- package/dist/esm/models/exploration-work-order-type-enum.d.ts +20 -0
- package/dist/esm/models/exploration-work-order-type-enum.js +21 -0
- package/dist/esm/models/index.d.ts +20 -2
- package/dist/esm/models/index.js +20 -2
- package/dist/esm/models/inspection-standard-add-or-update-vo.d.ts +1 -1
- package/dist/esm/models/inspection-standard-dto.d.ts +1 -1
- package/dist/esm/models/inspection-standard-entity.d.ts +1 -1
- package/dist/esm/models/insurance-notice-vo.d.ts +54 -0
- package/dist/esm/models/insurance-notice-vo.js +14 -0
- package/dist/esm/models/insurance-work-order-issue-vo.d.ts +86 -0
- package/dist/esm/models/insurance-work-order-issue-vo.js +19 -0
- package/dist/esm/models/insurance-work-order-vo.d.ts +37 -0
- package/dist/esm/models/insurance-work-order-vo.js +14 -0
- package/dist/esm/models/json-result-exploration-work-order-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-exploration-work-order-details-dto.js +14 -0
- package/dist/esm/models/json-result-list-work-order-issue-type-settings-entity.d.ts +62 -0
- package/dist/esm/models/json-result-list-work-order-issue-type-settings-entity.js +14 -0
- package/dist/esm/models/json-result-notice-entity.d.ts +62 -0
- package/dist/esm/models/json-result-notice-entity.js +14 -0
- package/dist/esm/models/json-result-page-dto-open-api-equipment-list-dto.d.ts +62 -0
- package/dist/esm/models/json-result-page-dto-open-api-equipment-list-dto.js +14 -0
- package/dist/esm/models/json-result-work-order-issue-type-settings-entity.d.ts +62 -0
- package/dist/esm/models/json-result-work-order-issue-type-settings-entity.js +14 -0
- package/dist/esm/models/login-type-enum.d.ts +2 -0
- package/dist/esm/models/login-type-enum.js +3 -1
- package/dist/esm/models/maintenance-standard-add-or-update-vo.d.ts +1 -1
- package/dist/esm/models/maintenance-standard-dto.d.ts +1 -1
- package/dist/esm/models/maintenance-standard-entity.d.ts +1 -1
- package/dist/esm/models/monitoring-coverage-alert-work-order-details-dto.d.ts +12 -0
- package/dist/esm/models/network-monitor-repair-add-vo.d.ts +6 -0
- package/dist/esm/models/network-monitor-repair-details-dto.d.ts +12 -0
- package/dist/{models/sys-user-msg-notice-add-vo.d.ts → esm/models/notice-add-vo.d.ts} +8 -8
- package/dist/esm/models/notice-add-vo.js +14 -0
- package/dist/esm/models/notice-entity.d.ts +90 -0
- package/dist/esm/models/notice-entity.js +14 -0
- package/dist/esm/models/offline-alert-submit-vo.d.ts +6 -0
- package/dist/esm/models/offline-alert-work-order-details-dto.d.ts +12 -0
- package/dist/esm/models/offline-alert-work-order-vo.d.ts +6 -0
- package/dist/esm/models/open-api-equipment-list-dto.d.ts +110 -0
- package/dist/esm/models/open-api-equipment-list-dto.js +14 -0
- package/dist/esm/models/page-dto-open-api-equipment-list-dto.d.ts +31 -0
- package/dist/esm/models/page-dto-open-api-equipment-list-dto.js +14 -0
- package/dist/esm/models/park-info-dto.d.ts +12 -0
- package/dist/esm/models/period-detail-resp.d.ts +7 -1
- package/dist/esm/models/sys-post.d.ts +6 -0
- package/dist/esm/models/sys-role.d.ts +6 -0
- package/dist/esm/models/sys-user.d.ts +15 -2
- package/dist/esm/models/user-source-enum.d.ts +21 -0
- package/dist/esm/models/user-source-enum.js +22 -0
- package/dist/esm/models/violation-work-order-add-vo.d.ts +6 -0
- package/dist/esm/models/violation-work-order-details-dto.d.ts +12 -0
- package/dist/esm/models/work-order-approval-vo.d.ts +6 -0
- package/dist/esm/models/work-order-detail-dto.d.ts +6 -0
- package/dist/esm/models/work-order-equipment-dto.d.ts +36 -0
- package/dist/esm/models/work-order-equipment-dto.js +14 -0
- package/dist/esm/models/work-order-ext-data.d.ts +7 -0
- package/dist/esm/models/work-order-internal-status-enum.d.ts +2 -0
- package/dist/esm/models/work-order-internal-status-enum.js +3 -1
- package/dist/esm/models/work-order-issue-type-enum.d.ts +2 -1
- package/dist/esm/models/work-order-issue-type-enum.js +3 -2
- package/dist/esm/models/work-order-issue-type-settings-add-or-update-vo.d.ts +44 -0
- package/dist/esm/models/work-order-issue-type-settings-add-or-update-vo.js +14 -0
- package/dist/esm/models/work-order-issue-type-settings-entity.d.ts +68 -0
- package/dist/esm/models/work-order-issue-type-settings-entity.js +14 -0
- package/dist/esm/models/work-order-search-dto.d.ts +13 -1
- package/dist/esm/models/work-order-settings-type-enum.d.ts +1 -0
- package/dist/esm/models/work-order-settings-type-enum.js +2 -1
- package/dist/esm/models/work-order-status-enum.d.ts +0 -1
- package/dist/esm/models/work-order-status-enum.js +0 -1
- package/dist/esm/models/work-order-submit-vo.d.ts +7 -0
- package/dist/esm/models/work-order-type-enum.d.ts +1 -0
- package/dist/esm/models/work-order-type-enum.js +2 -1
- package/dist/models/disaster-warning-standard-add-or-update-vo.d.ts +1 -1
- package/dist/models/disaster-warning-standard-entity.d.ts +1 -1
- package/dist/models/exploration-work-order-details-dto.d.ts +123 -0
- package/dist/models/exploration-work-order-info.d.ts +111 -0
- package/dist/models/exploration-work-order-info.js +22 -0
- package/dist/models/exploration-work-order-submit-vo.d.ts +36 -0
- package/dist/models/exploration-work-order-type-enum.d.ts +20 -0
- package/dist/models/exploration-work-order-type-enum.js +24 -0
- package/dist/models/index.d.ts +20 -2
- package/dist/models/index.js +20 -2
- package/dist/models/inspection-standard-add-or-update-vo.d.ts +1 -1
- package/dist/models/inspection-standard-dto.d.ts +1 -1
- package/dist/models/inspection-standard-entity.d.ts +1 -1
- package/dist/models/insurance-notice-vo.d.ts +54 -0
- package/dist/models/insurance-notice-vo.js +15 -0
- package/dist/models/insurance-work-order-issue-vo.d.ts +86 -0
- package/dist/models/insurance-work-order-issue-vo.js +22 -0
- package/dist/models/insurance-work-order-vo.d.ts +37 -0
- package/dist/models/insurance-work-order-vo.js +15 -0
- package/dist/models/json-result-exploration-work-order-details-dto.d.ts +62 -0
- package/dist/models/json-result-exploration-work-order-details-dto.js +15 -0
- package/dist/models/json-result-list-work-order-issue-type-settings-entity.d.ts +62 -0
- package/dist/models/json-result-list-work-order-issue-type-settings-entity.js +15 -0
- package/dist/models/json-result-notice-entity.d.ts +62 -0
- package/dist/models/json-result-notice-entity.js +15 -0
- package/dist/models/json-result-page-dto-open-api-equipment-list-dto.d.ts +62 -0
- package/dist/models/json-result-page-dto-open-api-equipment-list-dto.js +15 -0
- package/dist/models/json-result-work-order-issue-type-settings-entity.d.ts +62 -0
- package/dist/models/json-result-work-order-issue-type-settings-entity.js +15 -0
- package/dist/models/login-type-enum.d.ts +2 -0
- package/dist/models/login-type-enum.js +3 -1
- package/dist/models/maintenance-standard-add-or-update-vo.d.ts +1 -1
- package/dist/models/maintenance-standard-dto.d.ts +1 -1
- package/dist/models/maintenance-standard-entity.d.ts +1 -1
- package/dist/models/monitoring-coverage-alert-work-order-details-dto.d.ts +12 -0
- package/dist/models/network-monitor-repair-add-vo.d.ts +6 -0
- package/dist/models/network-monitor-repair-details-dto.d.ts +12 -0
- package/dist/{esm/models/sys-user-msg-notice-add-vo.d.ts → models/notice-add-vo.d.ts} +8 -8
- package/dist/models/notice-add-vo.js +15 -0
- package/dist/models/notice-entity.d.ts +90 -0
- package/dist/models/notice-entity.js +15 -0
- package/dist/models/offline-alert-submit-vo.d.ts +6 -0
- package/dist/models/offline-alert-work-order-details-dto.d.ts +12 -0
- package/dist/models/offline-alert-work-order-vo.d.ts +6 -0
- package/dist/models/open-api-equipment-list-dto.d.ts +110 -0
- package/dist/models/open-api-equipment-list-dto.js +15 -0
- package/dist/models/page-dto-open-api-equipment-list-dto.d.ts +31 -0
- package/dist/models/page-dto-open-api-equipment-list-dto.js +15 -0
- package/dist/models/park-info-dto.d.ts +12 -0
- package/dist/models/period-detail-resp.d.ts +7 -1
- package/dist/models/sys-post.d.ts +6 -0
- package/dist/models/sys-role.d.ts +6 -0
- package/dist/models/sys-user.d.ts +15 -2
- package/dist/models/user-source-enum.d.ts +21 -0
- package/dist/models/user-source-enum.js +25 -0
- package/dist/models/violation-work-order-add-vo.d.ts +6 -0
- package/dist/models/violation-work-order-details-dto.d.ts +12 -0
- package/dist/models/work-order-approval-vo.d.ts +6 -0
- package/dist/models/work-order-detail-dto.d.ts +6 -0
- package/dist/models/work-order-equipment-dto.d.ts +36 -0
- package/dist/models/work-order-equipment-dto.js +15 -0
- package/dist/models/work-order-ext-data.d.ts +7 -0
- package/dist/models/work-order-internal-status-enum.d.ts +2 -0
- package/dist/models/work-order-internal-status-enum.js +3 -1
- package/dist/models/work-order-issue-type-enum.d.ts +2 -1
- package/dist/models/work-order-issue-type-enum.js +3 -2
- package/dist/models/work-order-issue-type-settings-add-or-update-vo.d.ts +44 -0
- package/dist/models/work-order-issue-type-settings-add-or-update-vo.js +15 -0
- package/dist/models/work-order-issue-type-settings-entity.d.ts +68 -0
- package/dist/models/work-order-issue-type-settings-entity.js +15 -0
- package/dist/models/work-order-search-dto.d.ts +13 -1
- package/dist/models/work-order-settings-type-enum.d.ts +1 -0
- package/dist/models/work-order-settings-type-enum.js +2 -1
- package/dist/models/work-order-status-enum.d.ts +0 -1
- package/dist/models/work-order-status-enum.js +0 -1
- package/dist/models/work-order-submit-vo.d.ts +7 -0
- package/dist/models/work-order-type-enum.d.ts +1 -0
- package/dist/models/work-order-type-enum.js +2 -1
- package/models/disaster-warning-standard-add-or-update-vo.ts +1 -1
- package/models/disaster-warning-standard-entity.ts +1 -1
- package/models/exploration-work-order-details-dto.ts +149 -0
- package/models/exploration-work-order-info.ts +124 -0
- package/models/exploration-work-order-submit-vo.ts +42 -0
- package/models/exploration-work-order-type-enum.ts +30 -0
- package/models/index.ts +20 -2
- package/models/inspection-standard-add-or-update-vo.ts +1 -1
- package/models/inspection-standard-dto.ts +1 -1
- package/models/inspection-standard-entity.ts +1 -1
- package/models/insurance-notice-vo.ts +60 -0
- package/models/insurance-work-order-issue-vo.ts +97 -0
- package/models/insurance-work-order-vo.ts +45 -0
- package/models/json-result-exploration-work-order-details-dto.ts +72 -0
- package/models/json-result-list-work-order-issue-type-settings-entity.ts +72 -0
- package/models/json-result-notice-entity.ts +72 -0
- package/models/json-result-page-dto-open-api-equipment-list-dto.ts +72 -0
- package/models/json-result-work-order-issue-type-settings-entity.ts +72 -0
- package/models/login-type-enum.ts +3 -1
- package/models/maintenance-standard-add-or-update-vo.ts +1 -1
- package/models/maintenance-standard-dto.ts +1 -1
- package/models/maintenance-standard-entity.ts +1 -1
- package/models/monitoring-coverage-alert-work-order-details-dto.ts +12 -0
- package/models/network-monitor-repair-add-vo.ts +6 -0
- package/models/network-monitor-repair-details-dto.ts +12 -0
- package/models/{sys-user-msg-notice-add-vo.ts → notice-add-vo.ts} +8 -8
- package/models/notice-entity.ts +96 -0
- package/models/offline-alert-submit-vo.ts +6 -0
- package/models/offline-alert-work-order-details-dto.ts +12 -0
- package/models/offline-alert-work-order-vo.ts +6 -0
- package/models/open-api-equipment-list-dto.ts +122 -0
- package/models/page-dto-open-api-equipment-list-dto.ts +39 -0
- package/models/park-info-dto.ts +12 -0
- package/models/period-detail-resp.ts +7 -1
- package/models/sys-post.ts +6 -0
- package/models/sys-role.ts +6 -0
- package/models/sys-user.ts +19 -2
- package/models/user-source-enum.ts +31 -0
- package/models/violation-work-order-add-vo.ts +6 -0
- package/models/violation-work-order-details-dto.ts +12 -0
- package/models/work-order-approval-vo.ts +6 -0
- package/models/work-order-detail-dto.ts +6 -0
- package/models/work-order-equipment-dto.ts +42 -0
- package/models/work-order-ext-data.ts +9 -0
- package/models/work-order-internal-status-enum.ts +3 -1
- package/models/work-order-issue-type-enum.ts +3 -2
- package/models/work-order-issue-type-settings-add-or-update-vo.ts +56 -0
- package/models/work-order-issue-type-settings-entity.ts +80 -0
- package/models/work-order-search-dto.ts +13 -1
- package/models/work-order-settings-type-enum.ts +2 -1
- package/models/work-order-status-enum.ts +0 -1
- package/models/work-order-submit-vo.ts +9 -0
- package/models/work-order-type-enum.ts +2 -1
- package/package.json +1 -1
- package/dist/esm/models/notice-vo.d.ts +0 -86
- package/dist/models/notice-vo.d.ts +0 -86
- package/models/notice-vo.ts +0 -90
- /package/dist/esm/models/{notice-vo.js → exploration-work-order-details-dto.js} +0 -0
- /package/dist/esm/models/{sys-user-msg-notice-add-vo.js → exploration-work-order-submit-vo.js} +0 -0
- /package/dist/models/{notice-vo.js → exploration-work-order-details-dto.js} +0 -0
- /package/dist/models/{sys-user-msg-notice-add-vo.js → exploration-work-order-submit-vo.js} +0 -0
package/apis/web-hook-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 { InsuranceNoticeVo } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { InsuranceWorkOrderVo } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
25
29
|
import type { JsonResultVoid } from '../models';
|
|
26
30
|
// @ts-ignore
|
|
27
31
|
import type { SrmParkContractChangeVo } from '../models';
|
|
@@ -66,6 +70,86 @@ export const WebHookApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
66
70
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
67
71
|
localVarRequestOptions.data = serializeDataIfNeeded(srmParkContractChangeVo, localVarRequestOptions, configuration)
|
|
68
72
|
|
|
73
|
+
return {
|
|
74
|
+
url: toPathString(localVarUrlObj),
|
|
75
|
+
options: localVarRequestOptions,
|
|
76
|
+
};
|
|
77
|
+
},
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @summary 接收保险通知
|
|
81
|
+
* @param {InsuranceNoticeVo} insuranceNoticeVo
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
webhookInsuranceNotice: async (insuranceNoticeVo: InsuranceNoticeVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
86
|
+
// verify required parameter 'insuranceNoticeVo' is not null or undefined
|
|
87
|
+
assertParamExists('webhookInsuranceNotice', 'insuranceNoticeVo', insuranceNoticeVo)
|
|
88
|
+
const localVarPath = `/webhook/insurance/notice`;
|
|
89
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
90
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
91
|
+
let baseOptions;
|
|
92
|
+
if (configuration) {
|
|
93
|
+
baseOptions = configuration.baseOptions;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
97
|
+
const localVarHeaderParameter = {} as any;
|
|
98
|
+
const localVarQueryParameter = {} as any;
|
|
99
|
+
|
|
100
|
+
// authentication tokenScheme required
|
|
101
|
+
// http bearer authentication required
|
|
102
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
107
|
+
|
|
108
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
109
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
110
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
111
|
+
localVarRequestOptions.data = serializeDataIfNeeded(insuranceNoticeVo, localVarRequestOptions, configuration)
|
|
112
|
+
|
|
113
|
+
return {
|
|
114
|
+
url: toPathString(localVarUrlObj),
|
|
115
|
+
options: localVarRequestOptions,
|
|
116
|
+
};
|
|
117
|
+
},
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @summary 接收保险工单
|
|
121
|
+
* @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
|
|
122
|
+
* @param {*} [options] Override http request option.
|
|
123
|
+
* @throws {RequiredError}
|
|
124
|
+
*/
|
|
125
|
+
webhookInsuranceWorkOrder: async (insuranceWorkOrderVo: InsuranceWorkOrderVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
126
|
+
// verify required parameter 'insuranceWorkOrderVo' is not null or undefined
|
|
127
|
+
assertParamExists('webhookInsuranceWorkOrder', 'insuranceWorkOrderVo', insuranceWorkOrderVo)
|
|
128
|
+
const localVarPath = `/webhook/insurance/workOrder`;
|
|
129
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
130
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
131
|
+
let baseOptions;
|
|
132
|
+
if (configuration) {
|
|
133
|
+
baseOptions = configuration.baseOptions;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
137
|
+
const localVarHeaderParameter = {} as any;
|
|
138
|
+
const localVarQueryParameter = {} as any;
|
|
139
|
+
|
|
140
|
+
// authentication tokenScheme required
|
|
141
|
+
// http bearer authentication required
|
|
142
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
147
|
+
|
|
148
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
149
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
150
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
151
|
+
localVarRequestOptions.data = serializeDataIfNeeded(insuranceWorkOrderVo, localVarRequestOptions, configuration)
|
|
152
|
+
|
|
69
153
|
return {
|
|
70
154
|
url: toPathString(localVarUrlObj),
|
|
71
155
|
options: localVarRequestOptions,
|
|
@@ -94,6 +178,32 @@ export const WebHookApiFp = function(configuration?: Configuration) {
|
|
|
94
178
|
const localVarOperationServerBasePath = operationServerMap['WebHookApi.srmParkContractChange']?.[localVarOperationServerIndex]?.url;
|
|
95
179
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
96
180
|
},
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @summary 接收保险通知
|
|
184
|
+
* @param {InsuranceNoticeVo} insuranceNoticeVo
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
async webhookInsuranceNotice(insuranceNoticeVo: InsuranceNoticeVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
189
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.webhookInsuranceNotice(insuranceNoticeVo, options);
|
|
190
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
191
|
+
const localVarOperationServerBasePath = operationServerMap['WebHookApi.webhookInsuranceNotice']?.[localVarOperationServerIndex]?.url;
|
|
192
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
193
|
+
},
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
* @summary 接收保险工单
|
|
197
|
+
* @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
*/
|
|
201
|
+
async webhookInsuranceWorkOrder(insuranceWorkOrderVo: InsuranceWorkOrderVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
202
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.webhookInsuranceWorkOrder(insuranceWorkOrderVo, options);
|
|
203
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
204
|
+
const localVarOperationServerBasePath = operationServerMap['WebHookApi.webhookInsuranceWorkOrder']?.[localVarOperationServerIndex]?.url;
|
|
205
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
206
|
+
},
|
|
97
207
|
}
|
|
98
208
|
};
|
|
99
209
|
|
|
@@ -114,6 +224,26 @@ export const WebHookApiFactory = function (configuration?: Configuration, basePa
|
|
|
114
224
|
srmParkContractChange(requestParameters: WebHookApiSrmParkContractChangeRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
115
225
|
return localVarFp.srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(axios, basePath));
|
|
116
226
|
},
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @summary 接收保险通知
|
|
230
|
+
* @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
*/
|
|
234
|
+
webhookInsuranceNotice(requestParameters: WebHookApiWebhookInsuranceNoticeRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
235
|
+
return localVarFp.webhookInsuranceNotice(requestParameters.insuranceNoticeVo, options).then((request) => request(axios, basePath));
|
|
236
|
+
},
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @summary 接收保险工单
|
|
240
|
+
* @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
|
|
241
|
+
* @param {*} [options] Override http request option.
|
|
242
|
+
* @throws {RequiredError}
|
|
243
|
+
*/
|
|
244
|
+
webhookInsuranceWorkOrder(requestParameters: WebHookApiWebhookInsuranceWorkOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
245
|
+
return localVarFp.webhookInsuranceWorkOrder(requestParameters.insuranceWorkOrderVo, options).then((request) => request(axios, basePath));
|
|
246
|
+
},
|
|
117
247
|
};
|
|
118
248
|
};
|
|
119
249
|
|
|
@@ -131,6 +261,34 @@ export interface WebHookApiSrmParkContractChangeRequest {
|
|
|
131
261
|
readonly srmParkContractChangeVo: SrmParkContractChangeVo
|
|
132
262
|
}
|
|
133
263
|
|
|
264
|
+
/**
|
|
265
|
+
* Request parameters for webhookInsuranceNotice operation in WebHookApi.
|
|
266
|
+
* @export
|
|
267
|
+
* @interface WebHookApiWebhookInsuranceNoticeRequest
|
|
268
|
+
*/
|
|
269
|
+
export interface WebHookApiWebhookInsuranceNoticeRequest {
|
|
270
|
+
/**
|
|
271
|
+
*
|
|
272
|
+
* @type {InsuranceNoticeVo}
|
|
273
|
+
* @memberof WebHookApiWebhookInsuranceNotice
|
|
274
|
+
*/
|
|
275
|
+
readonly insuranceNoticeVo: InsuranceNoticeVo
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Request parameters for webhookInsuranceWorkOrder operation in WebHookApi.
|
|
280
|
+
* @export
|
|
281
|
+
* @interface WebHookApiWebhookInsuranceWorkOrderRequest
|
|
282
|
+
*/
|
|
283
|
+
export interface WebHookApiWebhookInsuranceWorkOrderRequest {
|
|
284
|
+
/**
|
|
285
|
+
*
|
|
286
|
+
* @type {InsuranceWorkOrderVo}
|
|
287
|
+
* @memberof WebHookApiWebhookInsuranceWorkOrder
|
|
288
|
+
*/
|
|
289
|
+
readonly insuranceWorkOrderVo: InsuranceWorkOrderVo
|
|
290
|
+
}
|
|
291
|
+
|
|
134
292
|
/**
|
|
135
293
|
* WebHookApi - object-oriented interface
|
|
136
294
|
* @export
|
|
@@ -149,5 +307,29 @@ export class WebHookApi extends BaseAPI {
|
|
|
149
307
|
public srmParkContractChange(requestParameters: WebHookApiSrmParkContractChangeRequest, options?: RawAxiosRequestConfig) {
|
|
150
308
|
return WebHookApiFp(this.configuration).srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(this.axios, this.basePath));
|
|
151
309
|
}
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
*
|
|
313
|
+
* @summary 接收保险通知
|
|
314
|
+
* @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
|
|
315
|
+
* @param {*} [options] Override http request option.
|
|
316
|
+
* @throws {RequiredError}
|
|
317
|
+
* @memberof WebHookApi
|
|
318
|
+
*/
|
|
319
|
+
public webhookInsuranceNotice(requestParameters: WebHookApiWebhookInsuranceNoticeRequest, options?: RawAxiosRequestConfig) {
|
|
320
|
+
return WebHookApiFp(this.configuration).webhookInsuranceNotice(requestParameters.insuranceNoticeVo, options).then((request) => request(this.axios, this.basePath));
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* @summary 接收保险工单
|
|
326
|
+
* @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
|
|
327
|
+
* @param {*} [options] Override http request option.
|
|
328
|
+
* @throws {RequiredError}
|
|
329
|
+
* @memberof WebHookApi
|
|
330
|
+
*/
|
|
331
|
+
public webhookInsuranceWorkOrder(requestParameters: WebHookApiWebhookInsuranceWorkOrderRequest, options?: RawAxiosRequestConfig) {
|
|
332
|
+
return WebHookApiFp(this.configuration).webhookInsuranceWorkOrder(requestParameters.insuranceWorkOrderVo, options).then((request) => request(this.axios, this.basePath));
|
|
333
|
+
}
|
|
152
334
|
}
|
|
153
335
|
|