@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
|
@@ -717,6 +717,115 @@ export const SettingApiAxiosParamCreator = function (configuration) {
|
|
|
717
717
|
options: localVarRequestOptions,
|
|
718
718
|
};
|
|
719
719
|
}),
|
|
720
|
+
/**
|
|
721
|
+
*
|
|
722
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
723
|
+
* @param {number} parkId
|
|
724
|
+
* @param {WorkOrderTypeEnum} workOrderType
|
|
725
|
+
* @param {WorkOrderIssueTypeEnum} workOrderIssueType
|
|
726
|
+
* @param {*} [options] Override http request option.
|
|
727
|
+
* @throws {RequiredError}
|
|
728
|
+
*/
|
|
729
|
+
workOrderIssueTypeSelectByWorkOrderIssueType: (parkId_1, workOrderType_1, workOrderIssueType_1, ...args_1) => __awaiter(this, [parkId_1, workOrderType_1, workOrderIssueType_1, ...args_1], void 0, function* (parkId, workOrderType, workOrderIssueType, options = {}) {
|
|
730
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
731
|
+
assertParamExists('workOrderIssueTypeSelectByWorkOrderIssueType', 'parkId', parkId);
|
|
732
|
+
// verify required parameter 'workOrderType' is not null or undefined
|
|
733
|
+
assertParamExists('workOrderIssueTypeSelectByWorkOrderIssueType', 'workOrderType', workOrderType);
|
|
734
|
+
// verify required parameter 'workOrderIssueType' is not null or undefined
|
|
735
|
+
assertParamExists('workOrderIssueTypeSelectByWorkOrderIssueType', 'workOrderIssueType', workOrderIssueType);
|
|
736
|
+
const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}/{workOrderType}/{workOrderIssueType}`
|
|
737
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)))
|
|
738
|
+
.replace(`{${"workOrderType"}}`, encodeURIComponent(String(workOrderType)))
|
|
739
|
+
.replace(`{${"workOrderIssueType"}}`, encodeURIComponent(String(workOrderIssueType)));
|
|
740
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
741
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
742
|
+
let baseOptions;
|
|
743
|
+
if (configuration) {
|
|
744
|
+
baseOptions = configuration.baseOptions;
|
|
745
|
+
}
|
|
746
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
747
|
+
const localVarHeaderParameter = {};
|
|
748
|
+
const localVarQueryParameter = {};
|
|
749
|
+
// authentication tokenScheme required
|
|
750
|
+
// http bearer authentication required
|
|
751
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
752
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
753
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
754
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
755
|
+
return {
|
|
756
|
+
url: toPathString(localVarUrlObj),
|
|
757
|
+
options: localVarRequestOptions,
|
|
758
|
+
};
|
|
759
|
+
}),
|
|
760
|
+
/**
|
|
761
|
+
*
|
|
762
|
+
* @summary 新增或修改工单执行时效设置
|
|
763
|
+
* @param {number} parkId
|
|
764
|
+
* @param {Array<WorkOrderIssueTypeSettingsAddOrUpdateVo>} workOrderIssueTypeSettingsAddOrUpdateVo
|
|
765
|
+
* @param {*} [options] Override http request option.
|
|
766
|
+
* @throws {RequiredError}
|
|
767
|
+
*/
|
|
768
|
+
workOrderIssueTypeSettingsAddOrUpdate: (parkId_1, workOrderIssueTypeSettingsAddOrUpdateVo_1, ...args_1) => __awaiter(this, [parkId_1, workOrderIssueTypeSettingsAddOrUpdateVo_1, ...args_1], void 0, function* (parkId, workOrderIssueTypeSettingsAddOrUpdateVo, options = {}) {
|
|
769
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
770
|
+
assertParamExists('workOrderIssueTypeSettingsAddOrUpdate', 'parkId', parkId);
|
|
771
|
+
// verify required parameter 'workOrderIssueTypeSettingsAddOrUpdateVo' is not null or undefined
|
|
772
|
+
assertParamExists('workOrderIssueTypeSettingsAddOrUpdate', 'workOrderIssueTypeSettingsAddOrUpdateVo', workOrderIssueTypeSettingsAddOrUpdateVo);
|
|
773
|
+
const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`
|
|
774
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
775
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
776
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
777
|
+
let baseOptions;
|
|
778
|
+
if (configuration) {
|
|
779
|
+
baseOptions = configuration.baseOptions;
|
|
780
|
+
}
|
|
781
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
782
|
+
const localVarHeaderParameter = {};
|
|
783
|
+
const localVarQueryParameter = {};
|
|
784
|
+
// authentication tokenScheme required
|
|
785
|
+
// http bearer authentication required
|
|
786
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
787
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
788
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
789
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
790
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
791
|
+
localVarRequestOptions.data = serializeDataIfNeeded(workOrderIssueTypeSettingsAddOrUpdateVo, localVarRequestOptions, configuration);
|
|
792
|
+
return {
|
|
793
|
+
url: toPathString(localVarUrlObj),
|
|
794
|
+
options: localVarRequestOptions,
|
|
795
|
+
};
|
|
796
|
+
}),
|
|
797
|
+
/**
|
|
798
|
+
*
|
|
799
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
800
|
+
* @param {number} parkId
|
|
801
|
+
* @param {*} [options] Override http request option.
|
|
802
|
+
* @throws {RequiredError}
|
|
803
|
+
*/
|
|
804
|
+
workOrderIssueTypeSettingsSelectByParkId: (parkId_1, ...args_1) => __awaiter(this, [parkId_1, ...args_1], void 0, function* (parkId, options = {}) {
|
|
805
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
806
|
+
assertParamExists('workOrderIssueTypeSettingsSelectByParkId', 'parkId', parkId);
|
|
807
|
+
const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`
|
|
808
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
809
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
810
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
811
|
+
let baseOptions;
|
|
812
|
+
if (configuration) {
|
|
813
|
+
baseOptions = configuration.baseOptions;
|
|
814
|
+
}
|
|
815
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
816
|
+
const localVarHeaderParameter = {};
|
|
817
|
+
const localVarQueryParameter = {};
|
|
818
|
+
// authentication tokenScheme required
|
|
819
|
+
// http bearer authentication required
|
|
820
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
821
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
822
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
823
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
824
|
+
return {
|
|
825
|
+
url: toPathString(localVarUrlObj),
|
|
826
|
+
options: localVarRequestOptions,
|
|
827
|
+
};
|
|
828
|
+
}),
|
|
720
829
|
/**
|
|
721
830
|
*
|
|
722
831
|
* @summary 通过园区id查询工单推送列表
|
|
@@ -1111,6 +1220,57 @@ export const SettingApiFp = function (configuration) {
|
|
|
1111
1220
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1112
1221
|
});
|
|
1113
1222
|
},
|
|
1223
|
+
/**
|
|
1224
|
+
*
|
|
1225
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
1226
|
+
* @param {number} parkId
|
|
1227
|
+
* @param {WorkOrderTypeEnum} workOrderType
|
|
1228
|
+
* @param {WorkOrderIssueTypeEnum} workOrderIssueType
|
|
1229
|
+
* @param {*} [options] Override http request option.
|
|
1230
|
+
* @throws {RequiredError}
|
|
1231
|
+
*/
|
|
1232
|
+
workOrderIssueTypeSelectByWorkOrderIssueType(parkId, workOrderType, workOrderIssueType, options) {
|
|
1233
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1234
|
+
var _a, _b, _c;
|
|
1235
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderIssueTypeSelectByWorkOrderIssueType(parkId, workOrderType, workOrderIssueType, options);
|
|
1236
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1237
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SettingApi.workOrderIssueTypeSelectByWorkOrderIssueType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1238
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1239
|
+
});
|
|
1240
|
+
},
|
|
1241
|
+
/**
|
|
1242
|
+
*
|
|
1243
|
+
* @summary 新增或修改工单执行时效设置
|
|
1244
|
+
* @param {number} parkId
|
|
1245
|
+
* @param {Array<WorkOrderIssueTypeSettingsAddOrUpdateVo>} workOrderIssueTypeSettingsAddOrUpdateVo
|
|
1246
|
+
* @param {*} [options] Override http request option.
|
|
1247
|
+
* @throws {RequiredError}
|
|
1248
|
+
*/
|
|
1249
|
+
workOrderIssueTypeSettingsAddOrUpdate(parkId, workOrderIssueTypeSettingsAddOrUpdateVo, options) {
|
|
1250
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1251
|
+
var _a, _b, _c;
|
|
1252
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderIssueTypeSettingsAddOrUpdate(parkId, workOrderIssueTypeSettingsAddOrUpdateVo, options);
|
|
1253
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1254
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SettingApi.workOrderIssueTypeSettingsAddOrUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1255
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1256
|
+
});
|
|
1257
|
+
},
|
|
1258
|
+
/**
|
|
1259
|
+
*
|
|
1260
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
1261
|
+
* @param {number} parkId
|
|
1262
|
+
* @param {*} [options] Override http request option.
|
|
1263
|
+
* @throws {RequiredError}
|
|
1264
|
+
*/
|
|
1265
|
+
workOrderIssueTypeSettingsSelectByParkId(parkId, options) {
|
|
1266
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1267
|
+
var _a, _b, _c;
|
|
1268
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderIssueTypeSettingsSelectByParkId(parkId, options);
|
|
1269
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1270
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SettingApi.workOrderIssueTypeSettingsSelectByParkId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1271
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1272
|
+
});
|
|
1273
|
+
},
|
|
1114
1274
|
/**
|
|
1115
1275
|
*
|
|
1116
1276
|
* @summary 通过园区id查询工单推送列表
|
|
@@ -1340,6 +1500,36 @@ export const SettingApiFactory = function (configuration, basePath, axios) {
|
|
|
1340
1500
|
workOrderDeptSettingsSelectByWorkOrderTypeAndKey(requestParameters, options) {
|
|
1341
1501
|
return localVarFp.workOrderDeptSettingsSelectByWorkOrderTypeAndKey(requestParameters.parkId, requestParameters.workOrderType, requestParameters.key, options).then((request) => request(axios, basePath));
|
|
1342
1502
|
},
|
|
1503
|
+
/**
|
|
1504
|
+
*
|
|
1505
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
1506
|
+
* @param {SettingApiWorkOrderIssueTypeSelectByWorkOrderIssueTypeRequest} requestParameters Request parameters.
|
|
1507
|
+
* @param {*} [options] Override http request option.
|
|
1508
|
+
* @throws {RequiredError}
|
|
1509
|
+
*/
|
|
1510
|
+
workOrderIssueTypeSelectByWorkOrderIssueType(requestParameters, options) {
|
|
1511
|
+
return localVarFp.workOrderIssueTypeSelectByWorkOrderIssueType(requestParameters.parkId, requestParameters.workOrderType, requestParameters.workOrderIssueType, options).then((request) => request(axios, basePath));
|
|
1512
|
+
},
|
|
1513
|
+
/**
|
|
1514
|
+
*
|
|
1515
|
+
* @summary 新增或修改工单执行时效设置
|
|
1516
|
+
* @param {SettingApiWorkOrderIssueTypeSettingsAddOrUpdateRequest} requestParameters Request parameters.
|
|
1517
|
+
* @param {*} [options] Override http request option.
|
|
1518
|
+
* @throws {RequiredError}
|
|
1519
|
+
*/
|
|
1520
|
+
workOrderIssueTypeSettingsAddOrUpdate(requestParameters, options) {
|
|
1521
|
+
return localVarFp.workOrderIssueTypeSettingsAddOrUpdate(requestParameters.parkId, requestParameters.workOrderIssueTypeSettingsAddOrUpdateVo, options).then((request) => request(axios, basePath));
|
|
1522
|
+
},
|
|
1523
|
+
/**
|
|
1524
|
+
*
|
|
1525
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
1526
|
+
* @param {SettingApiWorkOrderIssueTypeSettingsSelectByParkIdRequest} requestParameters Request parameters.
|
|
1527
|
+
* @param {*} [options] Override http request option.
|
|
1528
|
+
* @throws {RequiredError}
|
|
1529
|
+
*/
|
|
1530
|
+
workOrderIssueTypeSettingsSelectByParkId(requestParameters, options) {
|
|
1531
|
+
return localVarFp.workOrderIssueTypeSettingsSelectByParkId(requestParameters.parkId, options).then((request) => request(axios, basePath));
|
|
1532
|
+
},
|
|
1343
1533
|
/**
|
|
1344
1534
|
*
|
|
1345
1535
|
* @summary 通过园区id查询工单推送列表
|
|
@@ -1576,6 +1766,39 @@ export class SettingApi extends BaseAPI {
|
|
|
1576
1766
|
workOrderDeptSettingsSelectByWorkOrderTypeAndKey(requestParameters, options) {
|
|
1577
1767
|
return SettingApiFp(this.configuration).workOrderDeptSettingsSelectByWorkOrderTypeAndKey(requestParameters.parkId, requestParameters.workOrderType, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
|
1578
1768
|
}
|
|
1769
|
+
/**
|
|
1770
|
+
*
|
|
1771
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
1772
|
+
* @param {SettingApiWorkOrderIssueTypeSelectByWorkOrderIssueTypeRequest} requestParameters Request parameters.
|
|
1773
|
+
* @param {*} [options] Override http request option.
|
|
1774
|
+
* @throws {RequiredError}
|
|
1775
|
+
* @memberof SettingApi
|
|
1776
|
+
*/
|
|
1777
|
+
workOrderIssueTypeSelectByWorkOrderIssueType(requestParameters, options) {
|
|
1778
|
+
return SettingApiFp(this.configuration).workOrderIssueTypeSelectByWorkOrderIssueType(requestParameters.parkId, requestParameters.workOrderType, requestParameters.workOrderIssueType, options).then((request) => request(this.axios, this.basePath));
|
|
1779
|
+
}
|
|
1780
|
+
/**
|
|
1781
|
+
*
|
|
1782
|
+
* @summary 新增或修改工单执行时效设置
|
|
1783
|
+
* @param {SettingApiWorkOrderIssueTypeSettingsAddOrUpdateRequest} requestParameters Request parameters.
|
|
1784
|
+
* @param {*} [options] Override http request option.
|
|
1785
|
+
* @throws {RequiredError}
|
|
1786
|
+
* @memberof SettingApi
|
|
1787
|
+
*/
|
|
1788
|
+
workOrderIssueTypeSettingsAddOrUpdate(requestParameters, options) {
|
|
1789
|
+
return SettingApiFp(this.configuration).workOrderIssueTypeSettingsAddOrUpdate(requestParameters.parkId, requestParameters.workOrderIssueTypeSettingsAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
1790
|
+
}
|
|
1791
|
+
/**
|
|
1792
|
+
*
|
|
1793
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
1794
|
+
* @param {SettingApiWorkOrderIssueTypeSettingsSelectByParkIdRequest} requestParameters Request parameters.
|
|
1795
|
+
* @param {*} [options] Override http request option.
|
|
1796
|
+
* @throws {RequiredError}
|
|
1797
|
+
* @memberof SettingApi
|
|
1798
|
+
*/
|
|
1799
|
+
workOrderIssueTypeSettingsSelectByParkId(requestParameters, options) {
|
|
1800
|
+
return SettingApiFp(this.configuration).workOrderIssueTypeSettingsSelectByParkId(requestParameters.parkId, options).then((request) => request(this.axios, this.basePath));
|
|
1801
|
+
}
|
|
1579
1802
|
/**
|
|
1580
1803
|
*
|
|
1581
1804
|
* @summary 通过园区id查询工单推送列表
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { InsuranceNoticeVo } from '../models';
|
|
16
|
+
import type { InsuranceWorkOrderVo } from '../models';
|
|
15
17
|
import type { JsonResultVoid } from '../models';
|
|
16
18
|
import type { SrmParkContractChangeVo } from '../models';
|
|
17
19
|
/**
|
|
@@ -27,6 +29,22 @@ export declare const WebHookApiAxiosParamCreator: (configuration?: Configuration
|
|
|
27
29
|
* @throws {RequiredError}
|
|
28
30
|
*/
|
|
29
31
|
srmParkContractChange: (srmParkContractChangeVo: SrmParkContractChangeVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @summary 接收保险通知
|
|
35
|
+
* @param {InsuranceNoticeVo} insuranceNoticeVo
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @throws {RequiredError}
|
|
38
|
+
*/
|
|
39
|
+
webhookInsuranceNotice: (insuranceNoticeVo: InsuranceNoticeVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @summary 接收保险工单
|
|
43
|
+
* @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
webhookInsuranceWorkOrder: (insuranceWorkOrderVo: InsuranceWorkOrderVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
48
|
};
|
|
31
49
|
/**
|
|
32
50
|
* WebHookApi - functional programming interface
|
|
@@ -41,6 +59,22 @@ export declare const WebHookApiFp: (configuration?: Configuration) => {
|
|
|
41
59
|
* @throws {RequiredError}
|
|
42
60
|
*/
|
|
43
61
|
srmParkContractChange(srmParkContractChangeVo: SrmParkContractChangeVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @summary 接收保险通知
|
|
65
|
+
* @param {InsuranceNoticeVo} insuranceNoticeVo
|
|
66
|
+
* @param {*} [options] Override http request option.
|
|
67
|
+
* @throws {RequiredError}
|
|
68
|
+
*/
|
|
69
|
+
webhookInsuranceNotice(insuranceNoticeVo: InsuranceNoticeVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @summary 接收保险工单
|
|
73
|
+
* @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
webhookInsuranceWorkOrder(insuranceWorkOrderVo: InsuranceWorkOrderVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
44
78
|
};
|
|
45
79
|
/**
|
|
46
80
|
* WebHookApi - factory interface
|
|
@@ -55,6 +89,22 @@ export declare const WebHookApiFactory: (configuration?: Configuration, basePath
|
|
|
55
89
|
* @throws {RequiredError}
|
|
56
90
|
*/
|
|
57
91
|
srmParkContractChange(requestParameters: WebHookApiSrmParkContractChangeRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @summary 接收保险通知
|
|
95
|
+
* @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
webhookInsuranceNotice(requestParameters: WebHookApiWebhookInsuranceNoticeRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @summary 接收保险工单
|
|
103
|
+
* @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
webhookInsuranceWorkOrder(requestParameters: WebHookApiWebhookInsuranceWorkOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
58
108
|
};
|
|
59
109
|
/**
|
|
60
110
|
* Request parameters for srmParkContractChange operation in WebHookApi.
|
|
@@ -69,6 +119,32 @@ export interface WebHookApiSrmParkContractChangeRequest {
|
|
|
69
119
|
*/
|
|
70
120
|
readonly srmParkContractChangeVo: SrmParkContractChangeVo;
|
|
71
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
* Request parameters for webhookInsuranceNotice operation in WebHookApi.
|
|
124
|
+
* @export
|
|
125
|
+
* @interface WebHookApiWebhookInsuranceNoticeRequest
|
|
126
|
+
*/
|
|
127
|
+
export interface WebHookApiWebhookInsuranceNoticeRequest {
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {InsuranceNoticeVo}
|
|
131
|
+
* @memberof WebHookApiWebhookInsuranceNotice
|
|
132
|
+
*/
|
|
133
|
+
readonly insuranceNoticeVo: InsuranceNoticeVo;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Request parameters for webhookInsuranceWorkOrder operation in WebHookApi.
|
|
137
|
+
* @export
|
|
138
|
+
* @interface WebHookApiWebhookInsuranceWorkOrderRequest
|
|
139
|
+
*/
|
|
140
|
+
export interface WebHookApiWebhookInsuranceWorkOrderRequest {
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @type {InsuranceWorkOrderVo}
|
|
144
|
+
* @memberof WebHookApiWebhookInsuranceWorkOrder
|
|
145
|
+
*/
|
|
146
|
+
readonly insuranceWorkOrderVo: InsuranceWorkOrderVo;
|
|
147
|
+
}
|
|
72
148
|
/**
|
|
73
149
|
* WebHookApi - object-oriented interface
|
|
74
150
|
* @export
|
|
@@ -85,4 +161,22 @@ export declare class WebHookApi extends BaseAPI {
|
|
|
85
161
|
* @memberof WebHookApi
|
|
86
162
|
*/
|
|
87
163
|
srmParkContractChange(requestParameters: WebHookApiSrmParkContractChangeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @summary 接收保险通知
|
|
167
|
+
* @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
|
|
168
|
+
* @param {*} [options] Override http request option.
|
|
169
|
+
* @throws {RequiredError}
|
|
170
|
+
* @memberof WebHookApi
|
|
171
|
+
*/
|
|
172
|
+
webhookInsuranceNotice(requestParameters: WebHookApiWebhookInsuranceNoticeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @summary 接收保险工单
|
|
176
|
+
* @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
* @memberof WebHookApi
|
|
180
|
+
*/
|
|
181
|
+
webhookInsuranceWorkOrder(requestParameters: WebHookApiWebhookInsuranceWorkOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
88
182
|
}
|
|
@@ -65,6 +65,72 @@ export const WebHookApiAxiosParamCreator = function (configuration) {
|
|
|
65
65
|
options: localVarRequestOptions,
|
|
66
66
|
};
|
|
67
67
|
}),
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @summary 接收保险通知
|
|
71
|
+
* @param {InsuranceNoticeVo} insuranceNoticeVo
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
webhookInsuranceNotice: (insuranceNoticeVo_1, ...args_1) => __awaiter(this, [insuranceNoticeVo_1, ...args_1], void 0, function* (insuranceNoticeVo, options = {}) {
|
|
76
|
+
// verify required parameter 'insuranceNoticeVo' is not null or undefined
|
|
77
|
+
assertParamExists('webhookInsuranceNotice', 'insuranceNoticeVo', insuranceNoticeVo);
|
|
78
|
+
const localVarPath = `/webhook/insurance/notice`;
|
|
79
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
81
|
+
let baseOptions;
|
|
82
|
+
if (configuration) {
|
|
83
|
+
baseOptions = configuration.baseOptions;
|
|
84
|
+
}
|
|
85
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
86
|
+
const localVarHeaderParameter = {};
|
|
87
|
+
const localVarQueryParameter = {};
|
|
88
|
+
// authentication tokenScheme required
|
|
89
|
+
// http bearer authentication required
|
|
90
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
91
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
92
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
93
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
94
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
95
|
+
localVarRequestOptions.data = serializeDataIfNeeded(insuranceNoticeVo, localVarRequestOptions, configuration);
|
|
96
|
+
return {
|
|
97
|
+
url: toPathString(localVarUrlObj),
|
|
98
|
+
options: localVarRequestOptions,
|
|
99
|
+
};
|
|
100
|
+
}),
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @summary 接收保险工单
|
|
104
|
+
* @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
webhookInsuranceWorkOrder: (insuranceWorkOrderVo_1, ...args_1) => __awaiter(this, [insuranceWorkOrderVo_1, ...args_1], void 0, function* (insuranceWorkOrderVo, options = {}) {
|
|
109
|
+
// verify required parameter 'insuranceWorkOrderVo' is not null or undefined
|
|
110
|
+
assertParamExists('webhookInsuranceWorkOrder', 'insuranceWorkOrderVo', insuranceWorkOrderVo);
|
|
111
|
+
const localVarPath = `/webhook/insurance/workOrder`;
|
|
112
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
113
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
114
|
+
let baseOptions;
|
|
115
|
+
if (configuration) {
|
|
116
|
+
baseOptions = configuration.baseOptions;
|
|
117
|
+
}
|
|
118
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
119
|
+
const localVarHeaderParameter = {};
|
|
120
|
+
const localVarQueryParameter = {};
|
|
121
|
+
// authentication tokenScheme required
|
|
122
|
+
// http bearer authentication required
|
|
123
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
124
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
125
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
126
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
127
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
128
|
+
localVarRequestOptions.data = serializeDataIfNeeded(insuranceWorkOrderVo, localVarRequestOptions, configuration);
|
|
129
|
+
return {
|
|
130
|
+
url: toPathString(localVarUrlObj),
|
|
131
|
+
options: localVarRequestOptions,
|
|
132
|
+
};
|
|
133
|
+
}),
|
|
68
134
|
};
|
|
69
135
|
};
|
|
70
136
|
/**
|
|
@@ -90,6 +156,38 @@ export const WebHookApiFp = function (configuration) {
|
|
|
90
156
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
91
157
|
});
|
|
92
158
|
},
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @summary 接收保险通知
|
|
162
|
+
* @param {InsuranceNoticeVo} insuranceNoticeVo
|
|
163
|
+
* @param {*} [options] Override http request option.
|
|
164
|
+
* @throws {RequiredError}
|
|
165
|
+
*/
|
|
166
|
+
webhookInsuranceNotice(insuranceNoticeVo, options) {
|
|
167
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
168
|
+
var _a, _b, _c;
|
|
169
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.webhookInsuranceNotice(insuranceNoticeVo, options);
|
|
170
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
171
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WebHookApi.webhookInsuranceNotice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
172
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
173
|
+
});
|
|
174
|
+
},
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @summary 接收保险工单
|
|
178
|
+
* @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
webhookInsuranceWorkOrder(insuranceWorkOrderVo, options) {
|
|
183
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
184
|
+
var _a, _b, _c;
|
|
185
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.webhookInsuranceWorkOrder(insuranceWorkOrderVo, options);
|
|
186
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
187
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WebHookApi.webhookInsuranceWorkOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
188
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
189
|
+
});
|
|
190
|
+
},
|
|
93
191
|
};
|
|
94
192
|
};
|
|
95
193
|
/**
|
|
@@ -109,6 +207,26 @@ export const WebHookApiFactory = function (configuration, basePath, axios) {
|
|
|
109
207
|
srmParkContractChange(requestParameters, options) {
|
|
110
208
|
return localVarFp.srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(axios, basePath));
|
|
111
209
|
},
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @summary 接收保险通知
|
|
213
|
+
* @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
|
|
214
|
+
* @param {*} [options] Override http request option.
|
|
215
|
+
* @throws {RequiredError}
|
|
216
|
+
*/
|
|
217
|
+
webhookInsuranceNotice(requestParameters, options) {
|
|
218
|
+
return localVarFp.webhookInsuranceNotice(requestParameters.insuranceNoticeVo, options).then((request) => request(axios, basePath));
|
|
219
|
+
},
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @summary 接收保险工单
|
|
223
|
+
* @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
*/
|
|
227
|
+
webhookInsuranceWorkOrder(requestParameters, options) {
|
|
228
|
+
return localVarFp.webhookInsuranceWorkOrder(requestParameters.insuranceWorkOrderVo, options).then((request) => request(axios, basePath));
|
|
229
|
+
},
|
|
112
230
|
};
|
|
113
231
|
};
|
|
114
232
|
/**
|
|
@@ -129,4 +247,26 @@ export class WebHookApi extends BaseAPI {
|
|
|
129
247
|
srmParkContractChange(requestParameters, options) {
|
|
130
248
|
return WebHookApiFp(this.configuration).srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(this.axios, this.basePath));
|
|
131
249
|
}
|
|
250
|
+
/**
|
|
251
|
+
*
|
|
252
|
+
* @summary 接收保险通知
|
|
253
|
+
* @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
|
|
254
|
+
* @param {*} [options] Override http request option.
|
|
255
|
+
* @throws {RequiredError}
|
|
256
|
+
* @memberof WebHookApi
|
|
257
|
+
*/
|
|
258
|
+
webhookInsuranceNotice(requestParameters, options) {
|
|
259
|
+
return WebHookApiFp(this.configuration).webhookInsuranceNotice(requestParameters.insuranceNoticeVo, options).then((request) => request(this.axios, this.basePath));
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @summary 接收保险工单
|
|
264
|
+
* @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
|
|
265
|
+
* @param {*} [options] Override http request option.
|
|
266
|
+
* @throws {RequiredError}
|
|
267
|
+
* @memberof WebHookApi
|
|
268
|
+
*/
|
|
269
|
+
webhookInsuranceWorkOrder(requestParameters, options) {
|
|
270
|
+
return WebHookApiFp(this.configuration).webhookInsuranceWorkOrder(requestParameters.insuranceWorkOrderVo, options).then((request) => request(this.axios, this.basePath));
|
|
271
|
+
}
|
|
132
272
|
}
|