1697 lines
98 KiB
TypeScript
1697 lines
98 KiB
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
||
|
||
import { createClient, createConfig, type Options, formDataBodySerializer } from '@hey-api/client-axios';
|
||
import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionError, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationError, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationError, GetApiAbpApplicationLocalizationResponse, PostApiAppAccountLoginData, PostApiAppAccountLoginError, PostApiAppAccountLoginResponse, PostApiAppAccountLogin2FaData, PostApiAppAccountLogin2FaError, PostApiAppAccountLogin2FaResponse, PostApiAppAccountLoginOidcData, PostApiAppAccountLoginOidcError, PostApiAppAccountLoginOidcResponse, PostApiAppAccountRefreshTokenData, PostApiAppAccountRefreshTokenError, PostApiAppAccountRefreshTokenResponse, PostApiAppAccountLogoutError, PostApiAppAccountLogoutResponse, PostAuditLogsPageData, PostAuditLogsPageError, PostAuditLogsPageResponse, PostAggregationBusinessReceiveCommandInfoAsyncData, PostAggregationBusinessReceiveCommandInfoAsyncError, PostAggregationBusinessReceiveCommandInfoAsyncResponse, PostAggregationBusinessBatchQueryDeviceDataInfoAsyncData, PostAggregationBusinessBatchQueryDeviceDataInfoAsyncError, PostAggregationBusinessBatchQueryDeviceDataInfoAsyncResponse, PostAggregationBusinessBatchCreateDeviceInfoAsyncData, PostAggregationBusinessBatchCreateDeviceInfoAsyncError, PostAggregationBusinessBatchCreateDeviceInfoAsyncResponse, GetCommonGetSelectListData, GetCommonGetSelectListError, GetCommonGetSelectListResponse, PostCtWingAccountInsertAsyncData, PostCtWingAccountInsertAsyncError, PostCtWingAccountInsertAsyncResponse, PostCtWingAccountModifyAsyncData, PostCtWingAccountModifyAsyncError, PostCtWingAccountModifyAsyncResponse, PostCtWingAccountDeleteAsyncData, PostCtWingAccountDeleteAsyncError, PostCtWingAccountDeleteAsyncResponse, PostCtWingAccountListAsyncData, PostCtWingAccountListAsyncError, PostCtWingAccountListAsyncResponse, PostCtWingProductInsertAsyncData, PostCtWingProductInsertAsyncError, PostCtWingProductInsertAsyncResponse, PostCtWingProductModifyAsyncData, PostCtWingProductModifyAsyncError, PostCtWingProductModifyAsyncResponse, PostCtWingProductDeleteAsyncData, PostCtWingProductDeleteAsyncError, PostCtWingProductDeleteAsyncResponse, PostCtWingProductGetAsyncData, PostCtWingProductGetAsyncError, PostCtWingProductGetAsyncResponse, PostCtWingProductProductStatusChangeAsyncData, PostCtWingProductProductStatusChangeAsyncError, PostCtWingProductProductStatusChangeAsyncResponse, PostCtWingProductListAsyncData, PostCtWingProductListAsyncError, PostCtWingProductListAsyncResponse, PostCtWingServiceReceiveStatusChangeError, PostCtWingServiceReceiveStatusChangeResponse, PostCtWingServiceReceiveDataChangeError, PostCtWingServiceReceiveDataChangeResponse, PostCtWingServiceReceiveCommandChangeError, PostCtWingServiceReceiveCommandChangeResponse, PostCtWingServiceReceiveEventChangeError, PostCtWingServiceReceiveEventChangeResponse, PostCtWingServiceReceiveDeviceChangeError, PostCtWingServiceReceiveDeviceChangeResponse, PostDataDictionaryPageData, PostDataDictionaryPageError, PostDataDictionaryPageResponse, PostDataDictionaryPageDetailData, PostDataDictionaryPageDetailError, PostDataDictionaryPageDetailResponse, PostDataDictionarySelectDetailData, PostDataDictionarySelectDetailError, PostDataDictionarySelectDetailResponse, PostDataDictionaryCreateData, PostDataDictionaryCreateError, PostDataDictionaryCreateResponse, PostDataDictionaryCreateDetailData, PostDataDictionaryCreateDetailError, PostDataDictionaryCreateDetailResponse, PostDataDictionaryStatusData, PostDataDictionaryStatusError, PostDataDictionaryStatusResponse, PostDataDictionaryUpdateDetailData, PostDataDictionaryUpdateDetailError, PostDataDictionaryUpdateDetailResponse, PostDataDictionaryDeleteData, PostDataDictionaryDeleteError, PostDataDictionaryDeleteResponse, PostDataDictionaryDeleteDataDictionaryTypeData, PostDataDictionaryDeleteDataDictionaryTypeError, PostDataDictionaryDeleteDataDictionaryTypeResponse, PostDataDictionaryUpdateData, PostDataDictionaryUpdateError, PostDataDictionaryUpdateResponse, PostAggregationDeviceCreateAsyncData, PostAggregationDeviceCreateAsyncError, PostAggregationDeviceCreateAsyncResponse, PostAggregationDeviceBatchCreateAsyncData, PostAggregationDeviceBatchCreateAsyncError, PostAggregationDeviceBatchCreateAsyncResponse, PostAggregationDeviceDeleteAsyncData, PostAggregationDeviceDeleteAsyncError, PostAggregationDeviceDeleteAsyncResponse, PostAggregationDeviceFindByIdAsyncData, PostAggregationDeviceFindByIdAsyncError, PostAggregationDeviceFindByIdAsyncResponse, PostAggregationDeviceRepushDeviceInfoToIoTplatformData, PostAggregationDeviceRepushDeviceInfoToIoTplatformError, PostAggregationDeviceRepushDeviceInfoToIoTplatformResponse, PostAggregationDeviceDeviceCommandForApiAsyncData, PostAggregationDeviceDeviceCommandForApiAsyncError, PostAggregationDeviceDeviceCommandForApiAsyncResponse, PostDeviceInfoFindByDeviceAddressData, PostDeviceInfoFindByDeviceAddressError, PostDeviceInfoFindByDeviceAddressResponse, PostDeviceInfoPageData, PostDeviceInfoPageError, PostDeviceInfoPageResponse, PostDeviceInfoCacheDeviceDataToRedisError, PostDeviceInfoCacheDeviceDataToRedisResponse, PostDeviceInfoBindingDeviceThingModelData, PostDeviceInfoBindingDeviceThingModelError, PostDeviceInfoBindingDeviceThingModelResponse, PostDeviceThingModelManagementCreateAsyncData, PostDeviceThingModelManagementCreateAsyncError, PostDeviceThingModelManagementCreateAsyncResponse, PostDeviceThingModelManagementUpdateAsyncData, PostDeviceThingModelManagementUpdateAsyncError, PostDeviceThingModelManagementUpdateAsyncResponse, PostDeviceThingModelManagementDeleteAsyncData, PostDeviceThingModelManagementDeleteAsyncError, PostDeviceThingModelManagementDeleteAsyncResponse, PostDeviceThingModelManagementFindByIdAsyncData, PostDeviceThingModelManagementFindByIdAsyncError, PostDeviceThingModelManagementFindByIdAsyncResponse, PostDeviceThingModelManagementGetDeviceThingModelAllInfoByIdAsyncData, PostDeviceThingModelManagementGetDeviceThingModelAllInfoByIdAsyncError, PostDeviceThingModelManagementGetDeviceThingModelAllInfoByIdAsyncResponse, PostDeviceThingModelManagementBuildAnalysisScriptByIdAsyncData, PostDeviceThingModelManagementBuildAnalysisScriptByIdAsyncError, PostDeviceThingModelManagementBuildAnalysisScriptByIdAsyncResponse, PostDeviceThingModelManagementBuildAnalysisScriptAsyncData, PostDeviceThingModelManagementBuildAnalysisScriptAsyncError, PostDeviceThingModelManagementBuildAnalysisScriptAsyncResponse, PostDeviceThingModelManagementUpdateAnalysisScriptByIdAsyncData, PostDeviceThingModelManagementUpdateAnalysisScriptByIdAsyncError, PostDeviceThingModelManagementUpdateAnalysisScriptByIdAsyncResponse, PostDeviceThingModelManagementMessageAnalysisTestAsyncData, PostDeviceThingModelManagementMessageAnalysisTestAsyncError, PostDeviceThingModelManagementMessageAnalysisTestAsyncResponse, PostDeviceThingModelManagementFindByPlatformProductIdAsyncData, PostDeviceThingModelManagementFindByPlatformProductIdAsyncError, PostDeviceThingModelManagementFindByPlatformProductIdAsyncResponse, PostDeviceThingModelManagementCopyAnotherDeviceThingModelAsyncData, PostDeviceThingModelManagementCopyAnotherDeviceThingModelAsyncError, PostDeviceThingModelManagementCopyAnotherDeviceThingModelAsyncResponse, PostDeviceThingModelManagementCopyIoTplatformThingModelToDeviceAsyncData, PostDeviceThingModelManagementCopyIoTplatformThingModelToDeviceAsyncError, PostDeviceThingModelManagementCopyIoTplatformThingModelToDeviceAsyncResponse, PostDeviceThingModelManagementPageAsyncData, PostDeviceThingModelManagementPageAsyncError, PostDeviceThingModelManagementPageAsyncResponse, PostDeviceThingModelManagementPropertyCreateAsyncData, PostDeviceThingModelManagementPropertyCreateAsyncError, PostDeviceThingModelManagementPropertyCreateAsyncResponse, PostDeviceThingModelManagementPropertyUpdateAsyncData, PostDeviceThingModelManagementPropertyUpdateAsyncError, PostDeviceThingModelManagementPropertyUpdateAsyncResponse, PostDeviceThingModelManagementPropertyDeleteAsyncData, PostDeviceThingModelManagementPropertyDeleteAsyncError, PostDeviceThingModelManagementPropertyDeleteAsyncResponse, PostDeviceThingModelManagementPropertyFindByIdAsyncData, PostDeviceThingModelManagementPropertyFindByIdAsyncError, PostDeviceThingModelManagementPropertyFindByIdAsyncResponse, PostDeviceThingModelManagementPropertyPageAsyncData, PostDeviceThingModelManagementPropertyPageAsyncError, PostDeviceThingModelManagementPropertyPageAsyncResponse, PostDeviceThingModelManagementCommandCreateAsyncData, PostDeviceThingModelManagementCommandCreateAsyncError, PostDeviceThingModelManagementCommandCreateAsyncResponse, PostDeviceThingModelManagementCommandUpdateAsyncData, PostDeviceThingModelManagementCommandUpdateAsyncError, PostDeviceThingModelManagementCommandUpdateAsyncResponse, PostDeviceThingModelManagementCommandDeleteAsyncData, PostDeviceThingModelManagementCommandDeleteAsyncError, PostDeviceThingModelManagementCommandDeleteAsyncResponse, PostDeviceThingModelManagementCommandFindByIdAsyncData, PostDeviceThingModelManagementCommandFindByIdAsyncError, PostDeviceThingModelManagementCommandFindByIdAsyncResponse, PostDeviceThingModelManagementCommandPageAsyncData, PostDeviceThingModelManagementCommandPageAsyncError, PostDeviceThingModelManagementCommandPageAsyncResponse, PostDeviceThingModelManagementCacheDeviceThingModelToRedisAsyncData, PostDeviceThingModelManagementCacheDeviceThingModelToRedisAsyncError, PostDeviceThingModelManagementCacheDeviceThingModelToRedisAsyncResponse, PostDeviceThingModelManagementCacheAllDeviceThingModelToRedisAsyncError, PostDeviceThingModelManagementCacheAllDeviceThingModelToRedisAsyncResponse, PostFeaturesListData, PostFeaturesListError, PostFeaturesListResponse, PostFeaturesUpdateData, PostFeaturesUpdateError, PostFeaturesUpdateResponse, PostFeaturesDeleteData, PostFeaturesDeleteError, PostFeaturesDeleteResponse, PostFilesPageData, PostFilesPageError, PostFilesPageResponse, PostFilesUploadData, PostFilesUploadError, PostFilesUploadResponse, PostFilesDeleteData, PostFilesDeleteError, PostFilesDeleteResponse, PostFilesDownloadData, PostFilesDownloadError, PostFilesDownloadResponse, PostIdentitySecurityLogsPageData, PostIdentitySecurityLogsPageError, PostIdentitySecurityLogsPageResponse, PostAggregationIoTplatformGetIoTplatformProductInfoAsyncData, PostAggregationIoTplatformGetIoTplatformProductInfoAsyncError, PostAggregationIoTplatformGetIoTplatformProductInfoAsyncResponse, PostAggregationIoTplatformGetIoTplatformProductPropertyInfoAsyncData, PostAggregationIoTplatformGetIoTplatformProductPropertyInfoAsyncError, PostAggregationIoTplatformGetIoTplatformProductPropertyInfoAsyncResponse, PostIoTplatformThingModelInfoCreateAsyncData, PostIoTplatformThingModelInfoCreateAsyncError, PostIoTplatformThingModelInfoCreateAsyncResponse, PostIoTplatformThingModelInfoUpdateAsyncData, PostIoTplatformThingModelInfoUpdateAsyncError, PostIoTplatformThingModelInfoUpdateAsyncResponse, PostIoTplatformThingModelInfoDeleteAsyncData, PostIoTplatformThingModelInfoDeleteAsyncError, PostIoTplatformThingModelInfoDeleteAsyncResponse, PostIoTplatformThingModelInfoFindByIdAsyncData, PostIoTplatformThingModelInfoFindByIdAsyncError, PostIoTplatformThingModelInfoFindByIdAsyncResponse, PostIoTplatformThingModelInfoFindByPlatformProductIdAsyncData, PostIoTplatformThingModelInfoFindByPlatformProductIdAsyncError, PostIoTplatformThingModelInfoFindByPlatformProductIdAsyncResponse, PostIoTplatformThingModelInfoCopyAnotherThingModelAsyncData, PostIoTplatformThingModelInfoCopyAnotherThingModelAsyncError, PostIoTplatformThingModelInfoCopyAnotherThingModelAsyncResponse, PostIoTplatformThingModelInfoCopyStandardThingModelData, PostIoTplatformThingModelInfoCopyStandardThingModelError, PostIoTplatformThingModelInfoCopyStandardThingModelResponse, PostIoTplatformThingModelInfoPageAsyncData, PostIoTplatformThingModelInfoPageAsyncError, PostIoTplatformThingModelInfoPageAsyncResponse, PostIoTplatformThingModelInfoStandardThingModelPageAsyncError, PostIoTplatformThingModelInfoStandardThingModelPageAsyncResponse, PostLanguagesAllError, PostLanguagesAllResponse, PostLanguagesPageData, PostLanguagesPageError, PostLanguagesPageResponse, PostLanguagesCreateData, PostLanguagesCreateError, PostLanguagesCreateResponse, PostLanguagesUpdateData, PostLanguagesUpdateError, PostLanguagesUpdateResponse, PostLanguagesDeleteData, PostLanguagesDeleteError, PostLanguagesDeleteResponse, PostLanguagesSetDefaultData, PostLanguagesSetDefaultError, PostLanguagesSetDefaultResponse, PostLanguageTextsAllResourceError, PostLanguageTextsAllResourceResponse, PostLanguageTextsPageData, PostLanguageTextsPageError, PostLanguageTextsPageResponse, PostLanguageTextsCreateData, PostLanguageTextsCreateError, PostLanguageTextsCreateResponse, PostLanguageTextsUpdateData, PostLanguageTextsUpdateError, PostLanguageTextsUpdateResponse, PostMenusUserMenuError, PostMenusUserMenuResponse, PostMenusPageData, PostMenusPageError, PostMenusPageResponse, PostMenusCreateData, PostMenusCreateError, PostMenusCreateResponse, PostMenusUpdateData, PostMenusUpdateError, PostMenusUpdateResponse, PostMenusDeleteData, PostMenusDeleteError, PostMenusDeleteResponse, PostMenusTreeError, PostMenusTreeResponse, PostNotificationNotificationPageData, PostNotificationNotificationPageError, PostNotificationNotificationPageResponse, PostNotificationNotificationSubscriptionPageData, PostNotificationNotificationSubscriptionPageError, PostNotificationNotificationSubscriptionPageResponse, PostNotificationDeleteData, PostNotificationDeleteError, PostNotificationDeleteResponse, PostNotificationSendCommonWarningMessageData, PostNotificationSendCommonWarningMessageError, PostNotificationSendCommonWarningMessageResponse, PostNotificationSendCommonInformationMessageData, PostNotificationSendCommonInformationMessageError, PostNotificationSendCommonInformationMessageResponse, PostNotificationSendCommonErrorMessageData, PostNotificationSendCommonErrorMessageError, PostNotificationSendCommonErrorMessageResponse, PostNotificationSendBroadCastWarningMessageData, PostNotificationSendBroadCastWarningMessageError, PostNotificationSendBroadCastWarningMessageResponse, PostNotificationSendBroadCastInformationMessageData, PostNotificationSendBroadCastInformationMessageError, PostNotificationSendBroadCastInformationMessageResponse, PostNotificationSendBroadCastErrorMessageData, PostNotificationSendBroadCastErrorMessageError, PostNotificationSendBroadCastErrorMessageResponse, PostNotificationReadData, PostNotificationReadError, PostNotificationReadResponse, PostNotificationBatchReadData, PostNotificationBatchReadError, PostNotificationBatchReadResponse, PostOneNetAccountInsertAsyncData, PostOneNetAccountInsertAsyncError, PostOneNetAccountInsertAsyncResponse, PostOneNetAccountModifyAsyncData, PostOneNetAccountModifyAsyncError, PostOneNetAccountModifyAsyncResponse, PostOneNetAccountDeleteAsyncData, PostOneNetAccountDeleteAsyncError, PostOneNetAccountDeleteAsyncResponse, PostOneNetAccountListAsyncData, PostOneNetAccountListAsyncError, PostOneNetAccountListAsyncResponse, PostOneNetProductInsertAsyncData, PostOneNetProductInsertAsyncError, PostOneNetProductInsertAsyncResponse, PostOneNetProductModifyAsyncData, PostOneNetProductModifyAsyncError, PostOneNetProductModifyAsyncResponse, PostOneNetProductDeleteAsyncData, PostOneNetProductDeleteAsyncError, PostOneNetProductDeleteAsyncResponse, PostOneNetProductGetAsyncData, PostOneNetProductGetAsyncError, PostOneNetProductGetAsyncResponse, PostOneNetProductProductStatusChangeAsyncData, PostOneNetProductProductStatusChangeAsyncError, PostOneNetProductProductStatusChangeAsyncResponse, PostOneNetProductUpdateThingModelAsyncData, PostOneNetProductUpdateThingModelAsyncError, PostOneNetProductUpdateThingModelAsyncResponse, PostOneNetProductListAsyncData, PostOneNetProductListAsyncError, PostOneNetProductListAsyncResponse, PostOneNetServiceReceivePlaintextDataChangeData, PostOneNetServiceReceivePlaintextDataChangeError, PostOneNetServiceReceivePlaintextDataChangeResponse, GetOneNetServiceReceivePlaintextDataChangeData, GetOneNetServiceReceivePlaintextDataChangeError, GetOneNetServiceReceivePlaintextDataChangeResponse, PostOneNetServiceReceiveCiphertextDataChangeData, PostOneNetServiceReceiveCiphertextDataChangeError, PostOneNetServiceReceiveCiphertextDataChangeResponse, GetOneNetServiceReceiveCiphertextDataChangeData, GetOneNetServiceReceiveCiphertextDataChangeError, GetOneNetServiceReceiveCiphertextDataChangeResponse, GetOneNetServiceCheckLocalMemroyData, GetOneNetServiceCheckLocalMemroyError, GetOneNetServiceCheckLocalMemroyResponse, PostOrganizationUnitsTreeError, PostOrganizationUnitsTreeResponse, PostOrganizationUnitsCreateData, PostOrganizationUnitsCreateError, PostOrganizationUnitsCreateResponse, PostOrganizationUnitsDeleteData, PostOrganizationUnitsDeleteError, PostOrganizationUnitsDeleteResponse, PostOrganizationUnitsUpdateData, PostOrganizationUnitsUpdateError, PostOrganizationUnitsUpdateResponse, PostOrganizationUnitsAddRoleToOrganizationUnitAsyncData, PostOrganizationUnitsAddRoleToOrganizationUnitAsyncError, PostOrganizationUnitsAddRoleToOrganizationUnitAsyncResponse, PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncData, PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncError, PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncResponse, PostOrganizationUnitsAddUserToOrganizationUnitData, PostOrganizationUnitsAddUserToOrganizationUnitError, PostOrganizationUnitsAddUserToOrganizationUnitResponse, PostOrganizationUnitsRemoveUserFromOrganizationUnitData, PostOrganizationUnitsRemoveUserFromOrganizationUnitError, PostOrganizationUnitsRemoveUserFromOrganizationUnitResponse, PostOrganizationUnitsGetUsersData, PostOrganizationUnitsGetUsersError, PostOrganizationUnitsGetUsersResponse, PostOrganizationUnitsGetRolesData, PostOrganizationUnitsGetRolesError, PostOrganizationUnitsGetRolesResponse, PostOrganizationUnitsGetUnAddUsersData, PostOrganizationUnitsGetUnAddUsersError, PostOrganizationUnitsGetUnAddUsersResponse, PostOrganizationUnitsGetUnAddRolesData, PostOrganizationUnitsGetUnAddRolesError, PostOrganizationUnitsGetUnAddRolesResponse, PostPermissionsTreeData, PostPermissionsTreeError, PostPermissionsTreeResponse, PostPermissionsUpdateData, PostPermissionsUpdateError, PostPermissionsUpdateResponse, PostRolesAllError, PostRolesAllResponse, PostRolesPageData, PostRolesPageError, PostRolesPageResponse, PostRolesCreateData, PostRolesCreateError, PostRolesCreateResponse, PostRolesUpdateData, PostRolesUpdateError, PostRolesUpdateResponse, PostRolesDeleteData, PostRolesDeleteError, PostRolesDeleteResponse, GetApiAppAbpProBasicApplicationConfigurationError, GetApiAppAbpProBasicApplicationConfigurationResponse, PostSettingsAllError, PostSettingsAllResponse, PostSettingsUpdateData, PostSettingsUpdateError, PostSettingsUpdateResponse, PostTableModelPacketInfoPageData, PostTableModelPacketInfoPageError, PostTableModelPacketInfoPageResponse, PostTableModelDeviceDataInfoPageData, PostTableModelDeviceDataInfoPageError, PostTableModelDeviceDataInfoPageResponse, PostTableModelCtWingLogInfoData, PostTableModelCtWingLogInfoError, PostTableModelCtWingLogInfoResponse, PostTableModelOneNetLogInfoData, PostTableModelOneNetLogInfoError, PostTableModelOneNetLogInfoResponse, PostTenantsFindData, PostTenantsFindError, PostTenantsFindResponse, PostTenantsPageData, PostTenantsPageError, PostTenantsPageResponse, PostTenantsCreateData, PostTenantsCreateError, PostTenantsCreateResponse, PostTenantsUpdateData, PostTenantsUpdateError, PostTenantsUpdateResponse, PostTenantsDeleteData, PostTenantsDeleteError, PostTenantsDeleteResponse, PostTenantsPageConnectionStringData, PostTenantsPageConnectionStringError, PostTenantsPageConnectionStringResponse, PostTenantsAddOrUpdateConnectionStringData, PostTenantsAddOrUpdateConnectionStringError, PostTenantsAddOrUpdateConnectionStringResponse, PostTenantsDeleteConnectionStringData, PostTenantsDeleteConnectionStringError, PostTenantsDeleteConnectionStringResponse, PostTextTemplatesPageData, PostTextTemplatesPageError, PostTextTemplatesPageResponse, PostTextTemplatesCreateData, PostTextTemplatesCreateError, PostTextTemplatesCreateResponse, PostTextTemplatesUpdateData, PostTextTemplatesUpdateError, PostTextTemplatesUpdateResponse, PostTextTemplatesDeleteData, PostTextTemplatesDeleteError, PostTextTemplatesDeleteResponse, PostTextTemplatesExportData, PostTextTemplatesExportError, PostTextTemplatesExportResponse, PostTreeModelDeviceDataInfoPageData, PostTreeModelDeviceDataInfoPageError, PostTreeModelDeviceDataInfoPageResponse, PostUsersPageData, PostUsersPageError, PostUsersPageResponse, PostUsersListData, PostUsersListError, PostUsersListResponse, PostUsersExportData, PostUsersExportError, PostUsersExportResponse, PostUsersCreateData, PostUsersCreateError, PostUsersCreateResponse, PostUsersUpdateData, PostUsersUpdateError, PostUsersUpdateResponse, PostUsersDeleteData, PostUsersDeleteError, PostUsersDeleteResponse, PostUsersRoleData, PostUsersRoleError, PostUsersRoleResponse, PostUsersChangePasswordData, PostUsersChangePasswordError, PostUsersChangePasswordResponse, PostUsersResetPasswordData, PostUsersResetPasswordError, PostUsersResetPasswordResponse, PostUsersLockData, PostUsersLockError, PostUsersLockResponse, PostUsersFindByUserNameData, PostUsersFindByUserNameError, PostUsersFindByUserNameResponse, PostUsersMyProfileError, PostUsersMyProfileResponse, PostUsersCanUseTwoFactorError, PostUsersCanUseTwoFactorResponse, PostUsersGetQrCodeError, PostUsersGetQrCodeResponse, PostUsersEnabledTwoFactorData, PostUsersEnabledTwoFactorError, PostUsersEnabledTwoFactorResponse, PostUsersDisabledTwoFactorData, PostUsersDisabledTwoFactorError, PostUsersDisabledTwoFactorResponse, PostUsersResetTwoFactorData, PostUsersResetTwoFactorError, PostUsersResetTwoFactorResponse, PostUsersNeedChangePasswordError, PostUsersNeedChangePasswordResponse, PostAggregationWorkshopReceiveWorkshopProductionInfoAsyncData, PostAggregationWorkshopReceiveWorkshopProductionInfoAsyncError, PostAggregationWorkshopReceiveWorkshopProductionInfoAsyncResponse, PostAggregationWorkshopGetProductListAsyncData, PostAggregationWorkshopGetProductListAsyncError, PostAggregationWorkshopGetProductListAsyncResponse } from './types.gen';
|
||
|
||
export const client = createClient(createConfig());
|
||
|
||
export const getApiAbpApiDefinition = <ThrowOnError extends boolean = false>(options?: Options<GetApiAbpApiDefinitionData, ThrowOnError>) => {
|
||
return (options?.client ?? client).get<GetApiAbpApiDefinitionResponse, GetApiAbpApiDefinitionError, ThrowOnError>({
|
||
...options,
|
||
url: '/api/abp/api-definition'
|
||
});
|
||
};
|
||
|
||
export const getApiAbpApplicationConfiguration = <ThrowOnError extends boolean = false>(options?: Options<GetApiAbpApplicationConfigurationData, ThrowOnError>) => {
|
||
return (options?.client ?? client).get<GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationConfigurationError, ThrowOnError>({
|
||
...options,
|
||
url: '/api/abp/application-configuration'
|
||
});
|
||
};
|
||
|
||
export const getApiAbpApplicationLocalization = <ThrowOnError extends boolean = false>(options?: Options<GetApiAbpApplicationLocalizationData, ThrowOnError>) => {
|
||
return (options?.client ?? client).get<GetApiAbpApplicationLocalizationResponse, GetApiAbpApplicationLocalizationError, ThrowOnError>({
|
||
...options,
|
||
url: '/api/abp/application-localization'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 登录
|
||
*/
|
||
export const postApiAppAccountLogin = <ThrowOnError extends boolean = false>(options?: Options<PostApiAppAccountLoginData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostApiAppAccountLoginResponse, PostApiAppAccountLoginError, ThrowOnError>({
|
||
...options,
|
||
url: '/api/app/account/login'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 2FA登录
|
||
*/
|
||
export const postApiAppAccountLogin2Fa = <ThrowOnError extends boolean = false>(options?: Options<PostApiAppAccountLogin2FaData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostApiAppAccountLogin2FaResponse, PostApiAppAccountLogin2FaError, ThrowOnError>({
|
||
...options,
|
||
url: '/api/app/account/login2FA'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 第三方扩展登录
|
||
*/
|
||
export const postApiAppAccountLoginOidc = <ThrowOnError extends boolean = false>(options?: Options<PostApiAppAccountLoginOidcData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostApiAppAccountLoginOidcResponse, PostApiAppAccountLoginOidcError, ThrowOnError>({
|
||
...options,
|
||
url: '/api/app/account/login-oidc'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 刷新token
|
||
*/
|
||
export const postApiAppAccountRefreshToken = <ThrowOnError extends boolean = false>(options?: Options<PostApiAppAccountRefreshTokenData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostApiAppAccountRefreshTokenResponse, PostApiAppAccountRefreshTokenError, ThrowOnError>({
|
||
...options,
|
||
url: '/api/app/account/refresh-token'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 登出
|
||
*/
|
||
export const postApiAppAccountLogout = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostApiAppAccountLogoutResponse, PostApiAppAccountLogoutError, ThrowOnError>({
|
||
...options,
|
||
url: '/api/app/account/logout'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 分页获取审计日志信息
|
||
*/
|
||
export const postAuditLogsPage = <ThrowOnError extends boolean = false>(options?: Options<PostAuditLogsPageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostAuditLogsPageResponse, PostAuditLogsPageError, ThrowOnError>({
|
||
...options,
|
||
url: '/AuditLogs/page'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 接收业务系统指令信息
|
||
*/
|
||
export const postAggregationBusinessReceiveCommandInfoAsync = <ThrowOnError extends boolean = false>(options?: Options<PostAggregationBusinessReceiveCommandInfoAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostAggregationBusinessReceiveCommandInfoAsyncResponse, PostAggregationBusinessReceiveCommandInfoAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/Aggregation/Business/ReceiveCommandInfoAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 业务系统批量查询设备数据
|
||
*/
|
||
export const postAggregationBusinessBatchQueryDeviceDataInfoAsync = <ThrowOnError extends boolean = false>(options?: Options<PostAggregationBusinessBatchQueryDeviceDataInfoAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostAggregationBusinessBatchQueryDeviceDataInfoAsyncResponse, PostAggregationBusinessBatchQueryDeviceDataInfoAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/Aggregation/Business/BatchQueryDeviceDataInfoAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 业务系统批量新增设备数据
|
||
*/
|
||
export const postAggregationBusinessBatchCreateDeviceInfoAsync = <ThrowOnError extends boolean = false>(options?: Options<PostAggregationBusinessBatchCreateDeviceInfoAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostAggregationBusinessBatchCreateDeviceInfoAsyncResponse, PostAggregationBusinessBatchCreateDeviceInfoAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/Aggregation/Business/BatchCreateDeviceInfoAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 根据type名称获取下拉框数据
|
||
*/
|
||
export const getCommonGetSelectList = <ThrowOnError extends boolean = false>(options?: Options<GetCommonGetSelectListData, ThrowOnError>) => {
|
||
return (options?.client ?? client).get<GetCommonGetSelectListResponse, GetCommonGetSelectListError, ThrowOnError>({
|
||
...options,
|
||
url: '/Common/GetSelectList'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 添加CTWing账号
|
||
*/
|
||
export const postCtWingAccountInsertAsync = <ThrowOnError extends boolean = false>(options?: Options<PostCtWingAccountInsertAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostCtWingAccountInsertAsyncResponse, PostCtWingAccountInsertAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/CTWingAccount/InsertAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 修改CTWing账号
|
||
*/
|
||
export const postCtWingAccountModifyAsync = <ThrowOnError extends boolean = false>(options?: Options<PostCtWingAccountModifyAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostCtWingAccountModifyAsyncResponse, PostCtWingAccountModifyAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/CTWingAccount/ModifyAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 删除CTWing账号
|
||
*/
|
||
export const postCtWingAccountDeleteAsync = <ThrowOnError extends boolean = false>(options?: Options<PostCtWingAccountDeleteAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostCtWingAccountDeleteAsyncResponse, PostCtWingAccountDeleteAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/CTWingAccount/DeleteAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 获取CTWing账号列表
|
||
*/
|
||
export const postCtWingAccountListAsync = <ThrowOnError extends boolean = false>(options?: Options<PostCtWingAccountListAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostCtWingAccountListAsyncResponse, PostCtWingAccountListAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/CTWingAccount/ListAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 添加CTWing产品
|
||
*/
|
||
export const postCtWingProductInsertAsync = <ThrowOnError extends boolean = false>(options?: Options<PostCtWingProductInsertAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostCtWingProductInsertAsyncResponse, PostCtWingProductInsertAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/CTWingProduct/InsertAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 修改CTWing产品
|
||
*/
|
||
export const postCtWingProductModifyAsync = <ThrowOnError extends boolean = false>(options?: Options<PostCtWingProductModifyAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostCtWingProductModifyAsyncResponse, PostCtWingProductModifyAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/CTWingProduct/ModifyAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 删除CTWing产品
|
||
*/
|
||
export const postCtWingProductDeleteAsync = <ThrowOnError extends boolean = false>(options?: Options<PostCtWingProductDeleteAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostCtWingProductDeleteAsyncResponse, PostCtWingProductDeleteAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/CTWingProduct/DeleteAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 获取CTWing产品
|
||
*/
|
||
export const postCtWingProductGetAsync = <ThrowOnError extends boolean = false>(options?: Options<PostCtWingProductGetAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostCtWingProductGetAsyncResponse, PostCtWingProductGetAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/CTWingProduct/GetAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 产品状态变更
|
||
*/
|
||
export const postCtWingProductProductStatusChangeAsync = <ThrowOnError extends boolean = false>(options?: Options<PostCtWingProductProductStatusChangeAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostCtWingProductProductStatusChangeAsyncResponse, PostCtWingProductProductStatusChangeAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/CTWingProduct/ProductStatusChangeAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 获取CTWing产品列表
|
||
*/
|
||
export const postCtWingProductListAsync = <ThrowOnError extends boolean = false>(options?: Options<PostCtWingProductListAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostCtWingProductListAsyncResponse, PostCtWingProductListAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/CTWingProduct/ListAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 设备上下线通知接收订阅
|
||
*/
|
||
export const postCtWingServiceReceiveStatusChange = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostCtWingServiceReceiveStatusChangeResponse, PostCtWingServiceReceiveStatusChangeError, ThrowOnError>({
|
||
...options,
|
||
url: '/CTWingService/ReceiveStatusChange'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 设备数据变化通知接收订阅
|
||
*/
|
||
export const postCtWingServiceReceiveDataChange = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostCtWingServiceReceiveDataChangeResponse, PostCtWingServiceReceiveDataChangeError, ThrowOnError>({
|
||
...options,
|
||
url: '/CTWingService/ReceiveDataChange'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 设备指令响应通知接收订阅
|
||
*/
|
||
export const postCtWingServiceReceiveCommandChange = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostCtWingServiceReceiveCommandChangeResponse, PostCtWingServiceReceiveCommandChangeError, ThrowOnError>({
|
||
...options,
|
||
url: '/CTWingService/ReceiveCommandChange'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 设备事件上报通知接收订阅
|
||
*/
|
||
export const postCtWingServiceReceiveEventChange = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostCtWingServiceReceiveEventChangeResponse, PostCtWingServiceReceiveEventChangeError, ThrowOnError>({
|
||
...options,
|
||
url: '/CTWingService/ReceiveEventChange'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* TCP创建删除设备通知接收订阅
|
||
*/
|
||
export const postCtWingServiceReceiveDeviceChange = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostCtWingServiceReceiveDeviceChangeResponse, PostCtWingServiceReceiveDeviceChangeError, ThrowOnError>({
|
||
...options,
|
||
url: '/CTWingService/ReceiveDeviceChange'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 分页字典类型
|
||
*/
|
||
export const postDataDictionaryPage = <ThrowOnError extends boolean = false>(options?: Options<PostDataDictionaryPageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDataDictionaryPageResponse, PostDataDictionaryPageError, ThrowOnError>({
|
||
...options,
|
||
url: '/DataDictionary/page'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 分页字典明细
|
||
*/
|
||
export const postDataDictionaryPageDetail = <ThrowOnError extends boolean = false>(options?: Options<PostDataDictionaryPageDetailData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDataDictionaryPageDetailResponse, PostDataDictionaryPageDetailError, ThrowOnError>({
|
||
...options,
|
||
url: '/DataDictionary/pageDetail'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 下拉分页字典明细
|
||
*/
|
||
export const postDataDictionarySelectDetail = <ThrowOnError extends boolean = false>(options?: Options<PostDataDictionarySelectDetailData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDataDictionarySelectDetailResponse, PostDataDictionarySelectDetailError, ThrowOnError>({
|
||
...options,
|
||
url: '/DataDictionary/selectDetail'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 创建字典类型
|
||
*/
|
||
export const postDataDictionaryCreate = <ThrowOnError extends boolean = false>(options?: Options<PostDataDictionaryCreateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDataDictionaryCreateResponse, PostDataDictionaryCreateError, ThrowOnError>({
|
||
...options,
|
||
url: '/DataDictionary/create'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 创建字典明细
|
||
*/
|
||
export const postDataDictionaryCreateDetail = <ThrowOnError extends boolean = false>(options?: Options<PostDataDictionaryCreateDetailData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDataDictionaryCreateDetailResponse, PostDataDictionaryCreateDetailError, ThrowOnError>({
|
||
...options,
|
||
url: '/DataDictionary/createDetail'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 设置字典明细状态
|
||
*/
|
||
export const postDataDictionaryStatus = <ThrowOnError extends boolean = false>(options?: Options<PostDataDictionaryStatusData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDataDictionaryStatusResponse, PostDataDictionaryStatusError, ThrowOnError>({
|
||
...options,
|
||
url: '/DataDictionary/status'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 更新字典明细
|
||
*/
|
||
export const postDataDictionaryUpdateDetail = <ThrowOnError extends boolean = false>(options?: Options<PostDataDictionaryUpdateDetailData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDataDictionaryUpdateDetailResponse, PostDataDictionaryUpdateDetailError, ThrowOnError>({
|
||
...options,
|
||
url: '/DataDictionary/updateDetail'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 删除字典明细
|
||
*/
|
||
export const postDataDictionaryDelete = <ThrowOnError extends boolean = false>(options?: Options<PostDataDictionaryDeleteData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDataDictionaryDeleteResponse, PostDataDictionaryDeleteError, ThrowOnError>({
|
||
...options,
|
||
url: '/DataDictionary/delete'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 删除字典类型
|
||
*/
|
||
export const postDataDictionaryDeleteDataDictionaryType = <ThrowOnError extends boolean = false>(options?: Options<PostDataDictionaryDeleteDataDictionaryTypeData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDataDictionaryDeleteDataDictionaryTypeResponse, PostDataDictionaryDeleteDataDictionaryTypeError, ThrowOnError>({
|
||
...options,
|
||
url: '/DataDictionary/deleteDataDictionaryType'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 修改字典类型
|
||
*/
|
||
export const postDataDictionaryUpdate = <ThrowOnError extends boolean = false>(options?: Options<PostDataDictionaryUpdateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDataDictionaryUpdateResponse, PostDataDictionaryUpdateError, ThrowOnError>({
|
||
...options,
|
||
url: '/DataDictionary/update'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 创建设备信息
|
||
*/
|
||
export const postAggregationDeviceCreateAsync = <ThrowOnError extends boolean = false>(options?: Options<PostAggregationDeviceCreateAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostAggregationDeviceCreateAsyncResponse, PostAggregationDeviceCreateAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/Aggregation/Device/CreateAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 批量创建设备信息
|
||
*/
|
||
export const postAggregationDeviceBatchCreateAsync = <ThrowOnError extends boolean = false>(options?: Options<PostAggregationDeviceBatchCreateAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostAggregationDeviceBatchCreateAsyncResponse, PostAggregationDeviceBatchCreateAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/Aggregation/Device/BatchCreateAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 删除设备信息
|
||
*/
|
||
export const postAggregationDeviceDeleteAsync = <ThrowOnError extends boolean = false>(options?: Options<PostAggregationDeviceDeleteAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostAggregationDeviceDeleteAsyncResponse, PostAggregationDeviceDeleteAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/Aggregation/Device/DeleteAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 根据设备ID查询设备信息
|
||
*/
|
||
export const postAggregationDeviceFindByIdAsync = <ThrowOnError extends boolean = false>(options?: Options<PostAggregationDeviceFindByIdAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostAggregationDeviceFindByIdAsyncResponse, PostAggregationDeviceFindByIdAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/Aggregation/Device/FindByIdAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 重新推送设备信息到物联网平台
|
||
*/
|
||
export const postAggregationDeviceRepushDeviceInfoToIoTplatform = <ThrowOnError extends boolean = false>(options?: Options<PostAggregationDeviceRepushDeviceInfoToIoTplatformData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostAggregationDeviceRepushDeviceInfoToIoTplatformResponse, PostAggregationDeviceRepushDeviceInfoToIoTplatformError, ThrowOnError>({
|
||
...options,
|
||
url: '/Aggregation/Device/RepushDeviceInfoToIoTPlatform'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 发送设备指令信息
|
||
*/
|
||
export const postAggregationDeviceDeviceCommandForApiAsync = <ThrowOnError extends boolean = false>(options?: Options<PostAggregationDeviceDeviceCommandForApiAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostAggregationDeviceDeviceCommandForApiAsyncResponse, PostAggregationDeviceDeviceCommandForApiAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/Aggregation/Device/DeviceCommandForApiAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 根据设备地址查询设备信息
|
||
*/
|
||
export const postDeviceInfoFindByDeviceAddress = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceInfoFindByDeviceAddressData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceInfoFindByDeviceAddressResponse, PostDeviceInfoFindByDeviceAddressError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceInfo/FindByDeviceAddress'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 分页查询设备信息
|
||
*/
|
||
export const postDeviceInfoPage = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceInfoPageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceInfoPageResponse, PostDeviceInfoPageError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceInfo/Page'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 缓存设备数据
|
||
*/
|
||
export const postDeviceInfoCacheDeviceDataToRedis = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceInfoCacheDeviceDataToRedisResponse, PostDeviceInfoCacheDeviceDataToRedisError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceInfo/CacheDeviceDataToRedis'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 绑定设备端物模型
|
||
*/
|
||
export const postDeviceInfoBindingDeviceThingModel = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceInfoBindingDeviceThingModelData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceInfoBindingDeviceThingModelResponse, PostDeviceInfoBindingDeviceThingModelError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceInfo/BindingDeviceThingModel'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 创建物模型信息
|
||
*/
|
||
export const postDeviceThingModelManagementCreateAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementCreateAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementCreateAsyncResponse, PostDeviceThingModelManagementCreateAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/CreateAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 更新物模型信息
|
||
*/
|
||
export const postDeviceThingModelManagementUpdateAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementUpdateAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementUpdateAsyncResponse, PostDeviceThingModelManagementUpdateAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/UpdateAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 删除物模型信息
|
||
*/
|
||
export const postDeviceThingModelManagementDeleteAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementDeleteAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementDeleteAsyncResponse, PostDeviceThingModelManagementDeleteAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/DeleteAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 根据物模型ID查询物模型信息
|
||
*/
|
||
export const postDeviceThingModelManagementFindByIdAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementFindByIdAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementFindByIdAsyncResponse, PostDeviceThingModelManagementFindByIdAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/FindByIdAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 根据物模型ID查询物模型所有信息
|
||
*/
|
||
export const postDeviceThingModelManagementGetDeviceThingModelAllInfoByIdAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementGetDeviceThingModelAllInfoByIdAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementGetDeviceThingModelAllInfoByIdAsyncResponse, PostDeviceThingModelManagementGetDeviceThingModelAllInfoByIdAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/GetDeviceThingModelAllInfoByIdAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 根据物模型ID构建解析脚本并编译解析脚本
|
||
*/
|
||
export const postDeviceThingModelManagementBuildAnalysisScriptByIdAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementBuildAnalysisScriptByIdAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementBuildAnalysisScriptByIdAsyncResponse, PostDeviceThingModelManagementBuildAnalysisScriptByIdAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/BuildAnalysisScriptByIdAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 根据物模型ID更新解析脚本信息并编译解析脚本,用于手写脚本更新
|
||
*/
|
||
export const postDeviceThingModelManagementBuildAnalysisScriptAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementBuildAnalysisScriptAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementBuildAnalysisScriptAsyncResponse, PostDeviceThingModelManagementBuildAnalysisScriptAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/BuildAnalysisScriptAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 根据物模型ID将解析脚本更新Redis并发布订阅
|
||
*/
|
||
export const postDeviceThingModelManagementUpdateAnalysisScriptByIdAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementUpdateAnalysisScriptByIdAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementUpdateAnalysisScriptByIdAsyncResponse, PostDeviceThingModelManagementUpdateAnalysisScriptByIdAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/UpdateAnalysisScriptByIdAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 解析脚本测试
|
||
*/
|
||
export const postDeviceThingModelManagementMessageAnalysisTestAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementMessageAnalysisTestAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementMessageAnalysisTestAsyncResponse, PostDeviceThingModelManagementMessageAnalysisTestAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/MessageAnalysisTestAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 根据平台产品ID查询物模型信息
|
||
*/
|
||
export const postDeviceThingModelManagementFindByPlatformProductIdAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementFindByPlatformProductIdAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementFindByPlatformProductIdAsyncResponse, PostDeviceThingModelManagementFindByPlatformProductIdAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/FindByPlatformProductIdAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 复制已存在设备端物模型信息
|
||
*/
|
||
export const postDeviceThingModelManagementCopyAnotherDeviceThingModelAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementCopyAnotherDeviceThingModelAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementCopyAnotherDeviceThingModelAsyncResponse, PostDeviceThingModelManagementCopyAnotherDeviceThingModelAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/CopyAnotherDeviceThingModelAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 通过平台端物模型快速创建设备端物模型信息
|
||
*/
|
||
export const postDeviceThingModelManagementCopyIoTplatformThingModelToDeviceAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementCopyIoTplatformThingModelToDeviceAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementCopyIoTplatformThingModelToDeviceAsyncResponse, PostDeviceThingModelManagementCopyIoTplatformThingModelToDeviceAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/CopyIoTPlatformThingModelToDeviceAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 分页查询物模型信息
|
||
*/
|
||
export const postDeviceThingModelManagementPageAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementPageAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementPageAsyncResponse, PostDeviceThingModelManagementPageAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/PageAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 创建设备物模型属性
|
||
*/
|
||
export const postDeviceThingModelManagementPropertyCreateAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementPropertyCreateAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementPropertyCreateAsyncResponse, PostDeviceThingModelManagementPropertyCreateAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/PropertyCreateAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 更新设备物模型属性
|
||
*/
|
||
export const postDeviceThingModelManagementPropertyUpdateAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementPropertyUpdateAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementPropertyUpdateAsyncResponse, PostDeviceThingModelManagementPropertyUpdateAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/PropertyUpdateAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 删除设备物模型属性
|
||
*/
|
||
export const postDeviceThingModelManagementPropertyDeleteAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementPropertyDeleteAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementPropertyDeleteAsyncResponse, PostDeviceThingModelManagementPropertyDeleteAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/PropertyDeleteAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 根据设备物模型属性ID查询设备物模型属性信息
|
||
*/
|
||
export const postDeviceThingModelManagementPropertyFindByIdAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementPropertyFindByIdAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementPropertyFindByIdAsyncResponse, PostDeviceThingModelManagementPropertyFindByIdAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/PropertyFindByIdAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 分页查询设备物模型属性信息
|
||
*/
|
||
export const postDeviceThingModelManagementPropertyPageAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementPropertyPageAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementPropertyPageAsyncResponse, PostDeviceThingModelManagementPropertyPageAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/PropertyPageAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 创建设备物模型指令
|
||
*/
|
||
export const postDeviceThingModelManagementCommandCreateAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementCommandCreateAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementCommandCreateAsyncResponse, PostDeviceThingModelManagementCommandCreateAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/CommandCreateAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 更新设备物模型指令
|
||
*/
|
||
export const postDeviceThingModelManagementCommandUpdateAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementCommandUpdateAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementCommandUpdateAsyncResponse, PostDeviceThingModelManagementCommandUpdateAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/CommandUpdateAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 删除设备物模型指令
|
||
*/
|
||
export const postDeviceThingModelManagementCommandDeleteAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementCommandDeleteAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementCommandDeleteAsyncResponse, PostDeviceThingModelManagementCommandDeleteAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/CommandDeleteAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 根据设备物模型指令ID查询设备物模型指令信息
|
||
*/
|
||
export const postDeviceThingModelManagementCommandFindByIdAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementCommandFindByIdAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementCommandFindByIdAsyncResponse, PostDeviceThingModelManagementCommandFindByIdAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/CommandFindByIdAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 分页查询设备物模型指令信息
|
||
*/
|
||
export const postDeviceThingModelManagementCommandPageAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementCommandPageAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementCommandPageAsyncResponse, PostDeviceThingModelManagementCommandPageAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/CommandPageAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 缓存指定设备端物模型信息到Redis
|
||
*/
|
||
export const postDeviceThingModelManagementCacheDeviceThingModelToRedisAsync = <ThrowOnError extends boolean = false>(options?: Options<PostDeviceThingModelManagementCacheDeviceThingModelToRedisAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementCacheDeviceThingModelToRedisAsyncResponse, PostDeviceThingModelManagementCacheDeviceThingModelToRedisAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/CacheDeviceThingModelToRedisAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 缓存所有设备端物模型信息到Redis
|
||
*/
|
||
export const postDeviceThingModelManagementCacheAllDeviceThingModelToRedisAsync = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostDeviceThingModelManagementCacheAllDeviceThingModelToRedisAsyncResponse, PostDeviceThingModelManagementCacheAllDeviceThingModelToRedisAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/DeviceThingModelManagement/CacheAllDeviceThingModelToRedisAsync'
|
||
});
|
||
};
|
||
|
||
export const postFeaturesList = <ThrowOnError extends boolean = false>(options?: Options<PostFeaturesListData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostFeaturesListResponse, PostFeaturesListError, ThrowOnError>({
|
||
...options,
|
||
url: '/Features/list'
|
||
});
|
||
};
|
||
|
||
export const postFeaturesUpdate = <ThrowOnError extends boolean = false>(options?: Options<PostFeaturesUpdateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostFeaturesUpdateResponse, PostFeaturesUpdateError, ThrowOnError>({
|
||
...options,
|
||
url: '/Features/update'
|
||
});
|
||
};
|
||
|
||
export const postFeaturesDelete = <ThrowOnError extends boolean = false>(options?: Options<PostFeaturesDeleteData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostFeaturesDeleteResponse, PostFeaturesDeleteError, ThrowOnError>({
|
||
...options,
|
||
url: '/Features/delete'
|
||
});
|
||
};
|
||
|
||
export const postFilesPage = <ThrowOnError extends boolean = false>(options?: Options<PostFilesPageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostFilesPageResponse, PostFilesPageError, ThrowOnError>({
|
||
...options,
|
||
url: '/Files/Page'
|
||
});
|
||
};
|
||
|
||
export const postFilesUpload = <ThrowOnError extends boolean = false>(options?: Options<PostFilesUploadData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostFilesUploadResponse, PostFilesUploadError, ThrowOnError>({
|
||
...options,
|
||
...formDataBodySerializer,
|
||
headers: {
|
||
'Content-Type': null,
|
||
...options?.headers
|
||
},
|
||
url: '/Files/Upload'
|
||
});
|
||
};
|
||
|
||
export const postFilesDelete = <ThrowOnError extends boolean = false>(options?: Options<PostFilesDeleteData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostFilesDeleteResponse, PostFilesDeleteError, ThrowOnError>({
|
||
...options,
|
||
url: '/Files/Delete'
|
||
});
|
||
};
|
||
|
||
export const postFilesDownload = <ThrowOnError extends boolean = false>(options?: Options<PostFilesDownloadData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostFilesDownloadResponse, PostFilesDownloadError, ThrowOnError>({
|
||
...options,
|
||
url: '/Files/Download'
|
||
});
|
||
};
|
||
|
||
export const postIdentitySecurityLogsPage = <ThrowOnError extends boolean = false>(options?: Options<PostIdentitySecurityLogsPageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostIdentitySecurityLogsPageResponse, PostIdentitySecurityLogsPageError, ThrowOnError>({
|
||
...options,
|
||
url: '/IdentitySecurityLogs/page'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 获取平台产品信息
|
||
*/
|
||
export const postAggregationIoTplatformGetIoTplatformProductInfoAsync = <ThrowOnError extends boolean = false>(options?: Options<PostAggregationIoTplatformGetIoTplatformProductInfoAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostAggregationIoTplatformGetIoTplatformProductInfoAsyncResponse, PostAggregationIoTplatformGetIoTplatformProductInfoAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/Aggregation/IoTPlatform/GetIoTPlatformProductInfoAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 获取平台产品物模型属性信息
|
||
*/
|
||
export const postAggregationIoTplatformGetIoTplatformProductPropertyInfoAsync = <ThrowOnError extends boolean = false>(options?: Options<PostAggregationIoTplatformGetIoTplatformProductPropertyInfoAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostAggregationIoTplatformGetIoTplatformProductPropertyInfoAsyncResponse, PostAggregationIoTplatformGetIoTplatformProductPropertyInfoAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/Aggregation/IoTPlatform/GetIoTPlatformProductPropertyInfoAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 创建物模型信息
|
||
*/
|
||
export const postIoTplatformThingModelInfoCreateAsync = <ThrowOnError extends boolean = false>(options?: Options<PostIoTplatformThingModelInfoCreateAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostIoTplatformThingModelInfoCreateAsyncResponse, PostIoTplatformThingModelInfoCreateAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/IoTPlatformThingModelInfo/CreateAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 更新物模型信息
|
||
*/
|
||
export const postIoTplatformThingModelInfoUpdateAsync = <ThrowOnError extends boolean = false>(options?: Options<PostIoTplatformThingModelInfoUpdateAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostIoTplatformThingModelInfoUpdateAsyncResponse, PostIoTplatformThingModelInfoUpdateAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/IoTPlatformThingModelInfo/UpdateAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 删除物模型信息
|
||
*/
|
||
export const postIoTplatformThingModelInfoDeleteAsync = <ThrowOnError extends boolean = false>(options?: Options<PostIoTplatformThingModelInfoDeleteAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostIoTplatformThingModelInfoDeleteAsyncResponse, PostIoTplatformThingModelInfoDeleteAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/IoTPlatformThingModelInfo/DeleteAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 根据物模型ID查询物模型信息
|
||
*/
|
||
export const postIoTplatformThingModelInfoFindByIdAsync = <ThrowOnError extends boolean = false>(options?: Options<PostIoTplatformThingModelInfoFindByIdAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostIoTplatformThingModelInfoFindByIdAsyncResponse, PostIoTplatformThingModelInfoFindByIdAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/IoTPlatformThingModelInfo/FindByIdAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 根据平台产品ID查询物模型信息
|
||
*/
|
||
export const postIoTplatformThingModelInfoFindByPlatformProductIdAsync = <ThrowOnError extends boolean = false>(options?: Options<PostIoTplatformThingModelInfoFindByPlatformProductIdAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostIoTplatformThingModelInfoFindByPlatformProductIdAsyncResponse, PostIoTplatformThingModelInfoFindByPlatformProductIdAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/IoTPlatformThingModelInfo/FindByPlatformProductIdAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 复制已存在产品设备物模型信息
|
||
*/
|
||
export const postIoTplatformThingModelInfoCopyAnotherThingModelAsync = <ThrowOnError extends boolean = false>(options?: Options<PostIoTplatformThingModelInfoCopyAnotherThingModelAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostIoTplatformThingModelInfoCopyAnotherThingModelAsyncResponse, PostIoTplatformThingModelInfoCopyAnotherThingModelAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/IoTPlatformThingModelInfo/CopyAnotherThingModelAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 复制创建标准物模型信息
|
||
*/
|
||
export const postIoTplatformThingModelInfoCopyStandardThingModel = <ThrowOnError extends boolean = false>(options?: Options<PostIoTplatformThingModelInfoCopyStandardThingModelData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostIoTplatformThingModelInfoCopyStandardThingModelResponse, PostIoTplatformThingModelInfoCopyStandardThingModelError, ThrowOnError>({
|
||
...options,
|
||
url: '/IoTPlatformThingModelInfo/CopyStandardThingModel'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 分页查询物模型信息
|
||
*/
|
||
export const postIoTplatformThingModelInfoPageAsync = <ThrowOnError extends boolean = false>(options?: Options<PostIoTplatformThingModelInfoPageAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostIoTplatformThingModelInfoPageAsyncResponse, PostIoTplatformThingModelInfoPageAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/IoTPlatformThingModelInfo/PageAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 获取所有的标准物模型信息
|
||
*/
|
||
export const postIoTplatformThingModelInfoStandardThingModelPageAsync = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostIoTplatformThingModelInfoStandardThingModelPageAsyncResponse, PostIoTplatformThingModelInfoStandardThingModelPageAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/IoTPlatformThingModelInfo/StandardThingModelPageAsync'
|
||
});
|
||
};
|
||
|
||
export const postLanguagesAll = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostLanguagesAllResponse, PostLanguagesAllError, ThrowOnError>({
|
||
...options,
|
||
url: '/Languages/All'
|
||
});
|
||
};
|
||
|
||
export const postLanguagesPage = <ThrowOnError extends boolean = false>(options?: Options<PostLanguagesPageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostLanguagesPageResponse, PostLanguagesPageError, ThrowOnError>({
|
||
...options,
|
||
url: '/Languages/Page'
|
||
});
|
||
};
|
||
|
||
export const postLanguagesCreate = <ThrowOnError extends boolean = false>(options?: Options<PostLanguagesCreateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostLanguagesCreateResponse, PostLanguagesCreateError, ThrowOnError>({
|
||
...options,
|
||
url: '/Languages/Create'
|
||
});
|
||
};
|
||
|
||
export const postLanguagesUpdate = <ThrowOnError extends boolean = false>(options?: Options<PostLanguagesUpdateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostLanguagesUpdateResponse, PostLanguagesUpdateError, ThrowOnError>({
|
||
...options,
|
||
url: '/Languages/Update'
|
||
});
|
||
};
|
||
|
||
export const postLanguagesDelete = <ThrowOnError extends boolean = false>(options?: Options<PostLanguagesDeleteData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostLanguagesDeleteResponse, PostLanguagesDeleteError, ThrowOnError>({
|
||
...options,
|
||
url: '/Languages/Delete'
|
||
});
|
||
};
|
||
|
||
export const postLanguagesSetDefault = <ThrowOnError extends boolean = false>(options?: Options<PostLanguagesSetDefaultData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostLanguagesSetDefaultResponse, PostLanguagesSetDefaultError, ThrowOnError>({
|
||
...options,
|
||
url: '/Languages/SetDefault'
|
||
});
|
||
};
|
||
|
||
export const postLanguageTextsAllResource = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostLanguageTextsAllResourceResponse, PostLanguageTextsAllResourceError, ThrowOnError>({
|
||
...options,
|
||
url: '/LanguageTexts/AllResource'
|
||
});
|
||
};
|
||
|
||
export const postLanguageTextsPage = <ThrowOnError extends boolean = false>(options?: Options<PostLanguageTextsPageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostLanguageTextsPageResponse, PostLanguageTextsPageError, ThrowOnError>({
|
||
...options,
|
||
url: '/LanguageTexts/Page'
|
||
});
|
||
};
|
||
|
||
export const postLanguageTextsCreate = <ThrowOnError extends boolean = false>(options?: Options<PostLanguageTextsCreateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostLanguageTextsCreateResponse, PostLanguageTextsCreateError, ThrowOnError>({
|
||
...options,
|
||
url: '/LanguageTexts/Create'
|
||
});
|
||
};
|
||
|
||
export const postLanguageTextsUpdate = <ThrowOnError extends boolean = false>(options?: Options<PostLanguageTextsUpdateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostLanguageTextsUpdateResponse, PostLanguageTextsUpdateError, ThrowOnError>({
|
||
...options,
|
||
url: '/LanguageTexts/Update'
|
||
});
|
||
};
|
||
|
||
export const postMenusUserMenu = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostMenusUserMenuResponse, PostMenusUserMenuError, ThrowOnError>({
|
||
...options,
|
||
url: '/Menus/UserMenu'
|
||
});
|
||
};
|
||
|
||
export const postMenusPage = <ThrowOnError extends boolean = false>(options?: Options<PostMenusPageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostMenusPageResponse, PostMenusPageError, ThrowOnError>({
|
||
...options,
|
||
url: '/Menus/Page'
|
||
});
|
||
};
|
||
|
||
export const postMenusCreate = <ThrowOnError extends boolean = false>(options?: Options<PostMenusCreateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostMenusCreateResponse, PostMenusCreateError, ThrowOnError>({
|
||
...options,
|
||
url: '/Menus/Create'
|
||
});
|
||
};
|
||
|
||
export const postMenusUpdate = <ThrowOnError extends boolean = false>(options?: Options<PostMenusUpdateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostMenusUpdateResponse, PostMenusUpdateError, ThrowOnError>({
|
||
...options,
|
||
url: '/Menus/Update'
|
||
});
|
||
};
|
||
|
||
export const postMenusDelete = <ThrowOnError extends boolean = false>(options?: Options<PostMenusDeleteData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostMenusDeleteResponse, PostMenusDeleteError, ThrowOnError>({
|
||
...options,
|
||
url: '/Menus/Delete'
|
||
});
|
||
};
|
||
|
||
export const postMenusTree = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostMenusTreeResponse, PostMenusTreeError, ThrowOnError>({
|
||
...options,
|
||
url: '/Menus/Tree'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 分页获取文本消息
|
||
*/
|
||
export const postNotificationNotificationPage = <ThrowOnError extends boolean = false>(options?: Options<PostNotificationNotificationPageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostNotificationNotificationPageResponse, PostNotificationNotificationPageError, ThrowOnError>({
|
||
...options,
|
||
url: '/Notification/NotificationPage'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 分页获取广播消息已读人数
|
||
*/
|
||
export const postNotificationNotificationSubscriptionPage = <ThrowOnError extends boolean = false>(options?: Options<PostNotificationNotificationSubscriptionPageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostNotificationNotificationSubscriptionPageResponse, PostNotificationNotificationSubscriptionPageError, ThrowOnError>({
|
||
...options,
|
||
url: '/Notification/NotificationSubscriptionPage'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 删除消息
|
||
*/
|
||
export const postNotificationDelete = <ThrowOnError extends boolean = false>(options?: Options<PostNotificationDeleteData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostNotificationDeleteResponse, PostNotificationDeleteError, ThrowOnError>({
|
||
...options,
|
||
url: '/Notification/Delete'
|
||
});
|
||
};
|
||
|
||
export const postNotificationSendCommonWarningMessage = <ThrowOnError extends boolean = false>(options?: Options<PostNotificationSendCommonWarningMessageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostNotificationSendCommonWarningMessageResponse, PostNotificationSendCommonWarningMessageError, ThrowOnError>({
|
||
...options,
|
||
url: '/Notification/SendCommonWarningMessage'
|
||
});
|
||
};
|
||
|
||
export const postNotificationSendCommonInformationMessage = <ThrowOnError extends boolean = false>(options?: Options<PostNotificationSendCommonInformationMessageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostNotificationSendCommonInformationMessageResponse, PostNotificationSendCommonInformationMessageError, ThrowOnError>({
|
||
...options,
|
||
url: '/Notification/SendCommonInformationMessage'
|
||
});
|
||
};
|
||
|
||
export const postNotificationSendCommonErrorMessage = <ThrowOnError extends boolean = false>(options?: Options<PostNotificationSendCommonErrorMessageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostNotificationSendCommonErrorMessageResponse, PostNotificationSendCommonErrorMessageError, ThrowOnError>({
|
||
...options,
|
||
url: '/Notification/SendCommonErrorMessage'
|
||
});
|
||
};
|
||
|
||
export const postNotificationSendBroadCastWarningMessage = <ThrowOnError extends boolean = false>(options?: Options<PostNotificationSendBroadCastWarningMessageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostNotificationSendBroadCastWarningMessageResponse, PostNotificationSendBroadCastWarningMessageError, ThrowOnError>({
|
||
...options,
|
||
url: '/Notification/SendBroadCastWarningMessage'
|
||
});
|
||
};
|
||
|
||
export const postNotificationSendBroadCastInformationMessage = <ThrowOnError extends boolean = false>(options?: Options<PostNotificationSendBroadCastInformationMessageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostNotificationSendBroadCastInformationMessageResponse, PostNotificationSendBroadCastInformationMessageError, ThrowOnError>({
|
||
...options,
|
||
url: '/Notification/SendBroadCastInformationMessage'
|
||
});
|
||
};
|
||
|
||
export const postNotificationSendBroadCastErrorMessage = <ThrowOnError extends boolean = false>(options?: Options<PostNotificationSendBroadCastErrorMessageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostNotificationSendBroadCastErrorMessageResponse, PostNotificationSendBroadCastErrorMessageError, ThrowOnError>({
|
||
...options,
|
||
url: '/Notification/SendBroadCastErrorMessage'
|
||
});
|
||
};
|
||
|
||
export const postNotificationRead = <ThrowOnError extends boolean = false>(options?: Options<PostNotificationReadData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostNotificationReadResponse, PostNotificationReadError, ThrowOnError>({
|
||
...options,
|
||
url: '/Notification/Read'
|
||
});
|
||
};
|
||
|
||
export const postNotificationBatchRead = <ThrowOnError extends boolean = false>(options?: Options<PostNotificationBatchReadData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostNotificationBatchReadResponse, PostNotificationBatchReadError, ThrowOnError>({
|
||
...options,
|
||
url: '/Notification/BatchRead'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 添加OneNET账号
|
||
*/
|
||
export const postOneNetAccountInsertAsync = <ThrowOnError extends boolean = false>(options?: Options<PostOneNetAccountInsertAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOneNetAccountInsertAsyncResponse, PostOneNetAccountInsertAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/OneNETAccount/InsertAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 修改OneNET账号
|
||
*/
|
||
export const postOneNetAccountModifyAsync = <ThrowOnError extends boolean = false>(options?: Options<PostOneNetAccountModifyAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOneNetAccountModifyAsyncResponse, PostOneNetAccountModifyAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/OneNETAccount/ModifyAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 删除OneNET账号
|
||
*/
|
||
export const postOneNetAccountDeleteAsync = <ThrowOnError extends boolean = false>(options?: Options<PostOneNetAccountDeleteAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOneNetAccountDeleteAsyncResponse, PostOneNetAccountDeleteAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/OneNETAccount/DeleteAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 获取OneNET账号列表
|
||
*/
|
||
export const postOneNetAccountListAsync = <ThrowOnError extends boolean = false>(options?: Options<PostOneNetAccountListAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOneNetAccountListAsyncResponse, PostOneNetAccountListAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/OneNETAccount/ListAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 添加OneNET产品
|
||
*/
|
||
export const postOneNetProductInsertAsync = <ThrowOnError extends boolean = false>(options?: Options<PostOneNetProductInsertAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOneNetProductInsertAsyncResponse, PostOneNetProductInsertAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/OneNETProduct/InsertAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 修改OneNET产品
|
||
*/
|
||
export const postOneNetProductModifyAsync = <ThrowOnError extends boolean = false>(options?: Options<PostOneNetProductModifyAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOneNetProductModifyAsyncResponse, PostOneNetProductModifyAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/OneNETProduct/ModifyAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 删除OneNET产品
|
||
*/
|
||
export const postOneNetProductDeleteAsync = <ThrowOnError extends boolean = false>(options?: Options<PostOneNetProductDeleteAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOneNetProductDeleteAsyncResponse, PostOneNetProductDeleteAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/OneNETProduct/DeleteAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 获取OneNET产品
|
||
*/
|
||
export const postOneNetProductGetAsync = <ThrowOnError extends boolean = false>(options?: Options<PostOneNetProductGetAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOneNetProductGetAsyncResponse, PostOneNetProductGetAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/OneNETProduct/GetAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 产品状态变更
|
||
*/
|
||
export const postOneNetProductProductStatusChangeAsync = <ThrowOnError extends boolean = false>(options?: Options<PostOneNetProductProductStatusChangeAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOneNetProductProductStatusChangeAsyncResponse, PostOneNetProductProductStatusChangeAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/OneNETProduct/ProductStatusChangeAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 更新OneNET平台的物模型详情
|
||
*/
|
||
export const postOneNetProductUpdateThingModelAsync = <ThrowOnError extends boolean = false>(options?: Options<PostOneNetProductUpdateThingModelAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOneNetProductUpdateThingModelAsyncResponse, PostOneNetProductUpdateThingModelAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/OneNETProduct/UpdateThingModelAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 获取OneNET产品列表
|
||
*/
|
||
export const postOneNetProductListAsync = <ThrowOnError extends boolean = false>(options?: Options<PostOneNetProductListAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOneNetProductListAsyncResponse, PostOneNetProductListAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/OneNETProduct/ListAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 设备明文数据接收订阅
|
||
*/
|
||
export const postOneNetServiceReceivePlaintextDataChange = <ThrowOnError extends boolean = false>(options?: Options<PostOneNetServiceReceivePlaintextDataChangeData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOneNetServiceReceivePlaintextDataChangeResponse, PostOneNetServiceReceivePlaintextDataChangeError, ThrowOnError>({
|
||
...options,
|
||
url: '/OneNETService/ReceivePlaintextDataChange'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 设备明文数据接收订阅
|
||
*/
|
||
export const getOneNetServiceReceivePlaintextDataChange = <ThrowOnError extends boolean = false>(options?: Options<GetOneNetServiceReceivePlaintextDataChangeData, ThrowOnError>) => {
|
||
return (options?.client ?? client).get<GetOneNetServiceReceivePlaintextDataChangeResponse, GetOneNetServiceReceivePlaintextDataChangeError, ThrowOnError>({
|
||
...options,
|
||
url: '/OneNETService/ReceivePlaintextDataChange'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 设备密文数据接收订阅
|
||
*/
|
||
export const postOneNetServiceReceiveCiphertextDataChange = <ThrowOnError extends boolean = false>(options?: Options<PostOneNetServiceReceiveCiphertextDataChangeData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOneNetServiceReceiveCiphertextDataChangeResponse, PostOneNetServiceReceiveCiphertextDataChangeError, ThrowOnError>({
|
||
...options,
|
||
url: '/OneNETService/ReceiveCiphertextDataChange'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 设备密文数据接收订阅
|
||
*/
|
||
export const getOneNetServiceReceiveCiphertextDataChange = <ThrowOnError extends boolean = false>(options?: Options<GetOneNetServiceReceiveCiphertextDataChangeData, ThrowOnError>) => {
|
||
return (options?.client ?? client).get<GetOneNetServiceReceiveCiphertextDataChangeResponse, GetOneNetServiceReceiveCiphertextDataChangeError, ThrowOnError>({
|
||
...options,
|
||
url: '/OneNETService/ReceiveCiphertextDataChange'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 检查本地缓存是否存在
|
||
*/
|
||
export const getOneNetServiceCheckLocalMemroy = <ThrowOnError extends boolean = false>(options?: Options<GetOneNetServiceCheckLocalMemroyData, ThrowOnError>) => {
|
||
return (options?.client ?? client).get<GetOneNetServiceCheckLocalMemroyResponse, GetOneNetServiceCheckLocalMemroyError, ThrowOnError>({
|
||
...options,
|
||
url: '/OneNETService/CheckLocalMemroy'
|
||
});
|
||
};
|
||
|
||
export const postOrganizationUnitsTree = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOrganizationUnitsTreeResponse, PostOrganizationUnitsTreeError, ThrowOnError>({
|
||
...options,
|
||
url: '/OrganizationUnits/tree'
|
||
});
|
||
};
|
||
|
||
export const postOrganizationUnitsCreate = <ThrowOnError extends boolean = false>(options?: Options<PostOrganizationUnitsCreateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOrganizationUnitsCreateResponse, PostOrganizationUnitsCreateError, ThrowOnError>({
|
||
...options,
|
||
url: '/OrganizationUnits/create'
|
||
});
|
||
};
|
||
|
||
export const postOrganizationUnitsDelete = <ThrowOnError extends boolean = false>(options?: Options<PostOrganizationUnitsDeleteData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOrganizationUnitsDeleteResponse, PostOrganizationUnitsDeleteError, ThrowOnError>({
|
||
...options,
|
||
url: '/OrganizationUnits/delete'
|
||
});
|
||
};
|
||
|
||
export const postOrganizationUnitsUpdate = <ThrowOnError extends boolean = false>(options?: Options<PostOrganizationUnitsUpdateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOrganizationUnitsUpdateResponse, PostOrganizationUnitsUpdateError, ThrowOnError>({
|
||
...options,
|
||
url: '/OrganizationUnits/update'
|
||
});
|
||
};
|
||
|
||
export const postOrganizationUnitsAddRoleToOrganizationUnitAsync = <ThrowOnError extends boolean = false>(options?: Options<PostOrganizationUnitsAddRoleToOrganizationUnitAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOrganizationUnitsAddRoleToOrganizationUnitAsyncResponse, PostOrganizationUnitsAddRoleToOrganizationUnitAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/OrganizationUnits/addRoleToOrganizationUnitAsync'
|
||
});
|
||
};
|
||
|
||
export const postOrganizationUnitsRemoveRoleFromOrganizationUnitAsync = <ThrowOnError extends boolean = false>(options?: Options<PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncResponse, PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/OrganizationUnits/removeRoleFromOrganizationUnitAsync'
|
||
});
|
||
};
|
||
|
||
export const postOrganizationUnitsAddUserToOrganizationUnit = <ThrowOnError extends boolean = false>(options?: Options<PostOrganizationUnitsAddUserToOrganizationUnitData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOrganizationUnitsAddUserToOrganizationUnitResponse, PostOrganizationUnitsAddUserToOrganizationUnitError, ThrowOnError>({
|
||
...options,
|
||
url: '/OrganizationUnits/addUserToOrganizationUnit'
|
||
});
|
||
};
|
||
|
||
export const postOrganizationUnitsRemoveUserFromOrganizationUnit = <ThrowOnError extends boolean = false>(options?: Options<PostOrganizationUnitsRemoveUserFromOrganizationUnitData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOrganizationUnitsRemoveUserFromOrganizationUnitResponse, PostOrganizationUnitsRemoveUserFromOrganizationUnitError, ThrowOnError>({
|
||
...options,
|
||
url: '/OrganizationUnits/removeUserFromOrganizationUnit'
|
||
});
|
||
};
|
||
|
||
export const postOrganizationUnitsGetUsers = <ThrowOnError extends boolean = false>(options?: Options<PostOrganizationUnitsGetUsersData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOrganizationUnitsGetUsersResponse, PostOrganizationUnitsGetUsersError, ThrowOnError>({
|
||
...options,
|
||
url: '/OrganizationUnits/getUsers'
|
||
});
|
||
};
|
||
|
||
export const postOrganizationUnitsGetRoles = <ThrowOnError extends boolean = false>(options?: Options<PostOrganizationUnitsGetRolesData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOrganizationUnitsGetRolesResponse, PostOrganizationUnitsGetRolesError, ThrowOnError>({
|
||
...options,
|
||
url: '/OrganizationUnits/getRoles'
|
||
});
|
||
};
|
||
|
||
export const postOrganizationUnitsGetUnAddUsers = <ThrowOnError extends boolean = false>(options?: Options<PostOrganizationUnitsGetUnAddUsersData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOrganizationUnitsGetUnAddUsersResponse, PostOrganizationUnitsGetUnAddUsersError, ThrowOnError>({
|
||
...options,
|
||
url: '/OrganizationUnits/getUnAddUsers'
|
||
});
|
||
};
|
||
|
||
export const postOrganizationUnitsGetUnAddRoles = <ThrowOnError extends boolean = false>(options?: Options<PostOrganizationUnitsGetUnAddRolesData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostOrganizationUnitsGetUnAddRolesResponse, PostOrganizationUnitsGetUnAddRolesError, ThrowOnError>({
|
||
...options,
|
||
url: '/OrganizationUnits/getUnAddRoles'
|
||
});
|
||
};
|
||
|
||
export const postPermissionsTree = <ThrowOnError extends boolean = false>(options?: Options<PostPermissionsTreeData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostPermissionsTreeResponse, PostPermissionsTreeError, ThrowOnError>({
|
||
...options,
|
||
url: '/Permissions/tree'
|
||
});
|
||
};
|
||
|
||
export const postPermissionsUpdate = <ThrowOnError extends boolean = false>(options?: Options<PostPermissionsUpdateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostPermissionsUpdateResponse, PostPermissionsUpdateError, ThrowOnError>({
|
||
...options,
|
||
url: '/Permissions/update'
|
||
});
|
||
};
|
||
|
||
export const postRolesAll = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostRolesAllResponse, PostRolesAllError, ThrowOnError>({
|
||
...options,
|
||
url: '/Roles/all'
|
||
});
|
||
};
|
||
|
||
export const postRolesPage = <ThrowOnError extends boolean = false>(options?: Options<PostRolesPageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostRolesPageResponse, PostRolesPageError, ThrowOnError>({
|
||
...options,
|
||
url: '/Roles/page'
|
||
});
|
||
};
|
||
|
||
export const postRolesCreate = <ThrowOnError extends boolean = false>(options?: Options<PostRolesCreateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostRolesCreateResponse, PostRolesCreateError, ThrowOnError>({
|
||
...options,
|
||
url: '/Roles/create'
|
||
});
|
||
};
|
||
|
||
export const postRolesUpdate = <ThrowOnError extends boolean = false>(options?: Options<PostRolesUpdateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostRolesUpdateResponse, PostRolesUpdateError, ThrowOnError>({
|
||
...options,
|
||
url: '/Roles/update'
|
||
});
|
||
};
|
||
|
||
export const postRolesDelete = <ThrowOnError extends boolean = false>(options?: Options<PostRolesDeleteData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostRolesDeleteResponse, PostRolesDeleteError, ThrowOnError>({
|
||
...options,
|
||
url: '/Roles/delete'
|
||
});
|
||
};
|
||
|
||
export const getApiAppAbpProBasicApplicationConfiguration = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).get<GetApiAppAbpProBasicApplicationConfigurationResponse, GetApiAppAbpProBasicApplicationConfigurationError, ThrowOnError>({
|
||
...options,
|
||
url: '/api/app/abp-pro-basic-application-configuration'
|
||
});
|
||
};
|
||
|
||
export const postSettingsAll = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostSettingsAllResponse, PostSettingsAllError, ThrowOnError>({
|
||
...options,
|
||
url: '/Settings/all'
|
||
});
|
||
};
|
||
|
||
export const postSettingsUpdate = <ThrowOnError extends boolean = false>(options?: Options<PostSettingsUpdateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostSettingsUpdateResponse, PostSettingsUpdateError, ThrowOnError>({
|
||
...options,
|
||
url: '/Settings/update'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 分页查询文件
|
||
*/
|
||
export const postTableModelPacketInfoPage = <ThrowOnError extends boolean = false>(options?: Options<PostTableModelPacketInfoPageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTableModelPacketInfoPageResponse, PostTableModelPacketInfoPageError, ThrowOnError>({
|
||
...options,
|
||
url: '/TableModel/PacketInfoPage'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 查询设备数据表模型信息
|
||
*/
|
||
export const postTableModelDeviceDataInfoPage = <ThrowOnError extends boolean = false>(options?: Options<PostTableModelDeviceDataInfoPageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTableModelDeviceDataInfoPageResponse, PostTableModelDeviceDataInfoPageError, ThrowOnError>({
|
||
...options,
|
||
url: '/TableModel/DeviceDataInfoPage'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 查询CTWing 日志
|
||
*/
|
||
export const postTableModelCtWingLogInfo = <ThrowOnError extends boolean = false>(options?: Options<PostTableModelCtWingLogInfoData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTableModelCtWingLogInfoResponse, PostTableModelCtWingLogInfoError, ThrowOnError>({
|
||
...options,
|
||
url: '/TableModel/CTWingLogInfo'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 查询OneNET 日志
|
||
*/
|
||
export const postTableModelOneNetLogInfo = <ThrowOnError extends boolean = false>(options?: Options<PostTableModelOneNetLogInfoData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTableModelOneNetLogInfoResponse, PostTableModelOneNetLogInfoError, ThrowOnError>({
|
||
...options,
|
||
url: '/TableModel/OneNETLogInfo'
|
||
});
|
||
};
|
||
|
||
export const postTenantsFind = <ThrowOnError extends boolean = false>(options?: Options<PostTenantsFindData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTenantsFindResponse, PostTenantsFindError, ThrowOnError>({
|
||
...options,
|
||
url: '/Tenants/find'
|
||
});
|
||
};
|
||
|
||
export const postTenantsPage = <ThrowOnError extends boolean = false>(options?: Options<PostTenantsPageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTenantsPageResponse, PostTenantsPageError, ThrowOnError>({
|
||
...options,
|
||
url: '/Tenants/page'
|
||
});
|
||
};
|
||
|
||
export const postTenantsCreate = <ThrowOnError extends boolean = false>(options?: Options<PostTenantsCreateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTenantsCreateResponse, PostTenantsCreateError, ThrowOnError>({
|
||
...options,
|
||
url: '/Tenants/create'
|
||
});
|
||
};
|
||
|
||
export const postTenantsUpdate = <ThrowOnError extends boolean = false>(options?: Options<PostTenantsUpdateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTenantsUpdateResponse, PostTenantsUpdateError, ThrowOnError>({
|
||
...options,
|
||
url: '/Tenants/update'
|
||
});
|
||
};
|
||
|
||
export const postTenantsDelete = <ThrowOnError extends boolean = false>(options?: Options<PostTenantsDeleteData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTenantsDeleteResponse, PostTenantsDeleteError, ThrowOnError>({
|
||
...options,
|
||
url: '/Tenants/delete'
|
||
});
|
||
};
|
||
|
||
export const postTenantsPageConnectionString = <ThrowOnError extends boolean = false>(options?: Options<PostTenantsPageConnectionStringData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTenantsPageConnectionStringResponse, PostTenantsPageConnectionStringError, ThrowOnError>({
|
||
...options,
|
||
url: '/Tenants/pageConnectionString'
|
||
});
|
||
};
|
||
|
||
export const postTenantsAddOrUpdateConnectionString = <ThrowOnError extends boolean = false>(options?: Options<PostTenantsAddOrUpdateConnectionStringData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTenantsAddOrUpdateConnectionStringResponse, PostTenantsAddOrUpdateConnectionStringError, ThrowOnError>({
|
||
...options,
|
||
url: '/Tenants/addOrUpdateConnectionString'
|
||
});
|
||
};
|
||
|
||
export const postTenantsDeleteConnectionString = <ThrowOnError extends boolean = false>(options?: Options<PostTenantsDeleteConnectionStringData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTenantsDeleteConnectionStringResponse, PostTenantsDeleteConnectionStringError, ThrowOnError>({
|
||
...options,
|
||
url: '/Tenants/deleteConnectionString'
|
||
});
|
||
};
|
||
|
||
export const postTextTemplatesPage = <ThrowOnError extends boolean = false>(options?: Options<PostTextTemplatesPageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTextTemplatesPageResponse, PostTextTemplatesPageError, ThrowOnError>({
|
||
...options,
|
||
url: '/TextTemplates/Page'
|
||
});
|
||
};
|
||
|
||
export const postTextTemplatesCreate = <ThrowOnError extends boolean = false>(options?: Options<PostTextTemplatesCreateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTextTemplatesCreateResponse, PostTextTemplatesCreateError, ThrowOnError>({
|
||
...options,
|
||
url: '/TextTemplates/Create'
|
||
});
|
||
};
|
||
|
||
export const postTextTemplatesUpdate = <ThrowOnError extends boolean = false>(options?: Options<PostTextTemplatesUpdateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTextTemplatesUpdateResponse, PostTextTemplatesUpdateError, ThrowOnError>({
|
||
...options,
|
||
url: '/TextTemplates/Update'
|
||
});
|
||
};
|
||
|
||
export const postTextTemplatesDelete = <ThrowOnError extends boolean = false>(options?: Options<PostTextTemplatesDeleteData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTextTemplatesDeleteResponse, PostTextTemplatesDeleteError, ThrowOnError>({
|
||
...options,
|
||
url: '/TextTemplates/Delete'
|
||
});
|
||
};
|
||
|
||
export const postTextTemplatesExport = <ThrowOnError extends boolean = false>(options?: Options<PostTextTemplatesExportData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTextTemplatesExportResponse, PostTextTemplatesExportError, ThrowOnError>({
|
||
...options,
|
||
url: '/TextTemplates/Export'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 查询设备数据树模型信息
|
||
*/
|
||
export const postTreeModelDeviceDataInfoPage = <ThrowOnError extends boolean = false>(options?: Options<PostTreeModelDeviceDataInfoPageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostTreeModelDeviceDataInfoPageResponse, PostTreeModelDeviceDataInfoPageError, ThrowOnError>({
|
||
...options,
|
||
url: '/TreeModel/DeviceDataInfoPage'
|
||
});
|
||
};
|
||
|
||
export const postUsersPage = <ThrowOnError extends boolean = false>(options?: Options<PostUsersPageData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersPageResponse, PostUsersPageError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/page'
|
||
});
|
||
};
|
||
|
||
export const postUsersList = <ThrowOnError extends boolean = false>(options?: Options<PostUsersListData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersListResponse, PostUsersListError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/list'
|
||
});
|
||
};
|
||
|
||
export const postUsersExport = <ThrowOnError extends boolean = false>(options?: Options<PostUsersExportData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersExportResponse, PostUsersExportError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/export'
|
||
});
|
||
};
|
||
|
||
export const postUsersCreate = <ThrowOnError extends boolean = false>(options?: Options<PostUsersCreateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersCreateResponse, PostUsersCreateError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/create'
|
||
});
|
||
};
|
||
|
||
export const postUsersUpdate = <ThrowOnError extends boolean = false>(options?: Options<PostUsersUpdateData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersUpdateResponse, PostUsersUpdateError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/update'
|
||
});
|
||
};
|
||
|
||
export const postUsersDelete = <ThrowOnError extends boolean = false>(options?: Options<PostUsersDeleteData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersDeleteResponse, PostUsersDeleteError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/delete'
|
||
});
|
||
};
|
||
|
||
export const postUsersRole = <ThrowOnError extends boolean = false>(options?: Options<PostUsersRoleData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersRoleResponse, PostUsersRoleError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/role'
|
||
});
|
||
};
|
||
|
||
export const postUsersChangePassword = <ThrowOnError extends boolean = false>(options?: Options<PostUsersChangePasswordData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersChangePasswordResponse, PostUsersChangePasswordError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/changePassword'
|
||
});
|
||
};
|
||
|
||
export const postUsersResetPassword = <ThrowOnError extends boolean = false>(options?: Options<PostUsersResetPasswordData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersResetPasswordResponse, PostUsersResetPasswordError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/resetPassword'
|
||
});
|
||
};
|
||
|
||
export const postUsersLock = <ThrowOnError extends boolean = false>(options?: Options<PostUsersLockData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersLockResponse, PostUsersLockError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/lock'
|
||
});
|
||
};
|
||
|
||
export const postUsersFindByUserName = <ThrowOnError extends boolean = false>(options?: Options<PostUsersFindByUserNameData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersFindByUserNameResponse, PostUsersFindByUserNameError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/findByUserName'
|
||
});
|
||
};
|
||
|
||
export const postUsersMyProfile = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersMyProfileResponse, PostUsersMyProfileError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/myProfile'
|
||
});
|
||
};
|
||
|
||
export const postUsersCanUseTwoFactor = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersCanUseTwoFactorResponse, PostUsersCanUseTwoFactorError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/canUseTwoFactor'
|
||
});
|
||
};
|
||
|
||
export const postUsersGetQrCode = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersGetQrCodeResponse, PostUsersGetQrCodeError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/getQRCode'
|
||
});
|
||
};
|
||
|
||
export const postUsersEnabledTwoFactor = <ThrowOnError extends boolean = false>(options?: Options<PostUsersEnabledTwoFactorData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersEnabledTwoFactorResponse, PostUsersEnabledTwoFactorError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/enabledTwoFactor'
|
||
});
|
||
};
|
||
|
||
export const postUsersDisabledTwoFactor = <ThrowOnError extends boolean = false>(options?: Options<PostUsersDisabledTwoFactorData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersDisabledTwoFactorResponse, PostUsersDisabledTwoFactorError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/disabledTwoFactor'
|
||
});
|
||
};
|
||
|
||
export const postUsersResetTwoFactor = <ThrowOnError extends boolean = false>(options?: Options<PostUsersResetTwoFactorData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersResetTwoFactorResponse, PostUsersResetTwoFactorError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/resetTwoFactor'
|
||
});
|
||
};
|
||
|
||
export const postUsersNeedChangePassword = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostUsersNeedChangePasswordResponse, PostUsersNeedChangePasswordError, ThrowOnError>({
|
||
...options,
|
||
url: '/Users/needChangePassword'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 接收车间生产信息
|
||
*/
|
||
export const postAggregationWorkshopReceiveWorkshopProductionInfoAsync = <ThrowOnError extends boolean = false>(options?: Options<PostAggregationWorkshopReceiveWorkshopProductionInfoAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostAggregationWorkshopReceiveWorkshopProductionInfoAsyncResponse, PostAggregationWorkshopReceiveWorkshopProductionInfoAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/Aggregation/Workshop/ReceiveWorkshopProductionInfoAsync'
|
||
});
|
||
};
|
||
|
||
/**
|
||
* 获取物联网产品列表
|
||
*/
|
||
export const postAggregationWorkshopGetProductListAsync = <ThrowOnError extends boolean = false>(options?: Options<PostAggregationWorkshopGetProductListAsyncData, ThrowOnError>) => {
|
||
return (options?.client ?? client).post<PostAggregationWorkshopGetProductListAsyncResponse, PostAggregationWorkshopGetProductListAsyncError, ThrowOnError>({
|
||
...options,
|
||
url: '/Aggregation/Workshop/GetProductListAsync'
|
||
});
|
||
}; |