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