@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/dist/apis/setting-api.js
CHANGED
|
@@ -720,6 +720,115 @@ const SettingApiAxiosParamCreator = function (configuration) {
|
|
|
720
720
|
options: localVarRequestOptions,
|
|
721
721
|
};
|
|
722
722
|
}),
|
|
723
|
+
/**
|
|
724
|
+
*
|
|
725
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
726
|
+
* @param {number} parkId
|
|
727
|
+
* @param {WorkOrderTypeEnum} workOrderType
|
|
728
|
+
* @param {WorkOrderIssueTypeEnum} workOrderIssueType
|
|
729
|
+
* @param {*} [options] Override http request option.
|
|
730
|
+
* @throws {RequiredError}
|
|
731
|
+
*/
|
|
732
|
+
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 = {}) {
|
|
733
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
734
|
+
(0, common_1.assertParamExists)('workOrderIssueTypeSelectByWorkOrderIssueType', 'parkId', parkId);
|
|
735
|
+
// verify required parameter 'workOrderType' is not null or undefined
|
|
736
|
+
(0, common_1.assertParamExists)('workOrderIssueTypeSelectByWorkOrderIssueType', 'workOrderType', workOrderType);
|
|
737
|
+
// verify required parameter 'workOrderIssueType' is not null or undefined
|
|
738
|
+
(0, common_1.assertParamExists)('workOrderIssueTypeSelectByWorkOrderIssueType', 'workOrderIssueType', workOrderIssueType);
|
|
739
|
+
const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}/{workOrderType}/{workOrderIssueType}`
|
|
740
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)))
|
|
741
|
+
.replace(`{${"workOrderType"}}`, encodeURIComponent(String(workOrderType)))
|
|
742
|
+
.replace(`{${"workOrderIssueType"}}`, encodeURIComponent(String(workOrderIssueType)));
|
|
743
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
744
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
745
|
+
let baseOptions;
|
|
746
|
+
if (configuration) {
|
|
747
|
+
baseOptions = configuration.baseOptions;
|
|
748
|
+
}
|
|
749
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
750
|
+
const localVarHeaderParameter = {};
|
|
751
|
+
const localVarQueryParameter = {};
|
|
752
|
+
// authentication tokenScheme required
|
|
753
|
+
// http bearer authentication required
|
|
754
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
755
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
756
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
757
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
758
|
+
return {
|
|
759
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
760
|
+
options: localVarRequestOptions,
|
|
761
|
+
};
|
|
762
|
+
}),
|
|
763
|
+
/**
|
|
764
|
+
*
|
|
765
|
+
* @summary 新增或修改工单执行时效设置
|
|
766
|
+
* @param {number} parkId
|
|
767
|
+
* @param {Array<WorkOrderIssueTypeSettingsAddOrUpdateVo>} workOrderIssueTypeSettingsAddOrUpdateVo
|
|
768
|
+
* @param {*} [options] Override http request option.
|
|
769
|
+
* @throws {RequiredError}
|
|
770
|
+
*/
|
|
771
|
+
workOrderIssueTypeSettingsAddOrUpdate: (parkId_1, workOrderIssueTypeSettingsAddOrUpdateVo_1, ...args_1) => __awaiter(this, [parkId_1, workOrderIssueTypeSettingsAddOrUpdateVo_1, ...args_1], void 0, function* (parkId, workOrderIssueTypeSettingsAddOrUpdateVo, options = {}) {
|
|
772
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
773
|
+
(0, common_1.assertParamExists)('workOrderIssueTypeSettingsAddOrUpdate', 'parkId', parkId);
|
|
774
|
+
// verify required parameter 'workOrderIssueTypeSettingsAddOrUpdateVo' is not null or undefined
|
|
775
|
+
(0, common_1.assertParamExists)('workOrderIssueTypeSettingsAddOrUpdate', 'workOrderIssueTypeSettingsAddOrUpdateVo', workOrderIssueTypeSettingsAddOrUpdateVo);
|
|
776
|
+
const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`
|
|
777
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
778
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
779
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
780
|
+
let baseOptions;
|
|
781
|
+
if (configuration) {
|
|
782
|
+
baseOptions = configuration.baseOptions;
|
|
783
|
+
}
|
|
784
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
785
|
+
const localVarHeaderParameter = {};
|
|
786
|
+
const localVarQueryParameter = {};
|
|
787
|
+
// authentication tokenScheme required
|
|
788
|
+
// http bearer authentication required
|
|
789
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
790
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
791
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
792
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
793
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
794
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(workOrderIssueTypeSettingsAddOrUpdateVo, localVarRequestOptions, configuration);
|
|
795
|
+
return {
|
|
796
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
797
|
+
options: localVarRequestOptions,
|
|
798
|
+
};
|
|
799
|
+
}),
|
|
800
|
+
/**
|
|
801
|
+
*
|
|
802
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
803
|
+
* @param {number} parkId
|
|
804
|
+
* @param {*} [options] Override http request option.
|
|
805
|
+
* @throws {RequiredError}
|
|
806
|
+
*/
|
|
807
|
+
workOrderIssueTypeSettingsSelectByParkId: (parkId_1, ...args_1) => __awaiter(this, [parkId_1, ...args_1], void 0, function* (parkId, options = {}) {
|
|
808
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
809
|
+
(0, common_1.assertParamExists)('workOrderIssueTypeSettingsSelectByParkId', 'parkId', parkId);
|
|
810
|
+
const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`
|
|
811
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
812
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
813
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
814
|
+
let baseOptions;
|
|
815
|
+
if (configuration) {
|
|
816
|
+
baseOptions = configuration.baseOptions;
|
|
817
|
+
}
|
|
818
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
819
|
+
const localVarHeaderParameter = {};
|
|
820
|
+
const localVarQueryParameter = {};
|
|
821
|
+
// authentication tokenScheme required
|
|
822
|
+
// http bearer authentication required
|
|
823
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
824
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
825
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
826
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
827
|
+
return {
|
|
828
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
829
|
+
options: localVarRequestOptions,
|
|
830
|
+
};
|
|
831
|
+
}),
|
|
723
832
|
/**
|
|
724
833
|
*
|
|
725
834
|
* @summary 通过园区id查询工单推送列表
|
|
@@ -1115,6 +1224,57 @@ const SettingApiFp = function (configuration) {
|
|
|
1115
1224
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1116
1225
|
});
|
|
1117
1226
|
},
|
|
1227
|
+
/**
|
|
1228
|
+
*
|
|
1229
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
1230
|
+
* @param {number} parkId
|
|
1231
|
+
* @param {WorkOrderTypeEnum} workOrderType
|
|
1232
|
+
* @param {WorkOrderIssueTypeEnum} workOrderIssueType
|
|
1233
|
+
* @param {*} [options] Override http request option.
|
|
1234
|
+
* @throws {RequiredError}
|
|
1235
|
+
*/
|
|
1236
|
+
workOrderIssueTypeSelectByWorkOrderIssueType(parkId, workOrderType, workOrderIssueType, options) {
|
|
1237
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1238
|
+
var _a, _b, _c;
|
|
1239
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderIssueTypeSelectByWorkOrderIssueType(parkId, workOrderType, workOrderIssueType, options);
|
|
1240
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1241
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SettingApi.workOrderIssueTypeSelectByWorkOrderIssueType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1242
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1243
|
+
});
|
|
1244
|
+
},
|
|
1245
|
+
/**
|
|
1246
|
+
*
|
|
1247
|
+
* @summary 新增或修改工单执行时效设置
|
|
1248
|
+
* @param {number} parkId
|
|
1249
|
+
* @param {Array<WorkOrderIssueTypeSettingsAddOrUpdateVo>} workOrderIssueTypeSettingsAddOrUpdateVo
|
|
1250
|
+
* @param {*} [options] Override http request option.
|
|
1251
|
+
* @throws {RequiredError}
|
|
1252
|
+
*/
|
|
1253
|
+
workOrderIssueTypeSettingsAddOrUpdate(parkId, workOrderIssueTypeSettingsAddOrUpdateVo, options) {
|
|
1254
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1255
|
+
var _a, _b, _c;
|
|
1256
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderIssueTypeSettingsAddOrUpdate(parkId, workOrderIssueTypeSettingsAddOrUpdateVo, options);
|
|
1257
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1258
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SettingApi.workOrderIssueTypeSettingsAddOrUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1259
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1260
|
+
});
|
|
1261
|
+
},
|
|
1262
|
+
/**
|
|
1263
|
+
*
|
|
1264
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
1265
|
+
* @param {number} parkId
|
|
1266
|
+
* @param {*} [options] Override http request option.
|
|
1267
|
+
* @throws {RequiredError}
|
|
1268
|
+
*/
|
|
1269
|
+
workOrderIssueTypeSettingsSelectByParkId(parkId, options) {
|
|
1270
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1271
|
+
var _a, _b, _c;
|
|
1272
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderIssueTypeSettingsSelectByParkId(parkId, options);
|
|
1273
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1274
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SettingApi.workOrderIssueTypeSettingsSelectByParkId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1275
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1276
|
+
});
|
|
1277
|
+
},
|
|
1118
1278
|
/**
|
|
1119
1279
|
*
|
|
1120
1280
|
* @summary 通过园区id查询工单推送列表
|
|
@@ -1345,6 +1505,36 @@ const SettingApiFactory = function (configuration, basePath, axios) {
|
|
|
1345
1505
|
workOrderDeptSettingsSelectByWorkOrderTypeAndKey(requestParameters, options) {
|
|
1346
1506
|
return localVarFp.workOrderDeptSettingsSelectByWorkOrderTypeAndKey(requestParameters.parkId, requestParameters.workOrderType, requestParameters.key, options).then((request) => request(axios, basePath));
|
|
1347
1507
|
},
|
|
1508
|
+
/**
|
|
1509
|
+
*
|
|
1510
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
1511
|
+
* @param {SettingApiWorkOrderIssueTypeSelectByWorkOrderIssueTypeRequest} requestParameters Request parameters.
|
|
1512
|
+
* @param {*} [options] Override http request option.
|
|
1513
|
+
* @throws {RequiredError}
|
|
1514
|
+
*/
|
|
1515
|
+
workOrderIssueTypeSelectByWorkOrderIssueType(requestParameters, options) {
|
|
1516
|
+
return localVarFp.workOrderIssueTypeSelectByWorkOrderIssueType(requestParameters.parkId, requestParameters.workOrderType, requestParameters.workOrderIssueType, options).then((request) => request(axios, basePath));
|
|
1517
|
+
},
|
|
1518
|
+
/**
|
|
1519
|
+
*
|
|
1520
|
+
* @summary 新增或修改工单执行时效设置
|
|
1521
|
+
* @param {SettingApiWorkOrderIssueTypeSettingsAddOrUpdateRequest} requestParameters Request parameters.
|
|
1522
|
+
* @param {*} [options] Override http request option.
|
|
1523
|
+
* @throws {RequiredError}
|
|
1524
|
+
*/
|
|
1525
|
+
workOrderIssueTypeSettingsAddOrUpdate(requestParameters, options) {
|
|
1526
|
+
return localVarFp.workOrderIssueTypeSettingsAddOrUpdate(requestParameters.parkId, requestParameters.workOrderIssueTypeSettingsAddOrUpdateVo, options).then((request) => request(axios, basePath));
|
|
1527
|
+
},
|
|
1528
|
+
/**
|
|
1529
|
+
*
|
|
1530
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
1531
|
+
* @param {SettingApiWorkOrderIssueTypeSettingsSelectByParkIdRequest} requestParameters Request parameters.
|
|
1532
|
+
* @param {*} [options] Override http request option.
|
|
1533
|
+
* @throws {RequiredError}
|
|
1534
|
+
*/
|
|
1535
|
+
workOrderIssueTypeSettingsSelectByParkId(requestParameters, options) {
|
|
1536
|
+
return localVarFp.workOrderIssueTypeSettingsSelectByParkId(requestParameters.parkId, options).then((request) => request(axios, basePath));
|
|
1537
|
+
},
|
|
1348
1538
|
/**
|
|
1349
1539
|
*
|
|
1350
1540
|
* @summary 通过园区id查询工单推送列表
|
|
@@ -1582,6 +1772,39 @@ class SettingApi extends base_1.BaseAPI {
|
|
|
1582
1772
|
workOrderDeptSettingsSelectByWorkOrderTypeAndKey(requestParameters, options) {
|
|
1583
1773
|
return (0, exports.SettingApiFp)(this.configuration).workOrderDeptSettingsSelectByWorkOrderTypeAndKey(requestParameters.parkId, requestParameters.workOrderType, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
|
1584
1774
|
}
|
|
1775
|
+
/**
|
|
1776
|
+
*
|
|
1777
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
1778
|
+
* @param {SettingApiWorkOrderIssueTypeSelectByWorkOrderIssueTypeRequest} requestParameters Request parameters.
|
|
1779
|
+
* @param {*} [options] Override http request option.
|
|
1780
|
+
* @throws {RequiredError}
|
|
1781
|
+
* @memberof SettingApi
|
|
1782
|
+
*/
|
|
1783
|
+
workOrderIssueTypeSelectByWorkOrderIssueType(requestParameters, options) {
|
|
1784
|
+
return (0, exports.SettingApiFp)(this.configuration).workOrderIssueTypeSelectByWorkOrderIssueType(requestParameters.parkId, requestParameters.workOrderType, requestParameters.workOrderIssueType, options).then((request) => request(this.axios, this.basePath));
|
|
1785
|
+
}
|
|
1786
|
+
/**
|
|
1787
|
+
*
|
|
1788
|
+
* @summary 新增或修改工单执行时效设置
|
|
1789
|
+
* @param {SettingApiWorkOrderIssueTypeSettingsAddOrUpdateRequest} requestParameters Request parameters.
|
|
1790
|
+
* @param {*} [options] Override http request option.
|
|
1791
|
+
* @throws {RequiredError}
|
|
1792
|
+
* @memberof SettingApi
|
|
1793
|
+
*/
|
|
1794
|
+
workOrderIssueTypeSettingsAddOrUpdate(requestParameters, options) {
|
|
1795
|
+
return (0, exports.SettingApiFp)(this.configuration).workOrderIssueTypeSettingsAddOrUpdate(requestParameters.parkId, requestParameters.workOrderIssueTypeSettingsAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
1796
|
+
}
|
|
1797
|
+
/**
|
|
1798
|
+
*
|
|
1799
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
1800
|
+
* @param {SettingApiWorkOrderIssueTypeSettingsSelectByParkIdRequest} requestParameters Request parameters.
|
|
1801
|
+
* @param {*} [options] Override http request option.
|
|
1802
|
+
* @throws {RequiredError}
|
|
1803
|
+
* @memberof SettingApi
|
|
1804
|
+
*/
|
|
1805
|
+
workOrderIssueTypeSettingsSelectByParkId(requestParameters, options) {
|
|
1806
|
+
return (0, exports.SettingApiFp)(this.configuration).workOrderIssueTypeSettingsSelectByParkId(requestParameters.parkId, options).then((request) => request(this.axios, this.basePath));
|
|
1807
|
+
}
|
|
1585
1808
|
/**
|
|
1586
1809
|
*
|
|
1587
1810
|
* @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
|
}
|
|
@@ -68,6 +68,72 @@ const WebHookApiAxiosParamCreator = function (configuration) {
|
|
|
68
68
|
options: localVarRequestOptions,
|
|
69
69
|
};
|
|
70
70
|
}),
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @summary 接收保险通知
|
|
74
|
+
* @param {InsuranceNoticeVo} insuranceNoticeVo
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
webhookInsuranceNotice: (insuranceNoticeVo_1, ...args_1) => __awaiter(this, [insuranceNoticeVo_1, ...args_1], void 0, function* (insuranceNoticeVo, options = {}) {
|
|
79
|
+
// verify required parameter 'insuranceNoticeVo' is not null or undefined
|
|
80
|
+
(0, common_1.assertParamExists)('webhookInsuranceNotice', 'insuranceNoticeVo', insuranceNoticeVo);
|
|
81
|
+
const localVarPath = `/webhook/insurance/notice`;
|
|
82
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
84
|
+
let baseOptions;
|
|
85
|
+
if (configuration) {
|
|
86
|
+
baseOptions = configuration.baseOptions;
|
|
87
|
+
}
|
|
88
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
89
|
+
const localVarHeaderParameter = {};
|
|
90
|
+
const localVarQueryParameter = {};
|
|
91
|
+
// authentication tokenScheme required
|
|
92
|
+
// http bearer authentication required
|
|
93
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
94
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
95
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
96
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
98
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(insuranceNoticeVo, localVarRequestOptions, configuration);
|
|
99
|
+
return {
|
|
100
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
101
|
+
options: localVarRequestOptions,
|
|
102
|
+
};
|
|
103
|
+
}),
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @summary 接收保险工单
|
|
107
|
+
* @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
webhookInsuranceWorkOrder: (insuranceWorkOrderVo_1, ...args_1) => __awaiter(this, [insuranceWorkOrderVo_1, ...args_1], void 0, function* (insuranceWorkOrderVo, options = {}) {
|
|
112
|
+
// verify required parameter 'insuranceWorkOrderVo' is not null or undefined
|
|
113
|
+
(0, common_1.assertParamExists)('webhookInsuranceWorkOrder', 'insuranceWorkOrderVo', insuranceWorkOrderVo);
|
|
114
|
+
const localVarPath = `/webhook/insurance/workOrder`;
|
|
115
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
117
|
+
let baseOptions;
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
}
|
|
121
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
122
|
+
const localVarHeaderParameter = {};
|
|
123
|
+
const localVarQueryParameter = {};
|
|
124
|
+
// authentication tokenScheme required
|
|
125
|
+
// http bearer authentication required
|
|
126
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
127
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
128
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
129
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
130
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
131
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(insuranceWorkOrderVo, localVarRequestOptions, configuration);
|
|
132
|
+
return {
|
|
133
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
134
|
+
options: localVarRequestOptions,
|
|
135
|
+
};
|
|
136
|
+
}),
|
|
71
137
|
};
|
|
72
138
|
};
|
|
73
139
|
exports.WebHookApiAxiosParamCreator = WebHookApiAxiosParamCreator;
|
|
@@ -94,6 +160,38 @@ const WebHookApiFp = function (configuration) {
|
|
|
94
160
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
95
161
|
});
|
|
96
162
|
},
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @summary 接收保险通知
|
|
166
|
+
* @param {InsuranceNoticeVo} insuranceNoticeVo
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
webhookInsuranceNotice(insuranceNoticeVo, options) {
|
|
171
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
172
|
+
var _a, _b, _c;
|
|
173
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.webhookInsuranceNotice(insuranceNoticeVo, options);
|
|
174
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
175
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebHookApi.webhookInsuranceNotice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
176
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
177
|
+
});
|
|
178
|
+
},
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @summary 接收保险工单
|
|
182
|
+
* @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
|
|
183
|
+
* @param {*} [options] Override http request option.
|
|
184
|
+
* @throws {RequiredError}
|
|
185
|
+
*/
|
|
186
|
+
webhookInsuranceWorkOrder(insuranceWorkOrderVo, options) {
|
|
187
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
188
|
+
var _a, _b, _c;
|
|
189
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.webhookInsuranceWorkOrder(insuranceWorkOrderVo, options);
|
|
190
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
191
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebHookApi.webhookInsuranceWorkOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
192
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
193
|
+
});
|
|
194
|
+
},
|
|
97
195
|
};
|
|
98
196
|
};
|
|
99
197
|
exports.WebHookApiFp = WebHookApiFp;
|
|
@@ -114,6 +212,26 @@ const WebHookApiFactory = function (configuration, basePath, axios) {
|
|
|
114
212
|
srmParkContractChange(requestParameters, options) {
|
|
115
213
|
return localVarFp.srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(axios, basePath));
|
|
116
214
|
},
|
|
215
|
+
/**
|
|
216
|
+
*
|
|
217
|
+
* @summary 接收保险通知
|
|
218
|
+
* @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
|
|
219
|
+
* @param {*} [options] Override http request option.
|
|
220
|
+
* @throws {RequiredError}
|
|
221
|
+
*/
|
|
222
|
+
webhookInsuranceNotice(requestParameters, options) {
|
|
223
|
+
return localVarFp.webhookInsuranceNotice(requestParameters.insuranceNoticeVo, options).then((request) => request(axios, basePath));
|
|
224
|
+
},
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* @summary 接收保险工单
|
|
228
|
+
* @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
|
|
229
|
+
* @param {*} [options] Override http request option.
|
|
230
|
+
* @throws {RequiredError}
|
|
231
|
+
*/
|
|
232
|
+
webhookInsuranceWorkOrder(requestParameters, options) {
|
|
233
|
+
return localVarFp.webhookInsuranceWorkOrder(requestParameters.insuranceWorkOrderVo, options).then((request) => request(axios, basePath));
|
|
234
|
+
},
|
|
117
235
|
};
|
|
118
236
|
};
|
|
119
237
|
exports.WebHookApiFactory = WebHookApiFactory;
|
|
@@ -135,5 +253,27 @@ class WebHookApi extends base_1.BaseAPI {
|
|
|
135
253
|
srmParkContractChange(requestParameters, options) {
|
|
136
254
|
return (0, exports.WebHookApiFp)(this.configuration).srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(this.axios, this.basePath));
|
|
137
255
|
}
|
|
256
|
+
/**
|
|
257
|
+
*
|
|
258
|
+
* @summary 接收保险通知
|
|
259
|
+
* @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
|
|
260
|
+
* @param {*} [options] Override http request option.
|
|
261
|
+
* @throws {RequiredError}
|
|
262
|
+
* @memberof WebHookApi
|
|
263
|
+
*/
|
|
264
|
+
webhookInsuranceNotice(requestParameters, options) {
|
|
265
|
+
return (0, exports.WebHookApiFp)(this.configuration).webhookInsuranceNotice(requestParameters.insuranceNoticeVo, options).then((request) => request(this.axios, this.basePath));
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
* @summary 接收保险工单
|
|
270
|
+
* @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
|
|
271
|
+
* @param {*} [options] Override http request option.
|
|
272
|
+
* @throws {RequiredError}
|
|
273
|
+
* @memberof WebHookApi
|
|
274
|
+
*/
|
|
275
|
+
webhookInsuranceWorkOrder(requestParameters, options) {
|
|
276
|
+
return (0, exports.WebHookApiFp)(this.configuration).webhookInsuranceWorkOrder(requestParameters.insuranceWorkOrderVo, options).then((request) => request(this.axios, this.basePath));
|
|
277
|
+
}
|
|
138
278
|
}
|
|
139
279
|
exports.WebHookApi = WebHookApi;
|