@gizone/rrs-client 4.2.0-alpha.373 → 4.2.0-alpha.375
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 +2 -21
- package/api.ts +0 -1
- package/apis/message-api.ts +178 -0
- package/apis/notification-api.ts +227 -133
- package/apis/open-api-api.ts +0 -214
- package/apis/setting-api.ts +0 -307
- package/apis/web-hook-api.ts +0 -182
- package/apis/work-order-api.ts +15 -450
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/apis/message-api.d.ts +93 -0
- package/dist/apis/message-api.js +139 -0
- package/dist/apis/notification-api.d.ts +135 -90
- package/dist/apis/notification-api.js +174 -99
- package/dist/apis/open-api-api.d.ts +0 -110
- package/dist/apis/open-api-api.js +0 -156
- package/dist/apis/setting-api.d.ts +0 -166
- package/dist/apis/setting-api.js +0 -223
- package/dist/apis/web-hook-api.d.ts +0 -94
- package/dist/apis/web-hook-api.js +0 -140
- package/dist/apis/work-order-api.d.ts +6 -243
- package/dist/apis/work-order-api.js +15 -322
- package/dist/esm/api.d.ts +0 -1
- package/dist/esm/api.js +0 -1
- package/dist/esm/apis/message-api.d.ts +93 -0
- package/dist/esm/apis/message-api.js +140 -1
- package/dist/esm/apis/notification-api.d.ts +135 -90
- package/dist/esm/apis/notification-api.js +174 -99
- package/dist/esm/apis/open-api-api.d.ts +0 -110
- package/dist/esm/apis/open-api-api.js +0 -156
- package/dist/esm/apis/setting-api.d.ts +0 -166
- package/dist/esm/apis/setting-api.js +0 -223
- package/dist/esm/apis/web-hook-api.d.ts +0 -94
- package/dist/esm/apis/web-hook-api.js +0 -140
- package/dist/esm/apis/work-order-api.d.ts +6 -243
- package/dist/esm/apis/work-order-api.js +15 -322
- 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/index.d.ts +2 -20
- package/dist/esm/models/index.js +2 -20
- 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/login-type-enum.d.ts +0 -2
- package/dist/esm/models/login-type-enum.js +1 -3
- 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 +0 -12
- package/dist/esm/models/network-monitor-repair-add-vo.d.ts +0 -6
- package/dist/esm/models/network-monitor-repair-details-dto.d.ts +0 -12
- package/dist/esm/models/notice-vo.d.ts +86 -0
- package/dist/esm/models/offline-alert-submit-vo.d.ts +0 -6
- package/dist/esm/models/offline-alert-work-order-details-dto.d.ts +0 -12
- package/dist/esm/models/offline-alert-work-order-vo.d.ts +0 -6
- package/dist/esm/models/park-info-dto.d.ts +0 -12
- package/dist/esm/models/period-detail-resp.d.ts +1 -7
- package/dist/esm/models/sys-post.d.ts +0 -6
- package/dist/esm/models/sys-role.d.ts +0 -6
- package/dist/esm/models/{notice-add-vo.d.ts → sys-user-msg-notice-add-vo.d.ts} +8 -8
- package/dist/esm/models/sys-user.d.ts +0 -13
- package/dist/esm/models/violation-work-order-add-vo.d.ts +0 -6
- package/dist/esm/models/violation-work-order-details-dto.d.ts +0 -12
- package/dist/esm/models/work-order-approval-vo.d.ts +0 -6
- package/dist/esm/models/work-order-detail-dto.d.ts +0 -6
- package/dist/esm/models/work-order-ext-data.d.ts +0 -7
- package/dist/esm/models/work-order-internal-status-enum.d.ts +0 -2
- package/dist/esm/models/work-order-internal-status-enum.js +1 -3
- package/dist/esm/models/work-order-issue-type-enum.d.ts +1 -2
- package/dist/esm/models/work-order-issue-type-enum.js +2 -3
- package/dist/esm/models/work-order-search-dto.d.ts +1 -13
- package/dist/esm/models/work-order-settings-type-enum.d.ts +0 -1
- package/dist/esm/models/work-order-settings-type-enum.js +1 -2
- package/dist/esm/models/work-order-status-enum.d.ts +1 -0
- package/dist/esm/models/work-order-status-enum.js +1 -0
- package/dist/esm/models/work-order-submit-vo.d.ts +0 -7
- package/dist/esm/models/work-order-type-enum.d.ts +0 -1
- package/dist/esm/models/work-order-type-enum.js +1 -2
- 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/index.d.ts +2 -20
- package/dist/models/index.js +2 -20
- 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/login-type-enum.d.ts +0 -2
- package/dist/models/login-type-enum.js +1 -3
- 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 +0 -12
- package/dist/models/network-monitor-repair-add-vo.d.ts +0 -6
- package/dist/models/network-monitor-repair-details-dto.d.ts +0 -12
- package/dist/models/notice-vo.d.ts +86 -0
- package/dist/models/offline-alert-submit-vo.d.ts +0 -6
- package/dist/models/offline-alert-work-order-details-dto.d.ts +0 -12
- package/dist/models/offline-alert-work-order-vo.d.ts +0 -6
- package/dist/models/park-info-dto.d.ts +0 -12
- package/dist/models/period-detail-resp.d.ts +1 -7
- package/dist/models/sys-post.d.ts +0 -6
- package/dist/models/sys-role.d.ts +0 -6
- package/dist/models/{notice-add-vo.d.ts → sys-user-msg-notice-add-vo.d.ts} +8 -8
- package/dist/models/sys-user.d.ts +0 -13
- package/dist/models/violation-work-order-add-vo.d.ts +0 -6
- package/dist/models/violation-work-order-details-dto.d.ts +0 -12
- package/dist/models/work-order-approval-vo.d.ts +0 -6
- package/dist/models/work-order-detail-dto.d.ts +0 -6
- package/dist/models/work-order-ext-data.d.ts +0 -7
- package/dist/models/work-order-internal-status-enum.d.ts +0 -2
- package/dist/models/work-order-internal-status-enum.js +1 -3
- package/dist/models/work-order-issue-type-enum.d.ts +1 -2
- package/dist/models/work-order-issue-type-enum.js +2 -3
- package/dist/models/work-order-search-dto.d.ts +1 -13
- package/dist/models/work-order-settings-type-enum.d.ts +0 -1
- package/dist/models/work-order-settings-type-enum.js +1 -2
- package/dist/models/work-order-status-enum.d.ts +1 -0
- package/dist/models/work-order-status-enum.js +1 -0
- package/dist/models/work-order-submit-vo.d.ts +0 -7
- package/dist/models/work-order-type-enum.d.ts +0 -1
- package/dist/models/work-order-type-enum.js +1 -2
- package/models/disaster-warning-standard-add-or-update-vo.ts +1 -1
- package/models/disaster-warning-standard-entity.ts +1 -1
- package/models/index.ts +2 -20
- 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/login-type-enum.ts +1 -3
- 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 +0 -12
- package/models/network-monitor-repair-add-vo.ts +0 -6
- package/models/network-monitor-repair-details-dto.ts +0 -12
- package/models/notice-vo.ts +90 -0
- package/models/offline-alert-submit-vo.ts +0 -6
- package/models/offline-alert-work-order-details-dto.ts +0 -12
- package/models/offline-alert-work-order-vo.ts +0 -6
- package/models/park-info-dto.ts +0 -12
- package/models/period-detail-resp.ts +1 -7
- package/models/sys-post.ts +0 -6
- package/models/sys-role.ts +0 -6
- package/models/{notice-add-vo.ts → sys-user-msg-notice-add-vo.ts} +8 -8
- package/models/sys-user.ts +0 -17
- package/models/violation-work-order-add-vo.ts +0 -6
- package/models/violation-work-order-details-dto.ts +0 -12
- package/models/work-order-approval-vo.ts +0 -6
- package/models/work-order-detail-dto.ts +0 -6
- package/models/work-order-ext-data.ts +0 -9
- package/models/work-order-internal-status-enum.ts +1 -3
- package/models/work-order-issue-type-enum.ts +2 -3
- package/models/work-order-search-dto.ts +1 -13
- package/models/work-order-settings-type-enum.ts +1 -2
- package/models/work-order-status-enum.ts +1 -0
- package/models/work-order-submit-vo.ts +0 -9
- package/models/work-order-type-enum.ts +1 -2
- package/package.json +1 -1
- package/apis/hwork-api.ts +0 -167
- package/dist/apis/hwork-api.d.ts +0 -96
- package/dist/apis/hwork-api.js +0 -145
- package/dist/esm/apis/hwork-api.d.ts +0 -96
- package/dist/esm/apis/hwork-api.js +0 -138
- package/dist/esm/models/exploration-work-order-details-dto.d.ts +0 -123
- package/dist/esm/models/exploration-work-order-info.d.ts +0 -111
- package/dist/esm/models/exploration-work-order-info.js +0 -19
- package/dist/esm/models/exploration-work-order-submit-vo.d.ts +0 -36
- package/dist/esm/models/exploration-work-order-type-enum.d.ts +0 -20
- package/dist/esm/models/exploration-work-order-type-enum.js +0 -21
- package/dist/esm/models/insurance-notice-vo.d.ts +0 -54
- package/dist/esm/models/insurance-notice-vo.js +0 -14
- package/dist/esm/models/insurance-work-order-issue-vo.d.ts +0 -86
- package/dist/esm/models/insurance-work-order-issue-vo.js +0 -19
- package/dist/esm/models/insurance-work-order-vo.d.ts +0 -37
- package/dist/esm/models/insurance-work-order-vo.js +0 -14
- package/dist/esm/models/json-result-exploration-work-order-details-dto.d.ts +0 -62
- package/dist/esm/models/json-result-exploration-work-order-details-dto.js +0 -14
- package/dist/esm/models/json-result-list-work-order-issue-type-settings-entity.d.ts +0 -62
- package/dist/esm/models/json-result-list-work-order-issue-type-settings-entity.js +0 -14
- package/dist/esm/models/json-result-notice-entity.d.ts +0 -62
- package/dist/esm/models/json-result-notice-entity.js +0 -14
- package/dist/esm/models/json-result-page-dto-open-api-equipment-list-dto.d.ts +0 -62
- package/dist/esm/models/json-result-page-dto-open-api-equipment-list-dto.js +0 -14
- package/dist/esm/models/json-result-work-order-issue-type-settings-entity.d.ts +0 -62
- package/dist/esm/models/json-result-work-order-issue-type-settings-entity.js +0 -14
- package/dist/esm/models/notice-add-vo.js +0 -14
- package/dist/esm/models/notice-entity.d.ts +0 -90
- package/dist/esm/models/notice-entity.js +0 -14
- package/dist/esm/models/open-api-equipment-list-dto.d.ts +0 -110
- package/dist/esm/models/open-api-equipment-list-dto.js +0 -14
- package/dist/esm/models/page-dto-open-api-equipment-list-dto.d.ts +0 -31
- package/dist/esm/models/page-dto-open-api-equipment-list-dto.js +0 -14
- package/dist/esm/models/user-source-enum.d.ts +0 -21
- package/dist/esm/models/user-source-enum.js +0 -22
- package/dist/esm/models/work-order-equipment-dto.d.ts +0 -36
- package/dist/esm/models/work-order-equipment-dto.js +0 -14
- package/dist/esm/models/work-order-issue-type-settings-add-or-update-vo.d.ts +0 -44
- package/dist/esm/models/work-order-issue-type-settings-add-or-update-vo.js +0 -14
- package/dist/esm/models/work-order-issue-type-settings-entity.d.ts +0 -68
- package/dist/esm/models/work-order-issue-type-settings-entity.js +0 -14
- package/dist/models/exploration-work-order-details-dto.d.ts +0 -123
- package/dist/models/exploration-work-order-info.d.ts +0 -111
- package/dist/models/exploration-work-order-info.js +0 -22
- package/dist/models/exploration-work-order-submit-vo.d.ts +0 -36
- package/dist/models/exploration-work-order-type-enum.d.ts +0 -20
- package/dist/models/exploration-work-order-type-enum.js +0 -24
- package/dist/models/insurance-notice-vo.d.ts +0 -54
- package/dist/models/insurance-notice-vo.js +0 -15
- package/dist/models/insurance-work-order-issue-vo.d.ts +0 -86
- package/dist/models/insurance-work-order-issue-vo.js +0 -22
- package/dist/models/insurance-work-order-vo.d.ts +0 -37
- package/dist/models/insurance-work-order-vo.js +0 -15
- package/dist/models/json-result-exploration-work-order-details-dto.d.ts +0 -62
- package/dist/models/json-result-exploration-work-order-details-dto.js +0 -15
- package/dist/models/json-result-list-work-order-issue-type-settings-entity.d.ts +0 -62
- package/dist/models/json-result-list-work-order-issue-type-settings-entity.js +0 -15
- package/dist/models/json-result-notice-entity.d.ts +0 -62
- package/dist/models/json-result-notice-entity.js +0 -15
- package/dist/models/json-result-page-dto-open-api-equipment-list-dto.d.ts +0 -62
- package/dist/models/json-result-page-dto-open-api-equipment-list-dto.js +0 -15
- package/dist/models/json-result-work-order-issue-type-settings-entity.d.ts +0 -62
- package/dist/models/json-result-work-order-issue-type-settings-entity.js +0 -15
- package/dist/models/notice-add-vo.js +0 -15
- package/dist/models/notice-entity.d.ts +0 -90
- package/dist/models/notice-entity.js +0 -15
- package/dist/models/open-api-equipment-list-dto.d.ts +0 -110
- package/dist/models/open-api-equipment-list-dto.js +0 -15
- package/dist/models/page-dto-open-api-equipment-list-dto.d.ts +0 -31
- package/dist/models/page-dto-open-api-equipment-list-dto.js +0 -15
- package/dist/models/user-source-enum.d.ts +0 -21
- package/dist/models/user-source-enum.js +0 -25
- package/dist/models/work-order-equipment-dto.d.ts +0 -36
- package/dist/models/work-order-equipment-dto.js +0 -15
- package/dist/models/work-order-issue-type-settings-add-or-update-vo.d.ts +0 -44
- package/dist/models/work-order-issue-type-settings-add-or-update-vo.js +0 -15
- package/dist/models/work-order-issue-type-settings-entity.d.ts +0 -68
- package/dist/models/work-order-issue-type-settings-entity.js +0 -15
- package/models/exploration-work-order-details-dto.ts +0 -149
- package/models/exploration-work-order-info.ts +0 -124
- package/models/exploration-work-order-submit-vo.ts +0 -42
- package/models/exploration-work-order-type-enum.ts +0 -30
- package/models/insurance-notice-vo.ts +0 -60
- package/models/insurance-work-order-issue-vo.ts +0 -97
- package/models/insurance-work-order-vo.ts +0 -45
- package/models/json-result-exploration-work-order-details-dto.ts +0 -72
- package/models/json-result-list-work-order-issue-type-settings-entity.ts +0 -72
- package/models/json-result-notice-entity.ts +0 -72
- package/models/json-result-page-dto-open-api-equipment-list-dto.ts +0 -72
- package/models/json-result-work-order-issue-type-settings-entity.ts +0 -72
- package/models/notice-entity.ts +0 -96
- package/models/open-api-equipment-list-dto.ts +0 -122
- package/models/page-dto-open-api-equipment-list-dto.ts +0 -39
- package/models/user-source-enum.ts +0 -31
- package/models/work-order-equipment-dto.ts +0 -42
- package/models/work-order-issue-type-settings-add-or-update-vo.ts +0 -56
- package/models/work-order-issue-type-settings-entity.ts +0 -80
- /package/dist/esm/models/{exploration-work-order-details-dto.js → notice-vo.js} +0 -0
- /package/dist/esm/models/{exploration-work-order-submit-vo.js → sys-user-msg-notice-add-vo.js} +0 -0
- /package/dist/models/{exploration-work-order-details-dto.js → notice-vo.js} +0 -0
- /package/dist/models/{exploration-work-order-submit-vo.js → sys-user-msg-notice-add-vo.js} +0 -0
package/dist/apis/setting-api.js
CHANGED
|
@@ -720,115 +720,6 @@ 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
|
-
}),
|
|
832
723
|
/**
|
|
833
724
|
*
|
|
834
725
|
* @summary 通过园区id查询工单推送列表
|
|
@@ -1224,57 +1115,6 @@ const SettingApiFp = function (configuration) {
|
|
|
1224
1115
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1225
1116
|
});
|
|
1226
1117
|
},
|
|
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
|
-
},
|
|
1278
1118
|
/**
|
|
1279
1119
|
*
|
|
1280
1120
|
* @summary 通过园区id查询工单推送列表
|
|
@@ -1505,36 +1345,6 @@ const SettingApiFactory = function (configuration, basePath, axios) {
|
|
|
1505
1345
|
workOrderDeptSettingsSelectByWorkOrderTypeAndKey(requestParameters, options) {
|
|
1506
1346
|
return localVarFp.workOrderDeptSettingsSelectByWorkOrderTypeAndKey(requestParameters.parkId, requestParameters.workOrderType, requestParameters.key, options).then((request) => request(axios, basePath));
|
|
1507
1347
|
},
|
|
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
|
-
},
|
|
1538
1348
|
/**
|
|
1539
1349
|
*
|
|
1540
1350
|
* @summary 通过园区id查询工单推送列表
|
|
@@ -1772,39 +1582,6 @@ class SettingApi extends base_1.BaseAPI {
|
|
|
1772
1582
|
workOrderDeptSettingsSelectByWorkOrderTypeAndKey(requestParameters, options) {
|
|
1773
1583
|
return (0, exports.SettingApiFp)(this.configuration).workOrderDeptSettingsSelectByWorkOrderTypeAndKey(requestParameters.parkId, requestParameters.workOrderType, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
|
1774
1584
|
}
|
|
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
|
-
}
|
|
1808
1585
|
/**
|
|
1809
1586
|
*
|
|
1810
1587
|
* @summary 通过园区id查询工单推送列表
|
|
@@ -12,8 +12,6 @@
|
|
|
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';
|
|
17
15
|
import type { JsonResultVoid } from '../models';
|
|
18
16
|
import type { SrmParkContractChangeVo } from '../models';
|
|
19
17
|
/**
|
|
@@ -29,22 +27,6 @@ export declare const WebHookApiAxiosParamCreator: (configuration?: Configuration
|
|
|
29
27
|
* @throws {RequiredError}
|
|
30
28
|
*/
|
|
31
29
|
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>;
|
|
48
30
|
};
|
|
49
31
|
/**
|
|
50
32
|
* WebHookApi - functional programming interface
|
|
@@ -59,22 +41,6 @@ export declare const WebHookApiFp: (configuration?: Configuration) => {
|
|
|
59
41
|
* @throws {RequiredError}
|
|
60
42
|
*/
|
|
61
43
|
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>>;
|
|
78
44
|
};
|
|
79
45
|
/**
|
|
80
46
|
* WebHookApi - factory interface
|
|
@@ -89,22 +55,6 @@ export declare const WebHookApiFactory: (configuration?: Configuration, basePath
|
|
|
89
55
|
* @throws {RequiredError}
|
|
90
56
|
*/
|
|
91
57
|
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>;
|
|
108
58
|
};
|
|
109
59
|
/**
|
|
110
60
|
* Request parameters for srmParkContractChange operation in WebHookApi.
|
|
@@ -119,32 +69,6 @@ export interface WebHookApiSrmParkContractChangeRequest {
|
|
|
119
69
|
*/
|
|
120
70
|
readonly srmParkContractChangeVo: SrmParkContractChangeVo;
|
|
121
71
|
}
|
|
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
|
-
}
|
|
148
72
|
/**
|
|
149
73
|
* WebHookApi - object-oriented interface
|
|
150
74
|
* @export
|
|
@@ -161,22 +85,4 @@ export declare class WebHookApi extends BaseAPI {
|
|
|
161
85
|
* @memberof WebHookApi
|
|
162
86
|
*/
|
|
163
87
|
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>>;
|
|
182
88
|
}
|
|
@@ -68,72 +68,6 @@ 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
|
-
}),
|
|
137
71
|
};
|
|
138
72
|
};
|
|
139
73
|
exports.WebHookApiAxiosParamCreator = WebHookApiAxiosParamCreator;
|
|
@@ -160,38 +94,6 @@ const WebHookApiFp = function (configuration) {
|
|
|
160
94
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
161
95
|
});
|
|
162
96
|
},
|
|
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
|
-
},
|
|
195
97
|
};
|
|
196
98
|
};
|
|
197
99
|
exports.WebHookApiFp = WebHookApiFp;
|
|
@@ -212,26 +114,6 @@ const WebHookApiFactory = function (configuration, basePath, axios) {
|
|
|
212
114
|
srmParkContractChange(requestParameters, options) {
|
|
213
115
|
return localVarFp.srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(axios, basePath));
|
|
214
116
|
},
|
|
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
|
-
},
|
|
235
117
|
};
|
|
236
118
|
};
|
|
237
119
|
exports.WebHookApiFactory = WebHookApiFactory;
|
|
@@ -253,27 +135,5 @@ class WebHookApi extends base_1.BaseAPI {
|
|
|
253
135
|
srmParkContractChange(requestParameters, options) {
|
|
254
136
|
return (0, exports.WebHookApiFp)(this.configuration).srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(this.axios, this.basePath));
|
|
255
137
|
}
|
|
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
|
-
}
|
|
278
138
|
}
|
|
279
139
|
exports.WebHookApi = WebHookApi;
|