From 74e7943c6657ed4e58d0df42c5e487f6aaa00225 Mon Sep 17 00:00:00 2001 From: xusc Date: Tue, 5 Mar 2024 16:35:52 +0800 Subject: [PATCH] ... --- src/uni-app/.hbuilderx/launch.json | 16 + .../shared/service-proxies/service-proxies.ts | 121839 ++++++++++----- src/uni-app/yarn.lock | 3398 + 3 files changed, 81832 insertions(+), 43421 deletions(-) create mode 100644 src/uni-app/.hbuilderx/launch.json create mode 100644 src/uni-app/yarn.lock diff --git a/src/uni-app/.hbuilderx/launch.json b/src/uni-app/.hbuilderx/launch.json new file mode 100644 index 00000000..582561b0 --- /dev/null +++ b/src/uni-app/.hbuilderx/launch.json @@ -0,0 +1,16 @@ +{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ + // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 + "version": "0.0", + "configurations": [{ + "app-plus" : + { + "launchtype" : "local" + }, + "default" : + { + "launchtype" : "local" + }, + "type" : "uniCloud" + } + ] +} diff --git a/src/uni-app/src/shared/service-proxies/service-proxies.ts b/src/uni-app/src/shared/service-proxies/service-proxies.ts index f34d1078..e65b740d 100644 --- a/src/uni-app/src/shared/service-proxies/service-proxies.ts +++ b/src/uni-app/src/shared/service-proxies/service-proxies.ts @@ -1,6 +1,6 @@ //---------------------- // -// Generated using the NSwag toolchain v13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org) +// Generated using the NSwag toolchain v13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org) // //---------------------- @@ -26,10 +26,9 @@ export class AntiForgeryServiceProxy { } /** - * 获取Token * @return Success */ - getToken( cancelToken?: CancelToken | undefined): Promise { + getToken( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/AntiForgery/GetToken"; url_ = url_.replace(/[?&]$/, ""); @@ -88,11 +87,10 @@ export class AccountServiceProxy { } /** - * 激活邮箱 * @param body (optional) * @return Success */ - activateEmail(body: ActivateEmailInput | undefined , cancelToken?: CancelToken | undefined): Promise { + activateEmail(body: ActivateEmailInput | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Account/ActivateEmail"; url_ = url_.replace(/[?&]$/, ""); @@ -141,10 +139,9 @@ export class AccountServiceProxy { } /** - * 返回登录 * @return Success */ - backToImpersonator( cancelToken?: CancelToken | undefined): Promise { + backToImpersonator( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Account/BackToImpersonator"; url_ = url_.replace(/[?&]$/, ""); @@ -193,11 +190,10 @@ export class AccountServiceProxy { } /** - * 校验邮箱验证码 * @param body (optional) * @return Success */ - checkEmailVerificationCode(body: GetEmailAddressCodeInput | undefined , cancelToken?: CancelToken | undefined): Promise { + checkEmailVerificationCode(body: GetEmailAddressCodeInput | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Account/CheckEmailVerificationCode"; url_ = url_.replace(/[?&]$/, ""); @@ -246,11 +242,10 @@ export class AccountServiceProxy { } /** - * 使用此账号登录 * @param body (optional) * @return Success */ - impersonate(body: ImpersonateInput | undefined , cancelToken?: CancelToken | undefined): Promise { + impersonate(body: ImpersonateInput | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Account/Impersonate"; url_ = url_.replace(/[?&]$/, ""); @@ -303,11 +298,10 @@ export class AccountServiceProxy { } /** - * 租户是否可用 * @param body (optional) * @return Success */ - isTenantAvailable(body: IsTenantAvailableInput | undefined , cancelToken?: CancelToken | undefined): Promise { + isTenantAvailable(body: IsTenantAvailableInput | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Account/IsTenantAvailable"; url_ = url_.replace(/[?&]$/, ""); @@ -360,11 +354,10 @@ export class AccountServiceProxy { } /** - * 注册 * @param body (optional) * @return Success */ - register(body: RegisterInput | undefined , cancelToken?: CancelToken | undefined): Promise { + register(body: RegisterInput | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Account/Register"; url_ = url_.replace(/[?&]$/, ""); @@ -417,11 +410,10 @@ export class AccountServiceProxy { } /** - * 将用户密码重置为新的密码。 * @param body (optional) * @return Success */ - resetPassword(body: ResetPasswordInput | undefined , cancelToken?: CancelToken | undefined): Promise { + resetPassword(body: ResetPasswordInput | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Account/ResetPassword"; url_ = url_.replace(/[?&]$/, ""); @@ -474,11 +466,10 @@ export class AccountServiceProxy { } /** - * 解析租户Id * @param body (optional) * @return Success */ - resolveTenantId(body: ResolveTenantIdInput | undefined , cancelToken?: CancelToken | undefined): Promise { + resolveTenantId(body: ResolveTenantIdInput | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Account/ResolveTenantId"; url_ = url_.replace(/[?&]$/, ""); @@ -532,11 +523,10 @@ export class AccountServiceProxy { } /** - * 发送邮件激活链接 * @param body (optional) * @return Success */ - sendEmailActivationLink(body: SendEmailActivationLinkInput | undefined , cancelToken?: CancelToken | undefined): Promise { + sendEmailActivationLink(body: SendEmailActivationLinkInput | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Account/SendEmailActivationLink"; url_ = url_.replace(/[?&]$/, ""); @@ -585,11 +575,10 @@ export class AccountServiceProxy { } /** - * 发送邮箱验证码 * @param body (optional) * @return Success */ - sendEmailAddressConfirmCode(body: SendPasswordResetCodeInput | undefined , cancelToken?: CancelToken | undefined): Promise { + sendEmailAddressConfirmCode(body: SendPasswordResetCodeInput | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Account/SendEmailAddressConfirmCode"; url_ = url_.replace(/[?&]$/, ""); @@ -638,11 +627,10 @@ export class AccountServiceProxy { } /** - * 发送密码重置邮件,邮件中包含重置码。 * @param body (optional) * @return Success */ - sendPasswordResetCode(body: SendPasswordResetCodeInput | undefined , cancelToken?: CancelToken | undefined): Promise { + sendPasswordResetCode(body: SendPasswordResetCodeInput | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Account/SendPasswordResetCode"; url_ = url_.replace(/[?&]$/, ""); @@ -691,11 +679,10 @@ export class AccountServiceProxy { } /** - * 切换关联账户 * @param body (optional) * @return Success */ - switchToLinkedAccount(body: SwitchToLinkedAccountInput | undefined , cancelToken?: CancelToken | undefined): Promise { + switchToLinkedAccount(body: SwitchToLinkedAccountInput | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Account/SwitchToLinkedAccount"; url_ = url_.replace(/[?&]$/, ""); @@ -762,10 +749,9 @@ export class AddressLinkageServiceProxy { } /** - * 获取所有数据 * @return Success */ - getAll( cancelToken?: CancelToken | undefined): Promise { + getAll( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/AddressLinkage/GetAll"; url_ = url_.replace(/[?&]$/, ""); @@ -814,10 +800,9 @@ export class AddressLinkageServiceProxy { } /** - * 获取所有县数据 * @return Success */ - getAllArea( cancelToken?: CancelToken | undefined): Promise { + getAllArea( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/AddressLinkage/GetAllArea"; url_ = url_.replace(/[?&]$/, ""); @@ -873,10 +858,9 @@ export class AddressLinkageServiceProxy { } /** - * 获取所有市数据 * @return Success */ - getAllCity( cancelToken?: CancelToken | undefined): Promise { + getAllCity( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/AddressLinkage/GetAllCity"; url_ = url_.replace(/[?&]$/, ""); @@ -932,10 +916,9 @@ export class AddressLinkageServiceProxy { } /** - * 获取所有镇数据 * @return Success */ - getAllStreet( cancelToken?: CancelToken | undefined): Promise { + getAllStreet( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/AddressLinkage/GetAllStreet"; url_ = url_.replace(/[?&]$/, ""); @@ -991,14 +974,13 @@ export class AddressLinkageServiceProxy { } /** - * 通过code获取省市区县镇名称(没有code传空) - * @param provinceCode (optional) 省份Code - * @param cityCode (optional) 城市Code - * @param areaCode (optional) 地区Code - * @param streetCode (optional) 街道Code + * @param provinceCode (optional) + * @param cityCode (optional) + * @param areaCode (optional) + * @param streetCode (optional) * @return Success */ - getByCode(provinceCode: string | null | undefined, cityCode: string | null | undefined, areaCode: string | null | undefined, streetCode: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { + getByCode(provinceCode: string | null | undefined, cityCode: string | null | undefined, areaCode: string | null | undefined, streetCode: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/AddressLinkage/GetByCode?"; if (provinceCode !== undefined && provinceCode !== null) url_ += "provinceCode=" + encodeURIComponent("" + provinceCode) + "&"; @@ -1055,12 +1037,11 @@ export class AddressLinkageServiceProxy { } /** - * 通过父级code获取省市区县镇数据 * @param addressEnum (optional) * @param parentCode (optional) * @return Success */ - getByParentCode(addressEnum: AddressEnum | undefined, parentCode: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { + getByParentCode(addressEnum: AddressEnum | undefined, parentCode: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/AddressLinkage/GetByParentCode"; url_ = url_.replace(/[?&]$/, ""); @@ -1125,7 +1106,7 @@ export class AddressLinkageServiceProxy { } } -export class ApkManagementServiceProxy { +export class ApiFromMesServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -1139,12 +1120,11 @@ export class ApkManagementServiceProxy { } /** - * 批量删除ApkManagement的方法 * @param body (optional) * @return Success */ - batchDelete(body: string[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ApkManagement/BatchDelete"; + apiItemRouteOpToMes(body: GetApiMesItemRouteOpInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ApiFromMes/ApiItemRouteOpToMes"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -1166,11 +1146,11 @@ export class ApkManagementServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processApiItemRouteOpToMes(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processApiItemRouteOpToMes(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -1192,18 +1172,21 @@ export class ApkManagementServiceProxy { } /** - * 新增文件Apk + * @param body (optional) * @return Success */ - createApkReturnSysFile( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ApkManagement/CreateApkReturnSysFile"; + apiOpToMes(body: GetApiMesOpInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ApiFromMes/ApiOpToMes"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -1215,11 +1198,11 @@ export class ApkManagementServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateApkReturnSysFile(_response); + return this.processApiOpToMes(_response); }); } - protected processCreateApkReturnSysFile(response: AxiosResponse): Promise { + protected processApiOpToMes(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -1231,25 +1214,21 @@ export class ApkManagementServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = SysFileListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 添加或者修改Apk管理的公共方法 * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateApkManagementInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ApkManagement/CreateOrUpdate"; + apiRouteOpToMes(body: GetApiMesRouteOpInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ApiFromMes/ApiRouteOpToMes"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -1271,11 +1250,11 @@ export class ApkManagementServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processApiRouteOpToMes(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processApiRouteOpToMes(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -1295,24 +1274,37 @@ export class ApkManagementServiceProxy { } return Promise.resolve(null as any); } +} + +export class ApkManagementServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } /** - * 删除Apk管理信息 - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: string | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ApkManagement/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + batchDelete(body: string[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ApkManagement/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -1324,11 +1316,11 @@ export class ApkManagementServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processBatchDelete(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -1350,20 +1342,14 @@ export class ApkManagementServiceProxy { } /** - * 通过指定id获取ApkManagementListDto信息 - * @param id (optional) * @return Success */ - getById(id: string | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ApkManagement/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + createApkReturnSysFile( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ApkManagement/CreateApkReturnSysFile"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "POST", url: url_, headers: { "Accept": "text/plain" @@ -1378,11 +1364,11 @@ export class ApkManagementServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processCreateApkReturnSysFile(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processCreateApkReturnSysFile(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -1396,32 +1382,32 @@ export class ApkManagementServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ApkManagementListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = SysFileListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取编辑 Apk管理 - * @param id (optional) + * @param body (optional) * @return Success */ - getForEdit(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ApkManagement/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + createOrUpdate(body: CreateOrUpdateApkManagementInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ApkManagement/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -1433,11 +1419,11 @@ export class ApkManagementServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processCreateOrUpdate(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -1449,31 +1435,31 @@ export class ApkManagementServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetApkManagementForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取最近版本 + * @param id (optional) * @return Success */ - getNewVersion( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ApkManagement/GetNewVersion"; + delete(id: string | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ApkManagement/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -1485,11 +1471,11 @@ export class ApkManagementServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetNewVersion(_response); + return this.processDelete(_response); }); } - protected processGetNewVersion(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -1501,25 +1487,25 @@ export class ApkManagementServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = resultData200 !== undefined ? resultData200 : null; - - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取最近版本下载路径 + * @param id (optional) * @return Success */ - getNewVersionFileNamePath( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ApkManagement/GetNewVersionFileNamePath"; + getById(id: string | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ApkManagement/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -1538,11 +1524,11 @@ export class ApkManagementServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetNewVersionFileNamePath(_response); + return this.processGetById(_response); }); } - protected processGetNewVersionFileNamePath(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -1556,39 +1542,24 @@ export class ApkManagementServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = resultData200 !== undefined ? resultData200 : null; - - return Promise.resolve(result200); + result200 = ApkManagementListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取Apk管理的分页列表信息 - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param id (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ApkManagement/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + getForEdit(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ApkManagement/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -1607,11 +1578,11 @@ export class ApkManagementServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processGetForEdit(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -1625,76 +1596,21 @@ export class ApkManagementServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfApkManagementListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetApkManagementForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class AuditLogServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 审计日志导出Excel - * @param startDate (optional) 开始时间 - * @param endDate (optional) 结束时间 - * @param userName (optional) 用户名 - * @param serviceName (optional) 服务名称 - * @param methodName (optional) 方法名称 - * @param browserInfo (optional) 浏览器信息 - * @param hasException (optional) 是否包含异常 - * @param minExecutionDuration (optional) 最小执行时间 - * @param maxExecutionDuration (optional) 最大执行时间 - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) * @return Success */ - getAuditLogsToExcel(startDate: moment.Moment | null | undefined, endDate: moment.Moment | null | undefined, userName: string | null | undefined, serviceName: string | null | undefined, methodName: string | null | undefined, browserInfo: string | null | undefined, hasException: boolean | null | undefined, minExecutionDuration: number | null | undefined, maxExecutionDuration: number | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/AuditLog/GetAuditLogsToExcel?"; - if (startDate !== undefined && startDate !== null) - url_ += "startDate=" + encodeURIComponent(startDate ? "" + startDate.toISOString() : "") + "&"; - if (endDate !== undefined && endDate !== null) - url_ += "endDate=" + encodeURIComponent(endDate ? "" + endDate.toISOString() : "") + "&"; - if (userName !== undefined && userName !== null) - url_ += "userName=" + encodeURIComponent("" + userName) + "&"; - if (serviceName !== undefined && serviceName !== null) - url_ += "serviceName=" + encodeURIComponent("" + serviceName) + "&"; - if (methodName !== undefined && methodName !== null) - url_ += "methodName=" + encodeURIComponent("" + methodName) + "&"; - if (browserInfo !== undefined && browserInfo !== null) - url_ += "browserInfo=" + encodeURIComponent("" + browserInfo) + "&"; - if (hasException !== undefined && hasException !== null) - url_ += "hasException=" + encodeURIComponent("" + hasException) + "&"; - if (minExecutionDuration !== undefined && minExecutionDuration !== null) - url_ += "minExecutionDuration=" + encodeURIComponent("" + minExecutionDuration) + "&"; - if (maxExecutionDuration !== undefined && maxExecutionDuration !== null) - url_ += "maxExecutionDuration=" + encodeURIComponent("" + maxExecutionDuration) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + getNewVersion( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ApkManagement/GetNewVersion"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -1713,11 +1629,11 @@ export class AuditLogServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAuditLogsToExcel(_response); + return this.processGetNewVersion(_response); }); } - protected processGetAuditLogsToExcel(response: AxiosResponse): Promise { + protected processGetNewVersion(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -1731,47 +1647,22 @@ export class AuditLogServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = FileDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取实体变更记录 - * @param startDate (optional) 开始日期 - * @param endDate (optional) 结束日期 - * @param userName (optional) 用户名称 - * @param entityTypeFullName (optional) 属性类型全称 - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) * @return Success */ - getEntityChanges(startDate: moment.Moment | null | undefined, endDate: moment.Moment | null | undefined, userName: string | null | undefined, entityTypeFullName: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/AuditLog/GetEntityChanges?"; - if (startDate !== undefined && startDate !== null) - url_ += "startDate=" + encodeURIComponent(startDate ? "" + startDate.toISOString() : "") + "&"; - if (endDate !== undefined && endDate !== null) - url_ += "endDate=" + encodeURIComponent(endDate ? "" + endDate.toISOString() : "") + "&"; - if (userName !== undefined && userName !== null) - url_ += "userName=" + encodeURIComponent("" + userName) + "&"; - if (entityTypeFullName !== undefined && entityTypeFullName !== null) - url_ += "entityTypeFullName=" + encodeURIComponent("" + entityTypeFullName) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + getNewVersionFileNamePath( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ApkManagement/GetNewVersionFileNamePath"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -1790,11 +1681,11 @@ export class AuditLogServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetEntityChanges(_response); + return this.processGetNewVersionFileNamePath(_response); }); } - protected processGetEntityChanges(response: AxiosResponse): Promise { + protected processGetNewVersionFileNamePath(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -1808,37 +1699,285 @@ export class AuditLogServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfEntityChangeListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 导出实体变更记录Excel - * @param startDate (optional) 开始日期 - * @param endDate (optional) 结束日期 - * @param userName (optional) 用户名称 - * @param entityTypeFullName (optional) 属性类型全称 + * @param filterText (optional) * @param sorting (optional) * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getEntityChangesToExcel(startDate: moment.Moment | null | undefined, endDate: moment.Moment | null | undefined, userName: string | null | undefined, entityTypeFullName: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/AuditLog/GetEntityChangesToExcel?"; - if (startDate !== undefined && startDate !== null) - url_ += "startDate=" + encodeURIComponent(startDate ? "" + startDate.toISOString() : "") + "&"; - if (endDate !== undefined && endDate !== null) - url_ += "endDate=" + encodeURIComponent(endDate ? "" + endDate.toISOString() : "") + "&"; - if (userName !== undefined && userName !== null) - url_ += "userName=" + encodeURIComponent("" + userName) + "&"; - if (entityTypeFullName !== undefined && entityTypeFullName !== null) - url_ += "entityTypeFullName=" + encodeURIComponent("" + entityTypeFullName) + "&"; + getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ApkManagement/GetPaged?"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); + } + + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfApkManagementListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class AuditLogServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param startDate (optional) + * @param endDate (optional) + * @param userName (optional) + * @param serviceName (optional) + * @param methodName (optional) + * @param browserInfo (optional) + * @param hasException (optional) + * @param minExecutionDuration (optional) + * @param maxExecutionDuration (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) + * @return Success + */ + getAuditLogsToExcel(startDate: moment.Moment | null | undefined, endDate: moment.Moment | null | undefined, userName: string | null | undefined, serviceName: string | null | undefined, methodName: string | null | undefined, browserInfo: string | null | undefined, hasException: boolean | null | undefined, minExecutionDuration: number | null | undefined, maxExecutionDuration: number | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/AuditLog/GetAuditLogsToExcel?"; + if (startDate !== undefined && startDate !== null) + url_ += "startDate=" + encodeURIComponent(startDate ? "" + startDate.toISOString() : "") + "&"; + if (endDate !== undefined && endDate !== null) + url_ += "endDate=" + encodeURIComponent(endDate ? "" + endDate.toISOString() : "") + "&"; + if (userName !== undefined && userName !== null) + url_ += "userName=" + encodeURIComponent("" + userName) + "&"; + if (serviceName !== undefined && serviceName !== null) + url_ += "serviceName=" + encodeURIComponent("" + serviceName) + "&"; + if (methodName !== undefined && methodName !== null) + url_ += "methodName=" + encodeURIComponent("" + methodName) + "&"; + if (browserInfo !== undefined && browserInfo !== null) + url_ += "browserInfo=" + encodeURIComponent("" + browserInfo) + "&"; + if (hasException !== undefined && hasException !== null) + url_ += "hasException=" + encodeURIComponent("" + hasException) + "&"; + if (minExecutionDuration !== undefined && minExecutionDuration !== null) + url_ += "minExecutionDuration=" + encodeURIComponent("" + minExecutionDuration) + "&"; + if (maxExecutionDuration !== undefined && maxExecutionDuration !== null) + url_ += "maxExecutionDuration=" + encodeURIComponent("" + maxExecutionDuration) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetAuditLogsToExcel(_response); + }); + } + + protected processGetAuditLogsToExcel(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = FileDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param startDate (optional) + * @param endDate (optional) + * @param userName (optional) + * @param entityTypeFullName (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) + * @return Success + */ + getEntityChanges(startDate: moment.Moment | null | undefined, endDate: moment.Moment | null | undefined, userName: string | null | undefined, entityTypeFullName: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/AuditLog/GetEntityChanges?"; + if (startDate !== undefined && startDate !== null) + url_ += "startDate=" + encodeURIComponent(startDate ? "" + startDate.toISOString() : "") + "&"; + if (endDate !== undefined && endDate !== null) + url_ += "endDate=" + encodeURIComponent(endDate ? "" + endDate.toISOString() : "") + "&"; + if (userName !== undefined && userName !== null) + url_ += "userName=" + encodeURIComponent("" + userName) + "&"; + if (entityTypeFullName !== undefined && entityTypeFullName !== null) + url_ += "entityTypeFullName=" + encodeURIComponent("" + entityTypeFullName) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetEntityChanges(_response); + }); + } + + protected processGetEntityChanges(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfEntityChangeListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param startDate (optional) + * @param endDate (optional) + * @param userName (optional) + * @param entityTypeFullName (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) + * @return Success + */ + getEntityChangesToExcel(startDate: moment.Moment | null | undefined, endDate: moment.Moment | null | undefined, userName: string | null | undefined, entityTypeFullName: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/AuditLog/GetEntityChangesToExcel?"; + if (startDate !== undefined && startDate !== null) + url_ += "startDate=" + encodeURIComponent(startDate ? "" + startDate.toISOString() : "") + "&"; + if (endDate !== undefined && endDate !== null) + url_ += "endDate=" + encodeURIComponent(endDate ? "" + endDate.toISOString() : "") + "&"; + if (userName !== undefined && userName !== null) + url_ += "userName=" + encodeURIComponent("" + userName) + "&"; + if (entityTypeFullName !== undefined && entityTypeFullName !== null) + url_ += "entityTypeFullName=" + encodeURIComponent("" + entityTypeFullName) + "&"; if (sorting !== undefined && sorting !== null) url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (maxResultCount === null) @@ -1896,10 +2035,9 @@ export class AuditLogServiceProxy { } /** - * 获取EntityHistory对象类型 * @return Success */ - getEntityHistoryObjectTypes( cancelToken?: CancelToken | undefined): Promise { + getEntityHistoryObjectTypes( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/AuditLog/GetEntityHistoryObjectTypes"; url_ = url_.replace(/[?&]$/, ""); @@ -1955,22 +2093,21 @@ export class AuditLogServiceProxy { } /** - * 获取审计日志分页 - * @param startDate (optional) 开始时间 - * @param endDate (optional) 结束时间 - * @param userName (optional) 用户名 - * @param serviceName (optional) 服务名称 - * @param methodName (optional) 方法名称 - * @param browserInfo (optional) 浏览器信息 - * @param hasException (optional) 是否包含异常 - * @param minExecutionDuration (optional) 最小执行时间 - * @param maxExecutionDuration (optional) 最大执行时间 + * @param startDate (optional) + * @param endDate (optional) + * @param userName (optional) + * @param serviceName (optional) + * @param methodName (optional) + * @param browserInfo (optional) + * @param hasException (optional) + * @param minExecutionDuration (optional) + * @param maxExecutionDuration (optional) * @param sorting (optional) * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPagedAuditLogs(startDate: moment.Moment | null | undefined, endDate: moment.Moment | null | undefined, userName: string | null | undefined, serviceName: string | null | undefined, methodName: string | null | undefined, browserInfo: string | null | undefined, hasException: boolean | null | undefined, minExecutionDuration: number | null | undefined, maxExecutionDuration: number | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { + getPagedAuditLogs(startDate: moment.Moment | null | undefined, endDate: moment.Moment | null | undefined, userName: string | null | undefined, serviceName: string | null | undefined, methodName: string | null | undefined, browserInfo: string | null | undefined, hasException: boolean | null | undefined, minExecutionDuration: number | null | undefined, maxExecutionDuration: number | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/AuditLog/GetPagedAuditLogs?"; if (startDate !== undefined && startDate !== null) url_ += "startDate=" + encodeURIComponent(startDate ? "" + startDate.toISOString() : "") + "&"; @@ -2061,10 +2198,9 @@ export class BigDataServiceProxy { } /** - * 创建 * @return Success */ - create( cancelToken?: CancelToken | undefined): Promise { + create( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/BigData/Create"; url_ = url_.replace(/[?&]$/, ""); @@ -2109,14 +2245,13 @@ export class BigDataServiceProxy { } /** - * 获取分页查询 * @param filterText (optional) * @param sorting (optional) * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { + getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/BigData/GetPaged?"; if (filterText !== undefined && filterText !== null) url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; @@ -2191,12 +2326,11 @@ export class ButtonGroupsServiceProxy { } /** - * 获取按钮组 - * @param buttonGroupsName (optional) 按钮组名称 - * @param userId (optional) 用户Id + * @param buttonGroupsName (optional) + * @param userId (optional) * @return Success */ - getButtonGroups(buttonGroupsName: string | null | undefined, userId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { + getButtonGroups(buttonGroupsName: string | null | undefined, userId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/ButtonGroups/GetButtonGroups?"; if (buttonGroupsName !== undefined && buttonGroupsName !== null) url_ += "buttonGroupsName=" + encodeURIComponent("" + buttonGroupsName) + "&"; @@ -2263,10 +2397,9 @@ export class CacheStateServiceProxy { } /** - * 添加测试缓存数据 * @return Success */ - addCacheTest( cancelToken?: CancelToken | undefined): Promise { + addCacheTest( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/CacheState/AddCacheTest"; url_ = url_.replace(/[?&]$/, ""); @@ -2311,11 +2444,10 @@ export class CacheStateServiceProxy { } /** - * 删除Key * @param key (optional) * @return Success */ - delete(key: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { + delete(key: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/CacheState/Delete?"; if (key !== undefined && key !== null) url_ += "key=" + encodeURIComponent("" + key) + "&"; @@ -2362,11 +2494,10 @@ export class CacheStateServiceProxy { } /** - * 命名空间删除 * @param key (optional) * @return Success */ - deleteNameSpace(key: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { + deleteNameSpace(key: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/CacheState/DeleteNameSpace?"; if (key !== undefined && key !== null) url_ += "key=" + encodeURIComponent("" + key) + "&"; @@ -2413,10 +2544,9 @@ export class CacheStateServiceProxy { } /** - * 清空当前数据库 * @return Success */ - flushDb( cancelToken?: CancelToken | undefined): Promise { + flushDb( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/CacheState/FlushDb"; url_ = url_.replace(/[?&]$/, ""); @@ -2461,11 +2591,10 @@ export class CacheStateServiceProxy { } /** - * 获取缓存值 * @param key (optional) * @return Success */ - get(key: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { + get(key: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/CacheState/Get?"; if (key !== undefined && key !== null) url_ += "key=" + encodeURIComponent("" + key) + "&"; @@ -2517,10 +2646,9 @@ export class CacheStateServiceProxy { } /** - * 获取全部缓存键 * @return Success */ - getAllCacheKey( cancelToken?: CancelToken | undefined): Promise { + getAllCacheKey( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/CacheState/GetAllCacheKey"; url_ = url_.replace(/[?&]$/, ""); @@ -2590,10 +2718,9 @@ export class ChatServiceProxy { } /** - * 获取好友列表 * @return Success */ - getUserChatFriendsWithSettings( cancelToken?: CancelToken | undefined): Promise { + getUserChatFriendsWithSettings( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Chat/GetUserChatFriendsWithSettings"; url_ = url_.replace(/[?&]$/, ""); @@ -2642,13 +2769,12 @@ export class ChatServiceProxy { } /** - * 获取聊天记录 - * @param tenantId (optional) 租户Id - * @param userId (optional) 用户Id - * @param minMessageId (optional) 最小信息Id + * @param tenantId (optional) + * @param userId (optional) + * @param minMessageId (optional) * @return Success */ - getUserChatMessages(tenantId: string | null | undefined, userId: string | null | undefined, minMessageId: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { + getUserChatMessages(tenantId: string | null | undefined, userId: string | null | undefined, minMessageId: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Chat/GetUserChatMessages?"; if (tenantId !== undefined && tenantId !== null) url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; @@ -2703,11 +2829,10 @@ export class ChatServiceProxy { } /** - * 所有未读信息设为已读 * @param body (optional) * @return Success */ - markAllUnreadMessagesOfUserAsRead(body: MarkAllUnreadMessagesOfUserAsReadInput | undefined , cancelToken?: CancelToken | undefined): Promise { + markAllUnreadMessagesOfUserAsRead(body: MarkAllUnreadMessagesOfUserAsReadInput | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Chat/MarkAllUnreadMessagesOfUserAsRead"; url_ = url_.replace(/[?&]$/, ""); @@ -2770,11 +2895,10 @@ export class CommonLookupServiceProxy { } /** - * 查找用户 * @param body (optional) * @return Success */ - findUsers(body: CommonLookupFindUsersInput | undefined , cancelToken?: CancelToken | undefined): Promise { + findUsers(body: CommonLookupFindUsersInput | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/CommonLookup/FindUsers"; url_ = url_.replace(/[?&]$/, ""); @@ -2827,11 +2951,10 @@ export class CommonLookupServiceProxy { } /** - * 查找用户 * @param body (optional) * @return Success */ - findUsersSetUserNameToValue(body: CommonLookupFindUsersInput | undefined , cancelToken?: CancelToken | undefined): Promise { + findUsersSetUserNameToValue(body: CommonLookupFindUsersInput | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/CommonLookup/FindUsersSetUserNameToValue"; url_ = url_.replace(/[?&]$/, ""); @@ -2884,10 +3007,9 @@ export class CommonLookupServiceProxy { } /** - * 获取默认版本名称 * @return Success */ - getDefaultEditionName( cancelToken?: CancelToken | undefined): Promise { + getDefaultEditionName( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/CommonLookup/GetDefaultEditionName"; url_ = url_.replace(/[?&]$/, ""); @@ -2936,11 +3058,10 @@ export class CommonLookupServiceProxy { } /** - * 获取版本下拉列表 * @param onlyFreeItems (optional) * @return Success */ - getEditionsForCombobox(onlyFreeItems: boolean | undefined , cancelToken?: CancelToken | undefined): Promise { + getEditionsForCombobox(onlyFreeItems: boolean | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/CommonLookup/GetEditionsForCombobox?"; if (onlyFreeItems === null) throw new Error("The parameter 'onlyFreeItems' cannot be null."); @@ -2993,11 +3114,10 @@ export class CommonLookupServiceProxy { } /** - * 获取枚举,字符串类型combox数据 - * @param input (optional) 枚举类型,字符串,区分大小写 + * @param input (optional) * @return Success */ - getEnumForCombobox(input: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { + getEnumForCombobox(input: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/CommonLookup/GetEnumForCombobox?"; if (input !== undefined && input !== null) url_ += "input=" + encodeURIComponent("" + input) + "&"; @@ -3054,7 +3174,7 @@ export class CommonLookupServiceProxy { * @param skipCount (optional) * @return Success */ - getQueryInput(queryConditions: QueryCondition[] | null | undefined, sortConditions: SortCondition[] | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { + getQueryInput(queryConditions: QueryCondition[] | null | undefined, sortConditions: SortCondition[] | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/CommonLookup/GetQueryInput"; url_ = url_.replace(/[?&]$/, ""); @@ -3120,7 +3240,7 @@ export class CommonLookupServiceProxy { /** * @return Success */ - getValidateCodeTypesForCombobox( cancelToken?: CancelToken | undefined): Promise { + getValidateCodeTypesForCombobox( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/CommonLookup/GetValidateCodeTypesForCombobox"; url_ = url_.replace(/[?&]$/, ""); @@ -3172,7 +3292,7 @@ export class CommonLookupServiceProxy { * @param body (optional) * @return Success */ - tempQueryCondition(body: QueryInput | undefined , cancelToken?: CancelToken | undefined): Promise { + tempQueryCondition(body: QueryInput | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/CommonLookup/TempQueryCondition"; url_ = url_.replace(/[?&]$/, ""); @@ -3237,7 +3357,7 @@ export class DemoServiceProxy { /** * @return Success */ - getMomentTestDto( cancelToken?: CancelToken | undefined): Promise { + getMomentTestDto( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Demo/GetMomentTestDto"; url_ = url_.replace(/[?&]$/, ""); @@ -3289,7 +3409,7 @@ export class DemoServiceProxy { * @param body (optional) * @return Success */ - updateMomentTestDto(body: MomentTestDto | undefined , cancelToken?: CancelToken | undefined): Promise { + updateMomentTestDto(body: MomentTestDto | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Demo/UpdateMomentTestDto"; url_ = url_.replace(/[?&]$/, ""); @@ -3356,10 +3476,9 @@ export class DynamicMenuServiceProxy { } /** - * 获取动态菜单的分页列表集合 * @return Success */ - getList( cancelToken?: CancelToken | undefined): Promise { + getList( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/DynamicMenu/GetList"; url_ = url_.replace(/[?&]$/, ""); @@ -3432,7 +3551,7 @@ export class DynamicPageServiceProxy { * @param name (optional) * @return Success */ - getColumns(name: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { + getColumns(name: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/DynamicPage/GetColumns?"; if (name !== undefined && name !== null) url_ += "name=" + encodeURIComponent("" + name) + "&"; @@ -3486,7 +3605,7 @@ export class DynamicPageServiceProxy { * @param name (optional) * @return Success */ - getDynamicPageInfo(name: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { + getDynamicPageInfo(name: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/DynamicPage/GetDynamicPageInfo?"; if (name !== undefined && name !== null) url_ += "name=" + encodeURIComponent("" + name) + "&"; @@ -3540,7 +3659,7 @@ export class DynamicPageServiceProxy { * @param name (optional) * @return Success */ - getPageFilters(name: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { + getPageFilters(name: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/DynamicPage/GetPageFilters?"; if (name !== undefined && name !== null) url_ += "name=" + encodeURIComponent("" + name) + "&"; @@ -3605,11 +3724,10 @@ export class EditionServiceProxy { } /** - * 创建或编辑版本 * @param body (optional) * @return Success */ - createOrUpdateEdition(body: CreateOrUpdateEditionDto | undefined , cancelToken?: CancelToken | undefined): Promise { + createOrUpdateEdition(body: CreateOrUpdateEditionDto | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Edition/CreateOrUpdateEdition"; url_ = url_.replace(/[?&]$/, ""); @@ -3658,11 +3776,10 @@ export class EditionServiceProxy { } /** - * 批量删除版本 * @param ids (optional) * @return Success */ - deleteBathEdition(ids: string[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { + deleteBathEdition(ids: string[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Edition/DeleteBathEdition?"; if (ids !== undefined && ids !== null) ids && ids.forEach(item => { url_ += "ids=" + encodeURIComponent("" + item) + "&"; }); @@ -3709,11 +3826,10 @@ export class EditionServiceProxy { } /** - * 删除版本 * @param id (optional) * @return Success */ - deleteEdition(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { + deleteEdition(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Edition/DeleteEdition?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; @@ -3760,13 +3876,12 @@ export class EditionServiceProxy { } /** - * 获取版本下拉选项 * @param selectedEditionId (optional) * @param addAllItem (optional) * @param onlyFreeItems (optional) * @return Success */ - getEditionComboboxItems(selectedEditionId: string | null | undefined, addAllItem: boolean | undefined, onlyFreeItems: boolean | undefined , cancelToken?: CancelToken | undefined): Promise { + getEditionComboboxItems(selectedEditionId: string | null | undefined, addAllItem: boolean | undefined, onlyFreeItems: boolean | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Edition/GetEditionComboboxItems?"; if (selectedEditionId !== undefined && selectedEditionId !== null) url_ += "selectedEditionId=" + encodeURIComponent("" + selectedEditionId) + "&"; @@ -3832,11 +3947,10 @@ export class EditionServiceProxy { } /** - * 获取版本编辑 * @param id (optional) * @return Success */ - getEditionForEdit(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { + getEditionForEdit(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Edition/GetEditionForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; @@ -3887,10 +4001,9 @@ export class EditionServiceProxy { } /** - * 获取版本 * @return Success */ - getEditions( cancelToken?: CancelToken | undefined): Promise { + getEditions( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Edition/GetEditions"; url_ = url_.replace(/[?&]$/, ""); @@ -3939,14 +4052,13 @@ export class EditionServiceProxy { } /** - * 获取版本(过滤) * @param filterText (optional) * @param sorting (optional) * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getEditionsByFile(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { + getEditionsByFile(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Edition/GetEditionsByFile?"; if (filterText !== undefined && filterText !== null) url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; @@ -4007,11 +4119,10 @@ export class EditionServiceProxy { } /** - * 获取租户数量 * @param editionId (optional) * @return Success */ - getTenantCount(editionId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { + getTenantCount(editionId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Edition/GetTenantCount?"; if (editionId !== undefined && editionId !== null) url_ += "editionId=" + encodeURIComponent("" + editionId) + "&"; @@ -4063,11 +4174,10 @@ export class EditionServiceProxy { } /** - * 变更租户版本 * @param body (optional) * @return Success */ - moveTenantsToAnotherEdition(body: MoveTenantsToAnotherEditionDto | undefined , cancelToken?: CancelToken | undefined): Promise { + moveTenantsToAnotherEdition(body: MoveTenantsToAnotherEditionDto | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Edition/MoveTenantsToAnotherEdition"; url_ = url_.replace(/[?&]$/, ""); @@ -4130,17 +4240,16 @@ export class EntityChangeHistoryServiceProxy { } /** - * 导出为excel - * @param startDate (optional) 开始日期 - * @param endDate (optional) 结束日期 - * @param userName (optional) 用户名称 - * @param entityTypeFullName (optional) 属性类型全称 + * @param startDate (optional) + * @param endDate (optional) + * @param userName (optional) + * @param entityTypeFullName (optional) * @param sorting (optional) * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getEntityChangesToExcel(startDate: moment.Moment | null | undefined, endDate: moment.Moment | null | undefined, userName: string | null | undefined, entityTypeFullName: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { + getEntityChangesToExcel(startDate: moment.Moment | null | undefined, endDate: moment.Moment | null | undefined, userName: string | null | undefined, entityTypeFullName: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/EntityChangeHistory/GetEntityChangesToExcel?"; if (startDate !== undefined && startDate !== null) url_ += "startDate=" + encodeURIComponent(startDate ? "" + startDate.toISOString() : "") + "&"; @@ -4207,10 +4316,9 @@ export class EntityChangeHistoryServiceProxy { } /** - * 获取哪些实体启动了变更记录列表 * @return Success */ - getEntityHistoryObjectTypes( cancelToken?: CancelToken | undefined): Promise { + getEntityHistoryObjectTypes( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/EntityChangeHistory/GetEntityHistoryObjectTypes"; url_ = url_.replace(/[?&]$/, ""); @@ -4266,11 +4374,10 @@ export class EntityChangeHistoryServiceProxy { } /** - * 根据实体操作记录查询属性变更的值 * @param entityChangeId (optional) * @return Success */ - getEntityPropertyChanges(entityChangeId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { + getEntityPropertyChanges(entityChangeId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/EntityChangeHistory/GetEntityPropertyChanges?"; if (entityChangeId !== undefined && entityChangeId !== null) url_ += "entityChangeId=" + encodeURIComponent("" + entityChangeId) + "&"; @@ -4328,17 +4435,16 @@ export class EntityChangeHistoryServiceProxy { } /** - * 获取实体信息的操作变更记录列表 - * @param startDate (optional) 开始日期 - * @param endDate (optional) 结束日期 - * @param userName (optional) 用户名称 - * @param entityTypeFullName (optional) 属性类型全称 + * @param startDate (optional) + * @param endDate (optional) + * @param userName (optional) + * @param entityTypeFullName (optional) * @param sorting (optional) * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPagedEntityChanges(startDate: moment.Moment | null | undefined, endDate: moment.Moment | null | undefined, userName: string | null | undefined, entityTypeFullName: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { + getPagedEntityChanges(startDate: moment.Moment | null | undefined, endDate: moment.Moment | null | undefined, userName: string | null | undefined, entityTypeFullName: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/EntityChangeHistory/GetPagedEntityChanges?"; if (startDate !== undefined && startDate !== null) url_ += "startDate=" + encodeURIComponent(startDate ? "" + startDate.toISOString() : "") + "&"; @@ -4405,16 +4511,15 @@ export class EntityChangeHistoryServiceProxy { } /** - * 根据实体信息,查询的变更记录信息 - * @param entityTypeFullName (optional) 属性类型全称 - * @param entityId (optional) 实体Id + * @param entityTypeFullName (optional) + * @param entityId (optional) * @param filterText (optional) * @param sorting (optional) * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPagedEntityTypeChanges(entityTypeFullName: string | null | undefined, entityId: string | null | undefined, filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { + getPagedEntityTypeChanges(entityTypeFullName: string | null | undefined, entityId: string | null | undefined, filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/EntityChangeHistory/GetPagedEntityTypeChanges?"; if (entityTypeFullName !== undefined && entityTypeFullName !== null) url_ += "entityTypeFullName=" + encodeURIComponent("" + entityTypeFullName) + "&"; @@ -4493,10 +4598,9 @@ export class ExtensionServiceProxy { } /** - * 新增文件 返回文件表 * @return Success */ - createReturnSysFile( cancelToken?: CancelToken | undefined): Promise { + createReturnSysFile( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Extension/CreateReturnSysFile"; url_ = url_.replace(/[?&]$/, ""); @@ -4545,10 +4649,9 @@ export class ExtensionServiceProxy { } /** - * 获取列行为 * @return Success */ - getAllColumnAction( cancelToken?: CancelToken | undefined): Promise { + getAllColumnAction( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Extension/GetAllColumnAction"; url_ = url_.replace(/[?&]$/, ""); @@ -4604,10 +4707,9 @@ export class ExtensionServiceProxy { } /** - * 获取列类型 * @return Success */ - getAllColumnDataType( cancelToken?: CancelToken | undefined): Promise { + getAllColumnDataType( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Extension/GetAllColumnDataType"; url_ = url_.replace(/[?&]$/, ""); @@ -4663,10 +4765,9 @@ export class ExtensionServiceProxy { } /** - * 获取列逻辑 * @return Success */ - getAllColumnLogic( cancelToken?: CancelToken | undefined): Promise { + getAllColumnLogic( cancelToken?: CancelToken | undefined): Promise { let url_ = this.baseUrl + "/api/services/app/Extension/GetAllColumnLogic"; url_ = url_.replace(/[?&]$/, ""); @@ -4724,8 +4825,8 @@ export class ExtensionServiceProxy { /** * @return Success */ - getEnumKeyList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Extension/GetEnumKeyList"; + getAllEnumName( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/GetAllEnumName"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -4744,11 +4845,11 @@ export class ExtensionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetEnumKeyList(_response); + return this.processGetAllEnumName(_response); }); } - protected processGetEnumKeyList(response: AxiosResponse): Promise { + protected processGetAllEnumName(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -4780,17 +4881,10 @@ export class ExtensionServiceProxy { } /** - * 获取枚举值 - * @param enumName (optional) - * @param defaultValue (optional) * @return Success */ - getEnumList(enumName: string | null | undefined, defaultValue: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Extension/GetEnumList?"; - if (enumName !== undefined && enumName !== null) - url_ += "enumName=" + encodeURIComponent("" + enumName) + "&"; - if (defaultValue !== undefined && defaultValue !== null) - url_ += "defaultValue=" + encodeURIComponent("" + defaultValue) + "&"; + getAllStaticEnumValueList( cancelToken?: CancelToken | undefined): Promise<{ [key: string]: SelectItemExt[]; }> { + let url_ = this.baseUrl + "/api/services/app/Extension/GetAllStaticEnumValueList"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -4809,11 +4903,11 @@ export class ExtensionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetEnumList(_response); + return this.processGetAllStaticEnumValueList(_response); }); } - protected processGetEnumList(response: AxiosResponse): Promise { + protected processGetAllStaticEnumValueList(response: AxiosResponse): Promise<{ [key: string]: SelectItemExt[]; }> { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -4827,35 +4921,2038 @@ export class ExtensionServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectListItem.fromJS(item)); + if (resultData200) { + result200 = {} as any; + for (let key in resultData200) { + if (resultData200.hasOwnProperty(key)) + (result200)[key] = resultData200[key] ? resultData200[key].map((i: any) => SelectItemExt.fromJS(i)) : []; + } } else { result200 = null; } - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * 获取枚举值 - * @param enumName (optional) - * @return Success - */ - getEnumList2(enumName: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Extension/GetEnumList2?"; - if (enumName !== undefined && enumName !== null) - url_ += "enumName=" + encodeURIComponent("" + enumName) + "&"; + return Promise.resolve<{ [key: string]: SelectItemExt[]; }>(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve<{ [key: string]: SelectItemExt[]; }>(null as any); + } + + /** + * @param httpContext_features (optional) + * @param httpContext_request_httpContext_features (optional) + * @param httpContext_request_httpContext_request (optional) + * @param httpContext_request_httpContext_response_httpContext_features (optional) + * @param httpContext_request_httpContext_response_httpContext_request (optional) + * @param httpContext_request_httpContext_response_httpContext_response (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_id (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_scopeId (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Multicast (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6LinkLocal (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6SiteLocal (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Teredo (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6 (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_address (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_remotePort (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_localIpAddress_scopeId (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6Multicast (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6LinkLocal (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6SiteLocal (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6Teredo (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6UniqueLocal (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv4MappedToIPv6 (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_localIpAddress_address (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_localPort (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_archived (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_extensions (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_friendlyName (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_hasPrivateKey (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_keySize (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_legalKeySizes (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_name (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_value (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_friendlyName (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_rawData (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_notAfter (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_notBefore (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keySize (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_value (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_friendlyName (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_rawData (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_serialNumber (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_value (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_name (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_value (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_friendlyName (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_rawData (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_thumbprint (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_version (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_handle (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuer (optional) + * @param httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subject (optional) + * @param httpContext_request_httpContext_response_httpContext_webSockets_isWebSocketRequest (optional) + * @param httpContext_request_httpContext_response_httpContext_webSockets_webSocketRequestedProtocols (optional) + * @param httpContext_request_httpContext_response_httpContext_user_claims (optional) + * @param httpContext_request_httpContext_response_httpContext_user_identities (optional) + * @param httpContext_request_httpContext_response_httpContext_user_identity_name (optional) + * @param httpContext_request_httpContext_response_httpContext_user_identity_authenticationType (optional) + * @param httpContext_request_httpContext_response_httpContext_user_identity_isAuthenticated (optional) + * @param httpContext_request_httpContext_response_httpContext_items (optional) + * @param httpContext_request_httpContext_response_httpContext_requestServices (optional) + * @param httpContext_request_httpContext_response_httpContext_traceIdentifier (optional) + * @param httpContext_request_httpContext_response_httpContext_session_isAvailable (optional) + * @param httpContext_request_httpContext_response_httpContext_session_id (optional) + * @param httpContext_request_httpContext_response_httpContext_session_keys (optional) + * @param httpContext_request_httpContext_response_statusCode (optional) + * @param httpContext_request_httpContext_response_headers (optional) + * @param httpContext_request_httpContext_response_body_canRead (optional) + * @param httpContext_request_httpContext_response_body_canWrite (optional) + * @param httpContext_request_httpContext_response_body_canSeek (optional) + * @param httpContext_request_httpContext_response_body_canTimeout (optional) + * @param httpContext_request_httpContext_response_body_length (optional) + * @param httpContext_request_httpContext_response_body_position (optional) + * @param httpContext_request_httpContext_response_body_readTimeout (optional) + * @param httpContext_request_httpContext_response_body_writeTimeout (optional) + * @param httpContext_request_httpContext_response_bodyWriter_canGetUnflushedBytes (optional) + * @param httpContext_request_httpContext_response_bodyWriter_unflushedBytes (optional) + * @param httpContext_request_httpContext_response_contentLength (optional) + * @param httpContext_request_httpContext_response_contentType (optional) + * @param httpContext_request_httpContext_response_cookies (optional) + * @param httpContext_request_httpContext_response_hasStarted (optional) + * @param httpContext_request_httpContext_connection_id (optional) + * @param httpContext_request_httpContext_connection_remoteIpAddress_scopeId (optional) + * @param httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Multicast (optional) + * @param httpContext_request_httpContext_connection_remoteIpAddress_isIPv6LinkLocal (optional) + * @param httpContext_request_httpContext_connection_remoteIpAddress_isIPv6SiteLocal (optional) + * @param httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Teredo (optional) + * @param httpContext_request_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal (optional) + * @param httpContext_request_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6 (optional) + * @param httpContext_request_httpContext_connection_remoteIpAddress_address (optional) + * @param httpContext_request_httpContext_connection_remotePort (optional) + * @param httpContext_request_httpContext_connection_localIpAddress_scopeId (optional) + * @param httpContext_request_httpContext_connection_localIpAddress_isIPv6Multicast (optional) + * @param httpContext_request_httpContext_connection_localIpAddress_isIPv6LinkLocal (optional) + * @param httpContext_request_httpContext_connection_localIpAddress_isIPv6SiteLocal (optional) + * @param httpContext_request_httpContext_connection_localIpAddress_isIPv6Teredo (optional) + * @param httpContext_request_httpContext_connection_localIpAddress_isIPv6UniqueLocal (optional) + * @param httpContext_request_httpContext_connection_localIpAddress_isIPv4MappedToIPv6 (optional) + * @param httpContext_request_httpContext_connection_localIpAddress_address (optional) + * @param httpContext_request_httpContext_connection_localPort (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_archived (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_extensions (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_friendlyName (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_hasPrivateKey (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_privateKey_keySize (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_privateKey_legalKeySizes (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_issuerName_name (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_value (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_friendlyName (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_issuerName_rawData (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_notAfter (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_notBefore (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keySize (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_value (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_friendlyName (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_rawData (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_serialNumber (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_value (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_subjectName_name (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_value (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_friendlyName (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_subjectName_rawData (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_thumbprint (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_version (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_handle (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_issuer (optional) + * @param httpContext_request_httpContext_connection_clientCertificate_subject (optional) + * @param httpContext_request_httpContext_webSockets_isWebSocketRequest (optional) + * @param httpContext_request_httpContext_webSockets_webSocketRequestedProtocols (optional) + * @param httpContext_request_httpContext_user_claims (optional) + * @param httpContext_request_httpContext_user_identities (optional) + * @param httpContext_request_httpContext_user_identity_name (optional) + * @param httpContext_request_httpContext_user_identity_authenticationType (optional) + * @param httpContext_request_httpContext_user_identity_isAuthenticated (optional) + * @param httpContext_request_httpContext_items (optional) + * @param httpContext_request_httpContext_requestServices (optional) + * @param httpContext_request_httpContext_traceIdentifier (optional) + * @param httpContext_request_httpContext_session_isAvailable (optional) + * @param httpContext_request_httpContext_session_id (optional) + * @param httpContext_request_httpContext_session_keys (optional) + * @param httpContext_request_method (optional) + * @param httpContext_request_scheme (optional) + * @param httpContext_request_isHttps (optional) + * @param httpContext_request_host_value (optional) + * @param httpContext_request_host_hasValue (optional) + * @param httpContext_request_host_host (optional) + * @param httpContext_request_host_port (optional) + * @param httpContext_request_pathBase (optional) + * @param httpContext_request_path (optional) + * @param httpContext_request_queryString_value (optional) + * @param httpContext_request_queryString_hasValue (optional) + * @param httpContext_request_query (optional) + * @param httpContext_request_protocol (optional) + * @param httpContext_request_headers (optional) + * @param httpContext_request_cookies (optional) + * @param httpContext_request_contentLength (optional) + * @param httpContext_request_contentType (optional) + * @param httpContext_request_body_canRead (optional) + * @param httpContext_request_body_canWrite (optional) + * @param httpContext_request_body_canSeek (optional) + * @param httpContext_request_body_canTimeout (optional) + * @param httpContext_request_body_length (optional) + * @param httpContext_request_body_position (optional) + * @param httpContext_request_body_readTimeout (optional) + * @param httpContext_request_body_writeTimeout (optional) + * @param httpContext_request_bodyReader (optional) + * @param httpContext_request_hasFormContentType (optional) + * @param httpContext_request_routeValues (optional) + * @param httpContext_response_httpContext_features (optional) + * @param httpContext_response_httpContext_request_httpContext_features (optional) + * @param httpContext_response_httpContext_request_httpContext_request (optional) + * @param httpContext_response_httpContext_request_httpContext_response (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_id (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_scopeId (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Multicast (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6LinkLocal (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6SiteLocal (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Teredo (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6 (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_address (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_remotePort (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_localIpAddress_scopeId (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6Multicast (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6LinkLocal (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6SiteLocal (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6Teredo (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6UniqueLocal (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv4MappedToIPv6 (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_localIpAddress_address (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_localPort (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_archived (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_extensions (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_friendlyName (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_hasPrivateKey (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_keySize (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_legalKeySizes (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_name (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_value (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_friendlyName (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_rawData (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_notAfter (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_notBefore (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keySize (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_value (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_friendlyName (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_rawData (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_serialNumber (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_value (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_name (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_value (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_friendlyName (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_rawData (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_thumbprint (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_version (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_handle (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuer (optional) + * @param httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subject (optional) + * @param httpContext_response_httpContext_request_httpContext_webSockets_isWebSocketRequest (optional) + * @param httpContext_response_httpContext_request_httpContext_webSockets_webSocketRequestedProtocols (optional) + * @param httpContext_response_httpContext_request_httpContext_user_claims (optional) + * @param httpContext_response_httpContext_request_httpContext_user_identities (optional) + * @param httpContext_response_httpContext_request_httpContext_user_identity_name (optional) + * @param httpContext_response_httpContext_request_httpContext_user_identity_authenticationType (optional) + * @param httpContext_response_httpContext_request_httpContext_user_identity_isAuthenticated (optional) + * @param httpContext_response_httpContext_request_httpContext_items (optional) + * @param httpContext_response_httpContext_request_httpContext_requestServices (optional) + * @param httpContext_response_httpContext_request_httpContext_traceIdentifier (optional) + * @param httpContext_response_httpContext_request_httpContext_session_isAvailable (optional) + * @param httpContext_response_httpContext_request_httpContext_session_id (optional) + * @param httpContext_response_httpContext_request_httpContext_session_keys (optional) + * @param httpContext_response_httpContext_request_method (optional) + * @param httpContext_response_httpContext_request_scheme (optional) + * @param httpContext_response_httpContext_request_isHttps (optional) + * @param httpContext_response_httpContext_request_host_value (optional) + * @param httpContext_response_httpContext_request_host_hasValue (optional) + * @param httpContext_response_httpContext_request_host_host (optional) + * @param httpContext_response_httpContext_request_host_port (optional) + * @param httpContext_response_httpContext_request_pathBase (optional) + * @param httpContext_response_httpContext_request_path (optional) + * @param httpContext_response_httpContext_request_queryString_value (optional) + * @param httpContext_response_httpContext_request_queryString_hasValue (optional) + * @param httpContext_response_httpContext_request_query (optional) + * @param httpContext_response_httpContext_request_protocol (optional) + * @param httpContext_response_httpContext_request_headers (optional) + * @param httpContext_response_httpContext_request_cookies (optional) + * @param httpContext_response_httpContext_request_contentLength (optional) + * @param httpContext_response_httpContext_request_contentType (optional) + * @param httpContext_response_httpContext_request_body_canRead (optional) + * @param httpContext_response_httpContext_request_body_canWrite (optional) + * @param httpContext_response_httpContext_request_body_canSeek (optional) + * @param httpContext_response_httpContext_request_body_canTimeout (optional) + * @param httpContext_response_httpContext_request_body_length (optional) + * @param httpContext_response_httpContext_request_body_position (optional) + * @param httpContext_response_httpContext_request_body_readTimeout (optional) + * @param httpContext_response_httpContext_request_body_writeTimeout (optional) + * @param httpContext_response_httpContext_request_bodyReader (optional) + * @param httpContext_response_httpContext_request_hasFormContentType (optional) + * @param httpContext_response_httpContext_request_routeValues (optional) + * @param httpContext_response_httpContext_response (optional) + * @param httpContext_response_httpContext_connection_id (optional) + * @param httpContext_response_httpContext_connection_remoteIpAddress_scopeId (optional) + * @param httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Multicast (optional) + * @param httpContext_response_httpContext_connection_remoteIpAddress_isIPv6LinkLocal (optional) + * @param httpContext_response_httpContext_connection_remoteIpAddress_isIPv6SiteLocal (optional) + * @param httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Teredo (optional) + * @param httpContext_response_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal (optional) + * @param httpContext_response_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6 (optional) + * @param httpContext_response_httpContext_connection_remoteIpAddress_address (optional) + * @param httpContext_response_httpContext_connection_remotePort (optional) + * @param httpContext_response_httpContext_connection_localIpAddress_scopeId (optional) + * @param httpContext_response_httpContext_connection_localIpAddress_isIPv6Multicast (optional) + * @param httpContext_response_httpContext_connection_localIpAddress_isIPv6LinkLocal (optional) + * @param httpContext_response_httpContext_connection_localIpAddress_isIPv6SiteLocal (optional) + * @param httpContext_response_httpContext_connection_localIpAddress_isIPv6Teredo (optional) + * @param httpContext_response_httpContext_connection_localIpAddress_isIPv6UniqueLocal (optional) + * @param httpContext_response_httpContext_connection_localIpAddress_isIPv4MappedToIPv6 (optional) + * @param httpContext_response_httpContext_connection_localIpAddress_address (optional) + * @param httpContext_response_httpContext_connection_localPort (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_archived (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_extensions (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_friendlyName (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_hasPrivateKey (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_privateKey_keySize (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_privateKey_legalKeySizes (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_issuerName_name (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_value (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_friendlyName (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_issuerName_rawData (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_notAfter (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_notBefore (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keySize (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_value (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_friendlyName (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_rawData (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_serialNumber (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_value (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_subjectName_name (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_value (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_friendlyName (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_subjectName_rawData (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_thumbprint (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_version (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_handle (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_issuer (optional) + * @param httpContext_response_httpContext_connection_clientCertificate_subject (optional) + * @param httpContext_response_httpContext_webSockets_isWebSocketRequest (optional) + * @param httpContext_response_httpContext_webSockets_webSocketRequestedProtocols (optional) + * @param httpContext_response_httpContext_user_claims (optional) + * @param httpContext_response_httpContext_user_identities (optional) + * @param httpContext_response_httpContext_user_identity_name (optional) + * @param httpContext_response_httpContext_user_identity_authenticationType (optional) + * @param httpContext_response_httpContext_user_identity_isAuthenticated (optional) + * @param httpContext_response_httpContext_items (optional) + * @param httpContext_response_httpContext_requestServices (optional) + * @param httpContext_response_httpContext_traceIdentifier (optional) + * @param httpContext_response_httpContext_session_isAvailable (optional) + * @param httpContext_response_httpContext_session_id (optional) + * @param httpContext_response_httpContext_session_keys (optional) + * @param httpContext_response_statusCode (optional) + * @param httpContext_response_headers (optional) + * @param httpContext_response_body_canRead (optional) + * @param httpContext_response_body_canWrite (optional) + * @param httpContext_response_body_canSeek (optional) + * @param httpContext_response_body_canTimeout (optional) + * @param httpContext_response_body_length (optional) + * @param httpContext_response_body_position (optional) + * @param httpContext_response_body_readTimeout (optional) + * @param httpContext_response_body_writeTimeout (optional) + * @param httpContext_response_bodyWriter_canGetUnflushedBytes (optional) + * @param httpContext_response_bodyWriter_unflushedBytes (optional) + * @param httpContext_response_contentLength (optional) + * @param httpContext_response_contentType (optional) + * @param httpContext_response_cookies (optional) + * @param httpContext_response_hasStarted (optional) + * @param httpContext_connection_id (optional) + * @param httpContext_connection_remoteIpAddress_scopeId (optional) + * @param httpContext_connection_remoteIpAddress_isIPv6Multicast (optional) + * @param httpContext_connection_remoteIpAddress_isIPv6LinkLocal (optional) + * @param httpContext_connection_remoteIpAddress_isIPv6SiteLocal (optional) + * @param httpContext_connection_remoteIpAddress_isIPv6Teredo (optional) + * @param httpContext_connection_remoteIpAddress_isIPv6UniqueLocal (optional) + * @param httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6 (optional) + * @param httpContext_connection_remoteIpAddress_address (optional) + * @param httpContext_connection_remotePort (optional) + * @param httpContext_connection_localIpAddress_scopeId (optional) + * @param httpContext_connection_localIpAddress_isIPv6Multicast (optional) + * @param httpContext_connection_localIpAddress_isIPv6LinkLocal (optional) + * @param httpContext_connection_localIpAddress_isIPv6SiteLocal (optional) + * @param httpContext_connection_localIpAddress_isIPv6Teredo (optional) + * @param httpContext_connection_localIpAddress_isIPv6UniqueLocal (optional) + * @param httpContext_connection_localIpAddress_isIPv4MappedToIPv6 (optional) + * @param httpContext_connection_localIpAddress_address (optional) + * @param httpContext_connection_localPort (optional) + * @param httpContext_connection_clientCertificate_archived (optional) + * @param httpContext_connection_clientCertificate_extensions (optional) + * @param httpContext_connection_clientCertificate_friendlyName (optional) + * @param httpContext_connection_clientCertificate_hasPrivateKey (optional) + * @param httpContext_connection_clientCertificate_privateKey_keySize (optional) + * @param httpContext_connection_clientCertificate_privateKey_legalKeySizes (optional) + * @param httpContext_connection_clientCertificate_privateKey_signatureAlgorithm (optional) + * @param httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm (optional) + * @param httpContext_connection_clientCertificate_issuerName_name (optional) + * @param httpContext_connection_clientCertificate_issuerName_oid_value (optional) + * @param httpContext_connection_clientCertificate_issuerName_oid_friendlyName (optional) + * @param httpContext_connection_clientCertificate_issuerName_rawData (optional) + * @param httpContext_connection_clientCertificate_notAfter (optional) + * @param httpContext_connection_clientCertificate_notBefore (optional) + * @param httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value (optional) + * @param httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName (optional) + * @param httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData (optional) + * @param httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value (optional) + * @param httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName (optional) + * @param httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData (optional) + * @param httpContext_connection_clientCertificate_publicKey_key_keySize (optional) + * @param httpContext_connection_clientCertificate_publicKey_key_legalKeySizes (optional) + * @param httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm (optional) + * @param httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm (optional) + * @param httpContext_connection_clientCertificate_publicKey_oid_value (optional) + * @param httpContext_connection_clientCertificate_publicKey_oid_friendlyName (optional) + * @param httpContext_connection_clientCertificate_rawData (optional) + * @param httpContext_connection_clientCertificate_serialNumber (optional) + * @param httpContext_connection_clientCertificate_signatureAlgorithm_value (optional) + * @param httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName (optional) + * @param httpContext_connection_clientCertificate_subjectName_name (optional) + * @param httpContext_connection_clientCertificate_subjectName_oid_value (optional) + * @param httpContext_connection_clientCertificate_subjectName_oid_friendlyName (optional) + * @param httpContext_connection_clientCertificate_subjectName_rawData (optional) + * @param httpContext_connection_clientCertificate_thumbprint (optional) + * @param httpContext_connection_clientCertificate_version (optional) + * @param httpContext_connection_clientCertificate_handle (optional) + * @param httpContext_connection_clientCertificate_issuer (optional) + * @param httpContext_connection_clientCertificate_subject (optional) + * @param httpContext_webSockets_isWebSocketRequest (optional) + * @param httpContext_webSockets_webSocketRequestedProtocols (optional) + * @param httpContext_user_claims (optional) + * @param httpContext_user_identities (optional) + * @param httpContext_user_identity_name (optional) + * @param httpContext_user_identity_authenticationType (optional) + * @param httpContext_user_identity_isAuthenticated (optional) + * @param httpContext_items (optional) + * @param httpContext_requestServices (optional) + * @param httpContext_traceIdentifier (optional) + * @param httpContext_session_isAvailable (optional) + * @param httpContext_session_id (optional) + * @param httpContext_session_keys (optional) + * @param httpContext_request_form (optional) + * @param httpContext_response_httpContext_request_form (optional) + * @return Success + */ + getBaseUrl(httpContext_features: KeyValuePairOfTypeObject[] | null | undefined, httpContext_request_httpContext_features: KeyValuePairOfTypeObject[] | null | undefined, httpContext_request_httpContext_request: HttpRequest | undefined, httpContext_request_httpContext_response_httpContext_features: KeyValuePairOfTypeObject[] | null | undefined, httpContext_request_httpContext_response_httpContext_request: HttpRequest | undefined, httpContext_request_httpContext_response_httpContext_response: HttpResponse | undefined, httpContext_request_httpContext_response_httpContext_connection_id: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_addressFamily: AddressFamily, httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_scopeId: number | undefined, httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Multicast: boolean | undefined, httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6LinkLocal: boolean | undefined, httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6SiteLocal: boolean | undefined, httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Teredo: boolean | undefined, httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal: boolean | undefined, httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6: boolean | undefined, httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_address: number | undefined, httpContext_request_httpContext_response_httpContext_connection_remotePort: number | undefined, httpContext_request_httpContext_response_httpContext_connection_localIpAddress_addressFamily: AddressFamily, httpContext_request_httpContext_response_httpContext_connection_localIpAddress_scopeId: number | undefined, httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6Multicast: boolean | undefined, httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6LinkLocal: boolean | undefined, httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6SiteLocal: boolean | undefined, httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6Teredo: boolean | undefined, httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6UniqueLocal: boolean | undefined, httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv4MappedToIPv6: boolean | undefined, httpContext_request_httpContext_response_httpContext_connection_localIpAddress_address: number | undefined, httpContext_request_httpContext_response_httpContext_connection_localPort: number | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_archived: boolean | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_extensions: X509Extension[] | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_friendlyName: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_hasPrivateKey: boolean | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_keySize: number | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_legalKeySizes: _definitions_KeySizes[] | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_name: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_value: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_friendlyName: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_rawData: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_notAfter: moment.Moment | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_notBefore: moment.Moment | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keySize: number | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes: _definitions_KeySizes[] | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_value: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_friendlyName: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_rawData: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_serialNumber: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_value: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_name: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_value: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_friendlyName: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_rawData: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_thumbprint: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_version: number | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_handle: any | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuer: string | null | undefined, httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subject: string | null | undefined, httpContext_request_httpContext_response_httpContext_webSockets_isWebSocketRequest: boolean | undefined, httpContext_request_httpContext_response_httpContext_webSockets_webSocketRequestedProtocols: string[] | null | undefined, httpContext_request_httpContext_response_httpContext_user_claims: _definitions_Claim[] | null | undefined, httpContext_request_httpContext_response_httpContext_user_identities: _definitions_ClaimsIdentity[] | null | undefined, httpContext_request_httpContext_response_httpContext_user_identity_name: string | null | undefined, httpContext_request_httpContext_response_httpContext_user_identity_authenticationType: string | null | undefined, httpContext_request_httpContext_response_httpContext_user_identity_isAuthenticated: boolean | undefined, httpContext_request_httpContext_response_httpContext_items: { [key: string]: any; } | null | undefined, httpContext_request_httpContext_response_httpContext_requestServices: IServiceProvider | undefined, httpContext_request_httpContext_response_httpContext_traceIdentifier: string | null | undefined, httpContext_request_httpContext_response_httpContext_session_isAvailable: boolean | undefined, httpContext_request_httpContext_response_httpContext_session_id: string | null | undefined, httpContext_request_httpContext_response_httpContext_session_keys: string[] | null | undefined, httpContext_request_httpContext_response_statusCode: number | undefined, httpContext_request_httpContext_response_headers: { [key: string]: string[]; } | null | undefined, httpContext_request_httpContext_response_body_canRead: boolean | undefined, httpContext_request_httpContext_response_body_canWrite: boolean | undefined, httpContext_request_httpContext_response_body_canSeek: boolean | undefined, httpContext_request_httpContext_response_body_canTimeout: boolean | undefined, httpContext_request_httpContext_response_body_length: number | undefined, httpContext_request_httpContext_response_body_position: number | undefined, httpContext_request_httpContext_response_body_readTimeout: number | undefined, httpContext_request_httpContext_response_body_writeTimeout: number | undefined, httpContext_request_httpContext_response_bodyWriter_canGetUnflushedBytes: boolean | undefined, httpContext_request_httpContext_response_bodyWriter_unflushedBytes: number | undefined, httpContext_request_httpContext_response_contentLength: number | null | undefined, httpContext_request_httpContext_response_contentType: string | null | undefined, httpContext_request_httpContext_response_cookies: IResponseCookies | undefined, httpContext_request_httpContext_response_hasStarted: boolean | undefined, httpContext_request_httpContext_connection_id: string | null | undefined, httpContext_request_httpContext_connection_remoteIpAddress_addressFamily: AddressFamily, httpContext_request_httpContext_connection_remoteIpAddress_scopeId: number | undefined, httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Multicast: boolean | undefined, httpContext_request_httpContext_connection_remoteIpAddress_isIPv6LinkLocal: boolean | undefined, httpContext_request_httpContext_connection_remoteIpAddress_isIPv6SiteLocal: boolean | undefined, httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Teredo: boolean | undefined, httpContext_request_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal: boolean | undefined, httpContext_request_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6: boolean | undefined, httpContext_request_httpContext_connection_remoteIpAddress_address: number | undefined, httpContext_request_httpContext_connection_remotePort: number | undefined, httpContext_request_httpContext_connection_localIpAddress_addressFamily: AddressFamily, httpContext_request_httpContext_connection_localIpAddress_scopeId: number | undefined, httpContext_request_httpContext_connection_localIpAddress_isIPv6Multicast: boolean | undefined, httpContext_request_httpContext_connection_localIpAddress_isIPv6LinkLocal: boolean | undefined, httpContext_request_httpContext_connection_localIpAddress_isIPv6SiteLocal: boolean | undefined, httpContext_request_httpContext_connection_localIpAddress_isIPv6Teredo: boolean | undefined, httpContext_request_httpContext_connection_localIpAddress_isIPv6UniqueLocal: boolean | undefined, httpContext_request_httpContext_connection_localIpAddress_isIPv4MappedToIPv6: boolean | undefined, httpContext_request_httpContext_connection_localIpAddress_address: number | undefined, httpContext_request_httpContext_connection_localPort: number | undefined, httpContext_request_httpContext_connection_clientCertificate_archived: boolean | undefined, httpContext_request_httpContext_connection_clientCertificate_extensions: X509Extension[] | null | undefined, httpContext_request_httpContext_connection_clientCertificate_friendlyName: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_hasPrivateKey: boolean | undefined, httpContext_request_httpContext_connection_clientCertificate_privateKey_keySize: number | undefined, httpContext_request_httpContext_connection_clientCertificate_privateKey_legalKeySizes: _definitions_KeySizes[] | null | undefined, httpContext_request_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_issuerName_name: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_value: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_friendlyName: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_issuerName_rawData: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_notAfter: moment.Moment | undefined, httpContext_request_httpContext_connection_clientCertificate_notBefore: moment.Moment | undefined, httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keySize: number | undefined, httpContext_request_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes: _definitions_KeySizes[] | null | undefined, httpContext_request_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_value: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_friendlyName: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_rawData: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_serialNumber: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_value: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_subjectName_name: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_value: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_friendlyName: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_subjectName_rawData: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_thumbprint: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_version: number | undefined, httpContext_request_httpContext_connection_clientCertificate_handle: any | undefined, httpContext_request_httpContext_connection_clientCertificate_issuer: string | null | undefined, httpContext_request_httpContext_connection_clientCertificate_subject: string | null | undefined, httpContext_request_httpContext_webSockets_isWebSocketRequest: boolean | undefined, httpContext_request_httpContext_webSockets_webSocketRequestedProtocols: string[] | null | undefined, httpContext_request_httpContext_user_claims: _definitions_Claim[] | null | undefined, httpContext_request_httpContext_user_identities: _definitions_ClaimsIdentity[] | null | undefined, httpContext_request_httpContext_user_identity_name: string | null | undefined, httpContext_request_httpContext_user_identity_authenticationType: string | null | undefined, httpContext_request_httpContext_user_identity_isAuthenticated: boolean | undefined, httpContext_request_httpContext_items: { [key: string]: any; } | null | undefined, httpContext_request_httpContext_requestServices: IServiceProvider | undefined, httpContext_request_httpContext_traceIdentifier: string | null | undefined, httpContext_request_httpContext_session_isAvailable: boolean | undefined, httpContext_request_httpContext_session_id: string | null | undefined, httpContext_request_httpContext_session_keys: string[] | null | undefined, httpContext_request_method: string | null | undefined, httpContext_request_scheme: string | null | undefined, httpContext_request_isHttps: boolean | undefined, httpContext_request_host_value: string | null | undefined, httpContext_request_host_hasValue: boolean | undefined, httpContext_request_host_host: string | null | undefined, httpContext_request_host_port: number | null | undefined, httpContext_request_pathBase: string | undefined, httpContext_request_path: string | undefined, httpContext_request_queryString_value: string | null | undefined, httpContext_request_queryString_hasValue: boolean | undefined, httpContext_request_query: KeyValuePairOfStringStringValues[] | null | undefined, httpContext_request_protocol: string | null | undefined, httpContext_request_headers: { [key: string]: string[]; } | null | undefined, httpContext_request_cookies: KeyValuePairOfStringString[] | null | undefined, httpContext_request_contentLength: number | null | undefined, httpContext_request_contentType: string | null | undefined, httpContext_request_body_canRead: boolean | undefined, httpContext_request_body_canWrite: boolean | undefined, httpContext_request_body_canSeek: boolean | undefined, httpContext_request_body_canTimeout: boolean | undefined, httpContext_request_body_length: number | undefined, httpContext_request_body_position: number | undefined, httpContext_request_body_readTimeout: number | undefined, httpContext_request_body_writeTimeout: number | undefined, httpContext_request_bodyReader: PipeReader | undefined, httpContext_request_hasFormContentType: boolean | undefined, httpContext_request_routeValues: { [key: string]: any; } | null | undefined, httpContext_response_httpContext_features: KeyValuePairOfTypeObject[] | null | undefined, httpContext_response_httpContext_request_httpContext_features: KeyValuePairOfTypeObject[] | null | undefined, httpContext_response_httpContext_request_httpContext_request: HttpRequest | undefined, httpContext_response_httpContext_request_httpContext_response: HttpResponse | undefined, httpContext_response_httpContext_request_httpContext_connection_id: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_addressFamily: AddressFamily, httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_scopeId: number | undefined, httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Multicast: boolean | undefined, httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6LinkLocal: boolean | undefined, httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6SiteLocal: boolean | undefined, httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Teredo: boolean | undefined, httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal: boolean | undefined, httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6: boolean | undefined, httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_address: number | undefined, httpContext_response_httpContext_request_httpContext_connection_remotePort: number | undefined, httpContext_response_httpContext_request_httpContext_connection_localIpAddress_addressFamily: AddressFamily, httpContext_response_httpContext_request_httpContext_connection_localIpAddress_scopeId: number | undefined, httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6Multicast: boolean | undefined, httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6LinkLocal: boolean | undefined, httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6SiteLocal: boolean | undefined, httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6Teredo: boolean | undefined, httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6UniqueLocal: boolean | undefined, httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv4MappedToIPv6: boolean | undefined, httpContext_response_httpContext_request_httpContext_connection_localIpAddress_address: number | undefined, httpContext_response_httpContext_request_httpContext_connection_localPort: number | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_archived: boolean | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_extensions: X509Extension[] | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_friendlyName: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_hasPrivateKey: boolean | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_keySize: number | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_legalKeySizes: _definitions_KeySizes[] | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_name: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_value: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_friendlyName: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_rawData: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_notAfter: moment.Moment | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_notBefore: moment.Moment | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keySize: number | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes: _definitions_KeySizes[] | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_value: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_friendlyName: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_rawData: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_serialNumber: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_value: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_name: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_value: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_friendlyName: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_rawData: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_thumbprint: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_version: number | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_handle: any | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuer: string | null | undefined, httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subject: string | null | undefined, httpContext_response_httpContext_request_httpContext_webSockets_isWebSocketRequest: boolean | undefined, httpContext_response_httpContext_request_httpContext_webSockets_webSocketRequestedProtocols: string[] | null | undefined, httpContext_response_httpContext_request_httpContext_user_claims: _definitions_Claim[] | null | undefined, httpContext_response_httpContext_request_httpContext_user_identities: _definitions_ClaimsIdentity[] | null | undefined, httpContext_response_httpContext_request_httpContext_user_identity_name: string | null | undefined, httpContext_response_httpContext_request_httpContext_user_identity_authenticationType: string | null | undefined, httpContext_response_httpContext_request_httpContext_user_identity_isAuthenticated: boolean | undefined, httpContext_response_httpContext_request_httpContext_items: { [key: string]: any; } | null | undefined, httpContext_response_httpContext_request_httpContext_requestServices: IServiceProvider | undefined, httpContext_response_httpContext_request_httpContext_traceIdentifier: string | null | undefined, httpContext_response_httpContext_request_httpContext_session_isAvailable: boolean | undefined, httpContext_response_httpContext_request_httpContext_session_id: string | null | undefined, httpContext_response_httpContext_request_httpContext_session_keys: string[] | null | undefined, httpContext_response_httpContext_request_method: string | null | undefined, httpContext_response_httpContext_request_scheme: string | null | undefined, httpContext_response_httpContext_request_isHttps: boolean | undefined, httpContext_response_httpContext_request_host_value: string | null | undefined, httpContext_response_httpContext_request_host_hasValue: boolean | undefined, httpContext_response_httpContext_request_host_host: string | null | undefined, httpContext_response_httpContext_request_host_port: number | null | undefined, httpContext_response_httpContext_request_pathBase: string | undefined, httpContext_response_httpContext_request_path: string | undefined, httpContext_response_httpContext_request_queryString_value: string | null | undefined, httpContext_response_httpContext_request_queryString_hasValue: boolean | undefined, httpContext_response_httpContext_request_query: KeyValuePairOfStringStringValues[] | null | undefined, httpContext_response_httpContext_request_protocol: string | null | undefined, httpContext_response_httpContext_request_headers: { [key: string]: string[]; } | null | undefined, httpContext_response_httpContext_request_cookies: KeyValuePairOfStringString[] | null | undefined, httpContext_response_httpContext_request_contentLength: number | null | undefined, httpContext_response_httpContext_request_contentType: string | null | undefined, httpContext_response_httpContext_request_body_canRead: boolean | undefined, httpContext_response_httpContext_request_body_canWrite: boolean | undefined, httpContext_response_httpContext_request_body_canSeek: boolean | undefined, httpContext_response_httpContext_request_body_canTimeout: boolean | undefined, httpContext_response_httpContext_request_body_length: number | undefined, httpContext_response_httpContext_request_body_position: number | undefined, httpContext_response_httpContext_request_body_readTimeout: number | undefined, httpContext_response_httpContext_request_body_writeTimeout: number | undefined, httpContext_response_httpContext_request_bodyReader: PipeReader | undefined, httpContext_response_httpContext_request_hasFormContentType: boolean | undefined, httpContext_response_httpContext_request_routeValues: { [key: string]: any; } | null | undefined, httpContext_response_httpContext_response: HttpResponse | undefined, httpContext_response_httpContext_connection_id: string | null | undefined, httpContext_response_httpContext_connection_remoteIpAddress_addressFamily: AddressFamily, httpContext_response_httpContext_connection_remoteIpAddress_scopeId: number | undefined, httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Multicast: boolean | undefined, httpContext_response_httpContext_connection_remoteIpAddress_isIPv6LinkLocal: boolean | undefined, httpContext_response_httpContext_connection_remoteIpAddress_isIPv6SiteLocal: boolean | undefined, httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Teredo: boolean | undefined, httpContext_response_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal: boolean | undefined, httpContext_response_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6: boolean | undefined, httpContext_response_httpContext_connection_remoteIpAddress_address: number | undefined, httpContext_response_httpContext_connection_remotePort: number | undefined, httpContext_response_httpContext_connection_localIpAddress_addressFamily: AddressFamily, httpContext_response_httpContext_connection_localIpAddress_scopeId: number | undefined, httpContext_response_httpContext_connection_localIpAddress_isIPv6Multicast: boolean | undefined, httpContext_response_httpContext_connection_localIpAddress_isIPv6LinkLocal: boolean | undefined, httpContext_response_httpContext_connection_localIpAddress_isIPv6SiteLocal: boolean | undefined, httpContext_response_httpContext_connection_localIpAddress_isIPv6Teredo: boolean | undefined, httpContext_response_httpContext_connection_localIpAddress_isIPv6UniqueLocal: boolean | undefined, httpContext_response_httpContext_connection_localIpAddress_isIPv4MappedToIPv6: boolean | undefined, httpContext_response_httpContext_connection_localIpAddress_address: number | undefined, httpContext_response_httpContext_connection_localPort: number | undefined, httpContext_response_httpContext_connection_clientCertificate_archived: boolean | undefined, httpContext_response_httpContext_connection_clientCertificate_extensions: X509Extension[] | null | undefined, httpContext_response_httpContext_connection_clientCertificate_friendlyName: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_hasPrivateKey: boolean | undefined, httpContext_response_httpContext_connection_clientCertificate_privateKey_keySize: number | undefined, httpContext_response_httpContext_connection_clientCertificate_privateKey_legalKeySizes: _definitions_KeySizes[] | null | undefined, httpContext_response_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_issuerName_name: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_value: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_friendlyName: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_issuerName_rawData: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_notAfter: moment.Moment | undefined, httpContext_response_httpContext_connection_clientCertificate_notBefore: moment.Moment | undefined, httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keySize: number | undefined, httpContext_response_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes: _definitions_KeySizes[] | null | undefined, httpContext_response_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_value: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_friendlyName: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_rawData: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_serialNumber: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_value: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_subjectName_name: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_value: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_friendlyName: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_subjectName_rawData: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_thumbprint: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_version: number | undefined, httpContext_response_httpContext_connection_clientCertificate_handle: any | undefined, httpContext_response_httpContext_connection_clientCertificate_issuer: string | null | undefined, httpContext_response_httpContext_connection_clientCertificate_subject: string | null | undefined, httpContext_response_httpContext_webSockets_isWebSocketRequest: boolean | undefined, httpContext_response_httpContext_webSockets_webSocketRequestedProtocols: string[] | null | undefined, httpContext_response_httpContext_user_claims: _definitions_Claim[] | null | undefined, httpContext_response_httpContext_user_identities: _definitions_ClaimsIdentity[] | null | undefined, httpContext_response_httpContext_user_identity_name: string | null | undefined, httpContext_response_httpContext_user_identity_authenticationType: string | null | undefined, httpContext_response_httpContext_user_identity_isAuthenticated: boolean | undefined, httpContext_response_httpContext_items: { [key: string]: any; } | null | undefined, httpContext_response_httpContext_requestServices: IServiceProvider | undefined, httpContext_response_httpContext_traceIdentifier: string | null | undefined, httpContext_response_httpContext_session_isAvailable: boolean | undefined, httpContext_response_httpContext_session_id: string | null | undefined, httpContext_response_httpContext_session_keys: string[] | null | undefined, httpContext_response_statusCode: number | undefined, httpContext_response_headers: { [key: string]: string[]; } | null | undefined, httpContext_response_body_canRead: boolean | undefined, httpContext_response_body_canWrite: boolean | undefined, httpContext_response_body_canSeek: boolean | undefined, httpContext_response_body_canTimeout: boolean | undefined, httpContext_response_body_length: number | undefined, httpContext_response_body_position: number | undefined, httpContext_response_body_readTimeout: number | undefined, httpContext_response_body_writeTimeout: number | undefined, httpContext_response_bodyWriter_canGetUnflushedBytes: boolean | undefined, httpContext_response_bodyWriter_unflushedBytes: number | undefined, httpContext_response_contentLength: number | null | undefined, httpContext_response_contentType: string | null | undefined, httpContext_response_cookies: IResponseCookies | undefined, httpContext_response_hasStarted: boolean | undefined, httpContext_connection_id: string | null | undefined, httpContext_connection_remoteIpAddress_addressFamily: AddressFamily, httpContext_connection_remoteIpAddress_scopeId: number | undefined, httpContext_connection_remoteIpAddress_isIPv6Multicast: boolean | undefined, httpContext_connection_remoteIpAddress_isIPv6LinkLocal: boolean | undefined, httpContext_connection_remoteIpAddress_isIPv6SiteLocal: boolean | undefined, httpContext_connection_remoteIpAddress_isIPv6Teredo: boolean | undefined, httpContext_connection_remoteIpAddress_isIPv6UniqueLocal: boolean | undefined, httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6: boolean | undefined, httpContext_connection_remoteIpAddress_address: number | undefined, httpContext_connection_remotePort: number | undefined, httpContext_connection_localIpAddress_addressFamily: AddressFamily, httpContext_connection_localIpAddress_scopeId: number | undefined, httpContext_connection_localIpAddress_isIPv6Multicast: boolean | undefined, httpContext_connection_localIpAddress_isIPv6LinkLocal: boolean | undefined, httpContext_connection_localIpAddress_isIPv6SiteLocal: boolean | undefined, httpContext_connection_localIpAddress_isIPv6Teredo: boolean | undefined, httpContext_connection_localIpAddress_isIPv6UniqueLocal: boolean | undefined, httpContext_connection_localIpAddress_isIPv4MappedToIPv6: boolean | undefined, httpContext_connection_localIpAddress_address: number | undefined, httpContext_connection_localPort: number | undefined, httpContext_connection_clientCertificate_archived: boolean | undefined, httpContext_connection_clientCertificate_extensions: X509Extension[] | null | undefined, httpContext_connection_clientCertificate_friendlyName: string | null | undefined, httpContext_connection_clientCertificate_hasPrivateKey: boolean | undefined, httpContext_connection_clientCertificate_privateKey_keySize: number | undefined, httpContext_connection_clientCertificate_privateKey_legalKeySizes: _definitions_KeySizes[] | null | undefined, httpContext_connection_clientCertificate_privateKey_signatureAlgorithm: string | null | undefined, httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm: string | null | undefined, httpContext_connection_clientCertificate_issuerName_name: string | null | undefined, httpContext_connection_clientCertificate_issuerName_oid_value: string | null | undefined, httpContext_connection_clientCertificate_issuerName_oid_friendlyName: string | null | undefined, httpContext_connection_clientCertificate_issuerName_rawData: string | null | undefined, httpContext_connection_clientCertificate_notAfter: moment.Moment | undefined, httpContext_connection_clientCertificate_notBefore: moment.Moment | undefined, httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value: string | null | undefined, httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName: string | null | undefined, httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData: string | null | undefined, httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value: string | null | undefined, httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName: string | null | undefined, httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData: string | null | undefined, httpContext_connection_clientCertificate_publicKey_key_keySize: number | undefined, httpContext_connection_clientCertificate_publicKey_key_legalKeySizes: _definitions_KeySizes[] | null | undefined, httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm: string | null | undefined, httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm: string | null | undefined, httpContext_connection_clientCertificate_publicKey_oid_value: string | null | undefined, httpContext_connection_clientCertificate_publicKey_oid_friendlyName: string | null | undefined, httpContext_connection_clientCertificate_rawData: string | null | undefined, httpContext_connection_clientCertificate_serialNumber: string | null | undefined, httpContext_connection_clientCertificate_signatureAlgorithm_value: string | null | undefined, httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName: string | null | undefined, httpContext_connection_clientCertificate_subjectName_name: string | null | undefined, httpContext_connection_clientCertificate_subjectName_oid_value: string | null | undefined, httpContext_connection_clientCertificate_subjectName_oid_friendlyName: string | null | undefined, httpContext_connection_clientCertificate_subjectName_rawData: string | null | undefined, httpContext_connection_clientCertificate_thumbprint: string | null | undefined, httpContext_connection_clientCertificate_version: number | undefined, httpContext_connection_clientCertificate_handle: any | undefined, httpContext_connection_clientCertificate_issuer: string | null | undefined, httpContext_connection_clientCertificate_subject: string | null | undefined, httpContext_webSockets_isWebSocketRequest: boolean | undefined, httpContext_webSockets_webSocketRequestedProtocols: string[] | null | undefined, httpContext_user_claims: _definitions_Claim[] | null | undefined, httpContext_user_identities: _definitions_ClaimsIdentity[] | null | undefined, httpContext_user_identity_name: string | null | undefined, httpContext_user_identity_authenticationType: string | null | undefined, httpContext_user_identity_isAuthenticated: boolean | undefined, httpContext_items: { [key: string]: any; } | null | undefined, httpContext_requestServices: IServiceProvider | undefined, httpContext_traceIdentifier: string | null | undefined, httpContext_session_isAvailable: boolean | undefined, httpContext_session_id: string | null | undefined, httpContext_session_keys: string[] | null | undefined, httpContext_request_form: KeyValuePairOfStringStringValues[] | null | undefined, httpContext_response_httpContext_request_form: KeyValuePairOfStringStringValues[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/GetBaseUrl?"; + if (httpContext_features !== undefined && httpContext_features !== null) + httpContext_features && httpContext_features.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.features[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_request_httpContext_features !== undefined && httpContext_request_httpContext_features !== null) + httpContext_request_httpContext_features && httpContext_request_httpContext_features.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.request.httpContext.features[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_request_httpContext_request === null) + throw new Error("The parameter 'httpContext_request_httpContext_request' cannot be null."); + else if (httpContext_request_httpContext_request !== undefined) + url_ += "httpContext.request.httpContext.request=" + encodeURIComponent("" + httpContext_request_httpContext_request) + "&"; + if (httpContext_request_httpContext_response_httpContext_features !== undefined && httpContext_request_httpContext_response_httpContext_features !== null) + httpContext_request_httpContext_response_httpContext_features && httpContext_request_httpContext_response_httpContext_features.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.request.httpContext.response.httpContext.features[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_request_httpContext_response_httpContext_request === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_request' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_request !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.request=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_request) + "&"; + if (httpContext_request_httpContext_response_httpContext_response === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_response' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_response !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.response=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_response) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_id !== undefined && httpContext_request_httpContext_response_httpContext_connection_id !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.id=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_id) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_addressFamily === undefined || httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_addressFamily === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_addressFamily' must be defined and cannot be null."); + else + url_ += "httpContext.request.httpContext.response.httpContext.connection.remoteIpAddress.addressFamily=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_addressFamily) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_scopeId === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_scopeId' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_scopeId !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.remoteIpAddress.scopeId=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_scopeId) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Multicast === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Multicast' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Multicast !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.remoteIpAddress.isIPv6Multicast=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Multicast) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6LinkLocal === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6LinkLocal' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6LinkLocal !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.remoteIpAddress.isIPv6LinkLocal=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6LinkLocal) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6SiteLocal === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6SiteLocal' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6SiteLocal !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.remoteIpAddress.isIPv6SiteLocal=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6SiteLocal) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Teredo === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Teredo' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Teredo !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.remoteIpAddress.isIPv6Teredo=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Teredo) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.remoteIpAddress.isIPv6UniqueLocal=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6 === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6 !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.remoteIpAddress.isIPv4MappedToIPv6=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_address === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_address' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_address !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.remoteIpAddress.address=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_remoteIpAddress_address) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_remotePort === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_remotePort' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_remotePort !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.remotePort=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_remotePort) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_localIpAddress_addressFamily === undefined || httpContext_request_httpContext_response_httpContext_connection_localIpAddress_addressFamily === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_localIpAddress_addressFamily' must be defined and cannot be null."); + else + url_ += "httpContext.request.httpContext.response.httpContext.connection.localIpAddress.addressFamily=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_localIpAddress_addressFamily) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_localIpAddress_scopeId === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_localIpAddress_scopeId' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_localIpAddress_scopeId !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.localIpAddress.scopeId=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_localIpAddress_scopeId) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6Multicast === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6Multicast' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6Multicast !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.localIpAddress.isIPv6Multicast=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6Multicast) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6LinkLocal === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6LinkLocal' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6LinkLocal !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.localIpAddress.isIPv6LinkLocal=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6LinkLocal) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6SiteLocal === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6SiteLocal' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6SiteLocal !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.localIpAddress.isIPv6SiteLocal=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6SiteLocal) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6Teredo === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6Teredo' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6Teredo !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.localIpAddress.isIPv6Teredo=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6Teredo) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6UniqueLocal === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6UniqueLocal' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6UniqueLocal !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.localIpAddress.isIPv6UniqueLocal=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv6UniqueLocal) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv4MappedToIPv6 === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv4MappedToIPv6' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv4MappedToIPv6 !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.localIpAddress.isIPv4MappedToIPv6=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_localIpAddress_isIPv4MappedToIPv6) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_localIpAddress_address === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_localIpAddress_address' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_localIpAddress_address !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.localIpAddress.address=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_localIpAddress_address) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_localPort === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_localPort' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_localPort !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.localPort=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_localPort) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_archived === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_clientCertificate_archived' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_archived !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.archived=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_archived) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_extensions !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_extensions !== null) + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_extensions && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_extensions.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.extensions[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_friendlyName !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_friendlyName !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.friendlyName=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_friendlyName) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_hasPrivateKey === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_clientCertificate_hasPrivateKey' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_hasPrivateKey !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.hasPrivateKey=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_hasPrivateKey) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_keySize === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_keySize' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_keySize !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.privateKey.keySize=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_keySize) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_legalKeySizes !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_legalKeySizes !== null) + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_legalKeySizes && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_legalKeySizes.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.privateKey.legalKeySizes[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.privateKey.signatureAlgorithm=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.privateKey.keyExchangeAlgorithm=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_name !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_name !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.issuerName.name=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_name) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_value !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_value !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.issuerName.oid.value=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_value) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_friendlyName !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_friendlyName !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.issuerName.oid.friendlyName=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_friendlyName) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_rawData !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_rawData !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.issuerName.rawData=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuerName_rawData) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_notAfter === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_clientCertificate_notAfter' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_notAfter !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.notAfter=" + encodeURIComponent(httpContext_request_httpContext_response_httpContext_connection_clientCertificate_notAfter ? "" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_notAfter.toISOString() : "") + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_notBefore === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_clientCertificate_notBefore' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_notBefore !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.notBefore=" + encodeURIComponent(httpContext_request_httpContext_response_httpContext_connection_clientCertificate_notBefore ? "" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_notBefore.toISOString() : "") + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.publicKey.encodedKeyValue.oid.value=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.publicKey.encodedKeyValue.oid.friendlyName=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.publicKey.encodedKeyValue.rawData=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.publicKey.encodedParameters.oid.value=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.publicKey.encodedParameters.oid.friendlyName=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.publicKey.encodedParameters.rawData=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keySize === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keySize' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keySize !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.publicKey.key.keySize=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keySize) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes !== null) + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.publicKey.key.legalKeySizes[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.publicKey.key.signatureAlgorithm=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.publicKey.key.keyExchangeAlgorithm=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_value !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_value !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.publicKey.oid.value=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_value) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_friendlyName !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_friendlyName !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.publicKey.oid.friendlyName=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_friendlyName) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_rawData !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_rawData !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.rawData=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_rawData) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_serialNumber !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_serialNumber !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.serialNumber=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_serialNumber) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_value !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_value !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.signatureAlgorithm.value=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_value) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.signatureAlgorithm.friendlyName=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_name !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_name !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.subjectName.name=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_name) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_value !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_value !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.subjectName.oid.value=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_value) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_friendlyName !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_friendlyName !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.subjectName.oid.friendlyName=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_friendlyName) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_rawData !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_rawData !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.subjectName.rawData=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subjectName_rawData) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_thumbprint !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_thumbprint !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.thumbprint=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_thumbprint) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_version === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_clientCertificate_version' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_version !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.version=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_version) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_handle === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_connection_clientCertificate_handle' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_handle !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.handle=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_handle) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuer !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuer !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.issuer=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_issuer) + "&"; + if (httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subject !== undefined && httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subject !== null) + url_ += "httpContext.request.httpContext.response.httpContext.connection.clientCertificate.subject=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_connection_clientCertificate_subject) + "&"; + if (httpContext_request_httpContext_response_httpContext_webSockets_isWebSocketRequest === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_webSockets_isWebSocketRequest' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_webSockets_isWebSocketRequest !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.webSockets.isWebSocketRequest=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_webSockets_isWebSocketRequest) + "&"; + if (httpContext_request_httpContext_response_httpContext_webSockets_webSocketRequestedProtocols !== undefined && httpContext_request_httpContext_response_httpContext_webSockets_webSocketRequestedProtocols !== null) + httpContext_request_httpContext_response_httpContext_webSockets_webSocketRequestedProtocols && httpContext_request_httpContext_response_httpContext_webSockets_webSocketRequestedProtocols.forEach(item => { url_ += "httpContext.request.httpContext.response.httpContext.webSockets.webSocketRequestedProtocols=" + encodeURIComponent("" + item) + "&"; }); + if (httpContext_request_httpContext_response_httpContext_user_claims !== undefined && httpContext_request_httpContext_response_httpContext_user_claims !== null) + httpContext_request_httpContext_response_httpContext_user_claims && httpContext_request_httpContext_response_httpContext_user_claims.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.request.httpContext.response.httpContext.user.claims[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_request_httpContext_response_httpContext_user_identities !== undefined && httpContext_request_httpContext_response_httpContext_user_identities !== null) + httpContext_request_httpContext_response_httpContext_user_identities && httpContext_request_httpContext_response_httpContext_user_identities.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.request.httpContext.response.httpContext.user.identities[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_request_httpContext_response_httpContext_user_identity_name !== undefined && httpContext_request_httpContext_response_httpContext_user_identity_name !== null) + url_ += "httpContext.request.httpContext.response.httpContext.user.identity.name=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_user_identity_name) + "&"; + if (httpContext_request_httpContext_response_httpContext_user_identity_authenticationType !== undefined && httpContext_request_httpContext_response_httpContext_user_identity_authenticationType !== null) + url_ += "httpContext.request.httpContext.response.httpContext.user.identity.authenticationType=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_user_identity_authenticationType) + "&"; + if (httpContext_request_httpContext_response_httpContext_user_identity_isAuthenticated === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_user_identity_isAuthenticated' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_user_identity_isAuthenticated !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.user.identity.isAuthenticated=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_user_identity_isAuthenticated) + "&"; + if (httpContext_request_httpContext_response_httpContext_items !== undefined && httpContext_request_httpContext_response_httpContext_items !== null) + url_ += "httpContext.request.httpContext.response.httpContext.items=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_items) + "&"; + if (httpContext_request_httpContext_response_httpContext_requestServices === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_requestServices' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_requestServices !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.requestServices=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_requestServices) + "&"; + if (httpContext_request_httpContext_response_httpContext_traceIdentifier !== undefined && httpContext_request_httpContext_response_httpContext_traceIdentifier !== null) + url_ += "httpContext.request.httpContext.response.httpContext.traceIdentifier=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_traceIdentifier) + "&"; + if (httpContext_request_httpContext_response_httpContext_session_isAvailable === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_httpContext_session_isAvailable' cannot be null."); + else if (httpContext_request_httpContext_response_httpContext_session_isAvailable !== undefined) + url_ += "httpContext.request.httpContext.response.httpContext.session.isAvailable=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_session_isAvailable) + "&"; + if (httpContext_request_httpContext_response_httpContext_session_id !== undefined && httpContext_request_httpContext_response_httpContext_session_id !== null) + url_ += "httpContext.request.httpContext.response.httpContext.session.id=" + encodeURIComponent("" + httpContext_request_httpContext_response_httpContext_session_id) + "&"; + if (httpContext_request_httpContext_response_httpContext_session_keys !== undefined && httpContext_request_httpContext_response_httpContext_session_keys !== null) + httpContext_request_httpContext_response_httpContext_session_keys && httpContext_request_httpContext_response_httpContext_session_keys.forEach(item => { url_ += "httpContext.request.httpContext.response.httpContext.session.keys=" + encodeURIComponent("" + item) + "&"; }); + if (httpContext_request_httpContext_response_statusCode === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_statusCode' cannot be null."); + else if (httpContext_request_httpContext_response_statusCode !== undefined) + url_ += "httpContext.request.httpContext.response.statusCode=" + encodeURIComponent("" + httpContext_request_httpContext_response_statusCode) + "&"; + if (httpContext_request_httpContext_response_headers !== undefined && httpContext_request_httpContext_response_headers !== null) + url_ += "httpContext.request.httpContext.response.headers=" + encodeURIComponent("" + httpContext_request_httpContext_response_headers) + "&"; + if (httpContext_request_httpContext_response_body_canRead === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_body_canRead' cannot be null."); + else if (httpContext_request_httpContext_response_body_canRead !== undefined) + url_ += "httpContext.request.httpContext.response.body.canRead=" + encodeURIComponent("" + httpContext_request_httpContext_response_body_canRead) + "&"; + if (httpContext_request_httpContext_response_body_canWrite === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_body_canWrite' cannot be null."); + else if (httpContext_request_httpContext_response_body_canWrite !== undefined) + url_ += "httpContext.request.httpContext.response.body.canWrite=" + encodeURIComponent("" + httpContext_request_httpContext_response_body_canWrite) + "&"; + if (httpContext_request_httpContext_response_body_canSeek === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_body_canSeek' cannot be null."); + else if (httpContext_request_httpContext_response_body_canSeek !== undefined) + url_ += "httpContext.request.httpContext.response.body.canSeek=" + encodeURIComponent("" + httpContext_request_httpContext_response_body_canSeek) + "&"; + if (httpContext_request_httpContext_response_body_canTimeout === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_body_canTimeout' cannot be null."); + else if (httpContext_request_httpContext_response_body_canTimeout !== undefined) + url_ += "httpContext.request.httpContext.response.body.canTimeout=" + encodeURIComponent("" + httpContext_request_httpContext_response_body_canTimeout) + "&"; + if (httpContext_request_httpContext_response_body_length === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_body_length' cannot be null."); + else if (httpContext_request_httpContext_response_body_length !== undefined) + url_ += "httpContext.request.httpContext.response.body.length=" + encodeURIComponent("" + httpContext_request_httpContext_response_body_length) + "&"; + if (httpContext_request_httpContext_response_body_position === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_body_position' cannot be null."); + else if (httpContext_request_httpContext_response_body_position !== undefined) + url_ += "httpContext.request.httpContext.response.body.position=" + encodeURIComponent("" + httpContext_request_httpContext_response_body_position) + "&"; + if (httpContext_request_httpContext_response_body_readTimeout === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_body_readTimeout' cannot be null."); + else if (httpContext_request_httpContext_response_body_readTimeout !== undefined) + url_ += "httpContext.request.httpContext.response.body.readTimeout=" + encodeURIComponent("" + httpContext_request_httpContext_response_body_readTimeout) + "&"; + if (httpContext_request_httpContext_response_body_writeTimeout === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_body_writeTimeout' cannot be null."); + else if (httpContext_request_httpContext_response_body_writeTimeout !== undefined) + url_ += "httpContext.request.httpContext.response.body.writeTimeout=" + encodeURIComponent("" + httpContext_request_httpContext_response_body_writeTimeout) + "&"; + if (httpContext_request_httpContext_response_bodyWriter_canGetUnflushedBytes === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_bodyWriter_canGetUnflushedBytes' cannot be null."); + else if (httpContext_request_httpContext_response_bodyWriter_canGetUnflushedBytes !== undefined) + url_ += "httpContext.request.httpContext.response.bodyWriter.canGetUnflushedBytes=" + encodeURIComponent("" + httpContext_request_httpContext_response_bodyWriter_canGetUnflushedBytes) + "&"; + if (httpContext_request_httpContext_response_bodyWriter_unflushedBytes === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_bodyWriter_unflushedBytes' cannot be null."); + else if (httpContext_request_httpContext_response_bodyWriter_unflushedBytes !== undefined) + url_ += "httpContext.request.httpContext.response.bodyWriter.unflushedBytes=" + encodeURIComponent("" + httpContext_request_httpContext_response_bodyWriter_unflushedBytes) + "&"; + if (httpContext_request_httpContext_response_contentLength !== undefined && httpContext_request_httpContext_response_contentLength !== null) + url_ += "httpContext.request.httpContext.response.contentLength=" + encodeURIComponent("" + httpContext_request_httpContext_response_contentLength) + "&"; + if (httpContext_request_httpContext_response_contentType !== undefined && httpContext_request_httpContext_response_contentType !== null) + url_ += "httpContext.request.httpContext.response.contentType=" + encodeURIComponent("" + httpContext_request_httpContext_response_contentType) + "&"; + if (httpContext_request_httpContext_response_cookies === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_cookies' cannot be null."); + else if (httpContext_request_httpContext_response_cookies !== undefined) + url_ += "httpContext.request.httpContext.response.cookies=" + encodeURIComponent("" + httpContext_request_httpContext_response_cookies) + "&"; + if (httpContext_request_httpContext_response_hasStarted === null) + throw new Error("The parameter 'httpContext_request_httpContext_response_hasStarted' cannot be null."); + else if (httpContext_request_httpContext_response_hasStarted !== undefined) + url_ += "httpContext.request.httpContext.response.hasStarted=" + encodeURIComponent("" + httpContext_request_httpContext_response_hasStarted) + "&"; + if (httpContext_request_httpContext_connection_id !== undefined && httpContext_request_httpContext_connection_id !== null) + url_ += "httpContext.request.httpContext.connection.id=" + encodeURIComponent("" + httpContext_request_httpContext_connection_id) + "&"; + if (httpContext_request_httpContext_connection_remoteIpAddress_addressFamily === undefined || httpContext_request_httpContext_connection_remoteIpAddress_addressFamily === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_remoteIpAddress_addressFamily' must be defined and cannot be null."); + else + url_ += "httpContext.request.httpContext.connection.remoteIpAddress.addressFamily=" + encodeURIComponent("" + httpContext_request_httpContext_connection_remoteIpAddress_addressFamily) + "&"; + if (httpContext_request_httpContext_connection_remoteIpAddress_scopeId === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_remoteIpAddress_scopeId' cannot be null."); + else if (httpContext_request_httpContext_connection_remoteIpAddress_scopeId !== undefined) + url_ += "httpContext.request.httpContext.connection.remoteIpAddress.scopeId=" + encodeURIComponent("" + httpContext_request_httpContext_connection_remoteIpAddress_scopeId) + "&"; + if (httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Multicast === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Multicast' cannot be null."); + else if (httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Multicast !== undefined) + url_ += "httpContext.request.httpContext.connection.remoteIpAddress.isIPv6Multicast=" + encodeURIComponent("" + httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Multicast) + "&"; + if (httpContext_request_httpContext_connection_remoteIpAddress_isIPv6LinkLocal === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_remoteIpAddress_isIPv6LinkLocal' cannot be null."); + else if (httpContext_request_httpContext_connection_remoteIpAddress_isIPv6LinkLocal !== undefined) + url_ += "httpContext.request.httpContext.connection.remoteIpAddress.isIPv6LinkLocal=" + encodeURIComponent("" + httpContext_request_httpContext_connection_remoteIpAddress_isIPv6LinkLocal) + "&"; + if (httpContext_request_httpContext_connection_remoteIpAddress_isIPv6SiteLocal === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_remoteIpAddress_isIPv6SiteLocal' cannot be null."); + else if (httpContext_request_httpContext_connection_remoteIpAddress_isIPv6SiteLocal !== undefined) + url_ += "httpContext.request.httpContext.connection.remoteIpAddress.isIPv6SiteLocal=" + encodeURIComponent("" + httpContext_request_httpContext_connection_remoteIpAddress_isIPv6SiteLocal) + "&"; + if (httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Teredo === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Teredo' cannot be null."); + else if (httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Teredo !== undefined) + url_ += "httpContext.request.httpContext.connection.remoteIpAddress.isIPv6Teredo=" + encodeURIComponent("" + httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Teredo) + "&"; + if (httpContext_request_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal' cannot be null."); + else if (httpContext_request_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal !== undefined) + url_ += "httpContext.request.httpContext.connection.remoteIpAddress.isIPv6UniqueLocal=" + encodeURIComponent("" + httpContext_request_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal) + "&"; + if (httpContext_request_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6 === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6' cannot be null."); + else if (httpContext_request_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6 !== undefined) + url_ += "httpContext.request.httpContext.connection.remoteIpAddress.isIPv4MappedToIPv6=" + encodeURIComponent("" + httpContext_request_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6) + "&"; + if (httpContext_request_httpContext_connection_remoteIpAddress_address === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_remoteIpAddress_address' cannot be null."); + else if (httpContext_request_httpContext_connection_remoteIpAddress_address !== undefined) + url_ += "httpContext.request.httpContext.connection.remoteIpAddress.address=" + encodeURIComponent("" + httpContext_request_httpContext_connection_remoteIpAddress_address) + "&"; + if (httpContext_request_httpContext_connection_remotePort === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_remotePort' cannot be null."); + else if (httpContext_request_httpContext_connection_remotePort !== undefined) + url_ += "httpContext.request.httpContext.connection.remotePort=" + encodeURIComponent("" + httpContext_request_httpContext_connection_remotePort) + "&"; + if (httpContext_request_httpContext_connection_localIpAddress_addressFamily === undefined || httpContext_request_httpContext_connection_localIpAddress_addressFamily === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_localIpAddress_addressFamily' must be defined and cannot be null."); + else + url_ += "httpContext.request.httpContext.connection.localIpAddress.addressFamily=" + encodeURIComponent("" + httpContext_request_httpContext_connection_localIpAddress_addressFamily) + "&"; + if (httpContext_request_httpContext_connection_localIpAddress_scopeId === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_localIpAddress_scopeId' cannot be null."); + else if (httpContext_request_httpContext_connection_localIpAddress_scopeId !== undefined) + url_ += "httpContext.request.httpContext.connection.localIpAddress.scopeId=" + encodeURIComponent("" + httpContext_request_httpContext_connection_localIpAddress_scopeId) + "&"; + if (httpContext_request_httpContext_connection_localIpAddress_isIPv6Multicast === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_localIpAddress_isIPv6Multicast' cannot be null."); + else if (httpContext_request_httpContext_connection_localIpAddress_isIPv6Multicast !== undefined) + url_ += "httpContext.request.httpContext.connection.localIpAddress.isIPv6Multicast=" + encodeURIComponent("" + httpContext_request_httpContext_connection_localIpAddress_isIPv6Multicast) + "&"; + if (httpContext_request_httpContext_connection_localIpAddress_isIPv6LinkLocal === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_localIpAddress_isIPv6LinkLocal' cannot be null."); + else if (httpContext_request_httpContext_connection_localIpAddress_isIPv6LinkLocal !== undefined) + url_ += "httpContext.request.httpContext.connection.localIpAddress.isIPv6LinkLocal=" + encodeURIComponent("" + httpContext_request_httpContext_connection_localIpAddress_isIPv6LinkLocal) + "&"; + if (httpContext_request_httpContext_connection_localIpAddress_isIPv6SiteLocal === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_localIpAddress_isIPv6SiteLocal' cannot be null."); + else if (httpContext_request_httpContext_connection_localIpAddress_isIPv6SiteLocal !== undefined) + url_ += "httpContext.request.httpContext.connection.localIpAddress.isIPv6SiteLocal=" + encodeURIComponent("" + httpContext_request_httpContext_connection_localIpAddress_isIPv6SiteLocal) + "&"; + if (httpContext_request_httpContext_connection_localIpAddress_isIPv6Teredo === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_localIpAddress_isIPv6Teredo' cannot be null."); + else if (httpContext_request_httpContext_connection_localIpAddress_isIPv6Teredo !== undefined) + url_ += "httpContext.request.httpContext.connection.localIpAddress.isIPv6Teredo=" + encodeURIComponent("" + httpContext_request_httpContext_connection_localIpAddress_isIPv6Teredo) + "&"; + if (httpContext_request_httpContext_connection_localIpAddress_isIPv6UniqueLocal === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_localIpAddress_isIPv6UniqueLocal' cannot be null."); + else if (httpContext_request_httpContext_connection_localIpAddress_isIPv6UniqueLocal !== undefined) + url_ += "httpContext.request.httpContext.connection.localIpAddress.isIPv6UniqueLocal=" + encodeURIComponent("" + httpContext_request_httpContext_connection_localIpAddress_isIPv6UniqueLocal) + "&"; + if (httpContext_request_httpContext_connection_localIpAddress_isIPv4MappedToIPv6 === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_localIpAddress_isIPv4MappedToIPv6' cannot be null."); + else if (httpContext_request_httpContext_connection_localIpAddress_isIPv4MappedToIPv6 !== undefined) + url_ += "httpContext.request.httpContext.connection.localIpAddress.isIPv4MappedToIPv6=" + encodeURIComponent("" + httpContext_request_httpContext_connection_localIpAddress_isIPv4MappedToIPv6) + "&"; + if (httpContext_request_httpContext_connection_localIpAddress_address === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_localIpAddress_address' cannot be null."); + else if (httpContext_request_httpContext_connection_localIpAddress_address !== undefined) + url_ += "httpContext.request.httpContext.connection.localIpAddress.address=" + encodeURIComponent("" + httpContext_request_httpContext_connection_localIpAddress_address) + "&"; + if (httpContext_request_httpContext_connection_localPort === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_localPort' cannot be null."); + else if (httpContext_request_httpContext_connection_localPort !== undefined) + url_ += "httpContext.request.httpContext.connection.localPort=" + encodeURIComponent("" + httpContext_request_httpContext_connection_localPort) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_archived === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_clientCertificate_archived' cannot be null."); + else if (httpContext_request_httpContext_connection_clientCertificate_archived !== undefined) + url_ += "httpContext.request.httpContext.connection.clientCertificate.archived=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_archived) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_extensions !== undefined && httpContext_request_httpContext_connection_clientCertificate_extensions !== null) + httpContext_request_httpContext_connection_clientCertificate_extensions && httpContext_request_httpContext_connection_clientCertificate_extensions.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.request.httpContext.connection.clientCertificate.extensions[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_request_httpContext_connection_clientCertificate_friendlyName !== undefined && httpContext_request_httpContext_connection_clientCertificate_friendlyName !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.friendlyName=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_friendlyName) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_hasPrivateKey === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_clientCertificate_hasPrivateKey' cannot be null."); + else if (httpContext_request_httpContext_connection_clientCertificate_hasPrivateKey !== undefined) + url_ += "httpContext.request.httpContext.connection.clientCertificate.hasPrivateKey=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_hasPrivateKey) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_privateKey_keySize === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_clientCertificate_privateKey_keySize' cannot be null."); + else if (httpContext_request_httpContext_connection_clientCertificate_privateKey_keySize !== undefined) + url_ += "httpContext.request.httpContext.connection.clientCertificate.privateKey.keySize=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_privateKey_keySize) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_privateKey_legalKeySizes !== undefined && httpContext_request_httpContext_connection_clientCertificate_privateKey_legalKeySizes !== null) + httpContext_request_httpContext_connection_clientCertificate_privateKey_legalKeySizes && httpContext_request_httpContext_connection_clientCertificate_privateKey_legalKeySizes.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.request.httpContext.connection.clientCertificate.privateKey.legalKeySizes[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_request_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm !== undefined && httpContext_request_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.privateKey.signatureAlgorithm=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm !== undefined && httpContext_request_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.privateKey.keyExchangeAlgorithm=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_issuerName_name !== undefined && httpContext_request_httpContext_connection_clientCertificate_issuerName_name !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.issuerName.name=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_issuerName_name) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_value !== undefined && httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_value !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.issuerName.oid.value=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_value) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_friendlyName !== undefined && httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_friendlyName !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.issuerName.oid.friendlyName=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_friendlyName) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_issuerName_rawData !== undefined && httpContext_request_httpContext_connection_clientCertificate_issuerName_rawData !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.issuerName.rawData=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_issuerName_rawData) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_notAfter === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_clientCertificate_notAfter' cannot be null."); + else if (httpContext_request_httpContext_connection_clientCertificate_notAfter !== undefined) + url_ += "httpContext.request.httpContext.connection.clientCertificate.notAfter=" + encodeURIComponent(httpContext_request_httpContext_connection_clientCertificate_notAfter ? "" + httpContext_request_httpContext_connection_clientCertificate_notAfter.toISOString() : "") + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_notBefore === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_clientCertificate_notBefore' cannot be null."); + else if (httpContext_request_httpContext_connection_clientCertificate_notBefore !== undefined) + url_ += "httpContext.request.httpContext.connection.clientCertificate.notBefore=" + encodeURIComponent(httpContext_request_httpContext_connection_clientCertificate_notBefore ? "" + httpContext_request_httpContext_connection_clientCertificate_notBefore.toISOString() : "") + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value !== undefined && httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.publicKey.encodedKeyValue.oid.value=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName !== undefined && httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.publicKey.encodedKeyValue.oid.friendlyName=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData !== undefined && httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.publicKey.encodedKeyValue.rawData=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value !== undefined && httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.publicKey.encodedParameters.oid.value=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName !== undefined && httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.publicKey.encodedParameters.oid.friendlyName=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData !== undefined && httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.publicKey.encodedParameters.rawData=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keySize === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keySize' cannot be null."); + else if (httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keySize !== undefined) + url_ += "httpContext.request.httpContext.connection.clientCertificate.publicKey.key.keySize=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keySize) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes !== undefined && httpContext_request_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes !== null) + httpContext_request_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes && httpContext_request_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.request.httpContext.connection.clientCertificate.publicKey.key.legalKeySizes[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_request_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm !== undefined && httpContext_request_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.publicKey.key.signatureAlgorithm=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm !== undefined && httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.publicKey.key.keyExchangeAlgorithm=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_value !== undefined && httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_value !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.publicKey.oid.value=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_value) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_friendlyName !== undefined && httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_friendlyName !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.publicKey.oid.friendlyName=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_friendlyName) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_rawData !== undefined && httpContext_request_httpContext_connection_clientCertificate_rawData !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.rawData=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_rawData) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_serialNumber !== undefined && httpContext_request_httpContext_connection_clientCertificate_serialNumber !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.serialNumber=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_serialNumber) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_value !== undefined && httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_value !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.signatureAlgorithm.value=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_value) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName !== undefined && httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.signatureAlgorithm.friendlyName=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_subjectName_name !== undefined && httpContext_request_httpContext_connection_clientCertificate_subjectName_name !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.subjectName.name=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_subjectName_name) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_value !== undefined && httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_value !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.subjectName.oid.value=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_value) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_friendlyName !== undefined && httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_friendlyName !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.subjectName.oid.friendlyName=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_friendlyName) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_subjectName_rawData !== undefined && httpContext_request_httpContext_connection_clientCertificate_subjectName_rawData !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.subjectName.rawData=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_subjectName_rawData) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_thumbprint !== undefined && httpContext_request_httpContext_connection_clientCertificate_thumbprint !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.thumbprint=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_thumbprint) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_version === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_clientCertificate_version' cannot be null."); + else if (httpContext_request_httpContext_connection_clientCertificate_version !== undefined) + url_ += "httpContext.request.httpContext.connection.clientCertificate.version=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_version) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_handle === null) + throw new Error("The parameter 'httpContext_request_httpContext_connection_clientCertificate_handle' cannot be null."); + else if (httpContext_request_httpContext_connection_clientCertificate_handle !== undefined) + url_ += "httpContext.request.httpContext.connection.clientCertificate.handle=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_handle) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_issuer !== undefined && httpContext_request_httpContext_connection_clientCertificate_issuer !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.issuer=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_issuer) + "&"; + if (httpContext_request_httpContext_connection_clientCertificate_subject !== undefined && httpContext_request_httpContext_connection_clientCertificate_subject !== null) + url_ += "httpContext.request.httpContext.connection.clientCertificate.subject=" + encodeURIComponent("" + httpContext_request_httpContext_connection_clientCertificate_subject) + "&"; + if (httpContext_request_httpContext_webSockets_isWebSocketRequest === null) + throw new Error("The parameter 'httpContext_request_httpContext_webSockets_isWebSocketRequest' cannot be null."); + else if (httpContext_request_httpContext_webSockets_isWebSocketRequest !== undefined) + url_ += "httpContext.request.httpContext.webSockets.isWebSocketRequest=" + encodeURIComponent("" + httpContext_request_httpContext_webSockets_isWebSocketRequest) + "&"; + if (httpContext_request_httpContext_webSockets_webSocketRequestedProtocols !== undefined && httpContext_request_httpContext_webSockets_webSocketRequestedProtocols !== null) + httpContext_request_httpContext_webSockets_webSocketRequestedProtocols && httpContext_request_httpContext_webSockets_webSocketRequestedProtocols.forEach(item => { url_ += "httpContext.request.httpContext.webSockets.webSocketRequestedProtocols=" + encodeURIComponent("" + item) + "&"; }); + if (httpContext_request_httpContext_user_claims !== undefined && httpContext_request_httpContext_user_claims !== null) + httpContext_request_httpContext_user_claims && httpContext_request_httpContext_user_claims.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.request.httpContext.user.claims[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_request_httpContext_user_identities !== undefined && httpContext_request_httpContext_user_identities !== null) + httpContext_request_httpContext_user_identities && httpContext_request_httpContext_user_identities.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.request.httpContext.user.identities[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_request_httpContext_user_identity_name !== undefined && httpContext_request_httpContext_user_identity_name !== null) + url_ += "httpContext.request.httpContext.user.identity.name=" + encodeURIComponent("" + httpContext_request_httpContext_user_identity_name) + "&"; + if (httpContext_request_httpContext_user_identity_authenticationType !== undefined && httpContext_request_httpContext_user_identity_authenticationType !== null) + url_ += "httpContext.request.httpContext.user.identity.authenticationType=" + encodeURIComponent("" + httpContext_request_httpContext_user_identity_authenticationType) + "&"; + if (httpContext_request_httpContext_user_identity_isAuthenticated === null) + throw new Error("The parameter 'httpContext_request_httpContext_user_identity_isAuthenticated' cannot be null."); + else if (httpContext_request_httpContext_user_identity_isAuthenticated !== undefined) + url_ += "httpContext.request.httpContext.user.identity.isAuthenticated=" + encodeURIComponent("" + httpContext_request_httpContext_user_identity_isAuthenticated) + "&"; + if (httpContext_request_httpContext_items !== undefined && httpContext_request_httpContext_items !== null) + url_ += "httpContext.request.httpContext.items=" + encodeURIComponent("" + httpContext_request_httpContext_items) + "&"; + if (httpContext_request_httpContext_requestServices === null) + throw new Error("The parameter 'httpContext_request_httpContext_requestServices' cannot be null."); + else if (httpContext_request_httpContext_requestServices !== undefined) + url_ += "httpContext.request.httpContext.requestServices=" + encodeURIComponent("" + httpContext_request_httpContext_requestServices) + "&"; + if (httpContext_request_httpContext_traceIdentifier !== undefined && httpContext_request_httpContext_traceIdentifier !== null) + url_ += "httpContext.request.httpContext.traceIdentifier=" + encodeURIComponent("" + httpContext_request_httpContext_traceIdentifier) + "&"; + if (httpContext_request_httpContext_session_isAvailable === null) + throw new Error("The parameter 'httpContext_request_httpContext_session_isAvailable' cannot be null."); + else if (httpContext_request_httpContext_session_isAvailable !== undefined) + url_ += "httpContext.request.httpContext.session.isAvailable=" + encodeURIComponent("" + httpContext_request_httpContext_session_isAvailable) + "&"; + if (httpContext_request_httpContext_session_id !== undefined && httpContext_request_httpContext_session_id !== null) + url_ += "httpContext.request.httpContext.session.id=" + encodeURIComponent("" + httpContext_request_httpContext_session_id) + "&"; + if (httpContext_request_httpContext_session_keys !== undefined && httpContext_request_httpContext_session_keys !== null) + httpContext_request_httpContext_session_keys && httpContext_request_httpContext_session_keys.forEach(item => { url_ += "httpContext.request.httpContext.session.keys=" + encodeURIComponent("" + item) + "&"; }); + if (httpContext_request_method !== undefined && httpContext_request_method !== null) + url_ += "httpContext.request.method=" + encodeURIComponent("" + httpContext_request_method) + "&"; + if (httpContext_request_scheme !== undefined && httpContext_request_scheme !== null) + url_ += "httpContext.request.scheme=" + encodeURIComponent("" + httpContext_request_scheme) + "&"; + if (httpContext_request_isHttps === null) + throw new Error("The parameter 'httpContext_request_isHttps' cannot be null."); + else if (httpContext_request_isHttps !== undefined) + url_ += "httpContext.request.isHttps=" + encodeURIComponent("" + httpContext_request_isHttps) + "&"; + if (httpContext_request_host_value !== undefined && httpContext_request_host_value !== null) + url_ += "httpContext.request.host.value=" + encodeURIComponent("" + httpContext_request_host_value) + "&"; + if (httpContext_request_host_hasValue === null) + throw new Error("The parameter 'httpContext_request_host_hasValue' cannot be null."); + else if (httpContext_request_host_hasValue !== undefined) + url_ += "httpContext.request.host.hasValue=" + encodeURIComponent("" + httpContext_request_host_hasValue) + "&"; + if (httpContext_request_host_host !== undefined && httpContext_request_host_host !== null) + url_ += "httpContext.request.host.host=" + encodeURIComponent("" + httpContext_request_host_host) + "&"; + if (httpContext_request_host_port !== undefined && httpContext_request_host_port !== null) + url_ += "httpContext.request.host.port=" + encodeURIComponent("" + httpContext_request_host_port) + "&"; + if (httpContext_request_pathBase === null) + throw new Error("The parameter 'httpContext_request_pathBase' cannot be null."); + else if (httpContext_request_pathBase !== undefined) + url_ += "httpContext.request.pathBase=" + encodeURIComponent("" + httpContext_request_pathBase) + "&"; + if (httpContext_request_path === null) + throw new Error("The parameter 'httpContext_request_path' cannot be null."); + else if (httpContext_request_path !== undefined) + url_ += "httpContext.request.path=" + encodeURIComponent("" + httpContext_request_path) + "&"; + if (httpContext_request_queryString_value !== undefined && httpContext_request_queryString_value !== null) + url_ += "httpContext.request.queryString.value=" + encodeURIComponent("" + httpContext_request_queryString_value) + "&"; + if (httpContext_request_queryString_hasValue === null) + throw new Error("The parameter 'httpContext_request_queryString_hasValue' cannot be null."); + else if (httpContext_request_queryString_hasValue !== undefined) + url_ += "httpContext.request.queryString.hasValue=" + encodeURIComponent("" + httpContext_request_queryString_hasValue) + "&"; + if (httpContext_request_query !== undefined && httpContext_request_query !== null) + httpContext_request_query && httpContext_request_query.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.request.query[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_request_protocol !== undefined && httpContext_request_protocol !== null) + url_ += "httpContext.request.protocol=" + encodeURIComponent("" + httpContext_request_protocol) + "&"; + if (httpContext_request_headers !== undefined && httpContext_request_headers !== null) + url_ += "httpContext.request.headers=" + encodeURIComponent("" + httpContext_request_headers) + "&"; + if (httpContext_request_cookies !== undefined && httpContext_request_cookies !== null) + httpContext_request_cookies && httpContext_request_cookies.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.request.cookies[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_request_contentLength !== undefined && httpContext_request_contentLength !== null) + url_ += "httpContext.request.contentLength=" + encodeURIComponent("" + httpContext_request_contentLength) + "&"; + if (httpContext_request_contentType !== undefined && httpContext_request_contentType !== null) + url_ += "httpContext.request.contentType=" + encodeURIComponent("" + httpContext_request_contentType) + "&"; + if (httpContext_request_body_canRead === null) + throw new Error("The parameter 'httpContext_request_body_canRead' cannot be null."); + else if (httpContext_request_body_canRead !== undefined) + url_ += "httpContext.request.body.canRead=" + encodeURIComponent("" + httpContext_request_body_canRead) + "&"; + if (httpContext_request_body_canWrite === null) + throw new Error("The parameter 'httpContext_request_body_canWrite' cannot be null."); + else if (httpContext_request_body_canWrite !== undefined) + url_ += "httpContext.request.body.canWrite=" + encodeURIComponent("" + httpContext_request_body_canWrite) + "&"; + if (httpContext_request_body_canSeek === null) + throw new Error("The parameter 'httpContext_request_body_canSeek' cannot be null."); + else if (httpContext_request_body_canSeek !== undefined) + url_ += "httpContext.request.body.canSeek=" + encodeURIComponent("" + httpContext_request_body_canSeek) + "&"; + if (httpContext_request_body_canTimeout === null) + throw new Error("The parameter 'httpContext_request_body_canTimeout' cannot be null."); + else if (httpContext_request_body_canTimeout !== undefined) + url_ += "httpContext.request.body.canTimeout=" + encodeURIComponent("" + httpContext_request_body_canTimeout) + "&"; + if (httpContext_request_body_length === null) + throw new Error("The parameter 'httpContext_request_body_length' cannot be null."); + else if (httpContext_request_body_length !== undefined) + url_ += "httpContext.request.body.length=" + encodeURIComponent("" + httpContext_request_body_length) + "&"; + if (httpContext_request_body_position === null) + throw new Error("The parameter 'httpContext_request_body_position' cannot be null."); + else if (httpContext_request_body_position !== undefined) + url_ += "httpContext.request.body.position=" + encodeURIComponent("" + httpContext_request_body_position) + "&"; + if (httpContext_request_body_readTimeout === null) + throw new Error("The parameter 'httpContext_request_body_readTimeout' cannot be null."); + else if (httpContext_request_body_readTimeout !== undefined) + url_ += "httpContext.request.body.readTimeout=" + encodeURIComponent("" + httpContext_request_body_readTimeout) + "&"; + if (httpContext_request_body_writeTimeout === null) + throw new Error("The parameter 'httpContext_request_body_writeTimeout' cannot be null."); + else if (httpContext_request_body_writeTimeout !== undefined) + url_ += "httpContext.request.body.writeTimeout=" + encodeURIComponent("" + httpContext_request_body_writeTimeout) + "&"; + if (httpContext_request_bodyReader === null) + throw new Error("The parameter 'httpContext_request_bodyReader' cannot be null."); + else if (httpContext_request_bodyReader !== undefined) + url_ += "httpContext.request.bodyReader=" + encodeURIComponent("" + httpContext_request_bodyReader) + "&"; + if (httpContext_request_hasFormContentType === null) + throw new Error("The parameter 'httpContext_request_hasFormContentType' cannot be null."); + else if (httpContext_request_hasFormContentType !== undefined) + url_ += "httpContext.request.hasFormContentType=" + encodeURIComponent("" + httpContext_request_hasFormContentType) + "&"; + if (httpContext_request_routeValues !== undefined && httpContext_request_routeValues !== null) + url_ += "httpContext.request.routeValues=" + encodeURIComponent("" + httpContext_request_routeValues) + "&"; + if (httpContext_response_httpContext_features !== undefined && httpContext_response_httpContext_features !== null) + httpContext_response_httpContext_features && httpContext_response_httpContext_features.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.response.httpContext.features[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_response_httpContext_request_httpContext_features !== undefined && httpContext_response_httpContext_request_httpContext_features !== null) + httpContext_response_httpContext_request_httpContext_features && httpContext_response_httpContext_request_httpContext_features.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.response.httpContext.request.httpContext.features[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_response_httpContext_request_httpContext_request === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_request' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_request !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.request=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_request) + "&"; + if (httpContext_response_httpContext_request_httpContext_response === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_response' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_response !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.response=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_response) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_id !== undefined && httpContext_response_httpContext_request_httpContext_connection_id !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.id=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_id) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_addressFamily === undefined || httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_addressFamily === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_addressFamily' must be defined and cannot be null."); + else + url_ += "httpContext.response.httpContext.request.httpContext.connection.remoteIpAddress.addressFamily=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_addressFamily) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_scopeId === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_scopeId' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_scopeId !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.remoteIpAddress.scopeId=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_scopeId) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Multicast === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Multicast' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Multicast !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.remoteIpAddress.isIPv6Multicast=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Multicast) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6LinkLocal === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6LinkLocal' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6LinkLocal !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.remoteIpAddress.isIPv6LinkLocal=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6LinkLocal) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6SiteLocal === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6SiteLocal' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6SiteLocal !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.remoteIpAddress.isIPv6SiteLocal=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6SiteLocal) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Teredo === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Teredo' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Teredo !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.remoteIpAddress.isIPv6Teredo=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6Teredo) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.remoteIpAddress.isIPv6UniqueLocal=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6 === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6 !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.remoteIpAddress.isIPv4MappedToIPv6=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_address === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_address' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_address !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.remoteIpAddress.address=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_remoteIpAddress_address) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_remotePort === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_remotePort' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_remotePort !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.remotePort=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_remotePort) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_localIpAddress_addressFamily === undefined || httpContext_response_httpContext_request_httpContext_connection_localIpAddress_addressFamily === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_localIpAddress_addressFamily' must be defined and cannot be null."); + else + url_ += "httpContext.response.httpContext.request.httpContext.connection.localIpAddress.addressFamily=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_localIpAddress_addressFamily) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_localIpAddress_scopeId === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_localIpAddress_scopeId' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_localIpAddress_scopeId !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.localIpAddress.scopeId=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_localIpAddress_scopeId) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6Multicast === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6Multicast' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6Multicast !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.localIpAddress.isIPv6Multicast=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6Multicast) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6LinkLocal === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6LinkLocal' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6LinkLocal !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.localIpAddress.isIPv6LinkLocal=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6LinkLocal) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6SiteLocal === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6SiteLocal' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6SiteLocal !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.localIpAddress.isIPv6SiteLocal=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6SiteLocal) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6Teredo === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6Teredo' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6Teredo !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.localIpAddress.isIPv6Teredo=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6Teredo) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6UniqueLocal === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6UniqueLocal' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6UniqueLocal !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.localIpAddress.isIPv6UniqueLocal=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv6UniqueLocal) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv4MappedToIPv6 === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv4MappedToIPv6' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv4MappedToIPv6 !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.localIpAddress.isIPv4MappedToIPv6=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_localIpAddress_isIPv4MappedToIPv6) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_localIpAddress_address === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_localIpAddress_address' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_localIpAddress_address !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.localIpAddress.address=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_localIpAddress_address) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_localPort === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_localPort' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_localPort !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.localPort=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_localPort) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_archived === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_clientCertificate_archived' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_archived !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.archived=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_archived) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_extensions !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_extensions !== null) + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_extensions && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_extensions.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.extensions[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_friendlyName !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_friendlyName !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.friendlyName=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_friendlyName) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_hasPrivateKey === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_clientCertificate_hasPrivateKey' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_hasPrivateKey !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.hasPrivateKey=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_hasPrivateKey) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_keySize === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_keySize' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_keySize !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.privateKey.keySize=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_keySize) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_legalKeySizes !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_legalKeySizes !== null) + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_legalKeySizes && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_legalKeySizes.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.privateKey.legalKeySizes[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.privateKey.signatureAlgorithm=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.privateKey.keyExchangeAlgorithm=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_name !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_name !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.issuerName.name=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_name) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_value !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_value !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.issuerName.oid.value=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_value) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_friendlyName !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_friendlyName !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.issuerName.oid.friendlyName=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_oid_friendlyName) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_rawData !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_rawData !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.issuerName.rawData=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuerName_rawData) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_notAfter === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_clientCertificate_notAfter' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_notAfter !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.notAfter=" + encodeURIComponent(httpContext_response_httpContext_request_httpContext_connection_clientCertificate_notAfter ? "" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_notAfter.toISOString() : "") + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_notBefore === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_clientCertificate_notBefore' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_notBefore !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.notBefore=" + encodeURIComponent(httpContext_response_httpContext_request_httpContext_connection_clientCertificate_notBefore ? "" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_notBefore.toISOString() : "") + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.publicKey.encodedKeyValue.oid.value=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.publicKey.encodedKeyValue.oid.friendlyName=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.publicKey.encodedKeyValue.rawData=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.publicKey.encodedParameters.oid.value=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.publicKey.encodedParameters.oid.friendlyName=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.publicKey.encodedParameters.rawData=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keySize === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keySize' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keySize !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.publicKey.key.keySize=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keySize) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes !== null) + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.publicKey.key.legalKeySizes[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.publicKey.key.signatureAlgorithm=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.publicKey.key.keyExchangeAlgorithm=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_value !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_value !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.publicKey.oid.value=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_value) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_friendlyName !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_friendlyName !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.publicKey.oid.friendlyName=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_publicKey_oid_friendlyName) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_rawData !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_rawData !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.rawData=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_rawData) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_serialNumber !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_serialNumber !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.serialNumber=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_serialNumber) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_value !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_value !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.signatureAlgorithm.value=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_value) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.signatureAlgorithm.friendlyName=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_name !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_name !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.subjectName.name=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_name) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_value !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_value !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.subjectName.oid.value=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_value) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_friendlyName !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_friendlyName !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.subjectName.oid.friendlyName=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_oid_friendlyName) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_rawData !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_rawData !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.subjectName.rawData=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subjectName_rawData) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_thumbprint !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_thumbprint !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.thumbprint=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_thumbprint) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_version === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_clientCertificate_version' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_version !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.version=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_version) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_handle === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_connection_clientCertificate_handle' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_handle !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.handle=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_handle) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuer !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuer !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.issuer=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_issuer) + "&"; + if (httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subject !== undefined && httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subject !== null) + url_ += "httpContext.response.httpContext.request.httpContext.connection.clientCertificate.subject=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_connection_clientCertificate_subject) + "&"; + if (httpContext_response_httpContext_request_httpContext_webSockets_isWebSocketRequest === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_webSockets_isWebSocketRequest' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_webSockets_isWebSocketRequest !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.webSockets.isWebSocketRequest=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_webSockets_isWebSocketRequest) + "&"; + if (httpContext_response_httpContext_request_httpContext_webSockets_webSocketRequestedProtocols !== undefined && httpContext_response_httpContext_request_httpContext_webSockets_webSocketRequestedProtocols !== null) + httpContext_response_httpContext_request_httpContext_webSockets_webSocketRequestedProtocols && httpContext_response_httpContext_request_httpContext_webSockets_webSocketRequestedProtocols.forEach(item => { url_ += "httpContext.response.httpContext.request.httpContext.webSockets.webSocketRequestedProtocols=" + encodeURIComponent("" + item) + "&"; }); + if (httpContext_response_httpContext_request_httpContext_user_claims !== undefined && httpContext_response_httpContext_request_httpContext_user_claims !== null) + httpContext_response_httpContext_request_httpContext_user_claims && httpContext_response_httpContext_request_httpContext_user_claims.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.response.httpContext.request.httpContext.user.claims[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_response_httpContext_request_httpContext_user_identities !== undefined && httpContext_response_httpContext_request_httpContext_user_identities !== null) + httpContext_response_httpContext_request_httpContext_user_identities && httpContext_response_httpContext_request_httpContext_user_identities.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.response.httpContext.request.httpContext.user.identities[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_response_httpContext_request_httpContext_user_identity_name !== undefined && httpContext_response_httpContext_request_httpContext_user_identity_name !== null) + url_ += "httpContext.response.httpContext.request.httpContext.user.identity.name=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_user_identity_name) + "&"; + if (httpContext_response_httpContext_request_httpContext_user_identity_authenticationType !== undefined && httpContext_response_httpContext_request_httpContext_user_identity_authenticationType !== null) + url_ += "httpContext.response.httpContext.request.httpContext.user.identity.authenticationType=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_user_identity_authenticationType) + "&"; + if (httpContext_response_httpContext_request_httpContext_user_identity_isAuthenticated === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_user_identity_isAuthenticated' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_user_identity_isAuthenticated !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.user.identity.isAuthenticated=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_user_identity_isAuthenticated) + "&"; + if (httpContext_response_httpContext_request_httpContext_items !== undefined && httpContext_response_httpContext_request_httpContext_items !== null) + url_ += "httpContext.response.httpContext.request.httpContext.items=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_items) + "&"; + if (httpContext_response_httpContext_request_httpContext_requestServices === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_requestServices' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_requestServices !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.requestServices=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_requestServices) + "&"; + if (httpContext_response_httpContext_request_httpContext_traceIdentifier !== undefined && httpContext_response_httpContext_request_httpContext_traceIdentifier !== null) + url_ += "httpContext.response.httpContext.request.httpContext.traceIdentifier=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_traceIdentifier) + "&"; + if (httpContext_response_httpContext_request_httpContext_session_isAvailable === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_httpContext_session_isAvailable' cannot be null."); + else if (httpContext_response_httpContext_request_httpContext_session_isAvailable !== undefined) + url_ += "httpContext.response.httpContext.request.httpContext.session.isAvailable=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_session_isAvailable) + "&"; + if (httpContext_response_httpContext_request_httpContext_session_id !== undefined && httpContext_response_httpContext_request_httpContext_session_id !== null) + url_ += "httpContext.response.httpContext.request.httpContext.session.id=" + encodeURIComponent("" + httpContext_response_httpContext_request_httpContext_session_id) + "&"; + if (httpContext_response_httpContext_request_httpContext_session_keys !== undefined && httpContext_response_httpContext_request_httpContext_session_keys !== null) + httpContext_response_httpContext_request_httpContext_session_keys && httpContext_response_httpContext_request_httpContext_session_keys.forEach(item => { url_ += "httpContext.response.httpContext.request.httpContext.session.keys=" + encodeURIComponent("" + item) + "&"; }); + if (httpContext_response_httpContext_request_method !== undefined && httpContext_response_httpContext_request_method !== null) + url_ += "httpContext.response.httpContext.request.method=" + encodeURIComponent("" + httpContext_response_httpContext_request_method) + "&"; + if (httpContext_response_httpContext_request_scheme !== undefined && httpContext_response_httpContext_request_scheme !== null) + url_ += "httpContext.response.httpContext.request.scheme=" + encodeURIComponent("" + httpContext_response_httpContext_request_scheme) + "&"; + if (httpContext_response_httpContext_request_isHttps === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_isHttps' cannot be null."); + else if (httpContext_response_httpContext_request_isHttps !== undefined) + url_ += "httpContext.response.httpContext.request.isHttps=" + encodeURIComponent("" + httpContext_response_httpContext_request_isHttps) + "&"; + if (httpContext_response_httpContext_request_host_value !== undefined && httpContext_response_httpContext_request_host_value !== null) + url_ += "httpContext.response.httpContext.request.host.value=" + encodeURIComponent("" + httpContext_response_httpContext_request_host_value) + "&"; + if (httpContext_response_httpContext_request_host_hasValue === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_host_hasValue' cannot be null."); + else if (httpContext_response_httpContext_request_host_hasValue !== undefined) + url_ += "httpContext.response.httpContext.request.host.hasValue=" + encodeURIComponent("" + httpContext_response_httpContext_request_host_hasValue) + "&"; + if (httpContext_response_httpContext_request_host_host !== undefined && httpContext_response_httpContext_request_host_host !== null) + url_ += "httpContext.response.httpContext.request.host.host=" + encodeURIComponent("" + httpContext_response_httpContext_request_host_host) + "&"; + if (httpContext_response_httpContext_request_host_port !== undefined && httpContext_response_httpContext_request_host_port !== null) + url_ += "httpContext.response.httpContext.request.host.port=" + encodeURIComponent("" + httpContext_response_httpContext_request_host_port) + "&"; + if (httpContext_response_httpContext_request_pathBase === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_pathBase' cannot be null."); + else if (httpContext_response_httpContext_request_pathBase !== undefined) + url_ += "httpContext.response.httpContext.request.pathBase=" + encodeURIComponent("" + httpContext_response_httpContext_request_pathBase) + "&"; + if (httpContext_response_httpContext_request_path === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_path' cannot be null."); + else if (httpContext_response_httpContext_request_path !== undefined) + url_ += "httpContext.response.httpContext.request.path=" + encodeURIComponent("" + httpContext_response_httpContext_request_path) + "&"; + if (httpContext_response_httpContext_request_queryString_value !== undefined && httpContext_response_httpContext_request_queryString_value !== null) + url_ += "httpContext.response.httpContext.request.queryString.value=" + encodeURIComponent("" + httpContext_response_httpContext_request_queryString_value) + "&"; + if (httpContext_response_httpContext_request_queryString_hasValue === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_queryString_hasValue' cannot be null."); + else if (httpContext_response_httpContext_request_queryString_hasValue !== undefined) + url_ += "httpContext.response.httpContext.request.queryString.hasValue=" + encodeURIComponent("" + httpContext_response_httpContext_request_queryString_hasValue) + "&"; + if (httpContext_response_httpContext_request_query !== undefined && httpContext_response_httpContext_request_query !== null) + httpContext_response_httpContext_request_query && httpContext_response_httpContext_request_query.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.response.httpContext.request.query[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_response_httpContext_request_protocol !== undefined && httpContext_response_httpContext_request_protocol !== null) + url_ += "httpContext.response.httpContext.request.protocol=" + encodeURIComponent("" + httpContext_response_httpContext_request_protocol) + "&"; + if (httpContext_response_httpContext_request_headers !== undefined && httpContext_response_httpContext_request_headers !== null) + url_ += "httpContext.response.httpContext.request.headers=" + encodeURIComponent("" + httpContext_response_httpContext_request_headers) + "&"; + if (httpContext_response_httpContext_request_cookies !== undefined && httpContext_response_httpContext_request_cookies !== null) + httpContext_response_httpContext_request_cookies && httpContext_response_httpContext_request_cookies.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.response.httpContext.request.cookies[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_response_httpContext_request_contentLength !== undefined && httpContext_response_httpContext_request_contentLength !== null) + url_ += "httpContext.response.httpContext.request.contentLength=" + encodeURIComponent("" + httpContext_response_httpContext_request_contentLength) + "&"; + if (httpContext_response_httpContext_request_contentType !== undefined && httpContext_response_httpContext_request_contentType !== null) + url_ += "httpContext.response.httpContext.request.contentType=" + encodeURIComponent("" + httpContext_response_httpContext_request_contentType) + "&"; + if (httpContext_response_httpContext_request_body_canRead === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_body_canRead' cannot be null."); + else if (httpContext_response_httpContext_request_body_canRead !== undefined) + url_ += "httpContext.response.httpContext.request.body.canRead=" + encodeURIComponent("" + httpContext_response_httpContext_request_body_canRead) + "&"; + if (httpContext_response_httpContext_request_body_canWrite === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_body_canWrite' cannot be null."); + else if (httpContext_response_httpContext_request_body_canWrite !== undefined) + url_ += "httpContext.response.httpContext.request.body.canWrite=" + encodeURIComponent("" + httpContext_response_httpContext_request_body_canWrite) + "&"; + if (httpContext_response_httpContext_request_body_canSeek === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_body_canSeek' cannot be null."); + else if (httpContext_response_httpContext_request_body_canSeek !== undefined) + url_ += "httpContext.response.httpContext.request.body.canSeek=" + encodeURIComponent("" + httpContext_response_httpContext_request_body_canSeek) + "&"; + if (httpContext_response_httpContext_request_body_canTimeout === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_body_canTimeout' cannot be null."); + else if (httpContext_response_httpContext_request_body_canTimeout !== undefined) + url_ += "httpContext.response.httpContext.request.body.canTimeout=" + encodeURIComponent("" + httpContext_response_httpContext_request_body_canTimeout) + "&"; + if (httpContext_response_httpContext_request_body_length === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_body_length' cannot be null."); + else if (httpContext_response_httpContext_request_body_length !== undefined) + url_ += "httpContext.response.httpContext.request.body.length=" + encodeURIComponent("" + httpContext_response_httpContext_request_body_length) + "&"; + if (httpContext_response_httpContext_request_body_position === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_body_position' cannot be null."); + else if (httpContext_response_httpContext_request_body_position !== undefined) + url_ += "httpContext.response.httpContext.request.body.position=" + encodeURIComponent("" + httpContext_response_httpContext_request_body_position) + "&"; + if (httpContext_response_httpContext_request_body_readTimeout === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_body_readTimeout' cannot be null."); + else if (httpContext_response_httpContext_request_body_readTimeout !== undefined) + url_ += "httpContext.response.httpContext.request.body.readTimeout=" + encodeURIComponent("" + httpContext_response_httpContext_request_body_readTimeout) + "&"; + if (httpContext_response_httpContext_request_body_writeTimeout === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_body_writeTimeout' cannot be null."); + else if (httpContext_response_httpContext_request_body_writeTimeout !== undefined) + url_ += "httpContext.response.httpContext.request.body.writeTimeout=" + encodeURIComponent("" + httpContext_response_httpContext_request_body_writeTimeout) + "&"; + if (httpContext_response_httpContext_request_bodyReader === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_bodyReader' cannot be null."); + else if (httpContext_response_httpContext_request_bodyReader !== undefined) + url_ += "httpContext.response.httpContext.request.bodyReader=" + encodeURIComponent("" + httpContext_response_httpContext_request_bodyReader) + "&"; + if (httpContext_response_httpContext_request_hasFormContentType === null) + throw new Error("The parameter 'httpContext_response_httpContext_request_hasFormContentType' cannot be null."); + else if (httpContext_response_httpContext_request_hasFormContentType !== undefined) + url_ += "httpContext.response.httpContext.request.hasFormContentType=" + encodeURIComponent("" + httpContext_response_httpContext_request_hasFormContentType) + "&"; + if (httpContext_response_httpContext_request_routeValues !== undefined && httpContext_response_httpContext_request_routeValues !== null) + url_ += "httpContext.response.httpContext.request.routeValues=" + encodeURIComponent("" + httpContext_response_httpContext_request_routeValues) + "&"; + if (httpContext_response_httpContext_response === null) + throw new Error("The parameter 'httpContext_response_httpContext_response' cannot be null."); + else if (httpContext_response_httpContext_response !== undefined) + url_ += "httpContext.response.httpContext.response=" + encodeURIComponent("" + httpContext_response_httpContext_response) + "&"; + if (httpContext_response_httpContext_connection_id !== undefined && httpContext_response_httpContext_connection_id !== null) + url_ += "httpContext.response.httpContext.connection.id=" + encodeURIComponent("" + httpContext_response_httpContext_connection_id) + "&"; + if (httpContext_response_httpContext_connection_remoteIpAddress_addressFamily === undefined || httpContext_response_httpContext_connection_remoteIpAddress_addressFamily === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_remoteIpAddress_addressFamily' must be defined and cannot be null."); + else + url_ += "httpContext.response.httpContext.connection.remoteIpAddress.addressFamily=" + encodeURIComponent("" + httpContext_response_httpContext_connection_remoteIpAddress_addressFamily) + "&"; + if (httpContext_response_httpContext_connection_remoteIpAddress_scopeId === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_remoteIpAddress_scopeId' cannot be null."); + else if (httpContext_response_httpContext_connection_remoteIpAddress_scopeId !== undefined) + url_ += "httpContext.response.httpContext.connection.remoteIpAddress.scopeId=" + encodeURIComponent("" + httpContext_response_httpContext_connection_remoteIpAddress_scopeId) + "&"; + if (httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Multicast === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Multicast' cannot be null."); + else if (httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Multicast !== undefined) + url_ += "httpContext.response.httpContext.connection.remoteIpAddress.isIPv6Multicast=" + encodeURIComponent("" + httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Multicast) + "&"; + if (httpContext_response_httpContext_connection_remoteIpAddress_isIPv6LinkLocal === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_remoteIpAddress_isIPv6LinkLocal' cannot be null."); + else if (httpContext_response_httpContext_connection_remoteIpAddress_isIPv6LinkLocal !== undefined) + url_ += "httpContext.response.httpContext.connection.remoteIpAddress.isIPv6LinkLocal=" + encodeURIComponent("" + httpContext_response_httpContext_connection_remoteIpAddress_isIPv6LinkLocal) + "&"; + if (httpContext_response_httpContext_connection_remoteIpAddress_isIPv6SiteLocal === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_remoteIpAddress_isIPv6SiteLocal' cannot be null."); + else if (httpContext_response_httpContext_connection_remoteIpAddress_isIPv6SiteLocal !== undefined) + url_ += "httpContext.response.httpContext.connection.remoteIpAddress.isIPv6SiteLocal=" + encodeURIComponent("" + httpContext_response_httpContext_connection_remoteIpAddress_isIPv6SiteLocal) + "&"; + if (httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Teredo === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Teredo' cannot be null."); + else if (httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Teredo !== undefined) + url_ += "httpContext.response.httpContext.connection.remoteIpAddress.isIPv6Teredo=" + encodeURIComponent("" + httpContext_response_httpContext_connection_remoteIpAddress_isIPv6Teredo) + "&"; + if (httpContext_response_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal' cannot be null."); + else if (httpContext_response_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal !== undefined) + url_ += "httpContext.response.httpContext.connection.remoteIpAddress.isIPv6UniqueLocal=" + encodeURIComponent("" + httpContext_response_httpContext_connection_remoteIpAddress_isIPv6UniqueLocal) + "&"; + if (httpContext_response_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6 === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6' cannot be null."); + else if (httpContext_response_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6 !== undefined) + url_ += "httpContext.response.httpContext.connection.remoteIpAddress.isIPv4MappedToIPv6=" + encodeURIComponent("" + httpContext_response_httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6) + "&"; + if (httpContext_response_httpContext_connection_remoteIpAddress_address === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_remoteIpAddress_address' cannot be null."); + else if (httpContext_response_httpContext_connection_remoteIpAddress_address !== undefined) + url_ += "httpContext.response.httpContext.connection.remoteIpAddress.address=" + encodeURIComponent("" + httpContext_response_httpContext_connection_remoteIpAddress_address) + "&"; + if (httpContext_response_httpContext_connection_remotePort === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_remotePort' cannot be null."); + else if (httpContext_response_httpContext_connection_remotePort !== undefined) + url_ += "httpContext.response.httpContext.connection.remotePort=" + encodeURIComponent("" + httpContext_response_httpContext_connection_remotePort) + "&"; + if (httpContext_response_httpContext_connection_localIpAddress_addressFamily === undefined || httpContext_response_httpContext_connection_localIpAddress_addressFamily === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_localIpAddress_addressFamily' must be defined and cannot be null."); + else + url_ += "httpContext.response.httpContext.connection.localIpAddress.addressFamily=" + encodeURIComponent("" + httpContext_response_httpContext_connection_localIpAddress_addressFamily) + "&"; + if (httpContext_response_httpContext_connection_localIpAddress_scopeId === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_localIpAddress_scopeId' cannot be null."); + else if (httpContext_response_httpContext_connection_localIpAddress_scopeId !== undefined) + url_ += "httpContext.response.httpContext.connection.localIpAddress.scopeId=" + encodeURIComponent("" + httpContext_response_httpContext_connection_localIpAddress_scopeId) + "&"; + if (httpContext_response_httpContext_connection_localIpAddress_isIPv6Multicast === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_localIpAddress_isIPv6Multicast' cannot be null."); + else if (httpContext_response_httpContext_connection_localIpAddress_isIPv6Multicast !== undefined) + url_ += "httpContext.response.httpContext.connection.localIpAddress.isIPv6Multicast=" + encodeURIComponent("" + httpContext_response_httpContext_connection_localIpAddress_isIPv6Multicast) + "&"; + if (httpContext_response_httpContext_connection_localIpAddress_isIPv6LinkLocal === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_localIpAddress_isIPv6LinkLocal' cannot be null."); + else if (httpContext_response_httpContext_connection_localIpAddress_isIPv6LinkLocal !== undefined) + url_ += "httpContext.response.httpContext.connection.localIpAddress.isIPv6LinkLocal=" + encodeURIComponent("" + httpContext_response_httpContext_connection_localIpAddress_isIPv6LinkLocal) + "&"; + if (httpContext_response_httpContext_connection_localIpAddress_isIPv6SiteLocal === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_localIpAddress_isIPv6SiteLocal' cannot be null."); + else if (httpContext_response_httpContext_connection_localIpAddress_isIPv6SiteLocal !== undefined) + url_ += "httpContext.response.httpContext.connection.localIpAddress.isIPv6SiteLocal=" + encodeURIComponent("" + httpContext_response_httpContext_connection_localIpAddress_isIPv6SiteLocal) + "&"; + if (httpContext_response_httpContext_connection_localIpAddress_isIPv6Teredo === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_localIpAddress_isIPv6Teredo' cannot be null."); + else if (httpContext_response_httpContext_connection_localIpAddress_isIPv6Teredo !== undefined) + url_ += "httpContext.response.httpContext.connection.localIpAddress.isIPv6Teredo=" + encodeURIComponent("" + httpContext_response_httpContext_connection_localIpAddress_isIPv6Teredo) + "&"; + if (httpContext_response_httpContext_connection_localIpAddress_isIPv6UniqueLocal === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_localIpAddress_isIPv6UniqueLocal' cannot be null."); + else if (httpContext_response_httpContext_connection_localIpAddress_isIPv6UniqueLocal !== undefined) + url_ += "httpContext.response.httpContext.connection.localIpAddress.isIPv6UniqueLocal=" + encodeURIComponent("" + httpContext_response_httpContext_connection_localIpAddress_isIPv6UniqueLocal) + "&"; + if (httpContext_response_httpContext_connection_localIpAddress_isIPv4MappedToIPv6 === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_localIpAddress_isIPv4MappedToIPv6' cannot be null."); + else if (httpContext_response_httpContext_connection_localIpAddress_isIPv4MappedToIPv6 !== undefined) + url_ += "httpContext.response.httpContext.connection.localIpAddress.isIPv4MappedToIPv6=" + encodeURIComponent("" + httpContext_response_httpContext_connection_localIpAddress_isIPv4MappedToIPv6) + "&"; + if (httpContext_response_httpContext_connection_localIpAddress_address === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_localIpAddress_address' cannot be null."); + else if (httpContext_response_httpContext_connection_localIpAddress_address !== undefined) + url_ += "httpContext.response.httpContext.connection.localIpAddress.address=" + encodeURIComponent("" + httpContext_response_httpContext_connection_localIpAddress_address) + "&"; + if (httpContext_response_httpContext_connection_localPort === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_localPort' cannot be null."); + else if (httpContext_response_httpContext_connection_localPort !== undefined) + url_ += "httpContext.response.httpContext.connection.localPort=" + encodeURIComponent("" + httpContext_response_httpContext_connection_localPort) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_archived === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_clientCertificate_archived' cannot be null."); + else if (httpContext_response_httpContext_connection_clientCertificate_archived !== undefined) + url_ += "httpContext.response.httpContext.connection.clientCertificate.archived=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_archived) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_extensions !== undefined && httpContext_response_httpContext_connection_clientCertificate_extensions !== null) + httpContext_response_httpContext_connection_clientCertificate_extensions && httpContext_response_httpContext_connection_clientCertificate_extensions.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.response.httpContext.connection.clientCertificate.extensions[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_response_httpContext_connection_clientCertificate_friendlyName !== undefined && httpContext_response_httpContext_connection_clientCertificate_friendlyName !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.friendlyName=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_friendlyName) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_hasPrivateKey === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_clientCertificate_hasPrivateKey' cannot be null."); + else if (httpContext_response_httpContext_connection_clientCertificate_hasPrivateKey !== undefined) + url_ += "httpContext.response.httpContext.connection.clientCertificate.hasPrivateKey=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_hasPrivateKey) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_privateKey_keySize === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_clientCertificate_privateKey_keySize' cannot be null."); + else if (httpContext_response_httpContext_connection_clientCertificate_privateKey_keySize !== undefined) + url_ += "httpContext.response.httpContext.connection.clientCertificate.privateKey.keySize=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_privateKey_keySize) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_privateKey_legalKeySizes !== undefined && httpContext_response_httpContext_connection_clientCertificate_privateKey_legalKeySizes !== null) + httpContext_response_httpContext_connection_clientCertificate_privateKey_legalKeySizes && httpContext_response_httpContext_connection_clientCertificate_privateKey_legalKeySizes.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.response.httpContext.connection.clientCertificate.privateKey.legalKeySizes[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_response_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm !== undefined && httpContext_response_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.privateKey.signatureAlgorithm=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_privateKey_signatureAlgorithm) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm !== undefined && httpContext_response_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.privateKey.keyExchangeAlgorithm=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_issuerName_name !== undefined && httpContext_response_httpContext_connection_clientCertificate_issuerName_name !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.issuerName.name=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_issuerName_name) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_value !== undefined && httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_value !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.issuerName.oid.value=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_value) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_friendlyName !== undefined && httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_friendlyName !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.issuerName.oid.friendlyName=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_issuerName_oid_friendlyName) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_issuerName_rawData !== undefined && httpContext_response_httpContext_connection_clientCertificate_issuerName_rawData !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.issuerName.rawData=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_issuerName_rawData) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_notAfter === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_clientCertificate_notAfter' cannot be null."); + else if (httpContext_response_httpContext_connection_clientCertificate_notAfter !== undefined) + url_ += "httpContext.response.httpContext.connection.clientCertificate.notAfter=" + encodeURIComponent(httpContext_response_httpContext_connection_clientCertificate_notAfter ? "" + httpContext_response_httpContext_connection_clientCertificate_notAfter.toISOString() : "") + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_notBefore === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_clientCertificate_notBefore' cannot be null."); + else if (httpContext_response_httpContext_connection_clientCertificate_notBefore !== undefined) + url_ += "httpContext.response.httpContext.connection.clientCertificate.notBefore=" + encodeURIComponent(httpContext_response_httpContext_connection_clientCertificate_notBefore ? "" + httpContext_response_httpContext_connection_clientCertificate_notBefore.toISOString() : "") + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value !== undefined && httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.publicKey.encodedKeyValue.oid.value=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName !== undefined && httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.publicKey.encodedKeyValue.oid.friendlyName=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData !== undefined && httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.publicKey.encodedKeyValue.rawData=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value !== undefined && httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.publicKey.encodedParameters.oid.value=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName !== undefined && httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.publicKey.encodedParameters.oid.friendlyName=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData !== undefined && httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.publicKey.encodedParameters.rawData=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keySize === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keySize' cannot be null."); + else if (httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keySize !== undefined) + url_ += "httpContext.response.httpContext.connection.clientCertificate.publicKey.key.keySize=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keySize) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes !== undefined && httpContext_response_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes !== null) + httpContext_response_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes && httpContext_response_httpContext_connection_clientCertificate_publicKey_key_legalKeySizes.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.response.httpContext.connection.clientCertificate.publicKey.key.legalKeySizes[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_response_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm !== undefined && httpContext_response_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.publicKey.key.signatureAlgorithm=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm !== undefined && httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.publicKey.key.keyExchangeAlgorithm=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_value !== undefined && httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_value !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.publicKey.oid.value=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_value) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_friendlyName !== undefined && httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_friendlyName !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.publicKey.oid.friendlyName=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_publicKey_oid_friendlyName) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_rawData !== undefined && httpContext_response_httpContext_connection_clientCertificate_rawData !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.rawData=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_rawData) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_serialNumber !== undefined && httpContext_response_httpContext_connection_clientCertificate_serialNumber !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.serialNumber=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_serialNumber) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_value !== undefined && httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_value !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.signatureAlgorithm.value=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_value) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName !== undefined && httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.signatureAlgorithm.friendlyName=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_subjectName_name !== undefined && httpContext_response_httpContext_connection_clientCertificate_subjectName_name !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.subjectName.name=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_subjectName_name) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_value !== undefined && httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_value !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.subjectName.oid.value=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_value) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_friendlyName !== undefined && httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_friendlyName !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.subjectName.oid.friendlyName=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_subjectName_oid_friendlyName) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_subjectName_rawData !== undefined && httpContext_response_httpContext_connection_clientCertificate_subjectName_rawData !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.subjectName.rawData=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_subjectName_rawData) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_thumbprint !== undefined && httpContext_response_httpContext_connection_clientCertificate_thumbprint !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.thumbprint=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_thumbprint) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_version === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_clientCertificate_version' cannot be null."); + else if (httpContext_response_httpContext_connection_clientCertificate_version !== undefined) + url_ += "httpContext.response.httpContext.connection.clientCertificate.version=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_version) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_handle === null) + throw new Error("The parameter 'httpContext_response_httpContext_connection_clientCertificate_handle' cannot be null."); + else if (httpContext_response_httpContext_connection_clientCertificate_handle !== undefined) + url_ += "httpContext.response.httpContext.connection.clientCertificate.handle=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_handle) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_issuer !== undefined && httpContext_response_httpContext_connection_clientCertificate_issuer !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.issuer=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_issuer) + "&"; + if (httpContext_response_httpContext_connection_clientCertificate_subject !== undefined && httpContext_response_httpContext_connection_clientCertificate_subject !== null) + url_ += "httpContext.response.httpContext.connection.clientCertificate.subject=" + encodeURIComponent("" + httpContext_response_httpContext_connection_clientCertificate_subject) + "&"; + if (httpContext_response_httpContext_webSockets_isWebSocketRequest === null) + throw new Error("The parameter 'httpContext_response_httpContext_webSockets_isWebSocketRequest' cannot be null."); + else if (httpContext_response_httpContext_webSockets_isWebSocketRequest !== undefined) + url_ += "httpContext.response.httpContext.webSockets.isWebSocketRequest=" + encodeURIComponent("" + httpContext_response_httpContext_webSockets_isWebSocketRequest) + "&"; + if (httpContext_response_httpContext_webSockets_webSocketRequestedProtocols !== undefined && httpContext_response_httpContext_webSockets_webSocketRequestedProtocols !== null) + httpContext_response_httpContext_webSockets_webSocketRequestedProtocols && httpContext_response_httpContext_webSockets_webSocketRequestedProtocols.forEach(item => { url_ += "httpContext.response.httpContext.webSockets.webSocketRequestedProtocols=" + encodeURIComponent("" + item) + "&"; }); + if (httpContext_response_httpContext_user_claims !== undefined && httpContext_response_httpContext_user_claims !== null) + httpContext_response_httpContext_user_claims && httpContext_response_httpContext_user_claims.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.response.httpContext.user.claims[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_response_httpContext_user_identities !== undefined && httpContext_response_httpContext_user_identities !== null) + httpContext_response_httpContext_user_identities && httpContext_response_httpContext_user_identities.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.response.httpContext.user.identities[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_response_httpContext_user_identity_name !== undefined && httpContext_response_httpContext_user_identity_name !== null) + url_ += "httpContext.response.httpContext.user.identity.name=" + encodeURIComponent("" + httpContext_response_httpContext_user_identity_name) + "&"; + if (httpContext_response_httpContext_user_identity_authenticationType !== undefined && httpContext_response_httpContext_user_identity_authenticationType !== null) + url_ += "httpContext.response.httpContext.user.identity.authenticationType=" + encodeURIComponent("" + httpContext_response_httpContext_user_identity_authenticationType) + "&"; + if (httpContext_response_httpContext_user_identity_isAuthenticated === null) + throw new Error("The parameter 'httpContext_response_httpContext_user_identity_isAuthenticated' cannot be null."); + else if (httpContext_response_httpContext_user_identity_isAuthenticated !== undefined) + url_ += "httpContext.response.httpContext.user.identity.isAuthenticated=" + encodeURIComponent("" + httpContext_response_httpContext_user_identity_isAuthenticated) + "&"; + if (httpContext_response_httpContext_items !== undefined && httpContext_response_httpContext_items !== null) + url_ += "httpContext.response.httpContext.items=" + encodeURIComponent("" + httpContext_response_httpContext_items) + "&"; + if (httpContext_response_httpContext_requestServices === null) + throw new Error("The parameter 'httpContext_response_httpContext_requestServices' cannot be null."); + else if (httpContext_response_httpContext_requestServices !== undefined) + url_ += "httpContext.response.httpContext.requestServices=" + encodeURIComponent("" + httpContext_response_httpContext_requestServices) + "&"; + if (httpContext_response_httpContext_traceIdentifier !== undefined && httpContext_response_httpContext_traceIdentifier !== null) + url_ += "httpContext.response.httpContext.traceIdentifier=" + encodeURIComponent("" + httpContext_response_httpContext_traceIdentifier) + "&"; + if (httpContext_response_httpContext_session_isAvailable === null) + throw new Error("The parameter 'httpContext_response_httpContext_session_isAvailable' cannot be null."); + else if (httpContext_response_httpContext_session_isAvailable !== undefined) + url_ += "httpContext.response.httpContext.session.isAvailable=" + encodeURIComponent("" + httpContext_response_httpContext_session_isAvailable) + "&"; + if (httpContext_response_httpContext_session_id !== undefined && httpContext_response_httpContext_session_id !== null) + url_ += "httpContext.response.httpContext.session.id=" + encodeURIComponent("" + httpContext_response_httpContext_session_id) + "&"; + if (httpContext_response_httpContext_session_keys !== undefined && httpContext_response_httpContext_session_keys !== null) + httpContext_response_httpContext_session_keys && httpContext_response_httpContext_session_keys.forEach(item => { url_ += "httpContext.response.httpContext.session.keys=" + encodeURIComponent("" + item) + "&"; }); + if (httpContext_response_statusCode === null) + throw new Error("The parameter 'httpContext_response_statusCode' cannot be null."); + else if (httpContext_response_statusCode !== undefined) + url_ += "httpContext.response.statusCode=" + encodeURIComponent("" + httpContext_response_statusCode) + "&"; + if (httpContext_response_headers !== undefined && httpContext_response_headers !== null) + url_ += "httpContext.response.headers=" + encodeURIComponent("" + httpContext_response_headers) + "&"; + if (httpContext_response_body_canRead === null) + throw new Error("The parameter 'httpContext_response_body_canRead' cannot be null."); + else if (httpContext_response_body_canRead !== undefined) + url_ += "httpContext.response.body.canRead=" + encodeURIComponent("" + httpContext_response_body_canRead) + "&"; + if (httpContext_response_body_canWrite === null) + throw new Error("The parameter 'httpContext_response_body_canWrite' cannot be null."); + else if (httpContext_response_body_canWrite !== undefined) + url_ += "httpContext.response.body.canWrite=" + encodeURIComponent("" + httpContext_response_body_canWrite) + "&"; + if (httpContext_response_body_canSeek === null) + throw new Error("The parameter 'httpContext_response_body_canSeek' cannot be null."); + else if (httpContext_response_body_canSeek !== undefined) + url_ += "httpContext.response.body.canSeek=" + encodeURIComponent("" + httpContext_response_body_canSeek) + "&"; + if (httpContext_response_body_canTimeout === null) + throw new Error("The parameter 'httpContext_response_body_canTimeout' cannot be null."); + else if (httpContext_response_body_canTimeout !== undefined) + url_ += "httpContext.response.body.canTimeout=" + encodeURIComponent("" + httpContext_response_body_canTimeout) + "&"; + if (httpContext_response_body_length === null) + throw new Error("The parameter 'httpContext_response_body_length' cannot be null."); + else if (httpContext_response_body_length !== undefined) + url_ += "httpContext.response.body.length=" + encodeURIComponent("" + httpContext_response_body_length) + "&"; + if (httpContext_response_body_position === null) + throw new Error("The parameter 'httpContext_response_body_position' cannot be null."); + else if (httpContext_response_body_position !== undefined) + url_ += "httpContext.response.body.position=" + encodeURIComponent("" + httpContext_response_body_position) + "&"; + if (httpContext_response_body_readTimeout === null) + throw new Error("The parameter 'httpContext_response_body_readTimeout' cannot be null."); + else if (httpContext_response_body_readTimeout !== undefined) + url_ += "httpContext.response.body.readTimeout=" + encodeURIComponent("" + httpContext_response_body_readTimeout) + "&"; + if (httpContext_response_body_writeTimeout === null) + throw new Error("The parameter 'httpContext_response_body_writeTimeout' cannot be null."); + else if (httpContext_response_body_writeTimeout !== undefined) + url_ += "httpContext.response.body.writeTimeout=" + encodeURIComponent("" + httpContext_response_body_writeTimeout) + "&"; + if (httpContext_response_bodyWriter_canGetUnflushedBytes === null) + throw new Error("The parameter 'httpContext_response_bodyWriter_canGetUnflushedBytes' cannot be null."); + else if (httpContext_response_bodyWriter_canGetUnflushedBytes !== undefined) + url_ += "httpContext.response.bodyWriter.canGetUnflushedBytes=" + encodeURIComponent("" + httpContext_response_bodyWriter_canGetUnflushedBytes) + "&"; + if (httpContext_response_bodyWriter_unflushedBytes === null) + throw new Error("The parameter 'httpContext_response_bodyWriter_unflushedBytes' cannot be null."); + else if (httpContext_response_bodyWriter_unflushedBytes !== undefined) + url_ += "httpContext.response.bodyWriter.unflushedBytes=" + encodeURIComponent("" + httpContext_response_bodyWriter_unflushedBytes) + "&"; + if (httpContext_response_contentLength !== undefined && httpContext_response_contentLength !== null) + url_ += "httpContext.response.contentLength=" + encodeURIComponent("" + httpContext_response_contentLength) + "&"; + if (httpContext_response_contentType !== undefined && httpContext_response_contentType !== null) + url_ += "httpContext.response.contentType=" + encodeURIComponent("" + httpContext_response_contentType) + "&"; + if (httpContext_response_cookies === null) + throw new Error("The parameter 'httpContext_response_cookies' cannot be null."); + else if (httpContext_response_cookies !== undefined) + url_ += "httpContext.response.cookies=" + encodeURIComponent("" + httpContext_response_cookies) + "&"; + if (httpContext_response_hasStarted === null) + throw new Error("The parameter 'httpContext_response_hasStarted' cannot be null."); + else if (httpContext_response_hasStarted !== undefined) + url_ += "httpContext.response.hasStarted=" + encodeURIComponent("" + httpContext_response_hasStarted) + "&"; + if (httpContext_connection_id !== undefined && httpContext_connection_id !== null) + url_ += "httpContext.connection.id=" + encodeURIComponent("" + httpContext_connection_id) + "&"; + if (httpContext_connection_remoteIpAddress_addressFamily === undefined || httpContext_connection_remoteIpAddress_addressFamily === null) + throw new Error("The parameter 'httpContext_connection_remoteIpAddress_addressFamily' must be defined and cannot be null."); + else + url_ += "httpContext.connection.remoteIpAddress.addressFamily=" + encodeURIComponent("" + httpContext_connection_remoteIpAddress_addressFamily) + "&"; + if (httpContext_connection_remoteIpAddress_scopeId === null) + throw new Error("The parameter 'httpContext_connection_remoteIpAddress_scopeId' cannot be null."); + else if (httpContext_connection_remoteIpAddress_scopeId !== undefined) + url_ += "httpContext.connection.remoteIpAddress.scopeId=" + encodeURIComponent("" + httpContext_connection_remoteIpAddress_scopeId) + "&"; + if (httpContext_connection_remoteIpAddress_isIPv6Multicast === null) + throw new Error("The parameter 'httpContext_connection_remoteIpAddress_isIPv6Multicast' cannot be null."); + else if (httpContext_connection_remoteIpAddress_isIPv6Multicast !== undefined) + url_ += "httpContext.connection.remoteIpAddress.isIPv6Multicast=" + encodeURIComponent("" + httpContext_connection_remoteIpAddress_isIPv6Multicast) + "&"; + if (httpContext_connection_remoteIpAddress_isIPv6LinkLocal === null) + throw new Error("The parameter 'httpContext_connection_remoteIpAddress_isIPv6LinkLocal' cannot be null."); + else if (httpContext_connection_remoteIpAddress_isIPv6LinkLocal !== undefined) + url_ += "httpContext.connection.remoteIpAddress.isIPv6LinkLocal=" + encodeURIComponent("" + httpContext_connection_remoteIpAddress_isIPv6LinkLocal) + "&"; + if (httpContext_connection_remoteIpAddress_isIPv6SiteLocal === null) + throw new Error("The parameter 'httpContext_connection_remoteIpAddress_isIPv6SiteLocal' cannot be null."); + else if (httpContext_connection_remoteIpAddress_isIPv6SiteLocal !== undefined) + url_ += "httpContext.connection.remoteIpAddress.isIPv6SiteLocal=" + encodeURIComponent("" + httpContext_connection_remoteIpAddress_isIPv6SiteLocal) + "&"; + if (httpContext_connection_remoteIpAddress_isIPv6Teredo === null) + throw new Error("The parameter 'httpContext_connection_remoteIpAddress_isIPv6Teredo' cannot be null."); + else if (httpContext_connection_remoteIpAddress_isIPv6Teredo !== undefined) + url_ += "httpContext.connection.remoteIpAddress.isIPv6Teredo=" + encodeURIComponent("" + httpContext_connection_remoteIpAddress_isIPv6Teredo) + "&"; + if (httpContext_connection_remoteIpAddress_isIPv6UniqueLocal === null) + throw new Error("The parameter 'httpContext_connection_remoteIpAddress_isIPv6UniqueLocal' cannot be null."); + else if (httpContext_connection_remoteIpAddress_isIPv6UniqueLocal !== undefined) + url_ += "httpContext.connection.remoteIpAddress.isIPv6UniqueLocal=" + encodeURIComponent("" + httpContext_connection_remoteIpAddress_isIPv6UniqueLocal) + "&"; + if (httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6 === null) + throw new Error("The parameter 'httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6' cannot be null."); + else if (httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6 !== undefined) + url_ += "httpContext.connection.remoteIpAddress.isIPv4MappedToIPv6=" + encodeURIComponent("" + httpContext_connection_remoteIpAddress_isIPv4MappedToIPv6) + "&"; + if (httpContext_connection_remoteIpAddress_address === null) + throw new Error("The parameter 'httpContext_connection_remoteIpAddress_address' cannot be null."); + else if (httpContext_connection_remoteIpAddress_address !== undefined) + url_ += "httpContext.connection.remoteIpAddress.address=" + encodeURIComponent("" + httpContext_connection_remoteIpAddress_address) + "&"; + if (httpContext_connection_remotePort === null) + throw new Error("The parameter 'httpContext_connection_remotePort' cannot be null."); + else if (httpContext_connection_remotePort !== undefined) + url_ += "httpContext.connection.remotePort=" + encodeURIComponent("" + httpContext_connection_remotePort) + "&"; + if (httpContext_connection_localIpAddress_addressFamily === undefined || httpContext_connection_localIpAddress_addressFamily === null) + throw new Error("The parameter 'httpContext_connection_localIpAddress_addressFamily' must be defined and cannot be null."); + else + url_ += "httpContext.connection.localIpAddress.addressFamily=" + encodeURIComponent("" + httpContext_connection_localIpAddress_addressFamily) + "&"; + if (httpContext_connection_localIpAddress_scopeId === null) + throw new Error("The parameter 'httpContext_connection_localIpAddress_scopeId' cannot be null."); + else if (httpContext_connection_localIpAddress_scopeId !== undefined) + url_ += "httpContext.connection.localIpAddress.scopeId=" + encodeURIComponent("" + httpContext_connection_localIpAddress_scopeId) + "&"; + if (httpContext_connection_localIpAddress_isIPv6Multicast === null) + throw new Error("The parameter 'httpContext_connection_localIpAddress_isIPv6Multicast' cannot be null."); + else if (httpContext_connection_localIpAddress_isIPv6Multicast !== undefined) + url_ += "httpContext.connection.localIpAddress.isIPv6Multicast=" + encodeURIComponent("" + httpContext_connection_localIpAddress_isIPv6Multicast) + "&"; + if (httpContext_connection_localIpAddress_isIPv6LinkLocal === null) + throw new Error("The parameter 'httpContext_connection_localIpAddress_isIPv6LinkLocal' cannot be null."); + else if (httpContext_connection_localIpAddress_isIPv6LinkLocal !== undefined) + url_ += "httpContext.connection.localIpAddress.isIPv6LinkLocal=" + encodeURIComponent("" + httpContext_connection_localIpAddress_isIPv6LinkLocal) + "&"; + if (httpContext_connection_localIpAddress_isIPv6SiteLocal === null) + throw new Error("The parameter 'httpContext_connection_localIpAddress_isIPv6SiteLocal' cannot be null."); + else if (httpContext_connection_localIpAddress_isIPv6SiteLocal !== undefined) + url_ += "httpContext.connection.localIpAddress.isIPv6SiteLocal=" + encodeURIComponent("" + httpContext_connection_localIpAddress_isIPv6SiteLocal) + "&"; + if (httpContext_connection_localIpAddress_isIPv6Teredo === null) + throw new Error("The parameter 'httpContext_connection_localIpAddress_isIPv6Teredo' cannot be null."); + else if (httpContext_connection_localIpAddress_isIPv6Teredo !== undefined) + url_ += "httpContext.connection.localIpAddress.isIPv6Teredo=" + encodeURIComponent("" + httpContext_connection_localIpAddress_isIPv6Teredo) + "&"; + if (httpContext_connection_localIpAddress_isIPv6UniqueLocal === null) + throw new Error("The parameter 'httpContext_connection_localIpAddress_isIPv6UniqueLocal' cannot be null."); + else if (httpContext_connection_localIpAddress_isIPv6UniqueLocal !== undefined) + url_ += "httpContext.connection.localIpAddress.isIPv6UniqueLocal=" + encodeURIComponent("" + httpContext_connection_localIpAddress_isIPv6UniqueLocal) + "&"; + if (httpContext_connection_localIpAddress_isIPv4MappedToIPv6 === null) + throw new Error("The parameter 'httpContext_connection_localIpAddress_isIPv4MappedToIPv6' cannot be null."); + else if (httpContext_connection_localIpAddress_isIPv4MappedToIPv6 !== undefined) + url_ += "httpContext.connection.localIpAddress.isIPv4MappedToIPv6=" + encodeURIComponent("" + httpContext_connection_localIpAddress_isIPv4MappedToIPv6) + "&"; + if (httpContext_connection_localIpAddress_address === null) + throw new Error("The parameter 'httpContext_connection_localIpAddress_address' cannot be null."); + else if (httpContext_connection_localIpAddress_address !== undefined) + url_ += "httpContext.connection.localIpAddress.address=" + encodeURIComponent("" + httpContext_connection_localIpAddress_address) + "&"; + if (httpContext_connection_localPort === null) + throw new Error("The parameter 'httpContext_connection_localPort' cannot be null."); + else if (httpContext_connection_localPort !== undefined) + url_ += "httpContext.connection.localPort=" + encodeURIComponent("" + httpContext_connection_localPort) + "&"; + if (httpContext_connection_clientCertificate_archived === null) + throw new Error("The parameter 'httpContext_connection_clientCertificate_archived' cannot be null."); + else if (httpContext_connection_clientCertificate_archived !== undefined) + url_ += "httpContext.connection.clientCertificate.archived=" + encodeURIComponent("" + httpContext_connection_clientCertificate_archived) + "&"; + if (httpContext_connection_clientCertificate_extensions !== undefined && httpContext_connection_clientCertificate_extensions !== null) + httpContext_connection_clientCertificate_extensions && httpContext_connection_clientCertificate_extensions.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.connection.clientCertificate.extensions[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_connection_clientCertificate_friendlyName !== undefined && httpContext_connection_clientCertificate_friendlyName !== null) + url_ += "httpContext.connection.clientCertificate.friendlyName=" + encodeURIComponent("" + httpContext_connection_clientCertificate_friendlyName) + "&"; + if (httpContext_connection_clientCertificate_hasPrivateKey === null) + throw new Error("The parameter 'httpContext_connection_clientCertificate_hasPrivateKey' cannot be null."); + else if (httpContext_connection_clientCertificate_hasPrivateKey !== undefined) + url_ += "httpContext.connection.clientCertificate.hasPrivateKey=" + encodeURIComponent("" + httpContext_connection_clientCertificate_hasPrivateKey) + "&"; + if (httpContext_connection_clientCertificate_privateKey_keySize === null) + throw new Error("The parameter 'httpContext_connection_clientCertificate_privateKey_keySize' cannot be null."); + else if (httpContext_connection_clientCertificate_privateKey_keySize !== undefined) + url_ += "httpContext.connection.clientCertificate.privateKey.keySize=" + encodeURIComponent("" + httpContext_connection_clientCertificate_privateKey_keySize) + "&"; + if (httpContext_connection_clientCertificate_privateKey_legalKeySizes !== undefined && httpContext_connection_clientCertificate_privateKey_legalKeySizes !== null) + httpContext_connection_clientCertificate_privateKey_legalKeySizes && httpContext_connection_clientCertificate_privateKey_legalKeySizes.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.connection.clientCertificate.privateKey.legalKeySizes[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_connection_clientCertificate_privateKey_signatureAlgorithm !== undefined && httpContext_connection_clientCertificate_privateKey_signatureAlgorithm !== null) + url_ += "httpContext.connection.clientCertificate.privateKey.signatureAlgorithm=" + encodeURIComponent("" + httpContext_connection_clientCertificate_privateKey_signatureAlgorithm) + "&"; + if (httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm !== undefined && httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm !== null) + url_ += "httpContext.connection.clientCertificate.privateKey.keyExchangeAlgorithm=" + encodeURIComponent("" + httpContext_connection_clientCertificate_privateKey_keyExchangeAlgorithm) + "&"; + if (httpContext_connection_clientCertificate_issuerName_name !== undefined && httpContext_connection_clientCertificate_issuerName_name !== null) + url_ += "httpContext.connection.clientCertificate.issuerName.name=" + encodeURIComponent("" + httpContext_connection_clientCertificate_issuerName_name) + "&"; + if (httpContext_connection_clientCertificate_issuerName_oid_value !== undefined && httpContext_connection_clientCertificate_issuerName_oid_value !== null) + url_ += "httpContext.connection.clientCertificate.issuerName.oid.value=" + encodeURIComponent("" + httpContext_connection_clientCertificate_issuerName_oid_value) + "&"; + if (httpContext_connection_clientCertificate_issuerName_oid_friendlyName !== undefined && httpContext_connection_clientCertificate_issuerName_oid_friendlyName !== null) + url_ += "httpContext.connection.clientCertificate.issuerName.oid.friendlyName=" + encodeURIComponent("" + httpContext_connection_clientCertificate_issuerName_oid_friendlyName) + "&"; + if (httpContext_connection_clientCertificate_issuerName_rawData !== undefined && httpContext_connection_clientCertificate_issuerName_rawData !== null) + url_ += "httpContext.connection.clientCertificate.issuerName.rawData=" + encodeURIComponent("" + httpContext_connection_clientCertificate_issuerName_rawData) + "&"; + if (httpContext_connection_clientCertificate_notAfter === null) + throw new Error("The parameter 'httpContext_connection_clientCertificate_notAfter' cannot be null."); + else if (httpContext_connection_clientCertificate_notAfter !== undefined) + url_ += "httpContext.connection.clientCertificate.notAfter=" + encodeURIComponent(httpContext_connection_clientCertificate_notAfter ? "" + httpContext_connection_clientCertificate_notAfter.toISOString() : "") + "&"; + if (httpContext_connection_clientCertificate_notBefore === null) + throw new Error("The parameter 'httpContext_connection_clientCertificate_notBefore' cannot be null."); + else if (httpContext_connection_clientCertificate_notBefore !== undefined) + url_ += "httpContext.connection.clientCertificate.notBefore=" + encodeURIComponent(httpContext_connection_clientCertificate_notBefore ? "" + httpContext_connection_clientCertificate_notBefore.toISOString() : "") + "&"; + if (httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value !== undefined && httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value !== null) + url_ += "httpContext.connection.clientCertificate.publicKey.encodedKeyValue.oid.value=" + encodeURIComponent("" + httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_value) + "&"; + if (httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName !== undefined && httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName !== null) + url_ += "httpContext.connection.clientCertificate.publicKey.encodedKeyValue.oid.friendlyName=" + encodeURIComponent("" + httpContext_connection_clientCertificate_publicKey_encodedKeyValue_oid_friendlyName) + "&"; + if (httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData !== undefined && httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData !== null) + url_ += "httpContext.connection.clientCertificate.publicKey.encodedKeyValue.rawData=" + encodeURIComponent("" + httpContext_connection_clientCertificate_publicKey_encodedKeyValue_rawData) + "&"; + if (httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value !== undefined && httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value !== null) + url_ += "httpContext.connection.clientCertificate.publicKey.encodedParameters.oid.value=" + encodeURIComponent("" + httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_value) + "&"; + if (httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName !== undefined && httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName !== null) + url_ += "httpContext.connection.clientCertificate.publicKey.encodedParameters.oid.friendlyName=" + encodeURIComponent("" + httpContext_connection_clientCertificate_publicKey_encodedParameters_oid_friendlyName) + "&"; + if (httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData !== undefined && httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData !== null) + url_ += "httpContext.connection.clientCertificate.publicKey.encodedParameters.rawData=" + encodeURIComponent("" + httpContext_connection_clientCertificate_publicKey_encodedParameters_rawData) + "&"; + if (httpContext_connection_clientCertificate_publicKey_key_keySize === null) + throw new Error("The parameter 'httpContext_connection_clientCertificate_publicKey_key_keySize' cannot be null."); + else if (httpContext_connection_clientCertificate_publicKey_key_keySize !== undefined) + url_ += "httpContext.connection.clientCertificate.publicKey.key.keySize=" + encodeURIComponent("" + httpContext_connection_clientCertificate_publicKey_key_keySize) + "&"; + if (httpContext_connection_clientCertificate_publicKey_key_legalKeySizes !== undefined && httpContext_connection_clientCertificate_publicKey_key_legalKeySizes !== null) + httpContext_connection_clientCertificate_publicKey_key_legalKeySizes && httpContext_connection_clientCertificate_publicKey_key_legalKeySizes.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.connection.clientCertificate.publicKey.key.legalKeySizes[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm !== undefined && httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm !== null) + url_ += "httpContext.connection.clientCertificate.publicKey.key.signatureAlgorithm=" + encodeURIComponent("" + httpContext_connection_clientCertificate_publicKey_key_signatureAlgorithm) + "&"; + if (httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm !== undefined && httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm !== null) + url_ += "httpContext.connection.clientCertificate.publicKey.key.keyExchangeAlgorithm=" + encodeURIComponent("" + httpContext_connection_clientCertificate_publicKey_key_keyExchangeAlgorithm) + "&"; + if (httpContext_connection_clientCertificate_publicKey_oid_value !== undefined && httpContext_connection_clientCertificate_publicKey_oid_value !== null) + url_ += "httpContext.connection.clientCertificate.publicKey.oid.value=" + encodeURIComponent("" + httpContext_connection_clientCertificate_publicKey_oid_value) + "&"; + if (httpContext_connection_clientCertificate_publicKey_oid_friendlyName !== undefined && httpContext_connection_clientCertificate_publicKey_oid_friendlyName !== null) + url_ += "httpContext.connection.clientCertificate.publicKey.oid.friendlyName=" + encodeURIComponent("" + httpContext_connection_clientCertificate_publicKey_oid_friendlyName) + "&"; + if (httpContext_connection_clientCertificate_rawData !== undefined && httpContext_connection_clientCertificate_rawData !== null) + url_ += "httpContext.connection.clientCertificate.rawData=" + encodeURIComponent("" + httpContext_connection_clientCertificate_rawData) + "&"; + if (httpContext_connection_clientCertificate_serialNumber !== undefined && httpContext_connection_clientCertificate_serialNumber !== null) + url_ += "httpContext.connection.clientCertificate.serialNumber=" + encodeURIComponent("" + httpContext_connection_clientCertificate_serialNumber) + "&"; + if (httpContext_connection_clientCertificate_signatureAlgorithm_value !== undefined && httpContext_connection_clientCertificate_signatureAlgorithm_value !== null) + url_ += "httpContext.connection.clientCertificate.signatureAlgorithm.value=" + encodeURIComponent("" + httpContext_connection_clientCertificate_signatureAlgorithm_value) + "&"; + if (httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName !== undefined && httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName !== null) + url_ += "httpContext.connection.clientCertificate.signatureAlgorithm.friendlyName=" + encodeURIComponent("" + httpContext_connection_clientCertificate_signatureAlgorithm_friendlyName) + "&"; + if (httpContext_connection_clientCertificate_subjectName_name !== undefined && httpContext_connection_clientCertificate_subjectName_name !== null) + url_ += "httpContext.connection.clientCertificate.subjectName.name=" + encodeURIComponent("" + httpContext_connection_clientCertificate_subjectName_name) + "&"; + if (httpContext_connection_clientCertificate_subjectName_oid_value !== undefined && httpContext_connection_clientCertificate_subjectName_oid_value !== null) + url_ += "httpContext.connection.clientCertificate.subjectName.oid.value=" + encodeURIComponent("" + httpContext_connection_clientCertificate_subjectName_oid_value) + "&"; + if (httpContext_connection_clientCertificate_subjectName_oid_friendlyName !== undefined && httpContext_connection_clientCertificate_subjectName_oid_friendlyName !== null) + url_ += "httpContext.connection.clientCertificate.subjectName.oid.friendlyName=" + encodeURIComponent("" + httpContext_connection_clientCertificate_subjectName_oid_friendlyName) + "&"; + if (httpContext_connection_clientCertificate_subjectName_rawData !== undefined && httpContext_connection_clientCertificate_subjectName_rawData !== null) + url_ += "httpContext.connection.clientCertificate.subjectName.rawData=" + encodeURIComponent("" + httpContext_connection_clientCertificate_subjectName_rawData) + "&"; + if (httpContext_connection_clientCertificate_thumbprint !== undefined && httpContext_connection_clientCertificate_thumbprint !== null) + url_ += "httpContext.connection.clientCertificate.thumbprint=" + encodeURIComponent("" + httpContext_connection_clientCertificate_thumbprint) + "&"; + if (httpContext_connection_clientCertificate_version === null) + throw new Error("The parameter 'httpContext_connection_clientCertificate_version' cannot be null."); + else if (httpContext_connection_clientCertificate_version !== undefined) + url_ += "httpContext.connection.clientCertificate.version=" + encodeURIComponent("" + httpContext_connection_clientCertificate_version) + "&"; + if (httpContext_connection_clientCertificate_handle === null) + throw new Error("The parameter 'httpContext_connection_clientCertificate_handle' cannot be null."); + else if (httpContext_connection_clientCertificate_handle !== undefined) + url_ += "httpContext.connection.clientCertificate.handle=" + encodeURIComponent("" + httpContext_connection_clientCertificate_handle) + "&"; + if (httpContext_connection_clientCertificate_issuer !== undefined && httpContext_connection_clientCertificate_issuer !== null) + url_ += "httpContext.connection.clientCertificate.issuer=" + encodeURIComponent("" + httpContext_connection_clientCertificate_issuer) + "&"; + if (httpContext_connection_clientCertificate_subject !== undefined && httpContext_connection_clientCertificate_subject !== null) + url_ += "httpContext.connection.clientCertificate.subject=" + encodeURIComponent("" + httpContext_connection_clientCertificate_subject) + "&"; + if (httpContext_webSockets_isWebSocketRequest === null) + throw new Error("The parameter 'httpContext_webSockets_isWebSocketRequest' cannot be null."); + else if (httpContext_webSockets_isWebSocketRequest !== undefined) + url_ += "httpContext.webSockets.isWebSocketRequest=" + encodeURIComponent("" + httpContext_webSockets_isWebSocketRequest) + "&"; + if (httpContext_webSockets_webSocketRequestedProtocols !== undefined && httpContext_webSockets_webSocketRequestedProtocols !== null) + httpContext_webSockets_webSocketRequestedProtocols && httpContext_webSockets_webSocketRequestedProtocols.forEach(item => { url_ += "httpContext.webSockets.webSocketRequestedProtocols=" + encodeURIComponent("" + item) + "&"; }); + if (httpContext_user_claims !== undefined && httpContext_user_claims !== null) + httpContext_user_claims && httpContext_user_claims.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.user.claims[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_user_identities !== undefined && httpContext_user_identities !== null) + httpContext_user_identities && httpContext_user_identities.forEach((item, index) => { + for (let attr in item) + if (item.hasOwnProperty(attr)) { + url_ += "httpContext.user.identities[" + index + "]." + attr + "=" + encodeURIComponent("" + (item as any)[attr]) + "&"; + } + }); + if (httpContext_user_identity_name !== undefined && httpContext_user_identity_name !== null) + url_ += "httpContext.user.identity.name=" + encodeURIComponent("" + httpContext_user_identity_name) + "&"; + if (httpContext_user_identity_authenticationType !== undefined && httpContext_user_identity_authenticationType !== null) + url_ += "httpContext.user.identity.authenticationType=" + encodeURIComponent("" + httpContext_user_identity_authenticationType) + "&"; + if (httpContext_user_identity_isAuthenticated === null) + throw new Error("The parameter 'httpContext_user_identity_isAuthenticated' cannot be null."); + else if (httpContext_user_identity_isAuthenticated !== undefined) + url_ += "httpContext.user.identity.isAuthenticated=" + encodeURIComponent("" + httpContext_user_identity_isAuthenticated) + "&"; + if (httpContext_items !== undefined && httpContext_items !== null) + url_ += "httpContext.items=" + encodeURIComponent("" + httpContext_items) + "&"; + if (httpContext_requestServices === null) + throw new Error("The parameter 'httpContext_requestServices' cannot be null."); + else if (httpContext_requestServices !== undefined) + url_ += "httpContext.requestServices=" + encodeURIComponent("" + httpContext_requestServices) + "&"; + if (httpContext_traceIdentifier !== undefined && httpContext_traceIdentifier !== null) + url_ += "httpContext.traceIdentifier=" + encodeURIComponent("" + httpContext_traceIdentifier) + "&"; + if (httpContext_session_isAvailable === null) + throw new Error("The parameter 'httpContext_session_isAvailable' cannot be null."); + else if (httpContext_session_isAvailable !== undefined) + url_ += "httpContext.session.isAvailable=" + encodeURIComponent("" + httpContext_session_isAvailable) + "&"; + if (httpContext_session_id !== undefined && httpContext_session_id !== null) + url_ += "httpContext.session.id=" + encodeURIComponent("" + httpContext_session_id) + "&"; + if (httpContext_session_keys !== undefined && httpContext_session_keys !== null) + httpContext_session_keys && httpContext_session_keys.forEach(item => { url_ += "httpContext.session.keys=" + encodeURIComponent("" + item) + "&"; }); url_ = url_.replace(/[?&]$/, ""); + const content_ = new FormData(); + if (httpContext_request_form !== null && httpContext_request_form !== undefined) + httpContext_request_form.forEach(item_ => content_.append("httpContext.request.form", item_.toString())); + if (httpContext_response_httpContext_request_form !== null && httpContext_response_httpContext_request_form !== undefined) + httpContext_response_httpContext_request_form.forEach(item_ => content_.append("httpContext.response.httpContext.request.form", item_.toString())); + let options_: AxiosRequestConfig = { + data: content_, method: "GET", url: url_, headers: { @@ -4871,11 +6968,11 @@ export class ExtensionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetEnumList2(_response); + return this.processGetBaseUrl(_response); }); } - protected processGetEnumList2(response: AxiosResponse): Promise { + protected processGetBaseUrl(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -4889,35 +6986,22 @@ export class ExtensionServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取枚举值 - * @param enumName (optional) - * @param defaultValue (optional) * @return Success */ - getEnumListWithEmptyItem(enumName: string | null | undefined, defaultValue: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Extension/GetEnumListWithEmptyItem?"; - if (enumName !== undefined && enumName !== null) - url_ += "enumName=" + encodeURIComponent("" + enumName) + "&"; - if (defaultValue !== undefined && defaultValue !== null) - url_ += "defaultValue=" + encodeURIComponent("" + defaultValue) + "&"; + getEnumKeyList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/GetEnumKeyList"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -4936,11 +7020,11 @@ export class ExtensionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetEnumListWithEmptyItem(_response); + return this.processGetEnumKeyList(_response); }); } - protected processGetEnumListWithEmptyItem(response: AxiosResponse): Promise { + protected processGetEnumKeyList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -4957,29 +7041,31 @@ export class ExtensionServiceProxy { if (Array.isArray(resultData200)) { result200 = [] as any; for (let item of resultData200) - result200.push(SelectListItem.fromJS(item)); + result200.push(SelectItemExt.fromJS(item)); } else { result200 = null; } - return Promise.resolve(result200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取自定义枚举值 - * @param value (optional) + * @param enumName (optional) + * @param defaultValue (optional) * @return Success */ - getEnumValueList(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Extension/GetEnumValueList?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + getEnumList(enumName: string | null | undefined, defaultValue: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/GetEnumList?"; + if (enumName !== undefined && enumName !== null) + url_ += "enumName=" + encodeURIComponent("" + enumName) + "&"; + if (defaultValue !== undefined && defaultValue !== null) + url_ += "defaultValue=" + encodeURIComponent("" + defaultValue) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -4998,11 +7084,11 @@ export class ExtensionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetEnumValueList(_response); + return this.processGetEnumList(_response); }); } - protected processGetEnumValueList(response: AxiosResponse): Promise { + protected processGetEnumList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -5019,29 +7105,31 @@ export class ExtensionServiceProxy { if (Array.isArray(resultData200)) { result200 = [] as any; for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); + result200.push(SelectItemExt.fromJS(item)); } else { result200 = null; } - return Promise.resolve(result200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取自定义枚举值(带空项) - * @param value (optional) + * @param enumName (optional) + * @param defaultValue (optional) * @return Success */ - getEnumValueListWithNullItem(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Extension/GetEnumValueListWithNullItem?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + getEnumListWithEmptyItem(enumName: string | null | undefined, defaultValue: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/GetEnumListWithEmptyItem?"; + if (enumName !== undefined && enumName !== null) + url_ += "enumName=" + encodeURIComponent("" + enumName) + "&"; + if (defaultValue !== undefined && defaultValue !== null) + url_ += "defaultValue=" + encodeURIComponent("" + defaultValue) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -5060,11 +7148,11 @@ export class ExtensionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetEnumValueListWithNullItem(_response); + return this.processGetEnumListWithEmptyItem(_response); }); } - protected processGetEnumValueListWithNullItem(response: AxiosResponse): Promise { + protected processGetEnumListWithEmptyItem(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -5081,26 +7169,26 @@ export class ExtensionServiceProxy { if (Array.isArray(resultData200)) { result200 = [] as any; for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); + result200.push(SelectItemExt.fromJS(item)); } else { result200 = null; } - return Promise.resolve(result200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param value (optional) * @return Success */ - getFileList(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Extension/GetFileList?"; + getEnumValueList(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/GetEnumValueList?"; if (value !== undefined && value !== null) url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -5121,11 +7209,11 @@ export class ExtensionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetFileList(_response); + return this.processGetEnumValueList(_response); }); } - protected processGetFileList(response: AxiosResponse): Promise { + protected processGetEnumValueList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -5139,23 +7227,29 @@ export class ExtensionServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfSysFileListDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取单个列配置 * @param value (optional) * @return Success */ - getFliterColumnConfig(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Extension/GetFliterColumnConfig?"; + getEnumValueList2(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/GetEnumValueList2?"; if (value !== undefined && value !== null) url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -5176,11 +7270,11 @@ export class ExtensionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetFliterColumnConfig(_response); + return this.processGetEnumValueList2(_response); }); } - protected processGetFliterColumnConfig(response: AxiosResponse): Promise { + protected processGetEnumValueList2(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -5194,23 +7288,29 @@ export class ExtensionServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = FliterColumnConfigDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SysEnumValueListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 根据Key值 获取字典 下拉框数据源 * @param value (optional) * @return Success */ - getSelectEnumKeyList(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Extension/GetSelectEnumKeyList?"; + getEnumValueListWithNullItem(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/GetEnumValueListWithNullItem?"; if (value !== undefined && value !== null) url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -5231,11 +7331,11 @@ export class ExtensionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetSelectEnumKeyList(_response); + return this.processGetEnumValueListWithNullItem(_response); }); } - protected processGetSelectEnumKeyList(response: AxiosResponse): Promise { + protected processGetEnumValueListWithNullItem(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -5267,25 +7367,13 @@ export class ExtensionServiceProxy { } /** - * 获取序列号 - * @param tableName (optional) - * @param colName (optional) - * @param pre (optional) - * @param numLen (optional) + * @param value (optional) * @return Success */ - getSerialCode(tableName: string | null | undefined, colName: string | null | undefined, pre: string | null | undefined, numLen: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Extension/GetSerialCode?"; - if (tableName !== undefined && tableName !== null) - url_ += "tableName=" + encodeURIComponent("" + tableName) + "&"; - if (colName !== undefined && colName !== null) - url_ += "colName=" + encodeURIComponent("" + colName) + "&"; - if (pre !== undefined && pre !== null) - url_ += "pre=" + encodeURIComponent("" + pre) + "&"; - if (numLen === null) - throw new Error("The parameter 'numLen' cannot be null."); - else if (numLen !== undefined) - url_ += "numLen=" + encodeURIComponent("" + numLen) + "&"; + getFileList(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/GetFileList?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -5304,11 +7392,11 @@ export class ExtensionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetSerialCode(_response); + return this.processGetFileList(_response); }); } - protected processGetSerialCode(response: AxiosResponse): Promise { + protected processGetFileList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -5322,33 +7410,31 @@ export class ExtensionServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = resultData200 !== undefined ? resultData200 : null; - - return Promise.resolve(result200); + result200 = PagedResultDtoOfSysFileListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param body (optional) + * @param value (optional) * @return Success */ - saveFliterColumnConfig(body: FliterColumnConfigDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Extension/SaveFliterColumnConfig"; + getFliterColumnConfig(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/GetFliterColumnConfig?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -5360,11 +7446,11 @@ export class ExtensionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSaveFliterColumnConfig(_response); + return this.processGetFliterColumnConfig(_response); }); } - protected processSaveFliterColumnConfig(response: AxiosResponse): Promise { + protected processGetFliterColumnConfig(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -5376,45 +7462,30 @@ export class ExtensionServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = FliterColumnConfigDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class FileManagementServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 上传文件到数据库中 - * @param file (optional) + * @param value (optional) * @return Success */ - uploadFileToData(file: FileParameter | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/FileManagement/UploadFileToData"; + getPrintLabelDataSource(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/GetPrintLabelDataSource?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = new FormData(); - if (file !== null && file !== undefined) - content_.append("file", file.data, file.fileName ? file.fileName : "file"); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -5429,11 +7500,11 @@ export class FileManagementServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUploadFileToData(_response); + return this.processGetPrintLabelDataSource(_response); }); } - protected processUploadFileToData(response: AxiosResponse): Promise { + protected processGetPrintLabelDataSource(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -5447,32 +7518,29 @@ export class FileManagementServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = FileUploadOutputDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 上传文件到文件夹 - * @param file (optional) + * @param value (optional) * @return Success */ - uploadFileToSysFiles(file: FileParameter | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/FileManagement/UploadFileToSysFiles"; + getPrintLabelName(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/GetPrintLabelName?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = new FormData(); - if (file !== null && file !== undefined) - content_.append("file", file.data, file.fileName ? file.fileName : "file"); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -5487,11 +7555,11 @@ export class FileManagementServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUploadFileToSysFiles(_response); + return this.processGetPrintLabelName(_response); }); } - protected processUploadFileToSysFiles(response: AxiosResponse): Promise { + protected processGetPrintLabelName(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -5505,39 +7573,26 @@ export class FileManagementServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SysFileListDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 上传文件到缓存中 - * @param file (optional) * @return Success */ - uploadTempFile(file: FileParameter | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/FileManagement/UploadTempFile"; + getSegSysParameterSettingCache( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/GetSegSysParameterSettingCache"; url_ = url_.replace(/[?&]$/, ""); - const content_ = new FormData(); - if (file !== null && file !== undefined) - content_.append("file", file.data, file.fileName ? file.fileName : "file"); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -5552,11 +7607,11 @@ export class FileManagementServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUploadTempFile(_response); + return this.processGetSegSysParameterSettingCache(_response); }); } - protected processUploadTempFile(response: AxiosResponse): Promise { + protected processGetSegSysParameterSettingCache(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -5570,47 +7625,38 @@ export class FileManagementServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = FileUploadOutputDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsSeg2SysParameter.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class FileValidityServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 添加/修改文件 - * @param body (optional) + * @param value (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateFileInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/FileValidity/CreateOrUpdate"; + getSelectEnumKeyList(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/GetSelectEnumKeyList?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -5622,11 +7668,11 @@ export class FileValidityServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processGetSelectEnumKeyList(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processGetSelectEnumKeyList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -5638,32 +7684,37 @@ export class FileValidityServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 删除文件 - * @param id (optional) * @return Success */ - delete(id: string | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/FileValidity/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getSysMenuList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/GetSysMenuList"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "DELETE", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -5675,11 +7726,11 @@ export class FileValidityServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processGetSysMenuList(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processGetSysMenuList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -5691,24 +7742,30 @@ export class FileValidityServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取编辑 - * @param id (optional) * @return Success */ - getForEdit(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/FileValidity/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getSysParameterSettingCache( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/GetSysParameterSettingCache"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -5727,11 +7784,11 @@ export class FileValidityServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processGetSysParameterSettingCache(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetSysParameterSettingCache(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -5745,38 +7802,31 @@ export class FileValidityServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetFileForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SysParameterSetting.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 分页获取文件列表 - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param value (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/FileValidity/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + getSysUserInfo(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/GetSysUserInfo?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -5795,11 +7845,11 @@ export class FileValidityServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processGetSysUserInfo(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetSysUserInfo(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -5813,28 +7863,32 @@ export class FileValidityServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfFilePagedListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = SysUserInfoListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 上传系统文件 + * @param body (optional) * @return Success */ - uploadSysFile( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/FileValidity/UploadSysFile"; + handleDataAuthriation(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/HandleDataAuthriation"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -5847,11 +7901,11 @@ export class FileValidityServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUploadSysFile(_response); + return this.processHandleDataAuthriation(_response); }); } - protected processUploadSysFile(response: AxiosResponse): Promise { + protected processHandleDataAuthriation(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -5865,37 +7919,22 @@ export class FileValidityServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = SysFileListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsDataAuthorizationConfigEditDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class FriendshipServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 同意好友请求 * @param body (optional) * @return Success */ - acceptFriendshipRequest(body: AcceptFriendshipRequestInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Friendship/AcceptFriendshipRequest"; + handleDynamicColumn(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/HandleDynamicColumn"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -5906,6 +7945,7 @@ export class FriendshipServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -5917,11 +7957,11 @@ export class FriendshipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processAcceptFriendshipRequest(_response); + return this.processHandleDynamicColumn(_response); }); } - protected processAcceptFriendshipRequest(response: AxiosResponse): Promise { + protected processHandleDynamicColumn(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -5933,22 +7973,24 @@ export class FriendshipServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsDynamicColumnConfigListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 屏蔽用户消息 * @param body (optional) * @return Success */ - blockUser(body: BlockUserInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Friendship/BlockUser"; + printItemLot(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/PrintItemLot"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -5959,6 +8001,7 @@ export class FriendshipServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -5970,11 +8013,11 @@ export class FriendshipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBlockUser(_response); + return this.processPrintItemLot(_response); }); } - protected processBlockUser(response: AxiosResponse): Promise { + protected processPrintItemLot(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -5986,22 +8029,25 @@ export class FriendshipServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 添加好友关系 * @param body (optional) * @return Success */ - createFriendshipRequest(body: CreateFriendshipRequestInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Friendship/CreateFriendshipRequest"; + queryFileDownloadPath(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/QueryFileDownloadPath"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -6024,11 +8070,11 @@ export class FriendshipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateFriendshipRequest(_response); + return this.processQueryFileDownloadPath(_response); }); } - protected processCreateFriendshipRequest(response: AxiosResponse): Promise { + protected processQueryFileDownloadPath(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -6042,23 +8088,23 @@ export class FriendshipServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = FriendDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 根据用户名查找用户 * @param body (optional) * @return Success */ - createFriendshipRequestByUserName(body: CreateFriendshipRequestByUserNameInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Friendship/CreateFriendshipRequestByUserName"; + queryFileViewPath(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/QueryFileViewPath"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -6081,11 +8127,11 @@ export class FriendshipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateFriendshipRequestByUserName(_response); + return this.processQueryFileViewPath(_response); }); } - protected processCreateFriendshipRequestByUserName(response: AxiosResponse): Promise { + protected processQueryFileViewPath(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -6099,23 +8145,23 @@ export class FriendshipServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = FriendDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 接收用户消息 * @param body (optional) * @return Success */ - unblockUser(body: UnblockUserInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Friendship/UnblockUser"; + querySerialCode(body: SysLabelRuleListDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/QuerySerialCode"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -6126,6 +8172,7 @@ export class FriendshipServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -6137,11 +8184,67 @@ export class FriendshipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUnblockUser(_response); + return this.processQuerySerialCode(_response); }); } - protected processUnblockUser(response: AxiosResponse): Promise { + protected processQuerySerialCode(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + saveFliterColumnConfig(body: FliterColumnConfigDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Extension/SaveFliterColumnConfig"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSaveFliterColumnConfig(_response); + }); + } + + protected processSaveFliterColumnConfig(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -6163,7 +8266,7 @@ export class FriendshipServiceProxy { } } -export class HostCachingServiceProxy { +export class FileManagementServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -6177,17 +8280,23 @@ export class HostCachingServiceProxy { } /** - * 清除所有缓存 + * @param file (optional) * @return Success */ - clearAllCaches( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/HostCaching/ClearAllCaches"; + uploadFileToData(file: FileParameter | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/FileManagement/UploadFileToData"; url_ = url_.replace(/[?&]$/, ""); + const content_ = new FormData(); + if (file !== null && file !== undefined) + content_.append("file", file.data, file.fileName ? file.fileName : "file"); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -6199,11 +8308,11 @@ export class HostCachingServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processClearAllCaches(_response); + return this.processUploadFileToData(_response); }); } - protected processClearAllCaches(response: AxiosResponse): Promise { + protected processUploadFileToData(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -6215,32 +8324,36 @@ export class HostCachingServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = FileUploadOutputDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 清除缓存 - * @param body (optional) + * @param file (optional) * @return Success */ - clearCache(body: EntityDtoOfString | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/HostCaching/ClearCache"; + uploadFileToSysFiles(file: FileParameter | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/FileManagement/UploadFileToSysFiles"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); + const content_ = new FormData(); + if (file !== null && file !== undefined) + content_.append("file", file.data, file.fileName ? file.fileName : "file"); let options_: AxiosRequestConfig = { data: content_, method: "POST", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -6252,11 +8365,11 @@ export class HostCachingServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processClearCache(_response); + return this.processUploadFileToSysFiles(_response); }); } - protected processClearCache(response: AxiosResponse): Promise { + protected processUploadFileToSysFiles(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -6268,25 +8381,40 @@ export class HostCachingServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SysFileListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有缓存 + * @param file (optional) * @return Success */ - getAllCaches( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/HostCaching/GetAllCaches"; + uploadTempFile(file: FileParameter | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/FileManagement/UploadTempFile"; url_ = url_.replace(/[?&]$/, ""); + const content_ = new FormData(); + if (file !== null && file !== undefined) + content_.append("file", file.data, file.fileName ? file.fileName : "file"); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { "Accept": "text/plain" @@ -6301,11 +8429,11 @@ export class HostCachingServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllCaches(_response); + return this.processUploadTempFile(_response); }); } - protected processGetAllCaches(response: AxiosResponse): Promise { + protected processUploadTempFile(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -6319,18 +8447,18 @@ export class HostCachingServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ListResultDtoOfHostCacheDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = FileUploadOutputDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class HostDashboardServiceProxy { +export class FileValidityServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -6344,27 +8472,21 @@ export class HostDashboardServiceProxy { } /** - * @param startDate (optional) 开始时间 - * @param endDate (optional) 结束时间 + * @param body (optional) * @return Success */ - getEditionTenantStatistics(startDate: moment.Moment | undefined, endDate: moment.Moment | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/HostDashboard/GetEditionTenantStatistics?"; - if (startDate === null) - throw new Error("The parameter 'startDate' cannot be null."); - else if (startDate !== undefined) - url_ += "startDate=" + encodeURIComponent(startDate ? "" + startDate.toISOString() : "") + "&"; - if (endDate === null) - throw new Error("The parameter 'endDate' cannot be null."); - else if (endDate !== undefined) - url_ += "endDate=" + encodeURIComponent(endDate ? "" + endDate.toISOString() : "") + "&"; + createOrUpdate(body: CreateOrUpdateFileInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/FileValidity/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -6376,11 +8498,11 @@ export class HostDashboardServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetEditionTenantStatistics(_response); + return this.processCreateOrUpdate(_response); }); } - protected processGetEditionTenantStatistics(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -6392,48 +8514,31 @@ export class HostDashboardServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetEditionTenantStatisticsOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param incomeStatisticsDateInterval (optional) - * @param startDate (optional) 开始时间 - * @param endDate (optional) 结束时间 + * @param id (optional) * @return Success */ - getIncomeStatistics(incomeStatisticsDateInterval: ChartDateInterval | undefined, startDate: moment.Moment | undefined, endDate: moment.Moment | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/HostDashboard/GetIncomeStatistics"; + delete(id: string | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/FileValidity/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = new FormData(); - if (incomeStatisticsDateInterval === null || incomeStatisticsDateInterval === undefined) - throw new Error("The parameter 'incomeStatisticsDateInterval' cannot be null."); - else - content_.append("incomeStatisticsDateInterval", incomeStatisticsDateInterval.toString()); - if (startDate === null || startDate === undefined) - throw new Error("The parameter 'startDate' cannot be null."); - else - content_.append("startDate", startDate.toJSON()); - if (endDate === null || endDate === undefined) - throw new Error("The parameter 'endDate' cannot be null."); - else - content_.append("endDate", endDate.toJSON()); - let options_: AxiosRequestConfig = { - data: content_, - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -6445,11 +8550,11 @@ export class HostDashboardServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetIncomeStatistics(_response); + return this.processDelete(_response); }); } - protected processGetIncomeStatistics(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -6461,23 +8566,23 @@ export class HostDashboardServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetIncomeStatisticsDataOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param id (optional) * @return Success */ - getRecentTenantsData( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/HostDashboard/GetRecentTenantsData"; + getForEdit(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/FileValidity/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -6496,11 +8601,11 @@ export class HostDashboardServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetRecentTenantsData(_response); + return this.processGetForEdit(_response); }); } - protected processGetRecentTenantsData(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -6514,21 +8619,37 @@ export class HostDashboardServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetRecentTenantsOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetFileForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param filterText (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) * @return Success */ - getSubscriptionExpiringTenantsData( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/HostDashboard/GetSubscriptionExpiringTenantsData"; + getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/FileValidity/GetPaged?"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -6547,11 +8668,11 @@ export class HostDashboardServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetSubscriptionExpiringTenantsData(_response); + return this.processGetPaged(_response); }); } - protected processGetSubscriptionExpiringTenantsData(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -6565,35 +8686,25 @@ export class HostDashboardServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetExpiringTenantsOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfFilePagedListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param startDate (optional) 开始时间 - * @param endDate (optional) 结束时间 * @return Success */ - getTopStatsData(startDate: moment.Moment | undefined, endDate: moment.Moment | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/HostDashboard/GetTopStatsData?"; - if (startDate === null) - throw new Error("The parameter 'startDate' cannot be null."); - else if (startDate !== undefined) - url_ += "startDate=" + encodeURIComponent(startDate ? "" + startDate.toISOString() : "") + "&"; - if (endDate === null) - throw new Error("The parameter 'endDate' cannot be null."); - else if (endDate !== undefined) - url_ += "endDate=" + encodeURIComponent(endDate ? "" + endDate.toISOString() : "") + "&"; + uploadSysFile( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/FileValidity/UploadSysFile"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "POST", url: url_, headers: { "Accept": "text/plain" @@ -6608,11 +8719,11 @@ export class HostDashboardServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetTopStatsData(_response); + return this.processUploadSysFile(_response); }); } - protected processGetTopStatsData(response: AxiosResponse): Promise { + protected processUploadSysFile(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -6626,18 +8737,18 @@ export class HostDashboardServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = TopStatsData.fromJS(resultData200); - return Promise.resolve(result200); + result200 = SysFileListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class HostSettingsServiceProxy { +export class FriendshipServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -6651,17 +8762,21 @@ export class HostSettingsServiceProxy { } /** + * @param body (optional) * @return Success */ - getAllSettings( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/HostSettings/GetAllSettings"; + acceptFriendshipRequest(body: AcceptFriendshipRequestInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Friendship/AcceptFriendshipRequest"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -6673,11 +8788,11 @@ export class HostSettingsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllSettings(_response); + return this.processAcceptFriendshipRequest(_response); }); } - protected processGetAllSettings(response: AxiosResponse): Promise { + protected processAcceptFriendshipRequest(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -6689,31 +8804,31 @@ export class HostSettingsServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = HostSettingsEditDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 根据id获取 + * @param body (optional) * @return Success */ - getDataFile( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/HostSettings/GetDataFile"; + blockUser(body: BlockUserInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Friendship/BlockUser"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -6725,11 +8840,11 @@ export class HostSettingsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetDataFile(_response); + return this.processBlockUser(_response); }); } - protected processGetDataFile(response: AxiosResponse): Promise { + protected processBlockUser(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -6741,30 +8856,31 @@ export class HostSettingsServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = SiteSettingsEditDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取项目配置(主题等) + * @param body (optional) * @return Success */ - getProjectConfig( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/HostSettings/GetProjectConfig"; + createFriendshipRequest(body: CreateFriendshipRequestInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Friendship/CreateFriendshipRequest"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -6777,11 +8893,11 @@ export class HostSettingsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetProjectConfig(_response); + return this.processCreateFriendshipRequest(_response); }); } - protected processGetProjectConfig(response: AxiosResponse): Promise { + protected processCreateFriendshipRequest(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -6795,38 +8911,33 @@ export class HostSettingsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = resultData200 !== undefined ? resultData200 : null; - - return Promise.resolve(result200); + result200 = FriendDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 发送用户通知 - * @param msg (optional) - * @param tenantId (optional) - * @param userId (optional) + * @param body (optional) * @return Success */ - sendNoticeToUser(msg: string | null | undefined, tenantId: string | null | undefined, userId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/HostSettings/SendNoticeToUser?"; - if (msg !== undefined && msg !== null) - url_ += "msg=" + encodeURIComponent("" + msg) + "&"; - if (tenantId !== undefined && tenantId !== null) - url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; - if (userId !== undefined && userId !== null) - url_ += "userId=" + encodeURIComponent("" + userId) + "&"; + createFriendshipRequestByUserName(body: CreateFriendshipRequestByUserNameInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Friendship/CreateFriendshipRequestByUserName"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -6838,11 +8949,11 @@ export class HostSettingsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSendNoticeToUser(_response); + return this.processCreateFriendshipRequestByUserName(_response); }); } - protected processSendNoticeToUser(response: AxiosResponse): Promise { + protected processCreateFriendshipRequestByUserName(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -6854,22 +8965,24 @@ export class HostSettingsServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = FriendDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 发送测试邮件 * @param body (optional) * @return Success */ - sendTestEmail(body: SendTestEmailInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/HostSettings/SendTestEmail"; + unblockUser(body: UnblockUserInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Friendship/UnblockUser"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -6891,11 +9004,11 @@ export class HostSettingsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSendTestEmail(_response); + return this.processUnblockUser(_response); }); } - protected processSendTestEmail(response: AxiosResponse): Promise { + protected processUnblockUser(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -6915,24 +9028,32 @@ export class HostSettingsServiceProxy { } return Promise.resolve(null as any); } +} + +export class HostCachingServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } /** - * 更新所有设置 - * @param body (optional) * @return Success */ - updateAllSettings(body: HostSettingsEditDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/HostSettings/UpdateAllSettings"; + clearAllCaches( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/HostCaching/ClearAllCaches"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "PUT", + method: "POST", url: url_, headers: { - "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -6944,11 +9065,11 @@ export class HostSettingsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUpdateAllSettings(_response); + return this.processClearAllCaches(_response); }); } - protected processUpdateAllSettings(response: AxiosResponse): Promise { + protected processClearAllCaches(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -6970,12 +9091,11 @@ export class HostSettingsServiceProxy { } /** - * 更新项目配置(主题等) * @param body (optional) * @return Success */ - updateProjectConfig(body: ProjectConfigEditDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/HostSettings/UpdateProjectConfig"; + clearCache(body: EntityDtoOfString | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/HostCaching/ClearCache"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -6997,11 +9117,11 @@ export class HostSettingsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUpdateProjectConfig(_response); + return this.processClearCache(_response); }); } - protected processUpdateProjectConfig(response: AxiosResponse): Promise { + protected processClearCache(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -7021,37 +9141,19 @@ export class HostSettingsServiceProxy { } return Promise.resolve(null as any); } -} - -export class IcsCheckGroupServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - - } /** - * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCheckGroup/BatchDelete"; + getAllCaches( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/HostCaching/GetAllCaches"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -7063,11 +9165,11 @@ export class IcsCheckGroupServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processGetAllCaches(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processGetAllCaches(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -7079,32 +9181,53 @@ export class IcsCheckGroupServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = ListResultDtoOfHostCacheDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class HostDashboardServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 创建检验类型所属检验项目 - * @param body (optional) + * @param startDate (optional) + * @param endDate (optional) * @return Success */ - createCheckGroup2Item(body: IcsCheckGroup2ItemDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCheckGroup/CreateCheckGroup2Item"; + getEditionTenantStatistics(startDate: moment.Moment | undefined, endDate: moment.Moment | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/HostDashboard/GetEditionTenantStatistics?"; + if (startDate === null) + throw new Error("The parameter 'startDate' cannot be null."); + else if (startDate !== undefined) + url_ += "startDate=" + encodeURIComponent(startDate ? "" + startDate.toISOString() : "") + "&"; + if (endDate === null) + throw new Error("The parameter 'endDate' cannot be null."); + else if (endDate !== undefined) + url_ += "endDate=" + encodeURIComponent(endDate ? "" + endDate.toISOString() : "") + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -7117,11 +9240,11 @@ export class IcsCheckGroupServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateCheckGroup2Item(_response); + return this.processGetEditionTenantStatistics(_response); }); } - protected processCreateCheckGroup2Item(response: AxiosResponse): Promise { + protected processGetEditionTenantStatistics(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -7135,32 +9258,46 @@ export class IcsCheckGroupServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsCheckGroup2ItemDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetEditionTenantStatisticsOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param body (optional) + * @param incomeStatisticsDateInterval (optional) + * @param startDate (optional) + * @param endDate (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsCheckGroupInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCheckGroup/CreateOrUpdate"; + getIncomeStatistics(incomeStatisticsDateInterval: ChartDateInterval | undefined, startDate: moment.Moment | undefined, endDate: moment.Moment | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/HostDashboard/GetIncomeStatistics"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); + const content_ = new FormData(); + if (incomeStatisticsDateInterval === null || incomeStatisticsDateInterval === undefined) + throw new Error("The parameter 'incomeStatisticsDateInterval' cannot be null."); + else + content_.append("incomeStatisticsDateInterval", incomeStatisticsDateInterval.toString()); + if (startDate === null || startDate === undefined) + throw new Error("The parameter 'startDate' cannot be null."); + else + content_.append("startDate", startDate.toJSON()); + if (endDate === null || endDate === undefined) + throw new Error("The parameter 'endDate' cannot be null."); + else + content_.append("endDate", endDate.toJSON()); let options_: AxiosRequestConfig = { data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -7172,11 +9309,11 @@ export class IcsCheckGroupServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processGetIncomeStatistics(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processGetIncomeStatistics(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -7188,31 +9325,30 @@ export class IcsCheckGroupServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = GetIncomeStatisticsDataOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCheckGroup/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getRecentTenantsData( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/HostDashboard/GetRecentTenantsData"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "DELETE", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -7224,11 +9360,11 @@ export class IcsCheckGroupServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processGetRecentTenantsData(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processGetRecentTenantsData(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -7240,24 +9376,23 @@ export class IcsCheckGroupServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = GetRecentTenantsOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有检验类型 - * @param value (optional) * @return Success */ - getAllCheckGroupList(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCheckGroup/GetAllCheckGroupList?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + getSubscriptionExpiringTenantsData( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/HostDashboard/GetSubscriptionExpiringTenantsData"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -7276,11 +9411,11 @@ export class IcsCheckGroupServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllCheckGroupList(_response); + return this.processGetSubscriptionExpiringTenantsData(_response); }); } - protected processGetAllCheckGroupList(response: AxiosResponse): Promise { + protected processGetSubscriptionExpiringTenantsData(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -7294,33 +9429,31 @@ export class IcsCheckGroupServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = GetExpiringTenantsOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param startDate (optional) + * @param endDate (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCheckGroup/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getTopStatsData(startDate: moment.Moment | undefined, endDate: moment.Moment | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/HostDashboard/GetTopStatsData?"; + if (startDate === null) + throw new Error("The parameter 'startDate' cannot be null."); + else if (startDate !== undefined) + url_ += "startDate=" + encodeURIComponent(startDate ? "" + startDate.toISOString() : "") + "&"; + if (endDate === null) + throw new Error("The parameter 'endDate' cannot be null."); + else if (endDate !== undefined) + url_ += "endDate=" + encodeURIComponent(endDate ? "" + endDate.toISOString() : "") + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -7339,11 +9472,11 @@ export class IcsCheckGroupServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processGetTopStatsData(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetTopStatsData(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -7357,24 +9490,35 @@ export class IcsCheckGroupServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsCheckGroupListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = TopStatsData.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class HostSettingsServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCheckGroup/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getAllSettings( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/HostSettings/GetAllSettings"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -7393,11 +9537,11 @@ export class IcsCheckGroupServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processGetAllSettings(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetAllSettings(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -7411,37 +9555,21 @@ export class IcsCheckGroupServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsCheckGroupForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = HostSettingsEditDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCheckGroup/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + getDataFile( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/HostSettings/GetDataFile"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -7460,11 +9588,11 @@ export class IcsCheckGroupServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processGetDataFile(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetDataFile(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -7478,46 +9606,28 @@ export class IcsCheckGroupServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsCheckGroupListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = SiteSettingsEditDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsCheckItemServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCheckItem/BatchDelete"; + getProjectConfig( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/HostSettings/GetProjectConfig"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -7529,11 +9639,11 @@ export class IcsCheckItemServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processGetProjectConfig(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processGetProjectConfig(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -7545,31 +9655,39 @@ export class IcsCheckItemServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param body (optional) + * @param msg (optional) + * @param tenantId (optional) + * @param userId (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsCheckItemInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCheckItem/CreateOrUpdate"; + sendNoticeToUser(msg: string | null | undefined, tenantId: string | null | undefined, userId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/HostSettings/SendNoticeToUser?"; + if (msg !== undefined && msg !== null) + url_ += "msg=" + encodeURIComponent("" + msg) + "&"; + if (tenantId !== undefined && tenantId !== null) + url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; + if (userId !== undefined && userId !== null) + url_ += "userId=" + encodeURIComponent("" + userId) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, method: "POST", url: url_, headers: { - "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -7581,11 +9699,11 @@ export class IcsCheckItemServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processSendNoticeToUser(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processSendNoticeToUser(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -7607,21 +9725,21 @@ export class IcsCheckItemServiceProxy { } /** - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCheckItem/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + sendTestEmail(body: SendTestEmailInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/HostSettings/SendTestEmail"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -7633,11 +9751,11 @@ export class IcsCheckItemServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processSendTestEmail(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processSendTestEmail(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -7659,81 +9777,21 @@ export class IcsCheckItemServiceProxy { } /** - * 获取所有检验项目 + * @param body (optional) * @return Success */ - getAllCheckItemList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCheckItem/GetAllCheckItemList"; + updateAllSettings(body: HostSettingsEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/HostSettings/UpdateAllSettings"; url_ = url_.replace(/[?&]$/, ""); - let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processGetAllCheckItemList(_response); - }); - } - - protected processGetAllCheckItemList(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * @param id (optional) - * @return Success - */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCheckItem/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; - url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "PUT", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -7745,11 +9803,11 @@ export class IcsCheckItemServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processUpdateAllSettings(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processUpdateAllSettings(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -7761,100 +9819,31 @@ export class IcsCheckItemServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsCheckItemListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCheckItem/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + updateProjectConfig(body: ProjectConfigEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/HostSettings/UpdateProjectConfig"; url_ = url_.replace(/[?&]$/, ""); - let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); - }); - } - - protected processGetForEdit(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetIcsCheckItemForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) - * @return Success - */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCheckItem/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; - url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -7866,11 +9855,11 @@ export class IcsCheckItemServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processUpdateProjectConfig(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processUpdateProjectConfig(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -7882,20 +9871,17 @@ export class IcsCheckItemServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsCheckItemListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsCrewServiceProxy { +export class IcsAqlServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -7912,8 +9898,8 @@ export class IcsCrewServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCrew/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsAql/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -7964,8 +9950,8 @@ export class IcsCrewServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsCrewInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCrew/CreateOrUpdate"; + batchDeleteAql2ItemModel(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsAql/BatchDeleteAql2ItemModel"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -7987,11 +9973,11 @@ export class IcsCrewServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processBatchDeleteAql2ItemModel(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processBatchDeleteAql2ItemModel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -8013,21 +9999,21 @@ export class IcsCrewServiceProxy { } /** - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCrew/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + createAql2ItemModel(body: IcsAql2ItemModelDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsAql/CreateAql2ItemModel"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -8039,11 +10025,11 @@ export class IcsCrewServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processCreateAql2ItemModel(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processCreateAql2ItemModel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -8065,18 +10051,21 @@ export class IcsCrewServiceProxy { } /** - * 获取所有班组 + * @param body (optional) * @return Success */ - getAllCrew( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCrew/GetAllCrew"; + createOrUpdate(body: CreateOrUpdateIcsAqlInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsAql/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -8088,11 +10077,11 @@ export class IcsCrewServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllCrew(_response); + return this.processCreateOrUpdate(_response); }); } - protected processGetAllCrew(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -8104,38 +10093,31 @@ export class IcsCrewServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有班组 + * @param id (optional) * @return Success */ - getAllCrewCode( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCrew/GetAllCrewCode"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsAql/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -8147,11 +10129,11 @@ export class IcsCrewServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllCrewCode(_response); + return this.processDelete(_response); }); } - protected processGetAllCrewCode(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -8163,38 +10145,31 @@ export class IcsCrewServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有班组 + * @param id (optional) * @return Success */ - getAllCrewList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCrew/GetAllCrewList"; + deleteAql2ItemModel(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsAql/DeleteAql2ItemModel?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -8206,11 +10181,11 @@ export class IcsCrewServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllCrewList(_response); + return this.processDeleteAql2ItemModel(_response); }); } - protected processGetAllCrewList(response: AxiosResponse): Promise { + protected processDeleteAql2ItemModel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -8222,31 +10197,21 @@ export class IcsCrewServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCrew/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsAql/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -8273,7 +10238,7 @@ export class IcsCrewServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -8287,22 +10252,22 @@ export class IcsCrewServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsCrewListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsAqlListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCrew/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsAql/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -8327,7 +10292,7 @@ export class IcsCrewServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -8341,33 +10306,33 @@ export class IcsCrewServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsCrewForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsAqlForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCrew/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getItemModel2AqlList(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsAql/GetItemModel2AqlList?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -8390,11 +10355,11 @@ export class IcsCrewServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processGetItemModel2AqlList(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetItemModel2AqlList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -8408,33 +10373,43 @@ export class IcsCrewServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsCrewListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsAql2ItemModelDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 保存班组人员关系 - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - saveIcsCrew2User(body: IcsCrewEditDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsCrew/SaveIcsCrew2User"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsAql/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -8447,11 +10422,11 @@ export class IcsCrewServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSaveIcsCrew2User(_response); + return this.processGetPaged(_response); }); } - protected processSaveIcsCrew2User(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -8465,18 +10440,18 @@ export class IcsCrewServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsCrew2UserDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsAqlListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsDctServiceProxy { +export class IcsArmorplateServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -8493,8 +10468,8 @@ export class IcsDctServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDct/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsArmorplate/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -8545,8 +10520,8 @@ export class IcsDctServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsDctInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDct/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsArmorplateInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsArmorplate/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -8597,8 +10572,8 @@ export class IcsDctServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDct/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsArmorplate/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -8646,11 +10621,15 @@ export class IcsDctServiceProxy { } /** - * 获取所有Dct + * @param id (optional) * @return Success */ - getAllDct( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDct/GetAllDct"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsArmorplate/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -8669,11 +10648,11 @@ export class IcsDctServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllDct(_response); + return this.processGetById(_response); }); } - protected processGetAllDct(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -8687,29 +10666,24 @@ export class IcsDctServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = IcsArmorplateListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有Dct + * @param id (optional) * @return Success */ - getAllDctCode( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDct/GetAllDctCode"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsArmorplate/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -8728,11 +10702,11 @@ export class IcsDctServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllDctCode(_response); + return this.processGetForEdit(_response); }); } - protected processGetAllDctCode(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -8746,29 +10720,37 @@ export class IcsDctServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = GetIcsArmorplateForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有Dct + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - getAllDctList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDct/GetAllDctList"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsArmorplate/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -8787,11 +10769,11 @@ export class IcsDctServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllDctList(_response); + return this.processGetPaged(_response); }); } - protected processGetAllDctList(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -8805,161 +10787,46 @@ export class IcsDctServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsArmorplateListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } +} - /** - * @param id (optional) - * @return Success - */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDct/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; - url_ = url_.replace(/[?&]$/, ""); +export class IcsBomParamDetailServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; + constructor(baseUrl?: string, instance?: AxiosInstance) { - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processGetById(_response); - }); - } + this.instance = instance ? instance : axios.create(); - protected processGetById(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsDctListDto.fromJS(resultData200); - return Promise.resolve(result200); + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDct/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamDetail/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); - let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); - }); - } - - protected processGetForEdit(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetIcsDctForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) - * @return Success - */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDct/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; - url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -8971,11 +10838,11 @@ export class IcsDctServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processBatchDelete(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -8987,38 +10854,21 @@ export class IcsDctServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsDctListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsDutyServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDuty/BatchDelete"; + createOrUpdate(body: CreateOrUpdateIcsBomParamDetailInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamDetail/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -9040,11 +10890,11 @@ export class IcsDutyServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processCreateOrUpdate(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -9066,21 +10916,21 @@ export class IcsDutyServiceProxy { } /** - * @param body (optional) + * @param id (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsDutyInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDuty/CreateOrUpdate"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamDetail/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "DELETE", url: url_, headers: { - "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -9092,11 +10942,11 @@ export class IcsDutyServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processDelete(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -9118,21 +10968,22 @@ export class IcsDutyServiceProxy { } /** - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDuty/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + downloadTemplate(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamDetail/DownloadTemplate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -9144,11 +10995,11 @@ export class IcsDutyServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processDownloadTemplate(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processDownloadTemplate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -9160,21 +11011,24 @@ export class IcsDutyServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = FileDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDuty/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamDetail/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -9201,7 +11055,7 @@ export class IcsDutyServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -9215,22 +11069,22 @@ export class IcsDutyServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsDutyListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsBomParamDetailListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDuty/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamDetail/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -9255,7 +11109,7 @@ export class IcsDutyServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -9269,33 +11123,39 @@ export class IcsDutyServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsDutyForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsBomParamDetailForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) + * @param paramCode (optional) + * @param paramModel (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDuty/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, paramCode: string | null | undefined, paramModel: string | null | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamDetail/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (paramCode !== undefined && paramCode !== null) + url_ += "paramCode=" + encodeURIComponent("" + paramCode) + "&"; + if (paramModel !== undefined && paramModel !== null) + url_ += "paramModel=" + encodeURIComponent("" + paramModel) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -9322,7 +11182,7 @@ export class IcsDutyServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -9336,18 +11196,135 @@ export class IcsDutyServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsDutyListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsBomParamDetailListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } + + /** + * @param fileToken (optional) + * @return Success + */ + importIcsShiftExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamDetail/ImportIcsShiftExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processImportIcsShiftExcel(_response); + }); + } + + protected processImportIcsShiftExcel(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfBomParamDetailImportDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + queryAntDColumnDtos(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamDetail/QueryAntDColumnDtos"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processQueryAntDColumnDtos(_response); + }); + } + + protected processQueryAntDColumnDtos(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(AntDColumnDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } } -export class IcsDynamicColumnConfigServiceProxy { +export class IcsBomParamHeadServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -9364,8 +11341,8 @@ export class IcsDynamicColumnConfigServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamHead/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -9416,8 +11393,8 @@ export class IcsDynamicColumnConfigServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsDynamicColumnConfigInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsBomParamHeadInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamHead/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -9468,8 +11445,8 @@ export class IcsDynamicColumnConfigServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamHead/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -9517,15 +11494,10 @@ export class IcsDynamicColumnConfigServiceProxy { } /** - * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getAllParamCode( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamHead/GetAllParamCode"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -9544,11 +11516,11 @@ export class IcsDynamicColumnConfigServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processGetAllParamCode(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetAllParamCode(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -9562,25 +11534,28 @@ export class IcsDynamicColumnConfigServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsDynamicColumnConfigListDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 查询动态列字段 - * @param value (optional) * @return Success */ - getDynamicColumnDto(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/GetDynamicColumnDto?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + getAllParamModel( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamHead/GetAllParamModel"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -9599,11 +11574,11 @@ export class IcsDynamicColumnConfigServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetDynamicColumnDto(_response); + return this.processGetAllParamModel(_response); }); } - protected processGetDynamicColumnDto(response: AxiosResponse): Promise { + protected processGetAllParamModel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -9620,26 +11595,82 @@ export class IcsDynamicColumnConfigServiceProxy { if (Array.isArray(resultData200)) { result200 = [] as any; for (let item of resultData200) - result200.push(DynamicColumnDto.fromJS(item)); + result200.push(SelectItemExt.fromJS(item)); } else { result200 = null; } - return Promise.resolve(result200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/GetForEdit?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamHead/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetById(_response); + }); + } + + protected processGetById(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsBomParamHeadListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamHead/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -9664,7 +11695,7 @@ export class IcsDynamicColumnConfigServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -9678,33 +11709,33 @@ export class IcsDynamicColumnConfigServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsDynamicColumnConfigForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsBomParamHeadForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamHead/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -9731,7 +11762,7 @@ export class IcsDynamicColumnConfigServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -9745,31 +11776,32 @@ export class IcsDynamicColumnConfigServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsDynamicColumnConfigListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsBomParamHeadListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取用户设置的动态列列表 - * @param value (optional) + * @param body (optional) * @return Success */ - getUserSettingDynamicColumnDto(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/GetUserSettingDynamicColumnDto?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + queryPaged(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsBomParamHead/QueryPaged"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -9782,11 +11814,11 @@ export class IcsDynamicColumnConfigServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetUserSettingDynamicColumnDto(_response); + return this.processQueryPaged(_response); }); } - protected processGetUserSettingDynamicColumnDto(response: AxiosResponse): Promise { + protected processQueryPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -9800,92 +11832,36 @@ export class IcsDynamicColumnConfigServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(DynamicColumnDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsBomParamHeadListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } +} - /** - * 获取用户设置的动态列名称 - * @param value (optional) - * @return Success - */ - getUserSettingDynamicColumnName(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/GetUserSettingDynamicColumnName?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; - url_ = url_.replace(/[?&]$/, ""); +export class IcsCheckGroupServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; + constructor(baseUrl?: string, instance?: AxiosInstance) { - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processGetUserSettingDynamicColumnName(_response); - }); - } + this.instance = instance ? instance : axios.create(); - protected processGetUserSettingDynamicColumnName(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(item); - } - else { - result200 = null; - } - return Promise.resolve(result200); + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); } /** - * 保存动态列配置 * @param body (optional) * @return Success */ - saveDynamicColumnConfig(body: DynamicColumnConfigDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/SaveDynamicColumnConfig"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCheckGroup/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -9907,11 +11883,11 @@ export class IcsDynamicColumnConfigServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSaveDynamicColumnConfig(_response); + return this.processBatchDelete(_response); }); } - protected processSaveDynamicColumnConfig(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -9931,27 +11907,13 @@ export class IcsDynamicColumnConfigServiceProxy { } return Promise.resolve(null as any); } -} - -export class IcsEcServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - - } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEc/BatchDelete"; + createCheckGroup2Item(body: IcsCheckGroup2ItemDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCheckGroup/CreateCheckGroup2Item"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -9962,6 +11924,7 @@ export class IcsEcServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -9973,11 +11936,11 @@ export class IcsEcServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processCreateCheckGroup2Item(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processCreateCheckGroup2Item(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -9989,21 +11952,24 @@ export class IcsEcServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsCheckGroup2ItemDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsEcInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEc/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsCheckGroupInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCheckGroup/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -10054,8 +12020,8 @@ export class IcsEcServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEc/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCheckGroup/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -10103,11 +12069,13 @@ export class IcsEcServiceProxy { } /** - * 获取到所有不良代码的相关信息(value值为id) + * @param value (optional) * @return Success */ - getAllEc( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEc/GetAllEc"; + getAllCheckGroupList(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCheckGroup/GetAllCheckGroupList?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -10126,11 +12094,11 @@ export class IcsEcServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllEc(_response); + return this.processGetAllCheckGroupList(_response); }); } - protected processGetAllEc(response: AxiosResponse): Promise { + protected processGetAllCheckGroupList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -10162,11 +12130,13 @@ export class IcsEcServiceProxy { } /** - * 获取到所有不良代码的相关信息(value值为ECode) + * @param value (optional) * @return Success */ - getAllEc2( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEc/GetAllEc2"; + getAllCheckGroupListWithNullItem(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCheckGroup/GetAllCheckGroupListWithNullItem?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -10185,11 +12155,11 @@ export class IcsEcServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllEc2(_response); + return this.processGetAllCheckGroupListWithNullItem(_response); }); } - protected processGetAllEc2(response: AxiosResponse): Promise { + protected processGetAllCheckGroupListWithNullItem(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -10224,8 +12194,8 @@ export class IcsEcServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEc/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCheckGroup/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -10252,7 +12222,7 @@ export class IcsEcServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -10266,22 +12236,22 @@ export class IcsEcServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsEcListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsCheckGroupListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEc/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCheckGroup/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -10306,7 +12276,7 @@ export class IcsEcServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -10320,33 +12290,33 @@ export class IcsEcServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsEcForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsCheckGroupForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEc/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCheckGroup/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -10373,7 +12343,7 @@ export class IcsEcServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -10387,18 +12357,18 @@ export class IcsEcServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsEcListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsCheckGroupListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsEcgServiceProxy { +export class IcsCheckItemServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -10415,8 +12385,8 @@ export class IcsEcgServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcg/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCheckItem/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -10464,64 +12434,11 @@ export class IcsEcgServiceProxy { } /** - * 不良代码与不良代码组关联 * @param body (optional) * @return Success */ - createIcsEcg2Ec(body: IcsEcg2EcDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcg/CreateIcsEcg2Ec"; - url_ = url_.replace(/[?&]$/, ""); - - const content_ = JSON.stringify(body); - - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", - url: url_, - headers: { - "Content-Type": "application/json-patch+json", - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processCreateIcsEcg2Ec(_response); - }); - } - - protected processCreateIcsEcg2Ec(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - return Promise.resolve(null as any); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * @param body (optional) - * @return Success - */ - createOrUpdate(body: CreateOrUpdateIcsEcgInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcg/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsCheckItemInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCheckItem/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -10572,8 +12489,8 @@ export class IcsEcgServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcg/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCheckItem/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -10621,11 +12538,10 @@ export class IcsEcgServiceProxy { } /** - * 获取到所有不良代码组的相关信息(value值为id) * @return Success */ - getAllEcg( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcg/GetAllEcg"; + getAllCheckItemList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCheckItem/GetAllCheckItemList"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -10644,70 +12560,11 @@ export class IcsEcgServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllEcg(_response); + return this.processGetAllCheckItemList(_response); }); } - protected processGetAllEcg(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * 获取到所有不良代码组的相关信息(value值为EcgCode) - * @return Success - */ - getAllEcg2( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcg/GetAllEcg2"; - url_ = url_.replace(/[?&]$/, ""); - - let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processGetAllEcg2(_response); - }); - } - - protected processGetAllEcg2(response: AxiosResponse): Promise { + protected processGetAllCheckItemList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -10742,8 +12599,8 @@ export class IcsEcgServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcg/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCheckItem/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -10770,7 +12627,7 @@ export class IcsEcgServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -10784,22 +12641,22 @@ export class IcsEcgServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsEcgListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsCheckItemListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcg/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCheckItem/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -10824,7 +12681,7 @@ export class IcsEcgServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -10838,33 +12695,33 @@ export class IcsEcgServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsEcgForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsCheckItemForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcg/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCheckItem/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -10891,7 +12748,7 @@ export class IcsEcgServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -10905,28 +12762,32 @@ export class IcsEcgServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsEcgListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsCheckItemListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 不良代码 下拉框数据源 + * @param body (optional) * @return Success */ - selectIcsEcgList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcg/SelectIcsEcgList"; + queryCheckItemBySeg(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCheckItem/QueryCheckItemBySeg"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -10939,11 +12800,11 @@ export class IcsEcgServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSelectIcsEcgList(_response); + return this.processQueryCheckItemBySeg(_response); }); } - protected processSelectIcsEcgList(response: AxiosResponse): Promise { + protected processQueryCheckItemBySeg(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -10960,22 +12821,22 @@ export class IcsEcgServiceProxy { if (Array.isArray(resultData200)) { result200 = [] as any; for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); + result200.push(IcsLotTestDataDto.fromJS(item)); } else { result200 = null; } - return Promise.resolve(result200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsEcsServiceProxy { +export class IcsCrewServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -10992,8 +12853,8 @@ export class IcsEcsServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcs/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCrew/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -11044,8 +12905,8 @@ export class IcsEcsServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsEcsInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcs/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsCrewInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCrew/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -11096,8 +12957,8 @@ export class IcsEcsServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcs/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCrew/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -11144,12 +13005,70 @@ export class IcsEcsServiceProxy { return Promise.resolve(null as any); } + /** + * @return Success + */ + getAllCrewList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCrew/GetAllCrewList"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetAllCrewList(_response); + }); + } + + protected processGetAllCrewList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + /** * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcs/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCrew/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -11176,7 +13095,7 @@ export class IcsEcsServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -11190,22 +13109,22 @@ export class IcsEcsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsEcsListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsCrewListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcs/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCrew/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -11230,7 +13149,7 @@ export class IcsEcsServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -11244,33 +13163,33 @@ export class IcsEcsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsEcsForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsCrewForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcs/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCrew/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -11297,7 +13216,7 @@ export class IcsEcsServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -11311,28 +13230,32 @@ export class IcsEcsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsEcsListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsCrewListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 不良原因 下拉框数据源 + * @param body (optional) * @return Success */ - selectIcsEcsList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcs/SelectIcsEcsList"; + saveIcsCrew2User(body: IcsCrewEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsCrew/SaveIcsCrew2User"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -11345,11 +13268,11 @@ export class IcsEcsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSelectIcsEcsList(_response); + return this.processSaveIcsCrew2User(_response); }); } - protected processSelectIcsEcsList(response: AxiosResponse): Promise { + protected processSaveIcsCrew2User(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -11363,25 +13286,18 @@ export class IcsEcsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = IcsCrew2UserDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsEcsgServiceProxy { +export class IcsDataAuthorizationConfigServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -11398,8 +13314,8 @@ export class IcsEcsgServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcsg/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDataAuthorizationConfig/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -11447,12 +13363,11 @@ export class IcsEcsgServiceProxy { } /** - * 不良原因与不良原因组关联 * @param body (optional) * @return Success */ - createIcsEcsg2Ecs(body: IcsEcsg2EcsListDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcsg/CreateIcsEcsg2Ecs"; + createOrUpdate(body: CreateOrUpdateIcsDataAuthorizationConfigInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDataAuthorizationConfig/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -11474,11 +13389,11 @@ export class IcsEcsgServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateIcsEcsg2Ecs(_response); + return this.processCreateOrUpdate(_response); }); } - protected processCreateIcsEcsg2Ecs(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -11500,21 +13415,21 @@ export class IcsEcsgServiceProxy { } /** - * @param body (optional) + * @param id (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsEcsgInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcsg/CreateOrUpdate"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDataAuthorizationConfig/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "DELETE", url: url_, headers: { - "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -11526,11 +13441,11 @@ export class IcsEcsgServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processDelete(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -11555,60 +13470,8 @@ export class IcsEcsgServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcsg/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; - url_ = url_.replace(/[?&]$/, ""); - - let options_: AxiosRequestConfig = { - method: "DELETE", - url: url_, - headers: { - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processDelete(_response); - }); - } - - protected processDelete(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - return Promise.resolve(null as any); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * @param id (optional) - * @return Success - */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcsg/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDataAuthorizationConfig/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -11635,7 +13498,7 @@ export class IcsEcsgServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -11649,22 +13512,22 @@ export class IcsEcsgServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsEcsgListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsDataAuthorizationConfigListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcsg/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDataAuthorizationConfig/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -11689,7 +13552,7 @@ export class IcsEcsgServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -11703,33 +13566,33 @@ export class IcsEcsgServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsEcsgForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsDataAuthorizationConfigForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcsg/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDataAuthorizationConfig/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -11756,7 +13619,7 @@ export class IcsEcsgServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -11770,77 +13633,18 @@ export class IcsEcsgServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsEcsgListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsDataAuthorizationConfigListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } - - /** - * 不良原因组 下拉框数据源 - * @return Success - */ - selectIcsEcsgList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcsg/SelectIcsEcsgList"; - url_ = url_.replace(/[?&]$/, ""); - - let options_: AxiosRequestConfig = { - method: "POST", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processSelectIcsEcsgList(_response); - }); - } - - protected processSelectIcsEcsgList(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsEcsg2EcsServiceProxy { +export class IcsDctServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -11857,8 +13661,8 @@ export class IcsEcsg2EcsServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcsg2Ecs/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDct/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -11909,8 +13713,8 @@ export class IcsEcsg2EcsServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsEcsg2EcsInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcsg2Ecs/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsDctInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDct/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -11961,8 +13765,8 @@ export class IcsEcsg2EcsServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcsg2Ecs/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDct/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -12010,15 +13814,10 @@ export class IcsEcsg2EcsServiceProxy { } /** - * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcsg2Ecs/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getAllDctList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDct/GetAllDctList"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -12037,11 +13836,11 @@ export class IcsEcsg2EcsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processGetAllDctList(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetAllDctList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -12055,23 +13854,32 @@ export class IcsEcsg2EcsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsEcsg2EcsListDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcsg2Ecs/GetForEdit?"; - if (id !== undefined && id !== null) + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDct/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -12091,11 +13899,11 @@ export class IcsEcsg2EcsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processGetById(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -12109,37 +13917,24 @@ export class IcsEcsg2EcsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsEcsg2EcsForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsDctListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param id (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcsg2Ecs/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDct/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -12158,11 +13953,11 @@ export class IcsEcsg2EcsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processGetForEdit(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -12176,33 +13971,43 @@ export class IcsEcsg2EcsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsEcsg2EcsListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsDctForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 不良原因 下拉框数据源 不良原因组id筛选 - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - selectIcsEcsg2EcsList(body: StringDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEcsg2Ecs/SelectIcsEcsg2EcsList"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDct/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -12215,11 +14020,11 @@ export class IcsEcsg2EcsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSelectIcsEcsg2EcsList(_response); + return this.processGetPaged(_response); }); } - protected processSelectIcsEcsg2EcsList(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -12233,25 +14038,18 @@ export class IcsEcsg2EcsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsDctListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsEqp2OpServiceProxy { +export class IcsDutyServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -12268,8 +14066,8 @@ export class IcsEqp2OpServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEqp2Op/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDuty/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -12320,8 +14118,8 @@ export class IcsEqp2OpServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsEqp2OpInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEqp2Op/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsDutyInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDuty/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -12372,8 +14170,8 @@ export class IcsEqp2OpServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEqp2Op/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDuty/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -12424,8 +14222,8 @@ export class IcsEqp2OpServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEqp2Op/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDuty/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -12452,7 +14250,7 @@ export class IcsEqp2OpServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -12466,25 +14264,21 @@ export class IcsEqp2OpServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsEqp2OpListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsDutyListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有工序对应设备 - * @param value (optional) * @return Success */ - getEqpByOpCode(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEqp2Op/GetEqpByOpCode?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + getDutyAllSelect( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDuty/GetDutyAllSelect"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -12503,11 +14297,11 @@ export class IcsEqp2OpServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetEqpByOpCode(_response); + return this.processGetDutyAllSelect(_response); }); } - protected processGetEqpByOpCode(response: AxiosResponse): Promise { + protected processGetDutyAllSelect(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -12542,8 +14336,8 @@ export class IcsEqp2OpServiceProxy { * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEqp2Op/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDuty/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -12568,7 +14362,7 @@ export class IcsEqp2OpServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -12582,33 +14376,33 @@ export class IcsEqp2OpServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsEqp2OpForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsDutyForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEqp2Op/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDuty/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -12635,7 +14429,7 @@ export class IcsEqp2OpServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -12649,18 +14443,18 @@ export class IcsEqp2OpServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsEqp2OpListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsDutyListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsEquipmentServiceProxy { +export class IcsDynamicColumnConfigServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -12677,8 +14471,8 @@ export class IcsEquipmentServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipment/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -12729,8 +14523,8 @@ export class IcsEquipmentServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsEquipmentInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipment/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsDynamicColumnConfigInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -12781,8 +14575,8 @@ export class IcsEquipmentServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipment/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -12830,10 +14624,15 @@ export class IcsEquipmentServiceProxy { } /** + * @param id (optional) * @return Success */ - getAllEqpList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipment/GetAllEqpList"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -12852,11 +14651,11 @@ export class IcsEquipmentServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllEqpList(_response); + return this.processGetById(_response); }); } - protected processGetAllEqpList(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -12870,33 +14669,24 @@ export class IcsEquipmentServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = IcsDynamicColumnConfigListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param value (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipment/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getDynamicColumnDto(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/GetDynamicColumnDto?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -12915,11 +14705,11 @@ export class IcsEquipmentServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processGetDynamicColumnDto(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetDynamicColumnDto(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -12933,22 +14723,29 @@ export class IcsEquipmentServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsEquipmentListDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(DynamicColumnDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipment/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -12973,7 +14770,7 @@ export class IcsEquipmentServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -12987,33 +14784,33 @@ export class IcsEquipmentServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsEquipmentForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsDynamicColumnConfigForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipment/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -13040,7 +14837,7 @@ export class IcsEquipmentServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -13054,23 +14851,144 @@ export class IcsEquipmentServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsEquipmentListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsDynamicColumnConfigListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 筛选 设备下拉框数据源 条件Parameter1 为EqpCode;Parameter2 为EqpModel - * @param body (optional) 1:EqpCode,2:EqpModel + * @param value (optional) * @return Success */ - selectEqpList(body: StringDtoEx | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipment/SelectEqpList"; + getUserSettingDynamicColumnDto(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/GetUserSettingDynamicColumnDto?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetUserSettingDynamicColumnDto(_response); + }); + } + + protected processGetUserSettingDynamicColumnDto(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(DynamicColumnDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param value (optional) + * @return Success + */ + getUserSettingDynamicColumnName(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/GetUserSettingDynamicColumnName?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetUserSettingDynamicColumnName(_response); + }); + } + + protected processGetUserSettingDynamicColumnName(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(item); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + handleDynamicColumn(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/HandleDynamicColumn"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -13093,11 +15011,67 @@ export class IcsEquipmentServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSelectEqpList(_response); + return this.processHandleDynamicColumn(_response); + }); + } + + protected processHandleDynamicColumn(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsDynamicColumnConfigListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + queryDynamicColumnName(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/QueryDynamicColumnName"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processQueryDynamicColumnName(_response); }); } - protected processSelectEqpList(response: AxiosResponse): Promise { + protected processQueryDynamicColumnName(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -13114,40 +15088,155 @@ export class IcsEquipmentServiceProxy { if (Array.isArray(resultData200)) { result200 = [] as any; for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); + result200.push(DynamicColumnDto.fromJS(item)); } else { result200 = null; } - return Promise.resolve(result200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } -} -export class IcsEquipmentMaintainItemServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + /** + * @param body (optional) + * @return Success + */ + queryExtDynamicColumnName(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/QueryExtDynamicColumnName"; + url_ = url_.replace(/[?&]$/, ""); - constructor(baseUrl?: string, instance?: AxiosInstance) { + const content_ = JSON.stringify(body); - this.instance = instance ? instance : axios.create(); + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processQueryExtDynamicColumnName(_response); + }); + } + protected processQueryExtDynamicColumnName(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(DynamicColumnDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainItem/BatchDelete"; + saveDynamicColumnConfig(body: DynamicColumnConfigDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsDynamicColumnConfig/SaveDynamicColumnConfig"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSaveDynamicColumnConfig(_response); + }); + } + + protected processSaveDynamicColumnConfig(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class IcsEcServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param body (optional) + * @return Success + */ + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEc/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -13198,8 +15287,8 @@ export class IcsEquipmentMaintainItemServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsEquipmentMaintainItemInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainItem/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsEcInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEc/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -13250,8 +15339,8 @@ export class IcsEquipmentMaintainItemServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainItem/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEc/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -13298,12 +15387,128 @@ export class IcsEquipmentMaintainItemServiceProxy { return Promise.resolve(null as any); } + /** + * @return Success + */ + getAllEc( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEc/GetAllEc"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetAllEc(_response); + }); + } + + protected processGetAllEc(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getAllEc2( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEc/GetAllEc2"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetAllEc2(_response); + }); + } + + protected processGetAllEc2(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + /** * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainItem/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEc/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -13330,7 +15535,7 @@ export class IcsEquipmentMaintainItemServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -13344,22 +15549,22 @@ export class IcsEquipmentMaintainItemServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsEquipmentMaintainItemListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsEcListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainItem/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEc/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -13384,7 +15589,7 @@ export class IcsEquipmentMaintainItemServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -13398,33 +15603,33 @@ export class IcsEquipmentMaintainItemServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsEquipmentMaintainItemForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsEcForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainItem/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEc/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -13451,7 +15656,7 @@ export class IcsEquipmentMaintainItemServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -13465,25 +15670,28 @@ export class IcsEquipmentMaintainItemServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsEquipmentMaintainItemListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsEcListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param value (optional) * @return Success */ - selectMaintainList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainItem/SelectMaintainList"; + getSelectEcg2EcList(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEc/GetSelectEcg2EcList?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -13498,11 +15706,11 @@ export class IcsEquipmentMaintainItemServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSelectMaintainList(_response); + return this.processGetSelectEcg2EcList(_response); }); } - protected processSelectMaintainList(response: AxiosResponse): Promise { + protected processGetSelectEcg2EcList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -13534,7 +15742,7 @@ export class IcsEquipmentMaintainItemServiceProxy { } } -export class IcsEquipmentMaintainLogServiceProxy { +export class IcsEcgServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -13551,8 +15759,8 @@ export class IcsEquipmentMaintainLogServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainLog/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcg/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -13603,8 +15811,8 @@ export class IcsEquipmentMaintainLogServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsEquipmentMaintainLogInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainLog/CreateOrUpdate"; + createIcsEcg2Ec(body: IcsEcg2EcDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcg/CreateIcsEcg2Ec"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -13626,11 +15834,11 @@ export class IcsEquipmentMaintainLogServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processCreateIcsEcg2Ec(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processCreateIcsEcg2Ec(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -13652,21 +15860,21 @@ export class IcsEquipmentMaintainLogServiceProxy { } /** - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainLog/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + createOrUpdate(body: CreateOrUpdateIcsEcgInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcg/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -13678,11 +15886,11 @@ export class IcsEquipmentMaintainLogServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processCreateOrUpdate(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -13707,8 +15915,118 @@ export class IcsEquipmentMaintainLogServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainLog/GetById?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcg/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } + + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getAllEcg( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcg/GetAllEcg"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetAllEcg(_response); + }); + } + + protected processGetAllEcg(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcg/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -13735,7 +16053,7 @@ export class IcsEquipmentMaintainLogServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -13749,22 +16067,22 @@ export class IcsEquipmentMaintainLogServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsEquipmentMaintainLogListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsEcgListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainLog/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcg/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -13789,7 +16107,7 @@ export class IcsEquipmentMaintainLogServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -13803,33 +16121,33 @@ export class IcsEquipmentMaintainLogServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsEquipmentMaintainLogForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsEcgForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainLog/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcg/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -13856,7 +16174,7 @@ export class IcsEquipmentMaintainLogServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -13870,33 +16188,27 @@ export class IcsEquipmentMaintainLogServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsEquipmentMaintainLogListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsEcgListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 日志详情 - * @param body (optional) * @return Success */ - logList(body: StringDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainLog/LogList"; + selectIcsEcgList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcg/SelectIcsEcgList"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, method: "POST", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -13909,11 +16221,11 @@ export class IcsEquipmentMaintainLogServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processLogList(_response); + return this.processSelectIcsEcgList(_response); }); } - protected processLogList(response: AxiosResponse): Promise { + protected processSelectIcsEcgList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -13927,18 +16239,25 @@ export class IcsEquipmentMaintainLogServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsEquipmentMaintainLogListDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsEquipmentMaintainPlanServiceProxy { +export class IcsEcsServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -13955,8 +16274,8 @@ export class IcsEquipmentMaintainPlanServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainPlan/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcs/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -14007,8 +16326,8 @@ export class IcsEquipmentMaintainPlanServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsEquipmentMaintainPlanInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainPlan/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsEcsInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcs/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -14059,8 +16378,8 @@ export class IcsEquipmentMaintainPlanServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainPlan/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcs/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -14111,8 +16430,8 @@ export class IcsEquipmentMaintainPlanServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainPlan/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcs/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -14139,7 +16458,7 @@ export class IcsEquipmentMaintainPlanServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -14153,22 +16472,22 @@ export class IcsEquipmentMaintainPlanServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsEquipmentMaintainPlanListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsEcsListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainPlan/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcs/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -14193,7 +16512,7 @@ export class IcsEquipmentMaintainPlanServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -14207,33 +16526,33 @@ export class IcsEquipmentMaintainPlanServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsEquipmentMaintainPlanForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsEcsForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainPlan/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcs/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -14260,7 +16579,7 @@ export class IcsEquipmentMaintainPlanServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -14274,46 +16593,28 @@ export class IcsEquipmentMaintainPlanServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsEquipmentMaintainPlanListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsEcsListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsEquipmentPartCheckDataServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckData/BatchDelete"; + selectIcsEcsList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcs/SelectIcsEcsList"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, method: "POST", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -14325,11 +16626,11 @@ export class IcsEquipmentPartCheckDataServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processSelectIcsEcsList(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processSelectIcsEcsList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -14341,21 +16642,45 @@ export class IcsEquipmentPartCheckDataServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsEcsgServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** * @param body (optional) * @return Success */ - createOrUpdate(body: IcsEquipmentPartCheckDataEditDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckData/CreateOrUpdate"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcsg/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -14377,11 +16702,11 @@ export class IcsEquipmentPartCheckDataServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processBatchDelete(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -14403,21 +16728,21 @@ export class IcsEquipmentPartCheckDataServiceProxy { } /** - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckData/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + createIcsEcsg2Ecs(body: IcsEcsg2EcsListDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcsg/CreateIcsEcsg2Ecs"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -14429,11 +16754,11 @@ export class IcsEquipmentPartCheckDataServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processCreateIcsEcsg2Ecs(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processCreateIcsEcsg2Ecs(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -14455,12 +16780,11 @@ export class IcsEquipmentPartCheckDataServiceProxy { } /** - * 获取点检报表数据 * @param body (optional) * @return Success */ - eqpPartItemDataList(body: StringDtoEx | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckData/EqpPartItemDataList"; + createOrUpdate(body: CreateOrUpdateIcsEcsgInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcsg/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -14471,7 +16795,6 @@ export class IcsEquipmentPartCheckDataServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -14483,11 +16806,11 @@ export class IcsEquipmentPartCheckDataServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processEqpPartItemDataList(_response); + return this.processCreateOrUpdate(_response); }); } - protected processEqpPartItemDataList(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -14499,43 +16822,31 @@ export class IcsEquipmentPartCheckDataServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(IcsEquipmentPartCheckInputListDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取点检录入列表 - * @param body (optional) + * @param id (optional) * @return Success */ - eqpPartItemList(body: StringDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckData/EqpPartItemList"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcsg/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "DELETE", url: url_, headers: { - "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -14547,11 +16858,11 @@ export class IcsEquipmentPartCheckDataServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processEqpPartItemList(_response); + return this.processDelete(_response); }); } - protected processEqpPartItemList(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -14563,31 +16874,21 @@ export class IcsEquipmentPartCheckDataServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(IcsEquipmentPartCheckInputListDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckData/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcsg/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -14614,7 +16915,7 @@ export class IcsEquipmentPartCheckDataServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -14628,22 +16929,22 @@ export class IcsEquipmentPartCheckDataServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsEquipmentPartCheckDataListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsEcsgListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckData/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcsg/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -14668,7 +16969,7 @@ export class IcsEquipmentPartCheckDataServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -14682,33 +16983,33 @@ export class IcsEquipmentPartCheckDataServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsEquipmentPartCheckDataForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsEcsgForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckData/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcsg/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -14735,7 +17036,7 @@ export class IcsEquipmentPartCheckDataServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -14749,18 +17050,76 @@ export class IcsEquipmentPartCheckDataServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsEquipmentPartCheckDataListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsEcsgListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + selectIcsEcsgList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcsg/SelectIcsEcsgList"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSelectIcsEcsgList(_response); + }); + } + + protected processSelectIcsEcsgList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } } -export class IcsEquipmentPartCheckItemServiceProxy { +export class IcsEcsg2EcsServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -14777,8 +17136,8 @@ export class IcsEquipmentPartCheckItemServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckItem/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcsg2Ecs/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -14829,8 +17188,8 @@ export class IcsEquipmentPartCheckItemServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsEquipmentPartCheckItemInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckItem/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsEcsg2EcsInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcsg2Ecs/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -14881,8 +17240,8 @@ export class IcsEquipmentPartCheckItemServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckItem/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcsg2Ecs/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -14933,8 +17292,8 @@ export class IcsEquipmentPartCheckItemServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckItem/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcsg2Ecs/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -14961,7 +17320,7 @@ export class IcsEquipmentPartCheckItemServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -14975,22 +17334,22 @@ export class IcsEquipmentPartCheckItemServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsEquipmentPartCheckItemListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsEcsg2EcsListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckItem/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcsg2Ecs/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -15015,7 +17374,7 @@ export class IcsEquipmentPartCheckItemServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -15029,33 +17388,33 @@ export class IcsEquipmentPartCheckItemServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsEquipmentPartCheckItemForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsEcsg2EcsForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckItem/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcsg2Ecs/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -15082,7 +17441,7 @@ export class IcsEquipmentPartCheckItemServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -15096,36 +17455,22 @@ export class IcsEquipmentPartCheckItemServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsEquipmentPartCheckItemListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsEcsg2EcsListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsEquipmentPartsServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentParts/BatchDelete"; + selectIcsEcsg2EcsList(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEcsg2Ecs/SelectIcsEcsg2EcsList"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -15136,6 +17481,7 @@ export class IcsEquipmentPartsServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -15147,11 +17493,11 @@ export class IcsEquipmentPartsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processSelectIcsEcsg2EcsList(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processSelectIcsEcsg2EcsList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -15163,21 +17509,97 @@ export class IcsEquipmentPartsServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsEqp2OpServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsEquipmentPartsInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentParts/CreateOrUpdate"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEqp2Op/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); + } + + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateIcsEqp2OpInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEqp2Op/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -15228,8 +17650,8 @@ export class IcsEquipmentPartsServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentParts/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEqp2Op/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -15280,8 +17702,8 @@ export class IcsEquipmentPartsServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentParts/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEqp2Op/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -15308,7 +17730,7 @@ export class IcsEquipmentPartsServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -15322,24 +17744,24 @@ export class IcsEquipmentPartsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsEquipmentPartsListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsEqp2OpListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param value (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentParts/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getEqpByOpCode(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEqp2Op/GetEqpByOpCode?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -15358,11 +17780,11 @@ export class IcsEquipmentPartsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processGetEqpByOpCode(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetEqpByOpCode(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -15376,37 +17798,31 @@ export class IcsEquipmentPartsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsEquipmentPartsForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param id (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentParts/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEqp2Op/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -15425,11 +17841,11 @@ export class IcsEquipmentPartsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processGetForEdit(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -15443,33 +17859,43 @@ export class IcsEquipmentPartsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsEquipmentPartsListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsEqp2OpForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 设备部件 下拉框数据源 - * @param body (optional) 1 设备ID; 2 设备编码; 3 设备型号 + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - selectEqpParts(body: StringDtoEx | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentParts/SelectEqpParts"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEqp2Op/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -15482,11 +17908,11 @@ export class IcsEquipmentPartsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSelectEqpParts(_response); + return this.processGetPaged(_response); }); } - protected processSelectEqpParts(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -15500,25 +17926,18 @@ export class IcsEquipmentPartsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsEqp2OpListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsEquipmentTSServiceProxy { +export class IcsEqpModelPriceServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -15535,8 +17954,8 @@ export class IcsEquipmentTSServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentTS/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEqpModelPrice/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -15587,8 +18006,8 @@ export class IcsEquipmentTSServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsEquipmentTSInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentTS/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsEqpModelPriceInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEqpModelPrice/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -15639,8 +18058,8 @@ export class IcsEquipmentTSServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentTS/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEqpModelPrice/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -15691,8 +18110,8 @@ export class IcsEquipmentTSServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentTS/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEqpModelPrice/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -15719,7 +18138,7 @@ export class IcsEquipmentTSServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -15733,22 +18152,22 @@ export class IcsEquipmentTSServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsEquipmentTSListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsEqpModelPriceListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentTS/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEqpModelPrice/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -15773,7 +18192,7 @@ export class IcsEquipmentTSServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -15787,33 +18206,33 @@ export class IcsEquipmentTSServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsEquipmentTSForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsEqpModelPriceForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsEquipmentTS/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEqpModelPrice/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -15840,7 +18259,7 @@ export class IcsEquipmentTSServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -15854,18 +18273,18 @@ export class IcsEquipmentTSServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsEquipmentTSListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsEqpModelPriceListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsFactoryServiceProxy { +export class IcsEquipmentServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -15882,8 +18301,8 @@ export class IcsFactoryServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsFactory/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipment/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -15934,8 +18353,8 @@ export class IcsFactoryServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsFactoryInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsFactory/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsEquipmentInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipment/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -15986,8 +18405,8 @@ export class IcsFactoryServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsFactory/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipment/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -16035,70 +18454,10 @@ export class IcsFactoryServiceProxy { } /** - * 获取所有工厂 * @return Success */ - getAllFactory( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsFactory/GetAllFactory"; - url_ = url_.replace(/[?&]$/, ""); - - let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processGetAllFactory(_response); - }); - } - - protected processGetAllFactory(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * 获取所有工厂 - * @return Success - */ - getAllFactoryCode( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsFactory/GetAllFactoryCode"; + getAllEqpList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipment/GetAllEqpList"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -16117,11 +18476,11 @@ export class IcsFactoryServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllFactoryCode(_response); + return this.processGetAllEqpList(_response); }); } - protected processGetAllFactoryCode(response: AxiosResponse): Promise { + protected processGetAllEqpList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -16153,11 +18512,15 @@ export class IcsFactoryServiceProxy { } /** - * 获取所有工厂 + * @param id (optional) * @return Success */ - getAllFactoryList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsFactory/GetAllFactoryList"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipment/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -16176,11 +18539,11 @@ export class IcsFactoryServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllFactoryList(_response); + return this.processGetById(_response); }); } - protected processGetAllFactoryList(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -16194,33 +18557,24 @@ export class IcsFactoryServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = IcsEquipmentListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param value (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsFactory/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getEqpInfo(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipment/GetEqpInfo?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -16239,11 +18593,11 @@ export class IcsFactoryServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processGetEqpInfo(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetEqpInfo(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -16257,22 +18611,22 @@ export class IcsFactoryServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsFactoryListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsEquipment.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsFactory/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipment/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -16297,7 +18651,7 @@ export class IcsFactoryServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -16311,33 +18665,33 @@ export class IcsFactoryServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsFactoryForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsEquipmentForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsFactory/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipment/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -16364,7 +18718,7 @@ export class IcsFactoryServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -16378,22 +18732,22 @@ export class IcsFactoryServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsFactoryListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsEquipmentListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - uploadFile(body: IcsFactoryListDto[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsFactory/UploadFile"; + selectEqpList(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipment/SelectEqpList"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -16416,11 +18770,11 @@ export class IcsFactoryServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUploadFile(_response); + return this.processSelectEqpList(_response); }); } - protected processUploadFile(response: AxiosResponse): Promise { + protected processSelectEqpList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -16434,18 +18788,25 @@ export class IcsFactoryServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsFactoryEditDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsInventoryServiceProxy { +export class IcsEquipmentMaintainItemServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -16462,8 +18823,8 @@ export class IcsInventoryServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsInventory/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainItem/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -16514,8 +18875,8 @@ export class IcsInventoryServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsInventoryInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsInventory/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsEquipmentMaintainItemInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainItem/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -16566,8 +18927,8 @@ export class IcsInventoryServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsInventory/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainItem/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -16614,130 +18975,12 @@ export class IcsInventoryServiceProxy { return Promise.resolve(null as any); } - /** - * 获取到所有料品档案表的相关信息(value值为id) - * @return Success - */ - getAllInventory( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsInventory/GetAllInventory"; - url_ = url_.replace(/[?&]$/, ""); - - let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processGetAllInventory(_response); - }); - } - - protected processGetAllInventory(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * 获取到所有料品档案表的相关信息(value值为ItemCode) - * @return Success - */ - getAllInventory2( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsInventory/GetAllInventory2"; - url_ = url_.replace(/[?&]$/, ""); - - let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processGetAllInventory2(_response); - }); - } - - protected processGetAllInventory2(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - /** * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsInventory/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainItem/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -16764,7 +19007,7 @@ export class IcsInventoryServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -16778,22 +19021,22 @@ export class IcsInventoryServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsInventoryListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsEquipmentMaintainItemListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsInventory/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainItem/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -16818,7 +19061,7 @@ export class IcsInventoryServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -16832,33 +19075,33 @@ export class IcsInventoryServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsInventoryForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsEquipmentMaintainItemForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsInventory/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainItem/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -16885,7 +19128,7 @@ export class IcsInventoryServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -16899,46 +19142,28 @@ export class IcsInventoryServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsInventoryListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsEquipmentMaintainItemListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsItem2RouteServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItem2Route/BatchDelete"; + selectMaintainList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainItem/SelectMaintainList"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, method: "POST", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -16950,11 +19175,11 @@ export class IcsItem2RouteServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processSelectMaintainList(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processSelectMaintainList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -16966,21 +19191,97 @@ export class IcsItem2RouteServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsEquipmentMaintainLogServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsItem2RouteInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItem2Route/CreateOrUpdate"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainLog/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); + } + + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateIcsEquipmentMaintainLogInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainLog/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -17031,8 +19332,8 @@ export class IcsItem2RouteServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItem2Route/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainLog/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -17083,8 +19384,8 @@ export class IcsItem2RouteServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItem2Route/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainLog/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -17111,7 +19412,7 @@ export class IcsItem2RouteServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -17125,22 +19426,22 @@ export class IcsItem2RouteServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsItem2RouteListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsEquipmentMaintainLogListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItem2Route/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainLog/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -17165,7 +19466,7 @@ export class IcsItem2RouteServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -17179,33 +19480,33 @@ export class IcsItem2RouteServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsItem2RouteForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsEquipmentMaintainLogForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItem2Route/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainLog/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -17232,7 +19533,7 @@ export class IcsItem2RouteServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -17246,18 +19547,74 @@ export class IcsItem2RouteServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsItem2RouteListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsEquipmentMaintainLogListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + logList(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainLog/LogList"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processLogList(_response); + }); + } + + protected processLogList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfIcsEquipmentMaintainLogListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } } -export class IcsItemModel2CheckGroupServiceProxy { +export class IcsEquipmentMaintainPlanServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -17274,8 +19631,8 @@ export class IcsItemModel2CheckGroupServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemModel2CheckGroup/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainPlan/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -17326,8 +19683,8 @@ export class IcsItemModel2CheckGroupServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsItemModel2CheckGroupInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemModel2CheckGroup/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsEquipmentMaintainPlanInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainPlan/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -17378,8 +19735,8 @@ export class IcsItemModel2CheckGroupServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemModel2CheckGroup/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainPlan/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -17430,8 +19787,8 @@ export class IcsItemModel2CheckGroupServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemModel2CheckGroup/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainPlan/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -17458,7 +19815,7 @@ export class IcsItemModel2CheckGroupServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -17472,22 +19829,22 @@ export class IcsItemModel2CheckGroupServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsItemModel2CheckGroupListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsEquipmentMaintainPlanListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemModel2CheckGroup/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainPlan/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -17512,7 +19869,7 @@ export class IcsItemModel2CheckGroupServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -17526,33 +19883,33 @@ export class IcsItemModel2CheckGroupServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsItemModel2CheckGroupForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsEquipmentMaintainPlanForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemModel2CheckGroup/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentMaintainPlan/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -17579,7 +19936,7 @@ export class IcsItemModel2CheckGroupServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -17593,18 +19950,18 @@ export class IcsItemModel2CheckGroupServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsItemModel2CheckGroupListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsEquipmentMaintainPlanListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsItemOp2CheckItemServiceProxy { +export class IcsEquipmentPartCheckDataServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -17621,8 +19978,8 @@ export class IcsItemOp2CheckItemServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemOp2CheckItem/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckData/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -17673,8 +20030,8 @@ export class IcsItemOp2CheckItemServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsItemOp2CheckItemInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemOp2CheckItem/CreateOrUpdate"; + createOrUpdate(body: IcsEquipmentPartCheckDataEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckData/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -17725,8 +20082,8 @@ export class IcsItemOp2CheckItemServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemOp2CheckItem/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckData/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -17773,12 +20130,138 @@ export class IcsItemOp2CheckItemServiceProxy { return Promise.resolve(null as any); } + /** + * @param body (optional) + * @return Success + */ + eqpPartItemDataList(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckData/EqpPartItemDataList"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processEqpPartItemDataList(_response); + }); + } + + protected processEqpPartItemDataList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsEquipmentPartCheckInputListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + eqpPartItemList(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckData/EqpPartItemList"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processEqpPartItemList(_response); + }); + } + + protected processEqpPartItemList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsEquipmentPartCheckInputListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + /** * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemOp2CheckItem/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckData/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -17805,7 +20288,7 @@ export class IcsItemOp2CheckItemServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -17819,22 +20302,22 @@ export class IcsItemOp2CheckItemServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsItemOp2CheckItemListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsEquipmentPartCheckDataListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemOp2CheckItem/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckData/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -17859,7 +20342,7 @@ export class IcsItemOp2CheckItemServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -17873,33 +20356,33 @@ export class IcsItemOp2CheckItemServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsItemOp2CheckItemForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsEquipmentPartCheckDataForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemOp2CheckItem/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckData/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -17926,7 +20409,7 @@ export class IcsItemOp2CheckItemServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -17940,18 +20423,18 @@ export class IcsItemOp2CheckItemServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsItemOp2CheckItemListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsEquipmentPartCheckDataListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsItemRoute2OpServiceProxy { +export class IcsEquipmentPartCheckItemServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -17968,8 +20451,8 @@ export class IcsItemRoute2OpServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemRoute2Op/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckItem/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -18020,8 +20503,8 @@ export class IcsItemRoute2OpServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsItemRoute2OpInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemRoute2Op/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsEquipmentPartCheckItemInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckItem/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -18072,8 +20555,8 @@ export class IcsItemRoute2OpServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemRoute2Op/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckItem/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -18124,8 +20607,8 @@ export class IcsItemRoute2OpServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemRoute2Op/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckItem/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -18152,7 +20635,7 @@ export class IcsItemRoute2OpServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -18166,22 +20649,22 @@ export class IcsItemRoute2OpServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsItemRoute2OpListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsEquipmentPartCheckItemListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemRoute2Op/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckItem/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -18206,7 +20689,7 @@ export class IcsItemRoute2OpServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -18220,33 +20703,33 @@ export class IcsItemRoute2OpServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsItemRoute2OpForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsEquipmentPartCheckItemForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsItemRoute2Op/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentPartCheckItem/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -18273,7 +20756,7 @@ export class IcsItemRoute2OpServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -18287,18 +20770,18 @@ export class IcsItemRoute2OpServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsItemRoute2OpListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsEquipmentPartCheckItemListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsLotOnWipServiceProxy { +export class IcsEquipmentPartsServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -18312,21 +20795,21 @@ export class IcsLotOnWipServiceProxy { } /** - * 获取扫码设备信息 - * @param value (optional) + * @param body (optional) * @return Success */ - getEqpInfo(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/GetEqpInfo?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentParts/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -18338,11 +20821,11 @@ export class IcsLotOnWipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetEqpInfo(_response); + return this.processBatchDelete(_response); }); } - protected processGetEqpInfo(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -18354,34 +20837,31 @@ export class IcsLotOnWipServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsEquipmentListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取扫码工序信息 - * @param value (optional) + * @param body (optional) * @return Success */ - getOpInfo(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/GetOpInfo?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + createOrUpdate(body: CreateOrUpdateIcsEquipmentPartsInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentParts/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -18393,11 +20873,11 @@ export class IcsLotOnWipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetOpInfo(_response); + return this.processCreateOrUpdate(_response); }); } - protected processGetOpInfo(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -18409,27 +20889,77 @@ export class IcsLotOnWipServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsOPListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取资源信息 - * @param value (optional) + * @param id (optional) * @return Success */ - getResInfo(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/GetResInfo?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentParts/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } + + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentParts/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -18448,11 +20978,11 @@ export class IcsLotOnWipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetResInfo(_response); + return this.processGetById(_response); }); } - protected processGetResInfo(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -18466,25 +20996,24 @@ export class IcsLotOnWipServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsResListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsEquipmentPartsListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取扫码员工信息 - * @param value (optional) + * @param id (optional) * @return Success */ - getUserInfo(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/GetUserInfo?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentParts/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -18503,11 +21032,11 @@ export class IcsLotOnWipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetUserInfo(_response); + return this.processGetForEdit(_response); }); } - protected processGetUserInfo(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -18521,33 +21050,43 @@ export class IcsLotOnWipServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = SelectItemExt.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsEquipmentPartsForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 开工(机架行业) - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - lotOnWipBegin(body: IcsLotOnWipDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/LotOnWipBegin"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentParts/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -18560,11 +21099,11 @@ export class IcsLotOnWipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processLotOnWipBegin(_response); + return this.processGetPaged(_response); }); } - protected processLotOnWipBegin(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -18578,23 +21117,22 @@ export class IcsLotOnWipServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsLotOnWipDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsEquipmentPartsListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 开工(装配) * @param body (optional) * @return Success */ - lotOnWipBegin4Assemble(body: IcsLotOnWipDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/LotOnWipBegin4Assemble"; + selectEqpParts(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentParts/SelectEqpParts"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -18617,11 +21155,11 @@ export class IcsLotOnWipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processLotOnWipBegin4Assemble(_response); + return this.processSelectEqpParts(_response); }); } - protected processLotOnWipBegin4Assemble(response: AxiosResponse): Promise { + protected processSelectEqpParts(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -18635,23 +21173,43 @@ export class IcsLotOnWipServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsLotOnWipDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsEquipmentTSServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 完工(机架行业) * @param body (optional) * @return Success */ - lotOnWipEnd(body: IcsLotOnWipDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/LotOnWipEnd"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentTS/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -18662,7 +21220,6 @@ export class IcsLotOnWipServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -18674,11 +21231,11 @@ export class IcsLotOnWipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processLotOnWipEnd(_response); + return this.processBatchDelete(_response); }); } - protected processLotOnWipEnd(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -18690,25 +21247,21 @@ export class IcsLotOnWipServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsLotOnWipDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 保存 (3C行业) * @param body (optional) * @return Success */ - lotOnWipEnd43C(body: IcsLotOnWipDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/LotOnWipEnd43C"; + createOrUpdate(body: CreateOrUpdateIcsEquipmentTSInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentTS/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -18719,7 +21272,6 @@ export class IcsLotOnWipServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -18731,11 +21283,11 @@ export class IcsLotOnWipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processLotOnWipEnd43C(_response); + return this.processCreateOrUpdate(_response); }); } - protected processLotOnWipEnd43C(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -18747,36 +21299,31 @@ export class IcsLotOnWipServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsLotOnWipDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 完工(装配) - * @param body (optional) + * @param id (optional) * @return Success */ - lotOnWipEnd4Assemble(body: IcsLotOnWipDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/LotOnWipEnd4Assemble"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentTS/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "DELETE", url: url_, headers: { - "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -18788,11 +21335,11 @@ export class IcsLotOnWipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processLotOnWipEnd4Assemble(_response); + return this.processDelete(_response); }); } - protected processLotOnWipEnd4Assemble(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -18804,35 +21351,31 @@ export class IcsLotOnWipServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsLotOnWipDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 工序完工(装配) - * @param body (optional) + * @param id (optional) * @return Success */ - lotOnWipFinalEnd4Assemble(body: IcsLotOnWipDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/LotOnWipFinalEnd4Assemble"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentTS/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -18845,11 +21388,11 @@ export class IcsLotOnWipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processLotOnWipFinalEnd4Assemble(_response); + return this.processGetById(_response); }); } - protected processLotOnWipFinalEnd4Assemble(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -18863,25 +21406,28 @@ export class IcsLotOnWipServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsLotOnWipDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsEquipmentTSListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param id (optional) * @return Success */ - queryCheckGroupList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/QueryCheckGroupList"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentTS/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -18896,11 +21442,11 @@ export class IcsLotOnWipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processQueryCheckGroupList(_response); + return this.processGetForEdit(_response); }); } - protected processQueryCheckGroupList(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -18914,40 +21460,43 @@ export class IcsLotOnWipServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(IcsCheckGroupListDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = GetIcsEquipmentTSForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 查询完工外观检验项目 - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - queryCheckItemBySeg(body: IcsLotOnWipDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/QueryCheckItemBySeg"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsEquipmentTS/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -18960,11 +21509,11 @@ export class IcsLotOnWipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processQueryCheckItemBySeg(_response); + return this.processGetPaged(_response); }); } - protected processQueryCheckItemBySeg(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -18978,30 +21527,36 @@ export class IcsLotOnWipServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(IcsLotTestDataDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsEquipmentTSListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsErpTimeServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 查看图纸文件 * @param body (optional) * @return Success */ - queryDrawFilePath(body: StringDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/QueryDrawFilePath"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsErpTime/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -19012,7 +21567,6 @@ export class IcsLotOnWipServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -19024,11 +21578,11 @@ export class IcsLotOnWipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processQueryDrawFilePath(_response); + return this.processBatchDelete(_response); }); } - protected processQueryDrawFilePath(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -19040,26 +21594,21 @@ export class IcsLotOnWipServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = resultData200 !== undefined ? resultData200 : null; - - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 产品不良代码关系 * @param body (optional) * @return Success */ - queryItem2EcgList(body: StringDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/QueryItem2EcgList"; + createOrUpdate(body: CreateOrUpdateIcsErpTimeInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsErpTime/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -19070,7 +21619,6 @@ export class IcsLotOnWipServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -19082,11 +21630,11 @@ export class IcsLotOnWipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processQueryItem2EcgList(_response); + return this.processCreateOrUpdate(_response); }); } - protected processQueryItem2EcgList(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -19098,42 +21646,83 @@ export class IcsLotOnWipServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(IcsEcg2EcDto.fromJS(item)); + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsErpTime/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - else { - result200 = null; + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } + + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } - return Promise.resolve(result200); + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 产品类别检验类型 - * @param body (optional) + * @param id (optional) * @return Success */ - queryItemModel2CheckGroup(body: StringDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/QueryItemModel2CheckGroup"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsErpTime/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -19146,11 +21735,11 @@ export class IcsLotOnWipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processQueryItemModel2CheckGroup(_response); + return this.processGetById(_response); }); } - protected processQueryItemModel2CheckGroup(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -19164,40 +21753,30 @@ export class IcsLotOnWipServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(IcsLotTestDataDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = IcsErpTimeListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 查询完工测试数据 - * @param body (optional) + * @param id (optional) * @return Success */ - queryItemOp2CheckItem(body: IcsLotOnWipDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/QueryItemOp2CheckItem"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsErpTime/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -19210,11 +21789,11 @@ export class IcsLotOnWipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processQueryItemOp2CheckItem(_response); + return this.processGetForEdit(_response); }); } - protected processQueryItemOp2CheckItem(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -19228,40 +21807,43 @@ export class IcsLotOnWipServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(IcsLotTestDataDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = GetIcsErpTimeForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 验证批次号(产品跟踪单)信息 - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - queryLotNoInfo(body: IcsLotOnWipDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/QueryLotNoInfo"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsErpTime/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -19274,11 +21856,11 @@ export class IcsLotOnWipServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processQueryLotNoInfo(_response); + return this.processGetPaged(_response); }); } - protected processQueryLotNoInfo(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -19292,18 +21874,18 @@ export class IcsLotOnWipServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsLotOnWipDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsErpTimeListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsLotRoute2OpServiceProxy { +export class IcsFactoryServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -19320,8 +21902,8 @@ export class IcsLotRoute2OpServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotRoute2Op/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsFactory/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -19372,8 +21954,8 @@ export class IcsLotRoute2OpServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsLotRoute2OpInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotRoute2Op/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsFactoryInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsFactory/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -19424,8 +22006,8 @@ export class IcsLotRoute2OpServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotRoute2Op/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsFactory/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -19472,12 +22054,70 @@ export class IcsLotRoute2OpServiceProxy { return Promise.resolve(null as any); } + /** + * @return Success + */ + getAllFactoryList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsFactory/GetAllFactoryList"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetAllFactoryList(_response); + }); + } + + protected processGetAllFactoryList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + /** * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotRoute2Op/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsFactory/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -19504,7 +22144,7 @@ export class IcsLotRoute2OpServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -19518,22 +22158,22 @@ export class IcsLotRoute2OpServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsLotRoute2OpListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsFactoryListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotRoute2Op/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsFactory/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -19558,7 +22198,7 @@ export class IcsLotRoute2OpServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -19572,33 +22212,33 @@ export class IcsLotRoute2OpServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsLotRoute2OpForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsFactoryForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsLotRoute2Op/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsFactory/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -19625,7 +22265,7 @@ export class IcsLotRoute2OpServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -19639,18 +22279,131 @@ export class IcsLotRoute2OpServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsLotRoute2OpListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsFactoryListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + printLabel(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsFactory/PrintLabel"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processPrintLabel(_response); + }); + } + + protected processPrintLabel(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + uploadFile(body: IcsFactoryListDto[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsFactory/UploadFile"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUploadFile(_response); + }); + } + + protected processUploadFile(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsFactoryEditDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } } -export class IcsMachineCellServiceProxy { +export class IcsInventoryServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -19667,8 +22420,8 @@ export class IcsMachineCellServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMachineCell/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsInventory/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -19719,8 +22472,8 @@ export class IcsMachineCellServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsMachineCellInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMachineCell/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsInventoryInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsInventory/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -19771,8 +22524,8 @@ export class IcsMachineCellServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMachineCell/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsInventory/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -19820,18 +22573,21 @@ export class IcsMachineCellServiceProxy { } /** - * 获取所有加工单元 + * @param id (optional) * @return Success */ - getAllMachineCell( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMachineCell/GetAllMachineCell"; + deleteItemParseBarcode(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsInventory/DeleteItemParseBarcode?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -19843,11 +22599,11 @@ export class IcsMachineCellServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllMachineCell(_response); + return this.processDeleteItemParseBarcode(_response); }); } - protected processGetAllMachineCell(response: AxiosResponse): Promise { + protected processDeleteItemParseBarcode(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -19859,34 +22615,20 @@ export class IcsMachineCellServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有加工单元列表 - * @param value (optional) * @return Success */ - getAllMachineCellList(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMachineCell/GetAllMachineCellList?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + getAllInventory( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsInventory/GetAllInventory"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -19905,11 +22647,11 @@ export class IcsMachineCellServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllMachineCellList(_response); + return this.processGetAllInventory(_response); }); } - protected processGetAllMachineCellList(response: AxiosResponse): Promise { + protected processGetAllInventory(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -19926,26 +22668,26 @@ export class IcsMachineCellServiceProxy { if (Array.isArray(resultData200)) { result200 = [] as any; for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); + result200.push(SelectItemExt.fromJS(item)); } else { result200 = null; } - return Promise.resolve(result200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMachineCell/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsInventory/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -19972,7 +22714,7 @@ export class IcsMachineCellServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -19986,22 +22728,22 @@ export class IcsMachineCellServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsMachineCellListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsInventoryListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMachineCell/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsInventory/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -20026,7 +22768,7 @@ export class IcsMachineCellServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -20040,33 +22782,33 @@ export class IcsMachineCellServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsMachineCellForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsInventoryForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMachineCell/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsInventory/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -20093,7 +22835,7 @@ export class IcsMachineCellServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -20107,23 +22849,74 @@ export class IcsMachineCellServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsMachineCellListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsInventoryListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有加工单元列表(条件为车间或产线) * @param body (optional) * @return Success */ - queryAllMachineCellList2(body: StringDtoEx | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMachineCell/QueryAllMachineCellList2"; + saveItemParseBarcode(body: IcsInventoryEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsInventory/SaveItemParseBarcode"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSaveItemParseBarcode(_response); + }); + } + + protected processSaveItemParseBarcode(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + selectItemOfCategoryCode(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsInventory/SelectItemOfCategoryCode"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -20146,11 +22939,11 @@ export class IcsMachineCellServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processQueryAllMachineCellList2(_response); + return this.processSelectItemOfCategoryCode(_response); }); } - protected processQueryAllMachineCellList2(response: AxiosResponse): Promise { + protected processSelectItemOfCategoryCode(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -20167,40 +22960,78 @@ export class IcsMachineCellServiceProxy { if (Array.isArray(resultData200)) { result200 = [] as any; for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); + result200.push(SelectItemExt.fromJS(item)); } else { result200 = null; } - return Promise.resolve(result200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } -} -export class IcsMainCategoryCodeServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + /** + * @param body (optional) + * @return Success + */ + syncItemTypeFromItem(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsInventory/SyncItemTypeFromItem"; + url_ = url_.replace(/[?&]$/, ""); - constructor(baseUrl?: string, instance?: AxiosInstance) { + const content_ = JSON.stringify(body); - this.instance = instance ? instance : axios.create(); + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSyncItemTypeFromItem(_response); + }); + } + + protected processSyncItemTypeFromItem(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMainCategoryCode/BatchDelete"; + syncItemTypeFromItemMainCode(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsInventory/SyncItemTypeFromItemMainCode"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -20222,11 +23053,11 @@ export class IcsMainCategoryCodeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processSyncItemTypeFromItemMainCode(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processSyncItemTypeFromItemMainCode(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -20246,13 +23077,27 @@ export class IcsMainCategoryCodeServiceProxy { } return Promise.resolve(null as any); } +} + +export class IcsItem2RouteServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } /** * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsMainCategoryCodeInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMainCategoryCode/CreateOrUpdate"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItem2Route/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -20274,11 +23119,11 @@ export class IcsMainCategoryCodeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processBatchDelete(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -20300,21 +23145,21 @@ export class IcsMainCategoryCodeServiceProxy { } /** - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMainCategoryCode/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + createOrUpdate(body: CreateOrUpdateIcsItem2RouteInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItem2Route/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -20326,11 +23171,11 @@ export class IcsMainCategoryCodeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processCreateOrUpdate(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -20352,18 +23197,21 @@ export class IcsMainCategoryCodeServiceProxy { } /** - * 获取所有物料主分类信息(value为id) + * @param id (optional) * @return Success */ - getAllMainCategoryCode( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMainCategoryCode/GetAllMainCategoryCode"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItem2Route/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -20375,11 +23223,11 @@ export class IcsMainCategoryCodeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllMainCategoryCode(_response); + return this.processDelete(_response); }); } - protected processGetAllMainCategoryCode(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -20391,31 +23239,23 @@ export class IcsMainCategoryCodeServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有物料主分类信息(value为ItemMainCategoryCode) + * @param value (optional) * @return Success */ - getAllMainCategoryCode2( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMainCategoryCode/GetAllMainCategoryCode2"; + getAllItemRoute2OpList(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItem2Route/GetAllItemRoute2OpList?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -20434,11 +23274,11 @@ export class IcsMainCategoryCodeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllMainCategoryCode2(_response); + return this.processGetAllItemRoute2OpList(_response); }); } - protected processGetAllMainCategoryCode2(response: AxiosResponse): Promise { + protected processGetAllItemRoute2OpList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -20473,8 +23313,8 @@ export class IcsMainCategoryCodeServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMainCategoryCode/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItem2Route/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -20501,7 +23341,7 @@ export class IcsMainCategoryCodeServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -20515,22 +23355,22 @@ export class IcsMainCategoryCodeServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsMainCategoryCodeListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsItem2RouteListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMainCategoryCode/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItem2Route/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -20555,7 +23395,7 @@ export class IcsMainCategoryCodeServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -20569,33 +23409,33 @@ export class IcsMainCategoryCodeServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsMainCategoryCodeForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsItem2RouteForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMainCategoryCode/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItem2Route/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -20622,7 +23462,7 @@ export class IcsMainCategoryCodeServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -20636,23 +23476,36 @@ export class IcsMainCategoryCodeServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsMainCategoryCodeListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsItem2RouteListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsItemModel2CheckGroupServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 获取物料主分类信息 * @param body (optional) * @return Success */ - selectMainCategoryCode(body: StringDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMainCategoryCode/SelectMainCategoryCode"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemModel2CheckGroup/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -20663,7 +23516,6 @@ export class IcsMainCategoryCodeServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -20675,11 +23527,11 @@ export class IcsMainCategoryCodeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSelectMainCategoryCode(_response); + return this.processBatchDelete(_response); }); } - protected processSelectMainCategoryCode(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -20691,97 +23543,21 @@ export class IcsMainCategoryCodeServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsManualRecordingServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsManualRecording/BatchDelete"; - url_ = url_.replace(/[?&]$/, ""); - - const content_ = JSON.stringify(body); - - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", - url: url_, - headers: { - "Content-Type": "application/json-patch+json", - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); - }); - } - - protected processBatchDelete(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - return Promise.resolve(null as any); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * @param body (optional) - * @return Success - */ - createOrUpdate(body: CreateOrUpdateIcsManualRecordingInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsManualRecording/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsItemModel2CheckGroupInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemModel2CheckGroup/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -20832,8 +23608,8 @@ export class IcsManualRecordingServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsManualRecording/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemModel2CheckGroup/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -20884,8 +23660,8 @@ export class IcsManualRecordingServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsManualRecording/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemModel2CheckGroup/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -20912,7 +23688,7 @@ export class IcsManualRecordingServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -20926,22 +23702,22 @@ export class IcsManualRecordingServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsManualRecordingListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsItemModel2CheckGroupListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsManualRecording/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemModel2CheckGroup/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -20966,7 +23742,7 @@ export class IcsManualRecordingServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -20980,33 +23756,33 @@ export class IcsManualRecordingServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsManualRecordingForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsItemModel2CheckGroupForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsManualRecording/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemModel2CheckGroup/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -21033,7 +23809,7 @@ export class IcsManualRecordingServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -21047,18 +23823,18 @@ export class IcsManualRecordingServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsManualRecordingListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsItemModel2CheckGroupListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsMoServiceProxy { +export class IcsItemOp2CheckItemServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -21075,8 +23851,8 @@ export class IcsMoServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemOp2CheckItem/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -21124,12 +23900,11 @@ export class IcsMoServiceProxy { } /** - * 取消关单 * @param body (optional) * @return Success */ - cancelCloseMo(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo/CancelCloseMo"; + createOrUpdate(body: CreateOrUpdateIcsItemOp2CheckItemInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemOp2CheckItem/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -21140,7 +23915,6 @@ export class IcsMoServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -21152,11 +23926,11 @@ export class IcsMoServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCancelCloseMo(_response); + return this.processCreateOrUpdate(_response); }); } - protected processCancelCloseMo(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -21168,36 +23942,31 @@ export class IcsMoServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsMoEditDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 取消下发 - * @param body (optional) + * @param id (optional) * @return Success */ - cancelMoSend(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo/CancelMoSend"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemOp2CheckItem/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "DELETE", url: url_, headers: { - "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -21209,11 +23978,11 @@ export class IcsMoServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCancelMoSend(_response); + return this.processDelete(_response); }); } - protected processCancelMoSend(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -21225,35 +23994,31 @@ export class IcsMoServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsMoEditDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 关单 - * @param body (optional) + * @param id (optional) * @return Success */ - closeMo(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo/CloseMo"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemOp2CheckItem/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -21266,11 +24031,11 @@ export class IcsMoServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCloseMo(_response); + return this.processGetById(_response); }); } - protected processCloseMo(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -21284,84 +24049,31 @@ export class IcsMoServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsMoEditDto.fromJS(resultData200); - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * @param body (optional) - * @return Success - */ - createOrUpdate(body: CreateOrUpdateIcsMoInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo/CreateOrUpdate"; - url_ = url_.replace(/[?&]$/, ""); - - const content_ = JSON.stringify(body); - - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", - url: url_, - headers: { - "Content-Type": "application/json-patch+json", - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); - }); - } - - protected processCreateOrUpdate(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - return Promise.resolve(null as any); + result200 = IcsItemOp2CheckItemListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemOp2CheckItem/GetForEdit?"; + if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "DELETE", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -21373,11 +24085,11 @@ export class IcsMoServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processGetForEdit(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -21389,31 +24101,46 @@ export class IcsMoServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = GetIcsItemOp2CheckItemForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - downloadFile(body: StringDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo/DownloadFile"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemOp2CheckItem/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -21425,11 +24152,11 @@ export class IcsMoServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDownloadFile(_response); + return this.processGetPaged(_response); }); } - protected processDownloadFile(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -21441,21 +24168,24 @@ export class IcsMoServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfIcsItemOp2CheckItemListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - downloadFile2(body: StringDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo/DownloadFile2"; + queryItemOp2CheckItem(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemOp2CheckItem/QueryItemOp2CheckItem"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -21478,11 +24208,11 @@ export class IcsMoServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDownloadFile2(_response); + return this.processQueryItemOp2CheckItem(_response); }); } - protected processDownloadFile2(response: AxiosResponse): Promise { + protected processQueryItemOp2CheckItem(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -21496,32 +24226,53 @@ export class IcsMoServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = HttpResponseMessage.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsLotTestDataDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsItemRoute2OpServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 获取所有产品途程 - * @param value (optional) + * @param body (optional) * @return Success */ - getAllItemRoute(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo/GetAllItemRoute?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemRoute2Op/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -21533,11 +24284,11 @@ export class IcsMoServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllItemRoute(_response); + return this.processBatchDelete(_response); }); } - protected processGetAllItemRoute(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -21549,42 +24300,31 @@ export class IcsMoServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + createOrUpdate(body: CreateOrUpdateIcsItemRoute2OpInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemRoute2Op/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -21596,11 +24336,11 @@ export class IcsMoServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processCreateOrUpdate(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -21612,33 +24352,31 @@ export class IcsMoServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsMoListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo/GetForEdit?"; - if (id !== undefined && id !== null) + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemRoute2Op/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -21650,11 +24388,11 @@ export class IcsMoServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processDelete(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -21666,39 +24404,25 @@ export class IcsMoServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetIcsMoForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param id (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemRoute2Op/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -21717,11 +24441,11 @@ export class IcsMoServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processGetById(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -21735,33 +24459,30 @@ export class IcsMoServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsMoListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsItemRoute2OpListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 工单分批 - * @param body (optional) + * @param id (optional) * @return Success */ - mo2Lot(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo/Mo2Lot"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemRoute2Op/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -21774,11 +24495,11 @@ export class IcsMoServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processMo2Lot(_response); + return this.processGetForEdit(_response); }); } - protected processMo2Lot(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -21792,33 +24513,43 @@ export class IcsMoServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsMoEditDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsItemRoute2OpForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 下发工单 - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - moSend(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo/MoSend"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemRoute2Op/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -21831,11 +24562,11 @@ export class IcsMoServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processMoSend(_response); + return this.processGetPaged(_response); }); } - protected processMoSend(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -21849,18 +24580,18 @@ export class IcsMoServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsMoEditDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsItemRoute2OpListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsMo2LotServiceProxy { +export class IcsItemStd2RouteServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -21877,8 +24608,8 @@ export class IcsMo2LotServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemStd2Route/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -21929,8 +24660,8 @@ export class IcsMo2LotServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsMo2LotInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsItemStd2RouteInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemStd2Route/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -21981,8 +24712,8 @@ export class IcsMo2LotServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemStd2Route/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -22033,8 +24764,8 @@ export class IcsMo2LotServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemStd2Route/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -22061,7 +24792,7 @@ export class IcsMo2LotServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -22075,22 +24806,22 @@ export class IcsMo2LotServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsMo2LotListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsItemStd2RouteListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemStd2Route/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -22115,7 +24846,7 @@ export class IcsMo2LotServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -22129,14 +24860,14 @@ export class IcsMo2LotServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsMo2LotForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsItemStd2RouteForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** @@ -22146,8 +24877,8 @@ export class IcsMo2LotServiceProxy { * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/GetPaged?"; + getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemStd2Route/GetPaged?"; if (filterText !== undefined && filterText !== null) url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; if (sorting !== undefined && sorting !== null) @@ -22182,7 +24913,7 @@ export class IcsMo2LotServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -22196,87 +24927,36 @@ export class IcsMo2LotServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsMo2LotListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsItemStd2RouteListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } +} - /** - * 分批 - * @param body (optional) - * @return Success - */ - moLotGenerate(body: IcsMo2LotEditDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/MoLotGenerate"; - url_ = url_.replace(/[?&]$/, ""); - - const content_ = JSON.stringify(body); +export class IcsItemStdRoute2OpServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", - url: url_, - headers: { - "Content-Type": "application/json-patch+json", - "Accept": "text/plain" - }, - cancelToken - }; + constructor(baseUrl?: string, instance?: AxiosInstance) { - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processMoLotGenerate(_response); - }); - } + this.instance = instance ? instance : axios.create(); - protected processMoLotGenerate(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(IcsMo2LotEditDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); } /** - * 打印跟踪单 * @param body (optional) * @return Success */ - printLotno(body: IcsMo2LotEditDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/PrintLotno"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemStdRoute2Op/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -22298,11 +24978,11 @@ export class IcsMo2LotServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processPrintLotno(_response); + return this.processBatchDelete(_response); }); } - protected processPrintLotno(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -22324,12 +25004,11 @@ export class IcsMo2LotServiceProxy { } /** - * 获取当前工单信息 * @param body (optional) * @return Success */ - querySingleMoCodeInfo(body: IcsMo2LotEditDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/QuerySingleMoCodeInfo"; + createOrUpdate(body: CreateOrUpdateIcsItemStd2RouteInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemStdRoute2Op/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -22340,7 +25019,6 @@ export class IcsMo2LotServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -22352,11 +25030,11 @@ export class IcsMo2LotServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processQuerySingleMoCodeInfo(_response); + return this.processCreateOrUpdate(_response); }); } - protected processQuerySingleMoCodeInfo(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -22368,48 +25046,31 @@ export class IcsMo2LotServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsMo2LotEditDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsModel2EcgServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * @param body (optional) + * @param id (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecg/BatchDelete"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemStdRoute2Op/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "DELETE", url: url_, headers: { - "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -22421,11 +25082,11 @@ export class IcsModel2EcgServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processDelete(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -22447,22 +25108,22 @@ export class IcsModel2EcgServiceProxy { } /** - * 全部不良相关绑定 - * @param body (optional) + * @param id (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsModel2EcgInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecg/CreateOrUpdate"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemStdRoute2Op/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -22474,11 +25135,11 @@ export class IcsModel2EcgServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processGetById(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -22490,31 +25151,33 @@ export class IcsModel2EcgServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsItemStdRoute2OpListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecg/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemStdRoute2Op/GetForEdit?"; + if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "DELETE", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -22526,11 +25189,11 @@ export class IcsModel2EcgServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processGetForEdit(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -22542,25 +25205,39 @@ export class IcsModel2EcgServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = GetIcsItemStd2RouteForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecg/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemStdRoute2Op/GetPaged?"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -22579,11 +25256,11 @@ export class IcsModel2EcgServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processGetPaged(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -22597,31 +25274,32 @@ export class IcsModel2EcgServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsModel2EcgListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsItemStd2RouteListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecg/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + synchronization(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsItemStdRoute2Op/Synchronization"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -22633,11 +25311,11 @@ export class IcsModel2EcgServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processSynchronization(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processSynchronization(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -22649,39 +25327,37 @@ export class IcsModel2EcgServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetIcsModel2EcgForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsLotCheckResultServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param value (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecg/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + getUserInfo(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotCheckResult/GetUserInfo?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -22700,11 +25376,11 @@ export class IcsModel2EcgServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processGetUserInfo(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetUserInfo(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -22718,36 +25394,78 @@ export class IcsModel2EcgServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsModel2EcgListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = SelectItemExt.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } -} -export class IcsModel2EcsServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + /** + * @param body (optional) + * @return Success + */ + lotCheckResultSave4CP(body: IcsLotCheckResultDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotCheckResult/LotCheckResultSave4CP"; + url_ = url_.replace(/[?&]$/, ""); - constructor(baseUrl?: string, instance?: AxiosInstance) { + const content_ = JSON.stringify(body); - this.instance = instance ? instance : axios.create(); + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processLotCheckResultSave4CP(_response); + }); + } + + protected processLotCheckResultSave4CP(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsLotCheckResultDto.fromJS(resultData200); + return Promise.resolve(result200); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecs/BatchDelete"; + lotCheckResultSave4OP(body: IcsLotCheckResultDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotCheckResult/LotCheckResultSave4OP"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -22758,6 +25476,7 @@ export class IcsModel2EcsServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -22769,11 +25488,11 @@ export class IcsModel2EcsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processLotCheckResultSave4OP(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processLotCheckResultSave4OP(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -22785,21 +25504,24 @@ export class IcsModel2EcsServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsLotCheckResultDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsModel2EcsInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecs/CreateOrUpdate"; + lotCheckResultSave4ZC(body: IcsLotCheckResultDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotCheckResult/LotCheckResultSave4ZC"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -22810,6 +25532,7 @@ export class IcsModel2EcsServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -22821,11 +25544,11 @@ export class IcsModel2EcsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processLotCheckResultSave4ZC(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processLotCheckResultSave4ZC(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -22837,31 +25560,48 @@ export class IcsModel2EcsServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsLotCheckResultDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsLotOnWipServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecs/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + cancelLotOnWipBegin(body: IcsLotOnWipDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/CancelLotOnWipBegin"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -22873,11 +25613,11 @@ export class IcsModel2EcsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processCancelLotOnWipBegin(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processCancelLotOnWipBegin(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -22899,21 +25639,21 @@ export class IcsModel2EcsServiceProxy { } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecs/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + checkFeedBarCode(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/CheckFeedBarCode"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -22926,11 +25666,11 @@ export class IcsModel2EcsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processCheckFeedBarCode(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processCheckFeedBarCode(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -22944,31 +25684,32 @@ export class IcsModel2EcsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsModel2EcsListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsItemLotDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecs/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + generateFirtCheckMidTestList(body: IcsLotOnWipDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/GenerateFirtCheckMidTestList"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -22980,11 +25721,11 @@ export class IcsModel2EcsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processGenerateFirtCheckMidTestList(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGenerateFirtCheckMidTestList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -22996,46 +25737,31 @@ export class IcsModel2EcsServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetIcsModel2EcsForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param body (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecs/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + generateLastCheckMidTestList(body: IcsLotOnWipDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/GenerateLastCheckMidTestList"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -23047,11 +25773,11 @@ export class IcsModel2EcsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processGenerateLastCheckMidTestList(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGenerateLastCheckMidTestList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -23063,48 +25789,30 @@ export class IcsModel2EcsServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsModel2EcsListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsModel2EcsgServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * @param body (optional) + * @param value (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecsg/BatchDelete"; + getEqpInfo(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/GetEqpInfo?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -23116,11 +25824,11 @@ export class IcsModel2EcsgServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processGetEqpInfo(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processGetEqpInfo(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -23132,31 +25840,33 @@ export class IcsModel2EcsgServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsEquipmentListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param body (optional) + * @param value (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsModel2EcsgInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecsg/CreateOrUpdate"; + getOpInfo(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/GetOpInfo?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -23168,11 +25878,11 @@ export class IcsModel2EcsgServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processGetOpInfo(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processGetOpInfo(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -23184,31 +25894,33 @@ export class IcsModel2EcsgServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsOPListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param value (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecsg/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getResInfo(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/GetResInfo?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "DELETE", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -23220,11 +25932,11 @@ export class IcsModel2EcsgServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processGetResInfo(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processGetResInfo(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -23236,25 +25948,26 @@ export class IcsModel2EcsgServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsResListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param value (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecsg/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getUserInfo(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/GetUserInfo?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -23273,11 +25986,11 @@ export class IcsModel2EcsgServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processGetUserInfo(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetUserInfo(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -23291,30 +26004,32 @@ export class IcsModel2EcsgServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsModel2EcsgListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = SelectItemExt.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecsg/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + lotOnWip4Item(body: IcsLotOnWipDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/LotOnWip4Item"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -23327,11 +26042,11 @@ export class IcsModel2EcsgServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processLotOnWip4Item(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processLotOnWip4Item(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -23345,43 +26060,32 @@ export class IcsModel2EcsgServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsModel2EcsgForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsLotOnWipDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param body (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecsg/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + lotOnWipBegin(body: IcsLotOnWipDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/LotOnWipBegin"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -23394,11 +26098,11 @@ export class IcsModel2EcsgServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processLotOnWipBegin(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processLotOnWipBegin(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -23412,36 +26116,22 @@ export class IcsModel2EcsgServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsModel2EcsgListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsLotOnWipDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsModel2SolutionServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Solution/BatchDelete"; + lotOnWipBegin4Assemble(body: IcsLotOnWipDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/LotOnWipBegin4Assemble"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -23452,6 +26142,7 @@ export class IcsModel2SolutionServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -23463,11 +26154,11 @@ export class IcsModel2SolutionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processLotOnWipBegin4Assemble(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processLotOnWipBegin4Assemble(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -23479,21 +26170,24 @@ export class IcsModel2SolutionServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsLotOnWipDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsModel2SolutionInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Solution/CreateOrUpdate"; + lotOnWipBeginAll(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/LotOnWipBeginAll"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -23515,11 +26209,11 @@ export class IcsModel2SolutionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processLotOnWipBeginAll(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processLotOnWipBeginAll(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -23541,21 +26235,22 @@ export class IcsModel2SolutionServiceProxy { } /** - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Solution/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + lotOnWipEnd(body: IcsLotOnWipDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/LotOnWipEnd"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -23567,11 +26262,11 @@ export class IcsModel2SolutionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processLotOnWipEnd(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processLotOnWipEnd(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -23583,31 +26278,34 @@ export class IcsModel2SolutionServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsLotOnWipDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Solution/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + lotOnWipEnd43C(body: IcsLotOnWipDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/LotOnWipEnd43C"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -23620,11 +26318,11 @@ export class IcsModel2SolutionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processLotOnWipEnd43C(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processLotOnWipEnd43C(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -23638,30 +26336,32 @@ export class IcsModel2SolutionServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsModel2SolutionListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsLotOnWipDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Solution/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + lotOnWipEnd4Assemble(body: IcsLotOnWipDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/LotOnWipEnd4Assemble"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -23674,11 +26374,11 @@ export class IcsModel2SolutionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processLotOnWipEnd4Assemble(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processLotOnWipEnd4Assemble(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -23692,44 +26392,32 @@ export class IcsModel2SolutionServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsModel2SolutionForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsLotOnWipDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param body (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsModel2Solution/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + lotOnWipEndAll(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/LotOnWipEndAll"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -23741,11 +26429,11 @@ export class IcsModel2SolutionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processLotOnWipEndAll(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processLotOnWipEndAll(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -23757,38 +26445,21 @@ export class IcsModel2SolutionServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsModel2SolutionListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsMoDispatchingServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/BatchDelete"; + lotOnWipFinalEnd4Assemble(body: IcsLotOnWipDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/LotOnWipFinalEnd4Assemble"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -23799,6 +26470,7 @@ export class IcsMoDispatchingServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -23810,11 +26482,11 @@ export class IcsMoDispatchingServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processLotOnWipFinalEnd4Assemble(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processLotOnWipFinalEnd4Assemble(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -23826,21 +26498,24 @@ export class IcsMoDispatchingServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsLotOnWipDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsMoDispatchingInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/CreateOrUpdate"; + queryDrawFilePath(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/QueryDrawFilePath"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -23851,6 +26526,7 @@ export class IcsMoDispatchingServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -23862,11 +26538,11 @@ export class IcsMoDispatchingServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processQueryDrawFilePath(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processQueryDrawFilePath(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -23878,31 +26554,36 @@ export class IcsMoDispatchingServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + queryItem2EcgList(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/QueryItem2EcgList"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -23914,11 +26595,11 @@ export class IcsMoDispatchingServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processQueryItem2EcgList(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processQueryItem2EcgList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -23930,31 +26611,41 @@ export class IcsMoDispatchingServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsEcg2EcDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + queryItemModel2CheckGroup(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/QueryItemModel2CheckGroup"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -23967,11 +26658,11 @@ export class IcsMoDispatchingServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processQueryItemModel2CheckGroup(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processQueryItemModel2CheckGroup(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -23985,30 +26676,39 @@ export class IcsMoDispatchingServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsMoDispatchingListDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsLotTestDataDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + queryLotNoInfo(body: IcsLotOnWipDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/QueryLotNoInfo"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -24021,11 +26721,11 @@ export class IcsMoDispatchingServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processQueryLotNoInfo(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processQueryLotNoInfo(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -24039,43 +26739,32 @@ export class IcsMoDispatchingServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsMoDispatchingForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsLotOnWipDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param body (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + queryLotOnWipBeginAll(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/QueryLotOnWipBeginAll"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -24088,11 +26777,11 @@ export class IcsMoDispatchingServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processQueryLotOnWipBeginAll(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processQueryLotOnWipBeginAll(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -24106,44 +26795,32 @@ export class IcsMoDispatchingServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsMoDispatchingListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsLotOnWip2Dto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 查询所有待派工单 - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param body (optional) * @return Success */ - getWaitMoListPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/GetWaitMoListPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + queryOpBomList(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/QueryOpBomList"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -24156,11 +26833,11 @@ export class IcsMoDispatchingServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetWaitMoListPaged(_response); + return this.processQueryOpBomList(_response); }); } - protected processGetWaitMoListPaged(response: AxiosResponse): Promise { + protected processQueryOpBomList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -24174,23 +26851,29 @@ export class IcsMoDispatchingServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsMoListDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsOPBomDetailListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 查询工单序列号到工序(多个工单) * @param body (optional) * @return Success */ - queryAllMo2Lot2OpList(body: IcsMo2LotListDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/QueryAllMo2Lot2OpList"; + queryOpBomList43C(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/QueryOpBomList43C"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -24213,11 +26896,11 @@ export class IcsMoDispatchingServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processQueryAllMo2Lot2OpList(_response); + return this.processQueryOpBomList43C(_response); }); } - protected processQueryAllMo2Lot2OpList(response: AxiosResponse): Promise { + protected processQueryOpBomList43C(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -24234,27 +26917,26 @@ export class IcsMoDispatchingServiceProxy { if (Array.isArray(resultData200)) { result200 = [] as any; for (let item of resultData200) - result200.push(IcsMo2LotListDto.fromJS(item)); + result200.push(IcsOPBomDetailListDto.fromJS(item)); } else { result200 = null; } - return Promise.resolve(result200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 查询工单序列号(多个工单) * @param body (optional) * @return Success */ - queryAllMo2LotList(body: IcsMoListDto[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/QueryAllMo2LotList"; + queryOpInfo(body: IcsLotOnWipDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/QueryOpInfo"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -24277,11 +26959,11 @@ export class IcsMoDispatchingServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processQueryAllMo2LotList(_response); + return this.processQueryOpInfo(_response); }); } - protected processQueryAllMo2LotList(response: AxiosResponse): Promise { + protected processQueryOpInfo(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -24295,94 +26977,22 @@ export class IcsMoDispatchingServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(IcsMo2LotListDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * 获取所有已派工信息 - * @param body (optional) - * @return Success - */ - queryAllMoDispatchList(body: IcsMo2LotListDto[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/QueryAllMoDispatchList"; - url_ = url_.replace(/[?&]$/, ""); - - const content_ = JSON.stringify(body); - - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", - url: url_, - headers: { - "Content-Type": "application/json-patch+json", - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processQueryAllMoDispatchList(_response); - }); - } - - protected processQueryAllMoDispatchList(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(IcsMoDispatchingListDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = IcsLotOnWipDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 查询工单序列号 * @param body (optional) * @return Success */ - queryMo2LotList(body: IcsMoListDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/QueryMo2LotList"; + querySeg2Parameter(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotOnWip/QuerySeg2Parameter"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -24405,11 +27015,11 @@ export class IcsMoDispatchingServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processQueryMo2LotList(_response); + return this.processQuerySeg2Parameter(_response); }); } - protected processQueryMo2LotList(response: AxiosResponse): Promise { + protected processQuerySeg2Parameter(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -24426,91 +27036,40 @@ export class IcsMoDispatchingServiceProxy { if (Array.isArray(resultData200)) { result200 = [] as any; for (let item of resultData200) - result200.push(IcsMo2LotListDto.fromJS(item)); + result200.push(IcsSeg2SysParameter.fromJS(item)); } else { result200 = null; } - return Promise.resolve(result200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } +} - /** - * 查询工单途程-工序详情 - * @param body (optional) - * @return Success - */ - queryMoRoute2Op(body: IcsMoListDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/QueryMoRoute2Op"; - url_ = url_.replace(/[?&]$/, ""); - - const content_ = JSON.stringify(body); +export class IcsLotRoute2OpServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", - url: url_, - headers: { - "Content-Type": "application/json-patch+json", - "Accept": "text/plain" - }, - cancelToken - }; + constructor(baseUrl?: string, instance?: AxiosInstance) { - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processQueryMoRoute2Op(_response); - }); - } + this.instance = instance ? instance : axios.create(); - protected processQueryMoRoute2Op(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(IcsMoDispatchingListDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); } /** - * 保存派工信息(到工序) * @param body (optional) * @return Success */ - save2(body: IcsMoDispatchingEditDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/Save2"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotRoute2Op/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -24532,11 +27091,11 @@ export class IcsMoDispatchingServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSave2(_response); + return this.processBatchDelete(_response); }); } - protected processSave2(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -24558,12 +27117,11 @@ export class IcsMoDispatchingServiceProxy { } /** - * 保存派工信息(到产线) * @param body (optional) * @return Success */ - save3(body: IcsMoDispatchingEditDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/Save3"; + checkDelete(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotRoute2Op/CheckDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -24574,6 +27132,7 @@ export class IcsMoDispatchingServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -24585,11 +27144,11 @@ export class IcsMoDispatchingServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSave3(_response); + return this.processCheckDelete(_response); }); } - protected processSave3(response: AxiosResponse): Promise { + protected processCheckDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -24601,35 +27160,24 @@ export class IcsMoDispatchingServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = StringDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsNcrDocServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/BatchDelete"; + createOrUpdate(body: CreateOrUpdateIcsLotRoute2OpInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotRoute2Op/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -24651,11 +27199,11 @@ export class IcsNcrDocServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processCreateOrUpdate(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -24677,21 +27225,21 @@ export class IcsNcrDocServiceProxy { } /** - * @param body (optional) + * @param id (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsNcrDocInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/CreateOrUpdate"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotRoute2Op/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "DELETE", url: url_, headers: { - "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -24703,11 +27251,11 @@ export class IcsNcrDocServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processDelete(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -24732,8 +27280,8 @@ export class IcsNcrDocServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/Delete?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotRoute2Op/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -24741,9 +27289,10 @@ export class IcsNcrDocServiceProxy { url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "DELETE", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -24755,11 +27304,11 @@ export class IcsNcrDocServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processGetById(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -24771,24 +27320,25 @@ export class IcsNcrDocServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsLotRoute2OpListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotRoute2Op/GetForEdit?"; + if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -24808,11 +27358,11 @@ export class IcsNcrDocServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processGetForEdit(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -24826,23 +27376,25 @@ export class IcsNcrDocServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsNcrDocListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsLotRoute2OpForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/GetForEdit?"; - if (id !== undefined && id !== null) + getMoRoute(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotRoute2Op/GetMoRoute?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -24862,11 +27414,11 @@ export class IcsNcrDocServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processGetMoRoute(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetMoRoute(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -24880,33 +27432,40 @@ export class IcsNcrDocServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsNcrDocForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsRoute2OpDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsLotRoute2Op/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -24933,7 +27492,7 @@ export class IcsNcrDocServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -24947,18 +27506,18 @@ export class IcsNcrDocServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsNcrDocListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsLotRoute2OpListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsOPServiceProxy { +export class IcsMachineCellServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -24975,8 +27534,8 @@ export class IcsOPServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOP/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMachineCell/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -25027,8 +27586,8 @@ export class IcsOPServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsOPInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOP/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsMachineCellInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMachineCell/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -25079,8 +27638,8 @@ export class IcsOPServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOP/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMachineCell/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -25128,11 +27687,13 @@ export class IcsOPServiceProxy { } /** - * 获取到所有的工序信息(value为id) + * @param value (optional) * @return Success */ - getAllOP( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOP/GetAllOP"; + getAllMachineCellList(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMachineCell/GetAllMachineCellList?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -25151,11 +27712,11 @@ export class IcsOPServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllOP(_response); + return this.processGetAllMachineCellList(_response); }); } - protected processGetAllOP(response: AxiosResponse): Promise { + protected processGetAllMachineCellList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -25187,11 +27748,15 @@ export class IcsOPServiceProxy { } /** - * 获取到所有的工序信息(value为OPCode) + * @param id (optional) * @return Success */ - getAllOP2( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOP/GetAllOP2"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMachineCell/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -25210,11 +27775,11 @@ export class IcsOPServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllOP2(_response); + return this.processGetById(_response); }); } - protected processGetAllOP2(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -25228,29 +27793,24 @@ export class IcsOPServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = IcsMachineCellListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取到所有的工序信息(value为OPCode,附带Key、Id) + * @param id (optional) * @return Success */ - getAllOPList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOP/GetAllOPList"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMachineCell/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -25269,11 +27829,11 @@ export class IcsOPServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllOPList(_response); + return this.processGetForEdit(_response); }); } - protected processGetAllOPList(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -25287,33 +27847,37 @@ export class IcsOPServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = GetIcsMachineCellForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOP/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMachineCell/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -25332,11 +27896,11 @@ export class IcsOPServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processGetPaged(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -25350,30 +27914,32 @@ export class IcsOPServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsOPListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsMachineCellListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOP/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + queryAllMachineCellList2(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMachineCell/QueryAllMachineCellList2"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -25386,11 +27952,11 @@ export class IcsOPServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processQueryAllMachineCellList2(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processQueryAllMachineCellList2(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -25404,44 +27970,53 @@ export class IcsOPServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsOPForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsMainCategoryCodeServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param body (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOP/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMainCategoryCode/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -25453,11 +28028,11 @@ export class IcsOPServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processBatchDelete(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -25469,38 +28044,21 @@ export class IcsOPServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsOPListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsOp2ResServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOp2Res/BatchDelete"; + createOrUpdate(body: CreateOrUpdateIcsMainCategoryCodeInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMainCategoryCode/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -25522,11 +28080,11 @@ export class IcsOp2ResServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processCreateOrUpdate(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -25548,21 +28106,21 @@ export class IcsOp2ResServiceProxy { } /** - * @param body (optional) + * @param id (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsOp2ResInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOp2Res/CreateOrUpdate"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMainCategoryCode/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "DELETE", url: url_, headers: { - "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -25574,11 +28132,11 @@ export class IcsOp2ResServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processDelete(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -25600,21 +28158,17 @@ export class IcsOp2ResServiceProxy { } /** - * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOp2Res/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getAllMainCategoryCode( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMainCategoryCode/GetAllMainCategoryCode"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "DELETE", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -25626,11 +28180,11 @@ export class IcsOp2ResServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processGetAllMainCategoryCode(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processGetAllMainCategoryCode(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -25642,21 +28196,31 @@ export class IcsOp2ResServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOp2Res/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMainCategoryCode/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -25683,7 +28247,7 @@ export class IcsOp2ResServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -25697,22 +28261,22 @@ export class IcsOp2ResServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsOp2ResListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsMainCategoryCodeListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOp2Res/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMainCategoryCode/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -25737,7 +28301,7 @@ export class IcsOp2ResServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -25751,33 +28315,33 @@ export class IcsOp2ResServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsOp2ResForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsMainCategoryCodeForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOp2Res/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMainCategoryCode/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -25804,7 +28368,7 @@ export class IcsOp2ResServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -25818,44 +28382,32 @@ export class IcsOp2ResServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsOp2ResListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsMainCategoryCodeListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsOpBomServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * @param value (optional) + * @param body (optional) * @return Success */ - getEditIcsOpBom(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOpBom/GetEditIcsOpBom?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + selectMainCategoryCode(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMainCategoryCode/SelectMainCategoryCode"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -25868,11 +28420,11 @@ export class IcsOpBomServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetEditIcsOpBom(_response); + return this.processSelectMainCategoryCode(_response); }); } - protected processGetEditIcsOpBom(response: AxiosResponse): Promise { + protected processSelectMainCategoryCode(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -25886,32 +28438,53 @@ export class IcsOpBomServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsOPBomListDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsManualRecordingServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 获取工序bom 表头 - * @param value (optional) + * @param body (optional) * @return Success */ - getIcsOpBom(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOpBom/GetIcsOpBom?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManualRecording/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -25923,11 +28496,11 @@ export class IcsOpBomServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetIcsOpBom(_response); + return this.processBatchDelete(_response); }); } - protected processGetIcsOpBom(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -25939,34 +28512,31 @@ export class IcsOpBomServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsOPBomListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有产品途程列表 - * @param value (optional) + * @param body (optional) * @return Success */ - getItemRouteList(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOpBom/GetItemRouteList?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + createOrUpdate(body: CreateOrUpdateIcsManualRecordingInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManualRecording/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -25978,11 +28548,11 @@ export class IcsOpBomServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetItemRouteList(_response); + return this.processCreateOrUpdate(_response); }); } - protected processGetItemRouteList(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -25994,41 +28564,31 @@ export class IcsOpBomServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(IcsItem2RouteListDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有产品途程列表(树结构) - * @param value (optional) + * @param id (optional) * @return Success */ - getItemRouteList2(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOpBom/GetItemRouteList2?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManualRecording/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -26040,11 +28600,11 @@ export class IcsOpBomServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetItemRouteList2(_response); + return this.processDelete(_response); }); } - protected processGetItemRouteList2(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -26056,34 +28616,25 @@ export class IcsOpBomServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(TreeDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有产品bom版本 - * @param value (optional) + * @param id (optional) * @return Success */ - getSBomVer(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOpBom/GetSBomVer?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManualRecording/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -26102,11 +28653,11 @@ export class IcsOpBomServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetSBomVer(_response); + return this.processGetById(_response); }); } - protected processGetSBomVer(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -26120,40 +28671,30 @@ export class IcsOpBomServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = IcsManualRecordingListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取产品Bom列表(根据产品代码和版本) - * @param body (optional) + * @param id (optional) * @return Success */ - querySBomList(body: IcsOPBomListDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOpBom/QuerySBomList"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManualRecording/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -26166,11 +28707,11 @@ export class IcsOpBomServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processQuerySBomList(_response); + return this.processGetForEdit(_response); }); } - protected processQuerySBomList(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -26184,40 +28725,43 @@ export class IcsOpBomServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(IcsOPBomDetailListDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = GetIcsManualRecordingForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 保存工序bom信息 - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - saveOpBom(body: IcsOPBomListDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOpBom/SaveOpBom"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManualRecording/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -26230,11 +28774,11 @@ export class IcsOpBomServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSaveOpBom(_response); + return this.processGetPaged(_response); }); } - protected processSaveOpBom(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -26248,18 +28792,18 @@ export class IcsOpBomServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsOPBomListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsManualRecordingListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsOutSourcingOrderServiceProxy { +export class IcsManufacturingServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -26276,8 +28820,8 @@ export class IcsOutSourcingOrderServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -26328,8 +28872,8 @@ export class IcsOutSourcingOrderServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsOutSourcingOrderInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/CreateOrUpdate"; + create(body: IcsManufacturing2EditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/Create"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -26340,6 +28884,7 @@ export class IcsOutSourcingOrderServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -26351,11 +28896,11 @@ export class IcsOutSourcingOrderServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processCreate(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processCreate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -26367,31 +28912,43 @@ export class IcsOutSourcingOrderServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsManufacturingHead.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param u9res (optional) + * @param billCode (optional) + * @param body (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + createItemAndBOM(u9res: boolean | undefined, billCode: string | null | undefined, body: IcsManufacturingHead[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/CreateItemAndBOM?"; + if (u9res === null) + throw new Error("The parameter 'u9res' cannot be null."); + else if (u9res !== undefined) + url_ += "u9res=" + encodeURIComponent("" + u9res) + "&"; + if (billCode !== undefined && billCode !== null) + url_ += "billCode=" + encodeURIComponent("" + billCode) + "&"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -26403,11 +28960,67 @@ export class IcsOutSourcingOrderServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processCreateItemAndBOM(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processCreateItemAndBOM(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateIcsManufacturingInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/CreateOrUpdate"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdate(_response); + }); + } + + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -26432,8 +29045,8 @@ export class IcsOutSourcingOrderServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/GetById?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -26441,10 +29054,9 @@ export class IcsOutSourcingOrderServiceProxy { url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -26456,11 +29068,11 @@ export class IcsOutSourcingOrderServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processDelete(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -26472,32 +29084,31 @@ export class IcsOutSourcingOrderServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsOutSourcingOrderListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + fileExcelDetail(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/FileExcelDetail"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -26510,11 +29121,11 @@ export class IcsOutSourcingOrderServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processFileExcelDetail(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processFileExcelDetail(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -26528,27 +29139,21 @@ export class IcsOutSourcingOrderServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsOutSourcingOrderForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = FileDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 根据工单id 获取批次数据 - * @param id (optional) * @return Success */ - getMoLotList(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/GetMoLotList?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getClientListDataSource( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/GetClientListDataSource"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -26567,11 +29172,11 @@ export class IcsOutSourcingOrderServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetMoLotList(_response); + return this.processGetClientListDataSource(_response); }); } - protected processGetMoLotList(response: AxiosResponse): Promise { + protected processGetClientListDataSource(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -26588,37 +29193,37 @@ export class IcsOutSourcingOrderServiceProxy { if (Array.isArray(resultData200)) { result200 = [] as any; for (let item of resultData200) - result200.push(IcsOutSorecingLotListDto.fromJS(item)); + result200.push(SelectItemExt.fromJS(item)); } else { result200 = null; } - return Promise.resolve(result200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getDeleteRecordPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/GetDeleteRecordPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -26641,11 +29246,11 @@ export class IcsOutSourcingOrderServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processGetDeleteRecordPaged(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetDeleteRecordPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -26659,33 +29264,30 @@ export class IcsOutSourcingOrderServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsOutSourcingOrderListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsManufacturingListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 根据工单号获取工单信息 - * @param body (optional) Parameter1 工单号(工单代码) Parameter2 工单行号 + * @param id (optional) * @return Success */ - moInfo_OutSourcingOrder(body: StringDtoEx | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/MoInfo_OutSourcingOrder"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -26698,11 +29300,11 @@ export class IcsOutSourcingOrderServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processMoInfo_OutSourcingOrder(_response); + return this.processGetForEdit(_response); }); } - protected processMoInfo_OutSourcingOrder(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -26716,33 +29318,28 @@ export class IcsOutSourcingOrderServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsMoListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsManufacturingOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 审核 - * @param body (optional) * @return Success */ - outSourcingOrderAudit(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/OutSourcingOrderAudit"; + getMainCategoryCodeListDataSource( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/GetMainCategoryCodeListDataSource"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -26754,11 +29351,11 @@ export class IcsOutSourcingOrderServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processOutSourcingOrderAudit(_response); + return this.processGetMainCategoryCodeListDataSource(_response); }); } - protected processOutSourcingOrderAudit(response: AxiosResponse): Promise { + protected processGetMainCategoryCodeListDataSource(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -26770,32 +29367,53 @@ export class IcsOutSourcingOrderServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 关闭 - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - outSourcingOrderClose(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/OutSourcingOrderClose"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -26807,11 +29425,11 @@ export class IcsOutSourcingOrderServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processOutSourcingOrderClose(_response); + return this.processGetPaged(_response); }); } - protected processOutSourcingOrderClose(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -26823,32 +29441,46 @@ export class IcsOutSourcingOrderServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfIcsManufacturingListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 短缺关闭 - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - outSourcingOrderShortageClose(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/OutSourcingOrderShortageClose"; + getVersionPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/GetVersionPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -26860,11 +29492,11 @@ export class IcsOutSourcingOrderServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processOutSourcingOrderShortageClose(_response); + return this.processGetVersionPaged(_response); }); } - protected processOutSourcingOrderShortageClose(response: AxiosResponse): Promise { + protected processGetVersionPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -26876,45 +29508,46 @@ export class IcsOutSourcingOrderServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfIcsManufacturingListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsPartServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsPart/BatchDelete"; + getVersionsPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/GetVersionsPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -26926,11 +29559,11 @@ export class IcsPartServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processGetVersionsPaged(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processGetVersionsPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -26942,21 +29575,24 @@ export class IcsPartServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfIcsManufacturingListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsPartInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsPart/CreateOrUpdate"; + inReviewAndSubmit(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/InReviewAndSubmit"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -26978,11 +29614,11 @@ export class IcsPartServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processInReviewAndSubmit(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processInReviewAndSubmit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -27004,21 +29640,21 @@ export class IcsPartServiceProxy { } /** - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsPart/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + manufacturerCertificateSave(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/ManufacturerCertificateSave"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -27030,11 +29666,11 @@ export class IcsPartServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processManufacturerCertificateSave(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processManufacturerCertificateSave(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -27056,21 +29692,21 @@ export class IcsPartServiceProxy { } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsPart/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + relationalMappingSelectDataSource(body: IcsManufacturing2EditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/RelationalMappingSelectDataSource"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -27083,11 +29719,11 @@ export class IcsPartServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processRelationalMappingSelectDataSource(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processRelationalMappingSelectDataSource(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -27101,31 +29737,34 @@ export class IcsPartServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsPartListDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsPart/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + selectOperatingPressureUnitList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/SelectOperatingPressureUnitList"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "POST", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -27137,11 +29776,11 @@ export class IcsPartServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processSelectOperatingPressureUnitList(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processSelectOperatingPressureUnitList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -27153,46 +29792,31 @@ export class IcsPartServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetIcsPartForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param body (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsPart/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + sendMessage(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/SendMessage"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -27204,11 +29828,11 @@ export class IcsPartServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processSendMessage(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processSendMessage(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -27220,38 +29844,21 @@ export class IcsPartServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsPartListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsResServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRes/BatchDelete"; + sendMo(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/SendMo"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -27273,11 +29880,11 @@ export class IcsResServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processSendMo(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processSendMo(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -27302,8 +29909,8 @@ export class IcsResServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsResInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRes/CreateOrUpdate"; + signFor(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/SignFor"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -27325,11 +29932,11 @@ export class IcsResServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processSignFor(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processSignFor(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -27351,21 +29958,17 @@ export class IcsResServiceProxy { } /** - * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRes/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + test( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/test"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "DELETE", + method: "POST", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -27377,11 +29980,11 @@ export class IcsResServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processTest(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processTest(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -27393,27 +29996,41 @@ export class IcsResServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsManufacturingTableInput.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param body (optional) * @return Success */ - getAllRes( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRes/GetAllRes"; + turnDown(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/TurnDown"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -27425,11 +30042,11 @@ export class IcsResServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllRes(_response); + return this.processTurnDown(_response); }); } - protected processGetAllRes(response: AxiosResponse): Promise { + protected processTurnDown(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -27441,37 +30058,83 @@ export class IcsResServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + versionAudit(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/VersionAudit"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - else { - result200 = null; + }).then((_response: AxiosResponse) => { + return this.processVersionAudit(_response); + }); + } + + protected processVersionAudit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } - return Promise.resolve(result200); + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有资源 + * @param body (optional) * @return Success */ - getAllResList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRes/GetAllResList"; + versionDifference(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsManufacturing/VersionDifference"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -27484,11 +30147,11 @@ export class IcsResServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllResList(_response); + return this.processVersionDifference(_response); }); } - protected processGetAllResList(response: AxiosResponse): Promise { + protected processVersionDifference(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -27505,37 +30168,50 @@ export class IcsResServiceProxy { if (Array.isArray(resultData200)) { result200 = [] as any; for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); + result200.push(IcsMfVersionDifferenceList.fromJS(item)); } else { result200 = null; } - return Promise.resolve(result200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsMfManufacturerCertificateServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRes/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMfManufacturerCertificate/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -27547,11 +30223,11 @@ export class IcsResServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processBatchDelete(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -27563,33 +30239,83 @@ export class IcsResServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsResListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateIcsMfManufacturerCertificateInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMfManufacturerCertificate/CreateOrUpdate"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdate(_response); + }); + } + + protected processCreateOrUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRes/GetForEdit?"; - if (id !== undefined && id !== null) + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMfManufacturerCertificate/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -27601,11 +30327,11 @@ export class IcsResServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processDelete(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -27617,27 +30343,25 @@ export class IcsResServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetIcsResForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 根据工序获取资源 - * @param value (optional) + * @param id (optional) * @return Success */ - getOpResList(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRes/GetOpResList?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMfManufacturerCertificate/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -27656,11 +30380,11 @@ export class IcsResServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetOpResList(_response); + return this.processGetById(_response); }); } - protected processGetOpResList(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -27674,44 +30398,24 @@ export class IcsResServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = IcsMfManufacturerCertificateListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param id (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRes/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMfManufacturerCertificate/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -27730,11 +30434,11 @@ export class IcsResServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processGetForEdit(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -27748,27 +30452,37 @@ export class IcsResServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsResListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsMfManufacturerCertificateForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取未被工序绑定的资源 - * @param opid (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) * @return Success */ - getRouteResList(opid: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRes/GetRouteResList?"; - if (opid === null) - throw new Error("The parameter 'opid' cannot be null."); - else if (opid !== undefined) - url_ += "opid=" + encodeURIComponent("" + opid) + "&"; + getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMfManufacturerCertificate/GetPaged?"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -27787,11 +30501,11 @@ export class IcsResServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetRouteResList(_response); + return this.processGetPaged(_response); }); } - protected processGetRouteResList(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -27805,25 +30519,18 @@ export class IcsResServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsMfManufacturerCertificateListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsRouteServiceProxy { +export class IcsMinNoServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -27840,8 +30547,8 @@ export class IcsRouteServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRoute/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMinNo/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -27889,12 +30596,11 @@ export class IcsRouteServiceProxy { } /** - * 审核、弃审 * @param body (optional) * @return Success */ - changeAuditStatus(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRoute/ChangeAuditStatus"; + checkLotNo(body: IcsMinNoEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMinNo/CheckLotNo"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -27905,6 +30611,7 @@ export class IcsRouteServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -27916,11 +30623,11 @@ export class IcsRouteServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processChangeAuditStatus(_response); + return this.processCheckLotNo(_response); }); } - protected processChangeAuditStatus(response: AxiosResponse): Promise { + protected processCheckLotNo(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -27932,21 +30639,24 @@ export class IcsRouteServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsMinNoListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsRouteInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRoute/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsMinNoInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMinNo/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -27997,8 +30707,8 @@ export class IcsRouteServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRoute/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMinNo/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -28046,11 +30756,15 @@ export class IcsRouteServiceProxy { } /** - * 获取到所有的途程信息(value为id) + * @param id (optional) * @return Success */ - getAllRoute( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRoute/GetAllRoute"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMinNo/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -28069,11 +30783,11 @@ export class IcsRouteServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllRoute(_response); + return this.processGetById(_response); }); } - protected processGetAllRoute(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -28087,29 +30801,24 @@ export class IcsRouteServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = IcsMinNoListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取到所有的途程信息(value为RouteCode) + * @param id (optional) * @return Success */ - getAllRoute2( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRoute/GetAllRoute2"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMinNo/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -28128,11 +30837,11 @@ export class IcsRouteServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllRoute2(_response); + return this.processGetForEdit(_response); }); } - protected processGetAllRoute2(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -28146,33 +30855,37 @@ export class IcsRouteServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = GetIcsMinNoForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRoute/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMinNo/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -28191,11 +30904,11 @@ export class IcsRouteServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processGetPaged(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -28209,30 +30922,32 @@ export class IcsRouteServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsRouteListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsMinNoListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRoute/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + queryMinNoList(body: IcsMinNoEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMinNo/QueryMinNoList"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -28245,11 +30960,11 @@ export class IcsRouteServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processQueryMinNoList(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processQueryMinNoList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -28263,50 +30978,53 @@ export class IcsRouteServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsRouteForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsMinNoListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsMoServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 根据工艺路径获取工序 - * @param routeId (optional) - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param body (optional) * @return Success */ - getOpPageList(routeId: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRoute/GetOpPageList?"; - if (routeId === null) - throw new Error("The parameter 'routeId' cannot be null."); - else if (routeId !== undefined) - url_ += "routeId=" + encodeURIComponent("" + routeId) + "&"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -28318,11 +31036,11 @@ export class IcsRouteServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetOpPageList(_response); + return this.processBatchDelete(_response); }); } - protected processGetOpPageList(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -28334,45 +31052,31 @@ export class IcsRouteServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsOPListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param body (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRoute/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + cancelCloseMo(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo/CancelCloseMo"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -28385,11 +31089,11 @@ export class IcsRouteServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processCancelCloseMo(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processCancelCloseMo(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -28403,33 +31107,32 @@ export class IcsRouteServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsRouteListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsMoEditDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 根据工艺路径获取工序 - * @param routeId (optional) + * @param body (optional) * @return Success */ - getRouteOPList(routeId: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsRoute/GetRouteOPList?"; - if (routeId === null) - throw new Error("The parameter 'routeId' cannot be null."); - else if (routeId !== undefined) - url_ += "routeId=" + encodeURIComponent("" + routeId) + "&"; + cancelMoSend(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo/CancelMoSend"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -28442,11 +31145,11 @@ export class IcsRouteServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetRouteOPList(_response); + return this.processCancelMoSend(_response); }); } - protected processGetRouteOPList(response: AxiosResponse): Promise { + protected processCancelMoSend(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -28460,43 +31163,78 @@ export class IcsRouteServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(IcsRoute2OpDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = IcsMoEditDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } -} -export class IcsSBomServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + /** + * @param body (optional) + * @return Success + */ + closeMo(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo/CloseMo"; + url_ = url_.replace(/[?&]$/, ""); - constructor(baseUrl?: string, instance?: AxiosInstance) { + const content_ = JSON.stringify(body); - this.instance = instance ? instance : axios.create(); + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCloseMo(_response); + }); + } + + protected processCloseMo(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsMoEditDto.fromJS(resultData200); + return Promise.resolve(result200); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSBom/BatchDelete"; + createOrUpdate(body: CreateOrUpdateIcsMoInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -28518,11 +31256,63 @@ export class IcsSBomServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processCreateOrUpdate(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } + + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -28547,8 +31337,8 @@ export class IcsSBomServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsSBomInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSBom/CreateOrUpdate"; + downloadFile(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo/DownloadFile"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -28570,11 +31360,11 @@ export class IcsSBomServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processDownloadFile(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processDownloadFile(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -28596,21 +31386,22 @@ export class IcsSBomServiceProxy { } /** - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSBom/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + downloadFile2(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo/DownloadFile2"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -28622,11 +31413,11 @@ export class IcsSBomServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processDownloadFile2(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processDownloadFile2(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -28638,25 +31429,26 @@ export class IcsSBomServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = HttpResponseMessage.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param value (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSBom/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getAllItemRoute(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo/GetAllItemRoute?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -28675,11 +31467,11 @@ export class IcsSBomServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processGetAllItemRoute(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetAllItemRoute(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -28693,23 +31485,32 @@ export class IcsSBomServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsSBomListDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSBom/GetForEdit?"; - if (id !== undefined && id !== null) + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -28729,11 +31530,11 @@ export class IcsSBomServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processGetById(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -28747,37 +31548,24 @@ export class IcsSBomServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsSBomForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsMoListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param id (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSBom/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -28796,11 +31584,11 @@ export class IcsSBomServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processGetForEdit(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -28814,46 +31602,44 @@ export class IcsSBomServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsSBomListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsMoForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsSegServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSeg/BatchDelete"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -28865,11 +31651,11 @@ export class IcsSegServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processGetPaged(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -28881,21 +31667,24 @@ export class IcsSegServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfIcsMoListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsSegInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSeg/CreateOrUpdate"; + mo2Lot(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo/Mo2Lot"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -28906,6 +31695,7 @@ export class IcsSegServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -28917,11 +31707,11 @@ export class IcsSegServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processMo2Lot(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processMo2Lot(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -28933,31 +31723,35 @@ export class IcsSegServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsMoEditDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSeg/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + moSend(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo/MoSend"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -28969,11 +31763,11 @@ export class IcsSegServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processMoSend(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processMoSend(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -28985,27 +31779,34 @@ export class IcsSegServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsMoEditDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有车间 + * @param body (optional) * @return Success */ - getAllSeg( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSeg/GetAllSeg"; + queryAllMoRoute2OpList(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo/QueryAllMoRoute2OpList"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -29018,11 +31819,11 @@ export class IcsSegServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllSeg(_response); + return this.processQueryAllMoRoute2OpList(_response); }); } - protected processGetAllSeg(response: AxiosResponse): Promise { + protected processQueryAllMoRoute2OpList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -29054,79 +31855,21 @@ export class IcsSegServiceProxy { } /** - * 获取所有车间 + * @param body (optional) * @return Success */ - getAllSegCode( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSeg/GetAllSegCode"; + queryMo2Route(body: IcsMo2RouteDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo/QueryMo2Route"; url_ = url_.replace(/[?&]$/, ""); - let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processGetAllSegCode(_response); - }); - } - - protected processGetAllSegCode(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * 获取所有车间列表(条件为工厂) - * @param value (optional) - * @return Success - */ - getAllSegList(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSeg/GetAllSegList?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; - url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -29139,11 +31882,11 @@ export class IcsSegServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllSegList(_response); + return this.processQueryMo2Route(_response); }); } - protected processGetAllSegList(response: AxiosResponse): Promise { + protected processQueryMo2Route(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -29157,94 +31900,32 @@ export class IcsSegServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = IcsMo2RouteDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSeg/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + saveMo2Route(body: IcsMo2RouteDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo/SaveMo2Route"; url_ = url_.replace(/[?&]$/, ""); - let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processGetById(_response); - }); - } - - protected processGetById(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsSegListDto.fromJS(resultData200); - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * @param id (optional) - * @return Success - */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSeg/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; - url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -29256,11 +31937,11 @@ export class IcsSegServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processSaveMo2Route(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processSaveMo2Route(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -29272,91 +31953,35 @@ export class IcsSegServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetIcsSegForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } +} - /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) - * @return Success - */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSeg/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; - url_ = url_.replace(/[?&]$/, ""); +export class IcsMo2LotServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; + constructor(baseUrl?: string, instance?: AxiosInstance) { - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); - }); - } + this.instance = instance ? instance : axios.create(); - protected processGetPaged(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsSegListDto.fromJS(resultData200); - return Promise.resolve(result200); + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - queryBusinessSetting(body: StringDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSeg/QueryBusinessSetting"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -29367,7 +31992,6 @@ export class IcsSegServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -29379,11 +32003,11 @@ export class IcsSegServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processQueryBusinessSetting(_response); + return this.processBatchDelete(_response); }); } - protected processQueryBusinessSetting(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -29395,24 +32019,21 @@ export class IcsSegServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = StringDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - saveBusinessSetting(body: StringDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSeg/SaveBusinessSetting"; + cancelPauseLotNo(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/CancelPauseLotNo"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -29423,7 +32044,6 @@ export class IcsSegServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -29435,11 +32055,11 @@ export class IcsSegServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSaveBusinessSetting(_response); + return this.processCancelPauseLotNo(_response); }); } - protected processSaveBusinessSetting(response: AxiosResponse): Promise { + protected processCancelPauseLotNo(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -29451,38 +32071,21 @@ export class IcsSegServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsSeg2SysParameterDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsShiftServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsShift/BatchDelete"; + cancelSplitMOLotNew(body: IcsMo2LotEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/CancelSplitMOLotNew"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -29504,11 +32107,11 @@ export class IcsShiftServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processCancelSplitMOLotNew(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processCancelSplitMOLotNew(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -29533,8 +32136,8 @@ export class IcsShiftServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsShiftInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsShift/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsMo2LotInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -29585,8 +32188,8 @@ export class IcsShiftServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsShift/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -29637,8 +32240,8 @@ export class IcsShiftServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsShift/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -29665,7 +32268,7 @@ export class IcsShiftServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -29679,22 +32282,22 @@ export class IcsShiftServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsShiftListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsMo2LotListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsShift/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -29719,7 +32322,7 @@ export class IcsShiftServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -29733,33 +32336,33 @@ export class IcsShiftServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsShiftForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsMo2LotForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsShift/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -29786,7 +32389,7 @@ export class IcsShiftServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -29800,33 +32403,32 @@ export class IcsShiftServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsShiftListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsMo2LotListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 查询班次 - * @param id (optional) + * @param body (optional) * @return Success */ - getShiftTpType(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsShift/GetShiftTpType?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + moLotGenerate(body: IcsMo2LotEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/MoLotGenerate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -29839,11 +32441,11 @@ export class IcsShiftServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetShiftTpType(_response); + return this.processMoLotGenerate(_response); }); } - protected processGetShiftTpType(response: AxiosResponse): Promise { + protected processMoLotGenerate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -29860,40 +32462,26 @@ export class IcsShiftServiceProxy { if (Array.isArray(resultData200)) { result200 = [] as any; for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); + result200.push(IcsMo2LotEditDto.fromJS(item)); } else { result200 = null; } - return Promise.resolve(result200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsShiftTypeServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsShiftType/BatchDelete"; + pauseLotNo(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/PauseLotNo"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -29915,11 +32503,11 @@ export class IcsShiftTypeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processPauseLotNo(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processPauseLotNo(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -29944,8 +32532,8 @@ export class IcsShiftTypeServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsShiftTypeInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsShiftType/CreateOrUpdate"; + printLotno(body: IcsMo2LotEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/PrintLotno"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -29967,11 +32555,11 @@ export class IcsShiftTypeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processPrintLotno(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processPrintLotno(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -29993,68 +32581,21 @@ export class IcsShiftTypeServiceProxy { } /** - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsShiftType/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + querySingleMoCodeInfo(body: IcsMo2LotEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/QuerySingleMoCodeInfo"; url_ = url_.replace(/[?&]$/, ""); - let options_: AxiosRequestConfig = { - method: "DELETE", - url: url_, - headers: { - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processDelete(_response); - }); - } - - protected processDelete(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - return Promise.resolve(null as any); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * @return Success - */ - getAllShiftType( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsShiftType/GetAllShiftType"; - url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -30067,11 +32608,11 @@ export class IcsShiftTypeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllShiftType(_response); + return this.processQuerySingleMoCodeInfo(_response); }); } - protected processGetAllShiftType(response: AxiosResponse): Promise { + protected processQuerySingleMoCodeInfo(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -30085,36 +32626,32 @@ export class IcsShiftTypeServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = IcsMo2LotEditDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有班制列表 + * @param body (optional) * @return Success */ - getAllShiftTypeList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsShiftType/GetAllShiftTypeList"; + splitMOLotNew(body: IcsMo2LotEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMo2Lot/SplitMOLotNew"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -30126,11 +32663,11 @@ export class IcsShiftTypeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllShiftTypeList(_response); + return this.processSplitMOLotNew(_response); }); } - protected processGetAllShiftTypeList(response: AxiosResponse): Promise { + protected processSplitMOLotNew(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -30142,96 +32679,45 @@ export class IcsShiftTypeServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } +} - /** - * @param id (optional) - * @return Success - */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsShiftType/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; - url_ = url_.replace(/[?&]$/, ""); +export class IcsModel2EcgServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; + constructor(baseUrl?: string, instance?: AxiosInstance) { - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processGetById(_response); - }); - } + this.instance = instance ? instance : axios.create(); - protected processGetById(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsShiftTypeListDto.fromJS(resultData200); - return Promise.resolve(result200); + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsShiftType/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecg/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -30243,11 +32729,11 @@ export class IcsShiftTypeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processBatchDelete(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -30259,46 +32745,31 @@ export class IcsShiftTypeServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetIcsShiftTypeForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param body (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsShiftType/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + createOrUpdate(body: CreateOrUpdateIcsModel2EcgInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecg/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -30310,11 +32781,11 @@ export class IcsShiftTypeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processCreateOrUpdate(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -30326,48 +32797,31 @@ export class IcsShiftTypeServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsShiftTypeListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsSolutionServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * @param body (optional) + * @param id (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSolution/BatchDelete"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecg/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "DELETE", url: url_, headers: { - "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -30379,11 +32833,11 @@ export class IcsSolutionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processDelete(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -30405,21 +32859,22 @@ export class IcsSolutionServiceProxy { } /** - * @param body (optional) + * @param id (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsSolutionInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSolution/CreateOrUpdate"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecg/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -30431,11 +32886,11 @@ export class IcsSolutionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processGetById(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -30447,31 +32902,33 @@ export class IcsSolutionServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsModel2EcgListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSolution/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecg/GetForEdit?"; + if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "DELETE", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -30483,11 +32940,11 @@ export class IcsSolutionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processGetForEdit(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -30499,25 +32956,39 @@ export class IcsSolutionServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = GetIcsModel2EcgForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSolution/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecg/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -30536,11 +33007,11 @@ export class IcsSolutionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processGetPaged(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -30554,24 +33025,24 @@ export class IcsSolutionServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsSolutionListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsModel2EcgListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param value (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSolution/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getSelectEcg2EcList(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecg/GetSelectEcg2EcList?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -30590,11 +33061,11 @@ export class IcsSolutionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processGetSelectEcg2EcList(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetSelectEcg2EcList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -30608,37 +33079,31 @@ export class IcsSolutionServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsSolutionForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param value (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSolution/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + getSelectEcsg2EcsList(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecg/GetSelectEcsg2EcsList?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -30657,11 +33122,11 @@ export class IcsSolutionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processGetSelectEcsg2EcsList(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetSelectEcsg2EcsList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -30675,26 +33140,35 @@ export class IcsSolutionServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsSolutionListDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 解决方案 下拉框数据源 + * @param value (optional) * @return Success */ - selectIcsSolList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSolution/SelectIcsSolList"; + getSelectSolutionList(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecg/GetSelectSolutionList?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -30709,11 +33183,11 @@ export class IcsSolutionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSelectIcsSolList(_response); + return this.processGetSelectSolutionList(_response); }); } - protected processSelectIcsSolList(response: AxiosResponse): Promise { + protected processGetSelectSolutionList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -30745,7 +33219,7 @@ export class IcsSolutionServiceProxy { } } -export class IcsSSServiceProxy { +export class IcsModel2EcsServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -30762,8 +33236,8 @@ export class IcsSSServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSS/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecs/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -30814,8 +33288,8 @@ export class IcsSSServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsSSInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSS/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsModel2EcsInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecs/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -30866,8 +33340,8 @@ export class IcsSSServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSS/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecs/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -30915,11 +33389,15 @@ export class IcsSSServiceProxy { } /** - * 获取所有产线 + * @param id (optional) * @return Success */ - getAllSS( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSS/GetAllSS"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecs/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -30938,11 +33416,11 @@ export class IcsSSServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllSS(_response); + return this.processGetById(_response); }); } - protected processGetAllSS(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -30956,29 +33434,24 @@ export class IcsSSServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = IcsModel2EcsListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有产线 + * @param id (optional) * @return Success */ - getAllSSCode( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSS/GetAllSSCode"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecs/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -30997,11 +33470,11 @@ export class IcsSSServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllSSCode(_response); + return this.processGetForEdit(_response); }); } - protected processGetAllSSCode(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -31015,32 +33488,37 @@ export class IcsSSServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = GetIcsModel2EcsForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有产线列表(条件为车间) - * @param value (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - getAllSSList(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSS/GetAllSSList?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecs/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -31059,11 +33537,11 @@ export class IcsSSServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllSSList(_response); + return this.processGetPaged(_response); }); } - protected processGetAllSSList(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -31077,40 +33555,46 @@ export class IcsSSServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsModel2EcsListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsModel2EcsgServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSS/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecsg/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -31122,11 +33606,11 @@ export class IcsSSServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processBatchDelete(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -31138,24 +33622,181 @@ export class IcsSSServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsSSListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateIcsModel2EcsgInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecsg/CreateOrUpdate"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdate(_response); + }); + } + + protected processCreateOrUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSS/GetForEdit?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecsg/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } + + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecsg/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetById(_response); + }); + } + + protected processGetById(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsModel2EcsgListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecsg/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -31180,7 +33821,7 @@ export class IcsSSServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -31194,33 +33835,33 @@ export class IcsSSServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsSSForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsModel2EcsgForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsSS/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Ecsg/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -31247,7 +33888,7 @@ export class IcsSSServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -31261,18 +33902,18 @@ export class IcsSSServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsSSListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsModel2EcsgListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsStandardWhoursServiceProxy { +export class IcsModel2SolutionServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -31289,8 +33930,8 @@ export class IcsStandardWhoursServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsStandardWhours/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Solution/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -31341,8 +33982,8 @@ export class IcsStandardWhoursServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsStandardWhoursInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsStandardWhours/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsModel2SolutionInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Solution/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -31393,8 +34034,8 @@ export class IcsStandardWhoursServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsStandardWhours/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Solution/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -31445,8 +34086,8 @@ export class IcsStandardWhoursServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsStandardWhours/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Solution/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -31473,7 +34114,7 @@ export class IcsStandardWhoursServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -31487,25 +34128,24 @@ export class IcsStandardWhoursServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsStandardWhoursListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsModel2SolutionListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取设备类型 - * @param eqpType (optional) + * @param id (optional) * @return Success */ - getEqpModelByType(eqpType: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsStandardWhours/GetEqpModelByType?"; - if (eqpType !== undefined && eqpType !== null) - url_ += "eqpType=" + encodeURIComponent("" + eqpType) + "&"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Solution/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -31524,11 +34164,11 @@ export class IcsStandardWhoursServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetEqpModelByType(_response); + return this.processGetForEdit(_response); }); } - protected processGetEqpModelByType(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -31542,31 +34182,24 @@ export class IcsStandardWhoursServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(item); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = GetIcsModel2SolutionForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param value (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsStandardWhours/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getItemSolutionSelect(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Solution/GetItemSolutionSelect?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -31585,11 +34218,11 @@ export class IcsStandardWhoursServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processGetItemSolutionSelect(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetItemSolutionSelect(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -31603,33 +34236,40 @@ export class IcsStandardWhoursServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsStandardWhoursForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsStandardWhours/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsModel2Solution/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -31656,7 +34296,7 @@ export class IcsStandardWhoursServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -31670,18 +34310,18 @@ export class IcsStandardWhoursServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsStandardWhoursListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsModel2SolutionListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class IcsTpServiceProxy { +export class IcsMoDispatchingServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -31698,8 +34338,8 @@ export class IcsTpServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTp/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -31750,8 +34390,8 @@ export class IcsTpServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsTpInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTp/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsMoDispatchingInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -31802,8 +34442,8 @@ export class IcsTpServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTp/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -31854,8 +34494,8 @@ export class IcsTpServiceProxy { * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTp/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -31882,7 +34522,7 @@ export class IcsTpServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -31896,22 +34536,22 @@ export class IcsTpServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsTpListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsMoDispatchingListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTp/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -31936,7 +34576,7 @@ export class IcsTpServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -31950,33 +34590,33 @@ export class IcsTpServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsTpForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsMoDispatchingForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTp/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -32003,7 +34643,7 @@ export class IcsTpServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -32017,27 +34657,37 @@ export class IcsTpServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsTpListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsMoDispatchingListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 查询班次 - * @param id (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - getShiftTp(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTp/GetShiftTp?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getWaitMoListPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/GetWaitMoListPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -32056,11 +34706,11 @@ export class IcsTpServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetShiftTp(_response); + return this.processGetWaitMoListPaged(_response); }); } - protected processGetShiftTp(response: AxiosResponse): Promise { + protected processGetWaitMoListPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -32074,43 +34724,22 @@ export class IcsTpServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsMoListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsTsServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTs/BatchDelete"; + queryAllMo2Lot2OpList(body: IcsMo2LotListDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/QueryAllMo2Lot2OpList"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -32121,6 +34750,7 @@ export class IcsTsServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -32132,11 +34762,11 @@ export class IcsTsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processQueryAllMo2Lot2OpList(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processQueryAllMo2Lot2OpList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -32148,21 +34778,31 @@ export class IcsTsServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsMo2LotListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsTsInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTs/CreateOrUpdate"; + queryAllMo2LotList(body: IcsMoListDto[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/QueryAllMo2LotList"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -32173,6 +34813,7 @@ export class IcsTsServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -32184,11 +34825,11 @@ export class IcsTsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processQueryAllMo2LotList(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processQueryAllMo2LotList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -32200,31 +34841,42 @@ export class IcsTsServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsMo2LotListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTs/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + queryAllMoDispatchList(body: IcsMo2LotListDto[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/QueryAllMoDispatchList"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -32236,11 +34888,11 @@ export class IcsTsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processQueryAllMoDispatchList(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processQueryAllMoDispatchList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -32252,31 +34904,41 @@ export class IcsTsServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsMoDispatchingListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTs/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + queryMo2LotList(body: IcsMoListDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/QueryMo2LotList"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -32289,11 +34951,11 @@ export class IcsTsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processQueryMo2LotList(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processQueryMo2LotList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -32307,30 +34969,39 @@ export class IcsTsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsTsListDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsMo2LotListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTs/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + queryMoRoute2Op(body: IcsMoListDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/QueryMoRoute2Op"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -32343,11 +35014,11 @@ export class IcsTsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processQueryMoRoute2Op(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processQueryMoRoute2Op(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -32361,44 +35032,39 @@ export class IcsTsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsTsForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsMoDispatchingListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param body (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTs/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + save2(body: IcsMoDispatchingEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/Save2"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -32410,11 +35076,11 @@ export class IcsTsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processSave2(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processSave2(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -32426,38 +35092,21 @@ export class IcsTsServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsTsListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsTsErrorCauseServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCause/BatchDelete"; + save3(body: IcsMoDispatchingEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsMoDispatching/Save3"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -32479,11 +35128,11 @@ export class IcsTsErrorCauseServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processSave3(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processSave3(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -32503,13 +35152,27 @@ export class IcsTsErrorCauseServiceProxy { } return Promise.resolve(null as any); } +} + +export class IcsNcrDocServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } /** * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsTsErrorCauseInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCause/CreateOrUpdate"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -32531,11 +35194,11 @@ export class IcsTsErrorCauseServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processBatchDelete(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -32557,21 +35220,21 @@ export class IcsTsErrorCauseServiceProxy { } /** - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCause/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + confirmCloseNcr(body: IcsNcrDocEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/ConfirmCloseNcr"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -32583,11 +35246,11 @@ export class IcsTsErrorCauseServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processConfirmCloseNcr(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processConfirmCloseNcr(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -32609,22 +35272,21 @@ export class IcsTsErrorCauseServiceProxy { } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCause/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + createOrUpdate(body: CreateOrUpdateIcsNcrDocInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -32636,11 +35298,11 @@ export class IcsTsErrorCauseServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processCreateOrUpdate(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -32652,100 +35314,31 @@ export class IcsTsErrorCauseServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = IcsTsErrorCauseListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCause/GetForEdit?"; - if (id !== undefined && id !== null) + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); - }); - } - - protected processGetForEdit(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetIcsTsErrorCauseForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) - * @return Success - */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCause/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; - url_ = url_.replace(/[?&]$/, ""); - - let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -32757,11 +35350,11 @@ export class IcsTsErrorCauseServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processDelete(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -32773,48 +35366,29 @@ export class IcsTsErrorCauseServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsTsErrorCauseListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsTsErrorCodeServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * @param body (optional) + * @param value (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCode/BatchDelete"; + deleteDocFile(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/DeleteDocFile?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "DELETE", url: url_, headers: { - "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -32826,11 +35400,11 @@ export class IcsTsErrorCodeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processDeleteDocFile(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processDeleteDocFile(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -32852,21 +35426,17 @@ export class IcsTsErrorCodeServiceProxy { } /** - * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsTsErrorCodeInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCode/CreateOrUpdate"; + getAllQualityUser( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/GetAllQualityUser"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -32878,11 +35448,11 @@ export class IcsTsErrorCodeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processGetAllQualityUser(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processGetAllQualityUser(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -32894,21 +35464,31 @@ export class IcsTsErrorCodeServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCode/Delete?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -32916,9 +35496,10 @@ export class IcsTsErrorCodeServiceProxy { url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "DELETE", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -32930,11 +35511,11 @@ export class IcsTsErrorCodeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processGetById(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -32946,25 +35527,26 @@ export class IcsTsErrorCodeServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsNcrDocListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param value (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCode/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getCurrentUserEditPermission(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/GetCurrentUserEditPermission?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -32983,11 +35565,11 @@ export class IcsTsErrorCodeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processGetCurrentUserEditPermission(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetCurrentUserEditPermission(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -33001,22 +35583,23 @@ export class IcsTsErrorCodeServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsTsErrorCodeListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCode/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -33041,7 +35624,7 @@ export class IcsTsErrorCodeServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -33055,33 +35638,33 @@ export class IcsTsErrorCodeServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetIcsTsErrorCodeForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsNcrDocForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCode/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -33108,7 +35691,7 @@ export class IcsTsErrorCodeServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -33122,36 +35705,22 @@ export class IcsTsErrorCodeServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsTsErrorCodeListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsNcrDocListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IcsUser2OpServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsUser2Op/BatchDelete"; + queryLotNoInfo(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/QueryLotNoInfo"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -33162,6 +35731,7 @@ export class IcsUser2OpServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -33173,11 +35743,11 @@ export class IcsUser2OpServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processQueryLotNoInfo(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processQueryLotNoInfo(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -33189,21 +35759,24 @@ export class IcsUser2OpServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsNcrDocEditDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateIcsUser2OpInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsUser2Op/CreateOrUpdate"; + queryNcrDayPlanList(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/QueryNcrDayPlanList"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -33214,6 +35787,7 @@ export class IcsUser2OpServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -33225,11 +35799,11 @@ export class IcsUser2OpServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processQueryNcrDayPlanList(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processQueryNcrDayPlanList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -33241,31 +35815,35 @@ export class IcsUser2OpServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfIcsNcrDocListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsUser2Op/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + querySBom(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/QuerySBom"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -33277,11 +35855,11 @@ export class IcsUser2OpServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processQuerySBom(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processQuerySBom(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -33293,31 +35871,41 @@ export class IcsUser2OpServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsSBomListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsUser2Op/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + sendSparkAIRequest(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsNcrDoc/SendSparkAIRequest"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -33330,11 +35918,11 @@ export class IcsUser2OpServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processSendSparkAIRequest(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processSendSparkAIRequest(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -33348,31 +35936,46 @@ export class IcsUser2OpServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = IcsUser2OpListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = StringDtoEx.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsOPServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsUser2Op/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOP/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -33384,11 +35987,11 @@ export class IcsUser2OpServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processBatchDelete(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -33400,46 +36003,31 @@ export class IcsUser2OpServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetIcsUser2OpForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param body (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsUser2Op/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + createOrUpdate(body: CreateOrUpdateIcsOPInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOP/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -33451,11 +36039,11 @@ export class IcsUser2OpServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processCreateOrUpdate(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -33467,34 +36055,31 @@ export class IcsUser2OpServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = PagedResultDtoOfIcsUser2OpListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取所有工序对应人员 - * @param value (optional) + * @param id (optional) * @return Success */ - getUserByOpCode(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IcsUser2Op/GetUserByOpCode?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOP/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -33506,11 +36091,11 @@ export class IcsUser2OpServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetUserByOpCode(_response); + return this.processDelete(_response); }); } - protected processGetUserByOpCode(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -33522,56 +36107,27 @@ export class IcsUser2OpServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class ImportAndExportServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 批量删除 - * @param body (optional) * @return Success */ - batchDelete(body: string[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportAndExport/BatchDelete"; + getAllOPList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOP/GetAllOPList"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -33583,11 +36139,11 @@ export class ImportAndExportServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processGetAllOPList(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processGetAllOPList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -33599,37 +36155,35 @@ export class ImportAndExportServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取数据 - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param id (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportAndExport/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOP/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -33648,11 +36202,11 @@ export class ImportAndExportServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processGetById(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -33666,38 +36220,24 @@ export class ImportAndExportServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfCommodityListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsOPListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 导出为excel文件 - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param id (optional) * @return Success */ - getToExcelFile(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportAndExport/GetToExcelFile?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOP/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -33716,11 +36256,11 @@ export class ImportAndExportServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetToExcelFile(_response); + return this.processGetForEdit(_response); }); } - protected processGetToExcelFile(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -33734,29 +36274,41 @@ export class ImportAndExportServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = FileDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsOPForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 导入excel文件 - * @param fileToken (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - importExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportAndExport/ImportExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOP/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -33771,11 +36323,11 @@ export class ImportAndExportServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportExcel(_response); + return this.processGetPaged(_response); }); } - protected processImportExcel(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -33789,18 +36341,18 @@ export class ImportAndExportServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfCommodityImportDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsOPListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class ImportExportExtServiceProxy { +export class IcsOp2ResServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -33814,20 +36366,21 @@ export class ImportExportExtServiceProxy { } /** - * @param templateName (optional) + * @param body (optional) * @return Success */ - downloadTemplate(templateName: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/DownloadTemplate?"; - if (templateName !== undefined && templateName !== null) - url_ += "templateName=" + encodeURIComponent("" + templateName) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOp2Res/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -33839,11 +36392,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDownloadTemplate(_response); + return this.processBatchDelete(_response); }); } - protected processDownloadTemplate(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -33855,34 +36408,31 @@ export class ImportExportExtServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = FileDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 料品档案表导入 - * @param fileToken (optional) + * @param body (optional) * @return Success */ - icsInventoryExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/IcsInventoryExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + createOrUpdate(body: CreateOrUpdateIcsOp2ResInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOp2Res/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -33894,11 +36444,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processIcsInventoryExcel(_response); + return this.processCreateOrUpdate(_response); }); } - protected processIcsInventoryExcel(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -33910,34 +36460,31 @@ export class ImportExportExtServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = ExcelImpDtoOfIcsInventoryImportDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 检验类型导入 - * @param fileToken (optional) + * @param id (optional) * @return Success */ - importCheckGroupExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportCheckGroupExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOp2Res/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -33949,11 +36496,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportCheckGroupExcel(_response); + return this.processDelete(_response); }); } - protected processImportCheckGroupExcel(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -33965,31 +36512,29 @@ export class ImportExportExtServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = ExcelImpDtoOfIcsCheckGroupImportDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 检验项目导入 - * @param fileToken (optional) + * @param id (optional) * @return Success */ - importCheckItemExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportCheckItemExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOp2Res/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -34004,11 +36549,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportCheckItemExcel(_response); + return this.processGetById(_response); }); } - protected processImportCheckItemExcel(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34022,29 +36567,28 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfIcsCheckItemImportDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsOp2ResListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 班组导入 - * @param fileToken (optional) + * @param id (optional) * @return Success */ - importCrewExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportCrewExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOp2Res/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -34059,11 +36603,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportCrewExcel(_response); + return this.processGetForEdit(_response); }); } - protected processImportCrewExcel(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34077,29 +36621,41 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfCrewImportDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsOp2ResForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * DCT导入 - * @param fileToken (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - importDctExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportDctExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOp2Res/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -34114,11 +36670,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportDctExcel(_response); + return this.processGetPaged(_response); }); } - protected processImportDctExcel(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34132,31 +36688,32 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfDctImportDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsOp2ResListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 自定义档案导入 - * @param fileToken (optional) + * @param body (optional) * @return Success */ - importEnumKeyExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportEnumKeyExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + queryAllOp2ResList(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOp2Res/QueryAllOp2ResList"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -34169,11 +36726,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportEnumKeyExcel(_response); + return this.processQueryAllOp2ResList(_response); }); } - protected processImportEnumKeyExcel(response: AxiosResponse): Promise { + protected processQueryAllOp2ResList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34187,29 +36744,49 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfSysEnumImportDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsOpBomServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 设备技能导入 - * @param fileToken (optional) + * @param value (optional) * @return Success */ - importEqp2OpExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportEqp2OpExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + getEditIcsOpBom(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOpBom/GetEditIcsOpBom?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -34224,11 +36801,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportEqp2OpExcel(_response); + return this.processGetEditIcsOpBom(_response); }); } - protected processImportEqp2OpExcel(response: AxiosResponse): Promise { + protected processGetEditIcsOpBom(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34242,29 +36819,28 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfEqp2OpImportDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsOPBomListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 导入工厂数据 - * @param fileToken (optional) + * @param value (optional) * @return Success */ - importFacExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportFacExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + getIcsOpBom(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOpBom/GetIcsOpBom?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -34279,11 +36855,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportFacExcel(_response); + return this.processGetIcsOpBom(_response); }); } - protected processImportFacExcel(response: AxiosResponse): Promise { + protected processGetIcsOpBom(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34297,29 +36873,28 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfFactoryImportDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsOPBomListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 班次导入 - * @param fileToken (optional) + * @param value (optional) * @return Success */ - importIcsShiftExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportIcsShiftExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + getItemRouteList(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOpBom/GetItemRouteList?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -34334,11 +36909,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportIcsShiftExcel(_response); + return this.processGetItemRouteList(_response); }); } - protected processImportIcsShiftExcel(response: AxiosResponse): Promise { + protected processGetItemRouteList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34352,29 +36927,35 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfIcsShiftImportDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsItem2RouteListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 时段导入 - * @param fileToken (optional) + * @param value (optional) * @return Success */ - importIcsTpExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportIcsTpExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + getItemRouteList2(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOpBom/GetItemRouteList2?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -34389,11 +36970,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportIcsTpExcel(_response); + return this.processGetItemRouteList2(_response); }); } - protected processImportIcsTpExcel(response: AxiosResponse): Promise { + protected processGetItemRouteList2(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34407,29 +36988,37 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfIcsTpImportDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(TreeDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 产品类别检验类型导入 - * @param fileToken (optional) + * @param id (optional) * @return Success */ - importItemModel2CheckGroupExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportItemModel2CheckGroupExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + getOpBomDetail(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOpBom/GetOpBomDetail?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -34444,11 +37033,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportItemModel2CheckGroupExcel(_response); + return this.processGetOpBomDetail(_response); }); } - protected processImportItemModel2CheckGroupExcel(response: AxiosResponse): Promise { + protected processGetOpBomDetail(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34462,29 +37051,28 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfItemModel2CheckGroupImportDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsOPBomDetailListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 物料主分类导入 - * @param fileToken (optional) + * @param value (optional) * @return Success */ - importMainCategoryCodeExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportMainCategoryCodeExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + getSBomVer(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOpBom/GetSBomVer?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -34499,11 +37087,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportMainCategoryCodeExcel(_response); + return this.processGetSBomVer(_response); }); } - protected processImportMainCategoryCodeExcel(response: AxiosResponse): Promise { + protected processGetSBomVer(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34517,31 +37105,39 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfIcsMainCategoryCodeImportDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 加工单元导入 - * @param fileToken (optional) + * @param body (optional) * @return Success */ - importMCExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportMCExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + querySBomList(body: IcsOPBomListDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOpBom/QuerySBomList"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -34554,11 +37150,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportMCExcel(_response); + return this.processQuerySBomList(_response); }); } - protected processImportMCExcel(response: AxiosResponse): Promise { + protected processQuerySBomList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34572,31 +37168,39 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfMCImportDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsOPBomDetailListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 工单导入 - * @param fileToken (optional) + * @param body (optional) * @return Success */ - importMoExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportMoExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + saveOpBom(body: IcsOPBomListDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOpBom/SaveOpBom"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -34609,11 +37213,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportMoExcel(_response); + return this.processSaveOpBom(_response); }); } - protected processImportMoExcel(response: AxiosResponse): Promise { + protected processSaveOpBom(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34627,32 +37231,32 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfIcsMoImportDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsOPBomListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 工序导入 - * @param fileToken (optional) + * @param body (optional) * @return Success */ - importOPExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportOPExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + saveOpBomDetail(body: IcsOPBomDetailListDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOpBom/SaveOpBomDetail"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -34664,11 +37268,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportOPExcel(_response); + return this.processSaveOpBomDetail(_response); }); } - protected processImportOPExcel(response: AxiosResponse): Promise { + protected processSaveOpBomDetail(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34680,34 +37284,45 @@ export class ImportExportExtServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = ExcelImpDtoOfIcsOPImportDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsOutSourcingOrderServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 资源导入 - * @param fileToken (optional) + * @param body (optional) * @return Success */ - importResExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportResExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -34719,11 +37334,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportResExcel(_response); + return this.processBatchDelete(_response); }); } - protected processImportResExcel(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34735,34 +37350,31 @@ export class ImportExportExtServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = ExcelImpDtoOfResImportDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 途程导入 - * @param fileToken (optional) + * @param body (optional) * @return Success */ - importRouteExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportRouteExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + createOrUpdate(body: CreateOrUpdateIcsOutSourcingOrderInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -34774,11 +37386,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportRouteExcel(_response); + return this.processCreateOrUpdate(_response); }); } - protected processImportRouteExcel(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34790,34 +37402,31 @@ export class ImportExportExtServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = ExcelImpDtoOfIcsRouteImportDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 导入车间数据 - * @param fileToken (optional) + * @param id (optional) * @return Success */ - importSegExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportSegExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -34829,11 +37438,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportSegExcel(_response); + return this.processDelete(_response); }); } - protected processImportSegExcel(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34845,30 +37454,29 @@ export class ImportExportExtServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = ExcelImpDtoOfSegImportDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param fileToken (optional) + * @param id (optional) * @return Success */ - importShiftExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportShiftExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -34883,11 +37491,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportShiftExcel(_response); + return this.processGetById(_response); }); } - protected processImportShiftExcel(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34901,29 +37509,28 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfIcsShiftTypeImportDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsOutSourcingOrderListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 班制导入 - * @param fileToken (optional) + * @param id (optional) * @return Success */ - importShiftTypeExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportShiftTypeExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -34938,11 +37545,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportShiftTypeExcel(_response); + return this.processGetForEdit(_response); }); } - protected processImportShiftTypeExcel(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -34956,29 +37563,30 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfIcsShiftTypeImportDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsOutSourcingOrderForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 导入产线数据 - * @param fileToken (optional) + * @param id (optional) * @return Success */ - importSSExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportSSExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + getMoLotList(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/GetMoLotList?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -34993,11 +37601,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportSSExcel(_response); + return this.processGetMoLotList(_response); }); } - protected processImportSSExcel(response: AxiosResponse): Promise { + protected processGetMoLotList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -35011,29 +37619,48 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfSSImportDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsOutSorecingLotListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 标准工时导入 - * @param fileToken (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - importStandardWhoursExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportStandardWhoursExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -35048,11 +37675,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportStandardWhoursExcel(_response); + return this.processGetPaged(_response); }); } - protected processImportStandardWhoursExcel(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -35066,31 +37693,32 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfIcsStandardWhoursImportDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsOutSourcingOrderListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 用户技能导入 - * @param fileToken (optional) + * @param body (optional) * @return Success */ - importUser2OpExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportUser2OpExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + moInfo_OutSourcingOrder(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/MoInfo_OutSourcingOrder"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -35103,11 +37731,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportUser2OpExcel(_response); + return this.processMoInfo_OutSourcingOrder(_response); }); } - protected processImportUser2OpExcel(response: AxiosResponse): Promise { + protected processMoInfo_OutSourcingOrder(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -35121,30 +37749,32 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfUser2OpImportDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsMoListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param fileToken (optional) + * @param body (optional) * @return Success */ - importXXExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportXXExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + moRoute2OpList(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/MoRoute2OpList"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -35157,11 +37787,11 @@ export class ImportExportExtServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportXXExcel(_response); + return this.processMoRoute2OpList(_response); }); } - protected processImportXXExcel(response: AxiosResponse): Promise { + protected processMoRoute2OpList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -35175,61 +37805,39 @@ export class ImportExportExtServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExcelImpDtoOfIcsRouteImportDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class IncomeStatisticsServiceServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 获取收入统计数据 - * @param startDate (optional) - * @param endDate (optional) - * @param dateInterval (optional) + * @param body (optional) * @return Success */ - getIncomeStatisticsData(startDate: moment.Moment | undefined, endDate: moment.Moment | undefined, dateInterval: ChartDateInterval | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/IncomeStatisticsService/GetIncomeStatisticsData"; + outSourcingOrderAudit(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/OutSourcingOrderAudit"; url_ = url_.replace(/[?&]$/, ""); - const content_ = new FormData(); - if (startDate === null || startDate === undefined) - throw new Error("The parameter 'startDate' cannot be null."); - else - content_.append("startDate", startDate.toJSON()); - if (endDate === null || endDate === undefined) - throw new Error("The parameter 'endDate' cannot be null."); - else - content_.append("endDate", endDate.toJSON()); - if (dateInterval === null || dateInterval === undefined) - throw new Error("The parameter 'dateInterval' cannot be null."); - else - content_.append("dateInterval", dateInterval.toString()); + const content_ = JSON.stringify(body); let options_: AxiosRequestConfig = { data: content_, - method: "GET", + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -35241,11 +37849,11 @@ export class IncomeStatisticsServiceServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetIncomeStatisticsData(_response); + return this.processOutSourcingOrderAudit(_response); }); } - protected processGetIncomeStatisticsData(response: AxiosResponse): Promise { + protected processOutSourcingOrderAudit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -35257,46 +37865,21 @@ export class IncomeStatisticsServiceServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(IncomeStastistic.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class LanguageServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 批量删除 * @param body (optional) * @return Success */ - batchDelete(body: string[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Language/BatchDelete"; + outSourcingOrderClose(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/OutSourcingOrderClose"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -35318,11 +37901,11 @@ export class LanguageServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processOutSourcingOrderClose(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processOutSourcingOrderClose(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -35344,12 +37927,11 @@ export class LanguageServiceProxy { } /** - * 创建或更新语言 * @param body (optional) * @return Success */ - createOrUpdateLanguage(body: CreateOrUpdateLanguageInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Language/CreateOrUpdateLanguage"; + outSourcingOrderShortageClose(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsOutSourcingOrder/OutSourcingOrderShortageClose"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -35371,11 +37953,11 @@ export class LanguageServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdateLanguage(_response); + return this.processOutSourcingOrderShortageClose(_response); }); } - protected processCreateOrUpdateLanguage(response: AxiosResponse): Promise { + protected processOutSourcingOrderShortageClose(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -35395,22 +37977,37 @@ export class LanguageServiceProxy { } return Promise.resolve(null as any); } +} + +export class IcsParam2ParamServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } /** - * 删除语言 - * @param id (optional) + * @param body (optional) * @return Success */ - deleteLanguage(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Language/DeleteLanguage?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParam2Param/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -35422,11 +38019,11 @@ export class LanguageServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDeleteLanguage(_response); + return this.processBatchDelete(_response); }); } - protected processDeleteLanguage(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -35448,21 +38045,21 @@ export class LanguageServiceProxy { } /** - * 获取语言编辑 - * @param id (optional) + * @param body (optional) * @return Success */ - getLanguageForEdit(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Language/GetLanguageForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + createOrUpdate(body: CreateOrUpdateIcsParam2ParamInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParam2Param/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -35474,11 +38071,11 @@ export class LanguageServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetLanguageForEdit(_response); + return this.processCreateOrUpdate(_response); }); } - protected processGetLanguageForEdit(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -35490,31 +38087,31 @@ export class LanguageServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetLanguageForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取语言 + * @param id (optional) * @return Success */ - getLanguages( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Language/GetLanguages"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParam2Param/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -35526,11 +38123,11 @@ export class LanguageServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetLanguages(_response); + return this.processDelete(_response); }); } - protected processGetLanguages(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -35542,56 +38139,25 @@ export class LanguageServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetLanguagesOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取语言文本 - * @param sourceName 语言名称 - * @param baseLanguageName (optional) 原语言名称 - * @param targetLanguageName 目标语言名称 - * @param targetValueFilter (optional) 目标值过滤 - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param id (optional) * @return Success */ - getLanguageTexts(sourceName: string | null, baseLanguageName: string | null | undefined, targetLanguageName: string | null, targetValueFilter: string | null | undefined, filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Language/GetLanguageTexts?"; - if (sourceName === undefined) - throw new Error("The parameter 'sourceName' must be defined."); - else if(sourceName !== null) - url_ += "sourceName=" + encodeURIComponent("" + sourceName) + "&"; - if (baseLanguageName !== undefined && baseLanguageName !== null) - url_ += "baseLanguageName=" + encodeURIComponent("" + baseLanguageName) + "&"; - if (targetLanguageName === undefined) - throw new Error("The parameter 'targetLanguageName' must be defined."); - else if(targetLanguageName !== null) - url_ += "targetLanguageName=" + encodeURIComponent("" + targetLanguageName) + "&"; - if (targetValueFilter !== undefined && targetValueFilter !== null) - url_ += "targetValueFilter=" + encodeURIComponent("" + targetValueFilter) + "&"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParam2Param/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -35610,11 +38176,11 @@ export class LanguageServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetLanguageTexts(_response); + return this.processGetById(_response); }); } - protected processGetLanguageTexts(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -35628,33 +38194,31 @@ export class LanguageServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfLanguageTextListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsParam2ParamListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 设置默认语言 - * @param body (optional) + * @param id (optional) * @return Success */ - setDefaultLanguage(body: SetDefaultLanguageInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Language/SetDefaultLanguage"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParam2Param/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -35666,11 +38230,11 @@ export class LanguageServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSetDefaultLanguage(_response); + return this.processGetForEdit(_response); }); } - protected processSetDefaultLanguage(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -35682,32 +38246,46 @@ export class LanguageServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = GetIcsParam2ParamForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 修改语言的文本内容 - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - updateLanguageText(body: UpdateLanguageTextInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Language/UpdateLanguageText"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParam2Param/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "PUT", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -35719,11 +38297,11 @@ export class LanguageServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUpdateLanguageText(_response); + return this.processGetPaged(_response); }); } - protected processUpdateLanguageText(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -35735,17 +38313,20 @@ export class LanguageServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfIcsParam2ParamListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class ListViewsServiceProxy { +export class IcsParamDetailServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -35759,12 +38340,11 @@ export class ListViewsServiceProxy { } /** - * 全局设置列表配置 * @param body (optional) * @return Success */ - adminSaveListViewAsPersonal(body: SaveListViewAsPersonalInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ListViews/AdminSaveListViewAsPersonal"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParamDetail/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -35786,11 +38366,11 @@ export class ListViewsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processAdminSaveListViewAsPersonal(_response); + return this.processBatchDelete(_response); }); } - protected processAdminSaveListViewAsPersonal(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -35812,22 +38392,21 @@ export class ListViewsServiceProxy { } /** - * 删除个性化列颜色配置 - * @param id (optional) + * @param body (optional) * @return Success */ - deleteListViewColumnColor(id: string | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ListViews/DeleteListViewColumnColor?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + createOrUpdate(body: CreateOrUpdateIcsParamDetailInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParamDetail/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -35839,11 +38418,11 @@ export class ListViewsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDeleteListViewColumnColor(_response); + return this.processCreateOrUpdate(_response); }); } - protected processDeleteListViewColumnColor(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -35865,14 +38444,15 @@ export class ListViewsServiceProxy { } /** - * 删除用户个性化配置 - * @param listViewName (optional) + * @param id (optional) * @return Success */ - deletePersonalListView(listViewName: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ListViews/DeletePersonalListView?"; - if (listViewName !== undefined && listViewName !== null) - url_ += "listViewName=" + encodeURIComponent("" + listViewName) + "&"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParamDetail/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -35890,11 +38470,11 @@ export class ListViewsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDeletePersonalListView(_response); + return this.processDelete(_response); }); } - protected processDeletePersonalListView(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -35916,18 +38496,15 @@ export class ListViewsServiceProxy { } /** - * 获取列配置。 - 优先级: 用户自定义配置->管理员账号自定义配置->系统默认配置 - * @param listViewName (optional) 列表视图名称 - * @param userId (optional) 用户Id + * @param id (optional) * @return Success */ - getColumnsOfListView(listViewName: string | null | undefined, userId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ListViews/GetColumnsOfListView?"; - if (listViewName !== undefined && listViewName !== null) - url_ += "listViewName=" + encodeURIComponent("" + listViewName) + "&"; - if (userId !== undefined && userId !== null) - url_ += "userId=" + encodeURIComponent("" + userId) + "&"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParamDetail/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -35946,11 +38523,11 @@ export class ListViewsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetColumnsOfListView(_response); + return this.processGetById(_response); }); } - protected processGetColumnsOfListView(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -35964,33 +38541,31 @@ export class ListViewsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ListViewDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsParamDetailListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 保存自定义列 - * @param body (optional) + * @param id (optional) * @return Success */ - saveListViewAsPersonal(body: SaveListViewAsPersonalInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/ListViews/SaveListViewAsPersonal"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParamDetail/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -36002,11 +38577,11 @@ export class ListViewsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSaveListViewAsPersonal(_response); + return this.processGetForEdit(_response); }); } - protected processSaveListViewAsPersonal(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -36018,44 +38593,39 @@ export class ListViewsServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = GetIcsParamDetailForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class LoginLogsServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 获取所有或者指定用户登录日志---登录统计与登录日志共用一个接口 - * @param userId (optional) 用户id - * @param startTime (optional) 开始时间 - * @param endTime (optional) 结束时间 + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - getAllOrOneself(userId: string | null | undefined, startTime: moment.Moment | null | undefined, endTime: moment.Moment | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/LoginLogs/GetAllOrOneself?"; - if (userId !== undefined && userId !== null) - url_ += "userId=" + encodeURIComponent("" + userId) + "&"; - if (startTime !== undefined && startTime !== null) - url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&"; - if (endTime !== undefined && endTime !== null) - url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParamDetail/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -36074,11 +38644,11 @@ export class LoginLogsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllOrOneself(_response); + return this.processGetPaged(_response); }); } - protected processGetAllOrOneself(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -36092,47 +38662,32 @@ export class LoginLogsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = LogEchartDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsParamDetailListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取用户登录日志分页数据 - * @param userName (optional) 用户名 - * @param startTime (optional) 开始时间 - * @param endTime (optional) 结束时间 - * @param total (optional) 总计 - * @param page (optional) 页码 + * @param body (optional) * @return Success */ - getPageUserLog(userName: string | null | undefined, startTime: moment.Moment | null | undefined, endTime: moment.Moment | null | undefined, total: number | undefined, page: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/LoginLogs/GetPageUserLog?"; - if (userName !== undefined && userName !== null) - url_ += "userName=" + encodeURIComponent("" + userName) + "&"; - if (startTime !== undefined && startTime !== null) - url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&"; - if (endTime !== undefined && endTime !== null) - url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&"; - if (total === null) - throw new Error("The parameter 'total' cannot be null."); - else if (total !== undefined) - url_ += "total=" + encodeURIComponent("" + total) + "&"; - if (page === null) - throw new Error("The parameter 'page' cannot be null."); - else if (page !== undefined) - url_ += "page=" + encodeURIComponent("" + page) + "&"; + selectControlAccessorySpec_ControlForm(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParamDetail/SelectControlAccessorySpec_ControlForm"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -36145,11 +38700,11 @@ export class LoginLogsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPageUserLog(_response); + return this.processSelectControlAccessorySpec_ControlForm(_response); }); } - protected processGetPageUserLog(response: AxiosResponse): Promise { + protected processSelectControlAccessorySpec_ControlForm(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -36163,37 +38718,29 @@ export class LoginLogsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfLoginLogsDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class MenuServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 批量删除 * @param body (optional) * @return Success */ - batchDelete(body: string[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Menu/BatchDelete"; + selectedModifying(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParamDetail/SelectedModifying"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -36204,6 +38751,7 @@ export class MenuServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -36215,11 +38763,11 @@ export class MenuServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processSelectedModifying(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processSelectedModifying(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -36231,22 +38779,31 @@ export class MenuServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 菜单复制 * @param body (optional) * @return Success */ - copyMenu(body: EntityDtoOfGuid | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Menu/CopyMenu"; + selectedModifyingAll(body: IcsManufacturing2EditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParamDetail/SelectedModifyingAll"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -36257,6 +38814,7 @@ export class MenuServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -36268,11 +38826,11 @@ export class MenuServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCopyMenu(_response); + return this.processSelectedModifyingAll(_response); }); } - protected processCopyMenu(response: AxiosResponse): Promise { + protected processSelectedModifyingAll(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -36284,22 +38842,31 @@ export class MenuServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 新增或编辑 * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateMenuInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Menu/CreateOrUpdate"; + selectParamValuesDataSource(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParamDetail/SelectParamValuesDataSource"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -36310,6 +38877,7 @@ export class MenuServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -36321,11 +38889,11 @@ export class MenuServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processSelectParamValuesDataSource(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processSelectParamValuesDataSource(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -36337,30 +38905,55 @@ export class MenuServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsParamHeadServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 创建租户菜单 - * @param tenantId (optional) 租户id + * @param body (optional) * @return Success */ - createTenantMenu(tenantId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Menu/CreateTenantMenu?"; - if (tenantId !== undefined && tenantId !== null) - url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParamHead/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -36372,11 +38965,11 @@ export class MenuServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateTenantMenu(_response); + return this.processBatchDelete(_response); }); } - protected processCreateTenantMenu(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -36398,22 +38991,21 @@ export class MenuServiceProxy { } /** - * 删除 - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: string | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Menu/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + createOrUpdate(body: CreateorUpdateIcsParamHeadInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParamHead/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -36425,11 +39017,11 @@ export class MenuServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processCreateOrUpdate(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -36451,15 +39043,19 @@ export class MenuServiceProxy { } /** - * 生成种子数据文件 + * @param id (optional) * @return Success */ - generateSeedDataFile( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Menu/GenerateSeedDataFile"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParamHead/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "DELETE", url: url_, headers: { }, @@ -36473,11 +39069,11 @@ export class MenuServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGenerateSeedDataFile(_response); + return this.processDelete(_response); }); } - protected processGenerateSeedDataFile(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -36499,13 +39095,14 @@ export class MenuServiceProxy { } /** - * 获取菜单编辑 * @param id (optional) * @return Success */ - getForEdit(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Menu/GetForEdit?"; - if (id !== undefined && id !== null) + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParamHead/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -36525,11 +39122,11 @@ export class MenuServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processGetById(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -36543,22 +39140,24 @@ export class MenuServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetMenuForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsParamHeadListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取菜单配置 - 公共 + * @param id (optional) * @return Success */ - getList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Menu/GetList"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParamHead/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -36577,11 +39176,11 @@ export class MenuServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetList(_response); + return this.processGetForEdit(_response); }); } - protected processGetList(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -36595,41 +39194,33 @@ export class MenuServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(MenuArgs.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = GetIcsParamHeadForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取菜单分页 + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Menu/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParamHead/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -36656,7 +39247,7 @@ export class MenuServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -36670,46 +39261,28 @@ export class MenuServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfMenuListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsParamHeadListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class MessageConfigServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * @param body (optional) * @return Success */ - batchDelete(body: string[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageConfig/BatchDelete"; + getSelectParamCodeDataSource( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsParamHead/GetSelectParamCodeDataSource"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -36721,11 +39294,11 @@ export class MessageConfigServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processGetSelectParamCodeDataSource(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processGetSelectParamCodeDataSource(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -36737,21 +39310,45 @@ export class MessageConfigServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsPartServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateMessageConfigInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageConfig/CreateOrUpdate"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsPart/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -36773,11 +39370,11 @@ export class MessageConfigServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processBatchDelete(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -36799,21 +39396,21 @@ export class MessageConfigServiceProxy { } /** - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: string | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageConfig/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + createOrUpdate(body: CreateOrUpdateIcsPartInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsPart/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -36825,11 +39422,11 @@ export class MessageConfigServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processCreateOrUpdate(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -36851,21 +39448,21 @@ export class MessageConfigServiceProxy { } /** + * @param id (optional) * @return Success */ - getAll(channelType: _definitions_PushChannelType , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageConfig/GetAll?"; - if (channelType === undefined || channelType === null) - throw new Error("The parameter 'channelType' must be defined and cannot be null."); - else - url_ += "channelType=" + encodeURIComponent("" + channelType) + "&"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsPart/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -36877,11 +39474,11 @@ export class MessageConfigServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAll(_response); + return this.processDelete(_response); }); } - protected processGetAll(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -36893,31 +39490,21 @@ export class MessageConfigServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(MessageConfigListDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getById(id: string | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageConfig/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsPart/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -36944,7 +39531,7 @@ export class MessageConfigServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -36958,22 +39545,22 @@ export class MessageConfigServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = MessageConfigListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsPartListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageConfig/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsPart/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -36998,7 +39585,7 @@ export class MessageConfigServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -37012,33 +39599,33 @@ export class MessageConfigServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetMessageConfigForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsPartForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageConfig/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsPart/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -37065,7 +39652,7 @@ export class MessageConfigServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -37079,46 +39666,27 @@ export class MessageConfigServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfMessageConfigListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsPartListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class MessageRecordServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * @param body (optional) * @return Success */ - getPaged(body: GetMessageRecordInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageRecord/GetPaged"; + getPartAllSelect( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsPart/GetPartAllSelect"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -37131,11 +39699,11 @@ export class MessageRecordServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processGetPartAllSelect(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPartAllSelect(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -37149,18 +39717,25 @@ export class MessageRecordServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfMessageRecordListDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class MessageRuleServiceProxy { +export class IcsPart2SubItemServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -37177,8 +39752,8 @@ export class MessageRuleServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: string[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageRule/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsPart2SubItem/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -37229,8 +39804,8 @@ export class MessageRuleServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateMessageRuleInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageRule/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsPart2SubItemInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsPart2SubItem/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -37281,8 +39856,8 @@ export class MessageRuleServiceProxy { * @param id (optional) * @return Success */ - delete(id: string | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageRule/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsPart2SubItem/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -37333,8 +39908,8 @@ export class MessageRuleServiceProxy { * @param id (optional) * @return Success */ - getById(id: string | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageRule/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsPart2SubItem/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -37361,7 +39936,7 @@ export class MessageRuleServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -37375,22 +39950,22 @@ export class MessageRuleServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = MessageRuleListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsPart2SubItemListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageRule/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsPart2SubItem/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -37415,7 +39990,7 @@ export class MessageRuleServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -37429,33 +40004,33 @@ export class MessageRuleServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetMessageRuleForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsPart2SubItemForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageRule/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsPart2SubItem/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -37482,7 +40057,7 @@ export class MessageRuleServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -37496,31 +40071,46 @@ export class MessageRuleServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfMessageRuleListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsPart2SubItemListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsReelServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * @param ruleName (optional) + * @param body (optional) * @return Success */ - sendMessageTest(ruleName: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageRule/SendMessageTest?"; - if (ruleName !== undefined && ruleName !== null) - url_ += "ruleName=" + encodeURIComponent("" + ruleName) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReel/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -37532,11 +40122,11 @@ export class MessageRuleServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSendMessageTest(_response); + return this.processBatchDelete(_response); }); } - protected processSendMessageTest(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -37548,39 +40138,21 @@ export class MessageRuleServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = resultData200 !== undefined ? resultData200 : null; - - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class MessageTemplateServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** * @param body (optional) * @return Success */ - batchDelete(body: string[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageTemplate/BatchDelete"; + createOrUpdate(body: CreateOrUpdateIcsReelInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReel/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -37602,11 +40174,11 @@ export class MessageTemplateServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processCreateOrUpdate(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -37628,21 +40200,21 @@ export class MessageTemplateServiceProxy { } /** - * @param body (optional) + * @param id (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateMessageTemplateInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageTemplate/CreateOrUpdate"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReel/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "DELETE", url: url_, headers: { - "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -37654,11 +40226,11 @@ export class MessageTemplateServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processDelete(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -37683,8 +40255,8 @@ export class MessageTemplateServiceProxy { * @param id (optional) * @return Success */ - delete(id: string | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageTemplate/Delete?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReel/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -37692,9 +40264,10 @@ export class MessageTemplateServiceProxy { url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "DELETE", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -37706,11 +40279,11 @@ export class MessageTemplateServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processGetById(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -37722,24 +40295,26 @@ export class MessageTemplateServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsReelListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param id (optional) * @return Success */ - getAll(channelType: _definitions_PushChannelType , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageTemplate/GetAll?"; - if (channelType === undefined || channelType === null) - throw new Error("The parameter 'channelType' must be defined and cannot be null."); - else - url_ += "channelType=" + encodeURIComponent("" + channelType) + "&"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReel/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -37758,11 +40333,11 @@ export class MessageTemplateServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAll(_response); + return this.processGetForEdit(_response); }); } - protected processGetAll(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -37776,33 +40351,37 @@ export class MessageTemplateServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(MessageTemplateListDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = GetIcsReelForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - getById(id: string | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageTemplate/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReel/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -37821,11 +40400,11 @@ export class MessageTemplateServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processGetPaged(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -37839,30 +40418,46 @@ export class MessageTemplateServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = MessageTemplateListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsReelListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsReportServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * @param id (optional) + * @param body (optional) * @return Success */ - getForEdit(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageTemplate/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + queryLotNoSplitLogReport(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryLotNoSplitLogReport"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -37875,11 +40470,11 @@ export class MessageTemplateServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processQueryLotNoSplitLogReport(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processQueryLotNoSplitLogReport(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -37893,43 +40488,32 @@ export class MessageTemplateServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetMessageTemplateForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsLotNoSplitLogDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param body (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/MessageTemplate/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + queryMoHourCountDetailReport(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryMoHourCountDetailReport"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -37942,11 +40526,11 @@ export class MessageTemplateServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processQueryMoHourCountDetailReport(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processQueryMoHourCountDetailReport(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -37960,47 +40544,33 @@ export class MessageTemplateServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfMessageTemplateListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfMoHourCountDetailDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class NotificationServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 删除通知 - * @param id (optional) + * @param body (optional) * @return Success */ - deleteNotification(id: string | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Notification/DeleteNotification?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + queryNCRAllReport(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryNCRAllReport"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -38012,11 +40582,11 @@ export class NotificationServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDeleteNotification(_response); + return this.processQueryNCRAllReport(_response); }); } - protected processDeleteNotification(response: AxiosResponse): Promise { + protected processQueryNCRAllReport(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38028,27 +40598,34 @@ export class NotificationServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfNCRDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取通知设置 + * @param body (optional) * @return Success */ - getNotificationSettings( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Notification/GetNotificationSettings"; + queryNCRScrapReport(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryNCRScrapReport"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -38061,11 +40638,11 @@ export class NotificationServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetNotificationSettings(_response); + return this.processQueryNCRScrapReport(_response); }); } - protected processGetNotificationSettings(response: AxiosResponse): Promise { + protected processQueryNCRScrapReport(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38079,23 +40656,22 @@ export class NotificationServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetNotificationSettingsOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfNcrScrapQtyDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取用户通知分页数据 * @param body (optional) * @return Success */ - getPagedUserNotifications(body: GetUserNotificationsInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Notification/GetPagedUserNotifications"; + queryProjectProgressReport(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryProjectProgressReport"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -38118,11 +40694,11 @@ export class NotificationServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPagedUserNotifications(_response); + return this.processQueryProjectProgressReport(_response); }); } - protected processGetPagedUserNotifications(response: AxiosResponse): Promise { + protected processQueryProjectProgressReport(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38136,28 +40712,33 @@ export class NotificationServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetNotificationsOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfProjectProgressReportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 所有通知设为已读 + * @param body (optional) * @return Success */ - makeAllUserNotificationsAsRead( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Notification/MakeAllUserNotificationsAsRead"; + queryProjectProgressReport2(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryProjectProgressReport2"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -38169,11 +40750,11 @@ export class NotificationServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processMakeAllUserNotificationsAsRead(_response); + return this.processQueryProjectProgressReport2(_response); }); } - protected processMakeAllUserNotificationsAsRead(response: AxiosResponse): Promise { + protected processQueryProjectProgressReport2(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38185,22 +40766,24 @@ export class NotificationServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfProjectProgressReportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 通知设为已读 * @param body (optional) * @return Success */ - makeNotificationAsRead(body: EntityDtoOfGuid | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Notification/MakeNotificationAsRead"; + queryReportList1(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList1"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -38211,6 +40794,7 @@ export class NotificationServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -38222,11 +40806,11 @@ export class NotificationServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processMakeNotificationAsRead(_response); + return this.processQueryReportList1(_response); }); } - protected processMakeNotificationAsRead(response: AxiosResponse): Promise { + protected processQueryReportList1(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38238,36 +40822,35 @@ export class NotificationServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfIcsLotOnWipItemDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 发送通知给用户(DeBug模式) - * @param msg (optional) - * @param tenantId (optional) - * @param userId (optional) + * @param body (optional) * @return Success */ - sendNoticeToUser(msg: string | null | undefined, tenantId: string | null | undefined, userId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Notification/SendNoticeToUser?"; - if (msg !== undefined && msg !== null) - url_ += "msg=" + encodeURIComponent("" + msg) + "&"; - if (tenantId !== undefined && tenantId !== null) - url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; - if (userId !== undefined && userId !== null) - url_ += "userId=" + encodeURIComponent("" + userId) + "&"; + queryReportList10(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList10"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -38279,11 +40862,11 @@ export class NotificationServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSendNoticeToUser(_response); + return this.processQueryReportList10(_response); }); } - protected processSendNoticeToUser(response: AxiosResponse): Promise { + protected processQueryReportList10(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38295,32 +40878,35 @@ export class NotificationServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfStringDtoEx.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 更新消息设置 * @param body (optional) * @return Success */ - updateNotificationSettings(body: UpdateNotificationSettingsInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Notification/UpdateNotificationSettings"; + queryReportList11(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList11"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); let options_: AxiosRequestConfig = { data: content_, - method: "PUT", + method: "POST", url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -38332,11 +40918,11 @@ export class NotificationServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUpdateNotificationSettings(_response); + return this.processQueryReportList11(_response); }); } - protected processUpdateNotificationSettings(response: AxiosResponse): Promise { + protected processQueryReportList11(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38348,36 +40934,80 @@ export class NotificationServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfStringDtoEx.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } -} -export class OnlineUserServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + /** + * @param body (optional) + * @return Success + */ + queryReportList12(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList12"; + url_ = url_.replace(/[?&]$/, ""); - constructor(baseUrl?: string, instance?: AxiosInstance) { + const content_ = JSON.stringify(body); - this.instance = instance ? instance : axios.create(); + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processQueryReportList12(_response); + }); + } + + protected processQueryReportList12(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfStringDtoEx.fromJS(resultData200); + return Promise.resolve(result200); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } /** - * 下线 * @param body (optional) * @return Success */ - downline(body: string[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OnlineUser/Downline"; + queryReportList13(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList13"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -38388,6 +41018,7 @@ export class OnlineUserServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -38399,11 +41030,11 @@ export class OnlineUserServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDownline(_response); + return this.processQueryReportList13(_response); }); } - protected processDownline(response: AxiosResponse): Promise { + protected processQueryReportList13(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38415,27 +41046,34 @@ export class OnlineUserServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfStringDtoEx.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取在线用户数 + * @param body (optional) * @return Success */ - getOnlineUserCount( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OnlineUser/GetOnlineUserCount"; + queryReportList14(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList14"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -38448,11 +41086,11 @@ export class OnlineUserServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetOnlineUserCount(_response); + return this.processQueryReportList14(_response); }); } - protected processGetOnlineUserCount(response: AxiosResponse): Promise { + protected processQueryReportList14(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38466,24 +41104,22 @@ export class OnlineUserServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = resultData200 !== undefined ? resultData200 : null; - - return Promise.resolve(result200); + result200 = PagedResultDtoOfStringDtoEx.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取在线用户分页 * @param body (optional) * @return Success */ - getOnlineUserPaged(body: GetOnlineUserInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OnlineUser/GetOnlineUserPaged"; + queryReportList15(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList15"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -38506,11 +41142,11 @@ export class OnlineUserServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetOnlineUserPaged(_response); + return this.processQueryReportList15(_response); }); } - protected processGetOnlineUserPaged(response: AxiosResponse): Promise { + protected processQueryReportList15(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38524,37 +41160,78 @@ export class OnlineUserServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfUserListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfStringDtoEx.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } -} -export class OrganizationUnitServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + /** + * @param body (optional) + * @return Success + */ + queryReportList16(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList16"; + url_ = url_.replace(/[?&]$/, ""); - constructor(baseUrl?: string, instance?: AxiosInstance) { + const content_ = JSON.stringify(body); - this.instance = instance ? instance : axios.create(); + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processQueryReportList16(_response); + }); + } + + protected processQueryReportList16(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfStringDtoEx.fromJS(resultData200); + return Promise.resolve(result200); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } /** - * 添加角色 组织关联 * @param body (optional) * @return Success */ - addRoles(body: RolesToOrganizationUnitInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/AddRoles"; + queryReportList17(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList17"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -38565,6 +41242,7 @@ export class OrganizationUnitServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -38576,11 +41254,11 @@ export class OrganizationUnitServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processAddRoles(_response); + return this.processQueryReportList17(_response); }); } - protected processAddRoles(response: AxiosResponse): Promise { + protected processQueryReportList17(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38592,22 +41270,24 @@ export class OrganizationUnitServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfStringDtoEx.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 添加用户 * @param body (optional) * @return Success */ - addUsers(body: UsersToOrganizationUnitInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/AddUsers"; + queryReportList18(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList18"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -38618,6 +41298,7 @@ export class OrganizationUnitServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -38629,11 +41310,11 @@ export class OrganizationUnitServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processAddUsers(_response); + return this.processQueryReportList18(_response); }); } - protected processAddUsers(response: AxiosResponse): Promise { + protected processQueryReportList18(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38645,25 +41326,24 @@ export class OrganizationUnitServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfStringDtoEx.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 批量从组织中移除角色 - * @param organizationUnitId (optional) * @param body (optional) * @return Success */ - batchRemoveRoleFromOrganizationUnit(organizationUnitId: string | null | undefined, body: string[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/BatchRemoveRoleFromOrganizationUnit?"; - if (organizationUnitId !== undefined && organizationUnitId !== null) - url_ += "organizationUnitId=" + encodeURIComponent("" + organizationUnitId) + "&"; + queryReportList19(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList19"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -38674,6 +41354,7 @@ export class OrganizationUnitServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -38685,11 +41366,11 @@ export class OrganizationUnitServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchRemoveRoleFromOrganizationUnit(_response); + return this.processQueryReportList19(_response); }); } - protected processBatchRemoveRoleFromOrganizationUnit(response: AxiosResponse): Promise { + protected processQueryReportList19(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38701,25 +41382,24 @@ export class OrganizationUnitServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfStringDtoEx.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 批量从组织中移除用户 - * @param organizationUnitId (optional) 组织机构Id - * @param body (optional) 用户Id列表 + * @param body (optional) * @return Success */ - batchRemoveUserFromOrganizationUnit(organizationUnitId: string | null | undefined, body: string[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/BatchRemoveUserFromOrganizationUnit?"; - if (organizationUnitId !== undefined && organizationUnitId !== null) - url_ += "organizationUnitId=" + encodeURIComponent("" + organizationUnitId) + "&"; + queryReportList2(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList2"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -38730,6 +41410,7 @@ export class OrganizationUnitServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -38741,11 +41422,11 @@ export class OrganizationUnitServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchRemoveUserFromOrganizationUnit(_response); + return this.processQueryReportList2(_response); }); } - protected processBatchRemoveUserFromOrganizationUnit(response: AxiosResponse): Promise { + protected processQueryReportList2(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38757,22 +41438,24 @@ export class OrganizationUnitServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfLotOnWipDetailReportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 创建组织单元 * @param body (optional) * @return Success */ - create(body: CreateOrganizationUnitInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/Create"; + queryReportList20(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList20"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -38795,11 +41478,11 @@ export class OrganizationUnitServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreate(_response); + return this.processQueryReportList20(_response); }); } - protected processCreate(response: AxiosResponse): Promise { + protected processQueryReportList20(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38813,31 +41496,33 @@ export class OrganizationUnitServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = OrganizationUnitListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfStringDtoEx.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 删除组织单元 - * @param id (optional) + * @param body (optional) * @return Success */ - delete(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/Delete?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + queryReportList3(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList3"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -38849,11 +41534,11 @@ export class OrganizationUnitServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processQueryReportList3(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processQueryReportList3(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38865,22 +41550,24 @@ export class OrganizationUnitServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfSalaryDetailDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 查找角色 * @param body (optional) * @return Success */ - findRoles(body: FindUsersInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/FindRoles"; + queryReportList4(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList4"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -38903,11 +41590,11 @@ export class OrganizationUnitServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processFindRoles(_response); + return this.processQueryReportList4(_response); }); } - protected processFindRoles(response: AxiosResponse): Promise { + protected processQueryReportList4(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38921,23 +41608,22 @@ export class OrganizationUnitServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfNameValueDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfProductCheckReportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 查找用户 * @param body (optional) * @return Success */ - findUsers(body: FindUsersInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/FindUsers"; + queryReportList5(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList5"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -38960,11 +41646,11 @@ export class OrganizationUnitServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processFindUsers(_response); + return this.processQueryReportList5(_response); }); } - protected processFindUsers(response: AxiosResponse): Promise { + protected processQueryReportList5(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -38978,28 +41664,32 @@ export class OrganizationUnitServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfNameValueDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfItemRouteHourCountDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取组织单元结构树 + * @param body (optional) * @return Success */ - getAllOrganizationUnitList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/GetAllOrganizationUnitList"; + queryReportList7(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList7"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -39012,11 +41702,11 @@ export class OrganizationUnitServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllOrganizationUnitList(_response); + return this.processQueryReportList7(_response); }); } - protected processGetAllOrganizationUnitList(response: AxiosResponse): Promise { + protected processQueryReportList7(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -39030,47 +41720,32 @@ export class OrganizationUnitServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ListResultDtoOfOrganizationUnitListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfStringDtoEx.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取角色列表 - * @param id (optional) 编号 - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param body (optional) * @return Success */ - getPagedOrganizationUnitRoles(id: string | null | undefined, filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/GetPagedOrganizationUnitRoles?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + queryReportList8(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList8"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -39083,11 +41758,11 @@ export class OrganizationUnitServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPagedOrganizationUnitRoles(_response); + return this.processQueryReportList8(_response); }); } - protected processGetPagedOrganizationUnitRoles(response: AxiosResponse): Promise { + protected processQueryReportList8(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -39101,47 +41776,32 @@ export class OrganizationUnitServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfOrganizationUnitRoleListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfStringDtoEx.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取组织单元用户分页数据 - * @param id (optional) 编号 - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param body (optional) * @return Success */ - getPagedOrganizationUnitUsers(id: string | null | undefined, filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/GetPagedOrganizationUnitUsers?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + queryReportList9(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryReportList9"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -39154,11 +41814,11 @@ export class OrganizationUnitServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPagedOrganizationUnitUsers(_response); + return this.processQueryReportList9(_response); }); } - protected processGetPagedOrganizationUnitUsers(response: AxiosResponse): Promise { + protected processQueryReportList9(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -39172,23 +41832,22 @@ export class OrganizationUnitServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfOrganizationUnitUserListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfStringDtoEx.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 是否在组织单元中 * @param body (optional) * @return Success */ - isInOrganizationUnit(body: UserToOrganizationUnitInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/IsInOrganizationUnit"; + queryStaticEnumList(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryStaticEnumList"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -39211,11 +41870,11 @@ export class OrganizationUnitServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processIsInOrganizationUnit(_response); + return this.processQueryStaticEnumList(_response); }); } - protected processIsInOrganizationUnit(response: AxiosResponse): Promise { + protected processQueryStaticEnumList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -39229,24 +41888,22 @@ export class OrganizationUnitServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = resultData200 !== undefined ? resultData200 : null; - - return Promise.resolve(result200); + result200 = PagedResultDtoOfSelectItemExt.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 移动组织单元 * @param body (optional) * @return Success */ - move(body: MoveOrganizationUnitInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/Move"; + queryUserHourCountDetailReport(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryUserHourCountDetailReport"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -39269,11 +41926,11 @@ export class OrganizationUnitServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processMove(_response); + return this.processQueryUserHourCountDetailReport(_response); }); } - protected processMove(response: AxiosResponse): Promise { + protected processQueryUserHourCountDetailReport(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -39287,34 +41944,40 @@ export class OrganizationUnitServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = OrganizationUnitListDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(UserHourCountDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 删除 角色 组织关联 - * @param roleId (optional) 角色编号 - * @param organizationUnitId (optional) 组织单元编号 + * @param body (optional) * @return Success */ - removeRole(roleId: string | null | undefined, organizationUnitId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/RemoveRole?"; - if (roleId !== undefined && roleId !== null) - url_ += "roleId=" + encodeURIComponent("" + roleId) + "&"; - if (organizationUnitId !== undefined && organizationUnitId !== null) - url_ += "organizationUnitId=" + encodeURIComponent("" + organizationUnitId) + "&"; + queryUserHourCountReport(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryUserHourCountReport"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -39326,11 +41989,11 @@ export class OrganizationUnitServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processRemoveRole(_response); + return this.processQueryUserHourCountReport(_response); }); } - protected processRemoveRole(response: AxiosResponse): Promise { + protected processQueryUserHourCountReport(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -39342,33 +42005,35 @@ export class OrganizationUnitServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfUserHourCountDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 移除用户 - * @param userId (optional) 用户编号 - * @param organizationUnitId (optional) 组织单元编号 + * @param body (optional) * @return Success */ - removeUser(userId: string | null | undefined, organizationUnitId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/RemoveUser?"; - if (userId !== undefined && userId !== null) - url_ += "userId=" + encodeURIComponent("" + userId) + "&"; - if (organizationUnitId !== undefined && organizationUnitId !== null) - url_ += "organizationUnitId=" + encodeURIComponent("" + organizationUnitId) + "&"; + queryWorkTicketReport(body: CustomPageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsReport/QueryWorkTicketReport"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "DELETE", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -39380,11 +42045,11 @@ export class OrganizationUnitServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processRemoveUser(_response); + return this.processQueryWorkTicketReport(_response); }); } - protected processRemoveUser(response: AxiosResponse): Promise { + protected processQueryWorkTicketReport(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -39396,22 +42061,38 @@ export class OrganizationUnitServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfWorkTicketDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsResServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 判断角色是否在当前组织 * @param body (optional) * @return Success */ - rolesIsInOrganizationUnit(body: RoleToOrganizationUnitInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/RolesIsInOrganizationUnit"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRes/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -39422,7 +42103,6 @@ export class OrganizationUnitServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -39434,11 +42114,11 @@ export class OrganizationUnitServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processRolesIsInOrganizationUnit(_response); + return this.processBatchDelete(_response); }); } - protected processRolesIsInOrganizationUnit(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -39450,37 +42130,31 @@ export class OrganizationUnitServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = resultData200 !== undefined ? resultData200 : null; - - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 更新组织单元 * @param body (optional) * @return Success */ - update(body: UpdateOrganizationUnitInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/Update"; + createOrUpdate(body: CreateOrUpdateIcsResInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRes/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); let options_: AxiosRequestConfig = { data: content_, - method: "PUT", + method: "POST", url: url_, headers: { "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -39492,11 +42166,11 @@ export class OrganizationUnitServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUpdate(_response); + return this.processCreateOrUpdate(_response); }); } - protected processUpdate(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -39508,49 +42182,31 @@ export class OrganizationUnitServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = OrganizationUnitListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class PageFiltersServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 全局配置 - * @param body (optional) + * @param id (optional) * @return Success */ - adminSavePageFilterAsPersonal(body: SavePageFilterAsPersonalInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/PageFilters/AdminSavePageFilterAsPersonal"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRes/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "DELETE", url: url_, headers: { - "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -39562,11 +42218,11 @@ export class PageFiltersServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processAdminSavePageFilterAsPersonal(_response); + return this.processDelete(_response); }); } - protected processAdminSavePageFilterAsPersonal(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -39588,20 +42244,17 @@ export class PageFiltersServiceProxy { } /** - * 删除用户自定义PageFilter - * @param pageFilterName (optional) * @return Success */ - deletePersonalPageFilter(pageFilterName: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/PageFilters/DeletePersonalPageFilter?"; - if (pageFilterName !== undefined && pageFilterName !== null) - url_ += "pageFilterName=" + encodeURIComponent("" + pageFilterName) + "&"; + getAllResList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRes/GetAllResList"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "DELETE", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -39613,11 +42266,11 @@ export class PageFiltersServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDeletePersonalPageFilter(_response); + return this.processGetAllResList(_response); }); } - protected processDeletePersonalPageFilter(response: AxiosResponse): Promise { + protected processGetAllResList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -39629,28 +42282,35 @@ export class PageFiltersServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取对应名称 和 对应用户的 的PageFilter配置。 - 优先级: 用户自定义配置->管理员账号自定义配置->系统默认配置 - * @param pageFilterName (optional) 页面过滤名称 - * @param userId (optional) 用户编号 + * @param id (optional) * @return Success */ - getPageFilter(pageFilterName: string | null | undefined, userId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/PageFilters/GetPageFilter?"; - if (pageFilterName !== undefined && pageFilterName !== null) - url_ += "pageFilterName=" + encodeURIComponent("" + pageFilterName) + "&"; - if (userId !== undefined && userId !== null) - url_ += "userId=" + encodeURIComponent("" + userId) + "&"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRes/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -39669,11 +42329,11 @@ export class PageFiltersServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPageFilter(_response); + return this.processGetById(_response); }); } - protected processGetPageFilter(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -39687,33 +42347,31 @@ export class PageFiltersServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PageFilterDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsResListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 保存用户自定义PageFilter配置 - * @param body (optional) + * @param id (optional) * @return Success */ - savePageFilterAsPersonal(body: SavePageFilterAsPersonalInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/PageFilters/SavePageFilterAsPersonal"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRes/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -39725,11 +42383,11 @@ export class PageFiltersServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSavePageFilterAsPersonal(_response); + return this.processGetForEdit(_response); }); } - protected processSavePageFilterAsPersonal(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -39741,50 +42399,96 @@ export class PageFiltersServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = GetIcsResForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } -} -export class PageSelectFormServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + /** + * @param value (optional) + * @return Success + */ + getOpResList(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRes/GetOpResList?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; + url_ = url_.replace(/[?&]$/, ""); - constructor(baseUrl?: string, instance?: AxiosInstance) { + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - this.instance = instance ? instance : axios.create(); + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetOpResList(_response); + }); + } - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + protected processGetOpResList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } /** - * 获取分页选择器数据源 - * @param methodName (optional) + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPageSelectFormDataSource(methodName: string | null | undefined, filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/PageSelectForm/GetPageSelectFormDataSource?"; - if (methodName !== undefined && methodName !== null) - url_ += "methodName=" + encodeURIComponent("" + methodName) + "&"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRes/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -39807,11 +42511,11 @@ export class PageSelectFormServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPageSelectFormDataSource(_response); + return this.processGetPaged(_response); }); } - protected processGetPageSelectFormDataSource(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -39825,36 +42529,26 @@ export class PageSelectFormServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = StringDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsResListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class PermissionServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 获取所有权限 + * @param opid (optional) * @return Success */ - getAllPermissions( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Permission/GetAllPermissions"; + getRouteResList(opid: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRes/GetRouteResList?"; + if (opid === null) + throw new Error("The parameter 'opid' cannot be null."); + else if (opid !== undefined) + url_ += "opid=" + encodeURIComponent("" + opid) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -39873,11 +42567,11 @@ export class PermissionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllPermissions(_response); + return this.processGetRouteResList(_response); }); } - protected processGetAllPermissions(response: AxiosResponse): Promise { + protected processGetRouteResList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -39891,29 +42585,53 @@ export class PermissionServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ListResultDtoOfFlatPermissionWithLevelDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsRouteServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 获取权限树 + * @param body (optional) * @return Success */ - getAllPermissionsTree( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Permission/GetAllPermissionsTree"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRoute/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -39925,11 +42643,11 @@ export class PermissionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllPermissionsTree(_response); + return this.processBatchDelete(_response); }); } - protected processGetAllPermissionsTree(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -39941,39 +42659,21 @@ export class PermissionServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = ListResultDtoOfTreePermissionDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class ProfileServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 修改语言 * @param body (optional) * @return Success */ - changeLanguage(body: ChangeUserLanguageDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Profile/ChangeLanguage"; + changeAuditStatus(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRoute/ChangeAuditStatus"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -39995,11 +42695,11 @@ export class ProfileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processChangeLanguage(_response); + return this.processChangeAuditStatus(_response); }); } - protected processChangeLanguage(response: AxiosResponse): Promise { + protected processChangeAuditStatus(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -40021,12 +42721,11 @@ export class ProfileServiceProxy { } /** - * 修改密码 * @param body (optional) * @return Success */ - changePassword(body: ChangePasswordInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Profile/ChangePassword"; + createOrUpdate(body: CreateOrUpdateIcsRouteInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRoute/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -40048,11 +42747,11 @@ export class ProfileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processChangePassword(_response); + return this.processCreateOrUpdate(_response); }); } - protected processChangePassword(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -40074,18 +42773,21 @@ export class ProfileServiceProxy { } /** - * 获取当前用户信息编辑 + * @param id (optional) * @return Success */ - getCurrentUserProfileForEdit( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Profile/GetCurrentUserProfileForEdit"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRoute/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -40097,11 +42799,11 @@ export class ProfileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetCurrentUserProfileForEdit(_response); + return this.processDelete(_response); }); } - protected processGetCurrentUserProfileForEdit(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -40113,33 +42815,20 @@ export class ProfileServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = CurrentUserProfileEditDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 根据编号获取朋友简介图片 - * @param profilePictureId (optional) 简介图片编号 - * @param userId (optional) 用户Id - * @param tenantId (optional) 租户Id * @return Success */ - getFriendProfilePictureById(profilePictureId: string | null | undefined, userId: string | null | undefined, tenantId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Profile/GetFriendProfilePictureById?"; - if (profilePictureId !== undefined && profilePictureId !== null) - url_ += "profilePictureId=" + encodeURIComponent("" + profilePictureId) + "&"; - if (userId !== undefined && userId !== null) - url_ += "userId=" + encodeURIComponent("" + userId) + "&"; - if (tenantId !== undefined && tenantId !== null) - url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; + getAllRoute( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRoute/GetAllRoute"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -40158,11 +42847,11 @@ export class ProfileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetFriendProfilePictureById(_response); + return this.processGetAllRoute(_response); }); } - protected processGetFriendProfilePictureById(response: AxiosResponse): Promise { + protected processGetAllRoute(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -40176,24 +42865,32 @@ export class ProfileServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetProfilePictureOutput.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 根据用户id获取头像 * @param id (optional) * @return Success */ - getProfilePicture(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Profile/GetProfilePicture?"; - if (id !== undefined && id !== null) + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRoute/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -40213,11 +42910,11 @@ export class ProfileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetProfilePicture(_response); + return this.processGetById(_response); }); } - protected processGetProfilePicture(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -40231,27 +42928,24 @@ export class ProfileServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetProfilePictureOutputDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsRouteListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 根据编号获取简介图片 - * @param profilePictureId (optional) + * @param id (optional) * @return Success */ - getProfilePictureById(profilePictureId: string | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Profile/GetProfilePictureById?"; - if (profilePictureId === null) - throw new Error("The parameter 'profilePictureId' cannot be null."); - else if (profilePictureId !== undefined) - url_ += "profilePictureId=" + encodeURIComponent("" + profilePictureId) + "&"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRoute/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -40270,11 +42964,11 @@ export class ProfileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetProfilePictureById(_response); + return this.processGetForEdit(_response); }); } - protected processGetProfilePictureById(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -40288,33 +42982,49 @@ export class ProfileServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetProfilePictureOutputDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsRouteForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 更新当前用户信息 - * @param body (optional) + * @param maxResultCount (optional) + * @param routeId (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - updateCurrentUserProfile(body: CurrentUserProfileEditDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Profile/UpdateCurrentUserProfile"; + getOpPageList(maxResultCount: number | undefined, routeId: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRoute/GetOpPageList?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (routeId === null) + throw new Error("The parameter 'routeId' cannot be null."); + else if (routeId !== undefined) + url_ += "routeId=" + encodeURIComponent("" + routeId) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "PUT", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -40326,11 +43036,11 @@ export class ProfileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUpdateCurrentUserProfile(_response); + return this.processGetOpPageList(_response); }); } - protected processUpdateCurrentUserProfile(response: AxiosResponse): Promise { + protected processGetOpPageList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -40342,32 +43052,46 @@ export class ProfileServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfIcsOPListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 更新简介图片 - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - updateProfilePicture(body: UpdateProfilePictureInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Profile/UpdateProfilePicture"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRoute/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "PUT", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -40379,11 +43103,11 @@ export class ProfileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUpdateProfilePicture(_response); + return this.processGetPaged(_response); }); } - protected processUpdateProfilePicture(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -40395,32 +43119,34 @@ export class ProfileServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfIcsRouteListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 上传简介图片 - * @param body (optional) + * @param routeId (optional) * @return Success */ - uploadProfilePicture(body: FileDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Profile/UploadProfilePicture"; + getRouteOPList(routeId: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsRoute/GetRouteOPList?"; + if (routeId === null) + throw new Error("The parameter 'routeId' cannot be null."); + else if (routeId !== undefined) + url_ += "routeId=" + encodeURIComponent("" + routeId) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -40433,11 +43159,11 @@ export class ProfileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUploadProfilePicture(_response); + return this.processGetRouteOPList(_response); }); } - protected processUploadProfilePicture(response: AxiosResponse): Promise { + protected processGetRouteOPList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -40451,29 +43177,53 @@ export class ProfileServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = UploadProfilePictureOutputDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsRoute2OpDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsSBomServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 上传简介图片返回文件编号 + * @param body (optional) * @return Success */ - uploadProfilePictureReturnFileId( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Profile/UploadProfilePictureReturnFileId"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSBom/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -40485,11 +43235,11 @@ export class ProfileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUploadProfilePictureReturnFileId(_response); + return this.processBatchDelete(_response); }); } - protected processUploadProfilePictureReturnFileId(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -40501,31 +43251,31 @@ export class ProfileServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = UploadProfilePictureOutputDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 上传网站设置图片 + * @param body (optional) * @return Success */ - uploadSiteSettingsPic( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Profile/UploadSiteSettingsPic"; + createOrUpdate(body: CreateOrUpdateIcsSBomInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSBom/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -40537,11 +43287,11 @@ export class ProfileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUploadSiteSettingsPic(_response); + return this.processCreateOrUpdate(_response); }); } - protected processUploadSiteSettingsPic(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -40553,42 +43303,21 @@ export class ProfileServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = UploadFileOutputDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class PublicBusinessServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 批次 下拉框数据源 - * @param value (optional) * @param id (optional) * @return Success */ - getAllLotList(value: string | null | undefined, id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/PublicBusiness/GetAllLotList?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSBom/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -40596,10 +43325,9 @@ export class PublicBusinessServiceProxy { url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -40611,11 +43339,11 @@ export class PublicBusinessServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllLotList(_response); + return this.processDelete(_response); }); } - protected processGetAllLotList(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -40627,31 +43355,25 @@ export class PublicBusinessServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 工单下拉框数据源 + * @param id (optional) * @return Success */ - getAllMoList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/PublicBusiness/GetAllMoList"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSBom/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -40670,11 +43392,11 @@ export class PublicBusinessServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllMoList(_response); + return this.processGetById(_response); }); } - protected processGetAllMoList(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -40688,36 +43410,23 @@ export class PublicBusinessServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = IcsSBomListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 工序 下拉框数据源 - * @param value (optional) * @param id (optional) * @return Success */ - getAllOpList(value: string | null | undefined, id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/PublicBusiness/GetAllOpList?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSBom/GetForEdit?"; + if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -40737,11 +43446,11 @@ export class PublicBusinessServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllOpList(_response); + return this.processGetForEdit(_response); }); } - protected processGetAllOpList(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -40755,29 +43464,37 @@ export class PublicBusinessServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = GetIcsSBomForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 工艺路线 下拉框数据源 + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - getAllRouteList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/PublicBusiness/GetAllRouteList"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSBom/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -40796,11 +43513,11 @@ export class PublicBusinessServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllRouteList(_response); + return this.processGetPaged(_response); }); } - protected processGetAllRouteList(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -40814,44 +43531,46 @@ export class PublicBusinessServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsSBomListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsSegServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 工序 下拉框数据源 通过工艺路线 - * @param value (optional) - * @param id (optional) + * @param body (optional) * @return Success */ - getFilterOpList(value: string | null | undefined, id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/PublicBusiness/GetFilterOpList?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSeg/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -40863,11 +43582,11 @@ export class PublicBusinessServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetFilterOpList(_response); + return this.processBatchDelete(_response); }); } - protected processGetFilterOpList(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -40879,110 +43598,21 @@ export class PublicBusinessServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 批次绑定工序数据查询 若无绑定则找工单绑定的工艺路线-工序 - * @param id (optional) + * @param body (optional) * @return Success */ - getMoRoute(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/PublicBusiness/GetMoRoute?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; - url_ = url_.replace(/[?&]$/, ""); - - let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processGetMoRoute(_response); - }); - } - - protected processGetMoRoute(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(IcsRoute2OpDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } -} - -export class RoleServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - - } - - /** - * 批量删除角色 - * @param body (optional) - * @return Success - */ - batchDelete(body: string[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Role/BatchDelete"; + createOrUpdate(body: CreateOrUpdateIcsSegInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSeg/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -41004,11 +43634,11 @@ export class RoleServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processCreateOrUpdate(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -41030,23 +43660,21 @@ export class RoleServiceProxy { } /** - * 创建或更新 - * @param body (optional) + * @param id (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateRoleInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Role/CreateOrUpdate"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSeg/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "DELETE", url: url_, headers: { - "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -41058,11 +43686,11 @@ export class RoleServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processDelete(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -41074,34 +43702,30 @@ export class RoleServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = resultData200 !== undefined ? resultData200 : null; - - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 删除 - * @param id (optional) + * @param value (optional) * @return Success */ - delete(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Role/Delete?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getAllSegList(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSeg/GetAllSegList?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "DELETE", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -41113,11 +43737,11 @@ export class RoleServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processGetAllSegList(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processGetAllSegList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -41129,24 +43753,35 @@ export class RoleServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 服务于前端RoleComboxComponent 组件信息, - * @param permission (optional) 权限名称 + * @param id (optional) * @return Success */ - getAll(permission: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Role/GetAll?"; - if (permission !== undefined && permission !== null) - url_ += "permission=" + encodeURIComponent("" + permission) + "&"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSeg/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -41165,11 +43800,11 @@ export class RoleServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAll(_response); + return this.processGetById(_response); }); } - protected processGetAll(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -41183,23 +43818,22 @@ export class RoleServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ListResultDtoOfRoleListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsSegListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取编辑查询 * @param id (optional) * @return Success */ - getForEdit(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Role/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSeg/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -41224,7 +43858,7 @@ export class RoleServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -41238,43 +43872,33 @@ export class RoleServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetRoleForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsSegForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 分页数据查询 - * @param permissionNames (optional) 权限名称 - * @param startTime (optional) 创建时间筛选 - * @param endTime (optional) 创建时间筛选 + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(permissionNames: string[] | null | undefined, startTime: moment.Moment | null | undefined, endTime: moment.Moment | null | undefined, filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Role/GetPaged?"; - if (permissionNames !== undefined && permissionNames !== null) - permissionNames && permissionNames.forEach(item => { url_ += "permissionNames=" + encodeURIComponent("" + item) + "&"; }); - if (startTime !== undefined && startTime !== null) - url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&"; - if (endTime !== undefined && endTime !== null) - url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSeg/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -41301,7 +43925,7 @@ export class RoleServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -41315,31 +43939,32 @@ export class RoleServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfRoleListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsSegListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取角色编辑 - * @param id (optional) + * @param body (optional) * @return Success */ - getRoleForEdit(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Role/GetRoleForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + queryBusinessSetting(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSeg/QueryBusinessSetting"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -41352,11 +43977,11 @@ export class RoleServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetRoleForEdit(_response); + return this.processQueryBusinessSetting(_response); }); } - protected processGetRoleForEdit(response: AxiosResponse): Promise { + protected processQueryBusinessSetting(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -41370,33 +43995,33 @@ export class RoleServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetRoleForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = StringDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 更新权限 * @param body (optional) * @return Success */ - updatePermissions(body: UpdateRolePermissionsInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Role/UpdatePermissions"; + saveBusinessSetting(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSeg/SaveBusinessSetting"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); let options_: AxiosRequestConfig = { data: content_, - method: "PUT", + method: "POST", url: url_, headers: { "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -41408,11 +44033,11 @@ export class RoleServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUpdatePermissions(_response); + return this.processSaveBusinessSetting(_response); }); } - protected processUpdatePermissions(response: AxiosResponse): Promise { + protected processSaveBusinessSetting(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -41424,17 +44049,20 @@ export class RoleServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsSeg2SysParameterDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class SessionServiceProxy { +export class IcsShiftServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -41448,18 +44076,21 @@ export class SessionServiceProxy { } /** - * 获取当前登录信息 + * @param body (optional) * @return Success */ - getCurrentLoginInformations( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Session/GetCurrentLoginInformations"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsShift/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -41471,11 +44102,11 @@ export class SessionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetCurrentLoginInformations(_response); + return this.processBatchDelete(_response); }); } - protected processGetCurrentLoginInformations(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -41487,31 +44118,31 @@ export class SessionServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetCurrentLoginInformationsOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取用户配置 + * @param body (optional) * @return Success */ - getUserConfigurations( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Session/GetUserConfigurations"; + createOrUpdate(body: CreateOrUpdateIcsShiftInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsShift/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -41523,11 +44154,11 @@ export class SessionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetUserConfigurations(_response); + return this.processCreateOrUpdate(_response); }); } - protected processGetUserConfigurations(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -41539,31 +44170,31 @@ export class SessionServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = AbpUserConfigurationDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 更新用户登录令牌 + * @param id (optional) * @return Success */ - updateUserSignInToken( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Session/UpdateUserSignInToken"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsShift/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "PUT", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -41575,11 +44206,11 @@ export class SessionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUpdateUserSignInToken(_response); + return this.processDelete(_response); }); } - protected processUpdateUserSignInToken(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -41591,48 +44222,32 @@ export class SessionServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = UpdateUserSignInTokenOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class SysDataBaseServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * @param body (optional) + * @param id (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysDataBase/BatchDelete"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsShift/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -41644,11 +44259,11 @@ export class SysDataBaseServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processGetById(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -41660,31 +44275,33 @@ export class SysDataBaseServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsShiftListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param body (optional) + * @param id (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateSysDataBaseInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysDataBase/CreateOrUpdate"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsShift/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -41696,11 +44313,11 @@ export class SysDataBaseServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processGetForEdit(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -41712,31 +44329,46 @@ export class SysDataBaseServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = GetIcsShiftForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param id (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysDataBase/Delete?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsShift/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "DELETE", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -41748,11 +44380,11 @@ export class SysDataBaseServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processGetPaged(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -41764,21 +44396,24 @@ export class SysDataBaseServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfIcsShiftListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysDataBase/GetById?"; + getShiftTpType(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsShift/GetShiftTpType?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -41801,65 +44436,11 @@ export class SysDataBaseServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); - }); - } - - protected processGetById(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = SysDataBaseListDto.fromJS(resultData200); - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * @param id (optional) - * @return Success - */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysDataBase/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; - url_ = url_.replace(/[?&]$/, ""); - - let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processGetShiftTpType(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetShiftTpType(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -41873,85 +44454,25 @@ export class SysDataBaseServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetSysDataBaseForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) - * @return Success - */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysDataBase/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; - url_ = url_.replace(/[?&]$/, ""); - - let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); } - }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); - }); - } - - protected processGetPaged(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } + else { + result200 = null; } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = PagedResultDtoOfSysDataBaseListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class SysEnumKeyServiceProxy { +export class IcsShiftTypeServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -41968,8 +44489,8 @@ export class SysEnumKeyServiceProxy { * @param body (optional) * @return Success */ - batchDelete(body: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysEnumKey/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsShiftType/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -42020,8 +44541,8 @@ export class SysEnumKeyServiceProxy { * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateSysEnumKeyInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysEnumKey/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsShiftTypeInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsShiftType/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -42072,8 +44593,8 @@ export class SysEnumKeyServiceProxy { * @param id (optional) * @return Success */ - delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysEnumKey/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsShiftType/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -42121,15 +44642,10 @@ export class SysEnumKeyServiceProxy { } /** - * @param id (optional) * @return Success */ - getById(id: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysEnumKey/GetById?"; - if (id === null) - throw new Error("The parameter 'id' cannot be null."); - else if (id !== undefined) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + getAllShiftType( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsShiftType/GetAllShiftType"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -42148,11 +44664,11 @@ export class SysEnumKeyServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processGetAllShiftType(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processGetAllShiftType(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -42166,25 +44682,28 @@ export class SysEnumKeyServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = SysEnumKeyListDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取枚举值列表 - * @param value (optional) * @return Success */ - getEnumValueList(value: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysEnumKey/GetEnumValueList?"; - if (value !== undefined && value !== null) - url_ += "value=" + encodeURIComponent("" + value) + "&"; + getAllShiftTypeList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsShiftType/GetAllShiftTypeList"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -42203,11 +44722,11 @@ export class SysEnumKeyServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetEnumValueList(_response); + return this.processGetAllShiftTypeList(_response); }); } - protected processGetEnumValueList(response: AxiosResponse): Promise { + protected processGetAllShiftTypeList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -42224,27 +44743,29 @@ export class SysEnumKeyServiceProxy { if (Array.isArray(resultData200)) { result200 = [] as any; for (let item of resultData200) - result200.push(SysEnumValueListDto.fromJS(item)); + result200.push(SelectItemExt.fromJS(item)); } else { result200 = null; } - return Promise.resolve(result200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** * @param id (optional) * @return Success */ - getForEdit(id: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysEnumKey/GetForEdit?"; - if (id !== undefined && id !== null) + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsShiftType/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -42264,11 +44785,11 @@ export class SysEnumKeyServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processGetById(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -42282,37 +44803,24 @@ export class SysEnumKeyServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetSysEnumKeyForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsShiftTypeListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param id (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysEnumKey/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsShiftType/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -42331,11 +44839,11 @@ export class SysEnumKeyServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processGetForEdit(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -42349,33 +44857,33 @@ export class SysEnumKeyServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfSysEnumKeyListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsShiftTypeForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged2(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysEnumKey/GetPaged2?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsShiftType/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -42398,11 +44906,11 @@ export class SysEnumKeyServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged2(_response); + return this.processGetPaged(_response); }); } - protected processGetPaged2(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -42416,18 +44924,18 @@ export class SysEnumKeyServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfSysEnumKeyListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsShiftTypeListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class SysFileServiceProxy { +export class IcsSmtServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -42441,12 +44949,11 @@ export class SysFileServiceProxy { } /** - * 批量删除SysFile的方法 * @param body (optional) * @return Success */ - batchDelete(body: string[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysFile/BatchDelete"; + test(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSmt/Test"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -42468,11 +44975,11 @@ export class SysFileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processTest(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processTest(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -42492,14 +44999,27 @@ export class SysFileServiceProxy { } return Promise.resolve(null as any); } +} + +export class IcsSolutionServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } /** - * 复制文件 * @param body (optional) * @return Success */ - copyFile(body: SysFileEditDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysFile/CopyFile"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSolution/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -42510,7 +45030,6 @@ export class SysFileServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -42522,11 +45041,11 @@ export class SysFileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCopyFile(_response); + return this.processBatchDelete(_response); }); } - protected processCopyFile(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -42538,33 +45057,31 @@ export class SysFileServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = SysFileListDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 新增文件 - * @param parentId (optional) + * @param body (optional) * @return Success */ - create(parentId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysFile/Create?"; - if (parentId !== undefined && parentId !== null) - url_ += "parentId=" + encodeURIComponent("" + parentId) + "&"; + createOrUpdate(body: CreateOrUpdateIcsSolutionInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSolution/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -42576,11 +45093,11 @@ export class SysFileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreate(_response); + return this.processCreateOrUpdate(_response); }); } - protected processCreate(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -42602,121 +45119,11 @@ export class SysFileServiceProxy { } /** - * 创建文件夹 - * @param body (optional) - * @return Success - */ - createDirectory(body: SysFileEditDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysFile/CreateDirectory"; - url_ = url_.replace(/[?&]$/, ""); - - const content_ = JSON.stringify(body); - - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", - url: url_, - headers: { - "Content-Type": "application/json-patch+json", - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processCreateDirectory(_response); - }); - } - - protected processCreateDirectory(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = SysFileListDto.fromJS(resultData200); - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * 新增文件 - * @return Success - */ - createReturnSysFile( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysFile/CreateReturnSysFile"; - url_ = url_.replace(/[?&]$/, ""); - - let options_: AxiosRequestConfig = { - method: "POST", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processCreateReturnSysFile(_response); - }); - } - - protected processCreateReturnSysFile(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = SysFileListDto.fromJS(resultData200); - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * 删除文件信息 * @param id (optional) * @return Success */ - delete(id: string | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysFile/Delete?"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSolution/Delete?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -42764,12 +45171,11 @@ export class SysFileServiceProxy { } /** - * 通过指定id获取SysFileListDto信息 * @param id (optional) * @return Success */ - getById(id: string | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysFile/GetById?"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSolution/GetById?"; if (id === null) throw new Error("The parameter 'id' cannot be null."); else if (id !== undefined) @@ -42796,59 +45202,7 @@ export class SysFileServiceProxy { }); } - protected processGetById(response: AxiosResponse): Promise { - const status = response.status; - let _headers: any = {}; - if (response.headers && typeof response.headers === "object") { - for (let k in response.headers) { - if (response.headers.hasOwnProperty(k)) { - _headers[k] = response.headers[k]; - } - } - } - if (status === 200) { - const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = SysFileListDto.fromJS(resultData200); - return Promise.resolve(result200); - - } else if (status !== 200 && status !== 204) { - const _responseText = response.data; - return throwException("An unexpected server error occurred.", status, _responseText, _headers); - } - return Promise.resolve(null as any); - } - - /** - * 获取文件夹列表 - * @return Success - */ - getDirectories( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysFile/GetDirectories"; - url_ = url_.replace(/[?&]$/, ""); - - let options_: AxiosRequestConfig = { - method: "GET", - url: url_, - headers: { - "Accept": "text/plain" - }, - cancelToken - }; - - return this.instance.request(options_).catch((_error: any) => { - if (isAxiosError(_error) && _error.response) { - return _error.response; - } else { - throw _error; - } - }).then((_response: AxiosResponse) => { - return this.processGetDirectories(_response); - }); - } - - protected processGetDirectories(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -42862,30 +45216,22 @@ export class SysFileServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SysFileListDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = IcsSolutionListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取编辑 文件 * @param id (optional) * @return Success */ - getForEdit(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysFile/GetForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSolution/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -42910,7 +45256,7 @@ export class SysFileServiceProxy { }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -42924,37 +45270,33 @@ export class SysFileServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetSysFileForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsSolutionForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取文件的分页列表信息 - * @param parentId (optional) 父级Id + * @param maxResultCount (optional) * @param filterText (optional) * @param sorting (optional) - * @param maxResultCount (optional) * @param skipCount (optional) * @return Success */ - getPaged(parentId: string | null | undefined, filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysFile/GetPaged?"; - if (parentId !== undefined && parentId !== null) - url_ += "parentId=" + encodeURIComponent("" + parentId) + "&"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSolution/GetPaged?"; if (maxResultCount === null) throw new Error("The parameter 'maxResultCount' cannot be null."); else if (maxResultCount !== undefined) url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; if (skipCount === null) throw new Error("The parameter 'skipCount' cannot be null."); else if (skipCount !== undefined) @@ -42981,7 +45323,7 @@ export class SysFileServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -42995,33 +45337,27 @@ export class SysFileServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfSysFileListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsSolutionListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 移动文件夹和文件 - * @param body (optional) * @return Success */ - move(body: MoveSysFilesInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysFile/Move"; + selectIcsSolList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSolution/SelectIcsSolList"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, method: "POST", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -43034,11 +45370,11 @@ export class SysFileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processMove(_response); + return this.processSelectIcsSolList(_response); }); } - protected processMove(response: AxiosResponse): Promise { + protected processSelectIcsSolList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -43052,23 +45388,43 @@ export class SysFileServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = SysFileListDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsSSServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 重命名文件 * @param body (optional) * @return Success */ - reFileName(body: SysFileEditDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysFile/ReFileName"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSS/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -43090,11 +45446,11 @@ export class SysFileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processReFileName(_response); + return this.processBatchDelete(_response); }); } - protected processReFileName(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -43116,19 +45472,18 @@ export class SysFileServiceProxy { } /** - * 编辑文件 * @param body (optional) * @return Success */ - update(body: SysFileEditDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/SysFile/Update"; + createOrUpdate(body: CreateOrUpdateIcsSSInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSS/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); let options_: AxiosRequestConfig = { data: content_, - method: "PUT", + method: "POST", url: url_, headers: { "Content-Type": "application/json-patch+json", @@ -43143,11 +45498,11 @@ export class SysFileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUpdate(_response); + return this.processCreateOrUpdate(_response); }); } - protected processUpdate(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -43167,33 +45522,23 @@ export class SysFileServiceProxy { } return Promise.resolve(null as any); } -} - -export class SystemServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - - } /** + * @param id (optional) * @return Success */ - getCurrentUserRole( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/System/GetCurrentUserRole"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSS/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -43205,11 +45550,11 @@ export class SystemServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetCurrentUserRole(_response); + return this.processDelete(_response); }); } - protected processGetCurrentUserRole(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -43221,27 +45566,23 @@ export class SystemServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = resultData200 !== undefined ? resultData200 : null; - - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取当前角色信息 - 返回列表 - 根据当前登录用户ID和租户ID + * @param value (optional) * @return Success */ - getCurrentUserRole2( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/System/GetCurrentUserRole2"; + getAllSSList(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSS/GetAllSSList?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -43260,11 +45601,11 @@ export class SystemServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetCurrentUserRole2(_response); + return this.processGetAllSSList(_response); }); } - protected processGetCurrentUserRole2(response: AxiosResponse): Promise { + protected processGetAllSSList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -43281,26 +45622,30 @@ export class SystemServiceProxy { if (Array.isArray(resultData200)) { result200 = [] as any; for (let item of resultData200) - result200.push(UserRoleByUserIDDto.fromJS(item)); + result200.push(SelectItemExt.fromJS(item)); } else { result200 = null; } - return Promise.resolve(result200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取当前租户下面所有用户 (排除管理员) + * @param id (optional) * @return Success */ - getUserList( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/System/GetUserList"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSS/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -43319,11 +45664,11 @@ export class SystemServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetUserList(_response); + return this.processGetById(_response); }); } - protected processGetUserList(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -43337,33 +45682,28 @@ export class SystemServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(SelectItemExt2.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = IcsSSListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 查询业务参数设置 + * @param id (optional) * @return Success */ - queryBusinessSetting( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/System/QueryBusinessSetting"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSS/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { "Accept": "text/plain" @@ -43378,11 +45718,11 @@ export class SystemServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processQueryBusinessSetting(_response); + return this.processGetForEdit(_response); }); } - protected processQueryBusinessSetting(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -43396,33 +45736,43 @@ export class SystemServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = StringDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsSSForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 保存业务参数设置 - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - saveBusinessSetting(body: StringDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/System/SaveBusinessSetting"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsSS/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -43435,11 +45785,11 @@ export class SystemServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSaveBusinessSetting(_response); + return this.processGetPaged(_response); }); } - protected processSaveBusinessSetting(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -43453,18 +45803,18 @@ export class SystemServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = SysParameterSettingDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsSSListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class TenantServiceProxy { +export class IcsStandardWhoursServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -43478,12 +45828,11 @@ export class TenantServiceProxy { } /** - * 批量删除 * @param body (optional) * @return Success */ - batchDelete(body: EntityDto[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Tenant/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsStandardWhours/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -43531,12 +45880,11 @@ export class TenantServiceProxy { } /** - * 创建租户 * @param body (optional) * @return Success */ - create(body: CreateTenantInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Tenant/Create"; + checkStandardWhours(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsStandardWhours/CheckStandardWhours"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -43558,11 +45906,63 @@ export class TenantServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreate(_response); + return this.processCheckStandardWhours(_response); }); } - protected processCreate(response: AxiosResponse): Promise { + protected processCheckStandardWhours(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateIcsStandardWhoursInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsStandardWhours/CreateOrUpdate"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdate(_response); + }); + } + + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -43584,13 +45984,14 @@ export class TenantServiceProxy { } /** - * 删除 * @param id (optional) * @return Success */ - delete(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Tenant/Delete?"; - if (id !== undefined && id !== null) + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsStandardWhours/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -43635,13 +46036,14 @@ export class TenantServiceProxy { } /** - * 获取编辑 * @param id (optional) * @return Success */ - getForEdit(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Tenant/GetForEdit?"; - if (id !== undefined && id !== null) + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsStandardWhours/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -43661,11 +46063,11 @@ export class TenantServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processGetById(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -43679,59 +46081,27 @@ export class TenantServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = TenantEditDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsStandardWhoursListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取租户分页数据 - * @param subscriptionStart (optional) 订阅开始时间 - * @param subscriptionEnd (optional) 订阅结束时间 - * @param creationDateStart (optional) 创建时间起 - * @param creationDateEnd (optional) 创建时间止 - * @param editionId (optional) 版本Id - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param eqpType (optional) * @return Success */ - getPaged(subscriptionStart: moment.Moment | null | undefined, subscriptionEnd: moment.Moment | null | undefined, creationDateStart: moment.Moment | null | undefined, creationDateEnd: moment.Moment | null | undefined, editionId: string | null | undefined, filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Tenant/GetPaged"; + getEqpModelByType(eqpType: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsStandardWhours/GetEqpModelByType?"; + if (eqpType !== undefined && eqpType !== null) + url_ += "eqpType=" + encodeURIComponent("" + eqpType) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = new FormData(); - if (subscriptionStart !== null && subscriptionStart !== undefined) - content_.append("subscriptionStart", subscriptionStart.toJSON()); - if (subscriptionEnd !== null && subscriptionEnd !== undefined) - content_.append("subscriptionEnd", subscriptionEnd.toJSON()); - if (creationDateStart !== null && creationDateStart !== undefined) - content_.append("creationDateStart", creationDateStart.toJSON()); - if (creationDateEnd !== null && creationDateEnd !== undefined) - content_.append("creationDateEnd", creationDateEnd.toJSON()); - if (editionId !== null && editionId !== undefined) - content_.append("editionId", editionId.toString()); - if (filterText !== null && filterText !== undefined) - content_.append("filterText", filterText.toString()); - if (sorting !== null && sorting !== undefined) - content_.append("sorting", sorting.toString()); - if (maxResultCount === null || maxResultCount === undefined) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else - content_.append("maxResultCount", maxResultCount.toString()); - if (skipCount === null || skipCount === undefined) - throw new Error("The parameter 'skipCount' cannot be null."); - else - content_.append("skipCount", skipCount.toString()); - let options_: AxiosRequestConfig = { - data: content_, method: "GET", url: url_, headers: { @@ -43747,11 +46117,11 @@ export class TenantServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processGetEqpModelByType(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetEqpModelByType(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -43765,23 +46135,29 @@ export class TenantServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfTenantListDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(item); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取租户功能编辑 * @param id (optional) * @return Success */ - getTenantFeaturesForEdit(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Tenant/GetTenantFeaturesForEdit?"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsStandardWhours/GetForEdit?"; if (id !== undefined && id !== null) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -43802,11 +46178,11 @@ export class TenantServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetTenantFeaturesForEdit(_response); + return this.processGetForEdit(_response); }); } - protected processGetTenantFeaturesForEdit(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -43820,33 +46196,44 @@ export class TenantServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetTenantFeaturesEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsStandardWhoursForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 重置租户特定功能 - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - resetTenantSpecificFeatures(body: EntityDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Tenant/ResetTenantSpecificFeatures"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsStandardWhours/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -43858,11 +46245,11 @@ export class TenantServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processResetTenantSpecificFeatures(_response); + return this.processGetPaged(_response); }); } - protected processResetTenantSpecificFeatures(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -43874,22 +46261,38 @@ export class TenantServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfIcsStandardWhoursListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsTestServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 解锁租户管理员 * @param body (optional) * @return Success */ - unlockTenantAdmin(body: EntityDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Tenant/UnlockTenantAdmin"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTest/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -43911,11 +46314,11 @@ export class TenantServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUnlockTenantAdmin(_response); + return this.processBatchDelete(_response); }); } - protected processUnlockTenantAdmin(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -43937,19 +46340,18 @@ export class TenantServiceProxy { } /** - * 更新租户 * @param body (optional) * @return Success */ - update(body: TenantEditDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Tenant/Update"; + createOrUpdate(body: CreateOrUpdateIcsTestInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTest/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); let options_: AxiosRequestConfig = { data: content_, - method: "PUT", + method: "POST", url: url_, headers: { "Content-Type": "application/json-patch+json", @@ -43964,11 +46366,11 @@ export class TenantServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUpdate(_response); + return this.processCreateOrUpdate(_response); }); } - protected processUpdate(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -43990,22 +46392,21 @@ export class TenantServiceProxy { } /** - * 更新租户功能 - * @param body (optional) + * @param id (optional) * @return Success */ - updateTenantFeatures(body: UpdateTenantFeaturesInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Tenant/UpdateTenantFeatures"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTest/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "PUT", + method: "DELETE", url: url_, headers: { - "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -44017,11 +46418,11 @@ export class TenantServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUpdateTenantFeatures(_response); + return this.processDelete(_response); }); } - protected processUpdateTenantFeatures(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44041,27 +46442,17 @@ export class TenantServiceProxy { } return Promise.resolve(null as any); } -} - -export class TenantDashboardServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - - } /** - * 获取日销量 + * @param id (optional) * @return Success */ - getDailySales( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantDashboard/GetDailySales"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTest/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -44080,11 +46471,11 @@ export class TenantDashboardServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetDailySales(_response); + return this.processGetById(_response); }); } - protected processGetDailySales(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44098,27 +46489,24 @@ export class TenantDashboardServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetDailySalesOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsTestListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取工作台数据 - * @param salesSummaryDatePeriod 销售统计日期周期 YoyoBoot.MultiTenancy.TenantDashboard.Dto.GetDashboardDataInput.SalesSummaryDatePeriod + * @param id (optional) * @return Success */ - getDashboardData(salesSummaryDatePeriod: SalesSummaryDatePeriod , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantDashboard/GetDashboardData?"; - if (salesSummaryDatePeriod === undefined || salesSummaryDatePeriod === null) - throw new Error("The parameter 'salesSummaryDatePeriod' must be defined and cannot be null."); - else - url_ += "salesSummaryDatePeriod=" + encodeURIComponent("" + salesSummaryDatePeriod) + "&"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTest/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -44137,11 +46525,11 @@ export class TenantDashboardServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetDashboardData(_response); + return this.processGetForEdit(_response); }); } - protected processGetDashboardData(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44155,22 +46543,37 @@ export class TenantDashboardServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetDashboardDataOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsTestForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取常用统计 + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - getGeneralStats( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantDashboard/GetGeneralStats"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTest/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -44189,11 +46592,11 @@ export class TenantDashboardServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetGeneralStats(_response); + return this.processGetPaged(_response); }); } - protected processGetGeneralStats(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44207,29 +46610,46 @@ export class TenantDashboardServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetGeneralStatsOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsTestListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsTpServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 获取会员活动 + * @param body (optional) * @return Success */ - getMemberActivity( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantDashboard/GetMemberActivity"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTp/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -44241,11 +46661,11 @@ export class TenantDashboardServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetMemberActivity(_response); + return this.processBatchDelete(_response); }); } - protected processGetMemberActivity(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44257,31 +46677,31 @@ export class TenantDashboardServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetMemberActivityOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取分销利润 + * @param body (optional) * @return Success */ - getProfitShare( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantDashboard/GetProfitShare"; + createOrUpdate(body: CreateOrUpdateIcsTpInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTp/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -44293,11 +46713,11 @@ export class TenantDashboardServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetProfitShare(_response); + return this.processCreateOrUpdate(_response); }); } - protected processGetProfitShare(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44309,31 +46729,31 @@ export class TenantDashboardServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetProfitShareOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取区域统计数据 + * @param id (optional) * @return Success */ - getRegionalStats( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantDashboard/GetRegionalStats"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTp/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -44345,11 +46765,11 @@ export class TenantDashboardServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetRegionalStats(_response); + return this.processDelete(_response); }); } - protected processGetRegionalStats(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44361,29 +46781,25 @@ export class TenantDashboardServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetRegionalStatsOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取销售汇总数据 - * @param salesSummaryDatePeriod 销售汇总日期周期 + * @param id (optional) * @return Success */ - getSalesSummary(salesSummaryDatePeriod: SalesSummaryDatePeriod , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantDashboard/GetSalesSummary?"; - if (salesSummaryDatePeriod === undefined || salesSummaryDatePeriod === null) - throw new Error("The parameter 'salesSummaryDatePeriod' must be defined and cannot be null."); - else - url_ += "salesSummaryDatePeriod=" + encodeURIComponent("" + salesSummaryDatePeriod) + "&"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTp/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -44402,11 +46818,11 @@ export class TenantDashboardServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetSalesSummary(_response); + return this.processGetById(_response); }); } - protected processGetSalesSummary(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44420,22 +46836,24 @@ export class TenantDashboardServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetSalesSummaryOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsTpListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取统计数据 + * @param id (optional) * @return Success */ - getTopStats( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantDashboard/GetTopStats"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTp/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -44454,11 +46872,11 @@ export class TenantDashboardServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetTopStats(_response); + return this.processGetForEdit(_response); }); } - protected processGetTopStats(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44472,47 +46890,99 @@ export class TenantDashboardServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetTopStatsOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = GetIcsTpForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } -} -export class TenantRegistrationServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + /** + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) + * @return Success + */ + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTp/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); - constructor(baseUrl?: string, instance?: AxiosInstance) { + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - this.instance = instance ? instance : axios.create(); + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); + } - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfIcsTpListDto.fromJS(resultData200); + return Promise.resolve(result200); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } /** - * 注册租户信息 - * @param body (optional) + * @param id (optional) * @return Success */ - registerTenant(body: CreateTenantDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantRegistration/RegisterTenant"; + getShiftTp(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTp/GetShiftTp?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -44525,11 +46995,11 @@ export class TenantRegistrationServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processRegisterTenant(_response); + return this.processGetShiftTp(_response); }); } - protected processRegisterTenant(response: AxiosResponse): Promise { + protected processGetShiftTp(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44543,18 +47013,25 @@ export class TenantRegistrationServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = RegisterTenantResultDto.fromJS(resultData200); - return Promise.resolve(result200); + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class TenantSettingsServiceProxy { +export class IcsTsServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -44568,17 +47045,21 @@ export class TenantSettingsServiceProxy { } /** - * 清空自定义Css + * @param body (optional) * @return Success */ - clearCustomCss( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantSettings/ClearCustomCss"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTs/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -44590,11 +47071,11 @@ export class TenantSettingsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processClearCustomCss(_response); + return this.processBatchDelete(_response); }); } - protected processClearCustomCss(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44616,17 +47097,21 @@ export class TenantSettingsServiceProxy { } /** - * 清空Logo + * @param body (optional) * @return Success */ - clearLogo( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantSettings/ClearLogo"; + createOrUpdate(body: CreateOrUpdateIcsTsInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTs/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -44638,11 +47123,11 @@ export class TenantSettingsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processClearLogo(_response); + return this.processCreateOrUpdate(_response); }); } - protected processClearLogo(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44664,18 +47149,21 @@ export class TenantSettingsServiceProxy { } /** - * 获取所有设置 + * @param id (optional) * @return Success */ - getAllSettings( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantSettings/GetAllSettings"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTs/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -44687,11 +47175,11 @@ export class TenantSettingsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetAllSettings(_response); + return this.processDelete(_response); }); } - protected processGetAllSettings(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44703,24 +47191,25 @@ export class TenantSettingsServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = TenantSettingsEditDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 根据id获取 + * @param id (optional) * @return Success */ - getDataFile( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantSettings/GetDataFile"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTs/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -44739,11 +47228,11 @@ export class TenantSettingsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetDataFile(_response); + return this.processGetById(_response); }); } - protected processGetDataFile(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44757,22 +47246,24 @@ export class TenantSettingsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = SiteSettingsEditDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsTsListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取项目配置(主题等) + * @param id (optional) * @return Success */ - getProjectConfig( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantSettings/GetProjectConfig"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTs/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -44791,11 +47282,11 @@ export class TenantSettingsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetProjectConfig(_response); + return this.processGetForEdit(_response); }); } - protected processGetProjectConfig(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44809,38 +47300,44 @@ export class TenantSettingsServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = resultData200 !== undefined ? resultData200 : null; - - return Promise.resolve(result200); + result200 = GetIcsTsForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 发送用户通知 - * @param msg (optional) - * @param tenantId (optional) - * @param userId (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - sendNoticeToUser(msg: string | null | undefined, tenantId: string | null | undefined, userId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantSettings/SendNoticeToUser?"; - if (msg !== undefined && msg !== null) - url_ += "msg=" + encodeURIComponent("" + msg) + "&"; - if (tenantId !== undefined && tenantId !== null) - url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; - if (userId !== undefined && userId !== null) - url_ += "userId=" + encodeURIComponent("" + userId) + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTs/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -44852,11 +47349,11 @@ export class TenantSettingsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSendNoticeToUser(_response); + return this.processGetPaged(_response); }); } - protected processSendNoticeToUser(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44868,32 +47365,35 @@ export class TenantSettingsServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfIcsTsListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 发送测试邮件 - * @param body (optional) + * @param id (optional) * @return Success */ - sendTestEmail(body: SendTestEmailInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantSettings/SendTestEmail"; + getTsOpList(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTs/GetTsOpList?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -44905,11 +47405,11 @@ export class TenantSettingsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSendTestEmail(_response); + return this.processGetTsOpList(_response); }); } - protected processSendTestEmail(response: AxiosResponse): Promise { + protected processGetTsOpList(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44921,32 +47421,42 @@ export class TenantSettingsServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 更新所有设置 - * @param body (optional) + * @param id (optional) * @return Success */ - updateAllSettings(body: TenantSettingsEditDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantSettings/UpdateAllSettings"; + getTsRoute(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTs/GetTsRoute?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "PUT", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -44958,11 +47468,11 @@ export class TenantSettingsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUpdateAllSettings(_response); + return this.processGetTsRoute(_response); }); } - protected processUpdateAllSettings(response: AxiosResponse): Promise { + protected processGetTsRoute(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -44974,22 +47484,31 @@ export class TenantSettingsServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 更新项目配置(主题等) * @param body (optional) * @return Success */ - updateProjectConfig(body: ProjectConfigEditDto | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/TenantSettings/UpdateProjectConfig"; + reworkBackflowOrScrap(body: IcsTsEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTs/ReworkBackflowOrScrap"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -45011,11 +47530,11 @@ export class TenantSettingsServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUpdateProjectConfig(_response); + return this.processReworkBackflowOrScrap(_response); }); } - protected processUpdateProjectConfig(response: AxiosResponse): Promise { + protected processReworkBackflowOrScrap(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -45035,37 +47554,23 @@ export class TenantSettingsServiceProxy { } return Promise.resolve(null as any); } -} - -export class TimingServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - - } /** - * 获取时区下拉选择项 - * @param selectedTimezoneId (optional) 选中时区编号 + * @param body (optional) * @return Success */ - getTimezoneComboboxItems(selectedTimezoneId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Timing/GetTimezoneComboboxItems?"; - if (selectedTimezoneId !== undefined && selectedTimezoneId !== null) - url_ += "selectedTimezoneId=" + encodeURIComponent("" + selectedTimezoneId) + "&"; + reworkConfirmation(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTs/ReworkConfirmation"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -45077,11 +47582,11 @@ export class TimingServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetTimezoneComboboxItems(_response); + return this.processReworkConfirmation(_response); }); } - protected processGetTimezoneComboboxItems(response: AxiosResponse): Promise { + protected processReworkConfirmation(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -45093,43 +47598,31 @@ export class TimingServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(ComboboxItemDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取时区 - * @param defaultTimezoneScope 默认时区范围 Abp.Configuration.SettingScopes + * @param body (optional) * @return Success */ - getTimezones(defaultTimezoneScope: SettingScopes , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/Timing/GetTimezones?"; - if (defaultTimezoneScope === undefined || defaultTimezoneScope === null) - throw new Error("The parameter 'defaultTimezoneScope' must be defined and cannot be null."); - else - url_ += "defaultTimezoneScope=" + encodeURIComponent("" + defaultTimezoneScope) + "&"; + reworkTreatment(body: IcsTsEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTs/ReworkTreatment"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -45141,11 +47634,11 @@ export class TimingServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetTimezones(_response); + return this.processReworkTreatment(_response); }); } - protected processGetTimezones(response: AxiosResponse): Promise { + protected processReworkTreatment(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -45157,20 +47650,17 @@ export class TimingServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = ListResultDtoOfNameValueDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class UserServiceProxy { +export class IcsTsErrorCauseServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -45184,12 +47674,11 @@ export class UserServiceProxy { } /** - * 批量删除用户 * @param body (optional) * @return Success */ - batchDelete(body: string[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/User/BatchDelete"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCause/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -45237,12 +47726,11 @@ export class UserServiceProxy { } /** - * 创建或更新用户 * @param body (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateUserInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/User/CreateOrUpdate"; + createOrUpdate(body: CreateOrUpdateIcsTsErrorCauseInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCause/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -45253,7 +47741,6 @@ export class UserServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -45269,7 +47756,7 @@ export class UserServiceProxy { }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -45281,26 +47768,24 @@ export class UserServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = UserEditDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 删除用户 * @param id (optional) * @return Success */ - delete(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/User/Delete?"; - if (id !== undefined && id !== null) + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCause/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -45345,13 +47830,14 @@ export class UserServiceProxy { } /** - * 获取用户编辑 * @param id (optional) * @return Success */ - getForEditTree(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/User/GetForEditTree?"; - if (id !== undefined && id !== null) + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCause/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); @@ -45371,11 +47857,11 @@ export class UserServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEditTree(_response); + return this.processGetById(_response); }); } - protected processGetForEditTree(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -45389,22 +47875,24 @@ export class UserServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetUserForEditTreeOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsTsErrorCauseListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取在线用户数 + * @param id (optional) * @return Success */ - getOnlineUserCount( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/User/GetOnlineUserCount"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCause/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -45423,11 +47911,11 @@ export class UserServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetOnlineUserCount(_response); + return this.processGetForEdit(_response); }); } - protected processGetOnlineUserCount(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -45441,34 +47929,43 @@ export class UserServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = resultData200 !== undefined ? resultData200 : null; - - return Promise.resolve(result200); + result200 = GetIcsTsErrorCauseForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取用户分页查询 - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - getPaged(body: GetUsersInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/User/GetPaged"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCause/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -45485,7 +47982,7 @@ export class UserServiceProxy { }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -45499,32 +47996,46 @@ export class UserServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfUserListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsTsErrorCauseListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); + } +} + +export class IcsTsErrorCodeServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + } /** - * 获取用户编辑权限树 - * @param id (optional) + * @param body (optional) * @return Success */ - getPermissionsTreeForEdit(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/User/GetPermissionsTreeForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCode/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -45536,11 +48047,11 @@ export class UserServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPermissionsTreeForEdit(_response); + return this.processBatchDelete(_response); }); } - protected processGetPermissionsTreeForEdit(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -45552,25 +48063,21 @@ export class UserServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = GetUserPermissionsTreeForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 重置密码 * @param body (optional) * @return Success */ - resetPassword(body: EntityDtoOfString | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/User/ResetPassword"; + createOrUpdate(body: CreateOrUpdateIcsTsErrorCodeInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCode/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -45581,7 +48088,6 @@ export class UserServiceProxy { url: url_, headers: { "Content-Type": "application/json-patch+json", - "Accept": "text/plain" }, cancelToken }; @@ -45593,11 +48099,11 @@ export class UserServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processResetPassword(_response); + return this.processCreateOrUpdate(_response); }); } - protected processResetPassword(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -45609,36 +48115,31 @@ export class UserServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = resultData200 !== undefined ? resultData200 : null; - - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 重置特定权限 - * @param body (optional) + * @param id (optional) * @return Success */ - resetSpecificPermissions(body: EntityDtoOfString | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/User/ResetSpecificPermissions"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCode/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "DELETE", url: url_, headers: { - "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -45650,11 +48151,11 @@ export class UserServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processResetSpecificPermissions(_response); + return this.processDelete(_response); }); } - protected processResetSpecificPermissions(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -45676,22 +48177,22 @@ export class UserServiceProxy { } /** - * 解锁用户 - * @param body (optional) + * @param id (optional) * @return Success */ - unlock(body: EntityDtoOfString | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/User/Unlock"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCode/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -45703,11 +48204,11 @@ export class UserServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUnlock(_response); + return this.processGetById(_response); }); } - protected processUnlock(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -45719,32 +48220,33 @@ export class UserServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsTsErrorCodeListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 更新权限 - * @param body (optional) + * @param id (optional) * @return Success */ - updatePermissions(body: UpdateUserPermissionsInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/User/UpdatePermissions"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCode/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "PUT", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -45756,11 +48258,11 @@ export class UserServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUpdatePermissions(_response); + return this.processGetForEdit(_response); }); } - protected processUpdatePermissions(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -45772,45 +48274,45 @@ export class UserServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = GetIcsTsErrorCodeForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class UserDefineTableServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - queryUserDefineTableData(body: StringDtoEx | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/UserDefineTable/QueryUserDefineTableData"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsTsErrorCode/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -45823,11 +48325,11 @@ export class UserDefineTableServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processQueryUserDefineTableData(_response); + return this.processGetPaged(_response); }); } - protected processQueryUserDefineTableData(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -45841,25 +48343,18 @@ export class UserDefineTableServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(DynamicTableDto.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = PagedResultDtoOfIcsTsErrorCodeListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class UserEmailerServiceProxy { +export class IcsUser2OpServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -45873,18 +48368,11 @@ export class UserEmailerServiceProxy { } /** - * Send email activation link to user's email address. - * @param link (optional) Email activation link - * @param plainPassword (optional) Can be set to user's plain password to include it in the email. - * @param body (optional) User + * @param body (optional) * @return Success */ - sendEmailActivationLink(link: string | null | undefined, plainPassword: string | null | undefined, body: User | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/UserEmailer/SendEmailActivationLink?"; - if (link !== undefined && link !== null) - url_ += "link=" + encodeURIComponent("" + link) + "&"; - if (plainPassword !== undefined && plainPassword !== null) - url_ += "plainPassword=" + encodeURIComponent("" + plainPassword) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsUser2Op/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); const content_ = JSON.stringify(body); @@ -45906,11 +48394,11 @@ export class UserEmailerServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSendEmailActivationLink(_response); + return this.processBatchDelete(_response); }); } - protected processSendEmailActivationLink(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -45932,23 +48420,21 @@ export class UserEmailerServiceProxy { } /** - * 发送邮箱地址确认码 - * @param emailAddress (optional) - * @param code (optional) + * @param body (optional) * @return Success */ - sendEmailAddressConfirmCode(emailAddress: string | null | undefined, code: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/UserEmailer/SendEmailAddressConfirmCode?"; - if (emailAddress !== undefined && emailAddress !== null) - url_ += "emailAddress=" + encodeURIComponent("" + emailAddress) + "&"; - if (code !== undefined && code !== null) - url_ += "code=" + encodeURIComponent("" + code) + "&"; + createOrUpdate(body: CreateOrUpdateIcsUser2OpInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsUser2Op/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -45960,11 +48446,11 @@ export class UserEmailerServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSendEmailAddressConfirmCode(_response); + return this.processCreateOrUpdate(_response); }); } - protected processSendEmailAddressConfirmCode(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -45986,25 +48472,21 @@ export class UserEmailerServiceProxy { } /** - * Sends a password reset link to user's email. - * @param link (optional) Reset link - * @param body (optional) User + * @param id (optional) * @return Success */ - sendPasswordResetLink(link: string | null | undefined, body: User | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/UserEmailer/SendPasswordResetLink?"; - if (link !== undefined && link !== null) - url_ += "link=" + encodeURIComponent("" + link) + "&"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsUser2Op/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "DELETE", url: url_, headers: { - "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -46016,11 +48498,11 @@ export class UserEmailerServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSendPasswordResetLink(_response); + return this.processDelete(_response); }); } - protected processSendPasswordResetLink(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -46042,27 +48524,22 @@ export class UserEmailerServiceProxy { } /** - * 尝试发送失败的订阅终止电子邮件 - * @param utcNow (optional) - * @param body (optional) + * @param id (optional) * @return Success */ - tryToSendFailedSubscriptionTerminationsEmail(utcNow: moment.Moment | undefined, body: string[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/UserEmailer/TryToSendFailedSubscriptionTerminationsEmail?"; - if (utcNow === null) - throw new Error("The parameter 'utcNow' cannot be null."); - else if (utcNow !== undefined) - url_ += "utcNow=" + encodeURIComponent(utcNow ? "" + utcNow.toISOString() : "") + "&"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsUser2Op/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -46074,11 +48551,11 @@ export class UserEmailerServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processTryToSendFailedSubscriptionTerminationsEmail(_response); + return this.processGetById(_response); }); } - protected processTryToSendFailedSubscriptionTerminationsEmail(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -46090,38 +48567,33 @@ export class UserEmailerServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = IcsUser2OpListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 尝试发送订阅分配给其他电子邮件 - * @param tenantId (optional) - * @param utcNow (optional) - * @param expiringEditionId (optional) + * @param id (optional) * @return Success */ - tryToSendSubscriptionAssignedToAnotherEmail(tenantId: string | null | undefined, utcNow: moment.Moment | undefined, expiringEditionId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/UserEmailer/TryToSendSubscriptionAssignedToAnotherEmail?"; - if (tenantId !== undefined && tenantId !== null) - url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; - if (utcNow === null) - throw new Error("The parameter 'utcNow' cannot be null."); - else if (utcNow !== undefined) - url_ += "utcNow=" + encodeURIComponent(utcNow ? "" + utcNow.toISOString() : "") + "&"; - if (expiringEditionId !== undefined && expiringEditionId !== null) - url_ += "expiringEditionId=" + encodeURIComponent("" + expiringEditionId) + "&"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsUser2Op/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -46133,11 +48605,11 @@ export class UserEmailerServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processTryToSendSubscriptionAssignedToAnotherEmail(_response); + return this.processGetForEdit(_response); }); } - protected processTryToSendSubscriptionAssignedToAnotherEmail(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -46149,35 +48621,46 @@ export class UserEmailerServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = GetIcsUser2OpForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 查实发送订阅过期提醒邮件 - * @param tenantId (optional) - * @param utcNow (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - tryToSendSubscriptionExpireEmail(tenantId: string | null | undefined, utcNow: moment.Moment | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/UserEmailer/TryToSendSubscriptionExpireEmail?"; - if (tenantId !== undefined && tenantId !== null) - url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; - if (utcNow === null) - throw new Error("The parameter 'utcNow' cannot be null."); - else if (utcNow !== undefined) - url_ += "utcNow=" + encodeURIComponent(utcNow ? "" + utcNow.toISOString() : "") + "&"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsUser2Op/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -46189,11 +48672,11 @@ export class UserEmailerServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processTryToSendSubscriptionExpireEmail(_response); + return this.processGetPaged(_response); }); } - protected processTryToSendSubscriptionExpireEmail(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -46205,35 +48688,33 @@ export class UserEmailerServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfIcsUser2OpListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 尝试发送订阅即将到期的电子邮件 - * @param tenantId (optional) - * @param dateToCheckRemainingDayCount (optional) + * @param value (optional) * @return Success */ - tryToSendSubscriptionExpiringSoonEmail(tenantId: string | null | undefined, dateToCheckRemainingDayCount: moment.Moment | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/UserEmailer/TryToSendSubscriptionExpiringSoonEmail?"; - if (tenantId !== undefined && tenantId !== null) - url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; - if (dateToCheckRemainingDayCount === null) - throw new Error("The parameter 'dateToCheckRemainingDayCount' cannot be null."); - else if (dateToCheckRemainingDayCount !== undefined) - url_ += "dateToCheckRemainingDayCount=" + encodeURIComponent(dateToCheckRemainingDayCount ? "" + dateToCheckRemainingDayCount.toISOString() : "") + "&"; + getUserByOpCode(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsUser2Op/GetUserByOpCode?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -46245,11 +48726,11 @@ export class UserEmailerServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processTryToSendSubscriptionExpiringSoonEmail(_response); + return this.processGetUserByOpCode(_response); }); } - protected processTryToSendSubscriptionExpiringSoonEmail(response: AxiosResponse): Promise { + protected processGetUserByOpCode(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -46261,17 +48742,27 @@ export class UserEmailerServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class UserExtensionServiceProxy { +export class IcsVendorServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -46285,21 +48776,21 @@ export class UserExtensionServiceProxy { } /** - * 导入用户数据 - * @param fileToken (optional) + * @param body (optional) * @return Success */ - importUserExcel(fileToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/UserExtension/ImportUserExcel?"; - if (fileToken !== undefined && fileToken !== null) - url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsVendor/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -46311,11 +48802,11 @@ export class UserExtensionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImportUserExcel(_response); + return this.processBatchDelete(_response); }); } - protected processImportUserExcel(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -46327,31 +48818,31 @@ export class UserExtensionServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = ExcelImpDtoOfUserImportExceDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 下载模板 + * @param body (optional) * @return Success */ - userExtensionDownloadTemplate( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/UserExtension/UserExtensionDownloadTemplate"; + createOrUpdate(body: CreateOrUpdateIcsVendorInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsVendor/CreateOrUpdate"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { + data: content_, method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -46363,11 +48854,11 @@ export class UserExtensionServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUserExtensionDownloadTemplate(_response); + return this.processCreateOrUpdate(_response); }); } - protected processUserExtensionDownloadTemplate(response: AxiosResponse): Promise { + protected processCreateOrUpdate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -46379,58 +48870,31 @@ export class UserExtensionServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = FileDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class UserLinkServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 获取已链接用户 - * @param maxResultCount (optional) 最大结果数 - * @param skipCount (optional) 页大小 - * @param sorting (optional) 排序 + * @param id (optional) * @return Success */ - getLinkedUsers(maxResultCount: number | undefined, skipCount: number | undefined, sorting: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/UserLink/GetLinkedUsers?"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsVendor/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "DELETE", url: url_, headers: { - "Accept": "text/plain" }, cancelToken }; @@ -46442,11 +48906,11 @@ export class UserLinkServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetLinkedUsers(_response); + return this.processDelete(_response); }); } - protected processGetLinkedUsers(response: AxiosResponse): Promise { + protected processDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -46458,24 +48922,25 @@ export class UserLinkServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = PagedResultDtoOfLinkedUserDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取最近使用的链接用户 + * @param id (optional) * @return Success */ - getRecentlyUsedLinkedUsers( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/UserLink/GetRecentlyUsedLinkedUsers"; + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsVendor/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -46494,11 +48959,11 @@ export class UserLinkServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetRecentlyUsedLinkedUsers(_response); + return this.processGetById(_response); }); } - protected processGetRecentlyUsedLinkedUsers(response: AxiosResponse): Promise { + protected processGetById(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -46512,33 +48977,31 @@ export class UserLinkServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ListResultDtoOfLinkedUserDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = IcsVendorListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 链接到用户 - * @param body (optional) + * @param id (optional) * @return Success */ - linkToUser(body: LinkToUserInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/UserLink/LinkToUser"; + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsVendor/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -46550,11 +49013,11 @@ export class UserLinkServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processLinkToUser(_response); + return this.processGetForEdit(_response); }); } - protected processLinkToUser(response: AxiosResponse): Promise { + protected processGetForEdit(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -46566,32 +49029,46 @@ export class UserLinkServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = GetIcsVendorForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 解除链接用户 - * @param body (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) * @return Success */ - unlinkUser(body: UnlinkUserInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/UserLink/UnlinkUser"; + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IcsVendor/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "POST", + method: "GET", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -46603,11 +49080,11 @@ export class UserLinkServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUnlinkUser(_response); + return this.processGetPaged(_response); }); } - protected processUnlinkUser(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -46619,17 +49096,20 @@ export class UserLinkServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfIcsVendorListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class UserLoginServiceProxy { +export class ImportAndExportServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -46643,18 +49123,21 @@ export class UserLoginServiceProxy { } /** - * 获取最近的用户登录尝试记录 + * @param body (optional) * @return Success */ - getRecentUserLoginAttempts( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/UserLogin/GetRecentUserLoginAttempts"; + batchDelete(body: string[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportAndExport/BatchDelete"; url_ = url_.replace(/[?&]$/, ""); + const content_ = JSON.stringify(body); + let options_: AxiosRequestConfig = { - method: "GET", + data: content_, + method: "POST", url: url_, headers: { - "Accept": "text/plain" + "Content-Type": "application/json-patch+json", }, cancelToken }; @@ -46666,11 +49149,11 @@ export class UserLoginServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetRecentUserLoginAttempts(_response); + return this.processBatchDelete(_response); }); } - protected processGetRecentUserLoginAttempts(response: AxiosResponse): Promise { + protected processBatchDelete(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -46682,47 +49165,43 @@ export class UserLoginServiceProxy { } if (status === 200) { const _responseText = response.data; - let result200: any = null; - let resultData200 = _responseText; - result200 = ListResultDtoOfUserLoginAttemptDto.fromJS(resultData200); - return Promise.resolve(result200); + return Promise.resolve(null as any); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class VerificationCodeServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 发送邮箱验证码 - * @param mailAddress (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) * @return Success */ - sendMailVerificationCode(mailAddress: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/VerificationCode/SendMailVerificationCode?"; - if (mailAddress !== undefined && mailAddress !== null) - url_ += "mailAddress=" + encodeURIComponent("" + mailAddress) + "&"; + getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportAndExport/GetPaged?"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -46734,11 +49213,11 @@ export class VerificationCodeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSendMailVerificationCode(_response); + return this.processGetPaged(_response); }); } - protected processSendMailVerificationCode(response: AxiosResponse): Promise { + protected processGetPaged(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -46750,30 +49229,46 @@ export class VerificationCodeServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfCommodityListDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 发送短信验证码 - * @param phoneNumber (optional) - * @return Success - */ - sendSmsVerificationCode(phoneNumber: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/VerificationCode/SendSmsVerificationCode?"; - if (phoneNumber !== undefined && phoneNumber !== null) - url_ += "phoneNumber=" + encodeURIComponent("" + phoneNumber) + "&"; + * @param filterText (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) + * @return Success + */ + getToExcelFile(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportAndExport/GetToExcelFile?"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "POST", + method: "GET", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -46785,11 +49280,11 @@ export class VerificationCodeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processSendSmsVerificationCode(_response); + return this.processGetToExcelFile(_response); }); } - protected processSendSmsVerificationCode(response: AxiosResponse): Promise { + protected processGetToExcelFile(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -46801,24 +49296,26 @@ export class VerificationCodeServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = FileDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 校验 - * @param code (optional) + * @param fileToken (optional) * @return Success */ - verify(code: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/VerificationCode/Verify?"; - if (code !== undefined && code !== null) - url_ += "code=" + encodeURIComponent("" + code) + "&"; + importExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportAndExport/ImportExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -46837,11 +49334,11 @@ export class VerificationCodeServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processVerify(_response); + return this.processImportExcel(_response); }); } - protected processVerify(response: AxiosResponse): Promise { + protected processImportExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -46855,19 +49352,18 @@ export class VerificationCodeServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = resultData200 !== undefined ? resultData200 : null; - - return Promise.resolve(result200); + result200 = ExcelImpDtoOfCommodityImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } } -export class WaterMarksServiceProxy { +export class ImportExportExtServiceProxy { private instance: AxiosInstance; private baseUrl: string; protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; @@ -46881,18 +49377,17 @@ export class WaterMarksServiceProxy { } /** - * 获取水印 - * @param tenantId (optional) + * @param templateName (optional) * @return Success */ - getWaterMark(tenantId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WaterMarks/GetWaterMark?"; - if (tenantId !== undefined && tenantId !== null) - url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; + downloadTemplate(templateName: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/DownloadTemplate?"; + if (templateName !== undefined && templateName !== null) + url_ += "templateName=" + encodeURIComponent("" + templateName) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "POST", url: url_, headers: { "Accept": "text/plain" @@ -46907,11 +49402,11 @@ export class WaterMarksServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetWaterMark(_response); + return this.processDownloadTemplate(_response); }); } - protected processGetWaterMark(response: AxiosResponse): Promise { + protected processDownloadTemplate(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -46925,36 +49420,30 @@ export class WaterMarksServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = WatermarkConfig.fromJS(resultData200); - return Promise.resolve(result200); + result200 = FileDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 创建或更新水印 - * @param tenantId (optional) - * @param body (optional) + * @param fileToken (optional) * @return Success */ - updateOrCreateWaterMark(tenantId: string | null | undefined, body: WatermarkConfig | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WaterMarks/UpdateOrCreateWaterMark?"; - if (tenantId !== undefined && tenantId !== null) - url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; + importArmorplateExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportArmorplateExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, - method: "PUT", + method: "POST", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -46967,11 +49456,11 @@ export class WaterMarksServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processUpdateOrCreateWaterMark(_response); + return this.processImportArmorplateExcel(_response); }); } - protected processUpdateOrCreateWaterMark(response: AxiosResponse): Promise { + protected processImportArmorplateExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -46985,36 +49474,24 @@ export class WaterMarksServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = WatermarkConfig.fromJS(resultData200); - return Promise.resolve(result200); + result200 = ExcelImpDtoOfIcsArmorplateImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class WebSiteLogServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 下载日志文件压缩包 + * @param fileToken (optional) * @return Success */ - downloadWebLogs( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WebSiteLog/DownloadWebLogs"; + importCheckGroupExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportCheckGroupExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -47033,11 +49510,11 @@ export class WebSiteLogServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDownloadWebLogs(_response); + return this.processImportCheckGroupExcel(_response); }); } - protected processDownloadWebLogs(response: AxiosResponse): Promise { + protected processImportCheckGroupExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -47051,26 +49528,28 @@ export class WebSiteLogServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = FileDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = ExcelImpDtoOfIcsCheckGroupImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取最新的网站日志信息 + * @param fileToken (optional) * @return Success */ - getLatestWebLogs( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WebSiteLog/GetLatestWebLogs"; + importCheckItemExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportCheckItemExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "POST", url: url_, headers: { "Accept": "text/plain" @@ -47085,11 +49564,11 @@ export class WebSiteLogServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetLatestWebLogs(_response); + return this.processImportCheckItemExcel(_response); }); } - protected processGetLatestWebLogs(response: AxiosResponse): Promise { + protected processImportCheckItemExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -47103,47 +49582,31 @@ export class WebSiteLogServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetLatestWebLogsOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = ExcelImpDtoOfIcsCheckItemImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class WechatAppConfigServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 批量删除WechatAppConfig的方法 - * @param body (optional) + * @param fileToken (optional) * @return Success */ - batchDelete(body: string[] | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WechatAppConfig/BatchDelete"; + importCrewExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportCrewExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, method: "POST", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -47155,11 +49618,11 @@ export class WechatAppConfigServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processBatchDelete(_response); + return this.processImportCrewExcel(_response); }); } - protected processBatchDelete(response: AxiosResponse): Promise { + protected processImportCrewExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -47171,32 +49634,33 @@ export class WechatAppConfigServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfCrewImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 添加或者修改WechatAppConfig的公共方法 - * @param body (optional) + * @param fileToken (optional) * @return Success */ - createOrUpdate(body: CreateOrUpdateWechatAppConfigInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WechatAppConfig/CreateOrUpdate"; + importDctExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportDctExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, method: "POST", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -47208,11 +49672,11 @@ export class WechatAppConfigServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrUpdate(_response); + return this.processImportDctExcel(_response); }); } - protected processCreateOrUpdate(response: AxiosResponse): Promise { + protected processImportDctExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -47224,30 +49688,33 @@ export class WechatAppConfigServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfDctImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 删除WechatAppConfig信息的方法 - * @param id (optional) + * @param fileToken (optional) * @return Success */ - delete(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WechatAppConfig/Delete?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + importDutyExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportDutyExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "DELETE", + method: "POST", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -47259,11 +49726,11 @@ export class WechatAppConfigServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processImportDutyExcel(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processImportDutyExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -47275,28 +49742,30 @@ export class WechatAppConfigServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfIcsDutyImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 通过指定id获取WechatAppConfigListDto信息 - * @param id (optional) + * @param fileToken (optional) * @return Success */ - getById(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WechatAppConfig/GetById?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + importEcExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportEcExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "POST", url: url_, headers: { "Accept": "text/plain" @@ -47311,11 +49780,11 @@ export class WechatAppConfigServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetById(_response); + return this.processImportEcExcel(_response); }); } - protected processGetById(response: AxiosResponse): Promise { + protected processImportEcExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -47329,29 +49798,28 @@ export class WechatAppConfigServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = WechatAppConfigListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = ExcelImpDtoOfIcsEcImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取编辑 WechatAppConfig - * @param id (optional) + * @param fileToken (optional) * @return Success */ - getForEdit(id: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WechatAppConfig/GetForEdit?"; - if (id !== undefined && id !== null) - url_ += "id=" + encodeURIComponent("" + id) + "&"; + importEcgExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportEcgExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "POST", url: url_, headers: { "Accept": "text/plain" @@ -47366,11 +49834,11 @@ export class WechatAppConfigServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetForEdit(_response); + return this.processImportEcgExcel(_response); }); } - protected processGetForEdit(response: AxiosResponse): Promise { + protected processImportEcgExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -47384,42 +49852,28 @@ export class WechatAppConfigServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetWechatAppConfigForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = ExcelImpDtoOfIcsEcgImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取WechatAppConfig的分页列表信息 - * @param filterText (optional) - * @param sorting (optional) - * @param maxResultCount (optional) - * @param skipCount (optional) + * @param fileToken (optional) * @return Success */ - getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WechatAppConfig/GetPaged?"; - if (filterText !== undefined && filterText !== null) - url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; - if (sorting !== undefined && sorting !== null) - url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; - if (maxResultCount === null) - throw new Error("The parameter 'maxResultCount' cannot be null."); - else if (maxResultCount !== undefined) - url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; - if (skipCount === null) - throw new Error("The parameter 'skipCount' cannot be null."); - else if (skipCount !== undefined) - url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + importEcsExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportEcsExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "POST", url: url_, headers: { "Accept": "text/plain" @@ -47434,11 +49888,11 @@ export class WechatAppConfigServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetPaged(_response); + return this.processImportEcsExcel(_response); }); } - protected processGetPaged(response: AxiosResponse): Promise { + protected processImportEcsExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -47452,31 +49906,31 @@ export class WechatAppConfigServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfWechatAppConfigListDto.fromJS(resultData200); - return Promise.resolve(result200); + result200 = ExcelImpDtoOfIcsEcsImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 将wechat app注入到容器,如果已注入则刷新注入 - * @param appId (optional) + * @param fileToken (optional) * @return Success */ - registerWechatApp(appId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WechatAppConfig/RegisterWechatApp?"; - if (appId !== undefined && appId !== null) - url_ += "appId=" + encodeURIComponent("" + appId) + "&"; + importEcsgExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportEcsgExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { method: "POST", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -47488,11 +49942,11 @@ export class WechatAppConfigServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processRegisterWechatApp(_response); + return this.processImportEcsgExcel(_response); }); } - protected processRegisterWechatApp(response: AxiosResponse): Promise { + protected processImportEcsgExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -47504,35 +49958,26 @@ export class WechatAppConfigServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfIcsEcsgImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class WechatMediaServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 创建其他素材 + * @param fileToken (optional) * @return Success */ - createOtherrMaterial( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WechatMedia/CreateOtherrMaterial"; + importEnumKeyExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportEnumKeyExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -47551,11 +49996,11 @@ export class WechatMediaServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOtherrMaterial(_response); + return this.processImportEnumKeyExcel(_response); }); } - protected processCreateOtherrMaterial(response: AxiosResponse): Promise { + protected processImportEnumKeyExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -47569,35 +50014,31 @@ export class WechatMediaServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = resultData200 !== undefined ? resultData200 : null; - - return Promise.resolve(result200); + result200 = ExcelImpDtoOfSysEnumImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 删除 - * @param appId (optional) - * @param mediaId (optional) + * @param fileToken (optional) * @return Success */ - delete(appId: string | null | undefined, mediaId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WechatMedia/Delete?"; - if (appId !== undefined && appId !== null) - url_ += "appId=" + encodeURIComponent("" + appId) + "&"; - if (mediaId !== undefined && mediaId !== null) - url_ += "mediaId=" + encodeURIComponent("" + mediaId) + "&"; + importEqp2OpExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportEqp2OpExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "DELETE", + method: "POST", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -47609,11 +50050,11 @@ export class WechatMediaServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDelete(_response); + return this.processImportEqp2OpExcel(_response); }); } - protected processDelete(response: AxiosResponse): Promise { + protected processImportEqp2OpExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -47625,32 +50066,32 @@ export class WechatMediaServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfEqp2OpImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 分页获取图文素材 - * @param body (optional) + * @param fileToken (optional) * @return Success */ - getImageTextMaterialPaged(body: GetImageTextMaterialsInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WechatMedia/GetImageTextMaterialPaged"; + importEquipmentExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportEquipmentExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, method: "POST", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -47663,11 +50104,11 @@ export class WechatMediaServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetImageTextMaterialPaged(_response); + return this.processImportEquipmentExcel(_response); }); } - protected processGetImageTextMaterialPaged(response: AxiosResponse): Promise { + protected processImportEquipmentExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -47681,33 +50122,30 @@ export class WechatMediaServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfMediaList_News_Item.fromJS(resultData200); - return Promise.resolve(result200); + result200 = ExcelImpDtoOfIcsEquipmentImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 分页获取其他素材 - * @param body (optional) + * @param fileToken (optional) * @return Success */ - getOtherMaterialPaged(body: GetOtherMaterialsInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WechatMedia/GetOtherMaterialPaged"; + importFacExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportFacExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, method: "POST", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -47720,11 +50158,11 @@ export class WechatMediaServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetOtherMaterialPaged(_response); + return this.processImportFacExcel(_response); }); } - protected processGetOtherMaterialPaged(response: AxiosResponse): Promise { + protected processImportFacExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -47738,47 +50176,31 @@ export class WechatMediaServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = PagedResultDtoOfMediaList_Others_Item.fromJS(resultData200); - return Promise.resolve(result200); + result200 = ExcelImpDtoOfFactoryImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class WechatMenuAppSeviceServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 创建或编辑微信菜单 - * @param body (optional) + * @param fileToken (optional) * @return Success */ - createOrWechatEditMenu(body: CreateOrEditWechatMenuInput | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WechatMenuAppSevice/CreateOrWechatEditMenu"; + importIcsInventoryExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportIcsInventoryExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, method: "POST", url: url_, headers: { - "Content-Type": "application/json-patch+json", + "Accept": "text/plain" }, cancelToken }; @@ -47790,11 +50212,11 @@ export class WechatMenuAppSeviceServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processCreateOrWechatEditMenu(_response); + return this.processImportIcsInventoryExcel(_response); }); } - protected processCreateOrWechatEditMenu(response: AxiosResponse): Promise { + protected processImportIcsInventoryExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -47806,33 +50228,33 @@ export class WechatMenuAppSeviceServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfIcsInventoryImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 根据条件删除微信菜单 - * @param appId (optional) - * @param menuConditionalId (optional) + * @param fileToken (optional) * @return Success */ - deleteMenuConditional(appId: string | null | undefined, menuConditionalId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WechatMenuAppSevice/DeleteMenuConditional?"; - if (appId !== undefined && appId !== null) - url_ += "appId=" + encodeURIComponent("" + appId) + "&"; - if (menuConditionalId !== undefined && menuConditionalId !== null) - url_ += "menuConditionalId=" + encodeURIComponent("" + menuConditionalId) + "&"; + importIcsItemStd2RouteExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportIcsItemStd2RouteExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "DELETE", + method: "POST", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -47844,11 +50266,11 @@ export class WechatMenuAppSeviceServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDeleteMenuConditional(_response); + return this.processImportIcsItemStd2RouteExcel(_response); }); } - protected processDeleteMenuConditional(response: AxiosResponse): Promise { + protected processImportIcsItemStd2RouteExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -47860,28 +50282,30 @@ export class WechatMenuAppSeviceServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfIcsItemStd2RouteImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取编辑 - * @param appId (optional) + * @param fileToken (optional) * @return Success */ - getMenuForEdit(appId: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/services/app/WechatMenuAppSevice/GetMenuForEdit?"; - if (appId !== undefined && appId !== null) - url_ += "appId=" + encodeURIComponent("" + appId) + "&"; + importIcsParam2ParamImportExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportIcsParam2ParamImportExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "POST", url: url_, headers: { "Accept": "text/plain" @@ -47896,11 +50320,11 @@ export class WechatMenuAppSeviceServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetMenuForEdit(_response); + return this.processImportIcsParam2ParamImportExcel(_response); }); } - protected processGetMenuForEdit(response: AxiosResponse): Promise { + protected processImportIcsParam2ParamImportExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -47914,47 +50338,30 @@ export class WechatMenuAppSeviceServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = GetWechatMenuForEditOutput.fromJS(resultData200); - return Promise.resolve(result200); + result200 = ExcelImpDtoOfIcsParam2ParamImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class TokenAuthServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 激活账户 - * @param body (optional) + * @param fileToken (optional) * @return Success */ - activateAccount(body: ActivateAccountModel | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/TokenAuth/ActivateAccount"; + importIcsShiftExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportIcsShiftExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, method: "POST", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -47967,11 +50374,11 @@ export class TokenAuthServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processActivateAccount(_response); + return this.processImportIcsShiftExcel(_response); }); } - protected processActivateAccount(response: AxiosResponse): Promise { + protected processImportIcsShiftExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -47985,33 +50392,30 @@ export class TokenAuthServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ActivateAccountResultModel.fromJS(resultData200); - return Promise.resolve(result200); + result200 = ExcelImpDtoOfIcsShiftImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 认证 - * @param body (optional) + * @param fileToken (optional) * @return Success */ - authenticate(body: AuthenticateModel | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/TokenAuth/Authenticate"; + importIcsTpExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportIcsTpExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, method: "POST", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -48024,11 +50428,11 @@ export class TokenAuthServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processAuthenticate(_response); + return this.processImportIcsTpExcel(_response); }); } - protected processAuthenticate(response: AxiosResponse): Promise { + protected processImportIcsTpExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -48042,33 +50446,30 @@ export class TokenAuthServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = AuthenticateResultModel.fromJS(resultData200); - return Promise.resolve(result200); + result200 = ExcelImpDtoOfIcsTpImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 扩展登录授权 - * @param body (optional) + * @param fileToken (optional) * @return Success */ - externalAuthenticate(body: ExternalAuthenticateModel | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/TokenAuth/ExternalAuthenticate"; + importIcsVendorExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportIcsVendorExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); - const content_ = JSON.stringify(body); - let options_: AxiosRequestConfig = { - data: content_, method: "POST", url: url_, headers: { - "Content-Type": "application/json-patch+json", "Accept": "text/plain" }, cancelToken @@ -48081,11 +50482,11 @@ export class TokenAuthServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processExternalAuthenticate(_response); + return this.processImportIcsVendorExcel(_response); }); } - protected processExternalAuthenticate(response: AxiosResponse): Promise { + protected processImportIcsVendorExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -48099,37 +50500,31 @@ export class TokenAuthServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ExternalAuthenticateResultModel.fromJS(resultData200); - return Promise.resolve(result200); + result200 = ExcelImpDtoOfIcsVendorImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 生成验证码服务 - * @param tenantId (optional) 租户id,判断是否为多租户 - * @param tenantOrUserName (optional) 租户名或者用户名 - * @param captchaSettingType (optional) 验证码使用场景:登录还是注册 + * @param fileToken (optional) * @return Success */ - generateCaptcha(tenantId: string | null | undefined, tenantOrUserName: string | null | undefined, captchaSettingType: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/TokenAuth/GenerateCaptcha?"; - if (tenantId !== undefined && tenantId !== null) - url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; - if (tenantOrUserName !== undefined && tenantOrUserName !== null) - url_ += "tenantOrUserName=" + encodeURIComponent("" + tenantOrUserName) + "&"; - if (captchaSettingType !== undefined && captchaSettingType !== null) - url_ += "captchaSettingType=" + encodeURIComponent("" + captchaSettingType) + "&"; + importItem2RouteExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportItem2RouteExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "POST", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -48141,11 +50536,11 @@ export class TokenAuthServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGenerateCaptcha(_response); + return this.processImportItem2RouteExcel(_response); }); } - protected processGenerateCaptcha(response: AxiosResponse): Promise { + protected processImportItem2RouteExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -48157,41 +50552,33 @@ export class TokenAuthServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfIcsItem2RouteImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 生成验证码 - * @param name (optional) 键值 - * @param t (optional) 验证码类型 - * @param l (optional) 长度 - * @param tid (optional) 租户id + * @param fileToken (optional) * @return Success */ - generateVerification(name: string | null | undefined, t: ValidateCodeType | undefined, l: number | null | undefined, tid: number | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/TokenAuth/GenerateVerification?"; - if (name !== undefined && name !== null) - url_ += "name=" + encodeURIComponent("" + name) + "&"; - if (t === null) - throw new Error("The parameter 't' cannot be null."); - else if (t !== undefined) - url_ += "t=" + encodeURIComponent("" + t) + "&"; - if (l !== undefined && l !== null) - url_ += "l=" + encodeURIComponent("" + l) + "&"; - if (tid !== undefined && tid !== null) - url_ += "tid=" + encodeURIComponent("" + tid) + "&"; + importItemModel2CheckGroupExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportItemModel2CheckGroupExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "POST", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -48203,11 +50590,11 @@ export class TokenAuthServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGenerateVerification(_response); + return this.processImportItemModel2CheckGroupExcel(_response); }); } - protected processGenerateVerification(response: AxiosResponse): Promise { + protected processImportItemModel2CheckGroupExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -48219,25 +50606,30 @@ export class TokenAuthServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfItemModel2CheckGroupImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取外部认证提供 + * @param fileToken (optional) * @return Success */ - getExternalAuthenticationProviders( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/TokenAuth/GetExternalAuthenticationProviders"; + importMainCategoryCodeExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportMainCategoryCodeExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "POST", url: url_, headers: { "Accept": "text/plain" @@ -48252,11 +50644,11 @@ export class TokenAuthServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetExternalAuthenticationProviders(_response); + return this.processImportMainCategoryCodeExcel(_response); }); } - protected processGetExternalAuthenticationProviders(response: AxiosResponse): Promise { + protected processImportMainCategoryCodeExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -48270,32 +50662,24 @@ export class TokenAuthServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - if (Array.isArray(resultData200)) { - result200 = [] as any; - for (let item of resultData200) - result200.push(ExternalLoginProviderInfoModel.fromJS(item)); - } - else { - result200 = null; - } - return Promise.resolve(result200); + result200 = ExcelImpDtoOfIcsMainCategoryCodeImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 使用此用户登录 - * @param impersonationToken (optional) + * @param fileToken (optional) * @return Success */ - impersonatedAuthenticate(impersonationToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/TokenAuth/ImpersonatedAuthenticate?"; - if (impersonationToken !== undefined && impersonationToken !== null) - url_ += "impersonationToken=" + encodeURIComponent("" + impersonationToken) + "&"; + importMCExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportMCExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -48314,11 +50698,11 @@ export class TokenAuthServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processImpersonatedAuthenticate(_response); + return this.processImportMCExcel(_response); }); } - protected processImpersonatedAuthenticate(response: AxiosResponse): Promise { + protected processImportMCExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -48332,25 +50716,24 @@ export class TokenAuthServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = ImpersonatedAuthenticateResultModel.fromJS(resultData200); - return Promise.resolve(result200); + result200 = ExcelImpDtoOfMCImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 链接账户认证 - * @param switchAccountToken (optional) + * @param fileToken (optional) * @return Success */ - linkedAccountAuthenticate(switchAccountToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/TokenAuth/LinkedAccountAuthenticate?"; - if (switchAccountToken !== undefined && switchAccountToken !== null) - url_ += "switchAccountToken=" + encodeURIComponent("" + switchAccountToken) + "&"; + importMoExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportMoExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -48369,11 +50752,11 @@ export class TokenAuthServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processLinkedAccountAuthenticate(_response); + return this.processImportMoExcel(_response); }); } - protected processLinkedAccountAuthenticate(response: AxiosResponse): Promise { + protected processImportMoExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -48387,28 +50770,31 @@ export class TokenAuthServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = SwitchedAccountAuthenticateResultModel.fromJS(resultData200); - return Promise.resolve(result200); + result200 = ExcelImpDtoOfIcsMoImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 注销 + * @param fileToken (optional) * @return Success */ - logOut( cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/TokenAuth/LogOut"; + importOPExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportOPExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "POST", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -48420,11 +50806,11 @@ export class TokenAuthServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processLogOut(_response); + return this.processImportOPExcel(_response); }); } - protected processLogOut(response: AxiosResponse): Promise { + protected processImportOPExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -48436,38 +50822,26 @@ export class TokenAuthServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfIcsOPImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); - } -} - -export class RefreshTokenServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - - constructor(baseUrl?: string, instance?: AxiosInstance) { - - this.instance = instance ? instance : axios.create(); - - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - + return Promise.resolve(null as any); } /** - * 通过 Refresh Token 获取最新的 Token 信息。 - * @param refreshToken (optional) + * @param fileToken (optional) * @return Success */ - refreshToken(refreshToken: string | null | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/api/TokenAuth/RefreshToken/refresh-token?"; - if (refreshToken !== undefined && refreshToken !== null) - url_ += "refreshToken=" + encodeURIComponent("" + refreshToken) + "&"; + importParamDetailExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportParamDetailExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { @@ -48486,11 +50860,11 @@ export class RefreshTokenServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processRefreshToken(_response); + return this.processImportParamDetailExcel(_response); }); } - protected processRefreshToken(response: AxiosResponse): Promise { + protected processImportParamDetailExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -48504,54 +50878,85 @@ export class RefreshTokenServiceProxy { const _responseText = response.data; let result200: any = null; let resultData200 = _responseText; - result200 = RefreshTokenResult.fromJS(resultData200); - return Promise.resolve(result200); + result200 = ExcelImpDtoOfIcsParamDetailImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } -} -export class FileServiceProxy { - private instance: AxiosInstance; - private baseUrl: string; - protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + /** + * @param fileToken (optional) + * @return Success + */ + importParamHeadExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportParamHeadExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); - constructor(baseUrl?: string, instance?: AxiosInstance) { + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - this.instance = instance ? instance : axios.create(); + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processImportParamHeadExcel(_response); + }); + } - this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + protected processImportParamHeadExcel(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfIcsParamHeadImportDto.fromJS(resultData200); + return Promise.resolve(result200); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } /** - * 根据文件token下载文件 + * @param fileToken (optional) * @return Success */ - downloadFilePathFile(fileName: string | null, fileType: string | null, fileToken: string | null , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/File/DownloadFilePathFile?"; - if (fileName === undefined) - throw new Error("The parameter 'fileName' must be defined."); - else if(fileName !== null) - url_ += "fileName=" + encodeURIComponent("" + fileName) + "&"; - if (fileType === undefined) - throw new Error("The parameter 'fileType' must be defined."); - else if(fileType !== null) - url_ += "fileType=" + encodeURIComponent("" + fileType) + "&"; - if (fileToken === undefined) - throw new Error("The parameter 'fileToken' must be defined."); - else if(fileToken !== null) + importPart2SubItemImportExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportPart2SubItemImportExcel?"; + if (fileToken !== undefined && fileToken !== null) url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "POST", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -48563,11 +50968,11 @@ export class FileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDownloadFilePathFile(_response); + return this.processImportPart2SubItemImportExcel(_response); }); } - protected processDownloadFilePathFile(response: AxiosResponse): Promise { + protected processImportPart2SubItemImportExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -48579,39 +50984,33 @@ export class FileServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfIcsPart2SubItemImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 根据文件token下载文件 + * @param fileToken (optional) * @return Success */ - downloadTempFile(fileName: string | null, fileType: string | null, fileToken: string | null , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/File/DownloadTempFile?"; - if (fileName === undefined) - throw new Error("The parameter 'fileName' must be defined."); - else if(fileName !== null) - url_ += "fileName=" + encodeURIComponent("" + fileName) + "&"; - if (fileType === undefined) - throw new Error("The parameter 'fileType' must be defined."); - else if(fileType !== null) - url_ += "fileType=" + encodeURIComponent("" + fileType) + "&"; - if (fileToken === undefined) - throw new Error("The parameter 'fileToken' must be defined."); - else if(fileToken !== null) + importPartExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportPartExcel?"; + if (fileToken !== undefined && fileToken !== null) url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "POST", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -48623,11 +51022,11 @@ export class FileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processDownloadTempFile(_response); + return this.processImportPartExcel(_response); }); } - protected processDownloadTempFile(response: AxiosResponse): Promise { + protected processImportPartExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -48639,35 +51038,33 @@ export class FileServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfIcsPartImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } /** - * 获取文件 - * @param filePath (optional) - * @param download (optional) + * @param fileToken (optional) * @return Success */ - getFile(filePath: string | null | undefined, download: boolean | undefined , cancelToken?: CancelToken | undefined): Promise { - let url_ = this.baseUrl + "/File/GetFile?"; - if (filePath !== undefined && filePath !== null) - url_ += "filePath=" + encodeURIComponent("" + filePath) + "&"; - if (download === null) - throw new Error("The parameter 'download' cannot be null."); - else if (download !== undefined) - url_ += "download=" + encodeURIComponent("" + download) + "&"; + importResExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportResExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; url_ = url_.replace(/[?&]$/, ""); let options_: AxiosRequestConfig = { - method: "GET", + method: "POST", url: url_, headers: { + "Accept": "text/plain" }, cancelToken }; @@ -48679,11 +51076,11 @@ export class FileServiceProxy { throw _error; } }).then((_response: AxiosResponse) => { - return this.processGetFile(_response); + return this.processImportResExcel(_response); }); } - protected processGetFile(response: AxiosResponse): Promise { + protected processImportResExcel(response: AxiosResponse): Promise { const status = response.status; let _headers: any = {}; if (response.headers && typeof response.headers === "object") { @@ -48695,7464 +51092,25268 @@ export class FileServiceProxy { } if (status === 200) { const _responseText = response.data; - return Promise.resolve(null as any); + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfResImportDto.fromJS(resultData200); + return Promise.resolve(result200); } else if (status !== 200 && status !== 204) { const _responseText = response.data; return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return Promise.resolve(null as any); + return Promise.resolve(null as any); } -} -export enum _definitions_PushChannelType { - RobotFeishu = "RobotFeishu", - RobotWechat = "RobotWechat", - RobotDingding = "RobotDingding", - SmsAliyun = "SmsAliyun", - SmsTenxunyun = "SmsTenxunyun", - SmsHuaweiyun = "SmsHuaweiyun", - Email = "Email", -} + /** + * @param fileToken (optional) + * @return Success + */ + importRouteExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportRouteExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); -export class AbpLocalizationSourceDto implements IAbpLocalizationSourceDto { - name: string | undefined; - type: string | undefined; + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: IAbpLocalizationSourceDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processImportRouteExcel(_response); + }); } - init(_data?: any) { - if (_data) { - this.name = _data["name"]; - this.type = _data["type"]; + protected processImportRouteExcel(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } - - static fromJS(data: any): AbpLocalizationSourceDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpLocalizationSourceDto(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfIcsRouteImportDto.fromJS(resultData200); + return Promise.resolve(result200); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["name"] = this.name; - data["type"] = this.type; - return data; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - clone(): AbpLocalizationSourceDto { - const json = this.toJSON(); - let result = new AbpLocalizationSourceDto(); - result.init(json); - return result; - } -} + /** + * @param fileToken (optional) + * @return Success + */ + importSegExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportSegExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); -export interface IAbpLocalizationSourceDto { - name: string | undefined; - type: string | undefined; -} + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; -export class AbpMultiTenancyConfigDto implements IAbpMultiTenancyConfigDto { - isEnabled: boolean; - ignoreFeatureCheckForHostUsers: boolean; - sides: AbpMultiTenancySidesConfigDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processImportSegExcel(_response); + }); + } - constructor(data?: IAbpMultiTenancyConfigDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processImportSegExcel(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfSegImportDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.isEnabled = _data["isEnabled"]; - this.ignoreFeatureCheckForHostUsers = _data["ignoreFeatureCheckForHostUsers"]; - this.sides = _data["sides"] ? AbpMultiTenancySidesConfigDto.fromJS(_data["sides"]) : undefined; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): AbpMultiTenancyConfigDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpMultiTenancyConfigDto(); - result.init(data); - return result; - } + /** + * @param fileToken (optional) + * @return Success + */ + importShiftExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportShiftExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["isEnabled"] = this.isEnabled; - data["ignoreFeatureCheckForHostUsers"] = this.ignoreFeatureCheckForHostUsers; - data["sides"] = this.sides ? this.sides.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): AbpMultiTenancyConfigDto { - const json = this.toJSON(); - let result = new AbpMultiTenancyConfigDto(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processImportShiftExcel(_response); + }); } -} -export interface IAbpMultiTenancyConfigDto { - isEnabled: boolean; - ignoreFeatureCheckForHostUsers: boolean; - sides: AbpMultiTenancySidesConfigDto; -} - -export class AbpMultiTenancySidesConfigDto implements IAbpMultiTenancySidesConfigDto { - host: MultiTenancySides; - tenant: MultiTenancySides; - - constructor(data?: IAbpMultiTenancySidesConfigDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processImportShiftExcel(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfIcsShiftTypeImportDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.host = _data["host"]; - this.tenant = _data["tenant"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): AbpMultiTenancySidesConfigDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpMultiTenancySidesConfigDto(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["host"] = this.host; - data["tenant"] = this.tenant; - return data; - } - - clone(): AbpMultiTenancySidesConfigDto { - const json = this.toJSON(); - let result = new AbpMultiTenancySidesConfigDto(); - result.init(json); - return result; - } -} + /** + * @param fileToken (optional) + * @return Success + */ + importShiftTypeExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportShiftTypeExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); -export interface IAbpMultiTenancySidesConfigDto { - host: MultiTenancySides; - tenant: MultiTenancySides; -} + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; -export class AbpStringValueDto implements IAbpStringValueDto { - value: string | undefined; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processImportShiftTypeExcel(_response); + }); + } - constructor(data?: IAbpStringValueDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processImportShiftTypeExcel(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfIcsShiftTypeImportDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.value = _data["value"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): AbpStringValueDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpStringValueDto(); - result.init(data); - return result; - } + /** + * @param fileToken (optional) + * @return Success + */ + importSolutionExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportSolutionExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["value"] = this.value; - return data; - } + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): AbpStringValueDto { - const json = this.toJSON(); - let result = new AbpStringValueDto(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processImportSolutionExcel(_response); + }); } -} - -export interface IAbpStringValueDto { - value: string | undefined; -} - -export class AbpUserAntiForgeryConfigDto implements IAbpUserAntiForgeryConfigDto { - tokenCookieName: string | undefined; - tokenHeaderName: string | undefined; - constructor(data?: IAbpUserAntiForgeryConfigDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processImportSolutionExcel(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfIcsSolutionImportDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.tokenCookieName = _data["tokenCookieName"]; - this.tokenHeaderName = _data["tokenHeaderName"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): AbpUserAntiForgeryConfigDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpUserAntiForgeryConfigDto(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["tokenCookieName"] = this.tokenCookieName; - data["tokenHeaderName"] = this.tokenHeaderName; - return data; - } - - clone(): AbpUserAntiForgeryConfigDto { - const json = this.toJSON(); - let result = new AbpUserAntiForgeryConfigDto(); - result.init(json); - return result; - } -} - -export interface IAbpUserAntiForgeryConfigDto { - tokenCookieName: string | undefined; - tokenHeaderName: string | undefined; -} + /** + * @param fileToken (optional) + * @return Success + */ + importSSExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportSSExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); -export class AbpUserAuthConfigDto implements IAbpUserAuthConfigDto { - allPermissions: { [key: string]: string; } | undefined; - grantedPermissions: { [key: string]: string; } | undefined; + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: IAbpUserAuthConfigDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processImportSSExcel(_response); + }); } - init(_data?: any) { - if (_data) { - if (_data["allPermissions"]) { - this.allPermissions = {} as any; - for (let key in _data["allPermissions"]) { - if (_data["allPermissions"].hasOwnProperty(key)) - (this.allPermissions)[key] = _data["allPermissions"][key]; - } - } - if (_data["grantedPermissions"]) { - this.grantedPermissions = {} as any; - for (let key in _data["grantedPermissions"]) { - if (_data["grantedPermissions"].hasOwnProperty(key)) - (this.grantedPermissions)[key] = _data["grantedPermissions"][key]; + protected processImportSSExcel(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; } } } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfSSImportDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - static fromJS(data: any): AbpUserAuthConfigDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpUserAuthConfigDto(); - result.init(data); - return result; + /** + * @param fileToken (optional) + * @return Success + */ + importStandardWhoursExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportStandardWhoursExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processImportStandardWhoursExcel(_response); + }); } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - if (this.allPermissions) { - data["allPermissions"] = {}; - for (let key in this.allPermissions) { - if (this.allPermissions.hasOwnProperty(key)) - (data["allPermissions"])[key] = (this.allPermissions)[key]; + protected processImportStandardWhoursExcel(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (this.grantedPermissions) { - data["grantedPermissions"] = {}; - for (let key in this.grantedPermissions) { - if (this.grantedPermissions.hasOwnProperty(key)) - (data["grantedPermissions"])[key] = (this.grantedPermissions)[key]; - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfIcsStandardWhoursImportDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return data; + return Promise.resolve(null as any); } - clone(): AbpUserAuthConfigDto { - const json = this.toJSON(); - let result = new AbpUserAuthConfigDto(); - result.init(json); - return result; - } -} + /** + * @param fileToken (optional) + * @return Success + */ + importSysUserInfoExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportSysUserInfoExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); -export interface IAbpUserAuthConfigDto { - allPermissions: { [key: string]: string; } | undefined; - grantedPermissions: { [key: string]: string; } | undefined; -} + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; -export class AbpUserClockConfigDto implements IAbpUserClockConfigDto { - provider: string | undefined; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processImportSysUserInfoExcel(_response); + }); + } - constructor(data?: IAbpUserClockConfigDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processImportSysUserInfoExcel(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfSysUserInfoImportDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.provider = _data["provider"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): AbpUserClockConfigDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpUserClockConfigDto(); - result.init(data); - return result; - } + /** + * @param fileToken (optional) + * @return Success + */ + importTestExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportTestExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["provider"] = this.provider; - return data; + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processImportTestExcel(_response); + }); } - clone(): AbpUserClockConfigDto { - const json = this.toJSON(); - let result = new AbpUserClockConfigDto(); - result.init(json); - return result; + protected processImportTestExcel(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfTestImportDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } -} -export interface IAbpUserClockConfigDto { - provider: string | undefined; -} + /** + * @param fileToken (optional) + * @return Success + */ + importUser2OpExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportUser2OpExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); -export class AbpUserConfigurationDto implements IAbpUserConfigurationDto { - multiTenancy: AbpMultiTenancyConfigDto; - session: AbpUserSessionConfigDto; - localization: AbpUserLocalizationConfigDto; - features: AbpUserFeatureConfigDto; - auth: AbpUserAuthConfigDto; - nav: AbpUserNavConfigDto; - setting: AbpUserSettingConfigDto; - clock: AbpUserClockConfigDto; - timing: AbpUserTimingConfigDto; - security: AbpUserSecurityConfigDto; - custom: { [key: string]: any; } | undefined; + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: IAbpUserConfigurationDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processImportUser2OpExcel(_response); + }); } - init(_data?: any) { - if (_data) { - this.multiTenancy = _data["multiTenancy"] ? AbpMultiTenancyConfigDto.fromJS(_data["multiTenancy"]) : undefined; - this.session = _data["session"] ? AbpUserSessionConfigDto.fromJS(_data["session"]) : undefined; - this.localization = _data["localization"] ? AbpUserLocalizationConfigDto.fromJS(_data["localization"]) : undefined; - this.features = _data["features"] ? AbpUserFeatureConfigDto.fromJS(_data["features"]) : undefined; - this.auth = _data["auth"] ? AbpUserAuthConfigDto.fromJS(_data["auth"]) : undefined; - this.nav = _data["nav"] ? AbpUserNavConfigDto.fromJS(_data["nav"]) : undefined; - this.setting = _data["setting"] ? AbpUserSettingConfigDto.fromJS(_data["setting"]) : undefined; - this.clock = _data["clock"] ? AbpUserClockConfigDto.fromJS(_data["clock"]) : undefined; - this.timing = _data["timing"] ? AbpUserTimingConfigDto.fromJS(_data["timing"]) : undefined; - this.security = _data["security"] ? AbpUserSecurityConfigDto.fromJS(_data["security"]) : undefined; - if (_data["custom"]) { - this.custom = {} as any; - for (let key in _data["custom"]) { - if (_data["custom"].hasOwnProperty(key)) - (this.custom)[key] = _data["custom"][key]; + protected processImportUser2OpExcel(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfUser2OpImportDto.fromJS(resultData200); + return Promise.resolve(result200); - static fromJS(data: any): AbpUserConfigurationDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpUserConfigurationDto(); - result.init(data); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["multiTenancy"] = this.multiTenancy ? this.multiTenancy.toJSON() : undefined; - data["session"] = this.session ? this.session.toJSON() : undefined; - data["localization"] = this.localization ? this.localization.toJSON() : undefined; - data["features"] = this.features ? this.features.toJSON() : undefined; - data["auth"] = this.auth ? this.auth.toJSON() : undefined; - data["nav"] = this.nav ? this.nav.toJSON() : undefined; - data["setting"] = this.setting ? this.setting.toJSON() : undefined; - data["clock"] = this.clock ? this.clock.toJSON() : undefined; - data["timing"] = this.timing ? this.timing.toJSON() : undefined; - data["security"] = this.security ? this.security.toJSON() : undefined; - if (this.custom) { - data["custom"] = {}; - for (let key in this.custom) { - if (this.custom.hasOwnProperty(key)) - (data["custom"])[key] = (this.custom)[key]; - } - } - return data; - } - - clone(): AbpUserConfigurationDto { - const json = this.toJSON(); - let result = new AbpUserConfigurationDto(); - result.init(json); - return result; - } -} + /** + * @param fileToken (optional) + * @return Success + */ + importXXExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ImportExportExt/ImportXXExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); -export interface IAbpUserConfigurationDto { - multiTenancy: AbpMultiTenancyConfigDto; - session: AbpUserSessionConfigDto; - localization: AbpUserLocalizationConfigDto; - features: AbpUserFeatureConfigDto; - auth: AbpUserAuthConfigDto; - nav: AbpUserNavConfigDto; - setting: AbpUserSettingConfigDto; - clock: AbpUserClockConfigDto; - timing: AbpUserTimingConfigDto; - security: AbpUserSecurityConfigDto; - custom: { [key: string]: any; } | undefined; -} + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; -export class AbpUserCurrentCultureConfigDto implements IAbpUserCurrentCultureConfigDto { - name: string | undefined; - displayName: string | undefined; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processImportXXExcel(_response); + }); + } - constructor(data?: IAbpUserCurrentCultureConfigDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processImportXXExcel(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfIcsRouteImportDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.name = _data["name"]; - this.displayName = _data["displayName"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } +} - static fromJS(data: any): AbpUserCurrentCultureConfigDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpUserCurrentCultureConfigDto(); - result.init(data); - return result; - } +export class IncomeStatisticsServiceServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["name"] = this.name; - data["displayName"] = this.displayName; - return data; - } + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - clone(): AbpUserCurrentCultureConfigDto { - const json = this.toJSON(); - let result = new AbpUserCurrentCultureConfigDto(); - result.init(json); - return result; } -} -export interface IAbpUserCurrentCultureConfigDto { - name: string | undefined; - displayName: string | undefined; -} + /** + * @param startDate (optional) + * @param endDate (optional) + * @param dateInterval (optional) + * @return Success + */ + getIncomeStatisticsData(startDate: moment.Moment | undefined, endDate: moment.Moment | undefined, dateInterval: ChartDateInterval | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/IncomeStatisticsService/GetIncomeStatisticsData"; + url_ = url_.replace(/[?&]$/, ""); -export class AbpUserFeatureConfigDto implements IAbpUserFeatureConfigDto { - allFeatures: { [key: string]: AbpStringValueDto; } | undefined; + const content_ = new FormData(); + if (startDate === null || startDate === undefined) + throw new Error("The parameter 'startDate' cannot be null."); + else + content_.append("startDate", startDate.toJSON()); + if (endDate === null || endDate === undefined) + throw new Error("The parameter 'endDate' cannot be null."); + else + content_.append("endDate", endDate.toJSON()); + if (dateInterval === null || dateInterval === undefined) + throw new Error("The parameter 'dateInterval' cannot be null."); + else + content_.append("dateInterval", dateInterval.toString()); - constructor(data?: IAbpUserFeatureConfigDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + let options_: AxiosRequestConfig = { + data: content_, + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processGetIncomeStatisticsData(_response); + }); } - init(_data?: any) { - if (_data) { - if (_data["allFeatures"]) { - this.allFeatures = {} as any; - for (let key in _data["allFeatures"]) { - if (_data["allFeatures"].hasOwnProperty(key)) - (this.allFeatures)[key] = _data["allFeatures"][key] ? AbpStringValueDto.fromJS(_data["allFeatures"][key]) : new AbpStringValueDto(); + protected processGetIncomeStatisticsData(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; } } } - } - - static fromJS(data: any): AbpUserFeatureConfigDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpUserFeatureConfigDto(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - if (this.allFeatures) { - data["allFeatures"] = {}; - for (let key in this.allFeatures) { - if (this.allFeatures.hasOwnProperty(key)) - (data["allFeatures"])[key] = this.allFeatures[key] ? this.allFeatures[key].toJSON() : undefined; + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IncomeStastistic.fromJS(item)); } - } - return data; - } + else { + result200 = null; + } + return Promise.resolve(result200); - clone(): AbpUserFeatureConfigDto { - const json = this.toJSON(); - let result = new AbpUserFeatureConfigDto(); - result.init(json); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } } -export interface IAbpUserFeatureConfigDto { - allFeatures: { [key: string]: AbpStringValueDto; } | undefined; -} - -export class AbpUserIanaTimeZoneConfigDto implements IAbpUserIanaTimeZoneConfigDto { - timeZoneId: string | undefined; +export class LanguageServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - constructor(data?: IAbpUserIanaTimeZoneConfigDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } - } - } + constructor(baseUrl?: string, instance?: AxiosInstance) { - init(_data?: any) { - if (_data) { - this.timeZoneId = _data["timeZoneId"]; - } - } + this.instance = instance ? instance : axios.create(); - static fromJS(data: any): AbpUserIanaTimeZoneConfigDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpUserIanaTimeZoneConfigDto(); - result.init(data); - return result; - } + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["timeZoneId"] = this.timeZoneId; - return data; } - clone(): AbpUserIanaTimeZoneConfigDto { - const json = this.toJSON(); - let result = new AbpUserIanaTimeZoneConfigDto(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + batchDelete(body: string[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Language/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); -export interface IAbpUserIanaTimeZoneConfigDto { - timeZoneId: string | undefined; -} + const content_ = JSON.stringify(body); -export class AbpUserLocalizationConfigDto implements IAbpUserLocalizationConfigDto { - currentCulture: AbpUserCurrentCultureConfigDto; - languages: LanguageInfo[] | undefined; - currentLanguage: LanguageInfo; - sources: AbpLocalizationSourceDto[] | undefined; - values: { [key: string]: { [key: string]: string; }; } | undefined; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; - constructor(data?: IAbpUserLocalizationConfigDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); } - init(_data?: any) { - if (_data) { - this.currentCulture = _data["currentCulture"] ? AbpUserCurrentCultureConfigDto.fromJS(_data["currentCulture"]) : undefined; - if (Array.isArray(_data["languages"])) { - this.languages = [] as any; - for (let item of _data["languages"]) - this.languages.push(LanguageInfo.fromJS(item)); - } - this.currentLanguage = _data["currentLanguage"] ? LanguageInfo.fromJS(_data["currentLanguage"]) : undefined; - if (Array.isArray(_data["sources"])) { - this.sources = [] as any; - for (let item of _data["sources"]) - this.sources.push(AbpLocalizationSourceDto.fromJS(item)); - } - if (_data["values"]) { - this.values = {} as any; - for (let key in _data["values"]) { - if (_data["values"].hasOwnProperty(key)) - (this.values)[key] = _data["values"][key]; + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; } } } - } - - static fromJS(data: any): AbpUserLocalizationConfigDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpUserLocalizationConfigDto(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["currentCulture"] = this.currentCulture ? this.currentCulture.toJSON() : undefined; - if (Array.isArray(this.languages)) { - data["languages"] = []; - for (let item of this.languages) - data["languages"].push(item.toJSON()); - } - data["currentLanguage"] = this.currentLanguage ? this.currentLanguage.toJSON() : undefined; - if (Array.isArray(this.sources)) { - data["sources"] = []; - for (let item of this.sources) - data["sources"].push(item.toJSON()); - } - if (this.values) { - data["values"] = {}; - for (let key in this.values) { - if (this.values.hasOwnProperty(key)) - (data["values"])[key] = (this.values)[key]; - } + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return data; + return Promise.resolve(null as any); } - clone(): AbpUserLocalizationConfigDto { - const json = this.toJSON(); - let result = new AbpUserLocalizationConfigDto(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + createOrUpdateLanguage(body: CreateOrUpdateLanguageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Language/CreateOrUpdateLanguage"; + url_ = url_.replace(/[?&]$/, ""); -export interface IAbpUserLocalizationConfigDto { - currentCulture: AbpUserCurrentCultureConfigDto; - languages: LanguageInfo[] | undefined; - currentLanguage: LanguageInfo; - sources: AbpLocalizationSourceDto[] | undefined; - values: { [key: string]: { [key: string]: string; }; } | undefined; -} + const content_ = JSON.stringify(body); -export class AbpUserNavConfigDto implements IAbpUserNavConfigDto { - menus: { [key: string]: UserMenu; } | undefined; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; - constructor(data?: IAbpUserNavConfigDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdateLanguage(_response); + }); } - init(_data?: any) { - if (_data) { - if (_data["menus"]) { - this.menus = {} as any; - for (let key in _data["menus"]) { - if (_data["menus"].hasOwnProperty(key)) - (this.menus)[key] = _data["menus"][key] ? UserMenu.fromJS(_data["menus"][key]) : new UserMenu(); + protected processCreateOrUpdateLanguage(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; } } } - } - - static fromJS(data: any): AbpUserNavConfigDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpUserNavConfigDto(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - if (this.menus) { - data["menus"] = {}; - for (let key in this.menus) { - if (this.menus.hasOwnProperty(key)) - (data["menus"])[key] = this.menus[key] ? this.menus[key].toJSON() : undefined; - } + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return data; - } - - clone(): AbpUserNavConfigDto { - const json = this.toJSON(); - let result = new AbpUserNavConfigDto(); - result.init(json); - return result; + return Promise.resolve(null as any); } -} -export interface IAbpUserNavConfigDto { - menus: { [key: string]: UserMenu; } | undefined; -} + /** + * @param id (optional) + * @return Success + */ + deleteLanguage(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Language/DeleteLanguage?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); -export class AbpUserSecurityConfigDto implements IAbpUserSecurityConfigDto { - antiForgery: AbpUserAntiForgeryConfigDto; + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; - constructor(data?: IAbpUserSecurityConfigDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processDeleteLanguage(_response); + }); } - init(_data?: any) { - if (_data) { - this.antiForgery = _data["antiForgery"] ? AbpUserAntiForgeryConfigDto.fromJS(_data["antiForgery"]) : undefined; + protected processDeleteLanguage(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - static fromJS(data: any): AbpUserSecurityConfigDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpUserSecurityConfigDto(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["antiForgery"] = this.antiForgery ? this.antiForgery.toJSON() : undefined; - return data; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - clone(): AbpUserSecurityConfigDto { - const json = this.toJSON(); - let result = new AbpUserSecurityConfigDto(); - result.init(json); - return result; - } -} + /** + * @param id (optional) + * @return Success + */ + getLanguageForEdit(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Language/GetLanguageForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); -export interface IAbpUserSecurityConfigDto { - antiForgery: AbpUserAntiForgeryConfigDto; -} + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; -export class AbpUserSessionConfigDto implements IAbpUserSessionConfigDto { - userId: string | undefined; - tenantId: string | undefined; - impersonatorUserId: string | undefined; - impersonatorTenantId: string | undefined; - multiTenancySide: MultiTenancySides; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetLanguageForEdit(_response); + }); + } - constructor(data?: IAbpUserSessionConfigDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetLanguageForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetLanguageForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.userId = _data["userId"]; - this.tenantId = _data["tenantId"]; - this.impersonatorUserId = _data["impersonatorUserId"]; - this.impersonatorTenantId = _data["impersonatorTenantId"]; - this.multiTenancySide = _data["multiTenancySide"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): AbpUserSessionConfigDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpUserSessionConfigDto(); - result.init(data); - return result; - } + /** + * @return Success + */ + getLanguages( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Language/GetLanguages"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["userId"] = this.userId; - data["tenantId"] = this.tenantId; - data["impersonatorUserId"] = this.impersonatorUserId; - data["impersonatorTenantId"] = this.impersonatorTenantId; - data["multiTenancySide"] = this.multiTenancySide; - return data; + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetLanguages(_response); + }); } - clone(): AbpUserSessionConfigDto { - const json = this.toJSON(); - let result = new AbpUserSessionConfigDto(); - result.init(json); - return result; + protected processGetLanguages(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetLanguagesOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } -} -export interface IAbpUserSessionConfigDto { - userId: string | undefined; - tenantId: string | undefined; - impersonatorUserId: string | undefined; - impersonatorTenantId: string | undefined; - multiTenancySide: MultiTenancySides; -} + /** + * @param baseLanguageName (optional) + * @param targetValueFilter (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) + * @return Success + */ + getLanguageTexts(sourceName: string | null, baseLanguageName: string | null | undefined, targetLanguageName: string | null, targetValueFilter: string | null | undefined, filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Language/GetLanguageTexts?"; + if (sourceName === undefined) + throw new Error("The parameter 'sourceName' must be defined."); + else if(sourceName !== null) + url_ += "sourceName=" + encodeURIComponent("" + sourceName) + "&"; + if (baseLanguageName !== undefined && baseLanguageName !== null) + url_ += "baseLanguageName=" + encodeURIComponent("" + baseLanguageName) + "&"; + if (targetLanguageName === undefined) + throw new Error("The parameter 'targetLanguageName' must be defined."); + else if(targetLanguageName !== null) + url_ += "targetLanguageName=" + encodeURIComponent("" + targetLanguageName) + "&"; + if (targetValueFilter !== undefined && targetValueFilter !== null) + url_ += "targetValueFilter=" + encodeURIComponent("" + targetValueFilter) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); -export class AbpUserSettingConfigDto implements IAbpUserSettingConfigDto { - values: { [key: string]: string; } | undefined; + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: IAbpUserSettingConfigDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processGetLanguageTexts(_response); + }); } - init(_data?: any) { - if (_data) { - if (_data["values"]) { - this.values = {} as any; - for (let key in _data["values"]) { - if (_data["values"].hasOwnProperty(key)) - (this.values)[key] = _data["values"][key]; + protected processGetLanguageTexts(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; } } } - } - - static fromJS(data: any): AbpUserSettingConfigDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpUserSettingConfigDto(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfLanguageTextListDto.fromJS(resultData200); + return Promise.resolve(result200); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - if (this.values) { - data["values"] = {}; - for (let key in this.values) { - if (this.values.hasOwnProperty(key)) - (data["values"])[key] = (this.values)[key]; - } + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return data; + return Promise.resolve(null as any); } - clone(): AbpUserSettingConfigDto { - const json = this.toJSON(); - let result = new AbpUserSettingConfigDto(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + setDefaultLanguage(body: SetDefaultLanguageInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Language/SetDefaultLanguage"; + url_ = url_.replace(/[?&]$/, ""); -export interface IAbpUserSettingConfigDto { - values: { [key: string]: string; } | undefined; -} + const content_ = JSON.stringify(body); -export class AbpUserTimeZoneConfigDto implements IAbpUserTimeZoneConfigDto { - windows: AbpUserWindowsTimeZoneConfigDto; - iana: AbpUserIanaTimeZoneConfigDto; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; - constructor(data?: IAbpUserTimeZoneConfigDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processSetDefaultLanguage(_response); + }); } - init(_data?: any) { - if (_data) { - this.windows = _data["windows"] ? AbpUserWindowsTimeZoneConfigDto.fromJS(_data["windows"]) : undefined; - this.iana = _data["iana"] ? AbpUserIanaTimeZoneConfigDto.fromJS(_data["iana"]) : undefined; + protected processSetDefaultLanguage(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - static fromJS(data: any): AbpUserTimeZoneConfigDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpUserTimeZoneConfigDto(); - result.init(data); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["windows"] = this.windows ? this.windows.toJSON() : undefined; - data["iana"] = this.iana ? this.iana.toJSON() : undefined; - return data; - } + /** + * @param body (optional) + * @return Success + */ + updateLanguageText(body: UpdateLanguageTextInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Language/UpdateLanguageText"; + url_ = url_.replace(/[?&]$/, ""); - clone(): AbpUserTimeZoneConfigDto { - const json = this.toJSON(); - let result = new AbpUserTimeZoneConfigDto(); - result.init(json); - return result; - } -} + const content_ = JSON.stringify(body); -export interface IAbpUserTimeZoneConfigDto { - windows: AbpUserWindowsTimeZoneConfigDto; - iana: AbpUserIanaTimeZoneConfigDto; -} + let options_: AxiosRequestConfig = { + data: content_, + method: "PUT", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; -export class AbpUserTimingConfigDto implements IAbpUserTimingConfigDto { - timeZoneInfo: AbpUserTimeZoneConfigDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUpdateLanguageText(_response); + }); + } - constructor(data?: IAbpUserTimingConfigDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processUpdateLanguageText(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.timeZoneInfo = _data["timeZoneInfo"] ? AbpUserTimeZoneConfigDto.fromJS(_data["timeZoneInfo"]) : undefined; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } +} - static fromJS(data: any): AbpUserTimingConfigDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpUserTimingConfigDto(); - result.init(data); - return result; - } +export class ListViewsServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["timeZoneInfo"] = this.timeZoneInfo ? this.timeZoneInfo.toJSON() : undefined; - return data; - } + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - clone(): AbpUserTimingConfigDto { - const json = this.toJSON(); - let result = new AbpUserTimingConfigDto(); - result.init(json); - return result; } -} -export interface IAbpUserTimingConfigDto { - timeZoneInfo: AbpUserTimeZoneConfigDto; -} + /** + * @param body (optional) + * @return Success + */ + adminSaveListViewAsPersonal(body: SaveListViewAsPersonalInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ListViews/AdminSaveListViewAsPersonal"; + url_ = url_.replace(/[?&]$/, ""); -export class AbpUserWindowsTimeZoneConfigDto implements IAbpUserWindowsTimeZoneConfigDto { - timeZoneId: string | undefined; - baseUtcOffsetInMilliseconds: number; - currentUtcOffsetInMilliseconds: number; - isDaylightSavingTimeNow: boolean; + const content_ = JSON.stringify(body); - constructor(data?: IAbpUserWindowsTimeZoneConfigDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processAdminSaveListViewAsPersonal(_response); + }); } - init(_data?: any) { - if (_data) { - this.timeZoneId = _data["timeZoneId"]; - this.baseUtcOffsetInMilliseconds = _data["baseUtcOffsetInMilliseconds"]; - this.currentUtcOffsetInMilliseconds = _data["currentUtcOffsetInMilliseconds"]; - this.isDaylightSavingTimeNow = _data["isDaylightSavingTimeNow"]; + protected processAdminSaveListViewAsPersonal(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - static fromJS(data: any): AbpUserWindowsTimeZoneConfigDto { - data = typeof data === 'object' ? data : {}; - let result = new AbpUserWindowsTimeZoneConfigDto(); - result.init(data); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["timeZoneId"] = this.timeZoneId; - data["baseUtcOffsetInMilliseconds"] = this.baseUtcOffsetInMilliseconds; - data["currentUtcOffsetInMilliseconds"] = this.currentUtcOffsetInMilliseconds; - data["isDaylightSavingTimeNow"] = this.isDaylightSavingTimeNow; - return data; - } + /** + * @param id (optional) + * @return Success + */ + deleteListViewColumnColor(id: string | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ListViews/DeleteListViewColumnColor?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); - clone(): AbpUserWindowsTimeZoneConfigDto { - const json = this.toJSON(); - let result = new AbpUserWindowsTimeZoneConfigDto(); - result.init(json); - return result; - } -} - -export interface IAbpUserWindowsTimeZoneConfigDto { - timeZoneId: string | undefined; - baseUtcOffsetInMilliseconds: number; - currentUtcOffsetInMilliseconds: number; - isDaylightSavingTimeNow: boolean; -} + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; -/** 同意好友关系请求 */ -export class AcceptFriendshipRequestInput implements IAcceptFriendshipRequestInput { - /** 用户Id */ - userId: string | undefined; - /** 租户Id */ - tenantId: string | undefined; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDeleteListViewColumnColor(_response); + }); + } - constructor(data?: IAcceptFriendshipRequestInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processDeleteListViewColumnColor(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.userId = _data["userId"]; - this.tenantId = _data["tenantId"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): AcceptFriendshipRequestInput { - data = typeof data === 'object' ? data : {}; - let result = new AcceptFriendshipRequestInput(); - result.init(data); - return result; - } + /** + * @param listViewName (optional) + * @return Success + */ + deletePersonalListView(listViewName: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ListViews/DeletePersonalListView?"; + if (listViewName !== undefined && listViewName !== null) + url_ += "listViewName=" + encodeURIComponent("" + listViewName) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["userId"] = this.userId; - data["tenantId"] = this.tenantId; - return data; - } + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; - clone(): AcceptFriendshipRequestInput { - const json = this.toJSON(); - let result = new AcceptFriendshipRequestInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDeletePersonalListView(_response); + }); } -} - -/** 同意好友关系请求 */ -export interface IAcceptFriendshipRequestInput { - /** 用户Id */ - userId: string | undefined; - /** 租户Id */ - tenantId: string | undefined; -} - -/** 激活账户模型 */ -export class ActivateAccountModel implements IActivateAccountModel { - /** 邮箱地址 */ - emailAddress: string; - /** 密码 */ - password: string; - /** 用户编号 */ - userId: string | undefined; - /** 验证码 */ - verificationCode: string | undefined; - activateType: ActivateType; - constructor(data?: IActivateAccountModel) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processDeletePersonalListView(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.emailAddress = _data["emailAddress"]; - this.password = _data["password"]; - this.userId = _data["userId"]; - this.verificationCode = _data["verificationCode"]; - this.activateType = _data["activateType"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): ActivateAccountModel { - data = typeof data === 'object' ? data : {}; - let result = new ActivateAccountModel(); - result.init(data); - return result; - } + /** + * @param listViewName (optional) + * @param userId (optional) + * @return Success + */ + getColumnsOfListView(listViewName: string | null | undefined, userId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ListViews/GetColumnsOfListView?"; + if (listViewName !== undefined && listViewName !== null) + url_ += "listViewName=" + encodeURIComponent("" + listViewName) + "&"; + if (userId !== undefined && userId !== null) + url_ += "userId=" + encodeURIComponent("" + userId) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["emailAddress"] = this.emailAddress; - data["password"] = this.password; - data["userId"] = this.userId; - data["verificationCode"] = this.verificationCode; - data["activateType"] = this.activateType; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): ActivateAccountModel { - const json = this.toJSON(); - let result = new ActivateAccountModel(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetColumnsOfListView(_response); + }); } -} - -/** 激活账户模型 */ -export interface IActivateAccountModel { - /** 邮箱地址 */ - emailAddress: string; - /** 密码 */ - password: string; - /** 用户编号 */ - userId: string | undefined; - /** 验证码 */ - verificationCode: string | undefined; - activateType: ActivateType; -} - -/** 激活账户结果模型 */ -export class ActivateAccountResultModel implements IActivateAccountResultModel { - /** 访问令牌 */ - accessToken: string | undefined; - /** 加密访问令牌 */ - encryptedAccessToken: string | undefined; - /** 过期时间 */ - expireInSeconds: number; - /** 用户编号 */ - userId: string | undefined; - constructor(data?: IActivateAccountResultModel) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetColumnsOfListView(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ListViewDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.accessToken = _data["accessToken"]; - this.encryptedAccessToken = _data["encryptedAccessToken"]; - this.expireInSeconds = _data["expireInSeconds"]; - this.userId = _data["userId"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): ActivateAccountResultModel { - data = typeof data === 'object' ? data : {}; - let result = new ActivateAccountResultModel(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["accessToken"] = this.accessToken; - data["encryptedAccessToken"] = this.encryptedAccessToken; - data["expireInSeconds"] = this.expireInSeconds; - data["userId"] = this.userId; - return data; - } + /** + * @param body (optional) + * @return Success + */ + saveListViewAsPersonal(body: SaveListViewAsPersonalInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/ListViews/SaveListViewAsPersonal"; + url_ = url_.replace(/[?&]$/, ""); - clone(): ActivateAccountResultModel { - const json = this.toJSON(); - let result = new ActivateAccountResultModel(); - result.init(json); - return result; - } -} + const content_ = JSON.stringify(body); -/** 激活账户结果模型 */ -export interface IActivateAccountResultModel { - /** 访问令牌 */ - accessToken: string | undefined; - /** 加密访问令牌 */ - encryptedAccessToken: string | undefined; - /** 过期时间 */ - expireInSeconds: number; - /** 用户编号 */ - userId: string | undefined; -} + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; -/** 激活邮箱输入 */ -export class ActivateEmailInput implements IActivateEmailInput { - /** 用户Id */ - userId: string | undefined; - /** 确认代码 */ - confirmationCode: string | undefined; - /** Encrypted values for {TenantId}, {UserId} and {ConfirmationCode} */ - c: string | undefined; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSaveListViewAsPersonal(_response); + }); + } - constructor(data?: IActivateEmailInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processSaveListViewAsPersonal(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.userId = _data["userId"]; - this.confirmationCode = _data["confirmationCode"]; - this.c = _data["c"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } +} - static fromJS(data: any): ActivateEmailInput { - data = typeof data === 'object' ? data : {}; - let result = new ActivateEmailInput(); - result.init(data); - return result; - } +export class LoginLogsServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["userId"] = this.userId; - data["confirmationCode"] = this.confirmationCode; - data["c"] = this.c; - return data; - } + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - clone(): ActivateEmailInput { - const json = this.toJSON(); - let result = new ActivateEmailInput(); - result.init(json); - return result; } -} -/** 激活邮箱输入 */ -export interface IActivateEmailInput { - /** 用户Id */ - userId: string | undefined; - /** 确认代码 */ - confirmationCode: string | undefined; - /** Encrypted values for {TenantId}, {UserId} and {ConfirmationCode} */ - c: string | undefined; -} + /** + * @param userId (optional) + * @param startTime (optional) + * @param endTime (optional) + * @return Success + */ + getAllOrOneself(userId: string | null | undefined, startTime: moment.Moment | null | undefined, endTime: moment.Moment | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/LoginLogs/GetAllOrOneself?"; + if (userId !== undefined && userId !== null) + url_ += "userId=" + encodeURIComponent("" + userId) + "&"; + if (startTime !== undefined && startTime !== null) + url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&"; + if (endTime !== undefined && endTime !== null) + url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&"; + url_ = url_.replace(/[?&]$/, ""); -/** 激活类型 */ -export enum ActivateType { - NewAccount = "NewAccount", - BindExistAccount = "BindExistAccount", -} + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; -/** 地址 - 区域 */ -export class AddressAreaDto implements IAddressAreaDto { - /** 城市代码 */ - cityCode: string | undefined; - /** 省份代码 */ - provinceCode: string | undefined; - /** 代码 */ - code: string | undefined; - /** 名称 */ - name: string | undefined; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetAllOrOneself(_response); + }); + } - constructor(data?: IAddressAreaDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetAllOrOneself(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = LogEchartDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.cityCode = _data["cityCode"]; - this.provinceCode = _data["provinceCode"]; - this.code = _data["code"]; - this.name = _data["name"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): AddressAreaDto { - data = typeof data === 'object' ? data : {}; - let result = new AddressAreaDto(); - result.init(data); - return result; - } + /** + * @param userName (optional) + * @param startTime (optional) + * @param endTime (optional) + * @param total (optional) + * @param page (optional) + * @return Success + */ + getPageUserLog(userName: string | null | undefined, startTime: moment.Moment | null | undefined, endTime: moment.Moment | null | undefined, total: number | undefined, page: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/LoginLogs/GetPageUserLog?"; + if (userName !== undefined && userName !== null) + url_ += "userName=" + encodeURIComponent("" + userName) + "&"; + if (startTime !== undefined && startTime !== null) + url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&"; + if (endTime !== undefined && endTime !== null) + url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&"; + if (total === null) + throw new Error("The parameter 'total' cannot be null."); + else if (total !== undefined) + url_ += "total=" + encodeURIComponent("" + total) + "&"; + if (page === null) + throw new Error("The parameter 'page' cannot be null."); + else if (page !== undefined) + url_ += "page=" + encodeURIComponent("" + page) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["cityCode"] = this.cityCode; - data["provinceCode"] = this.provinceCode; - data["code"] = this.code; - data["name"] = this.name; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): AddressAreaDto { - const json = this.toJSON(); - let result = new AddressAreaDto(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPageUserLog(_response); + }); } -} - -/** 地址 - 区域 */ -export interface IAddressAreaDto { - /** 城市代码 */ - cityCode: string | undefined; - /** 省份代码 */ - provinceCode: string | undefined; - /** 代码 */ - code: string | undefined; - /** 名称 */ - name: string | undefined; -} - -/** 地址 - 城市 */ -export class AddressCityDto implements IAddressCityDto { - /** 省份代码 */ - provinceCode: string | undefined; - /** 代码 */ - code: string | undefined; - /** 名称 */ - name: string | undefined; - constructor(data?: IAddressCityDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetPageUserLog(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfLoginLogsDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } +} - init(_data?: any) { - if (_data) { - this.provinceCode = _data["provinceCode"]; - this.code = _data["code"]; - this.name = _data["name"]; - } - } +export class MenuServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - static fromJS(data: any): AddressCityDto { - data = typeof data === 'object' ? data : {}; - let result = new AddressCityDto(); - result.init(data); - return result; - } + constructor(baseUrl?: string, instance?: AxiosInstance) { - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["provinceCode"] = this.provinceCode; - data["code"] = this.code; - data["name"] = this.name; - return data; - } + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - clone(): AddressCityDto { - const json = this.toJSON(); - let result = new AddressCityDto(); - result.init(json); - return result; } -} -/** 地址 - 城市 */ -export interface IAddressCityDto { - /** 省份代码 */ - provinceCode: string | undefined; - /** 代码 */ - code: string | undefined; - /** 名称 */ - name: string | undefined; -} + /** + * @param body (optional) + * @return Success + */ + batchDelete(body: string[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Menu/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); -/** 地址枚举 */ -export enum AddressEnum { - Provinces = "Provinces", - Cities = "Cities", - Areas = "Areas", - Streets = "Streets", -} + const content_ = JSON.stringify(body); -/** 地址 - 省份 */ -export class AddressProvincetDto implements IAddressProvincetDto { - /** 代码 */ - code: string | undefined; - /** 名称 */ - name: string | undefined; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; - constructor(data?: IAddressProvincetDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); } - init(_data?: any) { - if (_data) { - this.code = _data["code"]; - this.name = _data["name"]; + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } - - static fromJS(data: any): AddressProvincetDto { - data = typeof data === 'object' ? data : {}; - let result = new AddressProvincetDto(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["code"] = this.code; - data["name"] = this.name; - return data; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - clone(): AddressProvincetDto { - const json = this.toJSON(); - let result = new AddressProvincetDto(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + copyMenu(body: EntityDtoOfGuid | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Menu/CopyMenu"; + url_ = url_.replace(/[?&]$/, ""); -/** 地址 - 省份 */ -export interface IAddressProvincetDto { - /** 代码 */ - code: string | undefined; - /** 名称 */ - name: string | undefined; -} + const content_ = JSON.stringify(body); -/** 地址 - 街道 */ -export class AddressStreetDto implements IAddressStreetDto { - /** 区域code */ - areaCode: string | undefined; - /** 城市代码 */ - cityCode: string | undefined; - /** 省份代码 */ - provinceCode: string | undefined; - /** 代码 */ - code: string | undefined; - /** 名称 */ - name: string | undefined; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; - constructor(data?: IAddressStreetDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processCopyMenu(_response); + }); } - init(_data?: any) { - if (_data) { - this.areaCode = _data["areaCode"]; - this.cityCode = _data["cityCode"]; - this.provinceCode = _data["provinceCode"]; - this.code = _data["code"]; - this.name = _data["name"]; + protected processCopyMenu(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } - - static fromJS(data: any): AddressStreetDto { - data = typeof data === 'object' ? data : {}; - let result = new AddressStreetDto(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["areaCode"] = this.areaCode; - data["cityCode"] = this.cityCode; - data["provinceCode"] = this.provinceCode; - data["code"] = this.code; - data["name"] = this.name; - return data; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - clone(): AddressStreetDto { - const json = this.toJSON(); - let result = new AddressStreetDto(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateMenuInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Menu/CreateOrUpdate"; + url_ = url_.replace(/[?&]$/, ""); -/** 地址 - 街道 */ -export interface IAddressStreetDto { - /** 区域code */ - areaCode: string | undefined; - /** 城市代码 */ - cityCode: string | undefined; - /** 省份代码 */ - provinceCode: string | undefined; - /** 代码 */ - code: string | undefined; - /** 名称 */ - name: string | undefined; -} + const content_ = JSON.stringify(body); -/** 所有联动数据 */ -export class AllAddressLinkage implements IAllAddressLinkage { - /** 省 */ - provinces: AddressProvincetDto[] | undefined; - /** 市 */ - citys: AddressCityDto[] | undefined; - /** 县 */ - areas: AddressAreaDto[] | undefined; - /** 镇 */ - streets: AddressStreetDto[] | undefined; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; - constructor(data?: IAllAddressLinkage) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdate(_response); + }); } - init(_data?: any) { - if (_data) { - if (Array.isArray(_data["provinces"])) { - this.provinces = [] as any; - for (let item of _data["provinces"]) - this.provinces.push(AddressProvincetDto.fromJS(item)); - } - if (Array.isArray(_data["citys"])) { - this.citys = [] as any; - for (let item of _data["citys"]) - this.citys.push(AddressCityDto.fromJS(item)); - } - if (Array.isArray(_data["areas"])) { - this.areas = [] as any; - for (let item of _data["areas"]) - this.areas.push(AddressAreaDto.fromJS(item)); - } - if (Array.isArray(_data["streets"])) { - this.streets = [] as any; - for (let item of _data["streets"]) - this.streets.push(AddressStreetDto.fromJS(item)); + protected processCreateOrUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } - - static fromJS(data: any): AllAddressLinkage { - data = typeof data === 'object' ? data : {}; - let result = new AllAddressLinkage(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.provinces)) { - data["provinces"] = []; - for (let item of this.provinces) - data["provinces"].push(item.toJSON()); - } - if (Array.isArray(this.citys)) { - data["citys"] = []; - for (let item of this.citys) - data["citys"].push(item.toJSON()); - } - if (Array.isArray(this.areas)) { - data["areas"] = []; - for (let item of this.areas) - data["areas"].push(item.toJSON()); - } - if (Array.isArray(this.streets)) { - data["streets"] = []; - for (let item of this.streets) - data["streets"].push(item.toJSON()); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return data; + return Promise.resolve(null as any); } - clone(): AllAddressLinkage { - const json = this.toJSON(); - let result = new AllAddressLinkage(); - result.init(json); - return result; - } -} + /** + * @param tenantId (optional) + * @return Success + */ + createTenantMenu(tenantId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Menu/CreateTenantMenu?"; + if (tenantId !== undefined && tenantId !== null) + url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; + url_ = url_.replace(/[?&]$/, ""); -/** 所有联动数据 */ -export interface IAllAddressLinkage { - /** 省 */ - provinces: AddressProvincetDto[] | undefined; - /** 市 */ - citys: AddressCityDto[] | undefined; - /** 县 */ - areas: AddressAreaDto[] | undefined; - /** 镇 */ - streets: AddressStreetDto[] | undefined; -} + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + }, + cancelToken + }; -/** Apk管理的列表DTO YoyoBoot.ApkManagement.ApkManagement */ -export class ApkManagementEditDto implements IApkManagementEditDto { - /** Id */ - id: string | undefined; - /** 版本 */ - appRevision: string | undefined; - /** 上传路径 */ - fileNamePath: string | undefined; - /** 文件Id */ - sysFileId: string | undefined; - sysFileListDto: SysFileListDto; - /** 最新版本 */ - isNewRevision: boolean; - /** 描述 */ - description: string | undefined; - /** 租户Id */ - tenantId: string | undefined; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateTenantMenu(_response); + }); + } - constructor(data?: IApkManagementEditDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processCreateTenantMenu(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.id = _data["id"]; - this.appRevision = _data["appRevision"]; - this.fileNamePath = _data["fileNamePath"]; - this.sysFileId = _data["sysFileId"]; - this.sysFileListDto = _data["sysFileListDto"] ? SysFileListDto.fromJS(_data["sysFileListDto"]) : undefined; - this.isNewRevision = _data["isNewRevision"]; - this.description = _data["description"]; - this.tenantId = _data["tenantId"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): ApkManagementEditDto { - data = typeof data === 'object' ? data : {}; - let result = new ApkManagementEditDto(); - result.init(data); - return result; - } + /** + * @param id (optional) + * @return Success + */ + delete(id: string | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Menu/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["appRevision"] = this.appRevision; - data["fileNamePath"] = this.fileNamePath; - data["sysFileId"] = this.sysFileId; - data["sysFileListDto"] = this.sysFileListDto ? this.sysFileListDto.toJSON() : undefined; - data["isNewRevision"] = this.isNewRevision; - data["description"] = this.description; - data["tenantId"] = this.tenantId; - return data; - } + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; - clone(): ApkManagementEditDto { - const json = this.toJSON(); - let result = new ApkManagementEditDto(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); } -} - -/** Apk管理的列表DTO YoyoBoot.ApkManagement.ApkManagement */ -export interface IApkManagementEditDto { - /** Id */ - id: string | undefined; - /** 版本 */ - appRevision: string | undefined; - /** 上传路径 */ - fileNamePath: string | undefined; - /** 文件Id */ - sysFileId: string | undefined; - sysFileListDto: SysFileListDto; - /** 最新版本 */ - isNewRevision: boolean; - /** 描述 */ - description: string | undefined; - /** 租户Id */ - tenantId: string | undefined; -} - -/** Apk管理的列表DTO YoyoBoot.ApkManagement.ApkManagement */ -export class ApkManagementListDto implements IApkManagementListDto { - /** 版本 */ - appRevision: string | undefined; - /** 上传路径 */ - fileNamePath: string | undefined; - /** 文件Id */ - sysFileId: string | undefined; - sysFileListDto: SysFileListDto; - /** 最新版本 */ - isNewRevision: boolean; - /** 描述 */ - description: string | undefined; - /** 租户Id */ - tenantId: string | undefined; - isDeleted: boolean; - deleterUserId: string | undefined; - deletionTime: moment.Moment | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string; - constructor(data?: IApkManagementListDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.appRevision = _data["appRevision"]; - this.fileNamePath = _data["fileNamePath"]; - this.sysFileId = _data["sysFileId"]; - this.sysFileListDto = _data["sysFileListDto"] ? SysFileListDto.fromJS(_data["sysFileListDto"]) : undefined; - this.isNewRevision = _data["isNewRevision"]; - this.description = _data["description"]; - this.tenantId = _data["tenantId"]; - this.isDeleted = _data["isDeleted"]; - this.deleterUserId = _data["deleterUserId"]; - this.deletionTime = _data["deletionTime"] ? moment(_data["deletionTime"].toString()) : undefined; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): ApkManagementListDto { - data = typeof data === 'object' ? data : {}; - let result = new ApkManagementListDto(); - result.init(data); - return result; - } + /** + * @return Success + */ + generateSeedDataFile( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Menu/GenerateSeedDataFile"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["appRevision"] = this.appRevision; - data["fileNamePath"] = this.fileNamePath; - data["sysFileId"] = this.sysFileId; - data["sysFileListDto"] = this.sysFileListDto ? this.sysFileListDto.toJSON() : undefined; - data["isNewRevision"] = this.isNewRevision; - data["description"] = this.description; - data["tenantId"] = this.tenantId; - data["isDeleted"] = this.isDeleted; - data["deleterUserId"] = this.deleterUserId; - data["deletionTime"] = this.deletionTime ? this.deletionTime.toISOString() : undefined; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; - return data; + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGenerateSeedDataFile(_response); + }); } - clone(): ApkManagementListDto { - const json = this.toJSON(); - let result = new ApkManagementListDto(); - result.init(json); - return result; + protected processGenerateSeedDataFile(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } -} -/** Apk管理的列表DTO YoyoBoot.ApkManagement.ApkManagement */ -export interface IApkManagementListDto { - /** 版本 */ - appRevision: string | undefined; - /** 上传路径 */ - fileNamePath: string | undefined; - /** 文件Id */ - sysFileId: string | undefined; - sysFileListDto: SysFileListDto; - /** 最新版本 */ - isNewRevision: boolean; - /** 描述 */ - description: string | undefined; - /** 租户Id */ - tenantId: string | undefined; - isDeleted: boolean; - deleterUserId: string | undefined; - deletionTime: moment.Moment | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string; -} + /** + * @param id (optional) + * @return Success + */ + getForEdit(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Menu/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); -/** 应用信息 */ -export class ApplicationInfoDto implements IApplicationInfoDto { - /** 版本 */ - version: string | undefined; - /** 发布日期 */ - releaseDate: moment.Moment; - /** 功能 */ - features: { [key: string]: boolean; } | undefined; + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: IApplicationInfoDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processGetForEdit(_response); + }); } - init(_data?: any) { - if (_data) { - this.version = _data["version"]; - this.releaseDate = _data["releaseDate"] ? moment(_data["releaseDate"].toString()) : undefined; - if (_data["features"]) { - this.features = {} as any; - for (let key in _data["features"]) { - if (_data["features"].hasOwnProperty(key)) - (this.features)[key] = _data["features"][key]; + protected processGetForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; } } } - } - - static fromJS(data: any): ApplicationInfoDto { - data = typeof data === 'object' ? data : {}; - let result = new ApplicationInfoDto(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetMenuForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["version"] = this.version; - data["releaseDate"] = this.releaseDate ? this.releaseDate.toISOString() : undefined; - if (this.features) { - data["features"] = {}; - for (let key in this.features) { - if (this.features.hasOwnProperty(key)) - (data["features"])[key] = (this.features)[key]; - } + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return data; + return Promise.resolve(null as any); } - clone(): ApplicationInfoDto { - const json = this.toJSON(); - let result = new ApplicationInfoDto(); - result.init(json); - return result; - } -} + /** + * @return Success + */ + getList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Menu/GetList"; + url_ = url_.replace(/[?&]$/, ""); -/** 应用信息 */ -export interface IApplicationInfoDto { - /** 版本 */ - version: string | undefined; - /** 发布日期 */ - releaseDate: moment.Moment; - /** 功能 */ - features: { [key: string]: boolean; } | undefined; -} + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; -/** 审计日志列表Dto */ -export class AuditLogListDto implements IAuditLogListDto { - /** 用户Id */ - userId: string | undefined; - /** 用户名 */ - userName: string | undefined; - /** 模拟租户Id */ - impersonatorTenantId: string | undefined; - /** 模拟用户Id */ - impersonatorUserId: string | undefined; - /** 服务名称 */ - serviceName: string | undefined; - /** 方法名称 */ - methodName: string | undefined; - /** 参数 */ - parameters: string | undefined; - /** 执行时间 */ - executionTime: moment.Moment; - /** 持续时间 */ - executionDuration: number; - /** 客户端ip地址 */ - clientIpAddress: string | undefined; - /** 客户端 */ - clientName: string | undefined; - /** 浏览器信息 */ - browserInfo: string | undefined; - /** 异常 */ - exception: string | undefined; - /** 返回值 */ - returnValue: string | undefined; - /** 自定义数据 */ - customData: string | undefined; - id: string | undefined; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetList(_response); + }); + } - constructor(data?: IAuditLogListDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(MenuArgs.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.userId = _data["userId"]; - this.userName = _data["userName"]; - this.impersonatorTenantId = _data["impersonatorTenantId"]; - this.impersonatorUserId = _data["impersonatorUserId"]; - this.serviceName = _data["serviceName"]; - this.methodName = _data["methodName"]; - this.parameters = _data["parameters"]; - this.executionTime = _data["executionTime"] ? moment(_data["executionTime"].toString()) : undefined; - this.executionDuration = _data["executionDuration"]; - this.clientIpAddress = _data["clientIpAddress"]; - this.clientName = _data["clientName"]; - this.browserInfo = _data["browserInfo"]; - this.exception = _data["exception"]; - this.returnValue = _data["returnValue"]; - this.customData = _data["customData"]; - this.id = _data["id"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): AuditLogListDto { - data = typeof data === 'object' ? data : {}; - let result = new AuditLogListDto(); - result.init(data); - return result; - } + /** + * @param filterText (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) + * @return Success + */ + getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Menu/GetPaged?"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["userId"] = this.userId; - data["userName"] = this.userName; - data["impersonatorTenantId"] = this.impersonatorTenantId; - data["impersonatorUserId"] = this.impersonatorUserId; - data["serviceName"] = this.serviceName; - data["methodName"] = this.methodName; - data["parameters"] = this.parameters; - data["executionTime"] = this.executionTime ? this.executionTime.toISOString() : undefined; - data["executionDuration"] = this.executionDuration; - data["clientIpAddress"] = this.clientIpAddress; - data["clientName"] = this.clientName; - data["browserInfo"] = this.browserInfo; - data["exception"] = this.exception; - data["returnValue"] = this.returnValue; - data["customData"] = this.customData; - data["id"] = this.id; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): AuditLogListDto { - const json = this.toJSON(); - let result = new AuditLogListDto(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); } -} - -/** 审计日志列表Dto */ -export interface IAuditLogListDto { - /** 用户Id */ - userId: string | undefined; - /** 用户名 */ - userName: string | undefined; - /** 模拟租户Id */ - impersonatorTenantId: string | undefined; - /** 模拟用户Id */ - impersonatorUserId: string | undefined; - /** 服务名称 */ - serviceName: string | undefined; - /** 方法名称 */ - methodName: string | undefined; - /** 参数 */ - parameters: string | undefined; - /** 执行时间 */ - executionTime: moment.Moment; - /** 持续时间 */ - executionDuration: number; - /** 客户端ip地址 */ - clientIpAddress: string | undefined; - /** 客户端 */ - clientName: string | undefined; - /** 浏览器信息 */ - browserInfo: string | undefined; - /** 异常 */ - exception: string | undefined; - /** 返回值 */ - returnValue: string | undefined; - /** 自定义数据 */ - customData: string | undefined; - id: string | undefined; -} - -/** 鉴权模型 */ -export class AuthenticateModel implements IAuthenticateModel { - /** 用户名或邮箱地址 */ - userNameOrEmailAddress: string; - /** 密码 */ - password: string; - /** 验证码 */ - verificationCode: string | undefined; - /** 记住连接 */ - rememberClient: boolean; - /** 返回Url */ - returnUrl: string | undefined; - /** 授权提供者 */ - authProvider: string | undefined; - /** 提供方密钥 */ - providerKey: string | undefined; - /** 客户端,PC,App */ - clientType: string | undefined; - /** PDA租户名称 */ - pdaTenantName: string | undefined; - constructor(data?: IAuthenticateModel) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfMenuListDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.userNameOrEmailAddress = _data["userNameOrEmailAddress"]; - this.password = _data["password"]; - this.verificationCode = _data["verificationCode"]; - this.rememberClient = _data["rememberClient"]; - this.returnUrl = _data["returnUrl"]; - this.authProvider = _data["authProvider"]; - this.providerKey = _data["providerKey"]; - this.clientType = _data["clientType"]; - this.pdaTenantName = _data["pdaTenantName"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } +} - static fromJS(data: any): AuthenticateModel { - data = typeof data === 'object' ? data : {}; - let result = new AuthenticateModel(); - result.init(data); - return result; - } +export class MessageConfigServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["userNameOrEmailAddress"] = this.userNameOrEmailAddress; - data["password"] = this.password; - data["verificationCode"] = this.verificationCode; - data["rememberClient"] = this.rememberClient; - data["returnUrl"] = this.returnUrl; - data["authProvider"] = this.authProvider; - data["providerKey"] = this.providerKey; - data["clientType"] = this.clientType; - data["pdaTenantName"] = this.pdaTenantName; - return data; - } + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - clone(): AuthenticateModel { - const json = this.toJSON(); - let result = new AuthenticateModel(); - result.init(json); - return result; } -} -/** 鉴权模型 */ -export interface IAuthenticateModel { - /** 用户名或邮箱地址 */ - userNameOrEmailAddress: string; - /** 密码 */ - password: string; - /** 验证码 */ - verificationCode: string | undefined; - /** 记住连接 */ - rememberClient: boolean; - /** 返回Url */ - returnUrl: string | undefined; - /** 授权提供者 */ - authProvider: string | undefined; - /** 提供方密钥 */ - providerKey: string | undefined; - /** 客户端,PC,App */ - clientType: string | undefined; - /** PDA租户名称 */ - pdaTenantName: string | undefined; -} + /** + * @param body (optional) + * @return Success + */ + batchDelete(body: string[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageConfig/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); -/** 鉴权结果模型 */ -export class AuthenticateResultModel implements IAuthenticateResultModel { - /** 访问令牌 */ - accessToken: string | undefined; - /** 加密访问令牌 */ - encryptedAccessToken: string | undefined; - /** 刷新令牌 */ - refreshToken: string | undefined; - /** 过期时间 */ - expireInSeconds: number; - /** 用户编号 */ - userId: string | undefined; - /** 是否需要重置密码 */ - shouldResetPassword: boolean; - /** 密码重置代码 */ - passwordResetCode: string | undefined; - /** 刷新令牌过期时间 */ - refreshTokenExpireInSeconds: number; - /** 登录成功后的跳转地址。 */ - returnUrl: string | undefined; - /** 是否需要进行账号绑定激活。 */ - waitingForActivation: boolean; + const content_ = JSON.stringify(body); - constructor(data?: IAuthenticateResultModel) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); } - init(_data?: any) { - if (_data) { - this.accessToken = _data["accessToken"]; - this.encryptedAccessToken = _data["encryptedAccessToken"]; - this.refreshToken = _data["refreshToken"]; - this.expireInSeconds = _data["expireInSeconds"]; - this.userId = _data["userId"]; - this.shouldResetPassword = _data["shouldResetPassword"]; - this.passwordResetCode = _data["passwordResetCode"]; - this.refreshTokenExpireInSeconds = _data["refreshTokenExpireInSeconds"]; - this.returnUrl = _data["returnUrl"]; - this.waitingForActivation = _data["waitingForActivation"]; + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - static fromJS(data: any): AuthenticateResultModel { - data = typeof data === 'object' ? data : {}; - let result = new AuthenticateResultModel(); - result.init(data); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["accessToken"] = this.accessToken; - data["encryptedAccessToken"] = this.encryptedAccessToken; - data["refreshToken"] = this.refreshToken; - data["expireInSeconds"] = this.expireInSeconds; - data["userId"] = this.userId; - data["shouldResetPassword"] = this.shouldResetPassword; - data["passwordResetCode"] = this.passwordResetCode; - data["refreshTokenExpireInSeconds"] = this.refreshTokenExpireInSeconds; - data["returnUrl"] = this.returnUrl; - data["waitingForActivation"] = this.waitingForActivation; - return data; - } + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateMessageConfigInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageConfig/CreateOrUpdate"; + url_ = url_.replace(/[?&]$/, ""); - clone(): AuthenticateResultModel { - const json = this.toJSON(); - let result = new AuthenticateResultModel(); - result.init(json); - return result; - } -} + const content_ = JSON.stringify(body); -/** 鉴权结果模型 */ -export interface IAuthenticateResultModel { - /** 访问令牌 */ - accessToken: string | undefined; - /** 加密访问令牌 */ - encryptedAccessToken: string | undefined; - /** 刷新令牌 */ - refreshToken: string | undefined; - /** 过期时间 */ - expireInSeconds: number; - /** 用户编号 */ - userId: string | undefined; - /** 是否需要重置密码 */ - shouldResetPassword: boolean; - /** 密码重置代码 */ - passwordResetCode: string | undefined; - /** 刷新令牌过期时间 */ - refreshTokenExpireInSeconds: number; - /** 登录成功后的跳转地址。 */ - returnUrl: string | undefined; - /** 是否需要进行账号绑定激活。 */ - waitingForActivation: boolean; -} + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; -/** 大批量数据列表 */ -export class BigDataListDto implements IBigDataListDto { - /** 编码 */ - code: string | undefined; - /** 名称 */ - name: string | undefined; - /** 创建时间 */ - createTime: moment.Moment; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdate(_response); + }); + } - constructor(data?: IBigDataListDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processCreateOrUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.code = _data["code"]; - this.name = _data["name"]; - this.createTime = _data["createTime"] ? moment(_data["createTime"].toString()) : undefined; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): BigDataListDto { - data = typeof data === 'object' ? data : {}; - let result = new BigDataListDto(); - result.init(data); - return result; - } + /** + * @param id (optional) + * @return Success + */ + delete(id: string | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageConfig/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["code"] = this.code; - data["name"] = this.name; - data["createTime"] = this.createTime ? this.createTime.toISOString() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; - clone(): BigDataListDto { - const json = this.toJSON(); - let result = new BigDataListDto(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); } -} -/** 大批量数据列表 */ -export interface IBigDataListDto { - /** 编码 */ - code: string | undefined; - /** 名称 */ - name: string | undefined; - /** 创建时间 */ - createTime: moment.Moment; -} - -/** 锁定用户 */ -export class BlockUserInput implements IBlockUserInput { - /** 用户Id */ - userId: string | undefined; - /** 租户Id */ - tenantId: string | undefined; - - constructor(data?: IBlockUserInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.userId = _data["userId"]; - this.tenantId = _data["tenantId"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): BlockUserInput { - data = typeof data === 'object' ? data : {}; - let result = new BlockUserInput(); - result.init(data); - return result; - } + /** + * @return Success + */ + getAll(channelType: _definitions_PushChannelType, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageConfig/GetAll?"; + if (channelType === undefined || channelType === null) + throw new Error("The parameter 'channelType' must be defined and cannot be null."); + else + url_ += "channelType=" + encodeURIComponent("" + channelType) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["userId"] = this.userId; - data["tenantId"] = this.tenantId; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): BlockUserInput { - const json = this.toJSON(); - let result = new BlockUserInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetAll(_response); + }); } -} - -/** 锁定用户 */ -export interface IBlockUserInput { - /** 用户Id */ - userId: string | undefined; - /** 租户Id */ - tenantId: string | undefined; -} - -/** 按钮配置 */ -export class ButtonConfigs implements IButtonConfigs { - /** 排序 */ - sortNum: number | undefined; - /** 按钮类型 primary | ghost | dashed | link | text | default */ - type: string | undefined; - /** 类名 primary */ - className: string | undefined; - /** 事件类型,内置 add,update,delete */ - eventName: string | undefined; - /** 图标 iconfont symbol */ - icon: string | undefined; - /** 设置按钮形状default | circle | round */ - shape: string | undefined; - /** 设置按钮大小 large | middle | small */ - size: string | undefined; - /** 设置按钮宽度 px */ - width: number | undefined; - /** 设置按钮名称 多语言key */ - title: string | undefined; - /** 设置按钮权限 */ - acl: string | undefined; - /** 设置按钮字体颜色 */ - color: string | undefined; - /** 设置按钮背景颜色 */ - bgColor: string | undefined; - /** 设置按钮靠左靠右 right | left */ - position: string | undefined; - /** 设置是否禁用true:禁用 | false:不禁用 */ - disable: boolean | undefined; - constructor(data?: IButtonConfigs) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetAll(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(MessageConfigListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.sortNum = _data["sortNum"]; - this.type = _data["type"]; - this.className = _data["className"]; - this.eventName = _data["eventName"]; - this.icon = _data["icon"]; - this.shape = _data["shape"]; - this.size = _data["size"]; - this.width = _data["width"]; - this.title = _data["title"]; - this.acl = _data["acl"]; - this.color = _data["color"]; - this.bgColor = _data["bgColor"]; - this.position = _data["position"]; - this.disable = _data["disable"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): ButtonConfigs { - data = typeof data === 'object' ? data : {}; - let result = new ButtonConfigs(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["sortNum"] = this.sortNum; - data["type"] = this.type; - data["className"] = this.className; - data["eventName"] = this.eventName; - data["icon"] = this.icon; - data["shape"] = this.shape; - data["size"] = this.size; - data["width"] = this.width; - data["title"] = this.title; - data["acl"] = this.acl; - data["color"] = this.color; - data["bgColor"] = this.bgColor; - data["position"] = this.position; - data["disable"] = this.disable; - return data; - } - - clone(): ButtonConfigs { - const json = this.toJSON(); - let result = new ButtonConfigs(); - result.init(json); - return result; - } -} - -/** 按钮配置 */ -export interface IButtonConfigs { - /** 排序 */ - sortNum: number | undefined; - /** 按钮类型 primary | ghost | dashed | link | text | default */ - type: string | undefined; - /** 类名 primary */ - className: string | undefined; - /** 事件类型,内置 add,update,delete */ - eventName: string | undefined; - /** 图标 iconfont symbol */ - icon: string | undefined; - /** 设置按钮形状default | circle | round */ - shape: string | undefined; - /** 设置按钮大小 large | middle | small */ - size: string | undefined; - /** 设置按钮宽度 px */ - width: number | undefined; - /** 设置按钮名称 多语言key */ - title: string | undefined; - /** 设置按钮权限 */ - acl: string | undefined; - /** 设置按钮字体颜色 */ - color: string | undefined; - /** 设置按钮背景颜色 */ - bgColor: string | undefined; - /** 设置按钮靠左靠右 right | left */ - position: string | undefined; - /** 设置是否禁用true:禁用 | false:不禁用 */ - disable: boolean | undefined; -} + /** + * @param id (optional) + * @return Success + */ + getById(id: string | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageConfig/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); -/** 按钮组Dto */ -export class ButtonGroupsDto implements IButtonGroupsDto { - /** 按钮配置集合 -YoyoBoot.ButtonGroups.Dtos.ButtonGroupsDto.ButtonConfigs */ - buttonConfigs: ButtonConfigs[] | undefined; + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: IButtonGroupsDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processGetById(_response); + }); } - init(_data?: any) { - if (_data) { - if (Array.isArray(_data["buttonConfigs"])) { - this.buttonConfigs = [] as any; - for (let item of _data["buttonConfigs"]) - this.buttonConfigs.push(ButtonConfigs.fromJS(item)); + protected processGetById(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } - - static fromJS(data: any): ButtonGroupsDto { - data = typeof data === 'object' ? data : {}; - let result = new ButtonGroupsDto(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = MessageConfigListDto.fromJS(resultData200); + return Promise.resolve(result200); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.buttonConfigs)) { - data["buttonConfigs"] = []; - for (let item of this.buttonConfigs) - data["buttonConfigs"].push(item.toJSON()); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return data; - } - - clone(): ButtonGroupsDto { - const json = this.toJSON(); - let result = new ButtonGroupsDto(); - result.init(json); - return result; + return Promise.resolve(null as any); } -} -/** 按钮组Dto */ -export interface IButtonGroupsDto { - /** 按钮配置集合 -YoyoBoot.ButtonGroups.Dtos.ButtonGroupsDto.ButtonConfigs */ - buttonConfigs: ButtonConfigs[] | undefined; -} + /** + * @param id (optional) + * @return Success + */ + getForEdit(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageConfig/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); -/** 验证码配置的设置信息 */ -export class CaptchaConfigSetting implements ICaptchaConfigSetting { - /** 启用租户注册验证码 */ - useCaptchaOnTenantRegistration: boolean; - configCaptchaOnTenantType: ValidateCodeType; - /** 配置租户验证码长度 */ - configCaptchaOnTenantLength: number; - configCaptchaOnUserType: ValidateCodeType; - /** 用户验证码长度 */ - configCaptchaOnUserLength: number; - /** 启用注册验证码 */ - useCaptchaOnUserRegistration: boolean; - /** 启用登陆验证码 */ - useCaptchaOnUserLogin: boolean; - /** 启用忘记密码验证码 */ - useCaptchaOnUserForgotPassword: boolean; + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: ICaptchaConfigSetting) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processGetForEdit(_response); + }); } - init(_data?: any) { - if (_data) { - this.useCaptchaOnTenantRegistration = _data["useCaptchaOnTenantRegistration"]; - this.configCaptchaOnTenantType = _data["configCaptchaOnTenantType"]; - this.configCaptchaOnTenantLength = _data["configCaptchaOnTenantLength"]; - this.configCaptchaOnUserType = _data["configCaptchaOnUserType"]; - this.configCaptchaOnUserLength = _data["configCaptchaOnUserLength"]; - this.useCaptchaOnUserRegistration = _data["useCaptchaOnUserRegistration"]; - this.useCaptchaOnUserLogin = _data["useCaptchaOnUserLogin"]; - this.useCaptchaOnUserForgotPassword = _data["useCaptchaOnUserForgotPassword"]; + protected processGetForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetMessageConfigForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); - static fromJS(data: any): CaptchaConfigSetting { - data = typeof data === 'object' ? data : {}; - let result = new CaptchaConfigSetting(); - result.init(data); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["useCaptchaOnTenantRegistration"] = this.useCaptchaOnTenantRegistration; - data["configCaptchaOnTenantType"] = this.configCaptchaOnTenantType; - data["configCaptchaOnTenantLength"] = this.configCaptchaOnTenantLength; - data["configCaptchaOnUserType"] = this.configCaptchaOnUserType; - data["configCaptchaOnUserLength"] = this.configCaptchaOnUserLength; - data["useCaptchaOnUserRegistration"] = this.useCaptchaOnUserRegistration; - data["useCaptchaOnUserLogin"] = this.useCaptchaOnUserLogin; - data["useCaptchaOnUserForgotPassword"] = this.useCaptchaOnUserForgotPassword; - return data; - } - - clone(): CaptchaConfigSetting { - const json = this.toJSON(); - let result = new CaptchaConfigSetting(); - result.init(json); - return result; - } -} - -/** 验证码配置的设置信息 */ -export interface ICaptchaConfigSetting { - /** 启用租户注册验证码 */ - useCaptchaOnTenantRegistration: boolean; - configCaptchaOnTenantType: ValidateCodeType; - /** 配置租户验证码长度 */ - configCaptchaOnTenantLength: number; - configCaptchaOnUserType: ValidateCodeType; - /** 用户验证码长度 */ - configCaptchaOnUserLength: number; - /** 启用注册验证码 */ - useCaptchaOnUserRegistration: boolean; - /** 启用登陆验证码 */ - useCaptchaOnUserLogin: boolean; - /** 启用忘记密码验证码 */ - useCaptchaOnUserForgotPassword: boolean; -} + /** + * @param filterText (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) + * @return Success + */ + getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageConfig/GetPaged?"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); -/** 修改密码输入 */ -export class ChangePasswordInput implements IChangePasswordInput { - /** 当前密码 */ - currentPassword: string; - /** 新密码 */ - newPassword: string; + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: IChangePasswordInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); } - init(_data?: any) { - if (_data) { - this.currentPassword = _data["currentPassword"]; - this.newPassword = _data["newPassword"]; + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } - - static fromJS(data: any): ChangePasswordInput { - data = typeof data === 'object' ? data : {}; - let result = new ChangePasswordInput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["currentPassword"] = this.currentPassword; - data["newPassword"] = this.newPassword; - return data; - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfMessageConfigListDto.fromJS(resultData200); + return Promise.resolve(result200); - clone(): ChangePasswordInput { - const json = this.toJSON(); - let result = new ChangePasswordInput(); - result.init(json); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } } -/** 修改密码输入 */ -export interface IChangePasswordInput { - /** 当前密码 */ - currentPassword: string; - /** 新密码 */ - newPassword: string; -} - -/** 修改用户语言 */ -export class ChangeUserLanguageDto implements IChangeUserLanguageDto { - /** 语言名称 */ - languageName: string; +export class MessageRecordServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - constructor(data?: IChangeUserLanguageDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } - } - } + constructor(baseUrl?: string, instance?: AxiosInstance) { - init(_data?: any) { - if (_data) { - this.languageName = _data["languageName"]; - } - } + this.instance = instance ? instance : axios.create(); - static fromJS(data: any): ChangeUserLanguageDto { - data = typeof data === 'object' ? data : {}; - let result = new ChangeUserLanguageDto(); - result.init(data); - return result; - } + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["languageName"] = this.languageName; - return data; } - clone(): ChangeUserLanguageDto { - const json = this.toJSON(); - let result = new ChangeUserLanguageDto(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + getPaged(body: GetMessageRecordInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageRecord/GetPaged"; + url_ = url_.replace(/[?&]$/, ""); -/** 修改用户语言 */ -export interface IChangeUserLanguageDto { - /** 语言名称 */ - languageName: string; -} + const content_ = JSON.stringify(body); -/** 图表日期间隔 */ -export enum ChartDateInterval { - Daily = "Daily", - Weekly = "Weekly", - Monthly = "Monthly", -} + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; -/** 聊天信息接口 */ -export class ChatMessageDto implements IChatMessageDto { - /** 用户Id */ - userId: string | undefined; - /** 租户Id */ - tenantId: string | undefined; - /** 目标用户Id */ - targetUserId: string | undefined; - /** 目标租户Id */ - targetTenantId: string | undefined; - /** 聊天角色 */ - side: number; - readState: ChatMessageReadState; - receiverReadState: ChatMessageReadState; - /** 信息 */ - message: string | undefined; - /** 创建时间 */ - creationTime: moment.Moment; - /** 分享信息Id */ - sharedMessageId: string | undefined; - id: string | undefined; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); + } - constructor(data?: IChatMessageDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfMessageRecordListDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.userId = _data["userId"]; - this.tenantId = _data["tenantId"]; - this.targetUserId = _data["targetUserId"]; - this.targetTenantId = _data["targetTenantId"]; - this.side = _data["side"]; - this.readState = _data["readState"]; - this.receiverReadState = _data["receiverReadState"]; - this.message = _data["message"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.sharedMessageId = _data["sharedMessageId"]; - this.id = _data["id"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } +} - static fromJS(data: any): ChatMessageDto { - data = typeof data === 'object' ? data : {}; - let result = new ChatMessageDto(); - result.init(data); - return result; - } +export class MessageRuleServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["userId"] = this.userId; - data["tenantId"] = this.tenantId; - data["targetUserId"] = this.targetUserId; - data["targetTenantId"] = this.targetTenantId; - data["side"] = this.side; - data["readState"] = this.readState; - data["receiverReadState"] = this.receiverReadState; - data["message"] = this.message; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["sharedMessageId"] = this.sharedMessageId; - data["id"] = this.id; - return data; - } + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - clone(): ChatMessageDto { - const json = this.toJSON(); - let result = new ChatMessageDto(); - result.init(json); - return result; } -} -/** 聊天信息接口 */ -export interface IChatMessageDto { - /** 用户Id */ - userId: string | undefined; - /** 租户Id */ - tenantId: string | undefined; - /** 目标用户Id */ - targetUserId: string | undefined; - /** 目标租户Id */ - targetTenantId: string | undefined; - /** 聊天角色 */ - side: number; - readState: ChatMessageReadState; - receiverReadState: ChatMessageReadState; - /** 信息 */ - message: string | undefined; - /** 创建时间 */ - creationTime: moment.Moment; - /** 分享信息Id */ - sharedMessageId: string | undefined; - id: string | undefined; -} + /** + * @param body (optional) + * @return Success + */ + batchDelete(body: string[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageRule/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); -export enum ChatMessageReadState { - Unread = "Unread", - Read = "Read", -} + const content_ = JSON.stringify(body); -export class ColumnActionItemDto implements IColumnActionItemDto { - name: string | undefined; - label: string | undefined; - icon: string | undefined; - type: ColumnControl; - acl: string | undefined; - buttons: ColumnActionItemDto[] | undefined; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; - constructor(data?: IColumnActionItemDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); } - init(_data?: any) { - if (_data) { - this.name = _data["name"]; - this.label = _data["label"]; - this.icon = _data["icon"]; - this.type = _data["type"]; - this.acl = _data["acl"]; - if (Array.isArray(_data["buttons"])) { - this.buttons = [] as any; - for (let item of _data["buttons"]) - this.buttons.push(ColumnActionItemDto.fromJS(item)); + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } - - static fromJS(data: any): ColumnActionItemDto { - data = typeof data === 'object' ? data : {}; - let result = new ColumnActionItemDto(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["name"] = this.name; - data["label"] = this.label; - data["icon"] = this.icon; - data["type"] = this.type; - data["acl"] = this.acl; - if (Array.isArray(this.buttons)) { - data["buttons"] = []; - for (let item of this.buttons) - data["buttons"].push(item.toJSON()); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return data; - } - - clone(): ColumnActionItemDto { - const json = this.toJSON(); - let result = new ColumnActionItemDto(); - result.init(json); - return result; + return Promise.resolve(null as any); } -} -export interface IColumnActionItemDto { - name: string | undefined; - label: string | undefined; - icon: string | undefined; - type: ColumnControl; - acl: string | undefined; - buttons: ColumnActionItemDto[] | undefined; -} + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateMessageRuleInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageRule/CreateOrUpdate"; + url_ = url_.replace(/[?&]$/, ""); -export enum ColumnControl { - Button = "Button", - Select = "Select", -} + const content_ = JSON.stringify(body); -export class ColumnItemDto implements IColumnItemDto { - field: string | undefined; - type: string | undefined; - title: string | undefined; - render: string | undefined; - order: number | undefined; - width: number | undefined; - numberDigits: number; - dateFormat: string | undefined; - statistical: ColumnItemStatistical; - fixed: ColumnItemFixed; - actions: ColumnActionItemDto[] | undefined; - acl: string | undefined; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; - constructor(data?: IColumnItemDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdate(_response); + }); } - init(_data?: any) { - if (_data) { - this.field = _data["field"]; - this.type = _data["type"]; - this.title = _data["title"]; - this.render = _data["render"]; - this.order = _data["order"]; - this.width = _data["width"]; - this.numberDigits = _data["numberDigits"]; - this.dateFormat = _data["dateFormat"]; - this.statistical = _data["statistical"]; - this.fixed = _data["fixed"]; - if (Array.isArray(_data["actions"])) { - this.actions = [] as any; - for (let item of _data["actions"]) - this.actions.push(ColumnActionItemDto.fromJS(item)); + protected processCreateOrUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } - this.acl = _data["acl"]; } - } - - static fromJS(data: any): ColumnItemDto { - data = typeof data === 'object' ? data : {}; - let result = new ColumnItemDto(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["field"] = this.field; - data["type"] = this.type; - data["title"] = this.title; - data["render"] = this.render; - data["order"] = this.order; - data["width"] = this.width; - data["numberDigits"] = this.numberDigits; - data["dateFormat"] = this.dateFormat; - data["statistical"] = this.statistical; - data["fixed"] = this.fixed; - if (Array.isArray(this.actions)) { - data["actions"] = []; - for (let item of this.actions) - data["actions"].push(item.toJSON()); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - data["acl"] = this.acl; - return data; + return Promise.resolve(null as any); } - clone(): ColumnItemDto { - const json = this.toJSON(); - let result = new ColumnItemDto(); - result.init(json); - return result; - } -} + /** + * @param id (optional) + * @return Success + */ + delete(id: string | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageRule/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); -export interface IColumnItemDto { - field: string | undefined; - type: string | undefined; - title: string | undefined; - render: string | undefined; - order: number | undefined; - width: number | undefined; - numberDigits: number; - dateFormat: string | undefined; - statistical: ColumnItemStatistical; - fixed: ColumnItemFixed; - actions: ColumnActionItemDto[] | undefined; - acl: string | undefined; -} - -export enum ColumnItemFixed { - None = "None", - Left = "Left", - Right = "Right", -} - -export enum ColumnItemStatistical { - None = "None", - Count = "Count", - DistinctCount = "DistinctCount", - Sum = "Sum", - Average = "Average", - Max = "Max", - Min = "Min", -} + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; -export class ComboboxItemDto implements IComboboxItemDto { - value: string | undefined; - displayText: string | undefined; - isSelected: boolean; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } - constructor(data?: IComboboxItemDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.value = _data["value"]; - this.displayText = _data["displayText"]; - this.isSelected = _data["isSelected"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): ComboboxItemDto { - data = typeof data === 'object' ? data : {}; - let result = new ComboboxItemDto(); - result.init(data); - return result; - } + /** + * @param id (optional) + * @return Success + */ + getById(id: string | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageRule/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["value"] = this.value; - data["displayText"] = this.displayText; - data["isSelected"] = this.isSelected; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): ComboboxItemDto { - const json = this.toJSON(); - let result = new ComboboxItemDto(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetById(_response); + }); } -} - -export interface IComboboxItemDto { - value: string | undefined; - displayText: string | undefined; - isSelected: boolean; -} - -export class ComboboxItemDtoTOfInt32 implements IComboboxItemDtoTOfInt32 { - value: number; - displayText: string | undefined; - isSelected: boolean; - constructor(data?: IComboboxItemDtoTOfInt32) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetById(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = MessageRuleListDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.value = _data["value"]; - this.displayText = _data["displayText"]; - this.isSelected = _data["isSelected"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): ComboboxItemDtoTOfInt32 { - data = typeof data === 'object' ? data : {}; - let result = new ComboboxItemDtoTOfInt32(); - result.init(data); - return result; - } + /** + * @param id (optional) + * @return Success + */ + getForEdit(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageRule/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["value"] = this.value; - data["displayText"] = this.displayText; - data["isSelected"] = this.isSelected; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): ComboboxItemDtoTOfInt32 { - const json = this.toJSON(); - let result = new ComboboxItemDtoTOfInt32(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetForEdit(_response); + }); } -} - -export interface IComboboxItemDtoTOfInt32 { - value: number; - displayText: string | undefined; - isSelected: boolean; -} - -export class ComboboxItemDtoTOfString implements IComboboxItemDtoTOfString { - value: string | undefined; - displayText: string | undefined; - isSelected: boolean; - constructor(data?: IComboboxItemDtoTOfString) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetMessageRuleForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.value = _data["value"]; - this.displayText = _data["displayText"]; - this.isSelected = _data["isSelected"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): ComboboxItemDtoTOfString { - data = typeof data === 'object' ? data : {}; - let result = new ComboboxItemDtoTOfString(); - result.init(data); - return result; - } + /** + * @param filterText (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) + * @return Success + */ + getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageRule/GetPaged?"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["value"] = this.value; - data["displayText"] = this.displayText; - data["isSelected"] = this.isSelected; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): ComboboxItemDtoTOfString { - const json = this.toJSON(); - let result = new ComboboxItemDtoTOfString(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); } -} -export interface IComboboxItemDtoTOfString { - value: string | undefined; - displayText: string | undefined; - isSelected: boolean; -} - -/** 商品导入 */ -export class CommodityImportDto implements ICommodityImportDto { - /** 编号 */ - id: string | undefined; - /** 商品名 */ - commodityName: string | undefined; - /** 商品单价 */ - commodityPrice: number; - /** 商品类型 */ - commodityCategory: string | undefined; - - constructor(data?: ICommodityImportDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfMessageRuleListDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.id = _data["id"]; - this.commodityName = _data["commodityName"]; - this.commodityPrice = _data["commodityPrice"]; - this.commodityCategory = _data["commodityCategory"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CommodityImportDto { - data = typeof data === 'object' ? data : {}; - let result = new CommodityImportDto(); - result.init(data); - return result; - } + /** + * @param ruleName (optional) + * @return Success + */ + sendMessageTest(ruleName: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageRule/SendMessageTest?"; + if (ruleName !== undefined && ruleName !== null) + url_ += "ruleName=" + encodeURIComponent("" + ruleName) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["commodityName"] = this.commodityName; - data["commodityPrice"] = this.commodityPrice; - data["commodityCategory"] = this.commodityCategory; - return data; - } + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CommodityImportDto { - const json = this.toJSON(); - let result = new CommodityImportDto(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSendMessageTest(_response); + }); } -} - -/** 商品导入 */ -export interface ICommodityImportDto { - /** 编号 */ - id: string | undefined; - /** 商品名 */ - commodityName: string | undefined; - /** 商品单价 */ - commodityPrice: number; - /** 商品类型 */ - commodityCategory: string | undefined; -} - -/** 商品列表 */ -export class CommodityListDto implements ICommodityListDto { - /** 编号 */ - id: string | undefined; - /** 商品名称 */ - commodityName: string | undefined; - /** 商品价格 */ - commodityPrice: number; - /** 商品类目 */ - commodityCategory: string | undefined; - constructor(data?: ICommodityListDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processSendMessageTest(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.id = _data["id"]; - this.commodityName = _data["commodityName"]; - this.commodityPrice = _data["commodityPrice"]; - this.commodityCategory = _data["commodityCategory"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } +} - static fromJS(data: any): CommodityListDto { - data = typeof data === 'object' ? data : {}; - let result = new CommodityListDto(); - result.init(data); - return result; - } +export class MessageTemplateServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["commodityName"] = this.commodityName; - data["commodityPrice"] = this.commodityPrice; - data["commodityCategory"] = this.commodityCategory; - return data; - } + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - clone(): CommodityListDto { - const json = this.toJSON(); - let result = new CommodityListDto(); - result.init(json); - return result; } -} -/** 商品列表 */ -export interface ICommodityListDto { - /** 编号 */ - id: string | undefined; - /** 商品名称 */ - commodityName: string | undefined; - /** 商品价格 */ - commodityPrice: number; - /** 商品类目 */ - commodityCategory: string | undefined; -} + /** + * @param body (optional) + * @return Success + */ + batchDelete(body: string[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageTemplate/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); -/** 查找用户输入 */ -export class CommonLookupFindUsersInput implements ICommonLookupFindUsersInput { - /** 租户Id */ - tenantId: string | undefined; - maxResultCount: number; - skipCount: number; - filterText: string | undefined; + const content_ = JSON.stringify(body); - constructor(data?: ICommonLookupFindUsersInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); } - init(_data?: any) { - if (_data) { - this.tenantId = _data["tenantId"]; - this.maxResultCount = _data["maxResultCount"]; - this.skipCount = _data["skipCount"]; - this.filterText = _data["filterText"]; + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - static fromJS(data: any): CommonLookupFindUsersInput { - data = typeof data === 'object' ? data : {}; - let result = new CommonLookupFindUsersInput(); - result.init(data); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["tenantId"] = this.tenantId; - data["maxResultCount"] = this.maxResultCount; - data["skipCount"] = this.skipCount; - data["filterText"] = this.filterText; - return data; - } + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateMessageTemplateInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageTemplate/CreateOrUpdate"; + url_ = url_.replace(/[?&]$/, ""); - clone(): CommonLookupFindUsersInput { - const json = this.toJSON(); - let result = new CommonLookupFindUsersInput(); - result.init(json); - return result; - } -} + const content_ = JSON.stringify(body); -/** 查找用户输入 */ -export interface ICommonLookupFindUsersInput { - /** 租户Id */ - tenantId: string | undefined; - maxResultCount: number; - skipCount: number; - filterText: string | undefined; -} + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; -/** 根据用户名创建好友请求 */ -export class CreateFriendshipRequestByUserNameInput implements ICreateFriendshipRequestByUserNameInput { - /** 租户名 */ - tenancyName: string; - /** 用户名 */ - userName: string | undefined; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdate(_response); + }); + } - constructor(data?: ICreateFriendshipRequestByUserNameInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processCreateOrUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.tenancyName = _data["tenancyName"]; - this.userName = _data["userName"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateFriendshipRequestByUserNameInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateFriendshipRequestByUserNameInput(); - result.init(data); - return result; - } + /** + * @param id (optional) + * @return Success + */ + delete(id: string | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageTemplate/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["tenancyName"] = this.tenancyName; - data["userName"] = this.userName; - return data; - } + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; - clone(): CreateFriendshipRequestByUserNameInput { - const json = this.toJSON(); - let result = new CreateFriendshipRequestByUserNameInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); } -} - -/** 根据用户名创建好友请求 */ -export interface ICreateFriendshipRequestByUserNameInput { - /** 租户名 */ - tenancyName: string; - /** 用户名 */ - userName: string | undefined; -} - -/** 创建好友请求 */ -export class CreateFriendshipRequestInput implements ICreateFriendshipRequestInput { - /** 用户Id */ - userId: string | undefined; - /** 租户Id */ - tenantId: string | undefined; - constructor(data?: ICreateFriendshipRequestInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.userId = _data["userId"]; - this.tenantId = _data["tenantId"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateFriendshipRequestInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateFriendshipRequestInput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["userId"] = this.userId; - data["tenantId"] = this.tenantId; - return data; - } - - clone(): CreateFriendshipRequestInput { - const json = this.toJSON(); - let result = new CreateFriendshipRequestInput(); - result.init(json); - return result; - } -} - -/** 创建好友请求 */ -export interface ICreateFriendshipRequestInput { - /** 用户Id */ - userId: string | undefined; - /** 租户Id */ - tenantId: string | undefined; -} + /** + * @return Success + */ + getAll(channelType: _definitions_PushChannelType, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageTemplate/GetAll?"; + if (channelType === undefined || channelType === null) + throw new Error("The parameter 'channelType' must be defined and cannot be null."); + else + url_ += "channelType=" + encodeURIComponent("" + channelType) + "&"; + url_ = url_.replace(/[?&]$/, ""); -/** 创建或编辑菜单 */ -export class CreateOrEditWechatMenuInput implements ICreateOrEditWechatMenuInput { - /** 应用key */ - appId: string | undefined; - /** 菜单数据结构 */ - menu: MenuFull_RootButton[] | undefined; - matchRule: MenuMatchRule; + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: ICreateOrEditWechatMenuInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processGetAll(_response); + }); } - init(_data?: any) { - if (_data) { - this.appId = _data["appId"]; - if (Array.isArray(_data["menu"])) { - this.menu = [] as any; - for (let item of _data["menu"]) - this.menu.push(MenuFull_RootButton.fromJS(item)); + protected processGetAll(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } - this.matchRule = _data["matchRule"] ? MenuMatchRule.fromJS(_data["matchRule"]) : undefined; } - } - - static fromJS(data: any): CreateOrEditWechatMenuInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrEditWechatMenuInput(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(MessageTemplateListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["appId"] = this.appId; - if (Array.isArray(this.menu)) { - data["menu"] = []; - for (let item of this.menu) - data["menu"].push(item.toJSON()); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - data["matchRule"] = this.matchRule ? this.matchRule.toJSON() : undefined; - return data; + return Promise.resolve(null as any); } - clone(): CreateOrEditWechatMenuInput { - const json = this.toJSON(); - let result = new CreateOrEditWechatMenuInput(); - result.init(json); - return result; - } -} + /** + * @param id (optional) + * @return Success + */ + getById(id: string | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageTemplate/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); -/** 创建或编辑菜单 */ -export interface ICreateOrEditWechatMenuInput { - /** 应用key */ - appId: string | undefined; - /** 菜单数据结构 */ - menu: MenuFull_RootButton[] | undefined; - matchRule: MenuMatchRule; -} + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; -/** 创建APK输入Dto */ -export class CreateOrUpdateApkManagementInput implements ICreateOrUpdateApkManagementInput { - apkManagement: ApkManagementEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetById(_response); + }); + } - constructor(data?: ICreateOrUpdateApkManagementInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetById(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.apkManagement = new ApkManagementEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = MessageTemplateListDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.apkManagement = _data["apkManagement"] ? ApkManagementEditDto.fromJS(_data["apkManagement"]) : new ApkManagementEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateApkManagementInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateApkManagementInput(); - result.init(data); - return result; - } + /** + * @param id (optional) + * @return Success + */ + getForEdit(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageTemplate/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["apkManagement"] = this.apkManagement ? this.apkManagement.toJSON() : undefined; - return data; + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetForEdit(_response); + }); } - clone(): CreateOrUpdateApkManagementInput { - const json = this.toJSON(); - let result = new CreateOrUpdateApkManagementInput(); - result.init(json); - return result; + protected processGetForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetMessageTemplateForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } -} -/** 创建APK输入Dto */ -export interface ICreateOrUpdateApkManagementInput { - apkManagement: ApkManagementEditDto; -} + /** + * @param filterText (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) + * @return Success + */ + getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/MessageTemplate/GetPaged?"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); -/** 创建或更新版本 */ -export class CreateOrUpdateEditionDto implements ICreateOrUpdateEditionDto { - edition: EditionEditDto; - /** 功能 */ - featureValues: NameValueDto[]; + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateEditionDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.edition = new EditionEditDto(); - this.featureValues = []; - } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); } - init(_data?: any) { - if (_data) { - this.edition = _data["edition"] ? EditionEditDto.fromJS(_data["edition"]) : new EditionEditDto(); - if (Array.isArray(_data["featureValues"])) { - this.featureValues = [] as any; - for (let item of _data["featureValues"]) - this.featureValues.push(NameValueDto.fromJS(item)); + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfMessageTemplateListDto.fromJS(resultData200); + return Promise.resolve(result200); - static fromJS(data: any): CreateOrUpdateEditionDto { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateEditionDto(); - result.init(data); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } +} - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["edition"] = this.edition ? this.edition.toJSON() : undefined; - if (Array.isArray(this.featureValues)) { - data["featureValues"] = []; - for (let item of this.featureValues) - data["featureValues"].push(item.toJSON()); - } - return data; - } - - clone(): CreateOrUpdateEditionDto { - const json = this.toJSON(); - let result = new CreateOrUpdateEditionDto(); - result.init(json); - return result; - } -} +export class NotificationServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; -/** 创建或更新版本 */ -export interface ICreateOrUpdateEditionDto { - edition: EditionEditDto; - /** 功能 */ - featureValues: NameValueDto[]; -} + constructor(baseUrl?: string, instance?: AxiosInstance) { -export class CreateOrUpdateFileInput implements ICreateOrUpdateFileInput { - fileDto: FileEditDto; + this.instance = instance ? instance : axios.create(); - constructor(data?: ICreateOrUpdateFileInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } - } - if (!data) { - this.fileDto = new FileEditDto(); - } - } + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - init(_data?: any) { - if (_data) { - this.fileDto = _data["fileDto"] ? FileEditDto.fromJS(_data["fileDto"]) : new FileEditDto(); - } } - static fromJS(data: any): CreateOrUpdateFileInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateFileInput(); - result.init(data); - return result; - } + /** + * @param id (optional) + * @return Success + */ + deleteNotification(id: string | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Notification/DeleteNotification?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["fileDto"] = this.fileDto ? this.fileDto.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; - clone(): CreateOrUpdateFileInput { - const json = this.toJSON(); - let result = new CreateOrUpdateFileInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDeleteNotification(_response); + }); } -} - -export interface ICreateOrUpdateFileInput { - fileDto: FileEditDto; -} - -export class CreateOrUpdateIcsCheckGroupInput implements ICreateOrUpdateIcsCheckGroupInput { - icsCheckGroup: IcsCheckGroupEditDto; - constructor(data?: ICreateOrUpdateIcsCheckGroupInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processDeleteNotification(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsCheckGroup = new IcsCheckGroupEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.icsCheckGroup = _data["icsCheckGroup"] ? IcsCheckGroupEditDto.fromJS(_data["icsCheckGroup"]) : new IcsCheckGroupEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsCheckGroupInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsCheckGroupInput(); - result.init(data); - return result; - } + /** + * @return Success + */ + getNotificationSettings( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Notification/GetNotificationSettings"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsCheckGroup"] = this.icsCheckGroup ? this.icsCheckGroup.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CreateOrUpdateIcsCheckGroupInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsCheckGroupInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetNotificationSettings(_response); + }); } -} -export interface ICreateOrUpdateIcsCheckGroupInput { - icsCheckGroup: IcsCheckGroupEditDto; -} - -export class CreateOrUpdateIcsCheckItemInput implements ICreateOrUpdateIcsCheckItemInput { - icsCheckItem: IcsCheckItemEditDto; - - constructor(data?: ICreateOrUpdateIcsCheckItemInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetNotificationSettings(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsCheckItem = new IcsCheckItemEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetNotificationSettingsOutput.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsCheckItem = _data["icsCheckItem"] ? IcsCheckItemEditDto.fromJS(_data["icsCheckItem"]) : new IcsCheckItemEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsCheckItemInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsCheckItemInput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsCheckItem"] = this.icsCheckItem ? this.icsCheckItem.toJSON() : undefined; - return data; - } + /** + * @param body (optional) + * @return Success + */ + getPagedUserNotifications(body: GetUserNotificationsInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Notification/GetPagedUserNotifications"; + url_ = url_.replace(/[?&]$/, ""); - clone(): CreateOrUpdateIcsCheckItemInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsCheckItemInput(); - result.init(json); - return result; - } -} + const content_ = JSON.stringify(body); -export interface ICreateOrUpdateIcsCheckItemInput { - icsCheckItem: IcsCheckItemEditDto; -} + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; -export class CreateOrUpdateIcsCrewInput implements ICreateOrUpdateIcsCrewInput { - icsCrew: IcsCrewEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPagedUserNotifications(_response); + }); + } - constructor(data?: ICreateOrUpdateIcsCrewInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetPagedUserNotifications(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsCrew = new IcsCrewEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetNotificationsOutput.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsCrew = _data["icsCrew"] ? IcsCrewEditDto.fromJS(_data["icsCrew"]) : new IcsCrewEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsCrewInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsCrewInput(); - result.init(data); - return result; - } + /** + * @return Success + */ + makeAllUserNotificationsAsRead( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Notification/MakeAllUserNotificationsAsRead"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsCrew"] = this.icsCrew ? this.icsCrew.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + }, + cancelToken + }; - clone(): CreateOrUpdateIcsCrewInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsCrewInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processMakeAllUserNotificationsAsRead(_response); + }); } -} - -export interface ICreateOrUpdateIcsCrewInput { - icsCrew: IcsCrewEditDto; -} -export class CreateOrUpdateIcsDctInput implements ICreateOrUpdateIcsDctInput { - icsDct: IcsDctEditDto; - - constructor(data?: ICreateOrUpdateIcsDctInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processMakeAllUserNotificationsAsRead(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsDct = new IcsDctEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.icsDct = _data["icsDct"] ? IcsDctEditDto.fromJS(_data["icsDct"]) : new IcsDctEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsDctInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsDctInput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsDct"] = this.icsDct ? this.icsDct.toJSON() : undefined; - return data; - } + /** + * @param body (optional) + * @return Success + */ + makeNotificationAsRead(body: EntityDtoOfGuid | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Notification/MakeNotificationAsRead"; + url_ = url_.replace(/[?&]$/, ""); - clone(): CreateOrUpdateIcsDctInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsDctInput(); - result.init(json); - return result; - } -} + const content_ = JSON.stringify(body); -export interface ICreateOrUpdateIcsDctInput { - icsDct: IcsDctEditDto; -} + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; -export class CreateOrUpdateIcsDutyInput implements ICreateOrUpdateIcsDutyInput { - icsDuty: IcsDutyEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processMakeNotificationAsRead(_response); + }); + } - constructor(data?: ICreateOrUpdateIcsDutyInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processMakeNotificationAsRead(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsDuty = new IcsDutyEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.icsDuty = _data["icsDuty"] ? IcsDutyEditDto.fromJS(_data["icsDuty"]) : new IcsDutyEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsDutyInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsDutyInput(); - result.init(data); - return result; - } + /** + * @param msg (optional) + * @param tenantId (optional) + * @param userId (optional) + * @return Success + */ + sendNoticeToUser(msg: string | null | undefined, tenantId: string | null | undefined, userId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Notification/SendNoticeToUser?"; + if (msg !== undefined && msg !== null) + url_ += "msg=" + encodeURIComponent("" + msg) + "&"; + if (tenantId !== undefined && tenantId !== null) + url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; + if (userId !== undefined && userId !== null) + url_ += "userId=" + encodeURIComponent("" + userId) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsDuty"] = this.icsDuty ? this.icsDuty.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + }, + cancelToken + }; - clone(): CreateOrUpdateIcsDutyInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsDutyInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSendNoticeToUser(_response); + }); } -} - -export interface ICreateOrUpdateIcsDutyInput { - icsDuty: IcsDutyEditDto; -} - -export class CreateOrUpdateIcsDynamicColumnConfigInput implements ICreateOrUpdateIcsDynamicColumnConfigInput { - icsDynamicColumnConfig: IcsDynamicColumnConfigEditDto; - constructor(data?: ICreateOrUpdateIcsDynamicColumnConfigInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processSendNoticeToUser(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsDynamicColumnConfig = new IcsDynamicColumnConfigEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.icsDynamicColumnConfig = _data["icsDynamicColumnConfig"] ? IcsDynamicColumnConfigEditDto.fromJS(_data["icsDynamicColumnConfig"]) : new IcsDynamicColumnConfigEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsDynamicColumnConfigInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsDynamicColumnConfigInput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsDynamicColumnConfig"] = this.icsDynamicColumnConfig ? this.icsDynamicColumnConfig.toJSON() : undefined; - return data; - } - - clone(): CreateOrUpdateIcsDynamicColumnConfigInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsDynamicColumnConfigInput(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + updateNotificationSettings(body: UpdateNotificationSettingsInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Notification/UpdateNotificationSettings"; + url_ = url_.replace(/[?&]$/, ""); -export interface ICreateOrUpdateIcsDynamicColumnConfigInput { - icsDynamicColumnConfig: IcsDynamicColumnConfigEditDto; -} + const content_ = JSON.stringify(body); -export class CreateOrUpdateIcsEcInput implements ICreateOrUpdateIcsEcInput { - icsEc: IcsEcEditDto; + let options_: AxiosRequestConfig = { + data: content_, + method: "PUT", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateIcsEcInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.icsEc = new IcsEcEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processUpdateNotificationSettings(_response); + }); } - init(_data?: any) { - if (_data) { - this.icsEc = _data["icsEc"] ? IcsEcEditDto.fromJS(_data["icsEc"]) : new IcsEcEditDto(); + protected processUpdateNotificationSettings(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } - - static fromJS(data: any): CreateOrUpdateIcsEcInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsEcInput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsEc"] = this.icsEc ? this.icsEc.toJSON() : undefined; - return data; - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - clone(): CreateOrUpdateIcsEcInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsEcInput(); - result.init(json); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } } -export interface ICreateOrUpdateIcsEcInput { - icsEc: IcsEcEditDto; -} +export class OnlineUserServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; -export class CreateOrUpdateIcsEcgInput implements ICreateOrUpdateIcsEcgInput { - icsEcg: IcsEcgEditDto; + constructor(baseUrl?: string, instance?: AxiosInstance) { - constructor(data?: ICreateOrUpdateIcsEcgInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } - } - if (!data) { - this.icsEcg = new IcsEcgEditDto(); - } - } + this.instance = instance ? instance : axios.create(); - init(_data?: any) { - if (_data) { - this.icsEcg = _data["icsEcg"] ? IcsEcgEditDto.fromJS(_data["icsEcg"]) : new IcsEcgEditDto(); - } - } + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - static fromJS(data: any): CreateOrUpdateIcsEcgInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsEcgInput(); - result.init(data); - return result; } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsEcg"] = this.icsEcg ? this.icsEcg.toJSON() : undefined; - return data; - } + /** + * @param body (optional) + * @return Success + */ + downline(body: string[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OnlineUser/Downline"; + url_ = url_.replace(/[?&]$/, ""); - clone(): CreateOrUpdateIcsEcgInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsEcgInput(); - result.init(json); - return result; - } -} + const content_ = JSON.stringify(body); -export interface ICreateOrUpdateIcsEcgInput { - icsEcg: IcsEcgEditDto; -} + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; -export class CreateOrUpdateIcsEcsInput implements ICreateOrUpdateIcsEcsInput { - icsEcs: IcsEcsEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDownline(_response); + }); + } - constructor(data?: ICreateOrUpdateIcsEcsInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processDownline(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsEcs = new IcsEcsEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.icsEcs = _data["icsEcs"] ? IcsEcsEditDto.fromJS(_data["icsEcs"]) : new IcsEcsEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsEcsInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsEcsInput(); - result.init(data); - return result; - } + /** + * @return Success + */ + getOnlineUserCount( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OnlineUser/GetOnlineUserCount"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsEcs"] = this.icsEcs ? this.icsEcs.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CreateOrUpdateIcsEcsInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsEcsInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetOnlineUserCount(_response); + }); } -} - -export interface ICreateOrUpdateIcsEcsInput { - icsEcs: IcsEcsEditDto; -} - -export class CreateOrUpdateIcsEcsg2EcsInput implements ICreateOrUpdateIcsEcsg2EcsInput { - icsEcsg2Ecs: IcsEcsg2EcsEditDto; - constructor(data?: ICreateOrUpdateIcsEcsg2EcsInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetOnlineUserCount(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsEcsg2Ecs = new IcsEcsg2EcsEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsEcsg2Ecs = _data["icsEcsg2Ecs"] ? IcsEcsg2EcsEditDto.fromJS(_data["icsEcsg2Ecs"]) : new IcsEcsg2EcsEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsEcsg2EcsInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsEcsg2EcsInput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsEcsg2Ecs"] = this.icsEcsg2Ecs ? this.icsEcsg2Ecs.toJSON() : undefined; - return data; - } + /** + * @param body (optional) + * @return Success + */ + getOnlineUserPaged(body: GetOnlineUserInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OnlineUser/GetOnlineUserPaged"; + url_ = url_.replace(/[?&]$/, ""); - clone(): CreateOrUpdateIcsEcsg2EcsInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsEcsg2EcsInput(); - result.init(json); - return result; - } -} + const content_ = JSON.stringify(body); -export interface ICreateOrUpdateIcsEcsg2EcsInput { - icsEcsg2Ecs: IcsEcsg2EcsEditDto; -} + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; -export class CreateOrUpdateIcsEcsgInput implements ICreateOrUpdateIcsEcsgInput { - icsEcsg: IcsEcsgEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetOnlineUserPaged(_response); + }); + } - constructor(data?: ICreateOrUpdateIcsEcsgInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetOnlineUserPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsEcsg = new IcsEcsgEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfUserListDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsEcsg = _data["icsEcsg"] ? IcsEcsgEditDto.fromJS(_data["icsEcsg"]) : new IcsEcsgEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } +} - static fromJS(data: any): CreateOrUpdateIcsEcsgInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsEcsgInput(); - result.init(data); - return result; - } +export class OrganizationUnitServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsEcsg"] = this.icsEcsg ? this.icsEcsg.toJSON() : undefined; - return data; - } + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - clone(): CreateOrUpdateIcsEcsgInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsEcsgInput(); - result.init(json); - return result; } -} -export interface ICreateOrUpdateIcsEcsgInput { - icsEcsg: IcsEcsgEditDto; -} + /** + * @param body (optional) + * @return Success + */ + addRoles(body: RolesToOrganizationUnitInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/AddRoles"; + url_ = url_.replace(/[?&]$/, ""); -export class CreateOrUpdateIcsEqp2OpInput implements ICreateOrUpdateIcsEqp2OpInput { - icsEqp2Op: IcsEqp2OpEditDto; + const content_ = JSON.stringify(body); - constructor(data?: ICreateOrUpdateIcsEqp2OpInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.icsEqp2Op = new IcsEqp2OpEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processAddRoles(_response); + }); } - init(_data?: any) { - if (_data) { - this.icsEqp2Op = _data["icsEqp2Op"] ? IcsEqp2OpEditDto.fromJS(_data["icsEqp2Op"]) : new IcsEqp2OpEditDto(); + protected processAddRoles(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - static fromJS(data: any): CreateOrUpdateIcsEqp2OpInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsEqp2OpInput(); - result.init(data); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsEqp2Op"] = this.icsEqp2Op ? this.icsEqp2Op.toJSON() : undefined; - return data; - } + /** + * @param body (optional) + * @return Success + */ + addUsers(body: UsersToOrganizationUnitInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/AddUsers"; + url_ = url_.replace(/[?&]$/, ""); - clone(): CreateOrUpdateIcsEqp2OpInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsEqp2OpInput(); - result.init(json); - return result; - } -} + const content_ = JSON.stringify(body); -export interface ICreateOrUpdateIcsEqp2OpInput { - icsEqp2Op: IcsEqp2OpEditDto; -} + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; -export class CreateOrUpdateIcsEquipmentInput implements ICreateOrUpdateIcsEquipmentInput { - icsEquipment: IcsEquipmentEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processAddUsers(_response); + }); + } - constructor(data?: ICreateOrUpdateIcsEquipmentInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processAddUsers(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsEquipment = new IcsEquipmentEditDto(); + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - init(_data?: any) { - if (_data) { - this.icsEquipment = _data["icsEquipment"] ? IcsEquipmentEditDto.fromJS(_data["icsEquipment"]) : new IcsEquipmentEditDto(); - } - } + /** + * @param organizationUnitId (optional) + * @param body (optional) + * @return Success + */ + batchRemoveRoleFromOrganizationUnit(organizationUnitId: string | null | undefined, body: string[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/BatchRemoveRoleFromOrganizationUnit?"; + if (organizationUnitId !== undefined && organizationUnitId !== null) + url_ += "organizationUnitId=" + encodeURIComponent("" + organizationUnitId) + "&"; + url_ = url_.replace(/[?&]$/, ""); - static fromJS(data: any): CreateOrUpdateIcsEquipmentInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsEquipmentInput(); - result.init(data); - return result; - } + const content_ = JSON.stringify(body); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsEquipment"] = this.icsEquipment ? this.icsEquipment.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; - clone(): CreateOrUpdateIcsEquipmentInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsEquipmentInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processBatchRemoveRoleFromOrganizationUnit(_response); + }); } -} - -export interface ICreateOrUpdateIcsEquipmentInput { - icsEquipment: IcsEquipmentEditDto; -} - -export class CreateOrUpdateIcsEquipmentMaintainItemInput implements ICreateOrUpdateIcsEquipmentMaintainItemInput { - icsEquipmentMaintainItem: IcsEquipmentMaintainItemEditDto; - constructor(data?: ICreateOrUpdateIcsEquipmentMaintainItemInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processBatchRemoveRoleFromOrganizationUnit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsEquipmentMaintainItem = new IcsEquipmentMaintainItemEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.icsEquipmentMaintainItem = _data["icsEquipmentMaintainItem"] ? IcsEquipmentMaintainItemEditDto.fromJS(_data["icsEquipmentMaintainItem"]) : new IcsEquipmentMaintainItemEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsEquipmentMaintainItemInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsEquipmentMaintainItemInput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsEquipmentMaintainItem"] = this.icsEquipmentMaintainItem ? this.icsEquipmentMaintainItem.toJSON() : undefined; - return data; - } - - clone(): CreateOrUpdateIcsEquipmentMaintainItemInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsEquipmentMaintainItemInput(); - result.init(json); - return result; - } -} + /** + * @param organizationUnitId (optional) + * @param body (optional) + * @return Success + */ + batchRemoveUserFromOrganizationUnit(organizationUnitId: string | null | undefined, body: string[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/BatchRemoveUserFromOrganizationUnit?"; + if (organizationUnitId !== undefined && organizationUnitId !== null) + url_ += "organizationUnitId=" + encodeURIComponent("" + organizationUnitId) + "&"; + url_ = url_.replace(/[?&]$/, ""); -export interface ICreateOrUpdateIcsEquipmentMaintainItemInput { - icsEquipmentMaintainItem: IcsEquipmentMaintainItemEditDto; -} + const content_ = JSON.stringify(body); -export class CreateOrUpdateIcsEquipmentMaintainLogInput implements ICreateOrUpdateIcsEquipmentMaintainLogInput { - icsEquipmentMaintainLog: IcsEquipmentMaintainLogEditDto; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateIcsEquipmentMaintainLogInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.icsEquipmentMaintainLog = new IcsEquipmentMaintainLogEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processBatchRemoveUserFromOrganizationUnit(_response); + }); } - init(_data?: any) { - if (_data) { - this.icsEquipmentMaintainLog = _data["icsEquipmentMaintainLog"] ? IcsEquipmentMaintainLogEditDto.fromJS(_data["icsEquipmentMaintainLog"]) : new IcsEquipmentMaintainLogEditDto(); + protected processBatchRemoveUserFromOrganizationUnit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - static fromJS(data: any): CreateOrUpdateIcsEquipmentMaintainLogInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsEquipmentMaintainLogInput(); - result.init(data); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsEquipmentMaintainLog"] = this.icsEquipmentMaintainLog ? this.icsEquipmentMaintainLog.toJSON() : undefined; - return data; - } + /** + * @param body (optional) + * @return Success + */ + create(body: CreateOrganizationUnitInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/Create"; + url_ = url_.replace(/[?&]$/, ""); - clone(): CreateOrUpdateIcsEquipmentMaintainLogInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsEquipmentMaintainLogInput(); - result.init(json); - return result; - } -} + const content_ = JSON.stringify(body); -export interface ICreateOrUpdateIcsEquipmentMaintainLogInput { - icsEquipmentMaintainLog: IcsEquipmentMaintainLogEditDto; -} + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; -export class CreateOrUpdateIcsEquipmentMaintainPlanInput implements ICreateOrUpdateIcsEquipmentMaintainPlanInput { - icsEquipmentMaintainPlan: IcsEquipmentMaintainPlanEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreate(_response); + }); + } - constructor(data?: ICreateOrUpdateIcsEquipmentMaintainPlanInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processCreate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsEquipmentMaintainPlan = new IcsEquipmentMaintainPlanEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = OrganizationUnitListDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsEquipmentMaintainPlan = _data["icsEquipmentMaintainPlan"] ? IcsEquipmentMaintainPlanEditDto.fromJS(_data["icsEquipmentMaintainPlan"]) : new IcsEquipmentMaintainPlanEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsEquipmentMaintainPlanInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsEquipmentMaintainPlanInput(); - result.init(data); - return result; - } + /** + * @param id (optional) + * @return Success + */ + delete(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/Delete?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsEquipmentMaintainPlan"] = this.icsEquipmentMaintainPlan ? this.icsEquipmentMaintainPlan.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; - clone(): CreateOrUpdateIcsEquipmentMaintainPlanInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsEquipmentMaintainPlanInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); } -} - -export interface ICreateOrUpdateIcsEquipmentMaintainPlanInput { - icsEquipmentMaintainPlan: IcsEquipmentMaintainPlanEditDto; -} - -export class CreateOrUpdateIcsEquipmentPartCheckItemInput implements ICreateOrUpdateIcsEquipmentPartCheckItemInput { - icsEquipmentPartCheckItem: IcsEquipmentPartCheckItemEditDto; - constructor(data?: ICreateOrUpdateIcsEquipmentPartCheckItemInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsEquipmentPartCheckItem = new IcsEquipmentPartCheckItemEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.icsEquipmentPartCheckItem = _data["icsEquipmentPartCheckItem"] ? IcsEquipmentPartCheckItemEditDto.fromJS(_data["icsEquipmentPartCheckItem"]) : new IcsEquipmentPartCheckItemEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsEquipmentPartCheckItemInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsEquipmentPartCheckItemInput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsEquipmentPartCheckItem"] = this.icsEquipmentPartCheckItem ? this.icsEquipmentPartCheckItem.toJSON() : undefined; - return data; - } - - clone(): CreateOrUpdateIcsEquipmentPartCheckItemInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsEquipmentPartCheckItemInput(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + findRoles(body: FindUsersInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/FindRoles"; + url_ = url_.replace(/[?&]$/, ""); -export interface ICreateOrUpdateIcsEquipmentPartCheckItemInput { - icsEquipmentPartCheckItem: IcsEquipmentPartCheckItemEditDto; -} + const content_ = JSON.stringify(body); -export class CreateOrUpdateIcsEquipmentPartsInput implements ICreateOrUpdateIcsEquipmentPartsInput { - icsEquipmentParts: IcsEquipmentPartsEditDto; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateIcsEquipmentPartsInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.icsEquipmentParts = new IcsEquipmentPartsEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processFindRoles(_response); + }); } - init(_data?: any) { - if (_data) { - this.icsEquipmentParts = _data["icsEquipmentParts"] ? IcsEquipmentPartsEditDto.fromJS(_data["icsEquipmentParts"]) : new IcsEquipmentPartsEditDto(); + protected processFindRoles(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfNameValueDto.fromJS(resultData200); + return Promise.resolve(result200); - static fromJS(data: any): CreateOrUpdateIcsEquipmentPartsInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsEquipmentPartsInput(); - result.init(data); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsEquipmentParts"] = this.icsEquipmentParts ? this.icsEquipmentParts.toJSON() : undefined; - return data; - } + /** + * @param body (optional) + * @return Success + */ + findUsers(body: FindUsersInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/FindUsers"; + url_ = url_.replace(/[?&]$/, ""); - clone(): CreateOrUpdateIcsEquipmentPartsInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsEquipmentPartsInput(); - result.init(json); - return result; - } -} + const content_ = JSON.stringify(body); -export interface ICreateOrUpdateIcsEquipmentPartsInput { - icsEquipmentParts: IcsEquipmentPartsEditDto; -} + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; -export class CreateOrUpdateIcsEquipmentTSInput implements ICreateOrUpdateIcsEquipmentTSInput { - icsEquipmentTS: IcsEquipmentTSEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processFindUsers(_response); + }); + } - constructor(data?: ICreateOrUpdateIcsEquipmentTSInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processFindUsers(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsEquipmentTS = new IcsEquipmentTSEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfNameValueDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsEquipmentTS = _data["icsEquipmentTS"] ? IcsEquipmentTSEditDto.fromJS(_data["icsEquipmentTS"]) : new IcsEquipmentTSEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsEquipmentTSInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsEquipmentTSInput(); - result.init(data); - return result; - } + /** + * @return Success + */ + getAllOrganizationUnitList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/GetAllOrganizationUnitList"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsEquipmentTS"] = this.icsEquipmentTS ? this.icsEquipmentTS.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CreateOrUpdateIcsEquipmentTSInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsEquipmentTSInput(); - result.init(json); - return result; - } -} - -export interface ICreateOrUpdateIcsEquipmentTSInput { - icsEquipmentTS: IcsEquipmentTSEditDto; -} - -export class CreateOrUpdateIcsFactoryInput implements ICreateOrUpdateIcsFactoryInput { - icsFactory: IcsFactoryEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetAllOrganizationUnitList(_response); + }); + } - constructor(data?: ICreateOrUpdateIcsFactoryInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetAllOrganizationUnitList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsFactory = new IcsFactoryEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ListResultDtoOfOrganizationUnitListDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsFactory = _data["icsFactory"] ? IcsFactoryEditDto.fromJS(_data["icsFactory"]) : new IcsFactoryEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsFactoryInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsFactoryInput(); - result.init(data); - return result; - } + /** + * @param id (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) + * @return Success + */ + getPagedOrganizationUnitRoles(id: string | null | undefined, filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/GetPagedOrganizationUnitRoles?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsFactory"] = this.icsFactory ? this.icsFactory.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CreateOrUpdateIcsFactoryInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsFactoryInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPagedOrganizationUnitRoles(_response); + }); } -} - -export interface ICreateOrUpdateIcsFactoryInput { - icsFactory: IcsFactoryEditDto; -} - -export class CreateOrUpdateIcsInventoryInput implements ICreateOrUpdateIcsInventoryInput { - icsInventory: IcsInventoryEditDto; - constructor(data?: ICreateOrUpdateIcsInventoryInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetPagedOrganizationUnitRoles(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsInventory = new IcsInventoryEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfOrganizationUnitRoleListDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsInventory = _data["icsInventory"] ? IcsInventoryEditDto.fromJS(_data["icsInventory"]) : new IcsInventoryEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsInventoryInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsInventoryInput(); - result.init(data); - return result; - } + /** + * @param id (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) + * @return Success + */ + getPagedOrganizationUnitUsers(id: string | null | undefined, filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/GetPagedOrganizationUnitUsers?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsInventory"] = this.icsInventory ? this.icsInventory.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CreateOrUpdateIcsInventoryInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsInventoryInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPagedOrganizationUnitUsers(_response); + }); } -} - -export interface ICreateOrUpdateIcsInventoryInput { - icsInventory: IcsInventoryEditDto; -} - -export class CreateOrUpdateIcsItem2RouteInput implements ICreateOrUpdateIcsItem2RouteInput { - icsItem2Route: IcsItem2RouteEditDto; - constructor(data?: ICreateOrUpdateIcsItem2RouteInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetPagedOrganizationUnitUsers(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsItem2Route = new IcsItem2RouteEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfOrganizationUnitUserListDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsItem2Route = _data["icsItem2Route"] ? IcsItem2RouteEditDto.fromJS(_data["icsItem2Route"]) : new IcsItem2RouteEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsItem2RouteInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsItem2RouteInput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsItem2Route"] = this.icsItem2Route ? this.icsItem2Route.toJSON() : undefined; - return data; - } - - clone(): CreateOrUpdateIcsItem2RouteInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsItem2RouteInput(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + isInOrganizationUnit(body: UserToOrganizationUnitInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/IsInOrganizationUnit"; + url_ = url_.replace(/[?&]$/, ""); -export interface ICreateOrUpdateIcsItem2RouteInput { - icsItem2Route: IcsItem2RouteEditDto; -} + const content_ = JSON.stringify(body); -export class CreateOrUpdateIcsItemModel2CheckGroupInput implements ICreateOrUpdateIcsItemModel2CheckGroupInput { - icsItemModel2CheckGroup: IcsItemModel2CheckGroupEditDto; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateIcsItemModel2CheckGroupInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.icsItemModel2CheckGroup = new IcsItemModel2CheckGroupEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processIsInOrganizationUnit(_response); + }); } - init(_data?: any) { - if (_data) { - this.icsItemModel2CheckGroup = _data["icsItemModel2CheckGroup"] ? IcsItemModel2CheckGroupEditDto.fromJS(_data["icsItemModel2CheckGroup"]) : new IcsItemModel2CheckGroupEditDto(); + protected processIsInOrganizationUnit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); - static fromJS(data: any): CreateOrUpdateIcsItemModel2CheckGroupInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsItemModel2CheckGroupInput(); - result.init(data); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsItemModel2CheckGroup"] = this.icsItemModel2CheckGroup ? this.icsItemModel2CheckGroup.toJSON() : undefined; - return data; - } + /** + * @param body (optional) + * @return Success + */ + move(body: MoveOrganizationUnitInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/Move"; + url_ = url_.replace(/[?&]$/, ""); - clone(): CreateOrUpdateIcsItemModel2CheckGroupInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsItemModel2CheckGroupInput(); - result.init(json); - return result; - } -} + const content_ = JSON.stringify(body); -export interface ICreateOrUpdateIcsItemModel2CheckGroupInput { - icsItemModel2CheckGroup: IcsItemModel2CheckGroupEditDto; -} + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; -export class CreateOrUpdateIcsItemOp2CheckItemInput implements ICreateOrUpdateIcsItemOp2CheckItemInput { - icsItemOp2CheckItem: IcsItemOp2CheckItemEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processMove(_response); + }); + } - constructor(data?: ICreateOrUpdateIcsItemOp2CheckItemInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processMove(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsItemOp2CheckItem = new IcsItemOp2CheckItemEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = OrganizationUnitListDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsItemOp2CheckItem = _data["icsItemOp2CheckItem"] ? IcsItemOp2CheckItemEditDto.fromJS(_data["icsItemOp2CheckItem"]) : new IcsItemOp2CheckItemEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsItemOp2CheckItemInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsItemOp2CheckItemInput(); - result.init(data); - return result; - } + /** + * @param roleId (optional) + * @param organizationUnitId (optional) + * @return Success + */ + removeRole(roleId: string | null | undefined, organizationUnitId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/RemoveRole?"; + if (roleId !== undefined && roleId !== null) + url_ += "roleId=" + encodeURIComponent("" + roleId) + "&"; + if (organizationUnitId !== undefined && organizationUnitId !== null) + url_ += "organizationUnitId=" + encodeURIComponent("" + organizationUnitId) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsItemOp2CheckItem"] = this.icsItemOp2CheckItem ? this.icsItemOp2CheckItem.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; - clone(): CreateOrUpdateIcsItemOp2CheckItemInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsItemOp2CheckItemInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processRemoveRole(_response); + }); } -} - -export interface ICreateOrUpdateIcsItemOp2CheckItemInput { - icsItemOp2CheckItem: IcsItemOp2CheckItemEditDto; -} -export class CreateOrUpdateIcsItemRoute2OpInput implements ICreateOrUpdateIcsItemRoute2OpInput { - icsItemRoute2Op: IcsItemRoute2OpEditDto; - - constructor(data?: ICreateOrUpdateIcsItemRoute2OpInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processRemoveRole(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsItemRoute2Op = new IcsItemRoute2OpEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.icsItemRoute2Op = _data["icsItemRoute2Op"] ? IcsItemRoute2OpEditDto.fromJS(_data["icsItemRoute2Op"]) : new IcsItemRoute2OpEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsItemRoute2OpInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsItemRoute2OpInput(); - result.init(data); - return result; - } + /** + * @param userId (optional) + * @param organizationUnitId (optional) + * @return Success + */ + removeUser(userId: string | null | undefined, organizationUnitId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/RemoveUser?"; + if (userId !== undefined && userId !== null) + url_ += "userId=" + encodeURIComponent("" + userId) + "&"; + if (organizationUnitId !== undefined && organizationUnitId !== null) + url_ += "organizationUnitId=" + encodeURIComponent("" + organizationUnitId) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsItemRoute2Op"] = this.icsItemRoute2Op ? this.icsItemRoute2Op.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; - clone(): CreateOrUpdateIcsItemRoute2OpInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsItemRoute2OpInput(); - result.init(json); - return result; - } -} - -export interface ICreateOrUpdateIcsItemRoute2OpInput { - icsItemRoute2Op: IcsItemRoute2OpEditDto; -} - -export class CreateOrUpdateIcsLotRoute2OpInput implements ICreateOrUpdateIcsLotRoute2OpInput { - icsLotRoute2Op: IcsLotRoute2OpEditDto[] | undefined; - - constructor(data?: ICreateOrUpdateIcsLotRoute2OpInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processRemoveUser(_response); + }); } - init(_data?: any) { - if (_data) { - if (Array.isArray(_data["icsLotRoute2Op"])) { - this.icsLotRoute2Op = [] as any; - for (let item of _data["icsLotRoute2Op"]) - this.icsLotRoute2Op.push(IcsLotRoute2OpEditDto.fromJS(item)); + protected processRemoveUser(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } - - static fromJS(data: any): CreateOrUpdateIcsLotRoute2OpInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsLotRoute2OpInput(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.icsLotRoute2Op)) { - data["icsLotRoute2Op"] = []; - for (let item of this.icsLotRoute2Op) - data["icsLotRoute2Op"].push(item.toJSON()); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return data; + return Promise.resolve(null as any); } - clone(): CreateOrUpdateIcsLotRoute2OpInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsLotRoute2OpInput(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + rolesIsInOrganizationUnit(body: RoleToOrganizationUnitInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/RolesIsInOrganizationUnit"; + url_ = url_.replace(/[?&]$/, ""); -export interface ICreateOrUpdateIcsLotRoute2OpInput { - icsLotRoute2Op: IcsLotRoute2OpEditDto[] | undefined; -} + const content_ = JSON.stringify(body); -export class CreateOrUpdateIcsMachineCellInput implements ICreateOrUpdateIcsMachineCellInput { - icsMachineCell: IcsMachineCellEditDto; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateIcsMachineCellInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.icsMachineCell = new IcsMachineCellEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processRolesIsInOrganizationUnit(_response); + }); } - init(_data?: any) { - if (_data) { - this.icsMachineCell = _data["icsMachineCell"] ? IcsMachineCellEditDto.fromJS(_data["icsMachineCell"]) : new IcsMachineCellEditDto(); + protected processRolesIsInOrganizationUnit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } - - static fromJS(data: any): CreateOrUpdateIcsMachineCellInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsMachineCellInput(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsMachineCell"] = this.icsMachineCell ? this.icsMachineCell.toJSON() : undefined; - return data; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - clone(): CreateOrUpdateIcsMachineCellInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsMachineCellInput(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + update(body: UpdateOrganizationUnitInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/OrganizationUnit/Update"; + url_ = url_.replace(/[?&]$/, ""); -export interface ICreateOrUpdateIcsMachineCellInput { - icsMachineCell: IcsMachineCellEditDto; -} + const content_ = JSON.stringify(body); -export class CreateOrUpdateIcsMainCategoryCodeInput implements ICreateOrUpdateIcsMainCategoryCodeInput { - icsMainCategoryCode: IcsMainCategoryCodeEditDto; + let options_: AxiosRequestConfig = { + data: content_, + method: "PUT", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateIcsMainCategoryCodeInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.icsMainCategoryCode = new IcsMainCategoryCodeEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processUpdate(_response); + }); } - init(_data?: any) { - if (_data) { - this.icsMainCategoryCode = _data["icsMainCategoryCode"] ? IcsMainCategoryCodeEditDto.fromJS(_data["icsMainCategoryCode"]) : new IcsMainCategoryCodeEditDto(); + protected processUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } - - static fromJS(data: any): CreateOrUpdateIcsMainCategoryCodeInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsMainCategoryCodeInput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsMainCategoryCode"] = this.icsMainCategoryCode ? this.icsMainCategoryCode.toJSON() : undefined; - return data; - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = OrganizationUnitListDto.fromJS(resultData200); + return Promise.resolve(result200); - clone(): CreateOrUpdateIcsMainCategoryCodeInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsMainCategoryCodeInput(); - result.init(json); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } } -export interface ICreateOrUpdateIcsMainCategoryCodeInput { - icsMainCategoryCode: IcsMainCategoryCodeEditDto; -} +export class PageFiltersServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; -export class CreateOrUpdateIcsManualRecordingInput implements ICreateOrUpdateIcsManualRecordingInput { - icsManualRecording: IcsManualRecordingEditDto; + constructor(baseUrl?: string, instance?: AxiosInstance) { - constructor(data?: ICreateOrUpdateIcsManualRecordingInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } - } - if (!data) { - this.icsManualRecording = new IcsManualRecordingEditDto(); - } - } + this.instance = instance ? instance : axios.create(); - init(_data?: any) { - if (_data) { - this.icsManualRecording = _data["icsManualRecording"] ? IcsManualRecordingEditDto.fromJS(_data["icsManualRecording"]) : new IcsManualRecordingEditDto(); - } - } + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - static fromJS(data: any): CreateOrUpdateIcsManualRecordingInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsManualRecordingInput(); - result.init(data); - return result; } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsManualRecording"] = this.icsManualRecording ? this.icsManualRecording.toJSON() : undefined; - return data; - } + /** + * @param body (optional) + * @return Success + */ + adminSavePageFilterAsPersonal(body: SavePageFilterAsPersonalInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/PageFilters/AdminSavePageFilterAsPersonal"; + url_ = url_.replace(/[?&]$/, ""); - clone(): CreateOrUpdateIcsManualRecordingInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsManualRecordingInput(); - result.init(json); - return result; - } -} + const content_ = JSON.stringify(body); -export interface ICreateOrUpdateIcsManualRecordingInput { - icsManualRecording: IcsManualRecordingEditDto; -} + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; -export class CreateOrUpdateIcsMo2LotInput implements ICreateOrUpdateIcsMo2LotInput { - icsMo2Lot: IcsMo2LotEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processAdminSavePageFilterAsPersonal(_response); + }); + } - constructor(data?: ICreateOrUpdateIcsMo2LotInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processAdminSavePageFilterAsPersonal(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsMo2Lot = new IcsMo2LotEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.icsMo2Lot = _data["icsMo2Lot"] ? IcsMo2LotEditDto.fromJS(_data["icsMo2Lot"]) : new IcsMo2LotEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsMo2LotInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsMo2LotInput(); - result.init(data); - return result; - } + /** + * @param pageFilterName (optional) + * @return Success + */ + deletePersonalPageFilter(pageFilterName: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/PageFilters/DeletePersonalPageFilter?"; + if (pageFilterName !== undefined && pageFilterName !== null) + url_ += "pageFilterName=" + encodeURIComponent("" + pageFilterName) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsMo2Lot"] = this.icsMo2Lot ? this.icsMo2Lot.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; - clone(): CreateOrUpdateIcsMo2LotInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsMo2LotInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDeletePersonalPageFilter(_response); + }); } -} - -export interface ICreateOrUpdateIcsMo2LotInput { - icsMo2Lot: IcsMo2LotEditDto; -} - -export class CreateOrUpdateIcsMoDispatchingInput implements ICreateOrUpdateIcsMoDispatchingInput { - icsMoDispatching: IcsMoDispatchingEditDto; - constructor(data?: ICreateOrUpdateIcsMoDispatchingInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processDeletePersonalPageFilter(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsMoDispatching = new IcsMoDispatchingEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.icsMoDispatching = _data["icsMoDispatching"] ? IcsMoDispatchingEditDto.fromJS(_data["icsMoDispatching"]) : new IcsMoDispatchingEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsMoDispatchingInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsMoDispatchingInput(); - result.init(data); - return result; - } + /** + * @param pageFilterName (optional) + * @param userId (optional) + * @return Success + */ + getPageFilter(pageFilterName: string | null | undefined, userId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/PageFilters/GetPageFilter?"; + if (pageFilterName !== undefined && pageFilterName !== null) + url_ += "pageFilterName=" + encodeURIComponent("" + pageFilterName) + "&"; + if (userId !== undefined && userId !== null) + url_ += "userId=" + encodeURIComponent("" + userId) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsMoDispatching"] = this.icsMoDispatching ? this.icsMoDispatching.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CreateOrUpdateIcsMoDispatchingInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsMoDispatchingInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPageFilter(_response); + }); } -} - -export interface ICreateOrUpdateIcsMoDispatchingInput { - icsMoDispatching: IcsMoDispatchingEditDto; -} - -export class CreateOrUpdateIcsMoInput implements ICreateOrUpdateIcsMoInput { - icsMo: IcsMoEditDto; - constructor(data?: ICreateOrUpdateIcsMoInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetPageFilter(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsMo = new IcsMoEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PageFilterDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsMo = _data["icsMo"] ? IcsMoEditDto.fromJS(_data["icsMo"]) : new IcsMoEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsMoInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsMoInput(); - result.init(data); - return result; - } + /** + * @param body (optional) + * @return Success + */ + savePageFilterAsPersonal(body: SavePageFilterAsPersonalInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/PageFilters/SavePageFilterAsPersonal"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsMo"] = this.icsMo ? this.icsMo.toJSON() : undefined; - return data; - } + const content_ = JSON.stringify(body); - clone(): CreateOrUpdateIcsMoInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsMoInput(); - result.init(json); - return result; - } -} - -export interface ICreateOrUpdateIcsMoInput { - icsMo: IcsMoEditDto; -} + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; -export class CreateOrUpdateIcsModel2EcgInput implements ICreateOrUpdateIcsModel2EcgInput { - icsModel2Ecg: IcsModel2EcgEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSavePageFilterAsPersonal(_response); + }); + } - constructor(data?: ICreateOrUpdateIcsModel2EcgInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processSavePageFilterAsPersonal(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsModel2Ecg = new IcsModel2EcgEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.icsModel2Ecg = _data["icsModel2Ecg"] ? IcsModel2EcgEditDto.fromJS(_data["icsModel2Ecg"]) : new IcsModel2EcgEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } +} - static fromJS(data: any): CreateOrUpdateIcsModel2EcgInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsModel2EcgInput(); - result.init(data); - return result; - } +export class PageSelectFormServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsModel2Ecg"] = this.icsModel2Ecg ? this.icsModel2Ecg.toJSON() : undefined; - return data; - } + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - clone(): CreateOrUpdateIcsModel2EcgInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsModel2EcgInput(); - result.init(json); - return result; } -} -export interface ICreateOrUpdateIcsModel2EcgInput { - icsModel2Ecg: IcsModel2EcgEditDto; -} + /** + * @param methodName (optional) + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) + * @return Success + */ + getPageSelectFormDataSource(methodName: string | null | undefined, maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/PageSelectForm/GetPageSelectFormDataSource?"; + if (methodName !== undefined && methodName !== null) + url_ += "methodName=" + encodeURIComponent("" + methodName) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); -export class CreateOrUpdateIcsModel2EcsInput implements ICreateOrUpdateIcsModel2EcsInput { - icsModel2Ecs: IcsModel2EcsEditDto; + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateIcsModel2EcsInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.icsModel2Ecs = new IcsModel2EcsEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processGetPageSelectFormDataSource(_response); + }); } - init(_data?: any) { - if (_data) { - this.icsModel2Ecs = _data["icsModel2Ecs"] ? IcsModel2EcsEditDto.fromJS(_data["icsModel2Ecs"]) : new IcsModel2EcsEditDto(); + protected processGetPageSelectFormDataSource(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = StringDto.fromJS(resultData200); + return Promise.resolve(result200); - static fromJS(data: any): CreateOrUpdateIcsModel2EcsInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsModel2EcsInput(); - result.init(data); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } +} - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsModel2Ecs"] = this.icsModel2Ecs ? this.icsModel2Ecs.toJSON() : undefined; - return data; - } +export class PermissionServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - clone(): CreateOrUpdateIcsModel2EcsInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsModel2EcsInput(); - result.init(json); - return result; } -} -export interface ICreateOrUpdateIcsModel2EcsInput { - icsModel2Ecs: IcsModel2EcsEditDto; -} + /** + * @return Success + */ + getAllPermissions( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Permission/GetAllPermissions"; + url_ = url_.replace(/[?&]$/, ""); -export class CreateOrUpdateIcsModel2EcsgInput implements ICreateOrUpdateIcsModel2EcsgInput { - icsModel2Ecsg: IcsModel2EcsgEditDto; + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateIcsModel2EcsgInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.icsModel2Ecsg = new IcsModel2EcsgEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processGetAllPermissions(_response); + }); } - init(_data?: any) { - if (_data) { - this.icsModel2Ecsg = _data["icsModel2Ecsg"] ? IcsModel2EcsgEditDto.fromJS(_data["icsModel2Ecsg"]) : new IcsModel2EcsgEditDto(); + protected processGetAllPermissions(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } - - static fromJS(data: any): CreateOrUpdateIcsModel2EcsgInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsModel2EcsgInput(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ListResultDtoOfFlatPermissionWithLevelDto.fromJS(resultData200); + return Promise.resolve(result200); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsModel2Ecsg"] = this.icsModel2Ecsg ? this.icsModel2Ecsg.toJSON() : undefined; - return data; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - clone(): CreateOrUpdateIcsModel2EcsgInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsModel2EcsgInput(); - result.init(json); - return result; - } -} + /** + * @return Success + */ + getAllPermissionsTree( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Permission/GetAllPermissionsTree"; + url_ = url_.replace(/[?&]$/, ""); -export interface ICreateOrUpdateIcsModel2EcsgInput { - icsModel2Ecsg: IcsModel2EcsgEditDto; -} + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; -export class CreateOrUpdateIcsModel2SolutionInput implements ICreateOrUpdateIcsModel2SolutionInput { - icsModel2Solution: IcsModel2SolutionEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetAllPermissionsTree(_response); + }); + } - constructor(data?: ICreateOrUpdateIcsModel2SolutionInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetAllPermissionsTree(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsModel2Solution = new IcsModel2SolutionEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ListResultDtoOfTreePermissionDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsModel2Solution = _data["icsModel2Solution"] ? IcsModel2SolutionEditDto.fromJS(_data["icsModel2Solution"]) : new IcsModel2SolutionEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } +} - static fromJS(data: any): CreateOrUpdateIcsModel2SolutionInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsModel2SolutionInput(); - result.init(data); - return result; - } +export class ProfileServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsModel2Solution"] = this.icsModel2Solution ? this.icsModel2Solution.toJSON() : undefined; - return data; - } + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - clone(): CreateOrUpdateIcsModel2SolutionInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsModel2SolutionInput(); - result.init(json); - return result; } -} -export interface ICreateOrUpdateIcsModel2SolutionInput { - icsModel2Solution: IcsModel2SolutionEditDto; -} + /** + * @param body (optional) + * @return Success + */ + changeLanguage(body: ChangeUserLanguageDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Profile/ChangeLanguage"; + url_ = url_.replace(/[?&]$/, ""); -export class CreateOrUpdateIcsNcrDocInput implements ICreateOrUpdateIcsNcrDocInput { - icsNcrDoc: IcsNcrDocEditDto; + const content_ = JSON.stringify(body); - constructor(data?: ICreateOrUpdateIcsNcrDocInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.icsNcrDoc = new IcsNcrDocEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processChangeLanguage(_response); + }); } - init(_data?: any) { - if (_data) { - this.icsNcrDoc = _data["icsNcrDoc"] ? IcsNcrDocEditDto.fromJS(_data["icsNcrDoc"]) : new IcsNcrDocEditDto(); + protected processChangeLanguage(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - static fromJS(data: any): CreateOrUpdateIcsNcrDocInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsNcrDocInput(); - result.init(data); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsNcrDoc"] = this.icsNcrDoc ? this.icsNcrDoc.toJSON() : undefined; - return data; - } + /** + * @param body (optional) + * @return Success + */ + changePassword(body: ChangePasswordInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Profile/ChangePassword"; + url_ = url_.replace(/[?&]$/, ""); - clone(): CreateOrUpdateIcsNcrDocInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsNcrDocInput(); - result.init(json); - return result; - } -} + const content_ = JSON.stringify(body); -export interface ICreateOrUpdateIcsNcrDocInput { - icsNcrDoc: IcsNcrDocEditDto; -} + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; -export class CreateOrUpdateIcsOPInput implements ICreateOrUpdateIcsOPInput { - icsOP: IcsOPEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processChangePassword(_response); + }); + } - constructor(data?: ICreateOrUpdateIcsOPInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processChangePassword(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsOP = new IcsOPEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.icsOP = _data["icsOP"] ? IcsOPEditDto.fromJS(_data["icsOP"]) : new IcsOPEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsOPInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsOPInput(); - result.init(data); - return result; - } + /** + * @return Success + */ + getCurrentUserProfileForEdit( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Profile/GetCurrentUserProfileForEdit"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsOP"] = this.icsOP ? this.icsOP.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CreateOrUpdateIcsOPInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsOPInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetCurrentUserProfileForEdit(_response); + }); } -} - -export interface ICreateOrUpdateIcsOPInput { - icsOP: IcsOPEditDto; -} - -export class CreateOrUpdateIcsOp2ResInput implements ICreateOrUpdateIcsOp2ResInput { - icsOp2Res: IcsOp2ResEditDto; - constructor(data?: ICreateOrUpdateIcsOp2ResInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetCurrentUserProfileForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsOp2Res = new IcsOp2ResEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = CurrentUserProfileEditDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsOp2Res = _data["icsOp2Res"] ? IcsOp2ResEditDto.fromJS(_data["icsOp2Res"]) : new IcsOp2ResEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsOp2ResInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsOp2ResInput(); - result.init(data); - return result; - } + /** + * @param profilePictureId (optional) + * @param userId (optional) + * @param tenantId (optional) + * @return Success + */ + getFriendProfilePictureById(profilePictureId: string | null | undefined, userId: string | null | undefined, tenantId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Profile/GetFriendProfilePictureById?"; + if (profilePictureId !== undefined && profilePictureId !== null) + url_ += "profilePictureId=" + encodeURIComponent("" + profilePictureId) + "&"; + if (userId !== undefined && userId !== null) + url_ += "userId=" + encodeURIComponent("" + userId) + "&"; + if (tenantId !== undefined && tenantId !== null) + url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsOp2Res"] = this.icsOp2Res ? this.icsOp2Res.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CreateOrUpdateIcsOp2ResInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsOp2ResInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetFriendProfilePictureById(_response); + }); } -} -export interface ICreateOrUpdateIcsOp2ResInput { - icsOp2Res: IcsOp2ResEditDto; -} - -export class CreateOrUpdateIcsOutSourcingOrderInput implements ICreateOrUpdateIcsOutSourcingOrderInput { - icsOutSourcingOrder: IcsOutSourcingOrderEditDto; - - constructor(data?: ICreateOrUpdateIcsOutSourcingOrderInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetFriendProfilePictureById(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsOutSourcingOrder = new IcsOutSourcingOrderEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetProfilePictureOutput.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsOutSourcingOrder = _data["icsOutSourcingOrder"] ? IcsOutSourcingOrderEditDto.fromJS(_data["icsOutSourcingOrder"]) : new IcsOutSourcingOrderEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsOutSourcingOrderInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsOutSourcingOrderInput(); - result.init(data); - return result; - } + /** + * @param id (optional) + * @return Success + */ + getProfilePicture(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Profile/GetProfilePicture?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsOutSourcingOrder"] = this.icsOutSourcingOrder ? this.icsOutSourcingOrder.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CreateOrUpdateIcsOutSourcingOrderInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsOutSourcingOrderInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetProfilePicture(_response); + }); } -} - -export interface ICreateOrUpdateIcsOutSourcingOrderInput { - icsOutSourcingOrder: IcsOutSourcingOrderEditDto; -} - -export class CreateOrUpdateIcsPartInput implements ICreateOrUpdateIcsPartInput { - icsPart: IcsPartEditDto; - constructor(data?: ICreateOrUpdateIcsPartInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetProfilePicture(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsPart = new IcsPartEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetProfilePictureOutputDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsPart = _data["icsPart"] ? IcsPartEditDto.fromJS(_data["icsPart"]) : new IcsPartEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsPartInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsPartInput(); - result.init(data); - return result; - } + /** + * @param profilePictureId (optional) + * @return Success + */ + getProfilePictureById(profilePictureId: string | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Profile/GetProfilePictureById?"; + if (profilePictureId === null) + throw new Error("The parameter 'profilePictureId' cannot be null."); + else if (profilePictureId !== undefined) + url_ += "profilePictureId=" + encodeURIComponent("" + profilePictureId) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsPart"] = this.icsPart ? this.icsPart.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CreateOrUpdateIcsPartInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsPartInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetProfilePictureById(_response); + }); } -} -export interface ICreateOrUpdateIcsPartInput { - icsPart: IcsPartEditDto; -} - -export class CreateOrUpdateIcsResInput implements ICreateOrUpdateIcsResInput { - icsRes: IcsResEditDto; - - constructor(data?: ICreateOrUpdateIcsResInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetProfilePictureById(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsRes = new IcsResEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetProfilePictureOutputDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsRes = _data["icsRes"] ? IcsResEditDto.fromJS(_data["icsRes"]) : new IcsResEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsResInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsResInput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsRes"] = this.icsRes ? this.icsRes.toJSON() : undefined; - return data; - } - - clone(): CreateOrUpdateIcsResInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsResInput(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + updateCurrentUserProfile(body: CurrentUserProfileEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Profile/UpdateCurrentUserProfile"; + url_ = url_.replace(/[?&]$/, ""); -export interface ICreateOrUpdateIcsResInput { - icsRes: IcsResEditDto; -} + const content_ = JSON.stringify(body); -export class CreateOrUpdateIcsRouteInput implements ICreateOrUpdateIcsRouteInput { - icsRoute: IcsRouteEditDto; + let options_: AxiosRequestConfig = { + data: content_, + method: "PUT", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateIcsRouteInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.icsRoute = new IcsRouteEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processUpdateCurrentUserProfile(_response); + }); } - init(_data?: any) { - if (_data) { - this.icsRoute = _data["icsRoute"] ? IcsRouteEditDto.fromJS(_data["icsRoute"]) : new IcsRouteEditDto(); + protected processUpdateCurrentUserProfile(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } - - static fromJS(data: any): CreateOrUpdateIcsRouteInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsRouteInput(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsRoute"] = this.icsRoute ? this.icsRoute.toJSON() : undefined; - return data; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - clone(): CreateOrUpdateIcsRouteInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsRouteInput(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + updateProfilePicture(body: UpdateProfilePictureInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Profile/UpdateProfilePicture"; + url_ = url_.replace(/[?&]$/, ""); -export interface ICreateOrUpdateIcsRouteInput { - icsRoute: IcsRouteEditDto; -} + const content_ = JSON.stringify(body); -export class CreateOrUpdateIcsSBomInput implements ICreateOrUpdateIcsSBomInput { - icsSBom: IcsSBomEditDto; + let options_: AxiosRequestConfig = { + data: content_, + method: "PUT", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateIcsSBomInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.icsSBom = new IcsSBomEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processUpdateProfilePicture(_response); + }); } - init(_data?: any) { - if (_data) { - this.icsSBom = _data["icsSBom"] ? IcsSBomEditDto.fromJS(_data["icsSBom"]) : new IcsSBomEditDto(); + protected processUpdateProfilePicture(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } - - static fromJS(data: any): CreateOrUpdateIcsSBomInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsSBomInput(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsSBom"] = this.icsSBom ? this.icsSBom.toJSON() : undefined; - return data; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - clone(): CreateOrUpdateIcsSBomInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsSBomInput(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + uploadProfilePicture(body: FileDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Profile/UploadProfilePicture"; + url_ = url_.replace(/[?&]$/, ""); -export interface ICreateOrUpdateIcsSBomInput { - icsSBom: IcsSBomEditDto; -} + const content_ = JSON.stringify(body); -export class CreateOrUpdateIcsSSInput implements ICreateOrUpdateIcsSSInput { - icsSS: IcsSSEditDto; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateIcsSSInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.icsSS = new IcsSSEditDto(); - } - } - - init(_data?: any) { - if (_data) { - this.icsSS = _data["icsSS"] ? IcsSSEditDto.fromJS(_data["icsSS"]) : new IcsSSEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processUploadProfilePicture(_response); + }); } - static fromJS(data: any): CreateOrUpdateIcsSSInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsSSInput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsSS"] = this.icsSS ? this.icsSS.toJSON() : undefined; - return data; - } - - clone(): CreateOrUpdateIcsSSInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsSSInput(); - result.init(json); - return result; - } -} - -export interface ICreateOrUpdateIcsSSInput { - icsSS: IcsSSEditDto; -} - -export class CreateOrUpdateIcsSegInput implements ICreateOrUpdateIcsSegInput { - icsSeg: IcsSegEditDto; - - constructor(data?: ICreateOrUpdateIcsSegInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processUploadProfilePicture(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsSeg = new IcsSegEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = UploadProfilePictureOutputDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsSeg = _data["icsSeg"] ? IcsSegEditDto.fromJS(_data["icsSeg"]) : new IcsSegEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsSegInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsSegInput(); - result.init(data); - return result; - } + /** + * @return Success + */ + uploadProfilePictureReturnFileId( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Profile/UploadProfilePictureReturnFileId"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsSeg"] = this.icsSeg ? this.icsSeg.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CreateOrUpdateIcsSegInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsSegInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUploadProfilePictureReturnFileId(_response); + }); } -} - -export interface ICreateOrUpdateIcsSegInput { - icsSeg: IcsSegEditDto; -} - -export class CreateOrUpdateIcsShiftInput implements ICreateOrUpdateIcsShiftInput { - icsShift: IcsShiftEditDto; - constructor(data?: ICreateOrUpdateIcsShiftInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processUploadProfilePictureReturnFileId(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsShift = new IcsShiftEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = UploadProfilePictureOutputDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsShift = _data["icsShift"] ? IcsShiftEditDto.fromJS(_data["icsShift"]) : new IcsShiftEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsShiftInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsShiftInput(); - result.init(data); - return result; - } + /** + * @return Success + */ + uploadSiteSettingsPic( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Profile/UploadSiteSettingsPic"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsShift"] = this.icsShift ? this.icsShift.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CreateOrUpdateIcsShiftInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsShiftInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUploadSiteSettingsPic(_response); + }); } -} - -export interface ICreateOrUpdateIcsShiftInput { - icsShift: IcsShiftEditDto; -} - -export class CreateOrUpdateIcsShiftTypeInput implements ICreateOrUpdateIcsShiftTypeInput { - icsShiftType: IcsShiftTypeEditDto; - constructor(data?: ICreateOrUpdateIcsShiftTypeInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processUploadSiteSettingsPic(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsShiftType = new IcsShiftTypeEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = UploadFileOutputDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsShiftType = _data["icsShiftType"] ? IcsShiftTypeEditDto.fromJS(_data["icsShiftType"]) : new IcsShiftTypeEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } +} - static fromJS(data: any): CreateOrUpdateIcsShiftTypeInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsShiftTypeInput(); - result.init(data); - return result; - } +export class PublicBusinessServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsShiftType"] = this.icsShiftType ? this.icsShiftType.toJSON() : undefined; - return data; - } + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - clone(): CreateOrUpdateIcsShiftTypeInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsShiftTypeInput(); - result.init(json); - return result; } -} -export interface ICreateOrUpdateIcsShiftTypeInput { - icsShiftType: IcsShiftTypeEditDto; -} + /** + * @param value (optional) + * @param id (optional) + * @return Success + */ + getAllLotList(value: string | null | undefined, id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/PublicBusiness/GetAllLotList?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); -export class CreateOrUpdateIcsSolutionInput implements ICreateOrUpdateIcsSolutionInput { - icsSolution: IcsSolutionEditDto; + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateIcsSolutionInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.icsSolution = new IcsSolutionEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processGetAllLotList(_response); + }); } - init(_data?: any) { - if (_data) { - this.icsSolution = _data["icsSolution"] ? IcsSolutionEditDto.fromJS(_data["icsSolution"]) : new IcsSolutionEditDto(); + protected processGetAllLotList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } - - static fromJS(data: any): CreateOrUpdateIcsSolutionInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsSolutionInput(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsSolution"] = this.icsSolution ? this.icsSolution.toJSON() : undefined; - return data; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - clone(): CreateOrUpdateIcsSolutionInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsSolutionInput(); - result.init(json); - return result; - } -} + /** + * @return Success + */ + getAllMoList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/PublicBusiness/GetAllMoList"; + url_ = url_.replace(/[?&]$/, ""); -export interface ICreateOrUpdateIcsSolutionInput { - icsSolution: IcsSolutionEditDto; -} + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; -export class CreateOrUpdateIcsStandardWhoursInput implements ICreateOrUpdateIcsStandardWhoursInput { - icsStandardWhours: IcsStandardWhoursEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetAllMoList(_response); + }); + } - constructor(data?: ICreateOrUpdateIcsStandardWhoursInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetAllMoList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsStandardWhours = new IcsStandardWhoursEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsStandardWhours = _data["icsStandardWhours"] ? IcsStandardWhoursEditDto.fromJS(_data["icsStandardWhours"]) : new IcsStandardWhoursEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsStandardWhoursInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsStandardWhoursInput(); - result.init(data); - return result; - } + /** + * @param value (optional) + * @param id (optional) + * @return Success + */ + getAllOpList(value: string | null | undefined, id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/PublicBusiness/GetAllOpList?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsStandardWhours"] = this.icsStandardWhours ? this.icsStandardWhours.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CreateOrUpdateIcsStandardWhoursInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsStandardWhoursInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetAllOpList(_response); + }); } -} - -export interface ICreateOrUpdateIcsStandardWhoursInput { - icsStandardWhours: IcsStandardWhoursEditDto; -} - -export class CreateOrUpdateIcsTpInput implements ICreateOrUpdateIcsTpInput { - icsTp: IcsTpEditDto; - constructor(data?: ICreateOrUpdateIcsTpInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetAllOpList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsTp = new IcsTpEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsTp = _data["icsTp"] ? IcsTpEditDto.fromJS(_data["icsTp"]) : new IcsTpEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsTpInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsTpInput(); - result.init(data); - return result; - } + /** + * @return Success + */ + getAllRouteList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/PublicBusiness/GetAllRouteList"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsTp"] = this.icsTp ? this.icsTp.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CreateOrUpdateIcsTpInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsTpInput(); - result.init(json); - return result; - } -} - -export interface ICreateOrUpdateIcsTpInput { - icsTp: IcsTpEditDto; -} - -export class CreateOrUpdateIcsTsErrorCauseInput implements ICreateOrUpdateIcsTsErrorCauseInput { - icsTsErrorCause: IcsTsErrorCauseEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetAllRouteList(_response); + }); + } - constructor(data?: ICreateOrUpdateIcsTsErrorCauseInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetAllRouteList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsTsErrorCause = new IcsTsErrorCauseEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsTsErrorCause = _data["icsTsErrorCause"] ? IcsTsErrorCauseEditDto.fromJS(_data["icsTsErrorCause"]) : new IcsTsErrorCauseEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsTsErrorCauseInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsTsErrorCauseInput(); - result.init(data); - return result; - } + /** + * @param value (optional) + * @param id (optional) + * @return Success + */ + getFilterOpList(value: string | null | undefined, id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/PublicBusiness/GetFilterOpList?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsTsErrorCause"] = this.icsTsErrorCause ? this.icsTsErrorCause.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CreateOrUpdateIcsTsErrorCauseInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsTsErrorCauseInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetFilterOpList(_response); + }); } -} - -export interface ICreateOrUpdateIcsTsErrorCauseInput { - icsTsErrorCause: IcsTsErrorCauseEditDto; -} - -export class CreateOrUpdateIcsTsErrorCodeInput implements ICreateOrUpdateIcsTsErrorCodeInput { - icsTsErrorCode: IcsTsErrorCodeEditDto; - constructor(data?: ICreateOrUpdateIcsTsErrorCodeInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetFilterOpList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.icsTsErrorCode = new IcsTsErrorCodeEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.icsTsErrorCode = _data["icsTsErrorCode"] ? IcsTsErrorCodeEditDto.fromJS(_data["icsTsErrorCode"]) : new IcsTsErrorCodeEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateIcsTsErrorCodeInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsTsErrorCodeInput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsTsErrorCode"] = this.icsTsErrorCode ? this.icsTsErrorCode.toJSON() : undefined; - return data; - } - - clone(): CreateOrUpdateIcsTsErrorCodeInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsTsErrorCodeInput(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + queryMoRoute(body: IcsLotOnWipDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/PublicBusiness/QueryMoRoute"; + url_ = url_.replace(/[?&]$/, ""); -export interface ICreateOrUpdateIcsTsErrorCodeInput { - icsTsErrorCode: IcsTsErrorCodeEditDto; -} + const content_ = JSON.stringify(body); -export class CreateOrUpdateIcsTsInput implements ICreateOrUpdateIcsTsInput { - icsTs: IcsTsEditDto; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateIcsTsInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.icsTs = new IcsTsEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processQueryMoRoute(_response); + }); } - init(_data?: any) { - if (_data) { - this.icsTs = _data["icsTs"] ? IcsTsEditDto.fromJS(_data["icsTs"]) : new IcsTsEditDto(); + protected processQueryMoRoute(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } - - static fromJS(data: any): CreateOrUpdateIcsTsInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsTsInput(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsMoRoute2OpDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsTs"] = this.icsTs ? this.icsTs.toJSON() : undefined; - return data; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - clone(): CreateOrUpdateIcsTsInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsTsInput(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + queryMoRoute2(body: IcsLotOnWipDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/PublicBusiness/QueryMoRoute2"; + url_ = url_.replace(/[?&]$/, ""); -export interface ICreateOrUpdateIcsTsInput { - icsTs: IcsTsEditDto; -} + const content_ = JSON.stringify(body); -export class CreateOrUpdateIcsUser2OpInput implements ICreateOrUpdateIcsUser2OpInput { - icsUser2Op: IcsUser2OpEditDto; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateIcsUser2OpInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.icsUser2Op = new IcsUser2OpEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processQueryMoRoute2(_response); + }); } - init(_data?: any) { - if (_data) { - this.icsUser2Op = _data["icsUser2Op"] ? IcsUser2OpEditDto.fromJS(_data["icsUser2Op"]) : new IcsUser2OpEditDto(); + protected processQueryMoRoute2(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } - - static fromJS(data: any): CreateOrUpdateIcsUser2OpInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateIcsUser2OpInput(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsMoRoute2OpDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["icsUser2Op"] = this.icsUser2Op ? this.icsUser2Op.toJSON() : undefined; - return data; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - clone(): CreateOrUpdateIcsUser2OpInput { - const json = this.toJSON(); - let result = new CreateOrUpdateIcsUser2OpInput(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + queryOpBomList(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/PublicBusiness/QueryOpBomList"; + url_ = url_.replace(/[?&]$/, ""); -export interface ICreateOrUpdateIcsUser2OpInput { - icsUser2Op: IcsUser2OpEditDto; -} + const content_ = JSON.stringify(body); -/** 创建或更新语言 */ -export class CreateOrUpdateLanguageInput implements ICreateOrUpdateLanguageInput { - language: LanguageEditDto; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateLanguageInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.language = new LanguageEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processQueryOpBomList(_response); + }); } - init(_data?: any) { - if (_data) { - this.language = _data["language"] ? LanguageEditDto.fromJS(_data["language"]) : new LanguageEditDto(); + protected processQueryOpBomList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(IcsOPBomDetailListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); - static fromJS(data: any): CreateOrUpdateLanguageInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateLanguageInput(); - result.init(data); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["language"] = this.language ? this.language.toJSON() : undefined; - return data; - } + /** + * @param body (optional) + * @return Success + */ + scrapLotQty(body: IcsMo2LotEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/PublicBusiness/ScrapLotQty"; + url_ = url_.replace(/[?&]$/, ""); - clone(): CreateOrUpdateLanguageInput { - const json = this.toJSON(); - let result = new CreateOrUpdateLanguageInput(); - result.init(json); - return result; - } -} + const content_ = JSON.stringify(body); -/** 创建或更新语言 */ -export interface ICreateOrUpdateLanguageInput { - language: LanguageEditDto; -} + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; -/** 创建或编辑菜单输入 */ -export class CreateOrUpdateMenuInput implements ICreateOrUpdateMenuInput { - menu: MenuEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processScrapLotQty(_response); + }); + } - constructor(data?: ICreateOrUpdateMenuInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processScrapLotQty(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.menu = new MenuEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.menu = _data["menu"] ? MenuEditDto.fromJS(_data["menu"]) : new MenuEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateMenuInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateMenuInput(); - result.init(data); - return result; - } + /** + * @param body (optional) + * @return Success + */ + splitMOLotNew(body: IcsMo2LotEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/PublicBusiness/SplitMOLotNew"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["menu"] = this.menu ? this.menu.toJSON() : undefined; - return data; - } + const content_ = JSON.stringify(body); - clone(): CreateOrUpdateMenuInput { - const json = this.toJSON(); - let result = new CreateOrUpdateMenuInput(); - result.init(json); - return result; - } -} + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; -/** 创建或编辑菜单输入 */ -export interface ICreateOrUpdateMenuInput { - menu: MenuEditDto; -} + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSplitMOLotNew(_response); + }); + } -export class CreateOrUpdateMessageConfigInput implements ICreateOrUpdateMessageConfigInput { - messageConfig: MessageConfigEditDto; - - constructor(data?: ICreateOrUpdateMessageConfigInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processSplitMOLotNew(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.messageConfig = new MessageConfigEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.messageConfig = _data["messageConfig"] ? MessageConfigEditDto.fromJS(_data["messageConfig"]) : new MessageConfigEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - - static fromJS(data: any): CreateOrUpdateMessageConfigInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateMessageConfigInput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["messageConfig"] = this.messageConfig ? this.messageConfig.toJSON() : undefined; - return data; - } - - clone(): CreateOrUpdateMessageConfigInput { - const json = this.toJSON(); - let result = new CreateOrUpdateMessageConfigInput(); - result.init(json); - return result; - } -} - -export interface ICreateOrUpdateMessageConfigInput { - messageConfig: MessageConfigEditDto; } -export class CreateOrUpdateMessageRuleInput implements ICreateOrUpdateMessageRuleInput { - messageRule: MessageRuleEditDto; +export class RoleServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - constructor(data?: ICreateOrUpdateMessageRuleInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } - } - if (!data) { - this.messageRule = new MessageRuleEditDto(); - } - } + constructor(baseUrl?: string, instance?: AxiosInstance) { - init(_data?: any) { - if (_data) { - this.messageRule = _data["messageRule"] ? MessageRuleEditDto.fromJS(_data["messageRule"]) : new MessageRuleEditDto(); - } - } + this.instance = instance ? instance : axios.create(); - static fromJS(data: any): CreateOrUpdateMessageRuleInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateMessageRuleInput(); - result.init(data); - return result; - } + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["messageRule"] = this.messageRule ? this.messageRule.toJSON() : undefined; - return data; } - clone(): CreateOrUpdateMessageRuleInput { - const json = this.toJSON(); - let result = new CreateOrUpdateMessageRuleInput(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + batchDelete(body: string[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Role/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); -export interface ICreateOrUpdateMessageRuleInput { - messageRule: MessageRuleEditDto; -} + const content_ = JSON.stringify(body); -export class CreateOrUpdateMessageTemplateInput implements ICreateOrUpdateMessageTemplateInput { - messageTemplate: MessageTemplateEditDto; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateMessageTemplateInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.messageTemplate = new MessageTemplateEditDto(); - } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); } - init(_data?: any) { - if (_data) { - this.messageTemplate = _data["messageTemplate"] ? MessageTemplateEditDto.fromJS(_data["messageTemplate"]) : new MessageTemplateEditDto(); + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } - - static fromJS(data: any): CreateOrUpdateMessageTemplateInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateMessageTemplateInput(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["messageTemplate"] = this.messageTemplate ? this.messageTemplate.toJSON() : undefined; - return data; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - clone(): CreateOrUpdateMessageTemplateInput { - const json = this.toJSON(); - let result = new CreateOrUpdateMessageTemplateInput(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateRoleInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Role/CreateOrUpdate"; + url_ = url_.replace(/[?&]$/, ""); -export interface ICreateOrUpdateMessageTemplateInput { - messageTemplate: MessageTemplateEditDto; -} + const content_ = JSON.stringify(body); -/** 新增或编辑角色输入 */ -export class CreateOrUpdateRoleInput implements ICreateOrUpdateRoleInput { - role: RoleEditDto; - /** 授权权限名称 */ - grantedPermissionNames: string[]; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateRoleInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.role = new RoleEditDto(); - this.grantedPermissionNames = []; - } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdate(_response); + }); } - init(_data?: any) { - if (_data) { - this.role = _data["role"] ? RoleEditDto.fromJS(_data["role"]) : new RoleEditDto(); - if (Array.isArray(_data["grantedPermissionNames"])) { - this.grantedPermissionNames = [] as any; - for (let item of _data["grantedPermissionNames"]) - this.grantedPermissionNames.push(item); + protected processCreateOrUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } - - static fromJS(data: any): CreateOrUpdateRoleInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateRoleInput(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["role"] = this.role ? this.role.toJSON() : undefined; - if (Array.isArray(this.grantedPermissionNames)) { - data["grantedPermissionNames"] = []; - for (let item of this.grantedPermissionNames) - data["grantedPermissionNames"].push(item); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return data; + return Promise.resolve(null as any); } - clone(): CreateOrUpdateRoleInput { - const json = this.toJSON(); - let result = new CreateOrUpdateRoleInput(); - result.init(json); - return result; - } -} + /** + * @param id (optional) + * @return Success + */ + delete(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Role/Delete?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); -/** 新增或编辑角色输入 */ -export interface ICreateOrUpdateRoleInput { - role: RoleEditDto; - /** 授权权限名称 */ - grantedPermissionNames: string[]; -} + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; -export class CreateOrUpdateSysDataBaseInput implements ICreateOrUpdateSysDataBaseInput { - sysDataBase: SysDataBaseEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } - constructor(data?: ICreateOrUpdateSysDataBaseInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.sysDataBase = new SysDataBaseEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.sysDataBase = _data["sysDataBase"] ? SysDataBaseEditDto.fromJS(_data["sysDataBase"]) : new SysDataBaseEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateSysDataBaseInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateSysDataBaseInput(); - result.init(data); - return result; - } + /** + * @param permission (optional) + * @return Success + */ + getAll(permission: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Role/GetAll?"; + if (permission !== undefined && permission !== null) + url_ += "permission=" + encodeURIComponent("" + permission) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["sysDataBase"] = this.sysDataBase ? this.sysDataBase.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CreateOrUpdateSysDataBaseInput { - const json = this.toJSON(); - let result = new CreateOrUpdateSysDataBaseInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetAll(_response); + }); } -} - -export interface ICreateOrUpdateSysDataBaseInput { - sysDataBase: SysDataBaseEditDto; -} - -export class CreateOrUpdateSysEnumKeyInput implements ICreateOrUpdateSysEnumKeyInput { - sysEnumKey: SysEnumKeyEditDto; - constructor(data?: ICreateOrUpdateSysEnumKeyInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetAll(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.sysEnumKey = new SysEnumKeyEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ListResultDtoOfRoleListDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.sysEnumKey = _data["sysEnumKey"] ? SysEnumKeyEditDto.fromJS(_data["sysEnumKey"]) : new SysEnumKeyEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateSysEnumKeyInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateSysEnumKeyInput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["sysEnumKey"] = this.sysEnumKey ? this.sysEnumKey.toJSON() : undefined; - return data; - } - - clone(): CreateOrUpdateSysEnumKeyInput { - const json = this.toJSON(); - let result = new CreateOrUpdateSysEnumKeyInput(); - result.init(json); - return result; - } -} - -export interface ICreateOrUpdateSysEnumKeyInput { - sysEnumKey: SysEnumKeyEditDto; -} + /** + * @param id (optional) + * @return Success + */ + getForEdit(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Role/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); -/** 用户信息新增和编辑时用Dto */ -export class CreateOrUpdateUserInput implements ICreateOrUpdateUserInput { - user: UserEditDto; - /** 授权的角色 */ - assignedRoleNames: string[]; - /** 所在的组织机构的ID */ - organizationUnits: string[] | undefined; - /** 发送激活邮件 */ - sendActivationEmail: boolean; - /** 设置随机密码 */ - setRandomPassword: boolean; + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: ICreateOrUpdateUserInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } - if (!data) { - this.assignedRoleNames = []; - } + }).then((_response: AxiosResponse) => { + return this.processGetForEdit(_response); + }); } - init(_data?: any) { - if (_data) { - this.user = _data["user"] ? UserEditDto.fromJS(_data["user"]) : undefined; - if (Array.isArray(_data["assignedRoleNames"])) { - this.assignedRoleNames = [] as any; - for (let item of _data["assignedRoleNames"]) - this.assignedRoleNames.push(item); - } - if (Array.isArray(_data["organizationUnits"])) { - this.organizationUnits = [] as any; - for (let item of _data["organizationUnits"]) - this.organizationUnits.push(item); + protected processGetForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } - this.sendActivationEmail = _data["sendActivationEmail"]; - this.setRandomPassword = _data["setRandomPassword"]; } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetRoleForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); - static fromJS(data: any): CreateOrUpdateUserInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateUserInput(); - result.init(data); - return result; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["user"] = this.user ? this.user.toJSON() : undefined; - if (Array.isArray(this.assignedRoleNames)) { - data["assignedRoleNames"] = []; - for (let item of this.assignedRoleNames) - data["assignedRoleNames"].push(item); - } - if (Array.isArray(this.organizationUnits)) { - data["organizationUnits"] = []; - for (let item of this.organizationUnits) - data["organizationUnits"].push(item); - } - data["sendActivationEmail"] = this.sendActivationEmail; - data["setRandomPassword"] = this.setRandomPassword; - return data; - } - - clone(): CreateOrUpdateUserInput { - const json = this.toJSON(); - let result = new CreateOrUpdateUserInput(); - result.init(json); - return result; - } -} + /** + * @param permissionNames (optional) + * @param startTime (optional) + * @param endTime (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) + * @return Success + */ + getPaged(permissionNames: string[] | null | undefined, startTime: moment.Moment | null | undefined, endTime: moment.Moment | null | undefined, filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Role/GetPaged?"; + if (permissionNames !== undefined && permissionNames !== null) + permissionNames && permissionNames.forEach(item => { url_ += "permissionNames=" + encodeURIComponent("" + item) + "&"; }); + if (startTime !== undefined && startTime !== null) + url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&"; + if (endTime !== undefined && endTime !== null) + url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); -/** 用户信息新增和编辑时用Dto */ -export interface ICreateOrUpdateUserInput { - user: UserEditDto; - /** 授权的角色 */ - assignedRoleNames: string[]; - /** 所在的组织机构的ID */ - organizationUnits: string[] | undefined; - /** 发送激活邮件 */ - sendActivationEmail: boolean; - /** 设置随机密码 */ - setRandomPassword: boolean; -} + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; -/** 创建或更新微信小程序配置 */ -export class CreateOrUpdateWechatAppConfigInput implements ICreateOrUpdateWechatAppConfigInput { - wechatAppConfig: WechatAppConfigEditDto; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); + } - constructor(data?: ICreateOrUpdateWechatAppConfigInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - if (!data) { - this.wechatAppConfig = new WechatAppConfigEditDto(); - } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfRoleListDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.wechatAppConfig = _data["wechatAppConfig"] ? WechatAppConfigEditDto.fromJS(_data["wechatAppConfig"]) : new WechatAppConfigEditDto(); + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrUpdateWechatAppConfigInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrUpdateWechatAppConfigInput(); - result.init(data); - return result; - } + /** + * @param id (optional) + * @return Success + */ + getRoleForEdit(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Role/GetRoleForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["wechatAppConfig"] = this.wechatAppConfig ? this.wechatAppConfig.toJSON() : undefined; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CreateOrUpdateWechatAppConfigInput { - const json = this.toJSON(); - let result = new CreateOrUpdateWechatAppConfigInput(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetRoleForEdit(_response); + }); } -} - -/** 创建或更新微信小程序配置 */ -export interface ICreateOrUpdateWechatAppConfigInput { - wechatAppConfig: WechatAppConfigEditDto; -} - -/** 创建组织单元 */ -export class CreateOrganizationUnitInput implements ICreateOrganizationUnitInput { - /** 父节点Id */ - parentId: string | undefined; - /** 显示名称 */ - displayName: string; - constructor(data?: ICreateOrganizationUnitInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetRoleForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetRoleForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.parentId = _data["parentId"]; - this.displayName = _data["displayName"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CreateOrganizationUnitInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateOrganizationUnitInput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["parentId"] = this.parentId; - data["displayName"] = this.displayName; - return data; - } + /** + * @param body (optional) + * @return Success + */ + updatePermissions(body: UpdateRolePermissionsInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Role/UpdatePermissions"; + url_ = url_.replace(/[?&]$/, ""); - clone(): CreateOrganizationUnitInput { - const json = this.toJSON(); - let result = new CreateOrganizationUnitInput(); - result.init(json); - return result; - } -} + const content_ = JSON.stringify(body); -/** 创建组织单元 */ -export interface ICreateOrganizationUnitInput { - /** 父节点Id */ - parentId: string | undefined; - /** 显示名称 */ - displayName: string; -} + let options_: AxiosRequestConfig = { + data: content_, + method: "PUT", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; -/** 创建租户的DTO信息 */ -export class CreateTenantDto implements ICreateTenantDto { - /** 全局唯一的租户Id */ - tenancyName: string; - /** 租户名称 */ - name: string; - /** 用户名 */ - userName: string | undefined; - /** 管理员邮箱地址 */ - adminEmailAddress: string; - /** 连接字符串 */ - connectionString: string | undefined; - /** 是否激活 */ - isActive: boolean; - /** 验证码 */ - verificationCode: string | undefined; - /** 租户管理员密码 */ - tenantAdminPassword: string | undefined; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUpdatePermissions(_response); + }); + } - constructor(data?: ICreateTenantDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processUpdatePermissions(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.tenancyName = _data["tenancyName"]; - this.name = _data["name"]; - this.userName = _data["userName"]; - this.adminEmailAddress = _data["adminEmailAddress"]; - this.connectionString = _data["connectionString"]; - this.isActive = _data["isActive"]; - this.verificationCode = _data["verificationCode"]; - this.tenantAdminPassword = _data["tenantAdminPassword"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } +} - static fromJS(data: any): CreateTenantDto { - data = typeof data === 'object' ? data : {}; - let result = new CreateTenantDto(); - result.init(data); - return result; - } +export class SessionServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["tenancyName"] = this.tenancyName; - data["name"] = this.name; - data["userName"] = this.userName; - data["adminEmailAddress"] = this.adminEmailAddress; - data["connectionString"] = this.connectionString; - data["isActive"] = this.isActive; - data["verificationCode"] = this.verificationCode; - data["tenantAdminPassword"] = this.tenantAdminPassword; - return data; - } + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - clone(): CreateTenantDto { - const json = this.toJSON(); - let result = new CreateTenantDto(); - result.init(json); - return result; } -} -/** 创建租户的DTO信息 */ -export interface ICreateTenantDto { - /** 全局唯一的租户Id */ - tenancyName: string; - /** 租户名称 */ - name: string; - /** 用户名 */ - userName: string | undefined; - /** 管理员邮箱地址 */ - adminEmailAddress: string; - /** 连接字符串 */ - connectionString: string | undefined; - /** 是否激活 */ - isActive: boolean; - /** 验证码 */ - verificationCode: string | undefined; - /** 租户管理员密码 */ - tenantAdminPassword: string | undefined; -} + /** + * @return Success + */ + getCurrentLoginInformations( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Session/GetCurrentLoginInformations"; + url_ = url_.replace(/[?&]$/, ""); -/** 创建租户 */ -export class CreateTenantInput implements ICreateTenantInput { - /** 租户名称 */ - tenancyName: string; - /** 名称 */ - name: string; - /** 管理员邮箱地址 */ - adminEmailAddress: string; - /** 管理员密码 */ - adminPassword: string | undefined; - /** 连接字符串 */ - connectionString: string | undefined; - /** 下次登陆需要修改密码 */ - shouldChangePasswordOnNextLogin: boolean; - /** 发送激活邮件 */ - sendActivationEmail: boolean; - /** 版本Id */ - editionId: string | undefined; - /** 是否激活 */ - isActive: boolean; - /** 订阅接受时间 */ - subscriptionEndUtc: moment.Moment | undefined; - /** 是否在试用期 */ - isInTrialPeriod: boolean; + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - constructor(data?: ICreateTenantInput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processGetCurrentLoginInformations(_response); + }); } - init(_data?: any) { - if (_data) { - this.tenancyName = _data["tenancyName"]; - this.name = _data["name"]; - this.adminEmailAddress = _data["adminEmailAddress"]; - this.adminPassword = _data["adminPassword"]; - this.connectionString = _data["connectionString"]; - this.shouldChangePasswordOnNextLogin = _data["shouldChangePasswordOnNextLogin"]; - this.sendActivationEmail = _data["sendActivationEmail"]; - this.editionId = _data["editionId"]; - this.isActive = _data["isActive"]; - this.subscriptionEndUtc = _data["subscriptionEndUtc"] ? moment(_data["subscriptionEndUtc"].toString()) : undefined; - this.isInTrialPeriod = _data["isInTrialPeriod"]; + protected processGetCurrentLoginInformations(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } - - static fromJS(data: any): CreateTenantInput { - data = typeof data === 'object' ? data : {}; - let result = new CreateTenantInput(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetCurrentLoginInformationsOutput.fromJS(resultData200); + return Promise.resolve(result200); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["tenancyName"] = this.tenancyName; - data["name"] = this.name; - data["adminEmailAddress"] = this.adminEmailAddress; - data["adminPassword"] = this.adminPassword; - data["connectionString"] = this.connectionString; - data["shouldChangePasswordOnNextLogin"] = this.shouldChangePasswordOnNextLogin; - data["sendActivationEmail"] = this.sendActivationEmail; - data["editionId"] = this.editionId; - data["isActive"] = this.isActive; - data["subscriptionEndUtc"] = this.subscriptionEndUtc ? this.subscriptionEndUtc.toISOString() : undefined; - data["isInTrialPeriod"] = this.isInTrialPeriod; - return data; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - clone(): CreateTenantInput { - const json = this.toJSON(); - let result = new CreateTenantInput(); - result.init(json); - return result; - } -} + /** + * @return Success + */ + getUserConfigurations( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Session/GetUserConfigurations"; + url_ = url_.replace(/[?&]$/, ""); -/** 创建租户 */ -export interface ICreateTenantInput { - /** 租户名称 */ - tenancyName: string; - /** 名称 */ - name: string; - /** 管理员邮箱地址 */ - adminEmailAddress: string; - /** 管理员密码 */ - adminPassword: string | undefined; - /** 连接字符串 */ - connectionString: string | undefined; - /** 下次登陆需要修改密码 */ - shouldChangePasswordOnNextLogin: boolean; - /** 发送激活邮件 */ - sendActivationEmail: boolean; - /** 版本Id */ - editionId: string | undefined; - /** 是否激活 */ - isActive: boolean; - /** 订阅接受时间 */ - subscriptionEndUtc: moment.Moment | undefined; - /** 是否在试用期 */ - isInTrialPeriod: boolean; -} + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; -export class CrewImportDto implements ICrewImportDto { - /** 班组代码 */ - crewCode: string; - /** 班组名称 */ - crewName: string; - /** 班组描述 */ - crewDesc: string | undefined; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetUserConfigurations(_response); + }); + } - constructor(data?: ICrewImportDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetUserConfigurations(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = AbpUserConfigurationDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.crewCode = _data["crewCode"]; - this.crewName = _data["crewName"]; - this.crewDesc = _data["crewDesc"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): CrewImportDto { - data = typeof data === 'object' ? data : {}; - let result = new CrewImportDto(); - result.init(data); - return result; - } + /** + * @return Success + */ + updateUserSignInToken( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Session/UpdateUserSignInToken"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["crewCode"] = this.crewCode; - data["crewName"] = this.crewName; - data["crewDesc"] = this.crewDesc; - return data; - } + let options_: AxiosRequestConfig = { + method: "PUT", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): CrewImportDto { - const json = this.toJSON(); - let result = new CrewImportDto(); - result.init(json); - return result; - } -} - -export interface ICrewImportDto { - /** 班组代码 */ - crewCode: string; - /** 班组名称 */ - crewName: string; - /** 班组描述 */ - crewDesc: string | undefined; -} - -/** 当前用户信息编辑 */ -export class CurrentUserProfileEditDto implements ICurrentUserProfileEditDto { - /** 用户名 */ - userName: string; - /** 全名 */ - fullName: string | undefined; - /** 邮件地址 */ - emailAddress: string | undefined; - /** 电话号码 */ - phoneNumber: string | undefined; - /** 简介图片编号 */ - profilePictureId: string | undefined; - /** 电话号码是否确认 */ - isPhoneNumberConfirmed: boolean; - /** 时区 */ - timezone: string | undefined; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUpdateUserSignInToken(_response); + }); + } - constructor(data?: ICurrentUserProfileEditDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processUpdateUserSignInToken(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = UpdateUserSignInTokenOutput.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.userName = _data["userName"]; - this.fullName = _data["fullName"]; - this.emailAddress = _data["emailAddress"]; - this.phoneNumber = _data["phoneNumber"]; - this.profilePictureId = _data["profilePictureId"]; - this.isPhoneNumberConfirmed = _data["isPhoneNumberConfirmed"]; - this.timezone = _data["timezone"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } +} - static fromJS(data: any): CurrentUserProfileEditDto { - data = typeof data === 'object' ? data : {}; - let result = new CurrentUserProfileEditDto(); - result.init(data); - return result; - } +export class SysDataBaseServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["userName"] = this.userName; - data["fullName"] = this.fullName; - data["emailAddress"] = this.emailAddress; - data["phoneNumber"] = this.phoneNumber; - data["profilePictureId"] = this.profilePictureId; - data["isPhoneNumberConfirmed"] = this.isPhoneNumberConfirmed; - data["timezone"] = this.timezone; - return data; - } + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; - clone(): CurrentUserProfileEditDto { - const json = this.toJSON(); - let result = new CurrentUserProfileEditDto(); - result.init(json); - return result; } -} -/** 当前用户信息编辑 */ -export interface ICurrentUserProfileEditDto { - /** 用户名 */ - userName: string; - /** 全名 */ - fullName: string | undefined; - /** 邮件地址 */ - emailAddress: string | undefined; - /** 电话号码 */ - phoneNumber: string | undefined; - /** 简介图片编号 */ - profilePictureId: string | undefined; - /** 电话号码是否确认 */ - isPhoneNumberConfirmed: boolean; - /** 时区 */ - timezone: string | undefined; -} + /** + * @param body (optional) + * @return Success + */ + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysDataBase/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); -export class DataRowErrorInfo implements IDataRowErrorInfo { - rowIndex: number; - fieldErrors: { [key: string]: string; } | undefined; + const content_ = JSON.stringify(body); - constructor(data?: IDataRowErrorInfo) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); } - init(_data?: any) { - if (_data) { - this.rowIndex = _data["rowIndex"]; - if (_data["fieldErrors"]) { - this.fieldErrors = {} as any; - for (let key in _data["fieldErrors"]) { - if (_data["fieldErrors"].hasOwnProperty(key)) - (this.fieldErrors)[key] = _data["fieldErrors"][key]; + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; } } } - } - - static fromJS(data: any): DataRowErrorInfo { - data = typeof data === 'object' ? data : {}; - let result = new DataRowErrorInfo(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["rowIndex"] = this.rowIndex; - if (this.fieldErrors) { - data["fieldErrors"] = {}; - for (let key in this.fieldErrors) { - if (this.fieldErrors.hasOwnProperty(key)) - (data["fieldErrors"])[key] = (this.fieldErrors)[key]; - } + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } - return data; + return Promise.resolve(null as any); } - clone(): DataRowErrorInfo { - const json = this.toJSON(); - let result = new DataRowErrorInfo(); - result.init(json); - return result; - } -} + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateSysDataBaseInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysDataBase/CreateOrUpdate"; + url_ = url_.replace(/[?&]$/, ""); -export interface IDataRowErrorInfo { - rowIndex: number; - fieldErrors: { [key: string]: string; } | undefined; -} + const content_ = JSON.stringify(body); -export class DctImportDto implements IDctImportDto { - /** DCT指令 */ - dctCode: string; - /** 指令名称 */ - dctName: string; - /** 指令描述 */ - dctDesc: string | undefined; + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; - constructor(data?: IDctImportDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; } - } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdate(_response); + }); } - init(_data?: any) { - if (_data) { - this.dctCode = _data["dctCode"]; - this.dctName = _data["dctName"]; - this.dctDesc = _data["dctDesc"]; + protected processCreateOrUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } } - } - - static fromJS(data: any): DctImportDto { - data = typeof data === 'object' ? data : {}; - let result = new DctImportDto(); - result.init(data); - return result; - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["dctCode"] = this.dctCode; - data["dctName"] = this.dctName; - data["dctDesc"] = this.dctDesc; - return data; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); } - clone(): DctImportDto { - const json = this.toJSON(); - let result = new DctImportDto(); - result.init(json); - return result; - } -} + /** + * @param id (optional) + * @return Success + */ + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysDataBase/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); -export interface IDctImportDto { - /** DCT指令 */ - dctCode: string; - /** 指令名称 */ - dctName: string; - /** 指令描述 */ - dctDesc: string | undefined; -} + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; -export class DynamicColumnConfigDto implements IDynamicColumnConfigDto { - /** 菜单代码 */ - menuCode: string; - /** 角色 */ - roleID: string; - /** 列信息 */ - columnInfo: string; - /** 模型 */ - dtoName: string; - /** 命名空间 */ - nameSpace: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } - constructor(data?: IDynamicColumnConfigDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); - init(_data?: any) { - if (_data) { - this.menuCode = _data["menuCode"]; - this.roleID = _data["roleID"]; - this.columnInfo = _data["columnInfo"]; - this.dtoName = _data["dtoName"]; - this.nameSpace = _data["nameSpace"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): DynamicColumnConfigDto { - data = typeof data === 'object' ? data : {}; - let result = new DynamicColumnConfigDto(); - result.init(data); - return result; - } + /** + * @param id (optional) + * @return Success + */ + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysDataBase/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["menuCode"] = this.menuCode; - data["roleID"] = this.roleID; - data["columnInfo"] = this.columnInfo; - data["dtoName"] = this.dtoName; - data["nameSpace"] = this.nameSpace; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): DynamicColumnConfigDto { - const json = this.toJSON(); - let result = new DynamicColumnConfigDto(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetById(_response); + }); } -} - -export interface IDynamicColumnConfigDto { - /** 菜单代码 */ - menuCode: string; - /** 角色 */ - roleID: string; - /** 列信息 */ - columnInfo: string; - /** 模型 */ - dtoName: string; - /** 命名空间 */ - nameSpace: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; -} - -export class DynamicColumnDto implements IDynamicColumnDto { - key: string | undefined; - column: string | undefined; - columnName: string | undefined; - isDisplay: boolean; - displayText: string | undefined; - constructor(data?: IDynamicColumnDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + protected processGetById(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } } } - } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = SysDataBaseListDto.fromJS(resultData200); + return Promise.resolve(result200); - init(_data?: any) { - if (_data) { - this.key = _data["key"]; - this.column = _data["column"]; - this.columnName = _data["columnName"]; - this.isDisplay = _data["isDisplay"]; - this.displayText = _data["displayText"]; + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); } + return Promise.resolve(null as any); } - static fromJS(data: any): DynamicColumnDto { - data = typeof data === 'object' ? data : {}; - let result = new DynamicColumnDto(); - result.init(data); - return result; - } + /** + * @param id (optional) + * @return Success + */ + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysDataBase/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["column"] = this.column; - data["columnName"] = this.columnName; - data["isDisplay"] = this.isDisplay; - data["displayText"] = this.displayText; - return data; - } + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; - clone(): DynamicColumnDto { - const json = this.toJSON(); - let result = new DynamicColumnDto(); - result.init(json); - return result; + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetForEdit(_response); + }); } -} -export interface IDynamicColumnDto { - key: string | undefined; - column: string | undefined; - columnName: string | undefined; - isDisplay: boolean; - displayText: string | undefined; -} - -/** 动态菜单的列表DTO */ -export class DynamicMenuListDto implements IDynamicMenuListDto { - /** 系统菜单 */ - isSystem: boolean; - /** 父Id */ - parentId: string | undefined; - /** 组件名称 */ - name: string | undefined; - /** 编码 */ - code: string; - /** 名称 */ - text: string | undefined; - /** 权限编码 */ - permissionCode: string | undefined; - /** 图标 */ - icon: string | undefined; - /** 连接 */ + protected processGetForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetSysDataBaseForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) + * @return Success + */ + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysDataBase/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); + } + + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfSysDataBaseListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class SysEnumKeyServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param body (optional) + * @return Success + */ + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysEnumKey/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); + } + + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateSysEnumKeyInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysEnumKey/CreateOrUpdate"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdate(_response); + }); + } + + protected processCreateOrUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysEnumKey/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } + + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysEnumKey/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetById(_response); + }); + } + + protected processGetById(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = SysEnumKeyListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param value (optional) + * @return Success + */ + getEnumValueList(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysEnumKey/GetEnumValueList?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetEnumValueList(_response); + }); + } + + protected processGetEnumValueList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SysEnumValueListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysEnumKey/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetForEdit(_response); + }); + } + + protected processGetForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetSysEnumKeyForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) + * @return Success + */ + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysEnumKey/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); + } + + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfSysEnumKeyListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) + * @return Success + */ + getPaged2(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysEnumKey/GetPaged2?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPaged2(_response); + }); + } + + protected processGetPaged2(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfSysEnumKeyListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class SysFileServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param body (optional) + * @return Success + */ + batchDelete(body: string[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysFile/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); + } + + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + copyFile(body: SysFileEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysFile/CopyFile"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCopyFile(_response); + }); + } + + protected processCopyFile(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = SysFileListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param parentId (optional) + * @return Success + */ + create(parentId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysFile/Create?"; + if (parentId !== undefined && parentId !== null) + url_ += "parentId=" + encodeURIComponent("" + parentId) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreate(_response); + }); + } + + protected processCreate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + createDirectory(body: SysFileEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysFile/CreateDirectory"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateDirectory(_response); + }); + } + + protected processCreateDirectory(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = SysFileListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + createReturnSysFile( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysFile/CreateReturnSysFile"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateReturnSysFile(_response); + }); + } + + protected processCreateReturnSysFile(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = SysFileListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + delete(id: string | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysFile/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } + + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getById(id: string | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysFile/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetById(_response); + }); + } + + protected processGetById(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = SysFileListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getDirectories( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysFile/GetDirectories"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetDirectories(_response); + }); + } + + protected processGetDirectories(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SysFileListDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getForEdit(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysFile/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetForEdit(_response); + }); + } + + protected processGetForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetSysFileForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param parentId (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) + * @return Success + */ + getPaged(parentId: string | null | undefined, filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysFile/GetPaged?"; + if (parentId !== undefined && parentId !== null) + url_ += "parentId=" + encodeURIComponent("" + parentId) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); + } + + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfSysFileListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + move(body: MoveSysFilesInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysFile/Move"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processMove(_response); + }); + } + + protected processMove(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = SysFileListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + reFileName(body: SysFileEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysFile/ReFileName"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processReFileName(_response); + }); + } + + protected processReFileName(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + update(body: SysFileEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysFile/Update"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "PUT", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUpdate(_response); + }); + } + + protected processUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class SysLabelServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param body (optional) + * @return Success + */ + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabel/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); + } + + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateSysLabelInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabel/CreateOrUpdate"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdate(_response); + }); + } + + protected processCreateOrUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabel/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } + + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabel/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetById(_response); + }); + } + + protected processGetById(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = SysLabelListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabel/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetForEdit(_response); + }); + } + + protected processGetForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetSysLabelForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) + * @return Success + */ + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabel/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); + } + + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfSysLabelListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param input (optional) + * @return Success + */ + selectLabels(input: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabel/SelectLabels?"; + if (input !== undefined && input !== null) + url_ += "input=" + encodeURIComponent("" + input) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSelectLabels(_response); + }); + } + + protected processSelectLabels(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + selectLabelTypes( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabel/SelectLabelTypes"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSelectLabelTypes(_response); + }); + } + + protected processSelectLabelTypes(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + uploadTemplateFile(body: SysLabelListDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabel/UploadTemplateFile"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUploadTemplateFile(_response); + }); + } + + protected processUploadTemplateFile(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class SysLabelDataSourceServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param body (optional) + * @return Success + */ + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabelDataSource/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); + } + + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateSysLabelDataSourceInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabelDataSource/CreateOrUpdate"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdate(_response); + }); + } + + protected processCreateOrUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabelDataSource/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } + + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getAllLabelDataSourceList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabelDataSource/GetAllLabelDataSourceList"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetAllLabelDataSourceList(_response); + }); + } + + protected processGetAllLabelDataSourceList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabelDataSource/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetById(_response); + }); + } + + protected processGetById(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = SysLabelDataSourceListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabelDataSource/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetForEdit(_response); + }); + } + + protected processGetForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetSysLabelDataSourceForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) + * @return Success + */ + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabelDataSource/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); + } + + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfSysLabelDataSourceListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class SysLabelRuleServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param body (optional) + * @return Success + */ + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabelRule/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); + } + + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateSysLabelRuleInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabelRule/CreateOrUpdate"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdate(_response); + }); + } + + protected processCreateOrUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabelRule/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } + + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabelRule/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetById(_response); + }); + } + + protected processGetById(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = SysLabelRuleListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabelRule/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetForEdit(_response); + }); + } + + protected processGetForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetSysLabelRuleForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) + * @return Success + */ + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysLabelRule/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); + } + + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfSysLabelRuleListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class SystemServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @return Success + */ + getCurrentUserRole( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/System/GetCurrentUserRole"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetCurrentUserRole(_response); + }); + } + + protected processGetCurrentUserRole(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getCurrentUserRole2( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/System/GetCurrentUserRole2"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetCurrentUserRole2(_response); + }); + } + + protected processGetCurrentUserRole2(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(UserRoleByUserIDDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getUserList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/System/GetUserList"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetUserList(_response); + }); + } + + protected processGetUserList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(SelectItemExt.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + queryBusinessSetting( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/System/QueryBusinessSetting"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processQueryBusinessSetting(_response); + }); + } + + protected processQueryBusinessSetting(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = StringDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + queryDepartmentUserList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/System/QueryDepartmentUserList"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processQueryDepartmentUserList(_response); + }); + } + + protected processQueryDepartmentUserList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(item); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + queryRoleUserList( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/System/QueryRoleUserList"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processQueryRoleUserList(_response); + }); + } + + protected processQueryRoleUserList(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(item); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + saveBusinessSetting(body: StringDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/System/SaveBusinessSetting"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSaveBusinessSetting(_response); + }); + } + + protected processSaveBusinessSetting(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = SysParameterSettingDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class SysUserInfoServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param body (optional) + * @return Success + */ + batchDelete(body: number[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysUserInfo/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); + } + + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateSysUserInfoInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysUserInfo/CreateOrUpdate"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdate(_response); + }); + } + + protected processCreateOrUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + delete(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysUserInfo/Delete?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } + + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getById(id: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysUserInfo/GetById?"; + if (id === null) + throw new Error("The parameter 'id' cannot be null."); + else if (id !== undefined) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetById(_response); + }); + } + + protected processGetById(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = SysUserInfoListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getForEdit(id: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysUserInfo/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetForEdit(_response); + }); + } + + protected processGetForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetSysUserInfoForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param maxResultCount (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param skipCount (optional) + * @return Success + */ + getPaged(maxResultCount: number | undefined, filterText: string | null | undefined, sorting: string | null | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysUserInfo/GetPaged?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); + } + + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfSysUserInfoListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param value (optional) + * @return Success + */ + getSysUserInfo(value: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/SysUserInfo/GetSysUserInfo?"; + if (value !== undefined && value !== null) + url_ += "value=" + encodeURIComponent("" + value) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetSysUserInfo(_response); + }); + } + + protected processGetSysUserInfo(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = SysUserInfoListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class TenantServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param body (optional) + * @return Success + */ + batchDelete(body: EntityDto[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Tenant/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); + } + + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + create(body: CreateTenantInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Tenant/Create"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreate(_response); + }); + } + + protected processCreate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + delete(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Tenant/Delete?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } + + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getForEdit(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Tenant/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetForEdit(_response); + }); + } + + protected processGetForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = TenantEditDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param subscriptionStart (optional) + * @param subscriptionEnd (optional) + * @param creationDateStart (optional) + * @param creationDateEnd (optional) + * @param editionId (optional) + * @param filterText (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) + * @return Success + */ + getPaged(subscriptionStart: moment.Moment | null | undefined, subscriptionEnd: moment.Moment | null | undefined, creationDateStart: moment.Moment | null | undefined, creationDateEnd: moment.Moment | null | undefined, editionId: string | null | undefined, filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Tenant/GetPaged"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = new FormData(); + if (subscriptionStart !== null && subscriptionStart !== undefined) + content_.append("subscriptionStart", subscriptionStart.toJSON()); + if (subscriptionEnd !== null && subscriptionEnd !== undefined) + content_.append("subscriptionEnd", subscriptionEnd.toJSON()); + if (creationDateStart !== null && creationDateStart !== undefined) + content_.append("creationDateStart", creationDateStart.toJSON()); + if (creationDateEnd !== null && creationDateEnd !== undefined) + content_.append("creationDateEnd", creationDateEnd.toJSON()); + if (editionId !== null && editionId !== undefined) + content_.append("editionId", editionId.toString()); + if (filterText !== null && filterText !== undefined) + content_.append("filterText", filterText.toString()); + if (sorting !== null && sorting !== undefined) + content_.append("sorting", sorting.toString()); + if (maxResultCount === null || maxResultCount === undefined) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else + content_.append("maxResultCount", maxResultCount.toString()); + if (skipCount === null || skipCount === undefined) + throw new Error("The parameter 'skipCount' cannot be null."); + else + content_.append("skipCount", skipCount.toString()); + + let options_: AxiosRequestConfig = { + data: content_, + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); + } + + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfTenantListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getTenantFeaturesForEdit(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Tenant/GetTenantFeaturesForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetTenantFeaturesForEdit(_response); + }); + } + + protected processGetTenantFeaturesForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetTenantFeaturesEditOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + resetTenantSpecificFeatures(body: EntityDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Tenant/ResetTenantSpecificFeatures"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processResetTenantSpecificFeatures(_response); + }); + } + + protected processResetTenantSpecificFeatures(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + unlockTenantAdmin(body: EntityDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Tenant/UnlockTenantAdmin"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUnlockTenantAdmin(_response); + }); + } + + protected processUnlockTenantAdmin(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + update(body: TenantEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Tenant/Update"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "PUT", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUpdate(_response); + }); + } + + protected processUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + updateTenantFeatures(body: UpdateTenantFeaturesInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Tenant/UpdateTenantFeatures"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "PUT", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUpdateTenantFeatures(_response); + }); + } + + protected processUpdateTenantFeatures(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class TenantDashboardServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @return Success + */ + getDailySales( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantDashboard/GetDailySales"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetDailySales(_response); + }); + } + + protected processGetDailySales(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetDailySalesOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getDashboardData(salesSummaryDatePeriod: SalesSummaryDatePeriod, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantDashboard/GetDashboardData?"; + if (salesSummaryDatePeriod === undefined || salesSummaryDatePeriod === null) + throw new Error("The parameter 'salesSummaryDatePeriod' must be defined and cannot be null."); + else + url_ += "salesSummaryDatePeriod=" + encodeURIComponent("" + salesSummaryDatePeriod) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetDashboardData(_response); + }); + } + + protected processGetDashboardData(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetDashboardDataOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getGeneralStats( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantDashboard/GetGeneralStats"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetGeneralStats(_response); + }); + } + + protected processGetGeneralStats(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetGeneralStatsOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getMemberActivity( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantDashboard/GetMemberActivity"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetMemberActivity(_response); + }); + } + + protected processGetMemberActivity(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetMemberActivityOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getProfitShare( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantDashboard/GetProfitShare"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetProfitShare(_response); + }); + } + + protected processGetProfitShare(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetProfitShareOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getRegionalStats( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantDashboard/GetRegionalStats"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetRegionalStats(_response); + }); + } + + protected processGetRegionalStats(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetRegionalStatsOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getSalesSummary(salesSummaryDatePeriod: SalesSummaryDatePeriod, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantDashboard/GetSalesSummary?"; + if (salesSummaryDatePeriod === undefined || salesSummaryDatePeriod === null) + throw new Error("The parameter 'salesSummaryDatePeriod' must be defined and cannot be null."); + else + url_ += "salesSummaryDatePeriod=" + encodeURIComponent("" + salesSummaryDatePeriod) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetSalesSummary(_response); + }); + } + + protected processGetSalesSummary(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetSalesSummaryOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getTopStats( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantDashboard/GetTopStats"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetTopStats(_response); + }); + } + + protected processGetTopStats(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetTopStatsOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class TenantRegistrationServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param body (optional) + * @return Success + */ + registerTenant(body: CreateTenantDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantRegistration/RegisterTenant"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processRegisterTenant(_response); + }); + } + + protected processRegisterTenant(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = RegisterTenantResultDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class TenantSettingsServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @return Success + */ + clearCustomCss( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantSettings/ClearCustomCss"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processClearCustomCss(_response); + }); + } + + protected processClearCustomCss(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + clearLogo( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantSettings/ClearLogo"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processClearLogo(_response); + }); + } + + protected processClearLogo(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getAllSettings( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantSettings/GetAllSettings"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetAllSettings(_response); + }); + } + + protected processGetAllSettings(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = TenantSettingsEditDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getDataFile( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantSettings/GetDataFile"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetDataFile(_response); + }); + } + + protected processGetDataFile(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = SiteSettingsEditDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getProjectConfig( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantSettings/GetProjectConfig"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetProjectConfig(_response); + }); + } + + protected processGetProjectConfig(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param msg (optional) + * @param tenantId (optional) + * @param userId (optional) + * @return Success + */ + sendNoticeToUser(msg: string | null | undefined, tenantId: string | null | undefined, userId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantSettings/SendNoticeToUser?"; + if (msg !== undefined && msg !== null) + url_ += "msg=" + encodeURIComponent("" + msg) + "&"; + if (tenantId !== undefined && tenantId !== null) + url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; + if (userId !== undefined && userId !== null) + url_ += "userId=" + encodeURIComponent("" + userId) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSendNoticeToUser(_response); + }); + } + + protected processSendNoticeToUser(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + sendTestEmail(body: SendTestEmailInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantSettings/SendTestEmail"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSendTestEmail(_response); + }); + } + + protected processSendTestEmail(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + updateAllSettings(body: TenantSettingsEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantSettings/UpdateAllSettings"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "PUT", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUpdateAllSettings(_response); + }); + } + + protected processUpdateAllSettings(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + updateProjectConfig(body: ProjectConfigEditDto | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/TenantSettings/UpdateProjectConfig"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUpdateProjectConfig(_response); + }); + } + + protected processUpdateProjectConfig(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class TimingServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param selectedTimezoneId (optional) + * @return Success + */ + getTimezoneComboboxItems(selectedTimezoneId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Timing/GetTimezoneComboboxItems?"; + if (selectedTimezoneId !== undefined && selectedTimezoneId !== null) + url_ += "selectedTimezoneId=" + encodeURIComponent("" + selectedTimezoneId) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetTimezoneComboboxItems(_response); + }); + } + + protected processGetTimezoneComboboxItems(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(ComboboxItemDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getTimezones(defaultTimezoneScope: SettingScopes, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/Timing/GetTimezones?"; + if (defaultTimezoneScope === undefined || defaultTimezoneScope === null) + throw new Error("The parameter 'defaultTimezoneScope' must be defined and cannot be null."); + else + url_ += "defaultTimezoneScope=" + encodeURIComponent("" + defaultTimezoneScope) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetTimezones(_response); + }); + } + + protected processGetTimezones(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ListResultDtoOfNameValueDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class UserServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param body (optional) + * @return Success + */ + batchDelete(body: string[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/User/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); + } + + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateUserInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/User/CreateOrUpdate"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdate(_response); + }); + } + + protected processCreateOrUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = UserEditDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + delete(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/User/Delete?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } + + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getForEditTree(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/User/GetForEditTree?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetForEditTree(_response); + }); + } + + protected processGetForEditTree(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetUserForEditTreeOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getOnlineUserCount( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/User/GetOnlineUserCount"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetOnlineUserCount(_response); + }); + } + + protected processGetOnlineUserCount(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + getPaged(body: GetUsersInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/User/GetPaged"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); + } + + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfUserListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getPermissionsTreeForEdit(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/User/GetPermissionsTreeForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPermissionsTreeForEdit(_response); + }); + } + + protected processGetPermissionsTreeForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetUserPermissionsTreeForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + resetPassword(body: EntityDtoOfString | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/User/ResetPassword"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processResetPassword(_response); + }); + } + + protected processResetPassword(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + resetSpecificPermissions(body: EntityDtoOfString | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/User/ResetSpecificPermissions"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processResetSpecificPermissions(_response); + }); + } + + protected processResetSpecificPermissions(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + unlock(body: EntityDtoOfString | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/User/Unlock"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUnlock(_response); + }); + } + + protected processUnlock(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + updatePermissions(body: UpdateUserPermissionsInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/User/UpdatePermissions"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "PUT", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUpdatePermissions(_response); + }); + } + + protected processUpdatePermissions(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class UserDefineTableServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param body (optional) + * @return Success + */ + queryUserDefineTableData(body: StringDtoEx | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/UserDefineTable/QueryUserDefineTableData"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processQueryUserDefineTableData(_response); + }); + } + + protected processQueryUserDefineTableData(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(DynamicTableDto.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class UserEmailerServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param link (optional) + * @param plainPassword (optional) + * @param body (optional) + * @return Success + */ + sendEmailActivationLink(link: string | null | undefined, plainPassword: string | null | undefined, body: User | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/UserEmailer/SendEmailActivationLink?"; + if (link !== undefined && link !== null) + url_ += "link=" + encodeURIComponent("" + link) + "&"; + if (plainPassword !== undefined && plainPassword !== null) + url_ += "plainPassword=" + encodeURIComponent("" + plainPassword) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSendEmailActivationLink(_response); + }); + } + + protected processSendEmailActivationLink(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param emailAddress (optional) + * @param code (optional) + * @return Success + */ + sendEmailAddressConfirmCode(emailAddress: string | null | undefined, code: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/UserEmailer/SendEmailAddressConfirmCode?"; + if (emailAddress !== undefined && emailAddress !== null) + url_ += "emailAddress=" + encodeURIComponent("" + emailAddress) + "&"; + if (code !== undefined && code !== null) + url_ += "code=" + encodeURIComponent("" + code) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSendEmailAddressConfirmCode(_response); + }); + } + + protected processSendEmailAddressConfirmCode(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param link (optional) + * @param body (optional) + * @return Success + */ + sendPasswordResetLink(link: string | null | undefined, body: User | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/UserEmailer/SendPasswordResetLink?"; + if (link !== undefined && link !== null) + url_ += "link=" + encodeURIComponent("" + link) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSendPasswordResetLink(_response); + }); + } + + protected processSendPasswordResetLink(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param utcNow (optional) + * @param body (optional) + * @return Success + */ + tryToSendFailedSubscriptionTerminationsEmail(utcNow: moment.Moment | undefined, body: string[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/UserEmailer/TryToSendFailedSubscriptionTerminationsEmail?"; + if (utcNow === null) + throw new Error("The parameter 'utcNow' cannot be null."); + else if (utcNow !== undefined) + url_ += "utcNow=" + encodeURIComponent(utcNow ? "" + utcNow.toISOString() : "") + "&"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processTryToSendFailedSubscriptionTerminationsEmail(_response); + }); + } + + protected processTryToSendFailedSubscriptionTerminationsEmail(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param tenantId (optional) + * @param utcNow (optional) + * @param expiringEditionId (optional) + * @return Success + */ + tryToSendSubscriptionAssignedToAnotherEmail(tenantId: string | null | undefined, utcNow: moment.Moment | undefined, expiringEditionId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/UserEmailer/TryToSendSubscriptionAssignedToAnotherEmail?"; + if (tenantId !== undefined && tenantId !== null) + url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; + if (utcNow === null) + throw new Error("The parameter 'utcNow' cannot be null."); + else if (utcNow !== undefined) + url_ += "utcNow=" + encodeURIComponent(utcNow ? "" + utcNow.toISOString() : "") + "&"; + if (expiringEditionId !== undefined && expiringEditionId !== null) + url_ += "expiringEditionId=" + encodeURIComponent("" + expiringEditionId) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processTryToSendSubscriptionAssignedToAnotherEmail(_response); + }); + } + + protected processTryToSendSubscriptionAssignedToAnotherEmail(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param tenantId (optional) + * @param utcNow (optional) + * @return Success + */ + tryToSendSubscriptionExpireEmail(tenantId: string | null | undefined, utcNow: moment.Moment | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/UserEmailer/TryToSendSubscriptionExpireEmail?"; + if (tenantId !== undefined && tenantId !== null) + url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; + if (utcNow === null) + throw new Error("The parameter 'utcNow' cannot be null."); + else if (utcNow !== undefined) + url_ += "utcNow=" + encodeURIComponent(utcNow ? "" + utcNow.toISOString() : "") + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processTryToSendSubscriptionExpireEmail(_response); + }); + } + + protected processTryToSendSubscriptionExpireEmail(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param tenantId (optional) + * @param dateToCheckRemainingDayCount (optional) + * @return Success + */ + tryToSendSubscriptionExpiringSoonEmail(tenantId: string | null | undefined, dateToCheckRemainingDayCount: moment.Moment | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/UserEmailer/TryToSendSubscriptionExpiringSoonEmail?"; + if (tenantId !== undefined && tenantId !== null) + url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; + if (dateToCheckRemainingDayCount === null) + throw new Error("The parameter 'dateToCheckRemainingDayCount' cannot be null."); + else if (dateToCheckRemainingDayCount !== undefined) + url_ += "dateToCheckRemainingDayCount=" + encodeURIComponent(dateToCheckRemainingDayCount ? "" + dateToCheckRemainingDayCount.toISOString() : "") + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processTryToSendSubscriptionExpiringSoonEmail(_response); + }); + } + + protected processTryToSendSubscriptionExpiringSoonEmail(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class UserExtensionServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param fileToken (optional) + * @return Success + */ + importUserExcel(fileToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/UserExtension/ImportUserExcel?"; + if (fileToken !== undefined && fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processImportUserExcel(_response); + }); + } + + protected processImportUserExcel(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ExcelImpDtoOfUserImportExceDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + userExtensionDownloadTemplate( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/UserExtension/UserExtensionDownloadTemplate"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUserExtensionDownloadTemplate(_response); + }); + } + + protected processUserExtensionDownloadTemplate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = FileDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class UserLinkServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param maxResultCount (optional) + * @param skipCount (optional) + * @param sorting (optional) + * @return Success + */ + getLinkedUsers(maxResultCount: number | undefined, skipCount: number | undefined, sorting: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/UserLink/GetLinkedUsers?"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetLinkedUsers(_response); + }); + } + + protected processGetLinkedUsers(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfLinkedUserDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getRecentlyUsedLinkedUsers( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/UserLink/GetRecentlyUsedLinkedUsers"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetRecentlyUsedLinkedUsers(_response); + }); + } + + protected processGetRecentlyUsedLinkedUsers(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ListResultDtoOfLinkedUserDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + linkToUser(body: LinkToUserInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/UserLink/LinkToUser"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processLinkToUser(_response); + }); + } + + protected processLinkToUser(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + unlinkUser(body: UnlinkUserInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/UserLink/UnlinkUser"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUnlinkUser(_response); + }); + } + + protected processUnlinkUser(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class UserLoginServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @return Success + */ + getRecentUserLoginAttempts( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/UserLogin/GetRecentUserLoginAttempts"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetRecentUserLoginAttempts(_response); + }); + } + + protected processGetRecentUserLoginAttempts(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ListResultDtoOfUserLoginAttemptDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class VerificationCodeServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param mailAddress (optional) + * @return Success + */ + sendMailVerificationCode(mailAddress: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/VerificationCode/SendMailVerificationCode?"; + if (mailAddress !== undefined && mailAddress !== null) + url_ += "mailAddress=" + encodeURIComponent("" + mailAddress) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSendMailVerificationCode(_response); + }); + } + + protected processSendMailVerificationCode(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param phoneNumber (optional) + * @return Success + */ + sendSmsVerificationCode(phoneNumber: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/VerificationCode/SendSmsVerificationCode?"; + if (phoneNumber !== undefined && phoneNumber !== null) + url_ += "phoneNumber=" + encodeURIComponent("" + phoneNumber) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processSendSmsVerificationCode(_response); + }); + } + + protected processSendSmsVerificationCode(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param code (optional) + * @return Success + */ + verify(code: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/VerificationCode/Verify?"; + if (code !== undefined && code !== null) + url_ += "code=" + encodeURIComponent("" + code) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processVerify(_response); + }); + } + + protected processVerify(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class WaterMarksServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param tenantId (optional) + * @return Success + */ + getWaterMark(tenantId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WaterMarks/GetWaterMark?"; + if (tenantId !== undefined && tenantId !== null) + url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetWaterMark(_response); + }); + } + + protected processGetWaterMark(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = WatermarkConfig.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param tenantId (optional) + * @param body (optional) + * @return Success + */ + updateOrCreateWaterMark(tenantId: string | null | undefined, body: WatermarkConfig | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WaterMarks/UpdateOrCreateWaterMark?"; + if (tenantId !== undefined && tenantId !== null) + url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "PUT", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processUpdateOrCreateWaterMark(_response); + }); + } + + protected processUpdateOrCreateWaterMark(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = WatermarkConfig.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class WebSiteLogServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @return Success + */ + downloadWebLogs( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WebSiteLog/DownloadWebLogs"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDownloadWebLogs(_response); + }); + } + + protected processDownloadWebLogs(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = FileDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getLatestWebLogs( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WebSiteLog/GetLatestWebLogs"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetLatestWebLogs(_response); + }); + } + + protected processGetLatestWebLogs(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetLatestWebLogsOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class WechatAppConfigServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param body (optional) + * @return Success + */ + batchDelete(body: string[] | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WechatAppConfig/BatchDelete"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processBatchDelete(_response); + }); + } + + protected processBatchDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + createOrUpdate(body: CreateOrUpdateWechatAppConfigInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WechatAppConfig/CreateOrUpdate"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateOrUpdate(_response); + }); + } + + protected processCreateOrUpdate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + delete(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WechatAppConfig/Delete?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } + + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getById(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WechatAppConfig/GetById?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetById(_response); + }); + } + + protected processGetById(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = WechatAppConfigListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param id (optional) + * @return Success + */ + getForEdit(id: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WechatAppConfig/GetForEdit?"; + if (id !== undefined && id !== null) + url_ += "id=" + encodeURIComponent("" + id) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetForEdit(_response); + }); + } + + protected processGetForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetWechatAppConfigForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param filterText (optional) + * @param sorting (optional) + * @param maxResultCount (optional) + * @param skipCount (optional) + * @return Success + */ + getPaged(filterText: string | null | undefined, sorting: string | null | undefined, maxResultCount: number | undefined, skipCount: number | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WechatAppConfig/GetPaged?"; + if (filterText !== undefined && filterText !== null) + url_ += "filterText=" + encodeURIComponent("" + filterText) + "&"; + if (sorting !== undefined && sorting !== null) + url_ += "sorting=" + encodeURIComponent("" + sorting) + "&"; + if (maxResultCount === null) + throw new Error("The parameter 'maxResultCount' cannot be null."); + else if (maxResultCount !== undefined) + url_ += "maxResultCount=" + encodeURIComponent("" + maxResultCount) + "&"; + if (skipCount === null) + throw new Error("The parameter 'skipCount' cannot be null."); + else if (skipCount !== undefined) + url_ += "skipCount=" + encodeURIComponent("" + skipCount) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetPaged(_response); + }); + } + + protected processGetPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfWechatAppConfigListDto.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param appId (optional) + * @return Success + */ + registerWechatApp(appId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WechatAppConfig/RegisterWechatApp?"; + if (appId !== undefined && appId !== null) + url_ += "appId=" + encodeURIComponent("" + appId) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processRegisterWechatApp(_response); + }); + } + + protected processRegisterWechatApp(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class WechatMediaServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @return Success + */ + createOtherrMaterial( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WechatMedia/CreateOtherrMaterial"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateOtherrMaterial(_response); + }); + } + + protected processCreateOtherrMaterial(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = resultData200 !== undefined ? resultData200 : null; + + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param appId (optional) + * @param mediaId (optional) + * @return Success + */ + delete(appId: string | null | undefined, mediaId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WechatMedia/Delete?"; + if (appId !== undefined && appId !== null) + url_ += "appId=" + encodeURIComponent("" + appId) + "&"; + if (mediaId !== undefined && mediaId !== null) + url_ += "mediaId=" + encodeURIComponent("" + mediaId) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDelete(_response); + }); + } + + protected processDelete(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + getImageTextMaterialPaged(body: GetImageTextMaterialsInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WechatMedia/GetImageTextMaterialPaged"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetImageTextMaterialPaged(_response); + }); + } + + protected processGetImageTextMaterialPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfMediaList_News_Item.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + getOtherMaterialPaged(body: GetOtherMaterialsInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WechatMedia/GetOtherMaterialPaged"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetOtherMaterialPaged(_response); + }); + } + + protected processGetOtherMaterialPaged(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = PagedResultDtoOfMediaList_Others_Item.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class WechatMenuAppSeviceServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param body (optional) + * @return Success + */ + createOrWechatEditMenu(body: CreateOrEditWechatMenuInput | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WechatMenuAppSevice/CreateOrWechatEditMenu"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processCreateOrWechatEditMenu(_response); + }); + } + + protected processCreateOrWechatEditMenu(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param appId (optional) + * @param menuConditionalId (optional) + * @return Success + */ + deleteMenuConditional(appId: string | null | undefined, menuConditionalId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WechatMenuAppSevice/DeleteMenuConditional?"; + if (appId !== undefined && appId !== null) + url_ += "appId=" + encodeURIComponent("" + appId) + "&"; + if (menuConditionalId !== undefined && menuConditionalId !== null) + url_ += "menuConditionalId=" + encodeURIComponent("" + menuConditionalId) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "DELETE", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDeleteMenuConditional(_response); + }); + } + + protected processDeleteMenuConditional(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param appId (optional) + * @return Success + */ + getMenuForEdit(appId: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/services/app/WechatMenuAppSevice/GetMenuForEdit?"; + if (appId !== undefined && appId !== null) + url_ += "appId=" + encodeURIComponent("" + appId) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetMenuForEdit(_response); + }); + } + + protected processGetMenuForEdit(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = GetWechatMenuForEditOutput.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class TokenAuthServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param body (optional) + * @return Success + */ + activateAccount(body: ActivateAccountModel | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/TokenAuth/ActivateAccount"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processActivateAccount(_response); + }); + } + + protected processActivateAccount(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ActivateAccountResultModel.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + authenticate(body: AuthenticateModel | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/TokenAuth/Authenticate"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processAuthenticate(_response); + }); + } + + protected processAuthenticate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = AuthenticateResultModel.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param body (optional) + * @return Success + */ + externalAuthenticate(body: ExternalAuthenticateModel | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/TokenAuth/ExternalAuthenticate"; + url_ = url_.replace(/[?&]$/, ""); + + const content_ = JSON.stringify(body); + + let options_: AxiosRequestConfig = { + data: content_, + method: "POST", + url: url_, + headers: { + "Content-Type": "application/json-patch+json", + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processExternalAuthenticate(_response); + }); + } + + protected processExternalAuthenticate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ExternalAuthenticateResultModel.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param tenantId (optional) + * @param tenantOrUserName (optional) + * @param captchaSettingType (optional) + * @return Success + */ + generateCaptcha(tenantId: string | null | undefined, tenantOrUserName: string | null | undefined, captchaSettingType: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/TokenAuth/GenerateCaptcha?"; + if (tenantId !== undefined && tenantId !== null) + url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&"; + if (tenantOrUserName !== undefined && tenantOrUserName !== null) + url_ += "tenantOrUserName=" + encodeURIComponent("" + tenantOrUserName) + "&"; + if (captchaSettingType !== undefined && captchaSettingType !== null) + url_ += "captchaSettingType=" + encodeURIComponent("" + captchaSettingType) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGenerateCaptcha(_response); + }); + } + + protected processGenerateCaptcha(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param name (optional) + * @param t (optional) + * @param l (optional) + * @param tid (optional) + * @return Success + */ + generateVerification(name: string | null | undefined, t: ValidateCodeType | undefined, l: number | null | undefined, tid: number | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/TokenAuth/GenerateVerification?"; + if (name !== undefined && name !== null) + url_ += "name=" + encodeURIComponent("" + name) + "&"; + if (t === null) + throw new Error("The parameter 't' cannot be null."); + else if (t !== undefined) + url_ += "t=" + encodeURIComponent("" + t) + "&"; + if (l !== undefined && l !== null) + url_ += "l=" + encodeURIComponent("" + l) + "&"; + if (tid !== undefined && tid !== null) + url_ += "tid=" + encodeURIComponent("" + tid) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGenerateVerification(_response); + }); + } + + protected processGenerateVerification(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + getExternalAuthenticationProviders( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/TokenAuth/GetExternalAuthenticationProviders"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetExternalAuthenticationProviders(_response); + }); + } + + protected processGetExternalAuthenticationProviders(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + if (Array.isArray(resultData200)) { + result200 = [] as any; + for (let item of resultData200) + result200.push(ExternalLoginProviderInfoModel.fromJS(item)); + } + else { + result200 = null; + } + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param impersonationToken (optional) + * @return Success + */ + impersonatedAuthenticate(impersonationToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/TokenAuth/ImpersonatedAuthenticate?"; + if (impersonationToken !== undefined && impersonationToken !== null) + url_ += "impersonationToken=" + encodeURIComponent("" + impersonationToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processImpersonatedAuthenticate(_response); + }); + } + + protected processImpersonatedAuthenticate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = ImpersonatedAuthenticateResultModel.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param switchAccountToken (optional) + * @return Success + */ + linkedAccountAuthenticate(switchAccountToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/TokenAuth/LinkedAccountAuthenticate?"; + if (switchAccountToken !== undefined && switchAccountToken !== null) + url_ += "switchAccountToken=" + encodeURIComponent("" + switchAccountToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processLinkedAccountAuthenticate(_response); + }); + } + + protected processLinkedAccountAuthenticate(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = SwitchedAccountAuthenticateResultModel.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + logOut( cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/TokenAuth/LogOut"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processLogOut(_response); + }); + } + + protected processLogOut(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class RefreshTokenServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @param refreshToken (optional) + * @return Success + */ + refreshToken(refreshToken: string | null | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/api/TokenAuth/RefreshToken/refresh-token?"; + if (refreshToken !== undefined && refreshToken !== null) + url_ += "refreshToken=" + encodeURIComponent("" + refreshToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "POST", + url: url_, + headers: { + "Accept": "text/plain" + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processRefreshToken(_response); + }); + } + + protected processRefreshToken(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + let result200: any = null; + let resultData200 = _responseText; + result200 = RefreshTokenResult.fromJS(resultData200); + return Promise.resolve(result200); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class FileServiceProxy { + private instance: AxiosInstance; + private baseUrl: string; + protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined; + + constructor(baseUrl?: string, instance?: AxiosInstance) { + + this.instance = instance ? instance : axios.create(); + + this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : ""; + + } + + /** + * @return Success + */ + downloadFilePathFile(fileName: string | null, fileType: string | null, fileToken: string | null, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/File/DownloadFilePathFile?"; + if (fileName === undefined) + throw new Error("The parameter 'fileName' must be defined."); + else if(fileName !== null) + url_ += "fileName=" + encodeURIComponent("" + fileName) + "&"; + if (fileType === undefined) + throw new Error("The parameter 'fileType' must be defined."); + else if(fileType !== null) + url_ += "fileType=" + encodeURIComponent("" + fileType) + "&"; + if (fileToken === undefined) + throw new Error("The parameter 'fileToken' must be defined."); + else if(fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDownloadFilePathFile(_response); + }); + } + + protected processDownloadFilePathFile(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @return Success + */ + downloadTempFile(fileName: string | null, fileType: string | null, fileToken: string | null, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/File/DownloadTempFile?"; + if (fileName === undefined) + throw new Error("The parameter 'fileName' must be defined."); + else if(fileName !== null) + url_ += "fileName=" + encodeURIComponent("" + fileName) + "&"; + if (fileType === undefined) + throw new Error("The parameter 'fileType' must be defined."); + else if(fileType !== null) + url_ += "fileType=" + encodeURIComponent("" + fileType) + "&"; + if (fileToken === undefined) + throw new Error("The parameter 'fileToken' must be defined."); + else if(fileToken !== null) + url_ += "fileToken=" + encodeURIComponent("" + fileToken) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processDownloadTempFile(_response); + }); + } + + protected processDownloadTempFile(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } + + /** + * @param filePath (optional) + * @param download (optional) + * @return Success + */ + getFile(filePath: string | null | undefined, download: boolean | undefined, cancelToken?: CancelToken | undefined): Promise { + let url_ = this.baseUrl + "/File/GetFile?"; + if (filePath !== undefined && filePath !== null) + url_ += "filePath=" + encodeURIComponent("" + filePath) + "&"; + if (download === null) + throw new Error("The parameter 'download' cannot be null."); + else if (download !== undefined) + url_ += "download=" + encodeURIComponent("" + download) + "&"; + url_ = url_.replace(/[?&]$/, ""); + + let options_: AxiosRequestConfig = { + method: "GET", + url: url_, + headers: { + }, + cancelToken + }; + + return this.instance.request(options_).catch((_error: any) => { + if (isAxiosError(_error) && _error.response) { + return _error.response; + } else { + throw _error; + } + }).then((_response: AxiosResponse) => { + return this.processGetFile(_response); + }); + } + + protected processGetFile(response: AxiosResponse): Promise { + const status = response.status; + let _headers: any = {}; + if (response.headers && typeof response.headers === "object") { + for (let k in response.headers) { + if (response.headers.hasOwnProperty(k)) { + _headers[k] = response.headers[k]; + } + } + } + if (status === 200) { + const _responseText = response.data; + return Promise.resolve(null as any); + + } else if (status !== 200 && status !== 204) { + const _responseText = response.data; + return throwException("An unexpected server error occurred.", status, _responseText, _headers); + } + return Promise.resolve(null as any); + } +} + +export class _definitions_Claim implements I_definitions_Claim { + issuer: string | undefined; + originalIssuer: string | undefined; + readonly properties: { [key: string]: string; } | undefined; + subject: _definitions_ClaimsIdentity; + type: string | undefined; + value: string | undefined; + valueType: string | undefined; + + constructor(data?: I_definitions_Claim) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.issuer = _data["issuer"]; + this.originalIssuer = _data["originalIssuer"]; + if (_data["properties"]) { + (this).properties = {} as any; + for (let key in _data["properties"]) { + if (_data["properties"].hasOwnProperty(key)) + ((this).properties)[key] = _data["properties"][key]; + } + } + this.subject = _data["subject"] ? _definitions_ClaimsIdentity.fromJS(_data["subject"]) : undefined; + this.type = _data["type"]; + this.value = _data["value"]; + this.valueType = _data["valueType"]; + } + } + + static fromJS(data: any): _definitions_Claim { + data = typeof data === 'object' ? data : {}; + let result = new _definitions_Claim(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["issuer"] = this.issuer; + data["originalIssuer"] = this.originalIssuer; + if (this.properties) { + data["properties"] = {}; + for (let key in this.properties) { + if (this.properties.hasOwnProperty(key)) + (data["properties"])[key] = (this.properties)[key]; + } + } + data["subject"] = this.subject ? this.subject.toJSON() : undefined; + data["type"] = this.type; + data["value"] = this.value; + data["valueType"] = this.valueType; + return data; + } + + clone(): _definitions_Claim { + const json = this.toJSON(); + let result = new _definitions_Claim(); + result.init(json); + return result; + } +} + +export interface I_definitions_Claim { + issuer: string | undefined; + originalIssuer: string | undefined; + properties: { [key: string]: string; } | undefined; + subject: _definitions_ClaimsIdentity; + type: string | undefined; + value: string | undefined; + valueType: string | undefined; +} + +export class _definitions_ClaimsIdentity implements I_definitions_ClaimsIdentity { + authenticationType: string | undefined; + readonly isAuthenticated: boolean; + actor: _definitions_ClaimsIdentity; + bootstrapContext: any | undefined; + claims: _definitions_Claim[] | undefined; + label: string | undefined; + readonly name: string | undefined; + readonly nameClaimType: string | undefined; + readonly roleClaimType: string | undefined; + + constructor(data?: I_definitions_ClaimsIdentity) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.authenticationType = _data["authenticationType"]; + (this).isAuthenticated = _data["isAuthenticated"]; + this.actor = _data["actor"] ? _definitions_ClaimsIdentity.fromJS(_data["actor"]) : undefined; + this.bootstrapContext = _data["bootstrapContext"]; + if (Array.isArray(_data["claims"])) { + this.claims = [] as any; + for (let item of _data["claims"]) + this.claims.push(_definitions_Claim.fromJS(item)); + } + this.label = _data["label"]; + (this).name = _data["name"]; + (this).nameClaimType = _data["nameClaimType"]; + (this).roleClaimType = _data["roleClaimType"]; + } + } + + static fromJS(data: any): _definitions_ClaimsIdentity { + data = typeof data === 'object' ? data : {}; + let result = new _definitions_ClaimsIdentity(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["authenticationType"] = this.authenticationType; + data["isAuthenticated"] = this.isAuthenticated; + data["actor"] = this.actor ? this.actor.toJSON() : undefined; + data["bootstrapContext"] = this.bootstrapContext; + if (Array.isArray(this.claims)) { + data["claims"] = []; + for (let item of this.claims) + data["claims"].push(item.toJSON()); + } + data["label"] = this.label; + data["name"] = this.name; + data["nameClaimType"] = this.nameClaimType; + data["roleClaimType"] = this.roleClaimType; + return data; + } + + clone(): _definitions_ClaimsIdentity { + const json = this.toJSON(); + let result = new _definitions_ClaimsIdentity(); + result.init(json); + return result; + } +} + +export interface I_definitions_ClaimsIdentity { + authenticationType: string | undefined; + isAuthenticated: boolean; + actor: _definitions_ClaimsIdentity; + bootstrapContext: any | undefined; + claims: _definitions_Claim[] | undefined; + label: string | undefined; + name: string | undefined; + nameClaimType: string | undefined; + roleClaimType: string | undefined; +} + +export class _definitions_KeySizes implements I_definitions_KeySizes { + minSize: number; + maxSize: number; + skipSize: number; + + constructor(data?: I_definitions_KeySizes) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.minSize = _data["minSize"]; + this.maxSize = _data["maxSize"]; + this.skipSize = _data["skipSize"]; + } + } + + static fromJS(data: any): _definitions_KeySizes { + data = typeof data === 'object' ? data : {}; + let result = new _definitions_KeySizes(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["minSize"] = this.minSize; + data["maxSize"] = this.maxSize; + data["skipSize"] = this.skipSize; + return data; + } + + clone(): _definitions_KeySizes { + const json = this.toJSON(); + let result = new _definitions_KeySizes(); + result.init(json); + return result; + } +} + +export interface I_definitions_KeySizes { + minSize: number; + maxSize: number; + skipSize: number; +} + +export class _definitions_Object implements I_definitions_Object { + + [key: string]: any; + + constructor(data?: I_definitions_Object) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + for (var property in _data) { + if (_data.hasOwnProperty(property)) + this[property] = _data[property]; + } + } + } + + static fromJS(data: any): _definitions_Object { + data = typeof data === 'object' ? data : {}; + let result = new _definitions_Object(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + for (var property in this) { + if (this.hasOwnProperty(property)) + data[property] = this[property]; + } + return data; + } + + clone(): _definitions_Object { + const json = this.toJSON(); + let result = new _definitions_Object(); + result.init(json); + return result; + } +} + +export interface I_definitions_Object { + + [key: string]: any; +} + +export enum _definitions_PushChannelType { + RobotFeishu = "RobotFeishu", + RobotWechat = "RobotWechat", + RobotDingding = "RobotDingding", + SmsAliyun = "SmsAliyun", + SmsTenxunyun = "SmsTenxunyun", + SmsHuaweiyun = "SmsHuaweiyun", + Email = "Email", +} + +export class AbpLocalizationSourceDto implements IAbpLocalizationSourceDto { + name: string | undefined; + type: string | undefined; + + constructor(data?: IAbpLocalizationSourceDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.name = _data["name"]; + this.type = _data["type"]; + } + } + + static fromJS(data: any): AbpLocalizationSourceDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpLocalizationSourceDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["name"] = this.name; + data["type"] = this.type; + return data; + } + + clone(): AbpLocalizationSourceDto { + const json = this.toJSON(); + let result = new AbpLocalizationSourceDto(); + result.init(json); + return result; + } +} + +export interface IAbpLocalizationSourceDto { + name: string | undefined; + type: string | undefined; +} + +export class AbpMultiTenancyConfigDto implements IAbpMultiTenancyConfigDto { + isEnabled: boolean; + ignoreFeatureCheckForHostUsers: boolean; + sides: AbpMultiTenancySidesConfigDto; + + constructor(data?: IAbpMultiTenancyConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.isEnabled = _data["isEnabled"]; + this.ignoreFeatureCheckForHostUsers = _data["ignoreFeatureCheckForHostUsers"]; + this.sides = _data["sides"] ? AbpMultiTenancySidesConfigDto.fromJS(_data["sides"]) : undefined; + } + } + + static fromJS(data: any): AbpMultiTenancyConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpMultiTenancyConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["isEnabled"] = this.isEnabled; + data["ignoreFeatureCheckForHostUsers"] = this.ignoreFeatureCheckForHostUsers; + data["sides"] = this.sides ? this.sides.toJSON() : undefined; + return data; + } + + clone(): AbpMultiTenancyConfigDto { + const json = this.toJSON(); + let result = new AbpMultiTenancyConfigDto(); + result.init(json); + return result; + } +} + +export interface IAbpMultiTenancyConfigDto { + isEnabled: boolean; + ignoreFeatureCheckForHostUsers: boolean; + sides: AbpMultiTenancySidesConfigDto; +} + +export class AbpMultiTenancySidesConfigDto implements IAbpMultiTenancySidesConfigDto { + host: MultiTenancySides; + tenant: MultiTenancySides; + + constructor(data?: IAbpMultiTenancySidesConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.host = _data["host"]; + this.tenant = _data["tenant"]; + } + } + + static fromJS(data: any): AbpMultiTenancySidesConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpMultiTenancySidesConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["host"] = this.host; + data["tenant"] = this.tenant; + return data; + } + + clone(): AbpMultiTenancySidesConfigDto { + const json = this.toJSON(); + let result = new AbpMultiTenancySidesConfigDto(); + result.init(json); + return result; + } +} + +export interface IAbpMultiTenancySidesConfigDto { + host: MultiTenancySides; + tenant: MultiTenancySides; +} + +export class AbpStringValueDto implements IAbpStringValueDto { + value: string | undefined; + + constructor(data?: IAbpStringValueDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.value = _data["value"]; + } + } + + static fromJS(data: any): AbpStringValueDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpStringValueDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["value"] = this.value; + return data; + } + + clone(): AbpStringValueDto { + const json = this.toJSON(); + let result = new AbpStringValueDto(); + result.init(json); + return result; + } +} + +export interface IAbpStringValueDto { + value: string | undefined; +} + +export class AbpUserAntiForgeryConfigDto implements IAbpUserAntiForgeryConfigDto { + tokenCookieName: string | undefined; + tokenHeaderName: string | undefined; + + constructor(data?: IAbpUserAntiForgeryConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.tokenCookieName = _data["tokenCookieName"]; + this.tokenHeaderName = _data["tokenHeaderName"]; + } + } + + static fromJS(data: any): AbpUserAntiForgeryConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpUserAntiForgeryConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["tokenCookieName"] = this.tokenCookieName; + data["tokenHeaderName"] = this.tokenHeaderName; + return data; + } + + clone(): AbpUserAntiForgeryConfigDto { + const json = this.toJSON(); + let result = new AbpUserAntiForgeryConfigDto(); + result.init(json); + return result; + } +} + +export interface IAbpUserAntiForgeryConfigDto { + tokenCookieName: string | undefined; + tokenHeaderName: string | undefined; +} + +export class AbpUserAuthConfigDto implements IAbpUserAuthConfigDto { + allPermissions: { [key: string]: string; } | undefined; + grantedPermissions: { [key: string]: string; } | undefined; + + constructor(data?: IAbpUserAuthConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (_data["allPermissions"]) { + this.allPermissions = {} as any; + for (let key in _data["allPermissions"]) { + if (_data["allPermissions"].hasOwnProperty(key)) + (this.allPermissions)[key] = _data["allPermissions"][key]; + } + } + if (_data["grantedPermissions"]) { + this.grantedPermissions = {} as any; + for (let key in _data["grantedPermissions"]) { + if (_data["grantedPermissions"].hasOwnProperty(key)) + (this.grantedPermissions)[key] = _data["grantedPermissions"][key]; + } + } + } + } + + static fromJS(data: any): AbpUserAuthConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpUserAuthConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (this.allPermissions) { + data["allPermissions"] = {}; + for (let key in this.allPermissions) { + if (this.allPermissions.hasOwnProperty(key)) + (data["allPermissions"])[key] = (this.allPermissions)[key]; + } + } + if (this.grantedPermissions) { + data["grantedPermissions"] = {}; + for (let key in this.grantedPermissions) { + if (this.grantedPermissions.hasOwnProperty(key)) + (data["grantedPermissions"])[key] = (this.grantedPermissions)[key]; + } + } + return data; + } + + clone(): AbpUserAuthConfigDto { + const json = this.toJSON(); + let result = new AbpUserAuthConfigDto(); + result.init(json); + return result; + } +} + +export interface IAbpUserAuthConfigDto { + allPermissions: { [key: string]: string; } | undefined; + grantedPermissions: { [key: string]: string; } | undefined; +} + +export class AbpUserClockConfigDto implements IAbpUserClockConfigDto { + provider: string | undefined; + + constructor(data?: IAbpUserClockConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.provider = _data["provider"]; + } + } + + static fromJS(data: any): AbpUserClockConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpUserClockConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["provider"] = this.provider; + return data; + } + + clone(): AbpUserClockConfigDto { + const json = this.toJSON(); + let result = new AbpUserClockConfigDto(); + result.init(json); + return result; + } +} + +export interface IAbpUserClockConfigDto { + provider: string | undefined; +} + +export class AbpUserConfigurationDto implements IAbpUserConfigurationDto { + multiTenancy: AbpMultiTenancyConfigDto; + session: AbpUserSessionConfigDto; + localization: AbpUserLocalizationConfigDto; + features: AbpUserFeatureConfigDto; + auth: AbpUserAuthConfigDto; + nav: AbpUserNavConfigDto; + setting: AbpUserSettingConfigDto; + clock: AbpUserClockConfigDto; + timing: AbpUserTimingConfigDto; + security: AbpUserSecurityConfigDto; + custom: { [key: string]: any; } | undefined; + + constructor(data?: IAbpUserConfigurationDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.multiTenancy = _data["multiTenancy"] ? AbpMultiTenancyConfigDto.fromJS(_data["multiTenancy"]) : undefined; + this.session = _data["session"] ? AbpUserSessionConfigDto.fromJS(_data["session"]) : undefined; + this.localization = _data["localization"] ? AbpUserLocalizationConfigDto.fromJS(_data["localization"]) : undefined; + this.features = _data["features"] ? AbpUserFeatureConfigDto.fromJS(_data["features"]) : undefined; + this.auth = _data["auth"] ? AbpUserAuthConfigDto.fromJS(_data["auth"]) : undefined; + this.nav = _data["nav"] ? AbpUserNavConfigDto.fromJS(_data["nav"]) : undefined; + this.setting = _data["setting"] ? AbpUserSettingConfigDto.fromJS(_data["setting"]) : undefined; + this.clock = _data["clock"] ? AbpUserClockConfigDto.fromJS(_data["clock"]) : undefined; + this.timing = _data["timing"] ? AbpUserTimingConfigDto.fromJS(_data["timing"]) : undefined; + this.security = _data["security"] ? AbpUserSecurityConfigDto.fromJS(_data["security"]) : undefined; + if (_data["custom"]) { + this.custom = {} as any; + for (let key in _data["custom"]) { + if (_data["custom"].hasOwnProperty(key)) + (this.custom)[key] = _data["custom"][key]; + } + } + } + } + + static fromJS(data: any): AbpUserConfigurationDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpUserConfigurationDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["multiTenancy"] = this.multiTenancy ? this.multiTenancy.toJSON() : undefined; + data["session"] = this.session ? this.session.toJSON() : undefined; + data["localization"] = this.localization ? this.localization.toJSON() : undefined; + data["features"] = this.features ? this.features.toJSON() : undefined; + data["auth"] = this.auth ? this.auth.toJSON() : undefined; + data["nav"] = this.nav ? this.nav.toJSON() : undefined; + data["setting"] = this.setting ? this.setting.toJSON() : undefined; + data["clock"] = this.clock ? this.clock.toJSON() : undefined; + data["timing"] = this.timing ? this.timing.toJSON() : undefined; + data["security"] = this.security ? this.security.toJSON() : undefined; + if (this.custom) { + data["custom"] = {}; + for (let key in this.custom) { + if (this.custom.hasOwnProperty(key)) + (data["custom"])[key] = (this.custom)[key]; + } + } + return data; + } + + clone(): AbpUserConfigurationDto { + const json = this.toJSON(); + let result = new AbpUserConfigurationDto(); + result.init(json); + return result; + } +} + +export interface IAbpUserConfigurationDto { + multiTenancy: AbpMultiTenancyConfigDto; + session: AbpUserSessionConfigDto; + localization: AbpUserLocalizationConfigDto; + features: AbpUserFeatureConfigDto; + auth: AbpUserAuthConfigDto; + nav: AbpUserNavConfigDto; + setting: AbpUserSettingConfigDto; + clock: AbpUserClockConfigDto; + timing: AbpUserTimingConfigDto; + security: AbpUserSecurityConfigDto; + custom: { [key: string]: any; } | undefined; +} + +export class AbpUserCurrentCultureConfigDto implements IAbpUserCurrentCultureConfigDto { + name: string | undefined; + displayName: string | undefined; + + constructor(data?: IAbpUserCurrentCultureConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.name = _data["name"]; + this.displayName = _data["displayName"]; + } + } + + static fromJS(data: any): AbpUserCurrentCultureConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpUserCurrentCultureConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["name"] = this.name; + data["displayName"] = this.displayName; + return data; + } + + clone(): AbpUserCurrentCultureConfigDto { + const json = this.toJSON(); + let result = new AbpUserCurrentCultureConfigDto(); + result.init(json); + return result; + } +} + +export interface IAbpUserCurrentCultureConfigDto { + name: string | undefined; + displayName: string | undefined; +} + +export class AbpUserFeatureConfigDto implements IAbpUserFeatureConfigDto { + allFeatures: { [key: string]: AbpStringValueDto; } | undefined; + + constructor(data?: IAbpUserFeatureConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (_data["allFeatures"]) { + this.allFeatures = {} as any; + for (let key in _data["allFeatures"]) { + if (_data["allFeatures"].hasOwnProperty(key)) + (this.allFeatures)[key] = _data["allFeatures"][key] ? AbpStringValueDto.fromJS(_data["allFeatures"][key]) : new AbpStringValueDto(); + } + } + } + } + + static fromJS(data: any): AbpUserFeatureConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpUserFeatureConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (this.allFeatures) { + data["allFeatures"] = {}; + for (let key in this.allFeatures) { + if (this.allFeatures.hasOwnProperty(key)) + (data["allFeatures"])[key] = this.allFeatures[key] ? this.allFeatures[key].toJSON() : undefined; + } + } + return data; + } + + clone(): AbpUserFeatureConfigDto { + const json = this.toJSON(); + let result = new AbpUserFeatureConfigDto(); + result.init(json); + return result; + } +} + +export interface IAbpUserFeatureConfigDto { + allFeatures: { [key: string]: AbpStringValueDto; } | undefined; +} + +export class AbpUserIanaTimeZoneConfigDto implements IAbpUserIanaTimeZoneConfigDto { + timeZoneId: string | undefined; + + constructor(data?: IAbpUserIanaTimeZoneConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.timeZoneId = _data["timeZoneId"]; + } + } + + static fromJS(data: any): AbpUserIanaTimeZoneConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpUserIanaTimeZoneConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["timeZoneId"] = this.timeZoneId; + return data; + } + + clone(): AbpUserIanaTimeZoneConfigDto { + const json = this.toJSON(); + let result = new AbpUserIanaTimeZoneConfigDto(); + result.init(json); + return result; + } +} + +export interface IAbpUserIanaTimeZoneConfigDto { + timeZoneId: string | undefined; +} + +export class AbpUserLocalizationConfigDto implements IAbpUserLocalizationConfigDto { + currentCulture: AbpUserCurrentCultureConfigDto; + languages: LanguageInfo[] | undefined; + currentLanguage: LanguageInfo; + sources: AbpLocalizationSourceDto[] | undefined; + values: { [key: string]: { [key: string]: string; }; } | undefined; + + constructor(data?: IAbpUserLocalizationConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.currentCulture = _data["currentCulture"] ? AbpUserCurrentCultureConfigDto.fromJS(_data["currentCulture"]) : undefined; + if (Array.isArray(_data["languages"])) { + this.languages = [] as any; + for (let item of _data["languages"]) + this.languages.push(LanguageInfo.fromJS(item)); + } + this.currentLanguage = _data["currentLanguage"] ? LanguageInfo.fromJS(_data["currentLanguage"]) : undefined; + if (Array.isArray(_data["sources"])) { + this.sources = [] as any; + for (let item of _data["sources"]) + this.sources.push(AbpLocalizationSourceDto.fromJS(item)); + } + if (_data["values"]) { + this.values = {} as any; + for (let key in _data["values"]) { + if (_data["values"].hasOwnProperty(key)) + (this.values)[key] = _data["values"][key]; + } + } + } + } + + static fromJS(data: any): AbpUserLocalizationConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpUserLocalizationConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["currentCulture"] = this.currentCulture ? this.currentCulture.toJSON() : undefined; + if (Array.isArray(this.languages)) { + data["languages"] = []; + for (let item of this.languages) + data["languages"].push(item.toJSON()); + } + data["currentLanguage"] = this.currentLanguage ? this.currentLanguage.toJSON() : undefined; + if (Array.isArray(this.sources)) { + data["sources"] = []; + for (let item of this.sources) + data["sources"].push(item.toJSON()); + } + if (this.values) { + data["values"] = {}; + for (let key in this.values) { + if (this.values.hasOwnProperty(key)) + (data["values"])[key] = (this.values)[key]; + } + } + return data; + } + + clone(): AbpUserLocalizationConfigDto { + const json = this.toJSON(); + let result = new AbpUserLocalizationConfigDto(); + result.init(json); + return result; + } +} + +export interface IAbpUserLocalizationConfigDto { + currentCulture: AbpUserCurrentCultureConfigDto; + languages: LanguageInfo[] | undefined; + currentLanguage: LanguageInfo; + sources: AbpLocalizationSourceDto[] | undefined; + values: { [key: string]: { [key: string]: string; }; } | undefined; +} + +export class AbpUserNavConfigDto implements IAbpUserNavConfigDto { + menus: { [key: string]: UserMenu; } | undefined; + + constructor(data?: IAbpUserNavConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (_data["menus"]) { + this.menus = {} as any; + for (let key in _data["menus"]) { + if (_data["menus"].hasOwnProperty(key)) + (this.menus)[key] = _data["menus"][key] ? UserMenu.fromJS(_data["menus"][key]) : new UserMenu(); + } + } + } + } + + static fromJS(data: any): AbpUserNavConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpUserNavConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (this.menus) { + data["menus"] = {}; + for (let key in this.menus) { + if (this.menus.hasOwnProperty(key)) + (data["menus"])[key] = this.menus[key] ? this.menus[key].toJSON() : undefined; + } + } + return data; + } + + clone(): AbpUserNavConfigDto { + const json = this.toJSON(); + let result = new AbpUserNavConfigDto(); + result.init(json); + return result; + } +} + +export interface IAbpUserNavConfigDto { + menus: { [key: string]: UserMenu; } | undefined; +} + +export class AbpUserSecurityConfigDto implements IAbpUserSecurityConfigDto { + antiForgery: AbpUserAntiForgeryConfigDto; + + constructor(data?: IAbpUserSecurityConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.antiForgery = _data["antiForgery"] ? AbpUserAntiForgeryConfigDto.fromJS(_data["antiForgery"]) : undefined; + } + } + + static fromJS(data: any): AbpUserSecurityConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpUserSecurityConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["antiForgery"] = this.antiForgery ? this.antiForgery.toJSON() : undefined; + return data; + } + + clone(): AbpUserSecurityConfigDto { + const json = this.toJSON(); + let result = new AbpUserSecurityConfigDto(); + result.init(json); + return result; + } +} + +export interface IAbpUserSecurityConfigDto { + antiForgery: AbpUserAntiForgeryConfigDto; +} + +export class AbpUserSessionConfigDto implements IAbpUserSessionConfigDto { + userId: string | undefined; + tenantId: string | undefined; + impersonatorUserId: string | undefined; + impersonatorTenantId: string | undefined; + multiTenancySide: MultiTenancySides; + + constructor(data?: IAbpUserSessionConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.userId = _data["userId"]; + this.tenantId = _data["tenantId"]; + this.impersonatorUserId = _data["impersonatorUserId"]; + this.impersonatorTenantId = _data["impersonatorTenantId"]; + this.multiTenancySide = _data["multiTenancySide"]; + } + } + + static fromJS(data: any): AbpUserSessionConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpUserSessionConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["userId"] = this.userId; + data["tenantId"] = this.tenantId; + data["impersonatorUserId"] = this.impersonatorUserId; + data["impersonatorTenantId"] = this.impersonatorTenantId; + data["multiTenancySide"] = this.multiTenancySide; + return data; + } + + clone(): AbpUserSessionConfigDto { + const json = this.toJSON(); + let result = new AbpUserSessionConfigDto(); + result.init(json); + return result; + } +} + +export interface IAbpUserSessionConfigDto { + userId: string | undefined; + tenantId: string | undefined; + impersonatorUserId: string | undefined; + impersonatorTenantId: string | undefined; + multiTenancySide: MultiTenancySides; +} + +export class AbpUserSettingConfigDto implements IAbpUserSettingConfigDto { + values: { [key: string]: string; } | undefined; + + constructor(data?: IAbpUserSettingConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (_data["values"]) { + this.values = {} as any; + for (let key in _data["values"]) { + if (_data["values"].hasOwnProperty(key)) + (this.values)[key] = _data["values"][key]; + } + } + } + } + + static fromJS(data: any): AbpUserSettingConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpUserSettingConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (this.values) { + data["values"] = {}; + for (let key in this.values) { + if (this.values.hasOwnProperty(key)) + (data["values"])[key] = (this.values)[key]; + } + } + return data; + } + + clone(): AbpUserSettingConfigDto { + const json = this.toJSON(); + let result = new AbpUserSettingConfigDto(); + result.init(json); + return result; + } +} + +export interface IAbpUserSettingConfigDto { + values: { [key: string]: string; } | undefined; +} + +export class AbpUserTimeZoneConfigDto implements IAbpUserTimeZoneConfigDto { + windows: AbpUserWindowsTimeZoneConfigDto; + iana: AbpUserIanaTimeZoneConfigDto; + + constructor(data?: IAbpUserTimeZoneConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.windows = _data["windows"] ? AbpUserWindowsTimeZoneConfigDto.fromJS(_data["windows"]) : undefined; + this.iana = _data["iana"] ? AbpUserIanaTimeZoneConfigDto.fromJS(_data["iana"]) : undefined; + } + } + + static fromJS(data: any): AbpUserTimeZoneConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpUserTimeZoneConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["windows"] = this.windows ? this.windows.toJSON() : undefined; + data["iana"] = this.iana ? this.iana.toJSON() : undefined; + return data; + } + + clone(): AbpUserTimeZoneConfigDto { + const json = this.toJSON(); + let result = new AbpUserTimeZoneConfigDto(); + result.init(json); + return result; + } +} + +export interface IAbpUserTimeZoneConfigDto { + windows: AbpUserWindowsTimeZoneConfigDto; + iana: AbpUserIanaTimeZoneConfigDto; +} + +export class AbpUserTimingConfigDto implements IAbpUserTimingConfigDto { + timeZoneInfo: AbpUserTimeZoneConfigDto; + + constructor(data?: IAbpUserTimingConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.timeZoneInfo = _data["timeZoneInfo"] ? AbpUserTimeZoneConfigDto.fromJS(_data["timeZoneInfo"]) : undefined; + } + } + + static fromJS(data: any): AbpUserTimingConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpUserTimingConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["timeZoneInfo"] = this.timeZoneInfo ? this.timeZoneInfo.toJSON() : undefined; + return data; + } + + clone(): AbpUserTimingConfigDto { + const json = this.toJSON(); + let result = new AbpUserTimingConfigDto(); + result.init(json); + return result; + } +} + +export interface IAbpUserTimingConfigDto { + timeZoneInfo: AbpUserTimeZoneConfigDto; +} + +export class AbpUserWindowsTimeZoneConfigDto implements IAbpUserWindowsTimeZoneConfigDto { + timeZoneId: string | undefined; + baseUtcOffsetInMilliseconds: number; + currentUtcOffsetInMilliseconds: number; + isDaylightSavingTimeNow: boolean; + + constructor(data?: IAbpUserWindowsTimeZoneConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.timeZoneId = _data["timeZoneId"]; + this.baseUtcOffsetInMilliseconds = _data["baseUtcOffsetInMilliseconds"]; + this.currentUtcOffsetInMilliseconds = _data["currentUtcOffsetInMilliseconds"]; + this.isDaylightSavingTimeNow = _data["isDaylightSavingTimeNow"]; + } + } + + static fromJS(data: any): AbpUserWindowsTimeZoneConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new AbpUserWindowsTimeZoneConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["timeZoneId"] = this.timeZoneId; + data["baseUtcOffsetInMilliseconds"] = this.baseUtcOffsetInMilliseconds; + data["currentUtcOffsetInMilliseconds"] = this.currentUtcOffsetInMilliseconds; + data["isDaylightSavingTimeNow"] = this.isDaylightSavingTimeNow; + return data; + } + + clone(): AbpUserWindowsTimeZoneConfigDto { + const json = this.toJSON(); + let result = new AbpUserWindowsTimeZoneConfigDto(); + result.init(json); + return result; + } +} + +export interface IAbpUserWindowsTimeZoneConfigDto { + timeZoneId: string | undefined; + baseUtcOffsetInMilliseconds: number; + currentUtcOffsetInMilliseconds: number; + isDaylightSavingTimeNow: boolean; +} + +export class AcceptFriendshipRequestInput implements IAcceptFriendshipRequestInput { + userId: string | undefined; + tenantId: string | undefined; + + constructor(data?: IAcceptFriendshipRequestInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.userId = _data["userId"]; + this.tenantId = _data["tenantId"]; + } + } + + static fromJS(data: any): AcceptFriendshipRequestInput { + data = typeof data === 'object' ? data : {}; + let result = new AcceptFriendshipRequestInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["userId"] = this.userId; + data["tenantId"] = this.tenantId; + return data; + } + + clone(): AcceptFriendshipRequestInput { + const json = this.toJSON(); + let result = new AcceptFriendshipRequestInput(); + result.init(json); + return result; + } +} + +export interface IAcceptFriendshipRequestInput { + userId: string | undefined; + tenantId: string | undefined; +} + +export class ActivateAccountModel implements IActivateAccountModel { + emailAddress: string; + password: string; + userId: string | undefined; + verificationCode: string | undefined; + activateType: ActivateType; + + constructor(data?: IActivateAccountModel) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.emailAddress = _data["emailAddress"]; + this.password = _data["password"]; + this.userId = _data["userId"]; + this.verificationCode = _data["verificationCode"]; + this.activateType = _data["activateType"]; + } + } + + static fromJS(data: any): ActivateAccountModel { + data = typeof data === 'object' ? data : {}; + let result = new ActivateAccountModel(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["emailAddress"] = this.emailAddress; + data["password"] = this.password; + data["userId"] = this.userId; + data["verificationCode"] = this.verificationCode; + data["activateType"] = this.activateType; + return data; + } + + clone(): ActivateAccountModel { + const json = this.toJSON(); + let result = new ActivateAccountModel(); + result.init(json); + return result; + } +} + +export interface IActivateAccountModel { + emailAddress: string; + password: string; + userId: string | undefined; + verificationCode: string | undefined; + activateType: ActivateType; +} + +export class ActivateAccountResultModel implements IActivateAccountResultModel { + accessToken: string | undefined; + encryptedAccessToken: string | undefined; + expireInSeconds: number; + userId: string | undefined; + + constructor(data?: IActivateAccountResultModel) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.accessToken = _data["accessToken"]; + this.encryptedAccessToken = _data["encryptedAccessToken"]; + this.expireInSeconds = _data["expireInSeconds"]; + this.userId = _data["userId"]; + } + } + + static fromJS(data: any): ActivateAccountResultModel { + data = typeof data === 'object' ? data : {}; + let result = new ActivateAccountResultModel(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["accessToken"] = this.accessToken; + data["encryptedAccessToken"] = this.encryptedAccessToken; + data["expireInSeconds"] = this.expireInSeconds; + data["userId"] = this.userId; + return data; + } + + clone(): ActivateAccountResultModel { + const json = this.toJSON(); + let result = new ActivateAccountResultModel(); + result.init(json); + return result; + } +} + +export interface IActivateAccountResultModel { + accessToken: string | undefined; + encryptedAccessToken: string | undefined; + expireInSeconds: number; + userId: string | undefined; +} + +export class ActivateEmailInput implements IActivateEmailInput { + userId: string | undefined; + confirmationCode: string | undefined; + c: string | undefined; + + constructor(data?: IActivateEmailInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.userId = _data["userId"]; + this.confirmationCode = _data["confirmationCode"]; + this.c = _data["c"]; + } + } + + static fromJS(data: any): ActivateEmailInput { + data = typeof data === 'object' ? data : {}; + let result = new ActivateEmailInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["userId"] = this.userId; + data["confirmationCode"] = this.confirmationCode; + data["c"] = this.c; + return data; + } + + clone(): ActivateEmailInput { + const json = this.toJSON(); + let result = new ActivateEmailInput(); + result.init(json); + return result; + } +} + +export interface IActivateEmailInput { + userId: string | undefined; + confirmationCode: string | undefined; + c: string | undefined; +} + +export enum ActivateType { + NewAccount = "NewAccount", + BindExistAccount = "BindExistAccount", +} + +export class AddressAreaDto implements IAddressAreaDto { + cityCode: string | undefined; + provinceCode: string | undefined; + code: string | undefined; + name: string | undefined; + + constructor(data?: IAddressAreaDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.cityCode = _data["cityCode"]; + this.provinceCode = _data["provinceCode"]; + this.code = _data["code"]; + this.name = _data["name"]; + } + } + + static fromJS(data: any): AddressAreaDto { + data = typeof data === 'object' ? data : {}; + let result = new AddressAreaDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["cityCode"] = this.cityCode; + data["provinceCode"] = this.provinceCode; + data["code"] = this.code; + data["name"] = this.name; + return data; + } + + clone(): AddressAreaDto { + const json = this.toJSON(); + let result = new AddressAreaDto(); + result.init(json); + return result; + } +} + +export interface IAddressAreaDto { + cityCode: string | undefined; + provinceCode: string | undefined; + code: string | undefined; + name: string | undefined; +} + +export class AddressCityDto implements IAddressCityDto { + provinceCode: string | undefined; + code: string | undefined; + name: string | undefined; + + constructor(data?: IAddressCityDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.provinceCode = _data["provinceCode"]; + this.code = _data["code"]; + this.name = _data["name"]; + } + } + + static fromJS(data: any): AddressCityDto { + data = typeof data === 'object' ? data : {}; + let result = new AddressCityDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["provinceCode"] = this.provinceCode; + data["code"] = this.code; + data["name"] = this.name; + return data; + } + + clone(): AddressCityDto { + const json = this.toJSON(); + let result = new AddressCityDto(); + result.init(json); + return result; + } +} + +export interface IAddressCityDto { + provinceCode: string | undefined; + code: string | undefined; + name: string | undefined; +} + +export enum AddressEnum { + Provinces = "Provinces", + Cities = "Cities", + Areas = "Areas", + Streets = "Streets", +} + +export enum AddressFamily { + Unspecified = "Unspecified", + Unix = "Unix", + InterNetwork = "InterNetwork", + ImpLink = "ImpLink", + Pup = "Pup", + Chaos = "Chaos", + NS = "Ipx", + Ipx = "Iso", + Osi = "Ecma", + Iso = "DataKit", + Ecma = "Ccitt", + DataKit = "Sna", + Ccitt = "DecNet", + Sna = "DataLink", + DecNet = "Lat", + DataLink = "HyperChannel", + Lat = "AppleTalk", + HyperChannel = "NetBios", + AppleTalk = "VoiceView", + NetBios = "FireFox", + VoiceView = "Banyan", + FireFox = "Atm", + Banyan = "InterNetworkV6", + Atm = "Cluster", + InterNetworkV6 = "Ieee12844", + Cluster = "Irda", + Ieee12844 = "NetworkDesigners", + Irda = "Max", + NetworkDesigners = "Packet", + Max = "ControllerAreaNetwork", + Packet = "Unknown", +} + +export class AddressProvincetDto implements IAddressProvincetDto { + code: string | undefined; + name: string | undefined; + + constructor(data?: IAddressProvincetDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.code = _data["code"]; + this.name = _data["name"]; + } + } + + static fromJS(data: any): AddressProvincetDto { + data = typeof data === 'object' ? data : {}; + let result = new AddressProvincetDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["code"] = this.code; + data["name"] = this.name; + return data; + } + + clone(): AddressProvincetDto { + const json = this.toJSON(); + let result = new AddressProvincetDto(); + result.init(json); + return result; + } +} + +export interface IAddressProvincetDto { + code: string | undefined; + name: string | undefined; +} + +export class AddressStreetDto implements IAddressStreetDto { + areaCode: string | undefined; + cityCode: string | undefined; + provinceCode: string | undefined; + code: string | undefined; + name: string | undefined; + + constructor(data?: IAddressStreetDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.areaCode = _data["areaCode"]; + this.cityCode = _data["cityCode"]; + this.provinceCode = _data["provinceCode"]; + this.code = _data["code"]; + this.name = _data["name"]; + } + } + + static fromJS(data: any): AddressStreetDto { + data = typeof data === 'object' ? data : {}; + let result = new AddressStreetDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["areaCode"] = this.areaCode; + data["cityCode"] = this.cityCode; + data["provinceCode"] = this.provinceCode; + data["code"] = this.code; + data["name"] = this.name; + return data; + } + + clone(): AddressStreetDto { + const json = this.toJSON(); + let result = new AddressStreetDto(); + result.init(json); + return result; + } +} + +export interface IAddressStreetDto { + areaCode: string | undefined; + cityCode: string | undefined; + provinceCode: string | undefined; + code: string | undefined; + name: string | undefined; +} + +export class AllAddressLinkage implements IAllAddressLinkage { + provinces: AddressProvincetDto[] | undefined; + citys: AddressCityDto[] | undefined; + areas: AddressAreaDto[] | undefined; + streets: AddressStreetDto[] | undefined; + + constructor(data?: IAllAddressLinkage) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["provinces"])) { + this.provinces = [] as any; + for (let item of _data["provinces"]) + this.provinces.push(AddressProvincetDto.fromJS(item)); + } + if (Array.isArray(_data["citys"])) { + this.citys = [] as any; + for (let item of _data["citys"]) + this.citys.push(AddressCityDto.fromJS(item)); + } + if (Array.isArray(_data["areas"])) { + this.areas = [] as any; + for (let item of _data["areas"]) + this.areas.push(AddressAreaDto.fromJS(item)); + } + if (Array.isArray(_data["streets"])) { + this.streets = [] as any; + for (let item of _data["streets"]) + this.streets.push(AddressStreetDto.fromJS(item)); + } + } + } + + static fromJS(data: any): AllAddressLinkage { + data = typeof data === 'object' ? data : {}; + let result = new AllAddressLinkage(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.provinces)) { + data["provinces"] = []; + for (let item of this.provinces) + data["provinces"].push(item.toJSON()); + } + if (Array.isArray(this.citys)) { + data["citys"] = []; + for (let item of this.citys) + data["citys"].push(item.toJSON()); + } + if (Array.isArray(this.areas)) { + data["areas"] = []; + for (let item of this.areas) + data["areas"].push(item.toJSON()); + } + if (Array.isArray(this.streets)) { + data["streets"] = []; + for (let item of this.streets) + data["streets"].push(item.toJSON()); + } + return data; + } + + clone(): AllAddressLinkage { + const json = this.toJSON(); + let result = new AllAddressLinkage(); + result.init(json); + return result; + } +} + +export interface IAllAddressLinkage { + provinces: AddressProvincetDto[] | undefined; + citys: AddressCityDto[] | undefined; + areas: AddressAreaDto[] | undefined; + streets: AddressStreetDto[] | undefined; +} + +export class AntDColumnDto implements IAntDColumnDto { + title: string | undefined; + dataIndex: string | undefined; + width: number; + align: string | undefined; + + constructor(data?: IAntDColumnDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.title = _data["title"]; + this.dataIndex = _data["dataIndex"]; + this.width = _data["width"]; + this.align = _data["align"]; + } + } + + static fromJS(data: any): AntDColumnDto { + data = typeof data === 'object' ? data : {}; + let result = new AntDColumnDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["title"] = this.title; + data["dataIndex"] = this.dataIndex; + data["width"] = this.width; + data["align"] = this.align; + return data; + } + + clone(): AntDColumnDto { + const json = this.toJSON(); + let result = new AntDColumnDto(); + result.init(json); + return result; + } +} + +export interface IAntDColumnDto { + title: string | undefined; + dataIndex: string | undefined; + width: number; + align: string | undefined; +} + +export class ApiMesItemRouteOp implements IApiMesItemRouteOp { + routeCode: string | undefined; + itemCode: string | undefined; + isRef: string | undefined; + opLists: GetApiMesRoute2Op[] | undefined; + memo: string | undefined; + + constructor(data?: IApiMesItemRouteOp) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.routeCode = _data["routeCode"]; + this.itemCode = _data["itemCode"]; + this.isRef = _data["isRef"]; + if (Array.isArray(_data["opLists"])) { + this.opLists = [] as any; + for (let item of _data["opLists"]) + this.opLists.push(GetApiMesRoute2Op.fromJS(item)); + } + this.memo = _data["memo"]; + } + } + + static fromJS(data: any): ApiMesItemRouteOp { + data = typeof data === 'object' ? data : {}; + let result = new ApiMesItemRouteOp(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["routeCode"] = this.routeCode; + data["itemCode"] = this.itemCode; + data["isRef"] = this.isRef; + if (Array.isArray(this.opLists)) { + data["opLists"] = []; + for (let item of this.opLists) + data["opLists"].push(item.toJSON()); + } + data["memo"] = this.memo; + return data; + } + + clone(): ApiMesItemRouteOp { + const json = this.toJSON(); + let result = new ApiMesItemRouteOp(); + result.init(json); + return result; + } +} + +export interface IApiMesItemRouteOp { + routeCode: string | undefined; + itemCode: string | undefined; + isRef: string | undefined; + opLists: GetApiMesRoute2Op[] | undefined; + memo: string | undefined; +} + +export class ApiMesOp implements IApiMesOp { + opCode: string | undefined; + opName: string | undefined; + opDesc: string | undefined; + segCode: string | undefined; + memo: string | undefined; + + constructor(data?: IApiMesOp) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.opDesc = _data["opDesc"]; + this.segCode = _data["segCode"]; + this.memo = _data["memo"]; + } + } + + static fromJS(data: any): ApiMesOp { + data = typeof data === 'object' ? data : {}; + let result = new ApiMesOp(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["opDesc"] = this.opDesc; + data["segCode"] = this.segCode; + data["memo"] = this.memo; + return data; + } + + clone(): ApiMesOp { + const json = this.toJSON(); + let result = new ApiMesOp(); + result.init(json); + return result; + } +} + +export interface IApiMesOp { + opCode: string | undefined; + opName: string | undefined; + opDesc: string | undefined; + segCode: string | undefined; + memo: string | undefined; +} + +export class ApiMesRouteOp implements IApiMesRouteOp { + routeCode: string | undefined; + routeName: string | undefined; + routeDesc: string | undefined; + routeType: string | undefined; + effDate: moment.Moment; + ivlDate: moment.Moment; + enabled: string | undefined; + memo: string | undefined; + opLists: GetApiMesRoute2Op[] | undefined; + + constructor(data?: IApiMesRouteOp) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.routeCode = _data["routeCode"]; + this.routeName = _data["routeName"]; + this.routeDesc = _data["routeDesc"]; + this.routeType = _data["routeType"]; + this.effDate = _data["effDate"] ? moment(_data["effDate"].toString()) : undefined; + this.ivlDate = _data["ivlDate"] ? moment(_data["ivlDate"].toString()) : undefined; + this.enabled = _data["enabled"]; + this.memo = _data["memo"]; + if (Array.isArray(_data["opLists"])) { + this.opLists = [] as any; + for (let item of _data["opLists"]) + this.opLists.push(GetApiMesRoute2Op.fromJS(item)); + } + } + } + + static fromJS(data: any): ApiMesRouteOp { + data = typeof data === 'object' ? data : {}; + let result = new ApiMesRouteOp(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["routeCode"] = this.routeCode; + data["routeName"] = this.routeName; + data["routeDesc"] = this.routeDesc; + data["routeType"] = this.routeType; + data["effDate"] = this.effDate ? this.effDate.toISOString() : undefined; + data["ivlDate"] = this.ivlDate ? this.ivlDate.toISOString() : undefined; + data["enabled"] = this.enabled; + data["memo"] = this.memo; + if (Array.isArray(this.opLists)) { + data["opLists"] = []; + for (let item of this.opLists) + data["opLists"].push(item.toJSON()); + } + return data; + } + + clone(): ApiMesRouteOp { + const json = this.toJSON(); + let result = new ApiMesRouteOp(); + result.init(json); + return result; + } +} + +export interface IApiMesRouteOp { + routeCode: string | undefined; + routeName: string | undefined; + routeDesc: string | undefined; + routeType: string | undefined; + effDate: moment.Moment; + ivlDate: moment.Moment; + enabled: string | undefined; + memo: string | undefined; + opLists: GetApiMesRoute2Op[] | undefined; +} + +export class ApkManagementEditDto implements IApkManagementEditDto { + id: string | undefined; + appRevision: string | undefined; + fileNamePath: string | undefined; + sysFileId: string | undefined; + sysFileListDto: SysFileListDto; + isNewRevision: boolean; + description: string | undefined; + tenantId: string | undefined; + + constructor(data?: IApkManagementEditDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.id = _data["id"]; + this.appRevision = _data["appRevision"]; + this.fileNamePath = _data["fileNamePath"]; + this.sysFileId = _data["sysFileId"]; + this.sysFileListDto = _data["sysFileListDto"] ? SysFileListDto.fromJS(_data["sysFileListDto"]) : undefined; + this.isNewRevision = _data["isNewRevision"]; + this.description = _data["description"]; + this.tenantId = _data["tenantId"]; + } + } + + static fromJS(data: any): ApkManagementEditDto { + data = typeof data === 'object' ? data : {}; + let result = new ApkManagementEditDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["id"] = this.id; + data["appRevision"] = this.appRevision; + data["fileNamePath"] = this.fileNamePath; + data["sysFileId"] = this.sysFileId; + data["sysFileListDto"] = this.sysFileListDto ? this.sysFileListDto.toJSON() : undefined; + data["isNewRevision"] = this.isNewRevision; + data["description"] = this.description; + data["tenantId"] = this.tenantId; + return data; + } + + clone(): ApkManagementEditDto { + const json = this.toJSON(); + let result = new ApkManagementEditDto(); + result.init(json); + return result; + } +} + +export interface IApkManagementEditDto { + id: string | undefined; + appRevision: string | undefined; + fileNamePath: string | undefined; + sysFileId: string | undefined; + sysFileListDto: SysFileListDto; + isNewRevision: boolean; + description: string | undefined; + tenantId: string | undefined; +} + +export class ApkManagementListDto implements IApkManagementListDto { + appRevision: string | undefined; + fileNamePath: string | undefined; + sysFileId: string | undefined; + sysFileListDto: SysFileListDto; + isNewRevision: boolean; + description: string | undefined; + tenantId: string | undefined; + isDeleted: boolean; + deleterUserId: string | undefined; + deletionTime: moment.Moment | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: string; + + constructor(data?: IApkManagementListDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.appRevision = _data["appRevision"]; + this.fileNamePath = _data["fileNamePath"]; + this.sysFileId = _data["sysFileId"]; + this.sysFileListDto = _data["sysFileListDto"] ? SysFileListDto.fromJS(_data["sysFileListDto"]) : undefined; + this.isNewRevision = _data["isNewRevision"]; + this.description = _data["description"]; + this.tenantId = _data["tenantId"]; + this.isDeleted = _data["isDeleted"]; + this.deleterUserId = _data["deleterUserId"]; + this.deletionTime = _data["deletionTime"] ? moment(_data["deletionTime"].toString()) : undefined; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; + } + } + + static fromJS(data: any): ApkManagementListDto { + data = typeof data === 'object' ? data : {}; + let result = new ApkManagementListDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["appRevision"] = this.appRevision; + data["fileNamePath"] = this.fileNamePath; + data["sysFileId"] = this.sysFileId; + data["sysFileListDto"] = this.sysFileListDto ? this.sysFileListDto.toJSON() : undefined; + data["isNewRevision"] = this.isNewRevision; + data["description"] = this.description; + data["tenantId"] = this.tenantId; + data["isDeleted"] = this.isDeleted; + data["deleterUserId"] = this.deleterUserId; + data["deletionTime"] = this.deletionTime ? this.deletionTime.toISOString() : undefined; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; + return data; + } + + clone(): ApkManagementListDto { + const json = this.toJSON(); + let result = new ApkManagementListDto(); + result.init(json); + return result; + } +} + +export interface IApkManagementListDto { + appRevision: string | undefined; + fileNamePath: string | undefined; + sysFileId: string | undefined; + sysFileListDto: SysFileListDto; + isNewRevision: boolean; + description: string | undefined; + tenantId: string | undefined; + isDeleted: boolean; + deleterUserId: string | undefined; + deletionTime: moment.Moment | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: string; +} + +export class ApplicationInfoDto implements IApplicationInfoDto { + version: string | undefined; + releaseDate: moment.Moment; + features: { [key: string]: boolean; } | undefined; + + constructor(data?: IApplicationInfoDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.version = _data["version"]; + this.releaseDate = _data["releaseDate"] ? moment(_data["releaseDate"].toString()) : undefined; + if (_data["features"]) { + this.features = {} as any; + for (let key in _data["features"]) { + if (_data["features"].hasOwnProperty(key)) + (this.features)[key] = _data["features"][key]; + } + } + } + } + + static fromJS(data: any): ApplicationInfoDto { + data = typeof data === 'object' ? data : {}; + let result = new ApplicationInfoDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["version"] = this.version; + data["releaseDate"] = this.releaseDate ? this.releaseDate.toISOString() : undefined; + if (this.features) { + data["features"] = {}; + for (let key in this.features) { + if (this.features.hasOwnProperty(key)) + (data["features"])[key] = (this.features)[key]; + } + } + return data; + } + + clone(): ApplicationInfoDto { + const json = this.toJSON(); + let result = new ApplicationInfoDto(); + result.init(json); + return result; + } +} + +export interface IApplicationInfoDto { + version: string | undefined; + releaseDate: moment.Moment; + features: { [key: string]: boolean; } | undefined; +} + +export class AsnEncodedData implements IAsnEncodedData { + oid: Oid; + rawData: string | undefined; + + constructor(data?: IAsnEncodedData) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.oid = _data["oid"] ? Oid.fromJS(_data["oid"]) : undefined; + this.rawData = _data["rawData"]; + } + } + + static fromJS(data: any): AsnEncodedData { + data = typeof data === 'object' ? data : {}; + let result = new AsnEncodedData(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["oid"] = this.oid ? this.oid.toJSON() : undefined; + data["rawData"] = this.rawData; + return data; + } + + clone(): AsnEncodedData { + const json = this.toJSON(); + let result = new AsnEncodedData(); + result.init(json); + return result; + } +} + +export interface IAsnEncodedData { + oid: Oid; + rawData: string | undefined; +} + +export class AsymmetricAlgorithm implements IAsymmetricAlgorithm { + keySize: number; + readonly legalKeySizes: _definitions_KeySizes[] | undefined; + readonly signatureAlgorithm: string | undefined; + readonly keyExchangeAlgorithm: string | undefined; + + constructor(data?: IAsymmetricAlgorithm) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.keySize = _data["keySize"]; + if (Array.isArray(_data["legalKeySizes"])) { + (this).legalKeySizes = [] as any; + for (let item of _data["legalKeySizes"]) + (this).legalKeySizes.push(_definitions_KeySizes.fromJS(item)); + } + (this).signatureAlgorithm = _data["signatureAlgorithm"]; + (this).keyExchangeAlgorithm = _data["keyExchangeAlgorithm"]; + } + } + + static fromJS(data: any): AsymmetricAlgorithm { + data = typeof data === 'object' ? data : {}; + let result = new AsymmetricAlgorithm(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["keySize"] = this.keySize; + if (Array.isArray(this.legalKeySizes)) { + data["legalKeySizes"] = []; + for (let item of this.legalKeySizes) + data["legalKeySizes"].push(item.toJSON()); + } + data["signatureAlgorithm"] = this.signatureAlgorithm; + data["keyExchangeAlgorithm"] = this.keyExchangeAlgorithm; + return data; + } + + clone(): AsymmetricAlgorithm { + const json = this.toJSON(); + let result = new AsymmetricAlgorithm(); + result.init(json); + return result; + } +} + +export interface IAsymmetricAlgorithm { + keySize: number; + legalKeySizes: _definitions_KeySizes[] | undefined; + signatureAlgorithm: string | undefined; + keyExchangeAlgorithm: string | undefined; +} + +export class AuditLogListDto implements IAuditLogListDto { + userId: string | undefined; + userName: string | undefined; + impersonatorTenantId: string | undefined; + impersonatorUserId: string | undefined; + serviceName: string | undefined; + methodName: string | undefined; + parameters: string | undefined; + executionTime: moment.Moment; + executionDuration: number; + clientIpAddress: string | undefined; + clientName: string | undefined; + browserInfo: string | undefined; + exception: string | undefined; + returnValue: string | undefined; + customData: string | undefined; + id: string | undefined; + + constructor(data?: IAuditLogListDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.userId = _data["userId"]; + this.userName = _data["userName"]; + this.impersonatorTenantId = _data["impersonatorTenantId"]; + this.impersonatorUserId = _data["impersonatorUserId"]; + this.serviceName = _data["serviceName"]; + this.methodName = _data["methodName"]; + this.parameters = _data["parameters"]; + this.executionTime = _data["executionTime"] ? moment(_data["executionTime"].toString()) : undefined; + this.executionDuration = _data["executionDuration"]; + this.clientIpAddress = _data["clientIpAddress"]; + this.clientName = _data["clientName"]; + this.browserInfo = _data["browserInfo"]; + this.exception = _data["exception"]; + this.returnValue = _data["returnValue"]; + this.customData = _data["customData"]; + this.id = _data["id"]; + } + } + + static fromJS(data: any): AuditLogListDto { + data = typeof data === 'object' ? data : {}; + let result = new AuditLogListDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["userId"] = this.userId; + data["userName"] = this.userName; + data["impersonatorTenantId"] = this.impersonatorTenantId; + data["impersonatorUserId"] = this.impersonatorUserId; + data["serviceName"] = this.serviceName; + data["methodName"] = this.methodName; + data["parameters"] = this.parameters; + data["executionTime"] = this.executionTime ? this.executionTime.toISOString() : undefined; + data["executionDuration"] = this.executionDuration; + data["clientIpAddress"] = this.clientIpAddress; + data["clientName"] = this.clientName; + data["browserInfo"] = this.browserInfo; + data["exception"] = this.exception; + data["returnValue"] = this.returnValue; + data["customData"] = this.customData; + data["id"] = this.id; + return data; + } + + clone(): AuditLogListDto { + const json = this.toJSON(); + let result = new AuditLogListDto(); + result.init(json); + return result; + } +} + +export interface IAuditLogListDto { + userId: string | undefined; + userName: string | undefined; + impersonatorTenantId: string | undefined; + impersonatorUserId: string | undefined; + serviceName: string | undefined; + methodName: string | undefined; + parameters: string | undefined; + executionTime: moment.Moment; + executionDuration: number; + clientIpAddress: string | undefined; + clientName: string | undefined; + browserInfo: string | undefined; + exception: string | undefined; + returnValue: string | undefined; + customData: string | undefined; + id: string | undefined; +} + +export class AuthenticateModel implements IAuthenticateModel { + userNameOrEmailAddress: string; + password: string; + verificationCode: string | undefined; + rememberClient: boolean; + returnUrl: string | undefined; + authProvider: string | undefined; + providerKey: string | undefined; + clientType: string | undefined; + pdaTenantName: string | undefined; + + constructor(data?: IAuthenticateModel) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.userNameOrEmailAddress = _data["userNameOrEmailAddress"]; + this.password = _data["password"]; + this.verificationCode = _data["verificationCode"]; + this.rememberClient = _data["rememberClient"]; + this.returnUrl = _data["returnUrl"]; + this.authProvider = _data["authProvider"]; + this.providerKey = _data["providerKey"]; + this.clientType = _data["clientType"]; + this.pdaTenantName = _data["pdaTenantName"]; + } + } + + static fromJS(data: any): AuthenticateModel { + data = typeof data === 'object' ? data : {}; + let result = new AuthenticateModel(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["userNameOrEmailAddress"] = this.userNameOrEmailAddress; + data["password"] = this.password; + data["verificationCode"] = this.verificationCode; + data["rememberClient"] = this.rememberClient; + data["returnUrl"] = this.returnUrl; + data["authProvider"] = this.authProvider; + data["providerKey"] = this.providerKey; + data["clientType"] = this.clientType; + data["pdaTenantName"] = this.pdaTenantName; + return data; + } + + clone(): AuthenticateModel { + const json = this.toJSON(); + let result = new AuthenticateModel(); + result.init(json); + return result; + } +} + +export interface IAuthenticateModel { + userNameOrEmailAddress: string; + password: string; + verificationCode: string | undefined; + rememberClient: boolean; + returnUrl: string | undefined; + authProvider: string | undefined; + providerKey: string | undefined; + clientType: string | undefined; + pdaTenantName: string | undefined; +} + +export class AuthenticateResultModel implements IAuthenticateResultModel { + accessToken: string | undefined; + encryptedAccessToken: string | undefined; + refreshToken: string | undefined; + expireInSeconds: number; + userId: string | undefined; + shouldResetPassword: boolean; + passwordResetCode: string | undefined; + refreshTokenExpireInSeconds: number; + returnUrl: string | undefined; + waitingForActivation: boolean; + + constructor(data?: IAuthenticateResultModel) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.accessToken = _data["accessToken"]; + this.encryptedAccessToken = _data["encryptedAccessToken"]; + this.refreshToken = _data["refreshToken"]; + this.expireInSeconds = _data["expireInSeconds"]; + this.userId = _data["userId"]; + this.shouldResetPassword = _data["shouldResetPassword"]; + this.passwordResetCode = _data["passwordResetCode"]; + this.refreshTokenExpireInSeconds = _data["refreshTokenExpireInSeconds"]; + this.returnUrl = _data["returnUrl"]; + this.waitingForActivation = _data["waitingForActivation"]; + } + } + + static fromJS(data: any): AuthenticateResultModel { + data = typeof data === 'object' ? data : {}; + let result = new AuthenticateResultModel(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["accessToken"] = this.accessToken; + data["encryptedAccessToken"] = this.encryptedAccessToken; + data["refreshToken"] = this.refreshToken; + data["expireInSeconds"] = this.expireInSeconds; + data["userId"] = this.userId; + data["shouldResetPassword"] = this.shouldResetPassword; + data["passwordResetCode"] = this.passwordResetCode; + data["refreshTokenExpireInSeconds"] = this.refreshTokenExpireInSeconds; + data["returnUrl"] = this.returnUrl; + data["waitingForActivation"] = this.waitingForActivation; + return data; + } + + clone(): AuthenticateResultModel { + const json = this.toJSON(); + let result = new AuthenticateResultModel(); + result.init(json); + return result; + } +} + +export interface IAuthenticateResultModel { + accessToken: string | undefined; + encryptedAccessToken: string | undefined; + refreshToken: string | undefined; + expireInSeconds: number; + userId: string | undefined; + shouldResetPassword: boolean; + passwordResetCode: string | undefined; + refreshTokenExpireInSeconds: number; + returnUrl: string | undefined; + waitingForActivation: boolean; +} + +export class BigDataListDto implements IBigDataListDto { + code: string | undefined; + name: string | undefined; + createTime: moment.Moment; + + constructor(data?: IBigDataListDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.code = _data["code"]; + this.name = _data["name"]; + this.createTime = _data["createTime"] ? moment(_data["createTime"].toString()) : undefined; + } + } + + static fromJS(data: any): BigDataListDto { + data = typeof data === 'object' ? data : {}; + let result = new BigDataListDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["code"] = this.code; + data["name"] = this.name; + data["createTime"] = this.createTime ? this.createTime.toISOString() : undefined; + return data; + } + + clone(): BigDataListDto { + const json = this.toJSON(); + let result = new BigDataListDto(); + result.init(json); + return result; + } +} + +export interface IBigDataListDto { + code: string | undefined; + name: string | undefined; + createTime: moment.Moment; +} + +export class BlockUserInput implements IBlockUserInput { + userId: string | undefined; + tenantId: string | undefined; + + constructor(data?: IBlockUserInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.userId = _data["userId"]; + this.tenantId = _data["tenantId"]; + } + } + + static fromJS(data: any): BlockUserInput { + data = typeof data === 'object' ? data : {}; + let result = new BlockUserInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["userId"] = this.userId; + data["tenantId"] = this.tenantId; + return data; + } + + clone(): BlockUserInput { + const json = this.toJSON(); + let result = new BlockUserInput(); + result.init(json); + return result; + } +} + +export interface IBlockUserInput { + userId: string | undefined; + tenantId: string | undefined; +} + +export class BomParamDetailImportDto implements IBomParamDetailImportDto { + paramModel: string; + paramType: string; + paramCode: string; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; + param11: string | undefined; + param12: string | undefined; + param13: string | undefined; + param14: string | undefined; + param15: string | undefined; + param16: string | undefined; + param17: string | undefined; + param18: string | undefined; + param19: string | undefined; + param20: string | undefined; + param21: string | undefined; + param22: string | undefined; + param23: string | undefined; + param24: string | undefined; + param25: string | undefined; + param26: string | undefined; + param27: string | undefined; + param28: string | undefined; + param29: string | undefined; + param30: string | undefined; + paramValue: string; + bomQty: number | undefined; + memo: string | undefined; + + constructor(data?: IBomParamDetailImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.paramModel = _data["paramModel"]; + this.paramType = _data["paramType"]; + this.paramCode = _data["paramCode"]; + this.param1 = _data["param1"]; + this.param2 = _data["param2"]; + this.param3 = _data["param3"]; + this.param4 = _data["param4"]; + this.param5 = _data["param5"]; + this.param6 = _data["param6"]; + this.param7 = _data["param7"]; + this.param8 = _data["param8"]; + this.param9 = _data["param9"]; + this.param10 = _data["param10"]; + this.param11 = _data["param11"]; + this.param12 = _data["param12"]; + this.param13 = _data["param13"]; + this.param14 = _data["param14"]; + this.param15 = _data["param15"]; + this.param16 = _data["param16"]; + this.param17 = _data["param17"]; + this.param18 = _data["param18"]; + this.param19 = _data["param19"]; + this.param20 = _data["param20"]; + this.param21 = _data["param21"]; + this.param22 = _data["param22"]; + this.param23 = _data["param23"]; + this.param24 = _data["param24"]; + this.param25 = _data["param25"]; + this.param26 = _data["param26"]; + this.param27 = _data["param27"]; + this.param28 = _data["param28"]; + this.param29 = _data["param29"]; + this.param30 = _data["param30"]; + this.paramValue = _data["paramValue"]; + this.bomQty = _data["bomQty"]; + this.memo = _data["memo"]; + } + } + + static fromJS(data: any): BomParamDetailImportDto { + data = typeof data === 'object' ? data : {}; + let result = new BomParamDetailImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["paramModel"] = this.paramModel; + data["paramType"] = this.paramType; + data["paramCode"] = this.paramCode; + data["param1"] = this.param1; + data["param2"] = this.param2; + data["param3"] = this.param3; + data["param4"] = this.param4; + data["param5"] = this.param5; + data["param6"] = this.param6; + data["param7"] = this.param7; + data["param8"] = this.param8; + data["param9"] = this.param9; + data["param10"] = this.param10; + data["param11"] = this.param11; + data["param12"] = this.param12; + data["param13"] = this.param13; + data["param14"] = this.param14; + data["param15"] = this.param15; + data["param16"] = this.param16; + data["param17"] = this.param17; + data["param18"] = this.param18; + data["param19"] = this.param19; + data["param20"] = this.param20; + data["param21"] = this.param21; + data["param22"] = this.param22; + data["param23"] = this.param23; + data["param24"] = this.param24; + data["param25"] = this.param25; + data["param26"] = this.param26; + data["param27"] = this.param27; + data["param28"] = this.param28; + data["param29"] = this.param29; + data["param30"] = this.param30; + data["paramValue"] = this.paramValue; + data["bomQty"] = this.bomQty; + data["memo"] = this.memo; + return data; + } + + clone(): BomParamDetailImportDto { + const json = this.toJSON(); + let result = new BomParamDetailImportDto(); + result.init(json); + return result; + } +} + +export interface IBomParamDetailImportDto { + paramModel: string; + paramType: string; + paramCode: string; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; + param11: string | undefined; + param12: string | undefined; + param13: string | undefined; + param14: string | undefined; + param15: string | undefined; + param16: string | undefined; + param17: string | undefined; + param18: string | undefined; + param19: string | undefined; + param20: string | undefined; + param21: string | undefined; + param22: string | undefined; + param23: string | undefined; + param24: string | undefined; + param25: string | undefined; + param26: string | undefined; + param27: string | undefined; + param28: string | undefined; + param29: string | undefined; + param30: string | undefined; + paramValue: string; + bomQty: number | undefined; + memo: string | undefined; +} + +export class ButtonConfigs implements IButtonConfigs { + sortNum: number | undefined; + type: string | undefined; + className: string | undefined; + eventName: string | undefined; + icon: string | undefined; + shape: string | undefined; + size: string | undefined; + width: number | undefined; + title: string | undefined; + acl: string | undefined; + color: string | undefined; + bgColor: string | undefined; + position: string | undefined; + disable: boolean | undefined; + + constructor(data?: IButtonConfigs) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.sortNum = _data["sortNum"]; + this.type = _data["type"]; + this.className = _data["className"]; + this.eventName = _data["eventName"]; + this.icon = _data["icon"]; + this.shape = _data["shape"]; + this.size = _data["size"]; + this.width = _data["width"]; + this.title = _data["title"]; + this.acl = _data["acl"]; + this.color = _data["color"]; + this.bgColor = _data["bgColor"]; + this.position = _data["position"]; + this.disable = _data["disable"]; + } + } + + static fromJS(data: any): ButtonConfigs { + data = typeof data === 'object' ? data : {}; + let result = new ButtonConfigs(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["sortNum"] = this.sortNum; + data["type"] = this.type; + data["className"] = this.className; + data["eventName"] = this.eventName; + data["icon"] = this.icon; + data["shape"] = this.shape; + data["size"] = this.size; + data["width"] = this.width; + data["title"] = this.title; + data["acl"] = this.acl; + data["color"] = this.color; + data["bgColor"] = this.bgColor; + data["position"] = this.position; + data["disable"] = this.disable; + return data; + } + + clone(): ButtonConfigs { + const json = this.toJSON(); + let result = new ButtonConfigs(); + result.init(json); + return result; + } +} + +export interface IButtonConfigs { + sortNum: number | undefined; + type: string | undefined; + className: string | undefined; + eventName: string | undefined; + icon: string | undefined; + shape: string | undefined; + size: string | undefined; + width: number | undefined; + title: string | undefined; + acl: string | undefined; + color: string | undefined; + bgColor: string | undefined; + position: string | undefined; + disable: boolean | undefined; +} + +export class ButtonGroupsDto implements IButtonGroupsDto { + buttonConfigs: ButtonConfigs[] | undefined; + + constructor(data?: IButtonGroupsDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["buttonConfigs"])) { + this.buttonConfigs = [] as any; + for (let item of _data["buttonConfigs"]) + this.buttonConfigs.push(ButtonConfigs.fromJS(item)); + } + } + } + + static fromJS(data: any): ButtonGroupsDto { + data = typeof data === 'object' ? data : {}; + let result = new ButtonGroupsDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.buttonConfigs)) { + data["buttonConfigs"] = []; + for (let item of this.buttonConfigs) + data["buttonConfigs"].push(item.toJSON()); + } + return data; + } + + clone(): ButtonGroupsDto { + const json = this.toJSON(); + let result = new ButtonGroupsDto(); + result.init(json); + return result; + } +} + +export interface IButtonGroupsDto { + buttonConfigs: ButtonConfigs[] | undefined; +} + +export class CancellationToken implements ICancellationToken { + readonly isCancellationRequested: boolean; + readonly canBeCanceled: boolean; + waitHandle: WaitHandle; + + constructor(data?: ICancellationToken) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + (this).isCancellationRequested = _data["isCancellationRequested"]; + (this).canBeCanceled = _data["canBeCanceled"]; + this.waitHandle = _data["waitHandle"] ? WaitHandle.fromJS(_data["waitHandle"]) : undefined; + } + } + + static fromJS(data: any): CancellationToken { + data = typeof data === 'object' ? data : {}; + let result = new CancellationToken(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["isCancellationRequested"] = this.isCancellationRequested; + data["canBeCanceled"] = this.canBeCanceled; + data["waitHandle"] = this.waitHandle ? this.waitHandle.toJSON() : undefined; + return data; + } + + clone(): CancellationToken { + const json = this.toJSON(); + let result = new CancellationToken(); + result.init(json); + return result; + } +} + +export interface ICancellationToken { + isCancellationRequested: boolean; + canBeCanceled: boolean; + waitHandle: WaitHandle; +} + +export class CaptchaConfigSetting implements ICaptchaConfigSetting { + useCaptchaOnTenantRegistration: boolean; + configCaptchaOnTenantType: ValidateCodeType; + configCaptchaOnTenantLength: number; + configCaptchaOnUserType: ValidateCodeType; + configCaptchaOnUserLength: number; + useCaptchaOnUserRegistration: boolean; + useCaptchaOnUserLogin: boolean; + useCaptchaOnUserForgotPassword: boolean; + + constructor(data?: ICaptchaConfigSetting) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.useCaptchaOnTenantRegistration = _data["useCaptchaOnTenantRegistration"]; + this.configCaptchaOnTenantType = _data["configCaptchaOnTenantType"]; + this.configCaptchaOnTenantLength = _data["configCaptchaOnTenantLength"]; + this.configCaptchaOnUserType = _data["configCaptchaOnUserType"]; + this.configCaptchaOnUserLength = _data["configCaptchaOnUserLength"]; + this.useCaptchaOnUserRegistration = _data["useCaptchaOnUserRegistration"]; + this.useCaptchaOnUserLogin = _data["useCaptchaOnUserLogin"]; + this.useCaptchaOnUserForgotPassword = _data["useCaptchaOnUserForgotPassword"]; + } + } + + static fromJS(data: any): CaptchaConfigSetting { + data = typeof data === 'object' ? data : {}; + let result = new CaptchaConfigSetting(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["useCaptchaOnTenantRegistration"] = this.useCaptchaOnTenantRegistration; + data["configCaptchaOnTenantType"] = this.configCaptchaOnTenantType; + data["configCaptchaOnTenantLength"] = this.configCaptchaOnTenantLength; + data["configCaptchaOnUserType"] = this.configCaptchaOnUserType; + data["configCaptchaOnUserLength"] = this.configCaptchaOnUserLength; + data["useCaptchaOnUserRegistration"] = this.useCaptchaOnUserRegistration; + data["useCaptchaOnUserLogin"] = this.useCaptchaOnUserLogin; + data["useCaptchaOnUserForgotPassword"] = this.useCaptchaOnUserForgotPassword; + return data; + } + + clone(): CaptchaConfigSetting { + const json = this.toJSON(); + let result = new CaptchaConfigSetting(); + result.init(json); + return result; + } +} + +export interface ICaptchaConfigSetting { + useCaptchaOnTenantRegistration: boolean; + configCaptchaOnTenantType: ValidateCodeType; + configCaptchaOnTenantLength: number; + configCaptchaOnUserType: ValidateCodeType; + configCaptchaOnUserLength: number; + useCaptchaOnUserRegistration: boolean; + useCaptchaOnUserLogin: boolean; + useCaptchaOnUserForgotPassword: boolean; +} + +export class ChangePasswordInput implements IChangePasswordInput { + currentPassword: string; + newPassword: string; + + constructor(data?: IChangePasswordInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.currentPassword = _data["currentPassword"]; + this.newPassword = _data["newPassword"]; + } + } + + static fromJS(data: any): ChangePasswordInput { + data = typeof data === 'object' ? data : {}; + let result = new ChangePasswordInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["currentPassword"] = this.currentPassword; + data["newPassword"] = this.newPassword; + return data; + } + + clone(): ChangePasswordInput { + const json = this.toJSON(); + let result = new ChangePasswordInput(); + result.init(json); + return result; + } +} + +export interface IChangePasswordInput { + currentPassword: string; + newPassword: string; +} + +export class ChangeUserLanguageDto implements IChangeUserLanguageDto { + languageName: string; + + constructor(data?: IChangeUserLanguageDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.languageName = _data["languageName"]; + } + } + + static fromJS(data: any): ChangeUserLanguageDto { + data = typeof data === 'object' ? data : {}; + let result = new ChangeUserLanguageDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["languageName"] = this.languageName; + return data; + } + + clone(): ChangeUserLanguageDto { + const json = this.toJSON(); + let result = new ChangeUserLanguageDto(); + result.init(json); + return result; + } +} + +export interface IChangeUserLanguageDto { + languageName: string; +} + +export enum ChartDateInterval { + Daily = "Daily", + Weekly = "Weekly", + Monthly = "Monthly", +} + +export class ChatMessageDto implements IChatMessageDto { + userId: string | undefined; + tenantId: string | undefined; + targetUserId: string | undefined; + targetTenantId: string | undefined; + side: number; + readState: ChatMessageReadState; + receiverReadState: ChatMessageReadState; + message: string | undefined; + creationTime: moment.Moment; + sharedMessageId: string | undefined; + id: string | undefined; + + constructor(data?: IChatMessageDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.userId = _data["userId"]; + this.tenantId = _data["tenantId"]; + this.targetUserId = _data["targetUserId"]; + this.targetTenantId = _data["targetTenantId"]; + this.side = _data["side"]; + this.readState = _data["readState"]; + this.receiverReadState = _data["receiverReadState"]; + this.message = _data["message"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.sharedMessageId = _data["sharedMessageId"]; + this.id = _data["id"]; + } + } + + static fromJS(data: any): ChatMessageDto { + data = typeof data === 'object' ? data : {}; + let result = new ChatMessageDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["userId"] = this.userId; + data["tenantId"] = this.tenantId; + data["targetUserId"] = this.targetUserId; + data["targetTenantId"] = this.targetTenantId; + data["side"] = this.side; + data["readState"] = this.readState; + data["receiverReadState"] = this.receiverReadState; + data["message"] = this.message; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["sharedMessageId"] = this.sharedMessageId; + data["id"] = this.id; + return data; + } + + clone(): ChatMessageDto { + const json = this.toJSON(); + let result = new ChatMessageDto(); + result.init(json); + return result; + } +} + +export interface IChatMessageDto { + userId: string | undefined; + tenantId: string | undefined; + targetUserId: string | undefined; + targetTenantId: string | undefined; + side: number; + readState: ChatMessageReadState; + receiverReadState: ChatMessageReadState; + message: string | undefined; + creationTime: moment.Moment; + sharedMessageId: string | undefined; + id: string | undefined; +} + +export enum ChatMessageReadState { + Unread = "Unread", + Read = "Read", +} + +export class ClaimsPrincipal implements IClaimsPrincipal { + readonly claims: _definitions_Claim[] | undefined; + identities: _definitions_ClaimsIdentity[] | undefined; + identity: IIdentity; + + constructor(data?: IClaimsPrincipal) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["claims"])) { + (this).claims = [] as any; + for (let item of _data["claims"]) + (this).claims.push(_definitions_Claim.fromJS(item)); + } + if (Array.isArray(_data["identities"])) { + this.identities = [] as any; + for (let item of _data["identities"]) + this.identities.push(_definitions_ClaimsIdentity.fromJS(item)); + } + this.identity = _data["identity"] ? IIdentity.fromJS(_data["identity"]) : undefined; + } + } + + static fromJS(data: any): ClaimsPrincipal { + data = typeof data === 'object' ? data : {}; + let result = new ClaimsPrincipal(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.claims)) { + data["claims"] = []; + for (let item of this.claims) + data["claims"].push(item.toJSON()); + } + if (Array.isArray(this.identities)) { + data["identities"] = []; + for (let item of this.identities) + data["identities"].push(item.toJSON()); + } + data["identity"] = this.identity ? this.identity.toJSON() : undefined; + return data; + } + + clone(): ClaimsPrincipal { + const json = this.toJSON(); + let result = new ClaimsPrincipal(); + result.init(json); + return result; + } +} + +export interface IClaimsPrincipal { + claims: _definitions_Claim[] | undefined; + identities: _definitions_ClaimsIdentity[] | undefined; + identity: IIdentity; +} + +export class ColumnActionItemDto implements IColumnActionItemDto { + name: string | undefined; + label: string | undefined; + icon: string | undefined; + type: ColumnControl; + acl: string | undefined; + buttons: ColumnActionItemDto[] | undefined; + + constructor(data?: IColumnActionItemDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.name = _data["name"]; + this.label = _data["label"]; + this.icon = _data["icon"]; + this.type = _data["type"]; + this.acl = _data["acl"]; + if (Array.isArray(_data["buttons"])) { + this.buttons = [] as any; + for (let item of _data["buttons"]) + this.buttons.push(ColumnActionItemDto.fromJS(item)); + } + } + } + + static fromJS(data: any): ColumnActionItemDto { + data = typeof data === 'object' ? data : {}; + let result = new ColumnActionItemDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["name"] = this.name; + data["label"] = this.label; + data["icon"] = this.icon; + data["type"] = this.type; + data["acl"] = this.acl; + if (Array.isArray(this.buttons)) { + data["buttons"] = []; + for (let item of this.buttons) + data["buttons"].push(item.toJSON()); + } + return data; + } + + clone(): ColumnActionItemDto { + const json = this.toJSON(); + let result = new ColumnActionItemDto(); + result.init(json); + return result; + } +} + +export interface IColumnActionItemDto { + name: string | undefined; + label: string | undefined; + icon: string | undefined; + type: ColumnControl; + acl: string | undefined; + buttons: ColumnActionItemDto[] | undefined; +} + +export enum ColumnControl { + Button = "Button", + Select = "Select", +} + +export class ColumnItemDto implements IColumnItemDto { + field: string | undefined; + type: string | undefined; + title: string | undefined; + render: string | undefined; + order: number | undefined; + width: number | undefined; + numberDigits: number; + dateFormat: string | undefined; + statistical: ColumnItemStatistical; + fixed: ColumnItemFixed; + actions: ColumnActionItemDto[] | undefined; + acl: string | undefined; + + constructor(data?: IColumnItemDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.field = _data["field"]; + this.type = _data["type"]; + this.title = _data["title"]; + this.render = _data["render"]; + this.order = _data["order"]; + this.width = _data["width"]; + this.numberDigits = _data["numberDigits"]; + this.dateFormat = _data["dateFormat"]; + this.statistical = _data["statistical"]; + this.fixed = _data["fixed"]; + if (Array.isArray(_data["actions"])) { + this.actions = [] as any; + for (let item of _data["actions"]) + this.actions.push(ColumnActionItemDto.fromJS(item)); + } + this.acl = _data["acl"]; + } + } + + static fromJS(data: any): ColumnItemDto { + data = typeof data === 'object' ? data : {}; + let result = new ColumnItemDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["field"] = this.field; + data["type"] = this.type; + data["title"] = this.title; + data["render"] = this.render; + data["order"] = this.order; + data["width"] = this.width; + data["numberDigits"] = this.numberDigits; + data["dateFormat"] = this.dateFormat; + data["statistical"] = this.statistical; + data["fixed"] = this.fixed; + if (Array.isArray(this.actions)) { + data["actions"] = []; + for (let item of this.actions) + data["actions"].push(item.toJSON()); + } + data["acl"] = this.acl; + return data; + } + + clone(): ColumnItemDto { + const json = this.toJSON(); + let result = new ColumnItemDto(); + result.init(json); + return result; + } +} + +export interface IColumnItemDto { + field: string | undefined; + type: string | undefined; + title: string | undefined; + render: string | undefined; + order: number | undefined; + width: number | undefined; + numberDigits: number; + dateFormat: string | undefined; + statistical: ColumnItemStatistical; + fixed: ColumnItemFixed; + actions: ColumnActionItemDto[] | undefined; + acl: string | undefined; +} + +export enum ColumnItemFixed { + None = "None", + Left = "Left", + Right = "Right", +} + +export enum ColumnItemStatistical { + None = "None", + Count = "Count", + DistinctCount = "DistinctCount", + Sum = "Sum", + Average = "Average", + Max = "Max", + Min = "Min", +} + +export class ComboboxItemDto implements IComboboxItemDto { + value: string | undefined; + displayText: string | undefined; + isSelected: boolean; + + constructor(data?: IComboboxItemDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.value = _data["value"]; + this.displayText = _data["displayText"]; + this.isSelected = _data["isSelected"]; + } + } + + static fromJS(data: any): ComboboxItemDto { + data = typeof data === 'object' ? data : {}; + let result = new ComboboxItemDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["value"] = this.value; + data["displayText"] = this.displayText; + data["isSelected"] = this.isSelected; + return data; + } + + clone(): ComboboxItemDto { + const json = this.toJSON(); + let result = new ComboboxItemDto(); + result.init(json); + return result; + } +} + +export interface IComboboxItemDto { + value: string | undefined; + displayText: string | undefined; + isSelected: boolean; +} + +export class ComboboxItemDtoTOfInt32 implements IComboboxItemDtoTOfInt32 { + value: number; + displayText: string | undefined; + isSelected: boolean; + + constructor(data?: IComboboxItemDtoTOfInt32) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.value = _data["value"]; + this.displayText = _data["displayText"]; + this.isSelected = _data["isSelected"]; + } + } + + static fromJS(data: any): ComboboxItemDtoTOfInt32 { + data = typeof data === 'object' ? data : {}; + let result = new ComboboxItemDtoTOfInt32(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["value"] = this.value; + data["displayText"] = this.displayText; + data["isSelected"] = this.isSelected; + return data; + } + + clone(): ComboboxItemDtoTOfInt32 { + const json = this.toJSON(); + let result = new ComboboxItemDtoTOfInt32(); + result.init(json); + return result; + } +} + +export interface IComboboxItemDtoTOfInt32 { + value: number; + displayText: string | undefined; + isSelected: boolean; +} + +export class ComboboxItemDtoTOfString implements IComboboxItemDtoTOfString { + value: string | undefined; + displayText: string | undefined; + isSelected: boolean; + + constructor(data?: IComboboxItemDtoTOfString) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.value = _data["value"]; + this.displayText = _data["displayText"]; + this.isSelected = _data["isSelected"]; + } + } + + static fromJS(data: any): ComboboxItemDtoTOfString { + data = typeof data === 'object' ? data : {}; + let result = new ComboboxItemDtoTOfString(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["value"] = this.value; + data["displayText"] = this.displayText; + data["isSelected"] = this.isSelected; + return data; + } + + clone(): ComboboxItemDtoTOfString { + const json = this.toJSON(); + let result = new ComboboxItemDtoTOfString(); + result.init(json); + return result; + } +} + +export interface IComboboxItemDtoTOfString { + value: string | undefined; + displayText: string | undefined; + isSelected: boolean; +} + +export class CommodityImportDto implements ICommodityImportDto { + id: string | undefined; + commodityName: string | undefined; + commodityPrice: number; + commodityCategory: string | undefined; + + constructor(data?: ICommodityImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.id = _data["id"]; + this.commodityName = _data["commodityName"]; + this.commodityPrice = _data["commodityPrice"]; + this.commodityCategory = _data["commodityCategory"]; + } + } + + static fromJS(data: any): CommodityImportDto { + data = typeof data === 'object' ? data : {}; + let result = new CommodityImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["id"] = this.id; + data["commodityName"] = this.commodityName; + data["commodityPrice"] = this.commodityPrice; + data["commodityCategory"] = this.commodityCategory; + return data; + } + + clone(): CommodityImportDto { + const json = this.toJSON(); + let result = new CommodityImportDto(); + result.init(json); + return result; + } +} + +export interface ICommodityImportDto { + id: string | undefined; + commodityName: string | undefined; + commodityPrice: number; + commodityCategory: string | undefined; +} + +export class CommodityListDto implements ICommodityListDto { + id: string | undefined; + commodityName: string | undefined; + commodityPrice: number; + commodityCategory: string | undefined; + + constructor(data?: ICommodityListDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.id = _data["id"]; + this.commodityName = _data["commodityName"]; + this.commodityPrice = _data["commodityPrice"]; + this.commodityCategory = _data["commodityCategory"]; + } + } + + static fromJS(data: any): CommodityListDto { + data = typeof data === 'object' ? data : {}; + let result = new CommodityListDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["id"] = this.id; + data["commodityName"] = this.commodityName; + data["commodityPrice"] = this.commodityPrice; + data["commodityCategory"] = this.commodityCategory; + return data; + } + + clone(): CommodityListDto { + const json = this.toJSON(); + let result = new CommodityListDto(); + result.init(json); + return result; + } +} + +export interface ICommodityListDto { + id: string | undefined; + commodityName: string | undefined; + commodityPrice: number; + commodityCategory: string | undefined; +} + +export class CommonLookupFindUsersInput implements ICommonLookupFindUsersInput { + tenantId: string | undefined; + maxResultCount: number; + skipCount: number; + filterText: string | undefined; + + constructor(data?: ICommonLookupFindUsersInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.tenantId = _data["tenantId"]; + this.maxResultCount = _data["maxResultCount"]; + this.skipCount = _data["skipCount"]; + this.filterText = _data["filterText"]; + } + } + + static fromJS(data: any): CommonLookupFindUsersInput { + data = typeof data === 'object' ? data : {}; + let result = new CommonLookupFindUsersInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["tenantId"] = this.tenantId; + data["maxResultCount"] = this.maxResultCount; + data["skipCount"] = this.skipCount; + data["filterText"] = this.filterText; + return data; + } + + clone(): CommonLookupFindUsersInput { + const json = this.toJSON(); + let result = new CommonLookupFindUsersInput(); + result.init(json); + return result; + } +} + +export interface ICommonLookupFindUsersInput { + tenantId: string | undefined; + maxResultCount: number; + skipCount: number; + filterText: string | undefined; +} + +export class ConnectionInfo implements IConnectionInfo { + id: string | undefined; + remoteIpAddress: IPAddress; + remotePort: number; + localIpAddress: IPAddress; + localPort: number; + clientCertificate: X509Certificate2; + + constructor(data?: IConnectionInfo) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.id = _data["id"]; + this.remoteIpAddress = _data["remoteIpAddress"] ? IPAddress.fromJS(_data["remoteIpAddress"]) : undefined; + this.remotePort = _data["remotePort"]; + this.localIpAddress = _data["localIpAddress"] ? IPAddress.fromJS(_data["localIpAddress"]) : undefined; + this.localPort = _data["localPort"]; + this.clientCertificate = _data["clientCertificate"] ? X509Certificate2.fromJS(_data["clientCertificate"]) : undefined; + } + } + + static fromJS(data: any): ConnectionInfo { + data = typeof data === 'object' ? data : {}; + let result = new ConnectionInfo(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["id"] = this.id; + data["remoteIpAddress"] = this.remoteIpAddress ? this.remoteIpAddress.toJSON() : undefined; + data["remotePort"] = this.remotePort; + data["localIpAddress"] = this.localIpAddress ? this.localIpAddress.toJSON() : undefined; + data["localPort"] = this.localPort; + data["clientCertificate"] = this.clientCertificate ? this.clientCertificate.toJSON() : undefined; + return data; + } + + clone(): ConnectionInfo { + const json = this.toJSON(); + let result = new ConnectionInfo(); + result.init(json); + return result; + } +} + +export interface IConnectionInfo { + id: string | undefined; + remoteIpAddress: IPAddress; + remotePort: number; + localIpAddress: IPAddress; + localPort: number; + clientCertificate: X509Certificate2; +} + +export class CreateFriendshipRequestByUserNameInput implements ICreateFriendshipRequestByUserNameInput { + tenancyName: string; + userName: string | undefined; + + constructor(data?: ICreateFriendshipRequestByUserNameInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.tenancyName = _data["tenancyName"]; + this.userName = _data["userName"]; + } + } + + static fromJS(data: any): CreateFriendshipRequestByUserNameInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateFriendshipRequestByUserNameInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["tenancyName"] = this.tenancyName; + data["userName"] = this.userName; + return data; + } + + clone(): CreateFriendshipRequestByUserNameInput { + const json = this.toJSON(); + let result = new CreateFriendshipRequestByUserNameInput(); + result.init(json); + return result; + } +} + +export interface ICreateFriendshipRequestByUserNameInput { + tenancyName: string; + userName: string | undefined; +} + +export class CreateFriendshipRequestInput implements ICreateFriendshipRequestInput { + userId: string | undefined; + tenantId: string | undefined; + + constructor(data?: ICreateFriendshipRequestInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.userId = _data["userId"]; + this.tenantId = _data["tenantId"]; + } + } + + static fromJS(data: any): CreateFriendshipRequestInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateFriendshipRequestInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["userId"] = this.userId; + data["tenantId"] = this.tenantId; + return data; + } + + clone(): CreateFriendshipRequestInput { + const json = this.toJSON(); + let result = new CreateFriendshipRequestInput(); + result.init(json); + return result; + } +} + +export interface ICreateFriendshipRequestInput { + userId: string | undefined; + tenantId: string | undefined; +} + +export class CreateOrEditWechatMenuInput implements ICreateOrEditWechatMenuInput { + appId: string | undefined; + menu: MenuFull_RootButton[] | undefined; + matchRule: MenuMatchRule; + + constructor(data?: ICreateOrEditWechatMenuInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.appId = _data["appId"]; + if (Array.isArray(_data["menu"])) { + this.menu = [] as any; + for (let item of _data["menu"]) + this.menu.push(MenuFull_RootButton.fromJS(item)); + } + this.matchRule = _data["matchRule"] ? MenuMatchRule.fromJS(_data["matchRule"]) : undefined; + } + } + + static fromJS(data: any): CreateOrEditWechatMenuInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrEditWechatMenuInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["appId"] = this.appId; + if (Array.isArray(this.menu)) { + data["menu"] = []; + for (let item of this.menu) + data["menu"].push(item.toJSON()); + } + data["matchRule"] = this.matchRule ? this.matchRule.toJSON() : undefined; + return data; + } + + clone(): CreateOrEditWechatMenuInput { + const json = this.toJSON(); + let result = new CreateOrEditWechatMenuInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrEditWechatMenuInput { + appId: string | undefined; + menu: MenuFull_RootButton[] | undefined; + matchRule: MenuMatchRule; +} + +export class CreateOrUpdateApkManagementInput implements ICreateOrUpdateApkManagementInput { + apkManagement: ApkManagementEditDto; + + constructor(data?: ICreateOrUpdateApkManagementInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.apkManagement = new ApkManagementEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.apkManagement = _data["apkManagement"] ? ApkManagementEditDto.fromJS(_data["apkManagement"]) : new ApkManagementEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateApkManagementInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateApkManagementInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["apkManagement"] = this.apkManagement ? this.apkManagement.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateApkManagementInput { + const json = this.toJSON(); + let result = new CreateOrUpdateApkManagementInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateApkManagementInput { + apkManagement: ApkManagementEditDto; +} + +export class CreateOrUpdateEditionDto implements ICreateOrUpdateEditionDto { + edition: EditionEditDto; + featureValues: NameValueDto[]; + + constructor(data?: ICreateOrUpdateEditionDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.edition = new EditionEditDto(); + this.featureValues = []; + } + } + + init(_data?: any) { + if (_data) { + this.edition = _data["edition"] ? EditionEditDto.fromJS(_data["edition"]) : new EditionEditDto(); + if (Array.isArray(_data["featureValues"])) { + this.featureValues = [] as any; + for (let item of _data["featureValues"]) + this.featureValues.push(NameValueDto.fromJS(item)); + } + } + } + + static fromJS(data: any): CreateOrUpdateEditionDto { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateEditionDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["edition"] = this.edition ? this.edition.toJSON() : undefined; + if (Array.isArray(this.featureValues)) { + data["featureValues"] = []; + for (let item of this.featureValues) + data["featureValues"].push(item.toJSON()); + } + return data; + } + + clone(): CreateOrUpdateEditionDto { + const json = this.toJSON(); + let result = new CreateOrUpdateEditionDto(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateEditionDto { + edition: EditionEditDto; + featureValues: NameValueDto[]; +} + +export class CreateOrUpdateFileInput implements ICreateOrUpdateFileInput { + fileDto: FileEditDto; + + constructor(data?: ICreateOrUpdateFileInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.fileDto = new FileEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.fileDto = _data["fileDto"] ? FileEditDto.fromJS(_data["fileDto"]) : new FileEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateFileInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateFileInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["fileDto"] = this.fileDto ? this.fileDto.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateFileInput { + const json = this.toJSON(); + let result = new CreateOrUpdateFileInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateFileInput { + fileDto: FileEditDto; +} + +export class CreateOrUpdateIcsAqlInput implements ICreateOrUpdateIcsAqlInput { + icsAql: IcsAqlEditDto; + + constructor(data?: ICreateOrUpdateIcsAqlInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsAql = new IcsAqlEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsAql = _data["icsAql"] ? IcsAqlEditDto.fromJS(_data["icsAql"]) : new IcsAqlEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsAqlInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsAqlInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsAql"] = this.icsAql ? this.icsAql.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsAqlInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsAqlInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsAqlInput { + icsAql: IcsAqlEditDto; +} + +export class CreateOrUpdateIcsArmorplateInput implements ICreateOrUpdateIcsArmorplateInput { + icsArmorplate: IcsArmorplateEditDto; + + constructor(data?: ICreateOrUpdateIcsArmorplateInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsArmorplate = new IcsArmorplateEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsArmorplate = _data["icsArmorplate"] ? IcsArmorplateEditDto.fromJS(_data["icsArmorplate"]) : new IcsArmorplateEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsArmorplateInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsArmorplateInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsArmorplate"] = this.icsArmorplate ? this.icsArmorplate.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsArmorplateInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsArmorplateInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsArmorplateInput { + icsArmorplate: IcsArmorplateEditDto; +} + +export class CreateOrUpdateIcsBomParamDetailInput implements ICreateOrUpdateIcsBomParamDetailInput { + icsBomParamDetail: IcsBomParamDetailEditDto; + + constructor(data?: ICreateOrUpdateIcsBomParamDetailInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsBomParamDetail = new IcsBomParamDetailEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsBomParamDetail = _data["icsBomParamDetail"] ? IcsBomParamDetailEditDto.fromJS(_data["icsBomParamDetail"]) : new IcsBomParamDetailEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsBomParamDetailInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsBomParamDetailInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsBomParamDetail"] = this.icsBomParamDetail ? this.icsBomParamDetail.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsBomParamDetailInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsBomParamDetailInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsBomParamDetailInput { + icsBomParamDetail: IcsBomParamDetailEditDto; +} + +export class CreateOrUpdateIcsBomParamHeadInput implements ICreateOrUpdateIcsBomParamHeadInput { + icsBomParamHead: IcsBomParamHeadEditDto; + + constructor(data?: ICreateOrUpdateIcsBomParamHeadInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsBomParamHead = new IcsBomParamHeadEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsBomParamHead = _data["icsBomParamHead"] ? IcsBomParamHeadEditDto.fromJS(_data["icsBomParamHead"]) : new IcsBomParamHeadEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsBomParamHeadInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsBomParamHeadInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsBomParamHead"] = this.icsBomParamHead ? this.icsBomParamHead.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsBomParamHeadInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsBomParamHeadInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsBomParamHeadInput { + icsBomParamHead: IcsBomParamHeadEditDto; +} + +export class CreateOrUpdateIcsCheckGroupInput implements ICreateOrUpdateIcsCheckGroupInput { + icsCheckGroup: IcsCheckGroupEditDto; + + constructor(data?: ICreateOrUpdateIcsCheckGroupInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsCheckGroup = new IcsCheckGroupEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsCheckGroup = _data["icsCheckGroup"] ? IcsCheckGroupEditDto.fromJS(_data["icsCheckGroup"]) : new IcsCheckGroupEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsCheckGroupInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsCheckGroupInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsCheckGroup"] = this.icsCheckGroup ? this.icsCheckGroup.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsCheckGroupInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsCheckGroupInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsCheckGroupInput { + icsCheckGroup: IcsCheckGroupEditDto; +} + +export class CreateOrUpdateIcsCheckItemInput implements ICreateOrUpdateIcsCheckItemInput { + icsCheckItem: IcsCheckItemEditDto; + + constructor(data?: ICreateOrUpdateIcsCheckItemInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsCheckItem = new IcsCheckItemEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsCheckItem = _data["icsCheckItem"] ? IcsCheckItemEditDto.fromJS(_data["icsCheckItem"]) : new IcsCheckItemEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsCheckItemInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsCheckItemInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsCheckItem"] = this.icsCheckItem ? this.icsCheckItem.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsCheckItemInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsCheckItemInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsCheckItemInput { + icsCheckItem: IcsCheckItemEditDto; +} + +export class CreateOrUpdateIcsCrewInput implements ICreateOrUpdateIcsCrewInput { + icsCrew: IcsCrewEditDto; + + constructor(data?: ICreateOrUpdateIcsCrewInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsCrew = new IcsCrewEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsCrew = _data["icsCrew"] ? IcsCrewEditDto.fromJS(_data["icsCrew"]) : new IcsCrewEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsCrewInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsCrewInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsCrew"] = this.icsCrew ? this.icsCrew.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsCrewInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsCrewInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsCrewInput { + icsCrew: IcsCrewEditDto; +} + +export class CreateOrUpdateIcsDataAuthorizationConfigInput implements ICreateOrUpdateIcsDataAuthorizationConfigInput { + icsDataAuthorizationConfig: IcsDataAuthorizationConfigEditDto; + + constructor(data?: ICreateOrUpdateIcsDataAuthorizationConfigInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsDataAuthorizationConfig = new IcsDataAuthorizationConfigEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsDataAuthorizationConfig = _data["icsDataAuthorizationConfig"] ? IcsDataAuthorizationConfigEditDto.fromJS(_data["icsDataAuthorizationConfig"]) : new IcsDataAuthorizationConfigEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsDataAuthorizationConfigInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsDataAuthorizationConfigInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsDataAuthorizationConfig"] = this.icsDataAuthorizationConfig ? this.icsDataAuthorizationConfig.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsDataAuthorizationConfigInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsDataAuthorizationConfigInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsDataAuthorizationConfigInput { + icsDataAuthorizationConfig: IcsDataAuthorizationConfigEditDto; +} + +export class CreateOrUpdateIcsDctInput implements ICreateOrUpdateIcsDctInput { + icsDct: IcsDctEditDto; + + constructor(data?: ICreateOrUpdateIcsDctInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsDct = new IcsDctEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsDct = _data["icsDct"] ? IcsDctEditDto.fromJS(_data["icsDct"]) : new IcsDctEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsDctInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsDctInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsDct"] = this.icsDct ? this.icsDct.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsDctInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsDctInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsDctInput { + icsDct: IcsDctEditDto; +} + +export class CreateOrUpdateIcsDutyInput implements ICreateOrUpdateIcsDutyInput { + icsDuty: IcsDutyEditDto; + + constructor(data?: ICreateOrUpdateIcsDutyInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsDuty = new IcsDutyEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsDuty = _data["icsDuty"] ? IcsDutyEditDto.fromJS(_data["icsDuty"]) : new IcsDutyEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsDutyInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsDutyInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsDuty"] = this.icsDuty ? this.icsDuty.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsDutyInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsDutyInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsDutyInput { + icsDuty: IcsDutyEditDto; +} + +export class CreateOrUpdateIcsDynamicColumnConfigInput implements ICreateOrUpdateIcsDynamicColumnConfigInput { + icsDynamicColumnConfig: IcsDynamicColumnConfigEditDto; + + constructor(data?: ICreateOrUpdateIcsDynamicColumnConfigInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsDynamicColumnConfig = new IcsDynamicColumnConfigEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsDynamicColumnConfig = _data["icsDynamicColumnConfig"] ? IcsDynamicColumnConfigEditDto.fromJS(_data["icsDynamicColumnConfig"]) : new IcsDynamicColumnConfigEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsDynamicColumnConfigInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsDynamicColumnConfigInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsDynamicColumnConfig"] = this.icsDynamicColumnConfig ? this.icsDynamicColumnConfig.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsDynamicColumnConfigInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsDynamicColumnConfigInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsDynamicColumnConfigInput { + icsDynamicColumnConfig: IcsDynamicColumnConfigEditDto; +} + +export class CreateOrUpdateIcsEcInput implements ICreateOrUpdateIcsEcInput { + icsEc: IcsEcEditDto; + + constructor(data?: ICreateOrUpdateIcsEcInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEc = new IcsEcEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEc = _data["icsEc"] ? IcsEcEditDto.fromJS(_data["icsEc"]) : new IcsEcEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsEcInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsEcInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEc"] = this.icsEc ? this.icsEc.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsEcInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsEcInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsEcInput { + icsEc: IcsEcEditDto; +} + +export class CreateOrUpdateIcsEcgInput implements ICreateOrUpdateIcsEcgInput { + icsEcg: IcsEcgEditDto; + + constructor(data?: ICreateOrUpdateIcsEcgInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEcg = new IcsEcgEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEcg = _data["icsEcg"] ? IcsEcgEditDto.fromJS(_data["icsEcg"]) : new IcsEcgEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsEcgInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsEcgInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEcg"] = this.icsEcg ? this.icsEcg.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsEcgInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsEcgInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsEcgInput { + icsEcg: IcsEcgEditDto; +} + +export class CreateOrUpdateIcsEcsInput implements ICreateOrUpdateIcsEcsInput { + icsEcs: IcsEcsEditDto; + + constructor(data?: ICreateOrUpdateIcsEcsInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEcs = new IcsEcsEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEcs = _data["icsEcs"] ? IcsEcsEditDto.fromJS(_data["icsEcs"]) : new IcsEcsEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsEcsInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsEcsInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEcs"] = this.icsEcs ? this.icsEcs.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsEcsInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsEcsInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsEcsInput { + icsEcs: IcsEcsEditDto; +} + +export class CreateOrUpdateIcsEcsg2EcsInput implements ICreateOrUpdateIcsEcsg2EcsInput { + icsEcsg2Ecs: IcsEcsg2EcsEditDto; + + constructor(data?: ICreateOrUpdateIcsEcsg2EcsInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEcsg2Ecs = new IcsEcsg2EcsEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEcsg2Ecs = _data["icsEcsg2Ecs"] ? IcsEcsg2EcsEditDto.fromJS(_data["icsEcsg2Ecs"]) : new IcsEcsg2EcsEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsEcsg2EcsInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsEcsg2EcsInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEcsg2Ecs"] = this.icsEcsg2Ecs ? this.icsEcsg2Ecs.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsEcsg2EcsInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsEcsg2EcsInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsEcsg2EcsInput { + icsEcsg2Ecs: IcsEcsg2EcsEditDto; +} + +export class CreateOrUpdateIcsEcsgInput implements ICreateOrUpdateIcsEcsgInput { + icsEcsg: IcsEcsgEditDto; + + constructor(data?: ICreateOrUpdateIcsEcsgInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEcsg = new IcsEcsgEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEcsg = _data["icsEcsg"] ? IcsEcsgEditDto.fromJS(_data["icsEcsg"]) : new IcsEcsgEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsEcsgInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsEcsgInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEcsg"] = this.icsEcsg ? this.icsEcsg.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsEcsgInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsEcsgInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsEcsgInput { + icsEcsg: IcsEcsgEditDto; +} + +export class CreateOrUpdateIcsEqp2OpInput implements ICreateOrUpdateIcsEqp2OpInput { + icsEqp2Op: IcsEqp2OpEditDto; + + constructor(data?: ICreateOrUpdateIcsEqp2OpInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEqp2Op = new IcsEqp2OpEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEqp2Op = _data["icsEqp2Op"] ? IcsEqp2OpEditDto.fromJS(_data["icsEqp2Op"]) : new IcsEqp2OpEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsEqp2OpInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsEqp2OpInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEqp2Op"] = this.icsEqp2Op ? this.icsEqp2Op.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsEqp2OpInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsEqp2OpInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsEqp2OpInput { + icsEqp2Op: IcsEqp2OpEditDto; +} + +export class CreateOrUpdateIcsEqpModelPriceInput implements ICreateOrUpdateIcsEqpModelPriceInput { + icsEqpModelPrice: IcsEqpModelPriceEditDto; + + constructor(data?: ICreateOrUpdateIcsEqpModelPriceInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEqpModelPrice = new IcsEqpModelPriceEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEqpModelPrice = _data["icsEqpModelPrice"] ? IcsEqpModelPriceEditDto.fromJS(_data["icsEqpModelPrice"]) : new IcsEqpModelPriceEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsEqpModelPriceInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsEqpModelPriceInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEqpModelPrice"] = this.icsEqpModelPrice ? this.icsEqpModelPrice.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsEqpModelPriceInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsEqpModelPriceInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsEqpModelPriceInput { + icsEqpModelPrice: IcsEqpModelPriceEditDto; +} + +export class CreateOrUpdateIcsEquipmentInput implements ICreateOrUpdateIcsEquipmentInput { + icsEquipment: IcsEquipmentEditDto; + + constructor(data?: ICreateOrUpdateIcsEquipmentInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEquipment = new IcsEquipmentEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEquipment = _data["icsEquipment"] ? IcsEquipmentEditDto.fromJS(_data["icsEquipment"]) : new IcsEquipmentEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsEquipmentInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsEquipmentInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEquipment"] = this.icsEquipment ? this.icsEquipment.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsEquipmentInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsEquipmentInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsEquipmentInput { + icsEquipment: IcsEquipmentEditDto; +} + +export class CreateOrUpdateIcsEquipmentMaintainItemInput implements ICreateOrUpdateIcsEquipmentMaintainItemInput { + icsEquipmentMaintainItem: IcsEquipmentMaintainItemEditDto; + + constructor(data?: ICreateOrUpdateIcsEquipmentMaintainItemInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEquipmentMaintainItem = new IcsEquipmentMaintainItemEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEquipmentMaintainItem = _data["icsEquipmentMaintainItem"] ? IcsEquipmentMaintainItemEditDto.fromJS(_data["icsEquipmentMaintainItem"]) : new IcsEquipmentMaintainItemEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsEquipmentMaintainItemInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsEquipmentMaintainItemInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEquipmentMaintainItem"] = this.icsEquipmentMaintainItem ? this.icsEquipmentMaintainItem.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsEquipmentMaintainItemInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsEquipmentMaintainItemInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsEquipmentMaintainItemInput { + icsEquipmentMaintainItem: IcsEquipmentMaintainItemEditDto; +} + +export class CreateOrUpdateIcsEquipmentMaintainLogInput implements ICreateOrUpdateIcsEquipmentMaintainLogInput { + icsEquipmentMaintainLog: IcsEquipmentMaintainLogEditDto; + + constructor(data?: ICreateOrUpdateIcsEquipmentMaintainLogInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEquipmentMaintainLog = new IcsEquipmentMaintainLogEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEquipmentMaintainLog = _data["icsEquipmentMaintainLog"] ? IcsEquipmentMaintainLogEditDto.fromJS(_data["icsEquipmentMaintainLog"]) : new IcsEquipmentMaintainLogEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsEquipmentMaintainLogInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsEquipmentMaintainLogInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEquipmentMaintainLog"] = this.icsEquipmentMaintainLog ? this.icsEquipmentMaintainLog.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsEquipmentMaintainLogInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsEquipmentMaintainLogInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsEquipmentMaintainLogInput { + icsEquipmentMaintainLog: IcsEquipmentMaintainLogEditDto; +} + +export class CreateOrUpdateIcsEquipmentMaintainPlanInput implements ICreateOrUpdateIcsEquipmentMaintainPlanInput { + icsEquipmentMaintainPlan: IcsEquipmentMaintainPlanEditDto; + + constructor(data?: ICreateOrUpdateIcsEquipmentMaintainPlanInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEquipmentMaintainPlan = new IcsEquipmentMaintainPlanEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEquipmentMaintainPlan = _data["icsEquipmentMaintainPlan"] ? IcsEquipmentMaintainPlanEditDto.fromJS(_data["icsEquipmentMaintainPlan"]) : new IcsEquipmentMaintainPlanEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsEquipmentMaintainPlanInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsEquipmentMaintainPlanInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEquipmentMaintainPlan"] = this.icsEquipmentMaintainPlan ? this.icsEquipmentMaintainPlan.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsEquipmentMaintainPlanInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsEquipmentMaintainPlanInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsEquipmentMaintainPlanInput { + icsEquipmentMaintainPlan: IcsEquipmentMaintainPlanEditDto; +} + +export class CreateOrUpdateIcsEquipmentPartCheckItemInput implements ICreateOrUpdateIcsEquipmentPartCheckItemInput { + icsEquipmentPartCheckItem: IcsEquipmentPartCheckItemEditDto; + + constructor(data?: ICreateOrUpdateIcsEquipmentPartCheckItemInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEquipmentPartCheckItem = new IcsEquipmentPartCheckItemEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEquipmentPartCheckItem = _data["icsEquipmentPartCheckItem"] ? IcsEquipmentPartCheckItemEditDto.fromJS(_data["icsEquipmentPartCheckItem"]) : new IcsEquipmentPartCheckItemEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsEquipmentPartCheckItemInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsEquipmentPartCheckItemInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEquipmentPartCheckItem"] = this.icsEquipmentPartCheckItem ? this.icsEquipmentPartCheckItem.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsEquipmentPartCheckItemInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsEquipmentPartCheckItemInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsEquipmentPartCheckItemInput { + icsEquipmentPartCheckItem: IcsEquipmentPartCheckItemEditDto; +} + +export class CreateOrUpdateIcsEquipmentPartsInput implements ICreateOrUpdateIcsEquipmentPartsInput { + icsEquipmentParts: IcsEquipmentPartsEditDto; + + constructor(data?: ICreateOrUpdateIcsEquipmentPartsInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEquipmentParts = new IcsEquipmentPartsEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEquipmentParts = _data["icsEquipmentParts"] ? IcsEquipmentPartsEditDto.fromJS(_data["icsEquipmentParts"]) : new IcsEquipmentPartsEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsEquipmentPartsInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsEquipmentPartsInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEquipmentParts"] = this.icsEquipmentParts ? this.icsEquipmentParts.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsEquipmentPartsInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsEquipmentPartsInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsEquipmentPartsInput { + icsEquipmentParts: IcsEquipmentPartsEditDto; +} + +export class CreateOrUpdateIcsEquipmentTSInput implements ICreateOrUpdateIcsEquipmentTSInput { + icsEquipmentTS: IcsEquipmentTSEditDto; + + constructor(data?: ICreateOrUpdateIcsEquipmentTSInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEquipmentTS = new IcsEquipmentTSEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEquipmentTS = _data["icsEquipmentTS"] ? IcsEquipmentTSEditDto.fromJS(_data["icsEquipmentTS"]) : new IcsEquipmentTSEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsEquipmentTSInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsEquipmentTSInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEquipmentTS"] = this.icsEquipmentTS ? this.icsEquipmentTS.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsEquipmentTSInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsEquipmentTSInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsEquipmentTSInput { + icsEquipmentTS: IcsEquipmentTSEditDto; +} + +export class CreateOrUpdateIcsErpTimeInput implements ICreateOrUpdateIcsErpTimeInput { + icsErpTime: IcsErpTimeEditDto; + + constructor(data?: ICreateOrUpdateIcsErpTimeInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsErpTime = new IcsErpTimeEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsErpTime = _data["icsErpTime"] ? IcsErpTimeEditDto.fromJS(_data["icsErpTime"]) : new IcsErpTimeEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsErpTimeInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsErpTimeInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsErpTime"] = this.icsErpTime ? this.icsErpTime.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsErpTimeInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsErpTimeInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsErpTimeInput { + icsErpTime: IcsErpTimeEditDto; +} + +export class CreateOrUpdateIcsFactoryInput implements ICreateOrUpdateIcsFactoryInput { + icsFactory: IcsFactoryEditDto; + + constructor(data?: ICreateOrUpdateIcsFactoryInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsFactory = new IcsFactoryEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsFactory = _data["icsFactory"] ? IcsFactoryEditDto.fromJS(_data["icsFactory"]) : new IcsFactoryEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsFactoryInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsFactoryInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsFactory"] = this.icsFactory ? this.icsFactory.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsFactoryInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsFactoryInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsFactoryInput { + icsFactory: IcsFactoryEditDto; +} + +export class CreateOrUpdateIcsInventoryInput implements ICreateOrUpdateIcsInventoryInput { + icsInventory: IcsInventoryEditDto; + + constructor(data?: ICreateOrUpdateIcsInventoryInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsInventory = new IcsInventoryEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsInventory = _data["icsInventory"] ? IcsInventoryEditDto.fromJS(_data["icsInventory"]) : new IcsInventoryEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsInventoryInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsInventoryInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsInventory"] = this.icsInventory ? this.icsInventory.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsInventoryInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsInventoryInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsInventoryInput { + icsInventory: IcsInventoryEditDto; +} + +export class CreateOrUpdateIcsItem2RouteInput implements ICreateOrUpdateIcsItem2RouteInput { + icsItem2Route: IcsItem2RouteEditDto; + + constructor(data?: ICreateOrUpdateIcsItem2RouteInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsItem2Route = new IcsItem2RouteEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsItem2Route = _data["icsItem2Route"] ? IcsItem2RouteEditDto.fromJS(_data["icsItem2Route"]) : new IcsItem2RouteEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsItem2RouteInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsItem2RouteInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsItem2Route"] = this.icsItem2Route ? this.icsItem2Route.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsItem2RouteInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsItem2RouteInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsItem2RouteInput { + icsItem2Route: IcsItem2RouteEditDto; +} + +export class CreateOrUpdateIcsItemModel2CheckGroupInput implements ICreateOrUpdateIcsItemModel2CheckGroupInput { + icsItemModel2CheckGroup: IcsItemModel2CheckGroupEditDto; + + constructor(data?: ICreateOrUpdateIcsItemModel2CheckGroupInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsItemModel2CheckGroup = new IcsItemModel2CheckGroupEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsItemModel2CheckGroup = _data["icsItemModel2CheckGroup"] ? IcsItemModel2CheckGroupEditDto.fromJS(_data["icsItemModel2CheckGroup"]) : new IcsItemModel2CheckGroupEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsItemModel2CheckGroupInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsItemModel2CheckGroupInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsItemModel2CheckGroup"] = this.icsItemModel2CheckGroup ? this.icsItemModel2CheckGroup.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsItemModel2CheckGroupInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsItemModel2CheckGroupInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsItemModel2CheckGroupInput { + icsItemModel2CheckGroup: IcsItemModel2CheckGroupEditDto; +} + +export class CreateOrUpdateIcsItemOp2CheckItemInput implements ICreateOrUpdateIcsItemOp2CheckItemInput { + icsItemOp2CheckItem: IcsItemOp2CheckItemEditDto; + + constructor(data?: ICreateOrUpdateIcsItemOp2CheckItemInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsItemOp2CheckItem = new IcsItemOp2CheckItemEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsItemOp2CheckItem = _data["icsItemOp2CheckItem"] ? IcsItemOp2CheckItemEditDto.fromJS(_data["icsItemOp2CheckItem"]) : new IcsItemOp2CheckItemEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsItemOp2CheckItemInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsItemOp2CheckItemInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsItemOp2CheckItem"] = this.icsItemOp2CheckItem ? this.icsItemOp2CheckItem.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsItemOp2CheckItemInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsItemOp2CheckItemInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsItemOp2CheckItemInput { + icsItemOp2CheckItem: IcsItemOp2CheckItemEditDto; +} + +export class CreateOrUpdateIcsItemRoute2OpInput implements ICreateOrUpdateIcsItemRoute2OpInput { + icsItemRoute2Op: IcsItemRoute2OpEditDto; + + constructor(data?: ICreateOrUpdateIcsItemRoute2OpInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsItemRoute2Op = new IcsItemRoute2OpEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsItemRoute2Op = _data["icsItemRoute2Op"] ? IcsItemRoute2OpEditDto.fromJS(_data["icsItemRoute2Op"]) : new IcsItemRoute2OpEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsItemRoute2OpInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsItemRoute2OpInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsItemRoute2Op"] = this.icsItemRoute2Op ? this.icsItemRoute2Op.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsItemRoute2OpInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsItemRoute2OpInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsItemRoute2OpInput { + icsItemRoute2Op: IcsItemRoute2OpEditDto; +} + +export class CreateOrUpdateIcsItemStd2RouteInput implements ICreateOrUpdateIcsItemStd2RouteInput { + icsItemStd2Route: IcsItemStd2RouteEditDto; + + constructor(data?: ICreateOrUpdateIcsItemStd2RouteInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsItemStd2Route = new IcsItemStd2RouteEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsItemStd2Route = _data["icsItemStd2Route"] ? IcsItemStd2RouteEditDto.fromJS(_data["icsItemStd2Route"]) : new IcsItemStd2RouteEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsItemStd2RouteInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsItemStd2RouteInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsItemStd2Route"] = this.icsItemStd2Route ? this.icsItemStd2Route.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsItemStd2RouteInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsItemStd2RouteInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsItemStd2RouteInput { + icsItemStd2Route: IcsItemStd2RouteEditDto; +} + +export class CreateOrUpdateIcsLotRoute2OpInput implements ICreateOrUpdateIcsLotRoute2OpInput { + icsLotRoute2Op: IcsLotRoute2OpEditDto[] | undefined; + id: number; + + constructor(data?: ICreateOrUpdateIcsLotRoute2OpInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["icsLotRoute2Op"])) { + this.icsLotRoute2Op = [] as any; + for (let item of _data["icsLotRoute2Op"]) + this.icsLotRoute2Op.push(IcsLotRoute2OpEditDto.fromJS(item)); + } + this.id = _data["id"]; + } + } + + static fromJS(data: any): CreateOrUpdateIcsLotRoute2OpInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsLotRoute2OpInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.icsLotRoute2Op)) { + data["icsLotRoute2Op"] = []; + for (let item of this.icsLotRoute2Op) + data["icsLotRoute2Op"].push(item.toJSON()); + } + data["id"] = this.id; + return data; + } + + clone(): CreateOrUpdateIcsLotRoute2OpInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsLotRoute2OpInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsLotRoute2OpInput { + icsLotRoute2Op: IcsLotRoute2OpEditDto[] | undefined; + id: number; +} + +export class CreateOrUpdateIcsMachineCellInput implements ICreateOrUpdateIcsMachineCellInput { + icsMachineCell: IcsMachineCellEditDto; + + constructor(data?: ICreateOrUpdateIcsMachineCellInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsMachineCell = new IcsMachineCellEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsMachineCell = _data["icsMachineCell"] ? IcsMachineCellEditDto.fromJS(_data["icsMachineCell"]) : new IcsMachineCellEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsMachineCellInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsMachineCellInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsMachineCell"] = this.icsMachineCell ? this.icsMachineCell.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsMachineCellInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsMachineCellInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsMachineCellInput { + icsMachineCell: IcsMachineCellEditDto; +} + +export class CreateOrUpdateIcsMainCategoryCodeInput implements ICreateOrUpdateIcsMainCategoryCodeInput { + icsMainCategoryCode: IcsMainCategoryCodeEditDto; + + constructor(data?: ICreateOrUpdateIcsMainCategoryCodeInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsMainCategoryCode = new IcsMainCategoryCodeEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsMainCategoryCode = _data["icsMainCategoryCode"] ? IcsMainCategoryCodeEditDto.fromJS(_data["icsMainCategoryCode"]) : new IcsMainCategoryCodeEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsMainCategoryCodeInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsMainCategoryCodeInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsMainCategoryCode"] = this.icsMainCategoryCode ? this.icsMainCategoryCode.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsMainCategoryCodeInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsMainCategoryCodeInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsMainCategoryCodeInput { + icsMainCategoryCode: IcsMainCategoryCodeEditDto; +} + +export class CreateOrUpdateIcsManualRecordingInput implements ICreateOrUpdateIcsManualRecordingInput { + icsManualRecording: IcsManualRecordingEditDto; + + constructor(data?: ICreateOrUpdateIcsManualRecordingInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsManualRecording = new IcsManualRecordingEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsManualRecording = _data["icsManualRecording"] ? IcsManualRecordingEditDto.fromJS(_data["icsManualRecording"]) : new IcsManualRecordingEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsManualRecordingInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsManualRecordingInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsManualRecording"] = this.icsManualRecording ? this.icsManualRecording.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsManualRecordingInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsManualRecordingInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsManualRecordingInput { + icsManualRecording: IcsManualRecordingEditDto; +} + +export class CreateOrUpdateIcsManufacturingInput implements ICreateOrUpdateIcsManufacturingInput { + icsManufacturing2EditDto: IcsManufacturing2EditDto; + + constructor(data?: ICreateOrUpdateIcsManufacturingInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsManufacturing2EditDto = new IcsManufacturing2EditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsManufacturing2EditDto = _data["icsManufacturing2EditDto"] ? IcsManufacturing2EditDto.fromJS(_data["icsManufacturing2EditDto"]) : new IcsManufacturing2EditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsManufacturingInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsManufacturingInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsManufacturing2EditDto"] = this.icsManufacturing2EditDto ? this.icsManufacturing2EditDto.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsManufacturingInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsManufacturingInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsManufacturingInput { + icsManufacturing2EditDto: IcsManufacturing2EditDto; +} + +export class CreateOrUpdateIcsMfManufacturerCertificateInput implements ICreateOrUpdateIcsMfManufacturerCertificateInput { + icsMfManufacturerCertificate: IcsMfManufacturerCertificateEditDto; + + constructor(data?: ICreateOrUpdateIcsMfManufacturerCertificateInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsMfManufacturerCertificate = new IcsMfManufacturerCertificateEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsMfManufacturerCertificate = _data["icsMfManufacturerCertificate"] ? IcsMfManufacturerCertificateEditDto.fromJS(_data["icsMfManufacturerCertificate"]) : new IcsMfManufacturerCertificateEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsMfManufacturerCertificateInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsMfManufacturerCertificateInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsMfManufacturerCertificate"] = this.icsMfManufacturerCertificate ? this.icsMfManufacturerCertificate.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsMfManufacturerCertificateInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsMfManufacturerCertificateInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsMfManufacturerCertificateInput { + icsMfManufacturerCertificate: IcsMfManufacturerCertificateEditDto; +} + +export class CreateOrUpdateIcsMinNoInput implements ICreateOrUpdateIcsMinNoInput { + icsMinNo: IcsMinNoEditDto; + + constructor(data?: ICreateOrUpdateIcsMinNoInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsMinNo = new IcsMinNoEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsMinNo = _data["icsMinNo"] ? IcsMinNoEditDto.fromJS(_data["icsMinNo"]) : new IcsMinNoEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsMinNoInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsMinNoInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsMinNo"] = this.icsMinNo ? this.icsMinNo.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsMinNoInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsMinNoInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsMinNoInput { + icsMinNo: IcsMinNoEditDto; +} + +export class CreateOrUpdateIcsMo2LotInput implements ICreateOrUpdateIcsMo2LotInput { + icsMo2Lot: IcsMo2LotEditDto; + + constructor(data?: ICreateOrUpdateIcsMo2LotInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsMo2Lot = new IcsMo2LotEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsMo2Lot = _data["icsMo2Lot"] ? IcsMo2LotEditDto.fromJS(_data["icsMo2Lot"]) : new IcsMo2LotEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsMo2LotInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsMo2LotInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsMo2Lot"] = this.icsMo2Lot ? this.icsMo2Lot.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsMo2LotInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsMo2LotInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsMo2LotInput { + icsMo2Lot: IcsMo2LotEditDto; +} + +export class CreateOrUpdateIcsMoDispatchingInput implements ICreateOrUpdateIcsMoDispatchingInput { + icsMoDispatching: IcsMoDispatchingEditDto; + + constructor(data?: ICreateOrUpdateIcsMoDispatchingInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsMoDispatching = new IcsMoDispatchingEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsMoDispatching = _data["icsMoDispatching"] ? IcsMoDispatchingEditDto.fromJS(_data["icsMoDispatching"]) : new IcsMoDispatchingEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsMoDispatchingInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsMoDispatchingInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsMoDispatching"] = this.icsMoDispatching ? this.icsMoDispatching.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsMoDispatchingInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsMoDispatchingInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsMoDispatchingInput { + icsMoDispatching: IcsMoDispatchingEditDto; +} + +export class CreateOrUpdateIcsMoInput implements ICreateOrUpdateIcsMoInput { + icsMo: IcsMoEditDto; + + constructor(data?: ICreateOrUpdateIcsMoInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsMo = new IcsMoEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsMo = _data["icsMo"] ? IcsMoEditDto.fromJS(_data["icsMo"]) : new IcsMoEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsMoInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsMoInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsMo"] = this.icsMo ? this.icsMo.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsMoInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsMoInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsMoInput { + icsMo: IcsMoEditDto; +} + +export class CreateOrUpdateIcsModel2EcgInput implements ICreateOrUpdateIcsModel2EcgInput { + icsModel2Ecg: IcsModel2EcgEditDto; + + constructor(data?: ICreateOrUpdateIcsModel2EcgInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsModel2Ecg = new IcsModel2EcgEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsModel2Ecg = _data["icsModel2Ecg"] ? IcsModel2EcgEditDto.fromJS(_data["icsModel2Ecg"]) : new IcsModel2EcgEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsModel2EcgInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsModel2EcgInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsModel2Ecg"] = this.icsModel2Ecg ? this.icsModel2Ecg.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsModel2EcgInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsModel2EcgInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsModel2EcgInput { + icsModel2Ecg: IcsModel2EcgEditDto; +} + +export class CreateOrUpdateIcsModel2EcsInput implements ICreateOrUpdateIcsModel2EcsInput { + icsModel2Ecs: IcsModel2EcsEditDto; + + constructor(data?: ICreateOrUpdateIcsModel2EcsInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsModel2Ecs = new IcsModel2EcsEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsModel2Ecs = _data["icsModel2Ecs"] ? IcsModel2EcsEditDto.fromJS(_data["icsModel2Ecs"]) : new IcsModel2EcsEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsModel2EcsInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsModel2EcsInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsModel2Ecs"] = this.icsModel2Ecs ? this.icsModel2Ecs.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsModel2EcsInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsModel2EcsInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsModel2EcsInput { + icsModel2Ecs: IcsModel2EcsEditDto; +} + +export class CreateOrUpdateIcsModel2EcsgInput implements ICreateOrUpdateIcsModel2EcsgInput { + icsModel2Ecsg: IcsModel2EcsgEditDto; + + constructor(data?: ICreateOrUpdateIcsModel2EcsgInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsModel2Ecsg = new IcsModel2EcsgEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsModel2Ecsg = _data["icsModel2Ecsg"] ? IcsModel2EcsgEditDto.fromJS(_data["icsModel2Ecsg"]) : new IcsModel2EcsgEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsModel2EcsgInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsModel2EcsgInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsModel2Ecsg"] = this.icsModel2Ecsg ? this.icsModel2Ecsg.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsModel2EcsgInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsModel2EcsgInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsModel2EcsgInput { + icsModel2Ecsg: IcsModel2EcsgEditDto; +} + +export class CreateOrUpdateIcsModel2SolutionInput implements ICreateOrUpdateIcsModel2SolutionInput { + icsModel2Solution: IcsModel2SolutionEditDto; + + constructor(data?: ICreateOrUpdateIcsModel2SolutionInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsModel2Solution = new IcsModel2SolutionEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsModel2Solution = _data["icsModel2Solution"] ? IcsModel2SolutionEditDto.fromJS(_data["icsModel2Solution"]) : new IcsModel2SolutionEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsModel2SolutionInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsModel2SolutionInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsModel2Solution"] = this.icsModel2Solution ? this.icsModel2Solution.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsModel2SolutionInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsModel2SolutionInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsModel2SolutionInput { + icsModel2Solution: IcsModel2SolutionEditDto; +} + +export class CreateOrUpdateIcsNcrDocInput implements ICreateOrUpdateIcsNcrDocInput { + icsNcrDoc: IcsNcrDocEditDto; + + constructor(data?: ICreateOrUpdateIcsNcrDocInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsNcrDoc = new IcsNcrDocEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsNcrDoc = _data["icsNcrDoc"] ? IcsNcrDocEditDto.fromJS(_data["icsNcrDoc"]) : new IcsNcrDocEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsNcrDocInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsNcrDocInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsNcrDoc"] = this.icsNcrDoc ? this.icsNcrDoc.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsNcrDocInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsNcrDocInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsNcrDocInput { + icsNcrDoc: IcsNcrDocEditDto; +} + +export class CreateOrUpdateIcsOPInput implements ICreateOrUpdateIcsOPInput { + icsOP: IcsOPEditDto; + + constructor(data?: ICreateOrUpdateIcsOPInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsOP = new IcsOPEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsOP = _data["icsOP"] ? IcsOPEditDto.fromJS(_data["icsOP"]) : new IcsOPEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsOPInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsOPInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsOP"] = this.icsOP ? this.icsOP.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsOPInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsOPInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsOPInput { + icsOP: IcsOPEditDto; +} + +export class CreateOrUpdateIcsOp2ResInput implements ICreateOrUpdateIcsOp2ResInput { + icsOp2Res: IcsOp2ResEditDto; + + constructor(data?: ICreateOrUpdateIcsOp2ResInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsOp2Res = new IcsOp2ResEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsOp2Res = _data["icsOp2Res"] ? IcsOp2ResEditDto.fromJS(_data["icsOp2Res"]) : new IcsOp2ResEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsOp2ResInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsOp2ResInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsOp2Res"] = this.icsOp2Res ? this.icsOp2Res.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsOp2ResInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsOp2ResInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsOp2ResInput { + icsOp2Res: IcsOp2ResEditDto; +} + +export class CreateOrUpdateIcsOutSourcingOrderInput implements ICreateOrUpdateIcsOutSourcingOrderInput { + icsOutSourcingOrder: IcsOutSourcingOrderEditDto; + + constructor(data?: ICreateOrUpdateIcsOutSourcingOrderInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsOutSourcingOrder = new IcsOutSourcingOrderEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsOutSourcingOrder = _data["icsOutSourcingOrder"] ? IcsOutSourcingOrderEditDto.fromJS(_data["icsOutSourcingOrder"]) : new IcsOutSourcingOrderEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsOutSourcingOrderInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsOutSourcingOrderInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsOutSourcingOrder"] = this.icsOutSourcingOrder ? this.icsOutSourcingOrder.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsOutSourcingOrderInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsOutSourcingOrderInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsOutSourcingOrderInput { + icsOutSourcingOrder: IcsOutSourcingOrderEditDto; +} + +export class CreateOrUpdateIcsParam2ParamInput implements ICreateOrUpdateIcsParam2ParamInput { + icsParam2Param: IcsParam2ParamEditDto; + + constructor(data?: ICreateOrUpdateIcsParam2ParamInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsParam2Param = new IcsParam2ParamEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsParam2Param = _data["icsParam2Param"] ? IcsParam2ParamEditDto.fromJS(_data["icsParam2Param"]) : new IcsParam2ParamEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsParam2ParamInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsParam2ParamInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsParam2Param"] = this.icsParam2Param ? this.icsParam2Param.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsParam2ParamInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsParam2ParamInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsParam2ParamInput { + icsParam2Param: IcsParam2ParamEditDto; +} + +export class CreateOrUpdateIcsParamDetailInput implements ICreateOrUpdateIcsParamDetailInput { + icsParamDetail: IcsParamDetailEditDto; + + constructor(data?: ICreateOrUpdateIcsParamDetailInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsParamDetail = new IcsParamDetailEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsParamDetail = _data["icsParamDetail"] ? IcsParamDetailEditDto.fromJS(_data["icsParamDetail"]) : new IcsParamDetailEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsParamDetailInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsParamDetailInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsParamDetail"] = this.icsParamDetail ? this.icsParamDetail.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsParamDetailInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsParamDetailInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsParamDetailInput { + icsParamDetail: IcsParamDetailEditDto; +} + +export class CreateOrUpdateIcsPart2SubItemInput implements ICreateOrUpdateIcsPart2SubItemInput { + icsPart2SubItem: IcsPart2SubItemEditDto; + + constructor(data?: ICreateOrUpdateIcsPart2SubItemInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsPart2SubItem = new IcsPart2SubItemEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsPart2SubItem = _data["icsPart2SubItem"] ? IcsPart2SubItemEditDto.fromJS(_data["icsPart2SubItem"]) : new IcsPart2SubItemEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsPart2SubItemInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsPart2SubItemInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsPart2SubItem"] = this.icsPart2SubItem ? this.icsPart2SubItem.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsPart2SubItemInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsPart2SubItemInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsPart2SubItemInput { + icsPart2SubItem: IcsPart2SubItemEditDto; +} + +export class CreateOrUpdateIcsPartInput implements ICreateOrUpdateIcsPartInput { + icsPart: IcsPartEditDto; + + constructor(data?: ICreateOrUpdateIcsPartInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsPart = new IcsPartEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsPart = _data["icsPart"] ? IcsPartEditDto.fromJS(_data["icsPart"]) : new IcsPartEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsPartInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsPartInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsPart"] = this.icsPart ? this.icsPart.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsPartInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsPartInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsPartInput { + icsPart: IcsPartEditDto; +} + +export class CreateOrUpdateIcsReelInput implements ICreateOrUpdateIcsReelInput { + icsReel: IcsReelEditDto; + + constructor(data?: ICreateOrUpdateIcsReelInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsReel = new IcsReelEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsReel = _data["icsReel"] ? IcsReelEditDto.fromJS(_data["icsReel"]) : new IcsReelEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsReelInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsReelInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsReel"] = this.icsReel ? this.icsReel.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsReelInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsReelInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsReelInput { + icsReel: IcsReelEditDto; +} + +export class CreateOrUpdateIcsResInput implements ICreateOrUpdateIcsResInput { + icsRes: IcsResEditDto; + + constructor(data?: ICreateOrUpdateIcsResInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsRes = new IcsResEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsRes = _data["icsRes"] ? IcsResEditDto.fromJS(_data["icsRes"]) : new IcsResEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsResInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsResInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsRes"] = this.icsRes ? this.icsRes.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsResInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsResInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsResInput { + icsRes: IcsResEditDto; +} + +export class CreateOrUpdateIcsRouteInput implements ICreateOrUpdateIcsRouteInput { + icsRoute: IcsRouteEditDto; + + constructor(data?: ICreateOrUpdateIcsRouteInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsRoute = new IcsRouteEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsRoute = _data["icsRoute"] ? IcsRouteEditDto.fromJS(_data["icsRoute"]) : new IcsRouteEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsRouteInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsRouteInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsRoute"] = this.icsRoute ? this.icsRoute.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsRouteInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsRouteInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsRouteInput { + icsRoute: IcsRouteEditDto; +} + +export class CreateOrUpdateIcsSBomInput implements ICreateOrUpdateIcsSBomInput { + icsSBom: IcsSBomEditDto; + + constructor(data?: ICreateOrUpdateIcsSBomInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsSBom = new IcsSBomEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsSBom = _data["icsSBom"] ? IcsSBomEditDto.fromJS(_data["icsSBom"]) : new IcsSBomEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsSBomInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsSBomInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsSBom"] = this.icsSBom ? this.icsSBom.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsSBomInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsSBomInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsSBomInput { + icsSBom: IcsSBomEditDto; +} + +export class CreateOrUpdateIcsSSInput implements ICreateOrUpdateIcsSSInput { + icsSS: IcsSSEditDto; + + constructor(data?: ICreateOrUpdateIcsSSInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsSS = new IcsSSEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsSS = _data["icsSS"] ? IcsSSEditDto.fromJS(_data["icsSS"]) : new IcsSSEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsSSInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsSSInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsSS"] = this.icsSS ? this.icsSS.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsSSInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsSSInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsSSInput { + icsSS: IcsSSEditDto; +} + +export class CreateOrUpdateIcsSegInput implements ICreateOrUpdateIcsSegInput { + icsSeg: IcsSegEditDto; + + constructor(data?: ICreateOrUpdateIcsSegInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsSeg = new IcsSegEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsSeg = _data["icsSeg"] ? IcsSegEditDto.fromJS(_data["icsSeg"]) : new IcsSegEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsSegInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsSegInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsSeg"] = this.icsSeg ? this.icsSeg.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsSegInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsSegInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsSegInput { + icsSeg: IcsSegEditDto; +} + +export class CreateOrUpdateIcsShiftInput implements ICreateOrUpdateIcsShiftInput { + icsShift: IcsShiftEditDto; + + constructor(data?: ICreateOrUpdateIcsShiftInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsShift = new IcsShiftEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsShift = _data["icsShift"] ? IcsShiftEditDto.fromJS(_data["icsShift"]) : new IcsShiftEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsShiftInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsShiftInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsShift"] = this.icsShift ? this.icsShift.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsShiftInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsShiftInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsShiftInput { + icsShift: IcsShiftEditDto; +} + +export class CreateOrUpdateIcsShiftTypeInput implements ICreateOrUpdateIcsShiftTypeInput { + icsShiftType: IcsShiftTypeEditDto; + + constructor(data?: ICreateOrUpdateIcsShiftTypeInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsShiftType = new IcsShiftTypeEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsShiftType = _data["icsShiftType"] ? IcsShiftTypeEditDto.fromJS(_data["icsShiftType"]) : new IcsShiftTypeEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsShiftTypeInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsShiftTypeInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsShiftType"] = this.icsShiftType ? this.icsShiftType.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsShiftTypeInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsShiftTypeInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsShiftTypeInput { + icsShiftType: IcsShiftTypeEditDto; +} + +export class CreateOrUpdateIcsSolutionInput implements ICreateOrUpdateIcsSolutionInput { + icsSolution: IcsSolutionEditDto; + + constructor(data?: ICreateOrUpdateIcsSolutionInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsSolution = new IcsSolutionEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsSolution = _data["icsSolution"] ? IcsSolutionEditDto.fromJS(_data["icsSolution"]) : new IcsSolutionEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsSolutionInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsSolutionInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsSolution"] = this.icsSolution ? this.icsSolution.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsSolutionInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsSolutionInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsSolutionInput { + icsSolution: IcsSolutionEditDto; +} + +export class CreateOrUpdateIcsStandardWhoursInput implements ICreateOrUpdateIcsStandardWhoursInput { + icsStandardWhours: IcsStandardWhoursEditDto; + + constructor(data?: ICreateOrUpdateIcsStandardWhoursInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsStandardWhours = new IcsStandardWhoursEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsStandardWhours = _data["icsStandardWhours"] ? IcsStandardWhoursEditDto.fromJS(_data["icsStandardWhours"]) : new IcsStandardWhoursEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsStandardWhoursInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsStandardWhoursInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsStandardWhours"] = this.icsStandardWhours ? this.icsStandardWhours.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsStandardWhoursInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsStandardWhoursInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsStandardWhoursInput { + icsStandardWhours: IcsStandardWhoursEditDto; +} + +export class CreateOrUpdateIcsTestInput implements ICreateOrUpdateIcsTestInput { + icsTest: IcsTestEditDto; + + constructor(data?: ICreateOrUpdateIcsTestInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsTest = new IcsTestEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsTest = _data["icsTest"] ? IcsTestEditDto.fromJS(_data["icsTest"]) : new IcsTestEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsTestInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsTestInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsTest"] = this.icsTest ? this.icsTest.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsTestInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsTestInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsTestInput { + icsTest: IcsTestEditDto; +} + +export class CreateOrUpdateIcsTpInput implements ICreateOrUpdateIcsTpInput { + icsTp: IcsTpEditDto; + + constructor(data?: ICreateOrUpdateIcsTpInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsTp = new IcsTpEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsTp = _data["icsTp"] ? IcsTpEditDto.fromJS(_data["icsTp"]) : new IcsTpEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsTpInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsTpInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsTp"] = this.icsTp ? this.icsTp.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsTpInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsTpInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsTpInput { + icsTp: IcsTpEditDto; +} + +export class CreateOrUpdateIcsTsErrorCauseInput implements ICreateOrUpdateIcsTsErrorCauseInput { + icsTsErrorCause: IcsTsErrorCauseEditDto; + + constructor(data?: ICreateOrUpdateIcsTsErrorCauseInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsTsErrorCause = new IcsTsErrorCauseEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsTsErrorCause = _data["icsTsErrorCause"] ? IcsTsErrorCauseEditDto.fromJS(_data["icsTsErrorCause"]) : new IcsTsErrorCauseEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsTsErrorCauseInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsTsErrorCauseInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsTsErrorCause"] = this.icsTsErrorCause ? this.icsTsErrorCause.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsTsErrorCauseInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsTsErrorCauseInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsTsErrorCauseInput { + icsTsErrorCause: IcsTsErrorCauseEditDto; +} + +export class CreateOrUpdateIcsTsErrorCodeInput implements ICreateOrUpdateIcsTsErrorCodeInput { + icsTsErrorCode: IcsTsErrorCodeEditDto; + + constructor(data?: ICreateOrUpdateIcsTsErrorCodeInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsTsErrorCode = new IcsTsErrorCodeEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsTsErrorCode = _data["icsTsErrorCode"] ? IcsTsErrorCodeEditDto.fromJS(_data["icsTsErrorCode"]) : new IcsTsErrorCodeEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsTsErrorCodeInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsTsErrorCodeInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsTsErrorCode"] = this.icsTsErrorCode ? this.icsTsErrorCode.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsTsErrorCodeInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsTsErrorCodeInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsTsErrorCodeInput { + icsTsErrorCode: IcsTsErrorCodeEditDto; +} + +export class CreateOrUpdateIcsTsInput implements ICreateOrUpdateIcsTsInput { + icsTs: IcsTsEditDto; + + constructor(data?: ICreateOrUpdateIcsTsInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsTs = new IcsTsEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsTs = _data["icsTs"] ? IcsTsEditDto.fromJS(_data["icsTs"]) : new IcsTsEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsTsInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsTsInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsTs"] = this.icsTs ? this.icsTs.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsTsInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsTsInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsTsInput { + icsTs: IcsTsEditDto; +} + +export class CreateOrUpdateIcsUser2OpInput implements ICreateOrUpdateIcsUser2OpInput { + icsUser2Op: IcsUser2OpEditDto; + + constructor(data?: ICreateOrUpdateIcsUser2OpInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsUser2Op = new IcsUser2OpEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsUser2Op = _data["icsUser2Op"] ? IcsUser2OpEditDto.fromJS(_data["icsUser2Op"]) : new IcsUser2OpEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsUser2OpInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsUser2OpInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsUser2Op"] = this.icsUser2Op ? this.icsUser2Op.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsUser2OpInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsUser2OpInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsUser2OpInput { + icsUser2Op: IcsUser2OpEditDto; +} + +export class CreateOrUpdateIcsVendorInput implements ICreateOrUpdateIcsVendorInput { + icsVendor: IcsVendorEditDto; + + constructor(data?: ICreateOrUpdateIcsVendorInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsVendor = new IcsVendorEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsVendor = _data["icsVendor"] ? IcsVendorEditDto.fromJS(_data["icsVendor"]) : new IcsVendorEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateIcsVendorInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateIcsVendorInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsVendor"] = this.icsVendor ? this.icsVendor.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateIcsVendorInput { + const json = this.toJSON(); + let result = new CreateOrUpdateIcsVendorInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateIcsVendorInput { + icsVendor: IcsVendorEditDto; +} + +export class CreateOrUpdateLanguageInput implements ICreateOrUpdateLanguageInput { + language: LanguageEditDto; + + constructor(data?: ICreateOrUpdateLanguageInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.language = new LanguageEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.language = _data["language"] ? LanguageEditDto.fromJS(_data["language"]) : new LanguageEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateLanguageInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateLanguageInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["language"] = this.language ? this.language.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateLanguageInput { + const json = this.toJSON(); + let result = new CreateOrUpdateLanguageInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateLanguageInput { + language: LanguageEditDto; +} + +export class CreateOrUpdateMenuInput implements ICreateOrUpdateMenuInput { + menu: MenuEditDto; + + constructor(data?: ICreateOrUpdateMenuInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.menu = new MenuEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.menu = _data["menu"] ? MenuEditDto.fromJS(_data["menu"]) : new MenuEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateMenuInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateMenuInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["menu"] = this.menu ? this.menu.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateMenuInput { + const json = this.toJSON(); + let result = new CreateOrUpdateMenuInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateMenuInput { + menu: MenuEditDto; +} + +export class CreateOrUpdateMessageConfigInput implements ICreateOrUpdateMessageConfigInput { + messageConfig: MessageConfigEditDto; + + constructor(data?: ICreateOrUpdateMessageConfigInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.messageConfig = new MessageConfigEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.messageConfig = _data["messageConfig"] ? MessageConfigEditDto.fromJS(_data["messageConfig"]) : new MessageConfigEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateMessageConfigInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateMessageConfigInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["messageConfig"] = this.messageConfig ? this.messageConfig.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateMessageConfigInput { + const json = this.toJSON(); + let result = new CreateOrUpdateMessageConfigInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateMessageConfigInput { + messageConfig: MessageConfigEditDto; +} + +export class CreateOrUpdateMessageRuleInput implements ICreateOrUpdateMessageRuleInput { + messageRule: MessageRuleEditDto; + + constructor(data?: ICreateOrUpdateMessageRuleInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.messageRule = new MessageRuleEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.messageRule = _data["messageRule"] ? MessageRuleEditDto.fromJS(_data["messageRule"]) : new MessageRuleEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateMessageRuleInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateMessageRuleInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["messageRule"] = this.messageRule ? this.messageRule.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateMessageRuleInput { + const json = this.toJSON(); + let result = new CreateOrUpdateMessageRuleInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateMessageRuleInput { + messageRule: MessageRuleEditDto; +} + +export class CreateOrUpdateMessageTemplateInput implements ICreateOrUpdateMessageTemplateInput { + messageTemplate: MessageTemplateEditDto; + + constructor(data?: ICreateOrUpdateMessageTemplateInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.messageTemplate = new MessageTemplateEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.messageTemplate = _data["messageTemplate"] ? MessageTemplateEditDto.fromJS(_data["messageTemplate"]) : new MessageTemplateEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateMessageTemplateInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateMessageTemplateInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["messageTemplate"] = this.messageTemplate ? this.messageTemplate.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateMessageTemplateInput { + const json = this.toJSON(); + let result = new CreateOrUpdateMessageTemplateInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateMessageTemplateInput { + messageTemplate: MessageTemplateEditDto; +} + +export class CreateOrUpdateRoleInput implements ICreateOrUpdateRoleInput { + role: RoleEditDto; + grantedPermissionNames: string[]; + + constructor(data?: ICreateOrUpdateRoleInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.role = new RoleEditDto(); + this.grantedPermissionNames = []; + } + } + + init(_data?: any) { + if (_data) { + this.role = _data["role"] ? RoleEditDto.fromJS(_data["role"]) : new RoleEditDto(); + if (Array.isArray(_data["grantedPermissionNames"])) { + this.grantedPermissionNames = [] as any; + for (let item of _data["grantedPermissionNames"]) + this.grantedPermissionNames.push(item); + } + } + } + + static fromJS(data: any): CreateOrUpdateRoleInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateRoleInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["role"] = this.role ? this.role.toJSON() : undefined; + if (Array.isArray(this.grantedPermissionNames)) { + data["grantedPermissionNames"] = []; + for (let item of this.grantedPermissionNames) + data["grantedPermissionNames"].push(item); + } + return data; + } + + clone(): CreateOrUpdateRoleInput { + const json = this.toJSON(); + let result = new CreateOrUpdateRoleInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateRoleInput { + role: RoleEditDto; + grantedPermissionNames: string[]; +} + +export class CreateOrUpdateSysDataBaseInput implements ICreateOrUpdateSysDataBaseInput { + sysDataBase: SysDataBaseEditDto; + + constructor(data?: ICreateOrUpdateSysDataBaseInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.sysDataBase = new SysDataBaseEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.sysDataBase = _data["sysDataBase"] ? SysDataBaseEditDto.fromJS(_data["sysDataBase"]) : new SysDataBaseEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateSysDataBaseInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateSysDataBaseInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["sysDataBase"] = this.sysDataBase ? this.sysDataBase.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateSysDataBaseInput { + const json = this.toJSON(); + let result = new CreateOrUpdateSysDataBaseInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateSysDataBaseInput { + sysDataBase: SysDataBaseEditDto; +} + +export class CreateOrUpdateSysEnumKeyInput implements ICreateOrUpdateSysEnumKeyInput { + sysEnumKey: SysEnumKeyEditDto; + + constructor(data?: ICreateOrUpdateSysEnumKeyInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.sysEnumKey = new SysEnumKeyEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.sysEnumKey = _data["sysEnumKey"] ? SysEnumKeyEditDto.fromJS(_data["sysEnumKey"]) : new SysEnumKeyEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateSysEnumKeyInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateSysEnumKeyInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["sysEnumKey"] = this.sysEnumKey ? this.sysEnumKey.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateSysEnumKeyInput { + const json = this.toJSON(); + let result = new CreateOrUpdateSysEnumKeyInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateSysEnumKeyInput { + sysEnumKey: SysEnumKeyEditDto; +} + +export class CreateOrUpdateSysLabelDataSourceInput implements ICreateOrUpdateSysLabelDataSourceInput { + sysLabelDataSource: SysLabelDataSourceEditDto; + + constructor(data?: ICreateOrUpdateSysLabelDataSourceInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.sysLabelDataSource = new SysLabelDataSourceEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.sysLabelDataSource = _data["sysLabelDataSource"] ? SysLabelDataSourceEditDto.fromJS(_data["sysLabelDataSource"]) : new SysLabelDataSourceEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateSysLabelDataSourceInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateSysLabelDataSourceInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["sysLabelDataSource"] = this.sysLabelDataSource ? this.sysLabelDataSource.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateSysLabelDataSourceInput { + const json = this.toJSON(); + let result = new CreateOrUpdateSysLabelDataSourceInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateSysLabelDataSourceInput { + sysLabelDataSource: SysLabelDataSourceEditDto; +} + +export class CreateOrUpdateSysLabelInput implements ICreateOrUpdateSysLabelInput { + sysLabel: SysLabelEditDto; + + constructor(data?: ICreateOrUpdateSysLabelInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.sysLabel = new SysLabelEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.sysLabel = _data["sysLabel"] ? SysLabelEditDto.fromJS(_data["sysLabel"]) : new SysLabelEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateSysLabelInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateSysLabelInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["sysLabel"] = this.sysLabel ? this.sysLabel.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateSysLabelInput { + const json = this.toJSON(); + let result = new CreateOrUpdateSysLabelInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateSysLabelInput { + sysLabel: SysLabelEditDto; +} + +export class CreateOrUpdateSysLabelRuleInput implements ICreateOrUpdateSysLabelRuleInput { + sysLabelRule: SysLabelRuleEditDto; + + constructor(data?: ICreateOrUpdateSysLabelRuleInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.sysLabelRule = new SysLabelRuleEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.sysLabelRule = _data["sysLabelRule"] ? SysLabelRuleEditDto.fromJS(_data["sysLabelRule"]) : new SysLabelRuleEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateSysLabelRuleInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateSysLabelRuleInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["sysLabelRule"] = this.sysLabelRule ? this.sysLabelRule.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateSysLabelRuleInput { + const json = this.toJSON(); + let result = new CreateOrUpdateSysLabelRuleInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateSysLabelRuleInput { + sysLabelRule: SysLabelRuleEditDto; +} + +export class CreateOrUpdateSysUserInfoInput implements ICreateOrUpdateSysUserInfoInput { + sysUserInfo: SysUserInfoEditDto; + + constructor(data?: ICreateOrUpdateSysUserInfoInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.sysUserInfo = new SysUserInfoEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.sysUserInfo = _data["sysUserInfo"] ? SysUserInfoEditDto.fromJS(_data["sysUserInfo"]) : new SysUserInfoEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateSysUserInfoInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateSysUserInfoInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["sysUserInfo"] = this.sysUserInfo ? this.sysUserInfo.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateSysUserInfoInput { + const json = this.toJSON(); + let result = new CreateOrUpdateSysUserInfoInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateSysUserInfoInput { + sysUserInfo: SysUserInfoEditDto; +} + +export class CreateOrUpdateUserInput implements ICreateOrUpdateUserInput { + user: UserEditDto; + assignedRoleNames: string[]; + organizationUnits: string[] | undefined; + sendActivationEmail: boolean; + setRandomPassword: boolean; + + constructor(data?: ICreateOrUpdateUserInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.assignedRoleNames = []; + } + } + + init(_data?: any) { + if (_data) { + this.user = _data["user"] ? UserEditDto.fromJS(_data["user"]) : undefined; + if (Array.isArray(_data["assignedRoleNames"])) { + this.assignedRoleNames = [] as any; + for (let item of _data["assignedRoleNames"]) + this.assignedRoleNames.push(item); + } + if (Array.isArray(_data["organizationUnits"])) { + this.organizationUnits = [] as any; + for (let item of _data["organizationUnits"]) + this.organizationUnits.push(item); + } + this.sendActivationEmail = _data["sendActivationEmail"]; + this.setRandomPassword = _data["setRandomPassword"]; + } + } + + static fromJS(data: any): CreateOrUpdateUserInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateUserInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["user"] = this.user ? this.user.toJSON() : undefined; + if (Array.isArray(this.assignedRoleNames)) { + data["assignedRoleNames"] = []; + for (let item of this.assignedRoleNames) + data["assignedRoleNames"].push(item); + } + if (Array.isArray(this.organizationUnits)) { + data["organizationUnits"] = []; + for (let item of this.organizationUnits) + data["organizationUnits"].push(item); + } + data["sendActivationEmail"] = this.sendActivationEmail; + data["setRandomPassword"] = this.setRandomPassword; + return data; + } + + clone(): CreateOrUpdateUserInput { + const json = this.toJSON(); + let result = new CreateOrUpdateUserInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateUserInput { + user: UserEditDto; + assignedRoleNames: string[]; + organizationUnits: string[] | undefined; + sendActivationEmail: boolean; + setRandomPassword: boolean; +} + +export class CreateOrUpdateWechatAppConfigInput implements ICreateOrUpdateWechatAppConfigInput { + wechatAppConfig: WechatAppConfigEditDto; + + constructor(data?: ICreateOrUpdateWechatAppConfigInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.wechatAppConfig = new WechatAppConfigEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.wechatAppConfig = _data["wechatAppConfig"] ? WechatAppConfigEditDto.fromJS(_data["wechatAppConfig"]) : new WechatAppConfigEditDto(); + } + } + + static fromJS(data: any): CreateOrUpdateWechatAppConfigInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrUpdateWechatAppConfigInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["wechatAppConfig"] = this.wechatAppConfig ? this.wechatAppConfig.toJSON() : undefined; + return data; + } + + clone(): CreateOrUpdateWechatAppConfigInput { + const json = this.toJSON(); + let result = new CreateOrUpdateWechatAppConfigInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrUpdateWechatAppConfigInput { + wechatAppConfig: WechatAppConfigEditDto; +} + +export class CreateOrganizationUnitInput implements ICreateOrganizationUnitInput { + parentId: string | undefined; + displayName: string; + + constructor(data?: ICreateOrganizationUnitInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.parentId = _data["parentId"]; + this.displayName = _data["displayName"]; + } + } + + static fromJS(data: any): CreateOrganizationUnitInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateOrganizationUnitInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["parentId"] = this.parentId; + data["displayName"] = this.displayName; + return data; + } + + clone(): CreateOrganizationUnitInput { + const json = this.toJSON(); + let result = new CreateOrganizationUnitInput(); + result.init(json); + return result; + } +} + +export interface ICreateOrganizationUnitInput { + parentId: string | undefined; + displayName: string; +} + +export class CreateTenantDto implements ICreateTenantDto { + tenancyName: string; + name: string; + userName: string | undefined; + adminEmailAddress: string; + connectionString: string | undefined; + isActive: boolean; + verificationCode: string | undefined; + tenantAdminPassword: string | undefined; + + constructor(data?: ICreateTenantDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.tenancyName = _data["tenancyName"]; + this.name = _data["name"]; + this.userName = _data["userName"]; + this.adminEmailAddress = _data["adminEmailAddress"]; + this.connectionString = _data["connectionString"]; + this.isActive = _data["isActive"]; + this.verificationCode = _data["verificationCode"]; + this.tenantAdminPassword = _data["tenantAdminPassword"]; + } + } + + static fromJS(data: any): CreateTenantDto { + data = typeof data === 'object' ? data : {}; + let result = new CreateTenantDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["tenancyName"] = this.tenancyName; + data["name"] = this.name; + data["userName"] = this.userName; + data["adminEmailAddress"] = this.adminEmailAddress; + data["connectionString"] = this.connectionString; + data["isActive"] = this.isActive; + data["verificationCode"] = this.verificationCode; + data["tenantAdminPassword"] = this.tenantAdminPassword; + return data; + } + + clone(): CreateTenantDto { + const json = this.toJSON(); + let result = new CreateTenantDto(); + result.init(json); + return result; + } +} + +export interface ICreateTenantDto { + tenancyName: string; + name: string; + userName: string | undefined; + adminEmailAddress: string; + connectionString: string | undefined; + isActive: boolean; + verificationCode: string | undefined; + tenantAdminPassword: string | undefined; +} + +export class CreateTenantInput implements ICreateTenantInput { + tenancyName: string; + name: string; + adminEmailAddress: string; + adminPassword: string | undefined; + connectionString: string | undefined; + shouldChangePasswordOnNextLogin: boolean; + sendActivationEmail: boolean; + editionId: string | undefined; + isActive: boolean; + subscriptionEndUtc: moment.Moment | undefined; + isInTrialPeriod: boolean; + + constructor(data?: ICreateTenantInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.tenancyName = _data["tenancyName"]; + this.name = _data["name"]; + this.adminEmailAddress = _data["adminEmailAddress"]; + this.adminPassword = _data["adminPassword"]; + this.connectionString = _data["connectionString"]; + this.shouldChangePasswordOnNextLogin = _data["shouldChangePasswordOnNextLogin"]; + this.sendActivationEmail = _data["sendActivationEmail"]; + this.editionId = _data["editionId"]; + this.isActive = _data["isActive"]; + this.subscriptionEndUtc = _data["subscriptionEndUtc"] ? moment(_data["subscriptionEndUtc"].toString()) : undefined; + this.isInTrialPeriod = _data["isInTrialPeriod"]; + } + } + + static fromJS(data: any): CreateTenantInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateTenantInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["tenancyName"] = this.tenancyName; + data["name"] = this.name; + data["adminEmailAddress"] = this.adminEmailAddress; + data["adminPassword"] = this.adminPassword; + data["connectionString"] = this.connectionString; + data["shouldChangePasswordOnNextLogin"] = this.shouldChangePasswordOnNextLogin; + data["sendActivationEmail"] = this.sendActivationEmail; + data["editionId"] = this.editionId; + data["isActive"] = this.isActive; + data["subscriptionEndUtc"] = this.subscriptionEndUtc ? this.subscriptionEndUtc.toISOString() : undefined; + data["isInTrialPeriod"] = this.isInTrialPeriod; + return data; + } + + clone(): CreateTenantInput { + const json = this.toJSON(); + let result = new CreateTenantInput(); + result.init(json); + return result; + } +} + +export interface ICreateTenantInput { + tenancyName: string; + name: string; + adminEmailAddress: string; + adminPassword: string | undefined; + connectionString: string | undefined; + shouldChangePasswordOnNextLogin: boolean; + sendActivationEmail: boolean; + editionId: string | undefined; + isActive: boolean; + subscriptionEndUtc: moment.Moment | undefined; + isInTrialPeriod: boolean; +} + +export class CreateorUpdateIcsParamHeadInput implements ICreateorUpdateIcsParamHeadInput { + icsParamHeadEdit: IcsParamHeadEditDto; + + constructor(data?: ICreateorUpdateIcsParamHeadInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsParamHeadEdit = new IcsParamHeadEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsParamHeadEdit = _data["icsParamHeadEdit"] ? IcsParamHeadEditDto.fromJS(_data["icsParamHeadEdit"]) : new IcsParamHeadEditDto(); + } + } + + static fromJS(data: any): CreateorUpdateIcsParamHeadInput { + data = typeof data === 'object' ? data : {}; + let result = new CreateorUpdateIcsParamHeadInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsParamHeadEdit"] = this.icsParamHeadEdit ? this.icsParamHeadEdit.toJSON() : undefined; + return data; + } + + clone(): CreateorUpdateIcsParamHeadInput { + const json = this.toJSON(); + let result = new CreateorUpdateIcsParamHeadInput(); + result.init(json); + return result; + } +} + +export interface ICreateorUpdateIcsParamHeadInput { + icsParamHeadEdit: IcsParamHeadEditDto; +} + +export class CrewImportDto implements ICrewImportDto { + crewCode: string; + crewName: string; + crewDesc: string | undefined; + + constructor(data?: ICrewImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.crewCode = _data["crewCode"]; + this.crewName = _data["crewName"]; + this.crewDesc = _data["crewDesc"]; + } + } + + static fromJS(data: any): CrewImportDto { + data = typeof data === 'object' ? data : {}; + let result = new CrewImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["crewCode"] = this.crewCode; + data["crewName"] = this.crewName; + data["crewDesc"] = this.crewDesc; + return data; + } + + clone(): CrewImportDto { + const json = this.toJSON(); + let result = new CrewImportDto(); + result.init(json); + return result; + } +} + +export interface ICrewImportDto { + crewCode: string; + crewName: string; + crewDesc: string | undefined; +} + +export class CurrentUserProfileEditDto implements ICurrentUserProfileEditDto { + userName: string; + fullName: string | undefined; + emailAddress: string | undefined; + phoneNumber: string | undefined; + profilePictureId: string | undefined; + isPhoneNumberConfirmed: boolean; + timezone: string | undefined; + + constructor(data?: ICurrentUserProfileEditDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.userName = _data["userName"]; + this.fullName = _data["fullName"]; + this.emailAddress = _data["emailAddress"]; + this.phoneNumber = _data["phoneNumber"]; + this.profilePictureId = _data["profilePictureId"]; + this.isPhoneNumberConfirmed = _data["isPhoneNumberConfirmed"]; + this.timezone = _data["timezone"]; + } + } + + static fromJS(data: any): CurrentUserProfileEditDto { + data = typeof data === 'object' ? data : {}; + let result = new CurrentUserProfileEditDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["userName"] = this.userName; + data["fullName"] = this.fullName; + data["emailAddress"] = this.emailAddress; + data["phoneNumber"] = this.phoneNumber; + data["profilePictureId"] = this.profilePictureId; + data["isPhoneNumberConfirmed"] = this.isPhoneNumberConfirmed; + data["timezone"] = this.timezone; + return data; + } + + clone(): CurrentUserProfileEditDto { + const json = this.toJSON(); + let result = new CurrentUserProfileEditDto(); + result.init(json); + return result; + } +} + +export interface ICurrentUserProfileEditDto { + userName: string; + fullName: string | undefined; + emailAddress: string | undefined; + phoneNumber: string | undefined; + profilePictureId: string | undefined; + isPhoneNumberConfirmed: boolean; + timezone: string | undefined; +} + +export class CustomPageInput implements ICustomPageInput { + parameter1: string | undefined; + parameter2: string | undefined; + parameter3: string | undefined; + parameter4: string | undefined; + parameter5: string | undefined; + parameter6: string | undefined; + parameter7: string | undefined; + parameter8: string | undefined; + parameter9: string | undefined; + parameter10: string | undefined; + parameter11: string | undefined; + parameter12: string | undefined; + parameter13: string | undefined; + parameter14: string | undefined; + parameter15: string | undefined; + parameter16: string | undefined; + parameter17: string | undefined; + parameter18: string | undefined; + parameter19: string | undefined; + parameter20: string | undefined; + parameter21: string | undefined; + parameter22: string | undefined; + parameter23: string | undefined; + parameter24: string | undefined; + parameter25: string | undefined; + parameter26: string | undefined; + parameter27: string | undefined; + parameter28: string | undefined; + parameter29: string | undefined; + parameter30: string | undefined; + maxResultCount: number; + filterText: string | undefined; + sorting: string | undefined; + skipCount: number; + + constructor(data?: ICustomPageInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.parameter1 = _data["parameter1"]; + this.parameter2 = _data["parameter2"]; + this.parameter3 = _data["parameter3"]; + this.parameter4 = _data["parameter4"]; + this.parameter5 = _data["parameter5"]; + this.parameter6 = _data["parameter6"]; + this.parameter7 = _data["parameter7"]; + this.parameter8 = _data["parameter8"]; + this.parameter9 = _data["parameter9"]; + this.parameter10 = _data["parameter10"]; + this.parameter11 = _data["parameter11"]; + this.parameter12 = _data["parameter12"]; + this.parameter13 = _data["parameter13"]; + this.parameter14 = _data["parameter14"]; + this.parameter15 = _data["parameter15"]; + this.parameter16 = _data["parameter16"]; + this.parameter17 = _data["parameter17"]; + this.parameter18 = _data["parameter18"]; + this.parameter19 = _data["parameter19"]; + this.parameter20 = _data["parameter20"]; + this.parameter21 = _data["parameter21"]; + this.parameter22 = _data["parameter22"]; + this.parameter23 = _data["parameter23"]; + this.parameter24 = _data["parameter24"]; + this.parameter25 = _data["parameter25"]; + this.parameter26 = _data["parameter26"]; + this.parameter27 = _data["parameter27"]; + this.parameter28 = _data["parameter28"]; + this.parameter29 = _data["parameter29"]; + this.parameter30 = _data["parameter30"]; + this.maxResultCount = _data["maxResultCount"]; + this.filterText = _data["filterText"]; + this.sorting = _data["sorting"]; + this.skipCount = _data["skipCount"]; + } + } + + static fromJS(data: any): CustomPageInput { + data = typeof data === 'object' ? data : {}; + let result = new CustomPageInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["parameter1"] = this.parameter1; + data["parameter2"] = this.parameter2; + data["parameter3"] = this.parameter3; + data["parameter4"] = this.parameter4; + data["parameter5"] = this.parameter5; + data["parameter6"] = this.parameter6; + data["parameter7"] = this.parameter7; + data["parameter8"] = this.parameter8; + data["parameter9"] = this.parameter9; + data["parameter10"] = this.parameter10; + data["parameter11"] = this.parameter11; + data["parameter12"] = this.parameter12; + data["parameter13"] = this.parameter13; + data["parameter14"] = this.parameter14; + data["parameter15"] = this.parameter15; + data["parameter16"] = this.parameter16; + data["parameter17"] = this.parameter17; + data["parameter18"] = this.parameter18; + data["parameter19"] = this.parameter19; + data["parameter20"] = this.parameter20; + data["parameter21"] = this.parameter21; + data["parameter22"] = this.parameter22; + data["parameter23"] = this.parameter23; + data["parameter24"] = this.parameter24; + data["parameter25"] = this.parameter25; + data["parameter26"] = this.parameter26; + data["parameter27"] = this.parameter27; + data["parameter28"] = this.parameter28; + data["parameter29"] = this.parameter29; + data["parameter30"] = this.parameter30; + data["maxResultCount"] = this.maxResultCount; + data["filterText"] = this.filterText; + data["sorting"] = this.sorting; + data["skipCount"] = this.skipCount; + return data; + } + + clone(): CustomPageInput { + const json = this.toJSON(); + let result = new CustomPageInput(); + result.init(json); + return result; + } +} + +export interface ICustomPageInput { + parameter1: string | undefined; + parameter2: string | undefined; + parameter3: string | undefined; + parameter4: string | undefined; + parameter5: string | undefined; + parameter6: string | undefined; + parameter7: string | undefined; + parameter8: string | undefined; + parameter9: string | undefined; + parameter10: string | undefined; + parameter11: string | undefined; + parameter12: string | undefined; + parameter13: string | undefined; + parameter14: string | undefined; + parameter15: string | undefined; + parameter16: string | undefined; + parameter17: string | undefined; + parameter18: string | undefined; + parameter19: string | undefined; + parameter20: string | undefined; + parameter21: string | undefined; + parameter22: string | undefined; + parameter23: string | undefined; + parameter24: string | undefined; + parameter25: string | undefined; + parameter26: string | undefined; + parameter27: string | undefined; + parameter28: string | undefined; + parameter29: string | undefined; + parameter30: string | undefined; + maxResultCount: number; + filterText: string | undefined; + sorting: string | undefined; + skipCount: number; +} + +export class DataRowErrorInfo implements IDataRowErrorInfo { + rowIndex: number; + fieldErrors: { [key: string]: string; } | undefined; + + constructor(data?: IDataRowErrorInfo) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.rowIndex = _data["rowIndex"]; + if (_data["fieldErrors"]) { + this.fieldErrors = {} as any; + for (let key in _data["fieldErrors"]) { + if (_data["fieldErrors"].hasOwnProperty(key)) + (this.fieldErrors)[key] = _data["fieldErrors"][key]; + } + } + } + } + + static fromJS(data: any): DataRowErrorInfo { + data = typeof data === 'object' ? data : {}; + let result = new DataRowErrorInfo(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["rowIndex"] = this.rowIndex; + if (this.fieldErrors) { + data["fieldErrors"] = {}; + for (let key in this.fieldErrors) { + if (this.fieldErrors.hasOwnProperty(key)) + (data["fieldErrors"])[key] = (this.fieldErrors)[key]; + } + } + return data; + } + + clone(): DataRowErrorInfo { + const json = this.toJSON(); + let result = new DataRowErrorInfo(); + result.init(json); + return result; + } +} + +export interface IDataRowErrorInfo { + rowIndex: number; + fieldErrors: { [key: string]: string; } | undefined; +} + +export class DctImportDto implements IDctImportDto { + dctCode: string; + dctName: string; + dctDesc: string | undefined; + + constructor(data?: IDctImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.dctCode = _data["dctCode"]; + this.dctName = _data["dctName"]; + this.dctDesc = _data["dctDesc"]; + } + } + + static fromJS(data: any): DctImportDto { + data = typeof data === 'object' ? data : {}; + let result = new DctImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["dctCode"] = this.dctCode; + data["dctName"] = this.dctName; + data["dctDesc"] = this.dctDesc; + return data; + } + + clone(): DctImportDto { + const json = this.toJSON(); + let result = new DctImportDto(); + result.init(json); + return result; + } +} + +export interface IDctImportDto { + dctCode: string; + dctName: string; + dctDesc: string | undefined; +} + +export class DynamicColumnConfigDto implements IDynamicColumnConfigDto { + menuCode: string; + roleID: string; + columnInfo: string; + dtoName: string; + nameSpace: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; + + constructor(data?: IDynamicColumnConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.menuCode = _data["menuCode"]; + this.roleID = _data["roleID"]; + this.columnInfo = _data["columnInfo"]; + this.dtoName = _data["dtoName"]; + this.nameSpace = _data["nameSpace"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; + } + } + + static fromJS(data: any): DynamicColumnConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new DynamicColumnConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["menuCode"] = this.menuCode; + data["roleID"] = this.roleID; + data["columnInfo"] = this.columnInfo; + data["dtoName"] = this.dtoName; + data["nameSpace"] = this.nameSpace; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; + return data; + } + + clone(): DynamicColumnConfigDto { + const json = this.toJSON(); + let result = new DynamicColumnConfigDto(); + result.init(json); + return result; + } +} + +export interface IDynamicColumnConfigDto { + menuCode: string; + roleID: string; + columnInfo: string; + dtoName: string; + nameSpace: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; +} + +export class DynamicColumnDto implements IDynamicColumnDto { + key: string | undefined; + column: string | undefined; + columnName: string | undefined; + isDisplay: boolean; + displayText: string | undefined; + + constructor(data?: IDynamicColumnDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.key = _data["key"]; + this.column = _data["column"]; + this.columnName = _data["columnName"]; + this.isDisplay = _data["isDisplay"]; + this.displayText = _data["displayText"]; + } + } + + static fromJS(data: any): DynamicColumnDto { + data = typeof data === 'object' ? data : {}; + let result = new DynamicColumnDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["key"] = this.key; + data["column"] = this.column; + data["columnName"] = this.columnName; + data["isDisplay"] = this.isDisplay; + data["displayText"] = this.displayText; + return data; + } + + clone(): DynamicColumnDto { + const json = this.toJSON(); + let result = new DynamicColumnDto(); + result.init(json); + return result; + } +} + +export interface IDynamicColumnDto { + key: string | undefined; + column: string | undefined; + columnName: string | undefined; + isDisplay: boolean; + displayText: string | undefined; +} + +export class DynamicMenuListDto implements IDynamicMenuListDto { + isSystem: boolean; + parentId: string | undefined; + name: string | undefined; + code: string; + text: string | undefined; + permissionCode: string | undefined; + icon: string | undefined; + link: string | undefined; + templatePath: string | undefined; + openEnum: DynamicMenuOpenEnum; + hide: boolean; + sort: number; + remark: string | undefined; + extensionData: string | undefined; + isDeleted: boolean; + deleterUserId: string | undefined; + deletionTime: moment.Moment | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: string; + + constructor(data?: IDynamicMenuListDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.isSystem = _data["isSystem"]; + this.parentId = _data["parentId"]; + this.name = _data["name"]; + this.code = _data["code"]; + this.text = _data["text"]; + this.permissionCode = _data["permissionCode"]; + this.icon = _data["icon"]; + this.link = _data["link"]; + this.templatePath = _data["templatePath"]; + this.openEnum = _data["openEnum"]; + this.hide = _data["hide"]; + this.sort = _data["sort"]; + this.remark = _data["remark"]; + this.extensionData = _data["extensionData"]; + this.isDeleted = _data["isDeleted"]; + this.deleterUserId = _data["deleterUserId"]; + this.deletionTime = _data["deletionTime"] ? moment(_data["deletionTime"].toString()) : undefined; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; + } + } + + static fromJS(data: any): DynamicMenuListDto { + data = typeof data === 'object' ? data : {}; + let result = new DynamicMenuListDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["isSystem"] = this.isSystem; + data["parentId"] = this.parentId; + data["name"] = this.name; + data["code"] = this.code; + data["text"] = this.text; + data["permissionCode"] = this.permissionCode; + data["icon"] = this.icon; + data["link"] = this.link; + data["templatePath"] = this.templatePath; + data["openEnum"] = this.openEnum; + data["hide"] = this.hide; + data["sort"] = this.sort; + data["remark"] = this.remark; + data["extensionData"] = this.extensionData; + data["isDeleted"] = this.isDeleted; + data["deleterUserId"] = this.deleterUserId; + data["deletionTime"] = this.deletionTime ? this.deletionTime.toISOString() : undefined; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; + return data; + } + + clone(): DynamicMenuListDto { + const json = this.toJSON(); + let result = new DynamicMenuListDto(); + result.init(json); + return result; + } +} + +export interface IDynamicMenuListDto { + isSystem: boolean; + parentId: string | undefined; + name: string | undefined; + code: string; + text: string | undefined; + permissionCode: string | undefined; + icon: string | undefined; link: string | undefined; - /** 模板路径 */ templatePath: string | undefined; openEnum: DynamicMenuOpenEnum; - /** 是否隐藏 */ hide: boolean; - /** 排序 */ sort: number; - /** 备注 */ remark: string | undefined; - /** 扩展字段 */ extensionData: string | undefined; isDeleted: boolean; deleterUserId: string | undefined; @@ -56161,9 +76362,11041 @@ export class DynamicMenuListDto implements IDynamicMenuListDto { lastModifierUserId: string | undefined; creationTime: moment.Moment; creatorUserId: string | undefined; - id: string; + id: string; +} + +export enum DynamicMenuOpenEnum { + Function = "Function", + Component = "Component", + Iframe = "Iframe", + Outer = "Outer", +} + +export class DynamicPageDto implements IDynamicPageDto { + pageFilters: PageFilterItemDto[] | undefined; + columns: ColumnItemDto[] | undefined; + + constructor(data?: IDynamicPageDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["pageFilters"])) { + this.pageFilters = [] as any; + for (let item of _data["pageFilters"]) + this.pageFilters.push(PageFilterItemDto.fromJS(item)); + } + if (Array.isArray(_data["columns"])) { + this.columns = [] as any; + for (let item of _data["columns"]) + this.columns.push(ColumnItemDto.fromJS(item)); + } + } + } + + static fromJS(data: any): DynamicPageDto { + data = typeof data === 'object' ? data : {}; + let result = new DynamicPageDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.pageFilters)) { + data["pageFilters"] = []; + for (let item of this.pageFilters) + data["pageFilters"].push(item.toJSON()); + } + if (Array.isArray(this.columns)) { + data["columns"] = []; + for (let item of this.columns) + data["columns"].push(item.toJSON()); + } + return data; + } + + clone(): DynamicPageDto { + const json = this.toJSON(); + let result = new DynamicPageDto(); + result.init(json); + return result; + } +} + +export interface IDynamicPageDto { + pageFilters: PageFilterItemDto[] | undefined; + columns: ColumnItemDto[] | undefined; +} + +export class DynamicTableDto implements IDynamicTableDto { + key: string | undefined; + parameter1: string | undefined; + parameter2: string | undefined; + parameter3: string | undefined; + parameter4: string | undefined; + parameter5: string | undefined; + parameter6: string | undefined; + parameter7: string | undefined; + parameter8: string | undefined; + parameter9: string | undefined; + parameter10: string | undefined; + parameter11: string | undefined; + parameter12: string | undefined; + parameter13: string | undefined; + parameter14: string | undefined; + parameter15: string | undefined; + parameter16: string | undefined; + parameter17: string | undefined; + parameter18: string | undefined; + parameter19: string | undefined; + parameter20: string | undefined; + parameter21: string | undefined; + parameter22: string | undefined; + parameter23: string | undefined; + parameter24: string | undefined; + parameter25: string | undefined; + parameter26: string | undefined; + parameter27: string | undefined; + parameter28: string | undefined; + parameter29: string | undefined; + parameter30: string | undefined; + + constructor(data?: IDynamicTableDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.key = _data["key"]; + this.parameter1 = _data["parameter1"]; + this.parameter2 = _data["parameter2"]; + this.parameter3 = _data["parameter3"]; + this.parameter4 = _data["parameter4"]; + this.parameter5 = _data["parameter5"]; + this.parameter6 = _data["parameter6"]; + this.parameter7 = _data["parameter7"]; + this.parameter8 = _data["parameter8"]; + this.parameter9 = _data["parameter9"]; + this.parameter10 = _data["parameter10"]; + this.parameter11 = _data["parameter11"]; + this.parameter12 = _data["parameter12"]; + this.parameter13 = _data["parameter13"]; + this.parameter14 = _data["parameter14"]; + this.parameter15 = _data["parameter15"]; + this.parameter16 = _data["parameter16"]; + this.parameter17 = _data["parameter17"]; + this.parameter18 = _data["parameter18"]; + this.parameter19 = _data["parameter19"]; + this.parameter20 = _data["parameter20"]; + this.parameter21 = _data["parameter21"]; + this.parameter22 = _data["parameter22"]; + this.parameter23 = _data["parameter23"]; + this.parameter24 = _data["parameter24"]; + this.parameter25 = _data["parameter25"]; + this.parameter26 = _data["parameter26"]; + this.parameter27 = _data["parameter27"]; + this.parameter28 = _data["parameter28"]; + this.parameter29 = _data["parameter29"]; + this.parameter30 = _data["parameter30"]; + } + } + + static fromJS(data: any): DynamicTableDto { + data = typeof data === 'object' ? data : {}; + let result = new DynamicTableDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["key"] = this.key; + data["parameter1"] = this.parameter1; + data["parameter2"] = this.parameter2; + data["parameter3"] = this.parameter3; + data["parameter4"] = this.parameter4; + data["parameter5"] = this.parameter5; + data["parameter6"] = this.parameter6; + data["parameter7"] = this.parameter7; + data["parameter8"] = this.parameter8; + data["parameter9"] = this.parameter9; + data["parameter10"] = this.parameter10; + data["parameter11"] = this.parameter11; + data["parameter12"] = this.parameter12; + data["parameter13"] = this.parameter13; + data["parameter14"] = this.parameter14; + data["parameter15"] = this.parameter15; + data["parameter16"] = this.parameter16; + data["parameter17"] = this.parameter17; + data["parameter18"] = this.parameter18; + data["parameter19"] = this.parameter19; + data["parameter20"] = this.parameter20; + data["parameter21"] = this.parameter21; + data["parameter22"] = this.parameter22; + data["parameter23"] = this.parameter23; + data["parameter24"] = this.parameter24; + data["parameter25"] = this.parameter25; + data["parameter26"] = this.parameter26; + data["parameter27"] = this.parameter27; + data["parameter28"] = this.parameter28; + data["parameter29"] = this.parameter29; + data["parameter30"] = this.parameter30; + return data; + } + + clone(): DynamicTableDto { + const json = this.toJSON(); + let result = new DynamicTableDto(); + result.init(json); + return result; + } +} + +export interface IDynamicTableDto { + key: string | undefined; + parameter1: string | undefined; + parameter2: string | undefined; + parameter3: string | undefined; + parameter4: string | undefined; + parameter5: string | undefined; + parameter6: string | undefined; + parameter7: string | undefined; + parameter8: string | undefined; + parameter9: string | undefined; + parameter10: string | undefined; + parameter11: string | undefined; + parameter12: string | undefined; + parameter13: string | undefined; + parameter14: string | undefined; + parameter15: string | undefined; + parameter16: string | undefined; + parameter17: string | undefined; + parameter18: string | undefined; + parameter19: string | undefined; + parameter20: string | undefined; + parameter21: string | undefined; + parameter22: string | undefined; + parameter23: string | undefined; + parameter24: string | undefined; + parameter25: string | undefined; + parameter26: string | undefined; + parameter27: string | undefined; + parameter28: string | undefined; + parameter29: string | undefined; + parameter30: string | undefined; +} + +export class EchartItemDto implements IEchartItemDto { + time: number; + count: number | undefined; + + constructor(data?: IEchartItemDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.time = _data["time"]; + this.count = _data["count"]; + } + } + + static fromJS(data: any): EchartItemDto { + data = typeof data === 'object' ? data : {}; + let result = new EchartItemDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["time"] = this.time; + data["count"] = this.count; + return data; + } + + clone(): EchartItemDto { + const json = this.toJSON(); + let result = new EchartItemDto(); + result.init(json); + return result; + } +} + +export interface IEchartItemDto { + time: number; + count: number | undefined; +} + +export class EditionEditDto implements IEditionEditDto { + id: string | undefined; + displayName: string; + monthlyPrice: number | undefined; + annualPrice: number | undefined; + trialDayCount: number | undefined; + waitingDayAfterExpire: number | undefined; + expiringEditionId: number | undefined; + + constructor(data?: IEditionEditDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.id = _data["id"]; + this.displayName = _data["displayName"]; + this.monthlyPrice = _data["monthlyPrice"]; + this.annualPrice = _data["annualPrice"]; + this.trialDayCount = _data["trialDayCount"]; + this.waitingDayAfterExpire = _data["waitingDayAfterExpire"]; + this.expiringEditionId = _data["expiringEditionId"]; + } + } + + static fromJS(data: any): EditionEditDto { + data = typeof data === 'object' ? data : {}; + let result = new EditionEditDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["id"] = this.id; + data["displayName"] = this.displayName; + data["monthlyPrice"] = this.monthlyPrice; + data["annualPrice"] = this.annualPrice; + data["trialDayCount"] = this.trialDayCount; + data["waitingDayAfterExpire"] = this.waitingDayAfterExpire; + data["expiringEditionId"] = this.expiringEditionId; + return data; + } + + clone(): EditionEditDto { + const json = this.toJSON(); + let result = new EditionEditDto(); + result.init(json); + return result; + } +} + +export interface IEditionEditDto { + id: string | undefined; + displayName: string; + monthlyPrice: number | undefined; + annualPrice: number | undefined; + trialDayCount: number | undefined; + waitingDayAfterExpire: number | undefined; + expiringEditionId: number | undefined; +} + +export class EditionInfoDto implements IEditionInfoDto { + displayName: string | undefined; + trialDayCount: number | undefined; + monthlyPrice: number | undefined; + annualPrice: number | undefined; + isHighestEdition: boolean; + isFree: boolean; + id: string | undefined; + + constructor(data?: IEditionInfoDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.displayName = _data["displayName"]; + this.trialDayCount = _data["trialDayCount"]; + this.monthlyPrice = _data["monthlyPrice"]; + this.annualPrice = _data["annualPrice"]; + this.isHighestEdition = _data["isHighestEdition"]; + this.isFree = _data["isFree"]; + this.id = _data["id"]; + } + } + + static fromJS(data: any): EditionInfoDto { + data = typeof data === 'object' ? data : {}; + let result = new EditionInfoDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["displayName"] = this.displayName; + data["trialDayCount"] = this.trialDayCount; + data["monthlyPrice"] = this.monthlyPrice; + data["annualPrice"] = this.annualPrice; + data["isHighestEdition"] = this.isHighestEdition; + data["isFree"] = this.isFree; + data["id"] = this.id; + return data; + } + + clone(): EditionInfoDto { + const json = this.toJSON(); + let result = new EditionInfoDto(); + result.init(json); + return result; + } +} + +export interface IEditionInfoDto { + displayName: string | undefined; + trialDayCount: number | undefined; + monthlyPrice: number | undefined; + annualPrice: number | undefined; + isHighestEdition: boolean; + isFree: boolean; + id: string | undefined; +} + +export class EditionListDto implements IEditionListDto { + name: string | undefined; + displayName: string | undefined; + creationTime: moment.Moment; + id: string | undefined; + + constructor(data?: IEditionListDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.name = _data["name"]; + this.displayName = _data["displayName"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.id = _data["id"]; + } + } + + static fromJS(data: any): EditionListDto { + data = typeof data === 'object' ? data : {}; + let result = new EditionListDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["name"] = this.name; + data["displayName"] = this.displayName; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["id"] = this.id; + return data; + } + + clone(): EditionListDto { + const json = this.toJSON(); + let result = new EditionListDto(); + result.init(json); + return result; + } +} + +export interface IEditionListDto { + name: string | undefined; + displayName: string | undefined; + creationTime: moment.Moment; + id: string | undefined; +} + +export class EmailSettingsEditDto implements IEmailSettingsEditDto { + defaultFromAddress: string | undefined; + defaultFromDisplayName: string | undefined; + smtpHost: string | undefined; + smtpPort: number; + smtpUserName: string | undefined; + smtpPassword: string | undefined; + smtpDomain: string | undefined; + smtpEnableSsl: boolean; + smtpUseDefaultCredentials: boolean; + + constructor(data?: IEmailSettingsEditDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.defaultFromAddress = _data["defaultFromAddress"]; + this.defaultFromDisplayName = _data["defaultFromDisplayName"]; + this.smtpHost = _data["smtpHost"]; + this.smtpPort = _data["smtpPort"]; + this.smtpUserName = _data["smtpUserName"]; + this.smtpPassword = _data["smtpPassword"]; + this.smtpDomain = _data["smtpDomain"]; + this.smtpEnableSsl = _data["smtpEnableSsl"]; + this.smtpUseDefaultCredentials = _data["smtpUseDefaultCredentials"]; + } + } + + static fromJS(data: any): EmailSettingsEditDto { + data = typeof data === 'object' ? data : {}; + let result = new EmailSettingsEditDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["defaultFromAddress"] = this.defaultFromAddress; + data["defaultFromDisplayName"] = this.defaultFromDisplayName; + data["smtpHost"] = this.smtpHost; + data["smtpPort"] = this.smtpPort; + data["smtpUserName"] = this.smtpUserName; + data["smtpPassword"] = this.smtpPassword; + data["smtpDomain"] = this.smtpDomain; + data["smtpEnableSsl"] = this.smtpEnableSsl; + data["smtpUseDefaultCredentials"] = this.smtpUseDefaultCredentials; + return data; + } + + clone(): EmailSettingsEditDto { + const json = this.toJSON(); + let result = new EmailSettingsEditDto(); + result.init(json); + return result; + } +} + +export interface IEmailSettingsEditDto { + defaultFromAddress: string | undefined; + defaultFromDisplayName: string | undefined; + smtpHost: string | undefined; + smtpPort: number; + smtpUserName: string | undefined; + smtpPassword: string | undefined; + smtpDomain: string | undefined; + smtpEnableSsl: boolean; + smtpUseDefaultCredentials: boolean; +} + +export class EntityChangeListDto implements IEntityChangeListDto { + userId: string | undefined; + userName: string | undefined; + changeTime: moment.Moment; + entityTypeFullName: string | undefined; + changeType: EntityChangeType; + readonly changeTypeName: string | undefined; + entityChangeSetId: string | undefined; + id: string | undefined; + + constructor(data?: IEntityChangeListDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.userId = _data["userId"]; + this.userName = _data["userName"]; + this.changeTime = _data["changeTime"] ? moment(_data["changeTime"].toString()) : undefined; + this.entityTypeFullName = _data["entityTypeFullName"]; + this.changeType = _data["changeType"]; + (this).changeTypeName = _data["changeTypeName"]; + this.entityChangeSetId = _data["entityChangeSetId"]; + this.id = _data["id"]; + } + } + + static fromJS(data: any): EntityChangeListDto { + data = typeof data === 'object' ? data : {}; + let result = new EntityChangeListDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["userId"] = this.userId; + data["userName"] = this.userName; + data["changeTime"] = this.changeTime ? this.changeTime.toISOString() : undefined; + data["entityTypeFullName"] = this.entityTypeFullName; + data["changeType"] = this.changeType; + data["changeTypeName"] = this.changeTypeName; + data["entityChangeSetId"] = this.entityChangeSetId; + data["id"] = this.id; + return data; + } + + clone(): EntityChangeListDto { + const json = this.toJSON(); + let result = new EntityChangeListDto(); + result.init(json); + return result; + } +} + +export interface IEntityChangeListDto { + userId: string | undefined; + userName: string | undefined; + changeTime: moment.Moment; + entityTypeFullName: string | undefined; + changeType: EntityChangeType; + changeTypeName: string | undefined; + entityChangeSetId: string | undefined; + id: string | undefined; +} + +export enum EntityChangeType { + Created = "Created", + Updated = "Updated", + Deleted = "Deleted", +} + +export class EntityDto implements IEntityDto { + id: string | undefined; + + constructor(data?: IEntityDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.id = _data["id"]; + } + } + + static fromJS(data: any): EntityDto { + data = typeof data === 'object' ? data : {}; + let result = new EntityDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["id"] = this.id; + return data; + } + + clone(): EntityDto { + const json = this.toJSON(); + let result = new EntityDto(); + result.init(json); + return result; + } +} + +export interface IEntityDto { + id: string | undefined; +} + +export class EntityDtoOfGuid implements IEntityDtoOfGuid { + id: string; + + constructor(data?: IEntityDtoOfGuid) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.id = _data["id"]; + } + } + + static fromJS(data: any): EntityDtoOfGuid { + data = typeof data === 'object' ? data : {}; + let result = new EntityDtoOfGuid(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["id"] = this.id; + return data; + } + + clone(): EntityDtoOfGuid { + const json = this.toJSON(); + let result = new EntityDtoOfGuid(); + result.init(json); + return result; + } +} + +export interface IEntityDtoOfGuid { + id: string; +} + +export class EntityDtoOfString implements IEntityDtoOfString { + id: string | undefined; + + constructor(data?: IEntityDtoOfString) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.id = _data["id"]; + } + } + + static fromJS(data: any): EntityDtoOfString { + data = typeof data === 'object' ? data : {}; + let result = new EntityDtoOfString(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["id"] = this.id; + return data; + } + + clone(): EntityDtoOfString { + const json = this.toJSON(); + let result = new EntityDtoOfString(); + result.init(json); + return result; + } +} + +export interface IEntityDtoOfString { + id: string | undefined; +} + +export class EntityPropertyChangeDto implements IEntityPropertyChangeDto { + entityChangeId: string | undefined; + newValue: string | undefined; + originalValue: string | undefined; + propertyName: string | undefined; + propertyTypeFullName: string | undefined; + tenantId: string | undefined; + id: string | undefined; + + constructor(data?: IEntityPropertyChangeDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.entityChangeId = _data["entityChangeId"]; + this.newValue = _data["newValue"]; + this.originalValue = _data["originalValue"]; + this.propertyName = _data["propertyName"]; + this.propertyTypeFullName = _data["propertyTypeFullName"]; + this.tenantId = _data["tenantId"]; + this.id = _data["id"]; + } + } + + static fromJS(data: any): EntityPropertyChangeDto { + data = typeof data === 'object' ? data : {}; + let result = new EntityPropertyChangeDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["entityChangeId"] = this.entityChangeId; + data["newValue"] = this.newValue; + data["originalValue"] = this.originalValue; + data["propertyName"] = this.propertyName; + data["propertyTypeFullName"] = this.propertyTypeFullName; + data["tenantId"] = this.tenantId; + data["id"] = this.id; + return data; + } + + clone(): EntityPropertyChangeDto { + const json = this.toJSON(); + let result = new EntityPropertyChangeDto(); + result.init(json); + return result; + } +} + +export interface IEntityPropertyChangeDto { + entityChangeId: string | undefined; + newValue: string | undefined; + originalValue: string | undefined; + propertyName: string | undefined; + propertyTypeFullName: string | undefined; + tenantId: string | undefined; + id: string | undefined; +} + +export class EnumInfo implements IEnumInfo { + name: string | undefined; + value: string | undefined; + description: string | undefined; + + constructor(data?: IEnumInfo) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.name = _data["name"]; + this.value = _data["value"]; + this.description = _data["description"]; + } + } + + static fromJS(data: any): EnumInfo { + data = typeof data === 'object' ? data : {}; + let result = new EnumInfo(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["name"] = this.name; + data["value"] = this.value; + data["description"] = this.description; + return data; + } + + clone(): EnumInfo { + const json = this.toJSON(); + let result = new EnumInfo(); + result.init(json); + return result; + } +} + +export interface IEnumInfo { + name: string | undefined; + value: string | undefined; + description: string | undefined; +} + +export class Eqp2OpImportDto implements IEqp2OpImportDto { + eqpCode: string; + opCode: string; + level: string | undefined; + memo: string | undefined; + + constructor(data?: IEqp2OpImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.eqpCode = _data["eqpCode"]; + this.opCode = _data["opCode"]; + this.level = _data["level"]; + this.memo = _data["memo"]; + } + } + + static fromJS(data: any): Eqp2OpImportDto { + data = typeof data === 'object' ? data : {}; + let result = new Eqp2OpImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["eqpCode"] = this.eqpCode; + data["opCode"] = this.opCode; + data["level"] = this.level; + data["memo"] = this.memo; + return data; + } + + clone(): Eqp2OpImportDto { + const json = this.toJSON(); + let result = new Eqp2OpImportDto(); + result.init(json); + return result; + } +} + +export interface IEqp2OpImportDto { + eqpCode: string; + opCode: string; + level: string | undefined; + memo: string | undefined; +} + +export enum ErrorLevels { + Warning = "Warning", + Error = "Error", +} + +export class ExcelImpDtoOfBomParamDetailImportDto implements IExcelImpDtoOfBomParamDetailImportDto { + data: BomParamDetailImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfBomParamDetailImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(BomParamDetailImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfBomParamDetailImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfBomParamDetailImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfBomParamDetailImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfBomParamDetailImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfBomParamDetailImportDto { + data: BomParamDetailImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfCommodityImportDto implements IExcelImpDtoOfCommodityImportDto { + data: CommodityImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfCommodityImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(CommodityImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfCommodityImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfCommodityImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfCommodityImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfCommodityImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfCommodityImportDto { + data: CommodityImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfCrewImportDto implements IExcelImpDtoOfCrewImportDto { + data: CrewImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfCrewImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(CrewImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfCrewImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfCrewImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfCrewImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfCrewImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfCrewImportDto { + data: CrewImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfDctImportDto implements IExcelImpDtoOfDctImportDto { + data: DctImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfDctImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(DctImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfDctImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfDctImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfDctImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfDctImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfDctImportDto { + data: DctImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfEqp2OpImportDto implements IExcelImpDtoOfEqp2OpImportDto { + data: Eqp2OpImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfEqp2OpImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(Eqp2OpImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfEqp2OpImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfEqp2OpImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfEqp2OpImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfEqp2OpImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfEqp2OpImportDto { + data: Eqp2OpImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfFactoryImportDto implements IExcelImpDtoOfFactoryImportDto { + data: FactoryImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfFactoryImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(FactoryImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfFactoryImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfFactoryImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfFactoryImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfFactoryImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfFactoryImportDto { + data: FactoryImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsArmorplateImportDto implements IExcelImpDtoOfIcsArmorplateImportDto { + data: IcsArmorplateImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsArmorplateImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsArmorplateImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsArmorplateImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsArmorplateImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsArmorplateImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsArmorplateImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsArmorplateImportDto { + data: IcsArmorplateImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsCheckGroupImportDto implements IExcelImpDtoOfIcsCheckGroupImportDto { + data: IcsCheckGroupImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsCheckGroupImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsCheckGroupImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsCheckGroupImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsCheckGroupImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsCheckGroupImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsCheckGroupImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsCheckGroupImportDto { + data: IcsCheckGroupImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsCheckItemImportDto implements IExcelImpDtoOfIcsCheckItemImportDto { + data: IcsCheckItemImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsCheckItemImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsCheckItemImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsCheckItemImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsCheckItemImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsCheckItemImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsCheckItemImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsCheckItemImportDto { + data: IcsCheckItemImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsDutyImportDto implements IExcelImpDtoOfIcsDutyImportDto { + data: IcsDutyImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsDutyImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsDutyImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsDutyImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsDutyImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsDutyImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsDutyImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsDutyImportDto { + data: IcsDutyImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsEcImportDto implements IExcelImpDtoOfIcsEcImportDto { + data: IcsEcImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsEcImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsEcImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsEcImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsEcImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsEcImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsEcImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsEcImportDto { + data: IcsEcImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsEcgImportDto implements IExcelImpDtoOfIcsEcgImportDto { + data: IcsEcgImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsEcgImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsEcgImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsEcgImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsEcgImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsEcgImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsEcgImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsEcgImportDto { + data: IcsEcgImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsEcsImportDto implements IExcelImpDtoOfIcsEcsImportDto { + data: IcsEcsImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsEcsImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsEcsImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsEcsImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsEcsImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsEcsImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsEcsImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsEcsImportDto { + data: IcsEcsImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsEcsgImportDto implements IExcelImpDtoOfIcsEcsgImportDto { + data: IcsEcsgImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsEcsgImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsEcsgImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsEcsgImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsEcsgImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsEcsgImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsEcsgImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsEcsgImportDto { + data: IcsEcsgImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsEquipmentImportDto implements IExcelImpDtoOfIcsEquipmentImportDto { + data: IcsEquipmentImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsEquipmentImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsEquipmentImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsEquipmentImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsEquipmentImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsEquipmentImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsEquipmentImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsEquipmentImportDto { + data: IcsEquipmentImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsInventoryImportDto implements IExcelImpDtoOfIcsInventoryImportDto { + data: IcsInventoryImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsInventoryImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsInventoryImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsInventoryImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsInventoryImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsInventoryImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsInventoryImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsInventoryImportDto { + data: IcsInventoryImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsItem2RouteImportDto implements IExcelImpDtoOfIcsItem2RouteImportDto { + data: IcsItem2RouteImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsItem2RouteImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsItem2RouteImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsItem2RouteImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsItem2RouteImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsItem2RouteImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsItem2RouteImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsItem2RouteImportDto { + data: IcsItem2RouteImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsItemStd2RouteImportDto implements IExcelImpDtoOfIcsItemStd2RouteImportDto { + data: IcsItemStd2RouteImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsItemStd2RouteImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsItemStd2RouteImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsItemStd2RouteImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsItemStd2RouteImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsItemStd2RouteImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsItemStd2RouteImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsItemStd2RouteImportDto { + data: IcsItemStd2RouteImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsMainCategoryCodeImportDto implements IExcelImpDtoOfIcsMainCategoryCodeImportDto { + data: IcsMainCategoryCodeImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsMainCategoryCodeImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsMainCategoryCodeImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsMainCategoryCodeImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsMainCategoryCodeImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsMainCategoryCodeImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsMainCategoryCodeImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsMainCategoryCodeImportDto { + data: IcsMainCategoryCodeImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsMoImportDto implements IExcelImpDtoOfIcsMoImportDto { + data: IcsMoImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsMoImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsMoImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsMoImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsMoImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsMoImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsMoImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsMoImportDto { + data: IcsMoImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsOPImportDto implements IExcelImpDtoOfIcsOPImportDto { + data: IcsOPImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsOPImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsOPImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsOPImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsOPImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsOPImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsOPImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsOPImportDto { + data: IcsOPImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsParam2ParamImportDto implements IExcelImpDtoOfIcsParam2ParamImportDto { + data: IcsParam2ParamImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsParam2ParamImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsParam2ParamImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsParam2ParamImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsParam2ParamImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsParam2ParamImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsParam2ParamImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsParam2ParamImportDto { + data: IcsParam2ParamImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsParamDetailImportDto implements IExcelImpDtoOfIcsParamDetailImportDto { + data: IcsParamDetailImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsParamDetailImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsParamDetailImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsParamDetailImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsParamDetailImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsParamDetailImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsParamDetailImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsParamDetailImportDto { + data: IcsParamDetailImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsParamHeadImportDto implements IExcelImpDtoOfIcsParamHeadImportDto { + data: IcsParamHeadImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsParamHeadImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsParamHeadImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsParamHeadImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsParamHeadImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsParamHeadImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsParamHeadImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsParamHeadImportDto { + data: IcsParamHeadImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsPart2SubItemImportDto implements IExcelImpDtoOfIcsPart2SubItemImportDto { + data: IcsPart2SubItemImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsPart2SubItemImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsPart2SubItemImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsPart2SubItemImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsPart2SubItemImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsPart2SubItemImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsPart2SubItemImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsPart2SubItemImportDto { + data: IcsPart2SubItemImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsPartImportDto implements IExcelImpDtoOfIcsPartImportDto { + data: IcsPartImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsPartImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsPartImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsPartImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsPartImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsPartImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsPartImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsPartImportDto { + data: IcsPartImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsRouteImportDto implements IExcelImpDtoOfIcsRouteImportDto { + data: IcsRouteImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsRouteImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsRouteImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsRouteImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsRouteImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsRouteImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsRouteImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsRouteImportDto { + data: IcsRouteImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsShiftImportDto implements IExcelImpDtoOfIcsShiftImportDto { + data: IcsShiftImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsShiftImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsShiftImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsShiftImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsShiftImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsShiftImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsShiftImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsShiftImportDto { + data: IcsShiftImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsShiftTypeImportDto implements IExcelImpDtoOfIcsShiftTypeImportDto { + data: IcsShiftTypeImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsShiftTypeImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsShiftTypeImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsShiftTypeImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsShiftTypeImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsShiftTypeImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsShiftTypeImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsShiftTypeImportDto { + data: IcsShiftTypeImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsSolutionImportDto implements IExcelImpDtoOfIcsSolutionImportDto { + data: IcsSolutionImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsSolutionImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsSolutionImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsSolutionImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsSolutionImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsSolutionImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsSolutionImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsSolutionImportDto { + data: IcsSolutionImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsStandardWhoursImportDto implements IExcelImpDtoOfIcsStandardWhoursImportDto { + data: IcsStandardWhoursImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsStandardWhoursImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsStandardWhoursImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsStandardWhoursImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsStandardWhoursImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsStandardWhoursImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsStandardWhoursImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsStandardWhoursImportDto { + data: IcsStandardWhoursImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsTpImportDto implements IExcelImpDtoOfIcsTpImportDto { + data: IcsTpImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsTpImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsTpImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsTpImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsTpImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsTpImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsTpImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsTpImportDto { + data: IcsTpImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfIcsVendorImportDto implements IExcelImpDtoOfIcsVendorImportDto { + data: IcsVendorImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfIcsVendorImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(IcsVendorImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfIcsVendorImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfIcsVendorImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfIcsVendorImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfIcsVendorImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfIcsVendorImportDto { + data: IcsVendorImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfItemModel2CheckGroupImportDto implements IExcelImpDtoOfItemModel2CheckGroupImportDto { + data: ItemModel2CheckGroupImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfItemModel2CheckGroupImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(ItemModel2CheckGroupImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfItemModel2CheckGroupImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfItemModel2CheckGroupImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfItemModel2CheckGroupImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfItemModel2CheckGroupImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfItemModel2CheckGroupImportDto { + data: ItemModel2CheckGroupImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfMCImportDto implements IExcelImpDtoOfMCImportDto { + data: MCImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfMCImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(MCImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfMCImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfMCImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfMCImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfMCImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfMCImportDto { + data: MCImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfResImportDto implements IExcelImpDtoOfResImportDto { + data: ResImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfResImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(ResImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfResImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfResImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfResImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfResImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfResImportDto { + data: ResImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfSSImportDto implements IExcelImpDtoOfSSImportDto { + data: SSImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfSSImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(SSImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfSSImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfSSImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfSSImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfSSImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfSSImportDto { + data: SSImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfSegImportDto implements IExcelImpDtoOfSegImportDto { + data: SegImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfSegImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(SegImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfSegImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfSegImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfSegImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfSegImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfSegImportDto { + data: SegImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfSysEnumImportDto implements IExcelImpDtoOfSysEnumImportDto { + data: SysEnumImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfSysEnumImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(SysEnumImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfSysEnumImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfSysEnumImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfSysEnumImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfSysEnumImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfSysEnumImportDto { + data: SysEnumImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfSysUserInfoImportDto implements IExcelImpDtoOfSysUserInfoImportDto { + data: SysUserInfoImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfSysUserInfoImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(SysUserInfoImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfSysUserInfoImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfSysUserInfoImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfSysUserInfoImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfSysUserInfoImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfSysUserInfoImportDto { + data: SysUserInfoImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfTestImportDto implements IExcelImpDtoOfTestImportDto { + data: TestImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfTestImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(TestImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfTestImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfTestImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfTestImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfTestImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfTestImportDto { + data: TestImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfUser2OpImportDto implements IExcelImpDtoOfUser2OpImportDto { + data: User2OpImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfUser2OpImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(User2OpImportDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfUser2OpImportDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfUser2OpImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfUser2OpImportDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfUser2OpImportDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfUser2OpImportDto { + data: User2OpImportDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExcelImpDtoOfUserImportExceDto implements IExcelImpDtoOfUserImportExceDto { + data: UserImportExceDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; + + constructor(data?: IExcelImpDtoOfUserImportExceDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["data"])) { + this.data = [] as any; + for (let item of _data["data"]) + this.data.push(UserImportExceDto.fromJS(item)); + } + if (Array.isArray(_data["templateErrors"])) { + this.templateErrors = [] as any; + for (let item of _data["templateErrors"]) + this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + } + if (Array.isArray(_data["rowErrors"])) { + this.rowErrors = [] as any; + for (let item of _data["rowErrors"]) + this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + } + this.hasError = _data["hasError"]; + this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + } + } + + static fromJS(data: any): ExcelImpDtoOfUserImportExceDto { + data = typeof data === 'object' ? data : {}; + let result = new ExcelImpDtoOfUserImportExceDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.data)) { + data["data"] = []; + for (let item of this.data) + data["data"].push(item.toJSON()); + } + if (Array.isArray(this.templateErrors)) { + data["templateErrors"] = []; + for (let item of this.templateErrors) + data["templateErrors"].push(item.toJSON()); + } + if (Array.isArray(this.rowErrors)) { + data["rowErrors"] = []; + for (let item of this.rowErrors) + data["rowErrors"].push(item.toJSON()); + } + data["hasError"] = this.hasError; + data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + return data; + } + + clone(): ExcelImpDtoOfUserImportExceDto { + const json = this.toJSON(); + let result = new ExcelImpDtoOfUserImportExceDto(); + result.init(json); + return result; + } +} + +export interface IExcelImpDtoOfUserImportExceDto { + data: UserImportExceDto[] | undefined; + templateErrors: TemplateErrorInfo[] | undefined; + rowErrors: DataRowErrorInfo[] | undefined; + hasError: boolean; + labelingErrorFileDto: FileDto; +} + +export class ExpiringTenant implements IExpiringTenant { + tenantName: string | undefined; + remainingDayCount: number; + + constructor(data?: IExpiringTenant) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.tenantName = _data["tenantName"]; + this.remainingDayCount = _data["remainingDayCount"]; + } + } + + static fromJS(data: any): ExpiringTenant { + data = typeof data === 'object' ? data : {}; + let result = new ExpiringTenant(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["tenantName"] = this.tenantName; + data["remainingDayCount"] = this.remainingDayCount; + return data; + } + + clone(): ExpiringTenant { + const json = this.toJSON(); + let result = new ExpiringTenant(); + result.init(json); + return result; + } +} + +export interface IExpiringTenant { + tenantName: string | undefined; + remainingDayCount: number; +} + +export class ExternalAuthenticateModel implements IExternalAuthenticateModel { + authProvider: string; + providerKey: string; + providerAccessCode: string; + + constructor(data?: IExternalAuthenticateModel) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.authProvider = _data["authProvider"]; + this.providerKey = _data["providerKey"]; + this.providerAccessCode = _data["providerAccessCode"]; + } + } + + static fromJS(data: any): ExternalAuthenticateModel { + data = typeof data === 'object' ? data : {}; + let result = new ExternalAuthenticateModel(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["authProvider"] = this.authProvider; + data["providerKey"] = this.providerKey; + data["providerAccessCode"] = this.providerAccessCode; + return data; + } + + clone(): ExternalAuthenticateModel { + const json = this.toJSON(); + let result = new ExternalAuthenticateModel(); + result.init(json); + return result; + } +} + +export interface IExternalAuthenticateModel { + authProvider: string; + providerKey: string; + providerAccessCode: string; +} + +export class ExternalAuthenticateResultModel implements IExternalAuthenticateResultModel { + accessToken: string | undefined; + encryptedAccessToken: string | undefined; + expireInSeconds: number; + waitingForActivation: boolean; + userId: string | undefined; + providerKey: string | undefined; + refreshToken: string | undefined; + refreshTokenExpireInSeconds: number; + + constructor(data?: IExternalAuthenticateResultModel) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.accessToken = _data["accessToken"]; + this.encryptedAccessToken = _data["encryptedAccessToken"]; + this.expireInSeconds = _data["expireInSeconds"]; + this.waitingForActivation = _data["waitingForActivation"]; + this.userId = _data["userId"]; + this.providerKey = _data["providerKey"]; + this.refreshToken = _data["refreshToken"]; + this.refreshTokenExpireInSeconds = _data["refreshTokenExpireInSeconds"]; + } + } + + static fromJS(data: any): ExternalAuthenticateResultModel { + data = typeof data === 'object' ? data : {}; + let result = new ExternalAuthenticateResultModel(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["accessToken"] = this.accessToken; + data["encryptedAccessToken"] = this.encryptedAccessToken; + data["expireInSeconds"] = this.expireInSeconds; + data["waitingForActivation"] = this.waitingForActivation; + data["userId"] = this.userId; + data["providerKey"] = this.providerKey; + data["refreshToken"] = this.refreshToken; + data["refreshTokenExpireInSeconds"] = this.refreshTokenExpireInSeconds; + return data; + } + + clone(): ExternalAuthenticateResultModel { + const json = this.toJSON(); + let result = new ExternalAuthenticateResultModel(); + result.init(json); + return result; + } +} + +export interface IExternalAuthenticateResultModel { + accessToken: string | undefined; + encryptedAccessToken: string | undefined; + expireInSeconds: number; + waitingForActivation: boolean; + userId: string | undefined; + providerKey: string | undefined; + refreshToken: string | undefined; + refreshTokenExpireInSeconds: number; +} + +export class ExternalLoginProviderInfoModel implements IExternalLoginProviderInfoModel { + name: string | undefined; + clientId: string | undefined; + additionalParams: { [key: string]: string; } | undefined; + + constructor(data?: IExternalLoginProviderInfoModel) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.name = _data["name"]; + this.clientId = _data["clientId"]; + if (_data["additionalParams"]) { + this.additionalParams = {} as any; + for (let key in _data["additionalParams"]) { + if (_data["additionalParams"].hasOwnProperty(key)) + (this.additionalParams)[key] = _data["additionalParams"][key]; + } + } + } + } + + static fromJS(data: any): ExternalLoginProviderInfoModel { + data = typeof data === 'object' ? data : {}; + let result = new ExternalLoginProviderInfoModel(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["name"] = this.name; + data["clientId"] = this.clientId; + if (this.additionalParams) { + data["additionalParams"] = {}; + for (let key in this.additionalParams) { + if (this.additionalParams.hasOwnProperty(key)) + (data["additionalParams"])[key] = (this.additionalParams)[key]; + } + } + return data; + } + + clone(): ExternalLoginProviderInfoModel { + const json = this.toJSON(); + let result = new ExternalLoginProviderInfoModel(); + result.init(json); + return result; + } +} + +export interface IExternalLoginProviderInfoModel { + name: string | undefined; + clientId: string | undefined; + additionalParams: { [key: string]: string; } | undefined; +} + +export class FactoryImportDto implements IFactoryImportDto { + facCode: string; + facName: string; + facDesc: string | undefined; + + constructor(data?: IFactoryImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.facCode = _data["facCode"]; + this.facName = _data["facName"]; + this.facDesc = _data["facDesc"]; + } + } + + static fromJS(data: any): FactoryImportDto { + data = typeof data === 'object' ? data : {}; + let result = new FactoryImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["facCode"] = this.facCode; + data["facName"] = this.facName; + data["facDesc"] = this.facDesc; + return data; + } + + clone(): FactoryImportDto { + const json = this.toJSON(); + let result = new FactoryImportDto(); + result.init(json); + return result; + } +} + +export interface IFactoryImportDto { + facCode: string; + facName: string; + facDesc: string | undefined; +} + +export class FeatureInputTypeDto implements IFeatureInputTypeDto { + name: string | undefined; + attributes: { [key: string]: any; } | undefined; + validator: IValueValidator; + itemSource: LocalizableComboboxItemSourceDto; + + constructor(data?: IFeatureInputTypeDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.name = _data["name"]; + if (_data["attributes"]) { + this.attributes = {} as any; + for (let key in _data["attributes"]) { + if (_data["attributes"].hasOwnProperty(key)) + (this.attributes)[key] = _data["attributes"][key]; + } + } + this.validator = _data["validator"] ? IValueValidator.fromJS(_data["validator"]) : undefined; + this.itemSource = _data["itemSource"] ? LocalizableComboboxItemSourceDto.fromJS(_data["itemSource"]) : undefined; + } + } + + static fromJS(data: any): FeatureInputTypeDto { + data = typeof data === 'object' ? data : {}; + let result = new FeatureInputTypeDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["name"] = this.name; + if (this.attributes) { + data["attributes"] = {}; + for (let key in this.attributes) { + if (this.attributes.hasOwnProperty(key)) + (data["attributes"])[key] = (this.attributes)[key]; + } + } + data["validator"] = this.validator ? this.validator.toJSON() : undefined; + data["itemSource"] = this.itemSource ? this.itemSource.toJSON() : undefined; + return data; + } + + clone(): FeatureInputTypeDto { + const json = this.toJSON(); + let result = new FeatureInputTypeDto(); + result.init(json); + return result; + } +} + +export interface IFeatureInputTypeDto { + name: string | undefined; + attributes: { [key: string]: any; } | undefined; + validator: IValueValidator; + itemSource: LocalizableComboboxItemSourceDto; +} + +export class FileDto implements IFileDto { + fileName: string; + fileType: string; + fileToken: string; + + constructor(data?: IFileDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.fileName = _data["fileName"]; + this.fileType = _data["fileType"]; + this.fileToken = _data["fileToken"]; + } + } + + static fromJS(data: any): FileDto { + data = typeof data === 'object' ? data : {}; + let result = new FileDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["fileName"] = this.fileName; + data["fileType"] = this.fileType; + data["fileToken"] = this.fileToken; + return data; + } + + clone(): FileDto { + const json = this.toJSON(); + let result = new FileDto(); + result.init(json); + return result; + } +} + +export interface IFileDto { + fileName: string; + fileType: string; + fileToken: string; +} + +export class FileEditDto implements IFileEditDto { + id: string | undefined; + displayName: string | undefined; + filePath: string | undefined; + expireDateTime: moment.Moment; + tenantId: string | undefined; + + constructor(data?: IFileEditDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.id = _data["id"]; + this.displayName = _data["displayName"]; + this.filePath = _data["filePath"]; + this.expireDateTime = _data["expireDateTime"] ? moment(_data["expireDateTime"].toString()) : undefined; + this.tenantId = _data["tenantId"]; + } + } + + static fromJS(data: any): FileEditDto { + data = typeof data === 'object' ? data : {}; + let result = new FileEditDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["id"] = this.id; + data["displayName"] = this.displayName; + data["filePath"] = this.filePath; + data["expireDateTime"] = this.expireDateTime ? this.expireDateTime.toISOString() : undefined; + data["tenantId"] = this.tenantId; + return data; + } + + clone(): FileEditDto { + const json = this.toJSON(); + let result = new FileEditDto(); + result.init(json); + return result; + } +} + +export interface IFileEditDto { + id: string | undefined; + displayName: string | undefined; + filePath: string | undefined; + expireDateTime: moment.Moment; + tenantId: string | undefined; +} + +export class FilePagedListDto implements IFilePagedListDto { + displayName: string | undefined; + filePath: string | undefined; + expireDateTime: moment.Moment; + tenantId: string | undefined; + isDeleted: boolean; + deleterUserId: string | undefined; + deletionTime: moment.Moment | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: string; + + constructor(data?: IFilePagedListDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.displayName = _data["displayName"]; + this.filePath = _data["filePath"]; + this.expireDateTime = _data["expireDateTime"] ? moment(_data["expireDateTime"].toString()) : undefined; + this.tenantId = _data["tenantId"]; + this.isDeleted = _data["isDeleted"]; + this.deleterUserId = _data["deleterUserId"]; + this.deletionTime = _data["deletionTime"] ? moment(_data["deletionTime"].toString()) : undefined; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; + } + } + + static fromJS(data: any): FilePagedListDto { + data = typeof data === 'object' ? data : {}; + let result = new FilePagedListDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["displayName"] = this.displayName; + data["filePath"] = this.filePath; + data["expireDateTime"] = this.expireDateTime ? this.expireDateTime.toISOString() : undefined; + data["tenantId"] = this.tenantId; + data["isDeleted"] = this.isDeleted; + data["deleterUserId"] = this.deleterUserId; + data["deletionTime"] = this.deletionTime ? this.deletionTime.toISOString() : undefined; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; + return data; + } + + clone(): FilePagedListDto { + const json = this.toJSON(); + let result = new FilePagedListDto(); + result.init(json); + return result; + } +} + +export interface IFilePagedListDto { + displayName: string | undefined; + filePath: string | undefined; + expireDateTime: moment.Moment; + tenantId: string | undefined; + isDeleted: boolean; + deleterUserId: string | undefined; + deletionTime: moment.Moment | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: string; +} + +export class FileUploadOutputDto implements IFileUploadOutputDto { + fileName: string; + fileToken: string; + fileSize: number; + + constructor(data?: IFileUploadOutputDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.fileName = _data["fileName"]; + this.fileToken = _data["fileToken"]; + this.fileSize = _data["fileSize"]; + } + } + + static fromJS(data: any): FileUploadOutputDto { + data = typeof data === 'object' ? data : {}; + let result = new FileUploadOutputDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["fileName"] = this.fileName; + data["fileToken"] = this.fileToken; + data["fileSize"] = this.fileSize; + return data; + } + + clone(): FileUploadOutputDto { + const json = this.toJSON(); + let result = new FileUploadOutputDto(); + result.init(json); + return result; + } +} + +export interface IFileUploadOutputDto { + fileName: string; + fileToken: string; + fileSize: number; +} + +export class FindUsersInput implements IFindUsersInput { + organizationUnitId: string | undefined; + maxResultCount: number; + skipCount: number; + filterText: string | undefined; + + constructor(data?: IFindUsersInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.organizationUnitId = _data["organizationUnitId"]; + this.maxResultCount = _data["maxResultCount"]; + this.skipCount = _data["skipCount"]; + this.filterText = _data["filterText"]; + } + } + + static fromJS(data: any): FindUsersInput { + data = typeof data === 'object' ? data : {}; + let result = new FindUsersInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["organizationUnitId"] = this.organizationUnitId; + data["maxResultCount"] = this.maxResultCount; + data["skipCount"] = this.skipCount; + data["filterText"] = this.filterText; + return data; + } + + clone(): FindUsersInput { + const json = this.toJSON(); + let result = new FindUsersInput(); + result.init(json); + return result; + } +} + +export interface IFindUsersInput { + organizationUnitId: string | undefined; + maxResultCount: number; + skipCount: number; + filterText: string | undefined; +} + +export class FlatFeatureDto implements IFlatFeatureDto { + parentName: string | undefined; + name: string | undefined; + displayName: string | undefined; + description: string | undefined; + defaultValue: string | undefined; + inputType: FeatureInputTypeDto; + + constructor(data?: IFlatFeatureDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.parentName = _data["parentName"]; + this.name = _data["name"]; + this.displayName = _data["displayName"]; + this.description = _data["description"]; + this.defaultValue = _data["defaultValue"]; + this.inputType = _data["inputType"] ? FeatureInputTypeDto.fromJS(_data["inputType"]) : undefined; + } + } + + static fromJS(data: any): FlatFeatureDto { + data = typeof data === 'object' ? data : {}; + let result = new FlatFeatureDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["parentName"] = this.parentName; + data["name"] = this.name; + data["displayName"] = this.displayName; + data["description"] = this.description; + data["defaultValue"] = this.defaultValue; + data["inputType"] = this.inputType ? this.inputType.toJSON() : undefined; + return data; + } + + clone(): FlatFeatureDto { + const json = this.toJSON(); + let result = new FlatFeatureDto(); + result.init(json); + return result; + } +} + +export interface IFlatFeatureDto { + parentName: string | undefined; + name: string | undefined; + displayName: string | undefined; + description: string | undefined; + defaultValue: string | undefined; + inputType: FeatureInputTypeDto; +} + +export class FlatPermissionDto implements IFlatPermissionDto { + parentName: string | undefined; + name: string | undefined; + displayName: string | undefined; + description: string | undefined; + isGrantedByDefault: boolean; + + constructor(data?: IFlatPermissionDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.parentName = _data["parentName"]; + this.name = _data["name"]; + this.displayName = _data["displayName"]; + this.description = _data["description"]; + this.isGrantedByDefault = _data["isGrantedByDefault"]; + } + } + + static fromJS(data: any): FlatPermissionDto { + data = typeof data === 'object' ? data : {}; + let result = new FlatPermissionDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["parentName"] = this.parentName; + data["name"] = this.name; + data["displayName"] = this.displayName; + data["description"] = this.description; + data["isGrantedByDefault"] = this.isGrantedByDefault; + return data; + } + + clone(): FlatPermissionDto { + const json = this.toJSON(); + let result = new FlatPermissionDto(); + result.init(json); + return result; + } +} + +export interface IFlatPermissionDto { + parentName: string | undefined; + name: string | undefined; + displayName: string | undefined; + description: string | undefined; + isGrantedByDefault: boolean; +} + +export class FlatPermissionWithLevelDto implements IFlatPermissionWithLevelDto { + level: number; + parentName: string | undefined; + name: string | undefined; + displayName: string | undefined; + description: string | undefined; + isGrantedByDefault: boolean; + + constructor(data?: IFlatPermissionWithLevelDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.level = _data["level"]; + this.parentName = _data["parentName"]; + this.name = _data["name"]; + this.displayName = _data["displayName"]; + this.description = _data["description"]; + this.isGrantedByDefault = _data["isGrantedByDefault"]; + } + } + + static fromJS(data: any): FlatPermissionWithLevelDto { + data = typeof data === 'object' ? data : {}; + let result = new FlatPermissionWithLevelDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["level"] = this.level; + data["parentName"] = this.parentName; + data["name"] = this.name; + data["displayName"] = this.displayName; + data["description"] = this.description; + data["isGrantedByDefault"] = this.isGrantedByDefault; + return data; + } + + clone(): FlatPermissionWithLevelDto { + const json = this.toJSON(); + let result = new FlatPermissionWithLevelDto(); + result.init(json); + return result; + } +} + +export interface IFlatPermissionWithLevelDto { + level: number; + parentName: string | undefined; + name: string | undefined; + displayName: string | undefined; + description: string | undefined; + isGrantedByDefault: boolean; +} + +export class FliterColumnConfigDto implements IFliterColumnConfigDto { + menuCode: string; + columnInfo: string; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; + + constructor(data?: IFliterColumnConfigDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.menuCode = _data["menuCode"]; + this.columnInfo = _data["columnInfo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; + } + } + + static fromJS(data: any): FliterColumnConfigDto { + data = typeof data === 'object' ? data : {}; + let result = new FliterColumnConfigDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["menuCode"] = this.menuCode; + data["columnInfo"] = this.columnInfo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; + return data; + } + + clone(): FliterColumnConfigDto { + const json = this.toJSON(); + let result = new FliterColumnConfigDto(); + result.init(json); + return result; + } +} + +export interface IFliterColumnConfigDto { + menuCode: string; + columnInfo: string; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; +} + +export class FriendDto implements IFriendDto { + friendUserId: string | undefined; + friendTenantId: string | undefined; + friendUserName: string | undefined; + friendTenancyName: string | undefined; + friendProfilePictureId: string | undefined; + unreadMessageCount: number; + isOnline: boolean; + state: FriendshipState; + + constructor(data?: IFriendDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.friendUserId = _data["friendUserId"]; + this.friendTenantId = _data["friendTenantId"]; + this.friendUserName = _data["friendUserName"]; + this.friendTenancyName = _data["friendTenancyName"]; + this.friendProfilePictureId = _data["friendProfilePictureId"]; + this.unreadMessageCount = _data["unreadMessageCount"]; + this.isOnline = _data["isOnline"]; + this.state = _data["state"]; + } + } + + static fromJS(data: any): FriendDto { + data = typeof data === 'object' ? data : {}; + let result = new FriendDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["friendUserId"] = this.friendUserId; + data["friendTenantId"] = this.friendTenantId; + data["friendUserName"] = this.friendUserName; + data["friendTenancyName"] = this.friendTenancyName; + data["friendProfilePictureId"] = this.friendProfilePictureId; + data["unreadMessageCount"] = this.unreadMessageCount; + data["isOnline"] = this.isOnline; + data["state"] = this.state; + return data; + } + + clone(): FriendDto { + const json = this.toJSON(); + let result = new FriendDto(); + result.init(json); + return result; + } +} + +export interface IFriendDto { + friendUserId: string | undefined; + friendTenantId: string | undefined; + friendUserName: string | undefined; + friendTenancyName: string | undefined; + friendProfilePictureId: string | undefined; + unreadMessageCount: number; + isOnline: boolean; + state: FriendshipState; +} + +export enum FriendshipState { + Accepted = "Accepted", + Blocked = "Blocked", +} + +export class GeneralSettingsEditDto implements IGeneralSettingsEditDto { + timezone: string | undefined; + timezoneForComparison: string | undefined; + + constructor(data?: IGeneralSettingsEditDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.timezone = _data["timezone"]; + this.timezoneForComparison = _data["timezoneForComparison"]; + } + } + + static fromJS(data: any): GeneralSettingsEditDto { + data = typeof data === 'object' ? data : {}; + let result = new GeneralSettingsEditDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["timezone"] = this.timezone; + data["timezoneForComparison"] = this.timezoneForComparison; + return data; + } + + clone(): GeneralSettingsEditDto { + const json = this.toJSON(); + let result = new GeneralSettingsEditDto(); + result.init(json); + return result; + } +} + +export interface IGeneralSettingsEditDto { + timezone: string | undefined; + timezoneForComparison: string | undefined; +} + +export class GetAllCacheKeyOutput implements IGetAllCacheKeyOutput { + key: string | undefined; + cKeys: string[] | undefined; + + constructor(data?: IGetAllCacheKeyOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.key = _data["key"]; + if (Array.isArray(_data["cKeys"])) { + this.cKeys = [] as any; + for (let item of _data["cKeys"]) + this.cKeys.push(item); + } + } + } + + static fromJS(data: any): GetAllCacheKeyOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetAllCacheKeyOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["key"] = this.key; + if (Array.isArray(this.cKeys)) { + data["cKeys"] = []; + for (let item of this.cKeys) + data["cKeys"].push(item); + } + return data; + } + + clone(): GetAllCacheKeyOutput { + const json = this.toJSON(); + let result = new GetAllCacheKeyOutput(); + result.init(json); + return result; + } +} + +export interface IGetAllCacheKeyOutput { + key: string | undefined; + cKeys: string[] | undefined; +} + +export class GetApiMesItemRouteOpInput implements IGetApiMesItemRouteOpInput { + apiMesItemRouteOpList: ApiMesItemRouteOp[] | undefined; + + constructor(data?: IGetApiMesItemRouteOpInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["apiMesItemRouteOpList"])) { + this.apiMesItemRouteOpList = [] as any; + for (let item of _data["apiMesItemRouteOpList"]) + this.apiMesItemRouteOpList.push(ApiMesItemRouteOp.fromJS(item)); + } + } + } + + static fromJS(data: any): GetApiMesItemRouteOpInput { + data = typeof data === 'object' ? data : {}; + let result = new GetApiMesItemRouteOpInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.apiMesItemRouteOpList)) { + data["apiMesItemRouteOpList"] = []; + for (let item of this.apiMesItemRouteOpList) + data["apiMesItemRouteOpList"].push(item.toJSON()); + } + return data; + } + + clone(): GetApiMesItemRouteOpInput { + const json = this.toJSON(); + let result = new GetApiMesItemRouteOpInput(); + result.init(json); + return result; + } +} + +export interface IGetApiMesItemRouteOpInput { + apiMesItemRouteOpList: ApiMesItemRouteOp[] | undefined; +} + +export class GetApiMesOpInput implements IGetApiMesOpInput { + apiMesOpLists: ApiMesOp[] | undefined; + + constructor(data?: IGetApiMesOpInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["apiMesOpLists"])) { + this.apiMesOpLists = [] as any; + for (let item of _data["apiMesOpLists"]) + this.apiMesOpLists.push(ApiMesOp.fromJS(item)); + } + } + } + + static fromJS(data: any): GetApiMesOpInput { + data = typeof data === 'object' ? data : {}; + let result = new GetApiMesOpInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.apiMesOpLists)) { + data["apiMesOpLists"] = []; + for (let item of this.apiMesOpLists) + data["apiMesOpLists"].push(item.toJSON()); + } + return data; + } + + clone(): GetApiMesOpInput { + const json = this.toJSON(); + let result = new GetApiMesOpInput(); + result.init(json); + return result; + } +} + +export interface IGetApiMesOpInput { + apiMesOpLists: ApiMesOp[] | undefined; +} + +export class GetApiMesRoute2Op implements IGetApiMesRoute2Op { + opCode: string | undefined; + opSeq: number; + + constructor(data?: IGetApiMesRoute2Op) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.opCode = _data["opCode"]; + this.opSeq = _data["opSeq"]; + } + } + + static fromJS(data: any): GetApiMesRoute2Op { + data = typeof data === 'object' ? data : {}; + let result = new GetApiMesRoute2Op(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["opCode"] = this.opCode; + data["opSeq"] = this.opSeq; + return data; + } + + clone(): GetApiMesRoute2Op { + const json = this.toJSON(); + let result = new GetApiMesRoute2Op(); + result.init(json); + return result; + } +} + +export interface IGetApiMesRoute2Op { + opCode: string | undefined; + opSeq: number; +} + +export class GetApiMesRouteOpInput implements IGetApiMesRouteOpInput { + apiMesRouteOpList: ApiMesRouteOp[] | undefined; + + constructor(data?: IGetApiMesRouteOpInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["apiMesRouteOpList"])) { + this.apiMesRouteOpList = [] as any; + for (let item of _data["apiMesRouteOpList"]) + this.apiMesRouteOpList.push(ApiMesRouteOp.fromJS(item)); + } + } + } + + static fromJS(data: any): GetApiMesRouteOpInput { + data = typeof data === 'object' ? data : {}; + let result = new GetApiMesRouteOpInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.apiMesRouteOpList)) { + data["apiMesRouteOpList"] = []; + for (let item of this.apiMesRouteOpList) + data["apiMesRouteOpList"].push(item.toJSON()); + } + return data; + } + + clone(): GetApiMesRouteOpInput { + const json = this.toJSON(); + let result = new GetApiMesRouteOpInput(); + result.init(json); + return result; + } +} + +export interface IGetApiMesRouteOpInput { + apiMesRouteOpList: ApiMesRouteOp[] | undefined; +} + +export class GetApkManagementForEditOutput implements IGetApkManagementForEditOutput { + apkManagement: ApkManagementEditDto; + + constructor(data?: IGetApkManagementForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.apkManagement = _data["apkManagement"] ? ApkManagementEditDto.fromJS(_data["apkManagement"]) : undefined; + } + } + + static fromJS(data: any): GetApkManagementForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetApkManagementForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["apkManagement"] = this.apkManagement ? this.apkManagement.toJSON() : undefined; + return data; + } + + clone(): GetApkManagementForEditOutput { + const json = this.toJSON(); + let result = new GetApkManagementForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetApkManagementForEditOutput { + apkManagement: ApkManagementEditDto; +} + +export class GetByCodeOutput implements IGetByCodeOutput { + provinceName: string | undefined; + cityName: string | undefined; + areaName: string | undefined; + streetName: string | undefined; + + constructor(data?: IGetByCodeOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.provinceName = _data["provinceName"]; + this.cityName = _data["cityName"]; + this.areaName = _data["areaName"]; + this.streetName = _data["streetName"]; + } + } + + static fromJS(data: any): GetByCodeOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetByCodeOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["provinceName"] = this.provinceName; + data["cityName"] = this.cityName; + data["areaName"] = this.areaName; + data["streetName"] = this.streetName; + return data; + } + + clone(): GetByCodeOutput { + const json = this.toJSON(); + let result = new GetByCodeOutput(); + result.init(json); + return result; + } +} + +export interface IGetByCodeOutput { + provinceName: string | undefined; + cityName: string | undefined; + areaName: string | undefined; + streetName: string | undefined; +} + +export class GetCurrentLoginInformationsOutput implements IGetCurrentLoginInformationsOutput { + user: UserLoginInfoDto; + tenant: TenantLoginInfoDto; + application: ApplicationInfoDto; + + constructor(data?: IGetCurrentLoginInformationsOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.user = _data["user"] ? UserLoginInfoDto.fromJS(_data["user"]) : undefined; + this.tenant = _data["tenant"] ? TenantLoginInfoDto.fromJS(_data["tenant"]) : undefined; + this.application = _data["application"] ? ApplicationInfoDto.fromJS(_data["application"]) : undefined; + } + } + + static fromJS(data: any): GetCurrentLoginInformationsOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetCurrentLoginInformationsOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["user"] = this.user ? this.user.toJSON() : undefined; + data["tenant"] = this.tenant ? this.tenant.toJSON() : undefined; + data["application"] = this.application ? this.application.toJSON() : undefined; + return data; + } + + clone(): GetCurrentLoginInformationsOutput { + const json = this.toJSON(); + let result = new GetCurrentLoginInformationsOutput(); + result.init(json); + return result; + } +} + +export interface IGetCurrentLoginInformationsOutput { + user: UserLoginInfoDto; + tenant: TenantLoginInfoDto; + application: ApplicationInfoDto; +} + +export class GetDailySalesOutput implements IGetDailySalesOutput { + dailySales: number[] | undefined; + + constructor(data?: IGetDailySalesOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["dailySales"])) { + this.dailySales = [] as any; + for (let item of _data["dailySales"]) + this.dailySales.push(item); + } + } + } + + static fromJS(data: any): GetDailySalesOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetDailySalesOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.dailySales)) { + data["dailySales"] = []; + for (let item of this.dailySales) + data["dailySales"].push(item); + } + return data; + } + + clone(): GetDailySalesOutput { + const json = this.toJSON(); + let result = new GetDailySalesOutput(); + result.init(json); + return result; + } +} + +export interface IGetDailySalesOutput { + dailySales: number[] | undefined; +} + +export class GetDashboardDataOutput implements IGetDashboardDataOutput { + totalProfit: number; + newFeedbacks: number; + newOrders: number; + newUsers: number; + salesSummary: SalesSummaryData[] | undefined; + totalSales: number; + revenue: number; + expenses: number; + growth: number; + transactionPercent: number; + newVisitPercent: number; + bouncePercent: number; + dailySales: number[] | undefined; + profitShares: number[] | undefined; + + constructor(data?: IGetDashboardDataOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.totalProfit = _data["totalProfit"]; + this.newFeedbacks = _data["newFeedbacks"]; + this.newOrders = _data["newOrders"]; + this.newUsers = _data["newUsers"]; + if (Array.isArray(_data["salesSummary"])) { + this.salesSummary = [] as any; + for (let item of _data["salesSummary"]) + this.salesSummary.push(SalesSummaryData.fromJS(item)); + } + this.totalSales = _data["totalSales"]; + this.revenue = _data["revenue"]; + this.expenses = _data["expenses"]; + this.growth = _data["growth"]; + this.transactionPercent = _data["transactionPercent"]; + this.newVisitPercent = _data["newVisitPercent"]; + this.bouncePercent = _data["bouncePercent"]; + if (Array.isArray(_data["dailySales"])) { + this.dailySales = [] as any; + for (let item of _data["dailySales"]) + this.dailySales.push(item); + } + if (Array.isArray(_data["profitShares"])) { + this.profitShares = [] as any; + for (let item of _data["profitShares"]) + this.profitShares.push(item); + } + } + } + + static fromJS(data: any): GetDashboardDataOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetDashboardDataOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["totalProfit"] = this.totalProfit; + data["newFeedbacks"] = this.newFeedbacks; + data["newOrders"] = this.newOrders; + data["newUsers"] = this.newUsers; + if (Array.isArray(this.salesSummary)) { + data["salesSummary"] = []; + for (let item of this.salesSummary) + data["salesSummary"].push(item.toJSON()); + } + data["totalSales"] = this.totalSales; + data["revenue"] = this.revenue; + data["expenses"] = this.expenses; + data["growth"] = this.growth; + data["transactionPercent"] = this.transactionPercent; + data["newVisitPercent"] = this.newVisitPercent; + data["bouncePercent"] = this.bouncePercent; + if (Array.isArray(this.dailySales)) { + data["dailySales"] = []; + for (let item of this.dailySales) + data["dailySales"].push(item); + } + if (Array.isArray(this.profitShares)) { + data["profitShares"] = []; + for (let item of this.profitShares) + data["profitShares"].push(item); + } + return data; + } + + clone(): GetDashboardDataOutput { + const json = this.toJSON(); + let result = new GetDashboardDataOutput(); + result.init(json); + return result; + } +} + +export interface IGetDashboardDataOutput { + totalProfit: number; + newFeedbacks: number; + newOrders: number; + newUsers: number; + salesSummary: SalesSummaryData[] | undefined; + totalSales: number; + revenue: number; + expenses: number; + growth: number; + transactionPercent: number; + newVisitPercent: number; + bouncePercent: number; + dailySales: number[] | undefined; + profitShares: number[] | undefined; +} + +export class GetDefaultEditionNameOutput implements IGetDefaultEditionNameOutput { + name: string | undefined; + + constructor(data?: IGetDefaultEditionNameOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.name = _data["name"]; + } + } + + static fromJS(data: any): GetDefaultEditionNameOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetDefaultEditionNameOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["name"] = this.name; + return data; + } + + clone(): GetDefaultEditionNameOutput { + const json = this.toJSON(); + let result = new GetDefaultEditionNameOutput(); + result.init(json); + return result; + } +} + +export interface IGetDefaultEditionNameOutput { + name: string | undefined; +} + +export class GetEditionEditOutput implements IGetEditionEditOutput { + edition: EditionEditDto; + featureValues: NameValueDto[] | undefined; + features: FlatFeatureDto[] | undefined; + + constructor(data?: IGetEditionEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.edition = _data["edition"] ? EditionEditDto.fromJS(_data["edition"]) : undefined; + if (Array.isArray(_data["featureValues"])) { + this.featureValues = [] as any; + for (let item of _data["featureValues"]) + this.featureValues.push(NameValueDto.fromJS(item)); + } + if (Array.isArray(_data["features"])) { + this.features = [] as any; + for (let item of _data["features"]) + this.features.push(FlatFeatureDto.fromJS(item)); + } + } + } + + static fromJS(data: any): GetEditionEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetEditionEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["edition"] = this.edition ? this.edition.toJSON() : undefined; + if (Array.isArray(this.featureValues)) { + data["featureValues"] = []; + for (let item of this.featureValues) + data["featureValues"].push(item.toJSON()); + } + if (Array.isArray(this.features)) { + data["features"] = []; + for (let item of this.features) + data["features"].push(item.toJSON()); + } + return data; + } + + clone(): GetEditionEditOutput { + const json = this.toJSON(); + let result = new GetEditionEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetEditionEditOutput { + edition: EditionEditDto; + featureValues: NameValueDto[] | undefined; + features: FlatFeatureDto[] | undefined; +} + +export class GetEditionTenantStatisticsOutput implements IGetEditionTenantStatisticsOutput { + editionStatistics: TenantEdition[] | undefined; + + constructor(data?: IGetEditionTenantStatisticsOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["editionStatistics"])) { + this.editionStatistics = [] as any; + for (let item of _data["editionStatistics"]) + this.editionStatistics.push(TenantEdition.fromJS(item)); + } + } + } + + static fromJS(data: any): GetEditionTenantStatisticsOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetEditionTenantStatisticsOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.editionStatistics)) { + data["editionStatistics"] = []; + for (let item of this.editionStatistics) + data["editionStatistics"].push(item.toJSON()); + } + return data; + } + + clone(): GetEditionTenantStatisticsOutput { + const json = this.toJSON(); + let result = new GetEditionTenantStatisticsOutput(); + result.init(json); + return result; + } +} + +export interface IGetEditionTenantStatisticsOutput { + editionStatistics: TenantEdition[] | undefined; +} + +export class GetEmailAddressCodeInput implements IGetEmailAddressCodeInput { + emailAddress: string | undefined; + confirmationCode: string | undefined; + + constructor(data?: IGetEmailAddressCodeInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.emailAddress = _data["emailAddress"]; + this.confirmationCode = _data["confirmationCode"]; + } + } + + static fromJS(data: any): GetEmailAddressCodeInput { + data = typeof data === 'object' ? data : {}; + let result = new GetEmailAddressCodeInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["emailAddress"] = this.emailAddress; + data["confirmationCode"] = this.confirmationCode; + return data; + } + + clone(): GetEmailAddressCodeInput { + const json = this.toJSON(); + let result = new GetEmailAddressCodeInput(); + result.init(json); + return result; + } +} + +export interface IGetEmailAddressCodeInput { + emailAddress: string | undefined; + confirmationCode: string | undefined; +} + +export class GetExpiringTenantsOutput implements IGetExpiringTenantsOutput { + expiringTenants: ExpiringTenant[] | undefined; + subscriptionEndAlertDayCount: number; + maxExpiringTenantsShownCount: number; + subscriptionEndDateStart: moment.Moment; + subscriptionEndDateEnd: moment.Moment; + + constructor(data?: IGetExpiringTenantsOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["expiringTenants"])) { + this.expiringTenants = [] as any; + for (let item of _data["expiringTenants"]) + this.expiringTenants.push(ExpiringTenant.fromJS(item)); + } + this.subscriptionEndAlertDayCount = _data["subscriptionEndAlertDayCount"]; + this.maxExpiringTenantsShownCount = _data["maxExpiringTenantsShownCount"]; + this.subscriptionEndDateStart = _data["subscriptionEndDateStart"] ? moment(_data["subscriptionEndDateStart"].toString()) : undefined; + this.subscriptionEndDateEnd = _data["subscriptionEndDateEnd"] ? moment(_data["subscriptionEndDateEnd"].toString()) : undefined; + } + } + + static fromJS(data: any): GetExpiringTenantsOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetExpiringTenantsOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.expiringTenants)) { + data["expiringTenants"] = []; + for (let item of this.expiringTenants) + data["expiringTenants"].push(item.toJSON()); + } + data["subscriptionEndAlertDayCount"] = this.subscriptionEndAlertDayCount; + data["maxExpiringTenantsShownCount"] = this.maxExpiringTenantsShownCount; + data["subscriptionEndDateStart"] = this.subscriptionEndDateStart ? this.subscriptionEndDateStart.toISOString() : undefined; + data["subscriptionEndDateEnd"] = this.subscriptionEndDateEnd ? this.subscriptionEndDateEnd.toISOString() : undefined; + return data; + } + + clone(): GetExpiringTenantsOutput { + const json = this.toJSON(); + let result = new GetExpiringTenantsOutput(); + result.init(json); + return result; + } +} + +export interface IGetExpiringTenantsOutput { + expiringTenants: ExpiringTenant[] | undefined; + subscriptionEndAlertDayCount: number; + maxExpiringTenantsShownCount: number; + subscriptionEndDateStart: moment.Moment; + subscriptionEndDateEnd: moment.Moment; +} + +export class GetFileForEditOutput implements IGetFileForEditOutput { + fileEditDto: FileEditDto; + + constructor(data?: IGetFileForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.fileEditDto = _data["fileEditDto"] ? FileEditDto.fromJS(_data["fileEditDto"]) : undefined; + } + } + + static fromJS(data: any): GetFileForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetFileForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["fileEditDto"] = this.fileEditDto ? this.fileEditDto.toJSON() : undefined; + return data; + } + + clone(): GetFileForEditOutput { + const json = this.toJSON(); + let result = new GetFileForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetFileForEditOutput { + fileEditDto: FileEditDto; +} + +export class GetGeneralStatsOutput implements IGetGeneralStatsOutput { + transactionPercent: number; + newVisitPercent: number; + bouncePercent: number; + + constructor(data?: IGetGeneralStatsOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.transactionPercent = _data["transactionPercent"]; + this.newVisitPercent = _data["newVisitPercent"]; + this.bouncePercent = _data["bouncePercent"]; + } + } + + static fromJS(data: any): GetGeneralStatsOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetGeneralStatsOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["transactionPercent"] = this.transactionPercent; + data["newVisitPercent"] = this.newVisitPercent; + data["bouncePercent"] = this.bouncePercent; + return data; + } + + clone(): GetGeneralStatsOutput { + const json = this.toJSON(); + let result = new GetGeneralStatsOutput(); + result.init(json); + return result; + } +} + +export interface IGetGeneralStatsOutput { + transactionPercent: number; + newVisitPercent: number; + bouncePercent: number; +} + +export class GetIcsAqlForEditOutput implements IGetIcsAqlForEditOutput { + icsAql: IcsAqlEditDto; + + constructor(data?: IGetIcsAqlForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsAql = new IcsAqlEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsAql = _data["icsAql"] ? IcsAqlEditDto.fromJS(_data["icsAql"]) : new IcsAqlEditDto(); + } + } + + static fromJS(data: any): GetIcsAqlForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsAqlForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsAql"] = this.icsAql ? this.icsAql.toJSON() : undefined; + return data; + } + + clone(): GetIcsAqlForEditOutput { + const json = this.toJSON(); + let result = new GetIcsAqlForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsAqlForEditOutput { + icsAql: IcsAqlEditDto; +} + +export class GetIcsArmorplateForEditOutput implements IGetIcsArmorplateForEditOutput { + icsArmorplate: IcsArmorplateEditDto; + + constructor(data?: IGetIcsArmorplateForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsArmorplate = new IcsArmorplateEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsArmorplate = _data["icsArmorplate"] ? IcsArmorplateEditDto.fromJS(_data["icsArmorplate"]) : new IcsArmorplateEditDto(); + } + } + + static fromJS(data: any): GetIcsArmorplateForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsArmorplateForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsArmorplate"] = this.icsArmorplate ? this.icsArmorplate.toJSON() : undefined; + return data; + } + + clone(): GetIcsArmorplateForEditOutput { + const json = this.toJSON(); + let result = new GetIcsArmorplateForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsArmorplateForEditOutput { + icsArmorplate: IcsArmorplateEditDto; +} + +export class GetIcsBomParamDetailForEditOutput implements IGetIcsBomParamDetailForEditOutput { + icsBomParamDetail: IcsBomParamDetailEditDto; + + constructor(data?: IGetIcsBomParamDetailForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsBomParamDetail = new IcsBomParamDetailEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsBomParamDetail = _data["icsBomParamDetail"] ? IcsBomParamDetailEditDto.fromJS(_data["icsBomParamDetail"]) : new IcsBomParamDetailEditDto(); + } + } + + static fromJS(data: any): GetIcsBomParamDetailForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsBomParamDetailForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsBomParamDetail"] = this.icsBomParamDetail ? this.icsBomParamDetail.toJSON() : undefined; + return data; + } + + clone(): GetIcsBomParamDetailForEditOutput { + const json = this.toJSON(); + let result = new GetIcsBomParamDetailForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsBomParamDetailForEditOutput { + icsBomParamDetail: IcsBomParamDetailEditDto; +} + +export class GetIcsBomParamHeadForEditOutput implements IGetIcsBomParamHeadForEditOutput { + icsBomParamHead: IcsBomParamHeadEditDto; + + constructor(data?: IGetIcsBomParamHeadForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsBomParamHead = new IcsBomParamHeadEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsBomParamHead = _data["icsBomParamHead"] ? IcsBomParamHeadEditDto.fromJS(_data["icsBomParamHead"]) : new IcsBomParamHeadEditDto(); + } + } + + static fromJS(data: any): GetIcsBomParamHeadForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsBomParamHeadForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsBomParamHead"] = this.icsBomParamHead ? this.icsBomParamHead.toJSON() : undefined; + return data; + } + + clone(): GetIcsBomParamHeadForEditOutput { + const json = this.toJSON(); + let result = new GetIcsBomParamHeadForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsBomParamHeadForEditOutput { + icsBomParamHead: IcsBomParamHeadEditDto; +} + +export class GetIcsCheckGroupForEditOutput implements IGetIcsCheckGroupForEditOutput { + icsCheckGroup: IcsCheckGroupEditDto; + + constructor(data?: IGetIcsCheckGroupForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsCheckGroup = new IcsCheckGroupEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsCheckGroup = _data["icsCheckGroup"] ? IcsCheckGroupEditDto.fromJS(_data["icsCheckGroup"]) : new IcsCheckGroupEditDto(); + } + } + + static fromJS(data: any): GetIcsCheckGroupForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsCheckGroupForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsCheckGroup"] = this.icsCheckGroup ? this.icsCheckGroup.toJSON() : undefined; + return data; + } + + clone(): GetIcsCheckGroupForEditOutput { + const json = this.toJSON(); + let result = new GetIcsCheckGroupForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsCheckGroupForEditOutput { + icsCheckGroup: IcsCheckGroupEditDto; +} + +export class GetIcsCheckItemForEditOutput implements IGetIcsCheckItemForEditOutput { + icsCheckItem: IcsCheckItemEditDto; + + constructor(data?: IGetIcsCheckItemForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsCheckItem = new IcsCheckItemEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsCheckItem = _data["icsCheckItem"] ? IcsCheckItemEditDto.fromJS(_data["icsCheckItem"]) : new IcsCheckItemEditDto(); + } + } + + static fromJS(data: any): GetIcsCheckItemForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsCheckItemForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsCheckItem"] = this.icsCheckItem ? this.icsCheckItem.toJSON() : undefined; + return data; + } + + clone(): GetIcsCheckItemForEditOutput { + const json = this.toJSON(); + let result = new GetIcsCheckItemForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsCheckItemForEditOutput { + icsCheckItem: IcsCheckItemEditDto; +} + +export class GetIcsCrewForEditOutput implements IGetIcsCrewForEditOutput { + icsCrew: IcsCrewEditDto; + + constructor(data?: IGetIcsCrewForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsCrew = new IcsCrewEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsCrew = _data["icsCrew"] ? IcsCrewEditDto.fromJS(_data["icsCrew"]) : new IcsCrewEditDto(); + } + } + + static fromJS(data: any): GetIcsCrewForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsCrewForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsCrew"] = this.icsCrew ? this.icsCrew.toJSON() : undefined; + return data; + } + + clone(): GetIcsCrewForEditOutput { + const json = this.toJSON(); + let result = new GetIcsCrewForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsCrewForEditOutput { + icsCrew: IcsCrewEditDto; +} + +export class GetIcsDataAuthorizationConfigForEditOutput implements IGetIcsDataAuthorizationConfigForEditOutput { + icsDataAuthorizationConfig: IcsDataAuthorizationConfigEditDto; + + constructor(data?: IGetIcsDataAuthorizationConfigForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsDataAuthorizationConfig = new IcsDataAuthorizationConfigEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsDataAuthorizationConfig = _data["icsDataAuthorizationConfig"] ? IcsDataAuthorizationConfigEditDto.fromJS(_data["icsDataAuthorizationConfig"]) : new IcsDataAuthorizationConfigEditDto(); + } + } + + static fromJS(data: any): GetIcsDataAuthorizationConfigForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsDataAuthorizationConfigForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsDataAuthorizationConfig"] = this.icsDataAuthorizationConfig ? this.icsDataAuthorizationConfig.toJSON() : undefined; + return data; + } + + clone(): GetIcsDataAuthorizationConfigForEditOutput { + const json = this.toJSON(); + let result = new GetIcsDataAuthorizationConfigForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsDataAuthorizationConfigForEditOutput { + icsDataAuthorizationConfig: IcsDataAuthorizationConfigEditDto; +} + +export class GetIcsDctForEditOutput implements IGetIcsDctForEditOutput { + icsDct: IcsDctEditDto; + + constructor(data?: IGetIcsDctForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsDct = new IcsDctEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsDct = _data["icsDct"] ? IcsDctEditDto.fromJS(_data["icsDct"]) : new IcsDctEditDto(); + } + } + + static fromJS(data: any): GetIcsDctForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsDctForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsDct"] = this.icsDct ? this.icsDct.toJSON() : undefined; + return data; + } + + clone(): GetIcsDctForEditOutput { + const json = this.toJSON(); + let result = new GetIcsDctForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsDctForEditOutput { + icsDct: IcsDctEditDto; +} + +export class GetIcsDutyForEditOutput implements IGetIcsDutyForEditOutput { + icsDuty: IcsDutyEditDto; + + constructor(data?: IGetIcsDutyForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsDuty = new IcsDutyEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsDuty = _data["icsDuty"] ? IcsDutyEditDto.fromJS(_data["icsDuty"]) : new IcsDutyEditDto(); + } + } + + static fromJS(data: any): GetIcsDutyForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsDutyForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsDuty"] = this.icsDuty ? this.icsDuty.toJSON() : undefined; + return data; + } + + clone(): GetIcsDutyForEditOutput { + const json = this.toJSON(); + let result = new GetIcsDutyForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsDutyForEditOutput { + icsDuty: IcsDutyEditDto; +} + +export class GetIcsDynamicColumnConfigForEditOutput implements IGetIcsDynamicColumnConfigForEditOutput { + icsDynamicColumnConfig: IcsDynamicColumnConfigEditDto; + + constructor(data?: IGetIcsDynamicColumnConfigForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsDynamicColumnConfig = new IcsDynamicColumnConfigEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsDynamicColumnConfig = _data["icsDynamicColumnConfig"] ? IcsDynamicColumnConfigEditDto.fromJS(_data["icsDynamicColumnConfig"]) : new IcsDynamicColumnConfigEditDto(); + } + } + + static fromJS(data: any): GetIcsDynamicColumnConfigForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsDynamicColumnConfigForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsDynamicColumnConfig"] = this.icsDynamicColumnConfig ? this.icsDynamicColumnConfig.toJSON() : undefined; + return data; + } + + clone(): GetIcsDynamicColumnConfigForEditOutput { + const json = this.toJSON(); + let result = new GetIcsDynamicColumnConfigForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsDynamicColumnConfigForEditOutput { + icsDynamicColumnConfig: IcsDynamicColumnConfigEditDto; +} + +export class GetIcsEcForEditOutput implements IGetIcsEcForEditOutput { + icsEc: IcsEcEditDto; + + constructor(data?: IGetIcsEcForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEc = new IcsEcEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEc = _data["icsEc"] ? IcsEcEditDto.fromJS(_data["icsEc"]) : new IcsEcEditDto(); + } + } + + static fromJS(data: any): GetIcsEcForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsEcForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEc"] = this.icsEc ? this.icsEc.toJSON() : undefined; + return data; + } + + clone(): GetIcsEcForEditOutput { + const json = this.toJSON(); + let result = new GetIcsEcForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsEcForEditOutput { + icsEc: IcsEcEditDto; +} + +export class GetIcsEcgForEditOutput implements IGetIcsEcgForEditOutput { + icsEcg: IcsEcgEditDto; + icsEcList: IcsEcListDto[] | undefined; + + constructor(data?: IGetIcsEcgForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEcg = new IcsEcgEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEcg = _data["icsEcg"] ? IcsEcgEditDto.fromJS(_data["icsEcg"]) : new IcsEcgEditDto(); + if (Array.isArray(_data["icsEcList"])) { + this.icsEcList = [] as any; + for (let item of _data["icsEcList"]) + this.icsEcList.push(IcsEcListDto.fromJS(item)); + } + } + } + + static fromJS(data: any): GetIcsEcgForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsEcgForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEcg"] = this.icsEcg ? this.icsEcg.toJSON() : undefined; + if (Array.isArray(this.icsEcList)) { + data["icsEcList"] = []; + for (let item of this.icsEcList) + data["icsEcList"].push(item.toJSON()); + } + return data; + } + + clone(): GetIcsEcgForEditOutput { + const json = this.toJSON(); + let result = new GetIcsEcgForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsEcgForEditOutput { + icsEcg: IcsEcgEditDto; + icsEcList: IcsEcListDto[] | undefined; +} + +export class GetIcsEcsForEditOutput implements IGetIcsEcsForEditOutput { + icsEcs: IcsEcsEditDto; + + constructor(data?: IGetIcsEcsForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEcs = new IcsEcsEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEcs = _data["icsEcs"] ? IcsEcsEditDto.fromJS(_data["icsEcs"]) : new IcsEcsEditDto(); + } + } + + static fromJS(data: any): GetIcsEcsForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsEcsForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEcs"] = this.icsEcs ? this.icsEcs.toJSON() : undefined; + return data; + } + + clone(): GetIcsEcsForEditOutput { + const json = this.toJSON(); + let result = new GetIcsEcsForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsEcsForEditOutput { + icsEcs: IcsEcsEditDto; +} + +export class GetIcsEcsg2EcsForEditOutput implements IGetIcsEcsg2EcsForEditOutput { + icsEcsg2Ecs: IcsEcsg2EcsEditDto; + + constructor(data?: IGetIcsEcsg2EcsForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEcsg2Ecs = new IcsEcsg2EcsEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEcsg2Ecs = _data["icsEcsg2Ecs"] ? IcsEcsg2EcsEditDto.fromJS(_data["icsEcsg2Ecs"]) : new IcsEcsg2EcsEditDto(); + } + } + + static fromJS(data: any): GetIcsEcsg2EcsForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsEcsg2EcsForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEcsg2Ecs"] = this.icsEcsg2Ecs ? this.icsEcsg2Ecs.toJSON() : undefined; + return data; + } + + clone(): GetIcsEcsg2EcsForEditOutput { + const json = this.toJSON(); + let result = new GetIcsEcsg2EcsForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsEcsg2EcsForEditOutput { + icsEcsg2Ecs: IcsEcsg2EcsEditDto; +} + +export class GetIcsEcsgForEditOutput implements IGetIcsEcsgForEditOutput { + icsEcsg: IcsEcsgEditDto; + icsEcsList: IcsEcsListDto[] | undefined; + + constructor(data?: IGetIcsEcsgForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEcsg = new IcsEcsgEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEcsg = _data["icsEcsg"] ? IcsEcsgEditDto.fromJS(_data["icsEcsg"]) : new IcsEcsgEditDto(); + if (Array.isArray(_data["icsEcsList"])) { + this.icsEcsList = [] as any; + for (let item of _data["icsEcsList"]) + this.icsEcsList.push(IcsEcsListDto.fromJS(item)); + } + } + } + + static fromJS(data: any): GetIcsEcsgForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsEcsgForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEcsg"] = this.icsEcsg ? this.icsEcsg.toJSON() : undefined; + if (Array.isArray(this.icsEcsList)) { + data["icsEcsList"] = []; + for (let item of this.icsEcsList) + data["icsEcsList"].push(item.toJSON()); + } + return data; + } + + clone(): GetIcsEcsgForEditOutput { + const json = this.toJSON(); + let result = new GetIcsEcsgForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsEcsgForEditOutput { + icsEcsg: IcsEcsgEditDto; + icsEcsList: IcsEcsListDto[] | undefined; +} + +export class GetIcsEqp2OpForEditOutput implements IGetIcsEqp2OpForEditOutput { + icsEqp2Op: IcsEqp2OpEditDto; + + constructor(data?: IGetIcsEqp2OpForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEqp2Op = new IcsEqp2OpEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEqp2Op = _data["icsEqp2Op"] ? IcsEqp2OpEditDto.fromJS(_data["icsEqp2Op"]) : new IcsEqp2OpEditDto(); + } + } + + static fromJS(data: any): GetIcsEqp2OpForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsEqp2OpForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEqp2Op"] = this.icsEqp2Op ? this.icsEqp2Op.toJSON() : undefined; + return data; + } + + clone(): GetIcsEqp2OpForEditOutput { + const json = this.toJSON(); + let result = new GetIcsEqp2OpForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsEqp2OpForEditOutput { + icsEqp2Op: IcsEqp2OpEditDto; +} + +export class GetIcsEqpModelPriceForEditOutput implements IGetIcsEqpModelPriceForEditOutput { + icsEqpModelPrice: IcsEqpModelPriceEditDto; + + constructor(data?: IGetIcsEqpModelPriceForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEqpModelPrice = new IcsEqpModelPriceEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEqpModelPrice = _data["icsEqpModelPrice"] ? IcsEqpModelPriceEditDto.fromJS(_data["icsEqpModelPrice"]) : new IcsEqpModelPriceEditDto(); + } + } + + static fromJS(data: any): GetIcsEqpModelPriceForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsEqpModelPriceForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEqpModelPrice"] = this.icsEqpModelPrice ? this.icsEqpModelPrice.toJSON() : undefined; + return data; + } + + clone(): GetIcsEqpModelPriceForEditOutput { + const json = this.toJSON(); + let result = new GetIcsEqpModelPriceForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsEqpModelPriceForEditOutput { + icsEqpModelPrice: IcsEqpModelPriceEditDto; +} + +export class GetIcsEquipmentForEditOutput implements IGetIcsEquipmentForEditOutput { + icsEquipment: IcsEquipmentEditDto; + + constructor(data?: IGetIcsEquipmentForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEquipment = new IcsEquipmentEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEquipment = _data["icsEquipment"] ? IcsEquipmentEditDto.fromJS(_data["icsEquipment"]) : new IcsEquipmentEditDto(); + } + } + + static fromJS(data: any): GetIcsEquipmentForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsEquipmentForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEquipment"] = this.icsEquipment ? this.icsEquipment.toJSON() : undefined; + return data; + } + + clone(): GetIcsEquipmentForEditOutput { + const json = this.toJSON(); + let result = new GetIcsEquipmentForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsEquipmentForEditOutput { + icsEquipment: IcsEquipmentEditDto; +} + +export class GetIcsEquipmentMaintainItemForEditOutput implements IGetIcsEquipmentMaintainItemForEditOutput { + icsEquipmentMaintainItem: IcsEquipmentMaintainItemEditDto; + + constructor(data?: IGetIcsEquipmentMaintainItemForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEquipmentMaintainItem = new IcsEquipmentMaintainItemEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEquipmentMaintainItem = _data["icsEquipmentMaintainItem"] ? IcsEquipmentMaintainItemEditDto.fromJS(_data["icsEquipmentMaintainItem"]) : new IcsEquipmentMaintainItemEditDto(); + } + } + + static fromJS(data: any): GetIcsEquipmentMaintainItemForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsEquipmentMaintainItemForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEquipmentMaintainItem"] = this.icsEquipmentMaintainItem ? this.icsEquipmentMaintainItem.toJSON() : undefined; + return data; + } + + clone(): GetIcsEquipmentMaintainItemForEditOutput { + const json = this.toJSON(); + let result = new GetIcsEquipmentMaintainItemForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsEquipmentMaintainItemForEditOutput { + icsEquipmentMaintainItem: IcsEquipmentMaintainItemEditDto; +} + +export class GetIcsEquipmentMaintainLogForEditOutput implements IGetIcsEquipmentMaintainLogForEditOutput { + icsEquipmentMaintainLog: IcsEquipmentMaintainLogEditDto; + + constructor(data?: IGetIcsEquipmentMaintainLogForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEquipmentMaintainLog = new IcsEquipmentMaintainLogEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEquipmentMaintainLog = _data["icsEquipmentMaintainLog"] ? IcsEquipmentMaintainLogEditDto.fromJS(_data["icsEquipmentMaintainLog"]) : new IcsEquipmentMaintainLogEditDto(); + } + } + + static fromJS(data: any): GetIcsEquipmentMaintainLogForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsEquipmentMaintainLogForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEquipmentMaintainLog"] = this.icsEquipmentMaintainLog ? this.icsEquipmentMaintainLog.toJSON() : undefined; + return data; + } + + clone(): GetIcsEquipmentMaintainLogForEditOutput { + const json = this.toJSON(); + let result = new GetIcsEquipmentMaintainLogForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsEquipmentMaintainLogForEditOutput { + icsEquipmentMaintainLog: IcsEquipmentMaintainLogEditDto; +} + +export class GetIcsEquipmentMaintainPlanForEditOutput implements IGetIcsEquipmentMaintainPlanForEditOutput { + icsEquipmentMaintainPlan: IcsEquipmentMaintainPlanEditDto; + + constructor(data?: IGetIcsEquipmentMaintainPlanForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEquipmentMaintainPlan = new IcsEquipmentMaintainPlanEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEquipmentMaintainPlan = _data["icsEquipmentMaintainPlan"] ? IcsEquipmentMaintainPlanEditDto.fromJS(_data["icsEquipmentMaintainPlan"]) : new IcsEquipmentMaintainPlanEditDto(); + } + } + + static fromJS(data: any): GetIcsEquipmentMaintainPlanForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsEquipmentMaintainPlanForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEquipmentMaintainPlan"] = this.icsEquipmentMaintainPlan ? this.icsEquipmentMaintainPlan.toJSON() : undefined; + return data; + } + + clone(): GetIcsEquipmentMaintainPlanForEditOutput { + const json = this.toJSON(); + let result = new GetIcsEquipmentMaintainPlanForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsEquipmentMaintainPlanForEditOutput { + icsEquipmentMaintainPlan: IcsEquipmentMaintainPlanEditDto; +} + +export class GetIcsEquipmentPartCheckDataForEditOutput implements IGetIcsEquipmentPartCheckDataForEditOutput { + icsEquipmentPartCheckData: IcsEquipmentPartCheckDataEditDto; + + constructor(data?: IGetIcsEquipmentPartCheckDataForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEquipmentPartCheckData = new IcsEquipmentPartCheckDataEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEquipmentPartCheckData = _data["icsEquipmentPartCheckData"] ? IcsEquipmentPartCheckDataEditDto.fromJS(_data["icsEquipmentPartCheckData"]) : new IcsEquipmentPartCheckDataEditDto(); + } + } + + static fromJS(data: any): GetIcsEquipmentPartCheckDataForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsEquipmentPartCheckDataForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEquipmentPartCheckData"] = this.icsEquipmentPartCheckData ? this.icsEquipmentPartCheckData.toJSON() : undefined; + return data; + } + + clone(): GetIcsEquipmentPartCheckDataForEditOutput { + const json = this.toJSON(); + let result = new GetIcsEquipmentPartCheckDataForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsEquipmentPartCheckDataForEditOutput { + icsEquipmentPartCheckData: IcsEquipmentPartCheckDataEditDto; +} + +export class GetIcsEquipmentPartCheckItemForEditOutput implements IGetIcsEquipmentPartCheckItemForEditOutput { + icsEquipmentPartCheckItem: IcsEquipmentPartCheckItemEditDto; + + constructor(data?: IGetIcsEquipmentPartCheckItemForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEquipmentPartCheckItem = new IcsEquipmentPartCheckItemEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEquipmentPartCheckItem = _data["icsEquipmentPartCheckItem"] ? IcsEquipmentPartCheckItemEditDto.fromJS(_data["icsEquipmentPartCheckItem"]) : new IcsEquipmentPartCheckItemEditDto(); + } + } + + static fromJS(data: any): GetIcsEquipmentPartCheckItemForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsEquipmentPartCheckItemForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEquipmentPartCheckItem"] = this.icsEquipmentPartCheckItem ? this.icsEquipmentPartCheckItem.toJSON() : undefined; + return data; + } + + clone(): GetIcsEquipmentPartCheckItemForEditOutput { + const json = this.toJSON(); + let result = new GetIcsEquipmentPartCheckItemForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsEquipmentPartCheckItemForEditOutput { + icsEquipmentPartCheckItem: IcsEquipmentPartCheckItemEditDto; +} + +export class GetIcsEquipmentPartsForEditOutput implements IGetIcsEquipmentPartsForEditOutput { + icsEquipmentParts: IcsEquipmentPartsEditDto; + + constructor(data?: IGetIcsEquipmentPartsForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEquipmentParts = new IcsEquipmentPartsEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEquipmentParts = _data["icsEquipmentParts"] ? IcsEquipmentPartsEditDto.fromJS(_data["icsEquipmentParts"]) : new IcsEquipmentPartsEditDto(); + } + } + + static fromJS(data: any): GetIcsEquipmentPartsForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsEquipmentPartsForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEquipmentParts"] = this.icsEquipmentParts ? this.icsEquipmentParts.toJSON() : undefined; + return data; + } + + clone(): GetIcsEquipmentPartsForEditOutput { + const json = this.toJSON(); + let result = new GetIcsEquipmentPartsForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsEquipmentPartsForEditOutput { + icsEquipmentParts: IcsEquipmentPartsEditDto; +} + +export class GetIcsEquipmentTSForEditOutput implements IGetIcsEquipmentTSForEditOutput { + icsEquipmentTS: IcsEquipmentTSEditDto; + + constructor(data?: IGetIcsEquipmentTSForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsEquipmentTS = new IcsEquipmentTSEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsEquipmentTS = _data["icsEquipmentTS"] ? IcsEquipmentTSEditDto.fromJS(_data["icsEquipmentTS"]) : new IcsEquipmentTSEditDto(); + } + } + + static fromJS(data: any): GetIcsEquipmentTSForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsEquipmentTSForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsEquipmentTS"] = this.icsEquipmentTS ? this.icsEquipmentTS.toJSON() : undefined; + return data; + } + + clone(): GetIcsEquipmentTSForEditOutput { + const json = this.toJSON(); + let result = new GetIcsEquipmentTSForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsEquipmentTSForEditOutput { + icsEquipmentTS: IcsEquipmentTSEditDto; +} + +export class GetIcsErpTimeForEditOutput implements IGetIcsErpTimeForEditOutput { + icsErpTime: IcsErpTimeEditDto; + + constructor(data?: IGetIcsErpTimeForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsErpTime = new IcsErpTimeEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsErpTime = _data["icsErpTime"] ? IcsErpTimeEditDto.fromJS(_data["icsErpTime"]) : new IcsErpTimeEditDto(); + } + } + + static fromJS(data: any): GetIcsErpTimeForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsErpTimeForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsErpTime"] = this.icsErpTime ? this.icsErpTime.toJSON() : undefined; + return data; + } + + clone(): GetIcsErpTimeForEditOutput { + const json = this.toJSON(); + let result = new GetIcsErpTimeForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsErpTimeForEditOutput { + icsErpTime: IcsErpTimeEditDto; +} + +export class GetIcsFactoryForEditOutput implements IGetIcsFactoryForEditOutput { + icsFactory: IcsFactoryEditDto; + + constructor(data?: IGetIcsFactoryForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsFactory = new IcsFactoryEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsFactory = _data["icsFactory"] ? IcsFactoryEditDto.fromJS(_data["icsFactory"]) : new IcsFactoryEditDto(); + } + } + + static fromJS(data: any): GetIcsFactoryForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsFactoryForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsFactory"] = this.icsFactory ? this.icsFactory.toJSON() : undefined; + return data; + } + + clone(): GetIcsFactoryForEditOutput { + const json = this.toJSON(); + let result = new GetIcsFactoryForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsFactoryForEditOutput { + icsFactory: IcsFactoryEditDto; +} + +export class GetIcsInventoryForEditOutput implements IGetIcsInventoryForEditOutput { + icsInventory: IcsInventoryEditDto; + + constructor(data?: IGetIcsInventoryForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsInventory = new IcsInventoryEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsInventory = _data["icsInventory"] ? IcsInventoryEditDto.fromJS(_data["icsInventory"]) : new IcsInventoryEditDto(); + } + } + + static fromJS(data: any): GetIcsInventoryForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsInventoryForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsInventory"] = this.icsInventory ? this.icsInventory.toJSON() : undefined; + return data; + } + + clone(): GetIcsInventoryForEditOutput { + const json = this.toJSON(); + let result = new GetIcsInventoryForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsInventoryForEditOutput { + icsInventory: IcsInventoryEditDto; +} + +export class GetIcsItem2RouteForEditOutput implements IGetIcsItem2RouteForEditOutput { + icsItem2Route: IcsItem2RouteEditDto; + + constructor(data?: IGetIcsItem2RouteForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsItem2Route = new IcsItem2RouteEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsItem2Route = _data["icsItem2Route"] ? IcsItem2RouteEditDto.fromJS(_data["icsItem2Route"]) : new IcsItem2RouteEditDto(); + } + } + + static fromJS(data: any): GetIcsItem2RouteForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsItem2RouteForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsItem2Route"] = this.icsItem2Route ? this.icsItem2Route.toJSON() : undefined; + return data; + } + + clone(): GetIcsItem2RouteForEditOutput { + const json = this.toJSON(); + let result = new GetIcsItem2RouteForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsItem2RouteForEditOutput { + icsItem2Route: IcsItem2RouteEditDto; +} + +export class GetIcsItemModel2CheckGroupForEditOutput implements IGetIcsItemModel2CheckGroupForEditOutput { + icsItemModel2CheckGroup: IcsItemModel2CheckGroupEditDto; + + constructor(data?: IGetIcsItemModel2CheckGroupForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsItemModel2CheckGroup = new IcsItemModel2CheckGroupEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsItemModel2CheckGroup = _data["icsItemModel2CheckGroup"] ? IcsItemModel2CheckGroupEditDto.fromJS(_data["icsItemModel2CheckGroup"]) : new IcsItemModel2CheckGroupEditDto(); + } + } + + static fromJS(data: any): GetIcsItemModel2CheckGroupForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsItemModel2CheckGroupForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsItemModel2CheckGroup"] = this.icsItemModel2CheckGroup ? this.icsItemModel2CheckGroup.toJSON() : undefined; + return data; + } + + clone(): GetIcsItemModel2CheckGroupForEditOutput { + const json = this.toJSON(); + let result = new GetIcsItemModel2CheckGroupForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsItemModel2CheckGroupForEditOutput { + icsItemModel2CheckGroup: IcsItemModel2CheckGroupEditDto; +} + +export class GetIcsItemOp2CheckItemForEditOutput implements IGetIcsItemOp2CheckItemForEditOutput { + icsItemOp2CheckItem: IcsItemOp2CheckItemEditDto; + + constructor(data?: IGetIcsItemOp2CheckItemForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsItemOp2CheckItem = new IcsItemOp2CheckItemEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsItemOp2CheckItem = _data["icsItemOp2CheckItem"] ? IcsItemOp2CheckItemEditDto.fromJS(_data["icsItemOp2CheckItem"]) : new IcsItemOp2CheckItemEditDto(); + } + } + + static fromJS(data: any): GetIcsItemOp2CheckItemForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsItemOp2CheckItemForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsItemOp2CheckItem"] = this.icsItemOp2CheckItem ? this.icsItemOp2CheckItem.toJSON() : undefined; + return data; + } + + clone(): GetIcsItemOp2CheckItemForEditOutput { + const json = this.toJSON(); + let result = new GetIcsItemOp2CheckItemForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsItemOp2CheckItemForEditOutput { + icsItemOp2CheckItem: IcsItemOp2CheckItemEditDto; +} + +export class GetIcsItemRoute2OpForEditOutput implements IGetIcsItemRoute2OpForEditOutput { + icsItemRoute2Op: IcsItemRoute2OpEditDto; + + constructor(data?: IGetIcsItemRoute2OpForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsItemRoute2Op = new IcsItemRoute2OpEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsItemRoute2Op = _data["icsItemRoute2Op"] ? IcsItemRoute2OpEditDto.fromJS(_data["icsItemRoute2Op"]) : new IcsItemRoute2OpEditDto(); + } + } + + static fromJS(data: any): GetIcsItemRoute2OpForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsItemRoute2OpForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsItemRoute2Op"] = this.icsItemRoute2Op ? this.icsItemRoute2Op.toJSON() : undefined; + return data; + } + + clone(): GetIcsItemRoute2OpForEditOutput { + const json = this.toJSON(); + let result = new GetIcsItemRoute2OpForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsItemRoute2OpForEditOutput { + icsItemRoute2Op: IcsItemRoute2OpEditDto; +} + +export class GetIcsItemStd2RouteForEditOutput implements IGetIcsItemStd2RouteForEditOutput { + icsItemStd2Route: IcsItemStd2RouteEditDto; + + constructor(data?: IGetIcsItemStd2RouteForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsItemStd2Route = new IcsItemStd2RouteEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsItemStd2Route = _data["icsItemStd2Route"] ? IcsItemStd2RouteEditDto.fromJS(_data["icsItemStd2Route"]) : new IcsItemStd2RouteEditDto(); + } + } + + static fromJS(data: any): GetIcsItemStd2RouteForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsItemStd2RouteForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsItemStd2Route"] = this.icsItemStd2Route ? this.icsItemStd2Route.toJSON() : undefined; + return data; + } + + clone(): GetIcsItemStd2RouteForEditOutput { + const json = this.toJSON(); + let result = new GetIcsItemStd2RouteForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsItemStd2RouteForEditOutput { + icsItemStd2Route: IcsItemStd2RouteEditDto; +} + +export class GetIcsLotRoute2OpForEditOutput implements IGetIcsLotRoute2OpForEditOutput { + icsLotRoute2Op: IcsLotRoute2OpEditDto; + + constructor(data?: IGetIcsLotRoute2OpForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsLotRoute2Op = new IcsLotRoute2OpEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsLotRoute2Op = _data["icsLotRoute2Op"] ? IcsLotRoute2OpEditDto.fromJS(_data["icsLotRoute2Op"]) : new IcsLotRoute2OpEditDto(); + } + } + + static fromJS(data: any): GetIcsLotRoute2OpForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsLotRoute2OpForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsLotRoute2Op"] = this.icsLotRoute2Op ? this.icsLotRoute2Op.toJSON() : undefined; + return data; + } + + clone(): GetIcsLotRoute2OpForEditOutput { + const json = this.toJSON(); + let result = new GetIcsLotRoute2OpForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsLotRoute2OpForEditOutput { + icsLotRoute2Op: IcsLotRoute2OpEditDto; +} + +export class GetIcsMachineCellForEditOutput implements IGetIcsMachineCellForEditOutput { + icsMachineCell: IcsMachineCellEditDto; + + constructor(data?: IGetIcsMachineCellForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsMachineCell = new IcsMachineCellEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsMachineCell = _data["icsMachineCell"] ? IcsMachineCellEditDto.fromJS(_data["icsMachineCell"]) : new IcsMachineCellEditDto(); + } + } + + static fromJS(data: any): GetIcsMachineCellForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsMachineCellForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsMachineCell"] = this.icsMachineCell ? this.icsMachineCell.toJSON() : undefined; + return data; + } + + clone(): GetIcsMachineCellForEditOutput { + const json = this.toJSON(); + let result = new GetIcsMachineCellForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsMachineCellForEditOutput { + icsMachineCell: IcsMachineCellEditDto; +} + +export class GetIcsMainCategoryCodeForEditOutput implements IGetIcsMainCategoryCodeForEditOutput { + icsMainCategoryCode: IcsMainCategoryCodeEditDto; + + constructor(data?: IGetIcsMainCategoryCodeForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsMainCategoryCode = new IcsMainCategoryCodeEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsMainCategoryCode = _data["icsMainCategoryCode"] ? IcsMainCategoryCodeEditDto.fromJS(_data["icsMainCategoryCode"]) : new IcsMainCategoryCodeEditDto(); + } + } + + static fromJS(data: any): GetIcsMainCategoryCodeForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsMainCategoryCodeForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsMainCategoryCode"] = this.icsMainCategoryCode ? this.icsMainCategoryCode.toJSON() : undefined; + return data; + } + + clone(): GetIcsMainCategoryCodeForEditOutput { + const json = this.toJSON(); + let result = new GetIcsMainCategoryCodeForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsMainCategoryCodeForEditOutput { + icsMainCategoryCode: IcsMainCategoryCodeEditDto; +} + +export class GetIcsManualRecordingForEditOutput implements IGetIcsManualRecordingForEditOutput { + icsManualRecording: IcsManualRecordingEditDto; + + constructor(data?: IGetIcsManualRecordingForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsManualRecording = new IcsManualRecordingEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsManualRecording = _data["icsManualRecording"] ? IcsManualRecordingEditDto.fromJS(_data["icsManualRecording"]) : new IcsManualRecordingEditDto(); + } + } + + static fromJS(data: any): GetIcsManualRecordingForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsManualRecordingForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsManualRecording"] = this.icsManualRecording ? this.icsManualRecording.toJSON() : undefined; + return data; + } + + clone(): GetIcsManualRecordingForEditOutput { + const json = this.toJSON(); + let result = new GetIcsManualRecordingForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsManualRecordingForEditOutput { + icsManualRecording: IcsManualRecordingEditDto; +} + +export class GetIcsManufacturingOutput implements IGetIcsManufacturingOutput { + icsManufacturing: IcsManufacturing2EditDto; + + constructor(data?: IGetIcsManufacturingOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsManufacturing = new IcsManufacturing2EditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsManufacturing = _data["icsManufacturing"] ? IcsManufacturing2EditDto.fromJS(_data["icsManufacturing"]) : new IcsManufacturing2EditDto(); + } + } + + static fromJS(data: any): GetIcsManufacturingOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsManufacturingOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsManufacturing"] = this.icsManufacturing ? this.icsManufacturing.toJSON() : undefined; + return data; + } + + clone(): GetIcsManufacturingOutput { + const json = this.toJSON(); + let result = new GetIcsManufacturingOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsManufacturingOutput { + icsManufacturing: IcsManufacturing2EditDto; +} + +export class GetIcsMfManufacturerCertificateForEditOutput implements IGetIcsMfManufacturerCertificateForEditOutput { + icsMfManufacturerCertificate: IcsMfManufacturerCertificateEditDto; + + constructor(data?: IGetIcsMfManufacturerCertificateForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsMfManufacturerCertificate = new IcsMfManufacturerCertificateEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsMfManufacturerCertificate = _data["icsMfManufacturerCertificate"] ? IcsMfManufacturerCertificateEditDto.fromJS(_data["icsMfManufacturerCertificate"]) : new IcsMfManufacturerCertificateEditDto(); + } + } + + static fromJS(data: any): GetIcsMfManufacturerCertificateForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsMfManufacturerCertificateForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsMfManufacturerCertificate"] = this.icsMfManufacturerCertificate ? this.icsMfManufacturerCertificate.toJSON() : undefined; + return data; + } + + clone(): GetIcsMfManufacturerCertificateForEditOutput { + const json = this.toJSON(); + let result = new GetIcsMfManufacturerCertificateForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsMfManufacturerCertificateForEditOutput { + icsMfManufacturerCertificate: IcsMfManufacturerCertificateEditDto; +} + +export class GetIcsMinNoForEditOutput implements IGetIcsMinNoForEditOutput { + icsMinNo: IcsMinNoEditDto; + + constructor(data?: IGetIcsMinNoForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsMinNo = new IcsMinNoEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsMinNo = _data["icsMinNo"] ? IcsMinNoEditDto.fromJS(_data["icsMinNo"]) : new IcsMinNoEditDto(); + } + } + + static fromJS(data: any): GetIcsMinNoForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsMinNoForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsMinNo"] = this.icsMinNo ? this.icsMinNo.toJSON() : undefined; + return data; + } + + clone(): GetIcsMinNoForEditOutput { + const json = this.toJSON(); + let result = new GetIcsMinNoForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsMinNoForEditOutput { + icsMinNo: IcsMinNoEditDto; +} + +export class GetIcsMo2LotForEditOutput implements IGetIcsMo2LotForEditOutput { + icsMo2Lot: IcsMo2LotEditDto; + + constructor(data?: IGetIcsMo2LotForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsMo2Lot = new IcsMo2LotEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsMo2Lot = _data["icsMo2Lot"] ? IcsMo2LotEditDto.fromJS(_data["icsMo2Lot"]) : new IcsMo2LotEditDto(); + } + } + + static fromJS(data: any): GetIcsMo2LotForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsMo2LotForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsMo2Lot"] = this.icsMo2Lot ? this.icsMo2Lot.toJSON() : undefined; + return data; + } + + clone(): GetIcsMo2LotForEditOutput { + const json = this.toJSON(); + let result = new GetIcsMo2LotForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsMo2LotForEditOutput { + icsMo2Lot: IcsMo2LotEditDto; +} + +export class GetIcsMoDispatchingForEditOutput implements IGetIcsMoDispatchingForEditOutput { + icsMoDispatching: IcsMoDispatchingEditDto; + + constructor(data?: IGetIcsMoDispatchingForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsMoDispatching = new IcsMoDispatchingEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsMoDispatching = _data["icsMoDispatching"] ? IcsMoDispatchingEditDto.fromJS(_data["icsMoDispatching"]) : new IcsMoDispatchingEditDto(); + } + } + + static fromJS(data: any): GetIcsMoDispatchingForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsMoDispatchingForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsMoDispatching"] = this.icsMoDispatching ? this.icsMoDispatching.toJSON() : undefined; + return data; + } + + clone(): GetIcsMoDispatchingForEditOutput { + const json = this.toJSON(); + let result = new GetIcsMoDispatchingForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsMoDispatchingForEditOutput { + icsMoDispatching: IcsMoDispatchingEditDto; +} + +export class GetIcsMoForEditOutput implements IGetIcsMoForEditOutput { + icsMo: IcsMoEditDto; + + constructor(data?: IGetIcsMoForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsMo = new IcsMoEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsMo = _data["icsMo"] ? IcsMoEditDto.fromJS(_data["icsMo"]) : new IcsMoEditDto(); + } + } + + static fromJS(data: any): GetIcsMoForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsMoForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsMo"] = this.icsMo ? this.icsMo.toJSON() : undefined; + return data; + } + + clone(): GetIcsMoForEditOutput { + const json = this.toJSON(); + let result = new GetIcsMoForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsMoForEditOutput { + icsMo: IcsMoEditDto; +} + +export class GetIcsModel2EcgForEditOutput implements IGetIcsModel2EcgForEditOutput { + icsModel2Ecg: IcsModel2EcgEditDto; + + constructor(data?: IGetIcsModel2EcgForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsModel2Ecg = new IcsModel2EcgEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsModel2Ecg = _data["icsModel2Ecg"] ? IcsModel2EcgEditDto.fromJS(_data["icsModel2Ecg"]) : new IcsModel2EcgEditDto(); + } + } + + static fromJS(data: any): GetIcsModel2EcgForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsModel2EcgForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsModel2Ecg"] = this.icsModel2Ecg ? this.icsModel2Ecg.toJSON() : undefined; + return data; + } + + clone(): GetIcsModel2EcgForEditOutput { + const json = this.toJSON(); + let result = new GetIcsModel2EcgForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsModel2EcgForEditOutput { + icsModel2Ecg: IcsModel2EcgEditDto; +} + +export class GetIcsModel2EcsForEditOutput implements IGetIcsModel2EcsForEditOutput { + icsModel2Ecs: IcsModel2EcsEditDto; + + constructor(data?: IGetIcsModel2EcsForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsModel2Ecs = new IcsModel2EcsEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsModel2Ecs = _data["icsModel2Ecs"] ? IcsModel2EcsEditDto.fromJS(_data["icsModel2Ecs"]) : new IcsModel2EcsEditDto(); + } + } + + static fromJS(data: any): GetIcsModel2EcsForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsModel2EcsForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsModel2Ecs"] = this.icsModel2Ecs ? this.icsModel2Ecs.toJSON() : undefined; + return data; + } + + clone(): GetIcsModel2EcsForEditOutput { + const json = this.toJSON(); + let result = new GetIcsModel2EcsForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsModel2EcsForEditOutput { + icsModel2Ecs: IcsModel2EcsEditDto; +} + +export class GetIcsModel2EcsgForEditOutput implements IGetIcsModel2EcsgForEditOutput { + icsModel2Ecsg: IcsModel2EcsgEditDto; + + constructor(data?: IGetIcsModel2EcsgForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsModel2Ecsg = new IcsModel2EcsgEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsModel2Ecsg = _data["icsModel2Ecsg"] ? IcsModel2EcsgEditDto.fromJS(_data["icsModel2Ecsg"]) : new IcsModel2EcsgEditDto(); + } + } + + static fromJS(data: any): GetIcsModel2EcsgForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsModel2EcsgForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsModel2Ecsg"] = this.icsModel2Ecsg ? this.icsModel2Ecsg.toJSON() : undefined; + return data; + } + + clone(): GetIcsModel2EcsgForEditOutput { + const json = this.toJSON(); + let result = new GetIcsModel2EcsgForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsModel2EcsgForEditOutput { + icsModel2Ecsg: IcsModel2EcsgEditDto; +} + +export class GetIcsModel2SolutionForEditOutput implements IGetIcsModel2SolutionForEditOutput { + icsModel2Solution: IcsModel2SolutionEditDto; + + constructor(data?: IGetIcsModel2SolutionForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsModel2Solution = new IcsModel2SolutionEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsModel2Solution = _data["icsModel2Solution"] ? IcsModel2SolutionEditDto.fromJS(_data["icsModel2Solution"]) : new IcsModel2SolutionEditDto(); + } + } + + static fromJS(data: any): GetIcsModel2SolutionForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsModel2SolutionForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsModel2Solution"] = this.icsModel2Solution ? this.icsModel2Solution.toJSON() : undefined; + return data; + } + + clone(): GetIcsModel2SolutionForEditOutput { + const json = this.toJSON(); + let result = new GetIcsModel2SolutionForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsModel2SolutionForEditOutput { + icsModel2Solution: IcsModel2SolutionEditDto; +} + +export class GetIcsNcrDocForEditOutput implements IGetIcsNcrDocForEditOutput { + icsNcrDoc: IcsNcrDocEditDto; + + constructor(data?: IGetIcsNcrDocForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsNcrDoc = new IcsNcrDocEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsNcrDoc = _data["icsNcrDoc"] ? IcsNcrDocEditDto.fromJS(_data["icsNcrDoc"]) : new IcsNcrDocEditDto(); + } + } + + static fromJS(data: any): GetIcsNcrDocForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsNcrDocForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsNcrDoc"] = this.icsNcrDoc ? this.icsNcrDoc.toJSON() : undefined; + return data; + } + + clone(): GetIcsNcrDocForEditOutput { + const json = this.toJSON(); + let result = new GetIcsNcrDocForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsNcrDocForEditOutput { + icsNcrDoc: IcsNcrDocEditDto; +} + +export class GetIcsOPForEditOutput implements IGetIcsOPForEditOutput { + icsOP: IcsOPEditDto; + + constructor(data?: IGetIcsOPForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsOP = new IcsOPEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsOP = _data["icsOP"] ? IcsOPEditDto.fromJS(_data["icsOP"]) : new IcsOPEditDto(); + } + } + + static fromJS(data: any): GetIcsOPForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsOPForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsOP"] = this.icsOP ? this.icsOP.toJSON() : undefined; + return data; + } + + clone(): GetIcsOPForEditOutput { + const json = this.toJSON(); + let result = new GetIcsOPForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsOPForEditOutput { + icsOP: IcsOPEditDto; +} + +export class GetIcsOp2ResForEditOutput implements IGetIcsOp2ResForEditOutput { + icsOp2Res: IcsOp2ResEditDto; + + constructor(data?: IGetIcsOp2ResForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsOp2Res = new IcsOp2ResEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsOp2Res = _data["icsOp2Res"] ? IcsOp2ResEditDto.fromJS(_data["icsOp2Res"]) : new IcsOp2ResEditDto(); + } + } + + static fromJS(data: any): GetIcsOp2ResForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsOp2ResForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsOp2Res"] = this.icsOp2Res ? this.icsOp2Res.toJSON() : undefined; + return data; + } + + clone(): GetIcsOp2ResForEditOutput { + const json = this.toJSON(); + let result = new GetIcsOp2ResForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsOp2ResForEditOutput { + icsOp2Res: IcsOp2ResEditDto; +} + +export class GetIcsOutSourcingOrderForEditOutput implements IGetIcsOutSourcingOrderForEditOutput { + icsOutSourcingOrder: IcsOutSourcingOrderEditDto; + + constructor(data?: IGetIcsOutSourcingOrderForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsOutSourcingOrder = new IcsOutSourcingOrderEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsOutSourcingOrder = _data["icsOutSourcingOrder"] ? IcsOutSourcingOrderEditDto.fromJS(_data["icsOutSourcingOrder"]) : new IcsOutSourcingOrderEditDto(); + } + } + + static fromJS(data: any): GetIcsOutSourcingOrderForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsOutSourcingOrderForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsOutSourcingOrder"] = this.icsOutSourcingOrder ? this.icsOutSourcingOrder.toJSON() : undefined; + return data; + } + + clone(): GetIcsOutSourcingOrderForEditOutput { + const json = this.toJSON(); + let result = new GetIcsOutSourcingOrderForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsOutSourcingOrderForEditOutput { + icsOutSourcingOrder: IcsOutSourcingOrderEditDto; +} + +export class GetIcsParam2ParamForEditOutput implements IGetIcsParam2ParamForEditOutput { + icsParam2Param: IcsParam2ParamEditDto; + + constructor(data?: IGetIcsParam2ParamForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsParam2Param = new IcsParam2ParamEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsParam2Param = _data["icsParam2Param"] ? IcsParam2ParamEditDto.fromJS(_data["icsParam2Param"]) : new IcsParam2ParamEditDto(); + } + } + + static fromJS(data: any): GetIcsParam2ParamForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsParam2ParamForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsParam2Param"] = this.icsParam2Param ? this.icsParam2Param.toJSON() : undefined; + return data; + } + + clone(): GetIcsParam2ParamForEditOutput { + const json = this.toJSON(); + let result = new GetIcsParam2ParamForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsParam2ParamForEditOutput { + icsParam2Param: IcsParam2ParamEditDto; +} + +export class GetIcsParamDetailForEditOutput implements IGetIcsParamDetailForEditOutput { + icsParamDetail: IcsParamDetailEditDto; + + constructor(data?: IGetIcsParamDetailForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsParamDetail = new IcsParamDetailEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsParamDetail = _data["icsParamDetail"] ? IcsParamDetailEditDto.fromJS(_data["icsParamDetail"]) : new IcsParamDetailEditDto(); + } + } + + static fromJS(data: any): GetIcsParamDetailForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsParamDetailForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsParamDetail"] = this.icsParamDetail ? this.icsParamDetail.toJSON() : undefined; + return data; + } + + clone(): GetIcsParamDetailForEditOutput { + const json = this.toJSON(); + let result = new GetIcsParamDetailForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsParamDetailForEditOutput { + icsParamDetail: IcsParamDetailEditDto; +} + +export class GetIcsParamHeadForEditOutput implements IGetIcsParamHeadForEditOutput { + icsParamHeadEdit: IcsParamHeadEditDto; + + constructor(data?: IGetIcsParamHeadForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsParamHeadEdit = new IcsParamHeadEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsParamHeadEdit = _data["icsParamHeadEdit"] ? IcsParamHeadEditDto.fromJS(_data["icsParamHeadEdit"]) : new IcsParamHeadEditDto(); + } + } + + static fromJS(data: any): GetIcsParamHeadForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsParamHeadForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsParamHeadEdit"] = this.icsParamHeadEdit ? this.icsParamHeadEdit.toJSON() : undefined; + return data; + } + + clone(): GetIcsParamHeadForEditOutput { + const json = this.toJSON(); + let result = new GetIcsParamHeadForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsParamHeadForEditOutput { + icsParamHeadEdit: IcsParamHeadEditDto; +} + +export class GetIcsPart2SubItemForEditOutput implements IGetIcsPart2SubItemForEditOutput { + icsPart2SubItem: IcsPart2SubItemEditDto; + + constructor(data?: IGetIcsPart2SubItemForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsPart2SubItem = new IcsPart2SubItemEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsPart2SubItem = _data["icsPart2SubItem"] ? IcsPart2SubItemEditDto.fromJS(_data["icsPart2SubItem"]) : new IcsPart2SubItemEditDto(); + } + } + + static fromJS(data: any): GetIcsPart2SubItemForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsPart2SubItemForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsPart2SubItem"] = this.icsPart2SubItem ? this.icsPart2SubItem.toJSON() : undefined; + return data; + } + + clone(): GetIcsPart2SubItemForEditOutput { + const json = this.toJSON(); + let result = new GetIcsPart2SubItemForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsPart2SubItemForEditOutput { + icsPart2SubItem: IcsPart2SubItemEditDto; +} + +export class GetIcsPartForEditOutput implements IGetIcsPartForEditOutput { + icsPart: IcsPartEditDto; + + constructor(data?: IGetIcsPartForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsPart = new IcsPartEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsPart = _data["icsPart"] ? IcsPartEditDto.fromJS(_data["icsPart"]) : new IcsPartEditDto(); + } + } + + static fromJS(data: any): GetIcsPartForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsPartForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsPart"] = this.icsPart ? this.icsPart.toJSON() : undefined; + return data; + } + + clone(): GetIcsPartForEditOutput { + const json = this.toJSON(); + let result = new GetIcsPartForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsPartForEditOutput { + icsPart: IcsPartEditDto; +} + +export class GetIcsReelForEditOutput implements IGetIcsReelForEditOutput { + icsReel: IcsReelEditDto; + + constructor(data?: IGetIcsReelForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsReel = new IcsReelEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsReel = _data["icsReel"] ? IcsReelEditDto.fromJS(_data["icsReel"]) : new IcsReelEditDto(); + } + } + + static fromJS(data: any): GetIcsReelForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsReelForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsReel"] = this.icsReel ? this.icsReel.toJSON() : undefined; + return data; + } + + clone(): GetIcsReelForEditOutput { + const json = this.toJSON(); + let result = new GetIcsReelForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsReelForEditOutput { + icsReel: IcsReelEditDto; +} + +export class GetIcsResForEditOutput implements IGetIcsResForEditOutput { + icsRes: IcsResEditDto; + + constructor(data?: IGetIcsResForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsRes = new IcsResEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsRes = _data["icsRes"] ? IcsResEditDto.fromJS(_data["icsRes"]) : new IcsResEditDto(); + } + } + + static fromJS(data: any): GetIcsResForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsResForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsRes"] = this.icsRes ? this.icsRes.toJSON() : undefined; + return data; + } + + clone(): GetIcsResForEditOutput { + const json = this.toJSON(); + let result = new GetIcsResForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsResForEditOutput { + icsRes: IcsResEditDto; +} + +export class GetIcsRouteForEditOutput implements IGetIcsRouteForEditOutput { + icsRoute: IcsRouteEditDto; + + constructor(data?: IGetIcsRouteForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsRoute = new IcsRouteEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsRoute = _data["icsRoute"] ? IcsRouteEditDto.fromJS(_data["icsRoute"]) : new IcsRouteEditDto(); + } + } + + static fromJS(data: any): GetIcsRouteForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsRouteForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsRoute"] = this.icsRoute ? this.icsRoute.toJSON() : undefined; + return data; + } + + clone(): GetIcsRouteForEditOutput { + const json = this.toJSON(); + let result = new GetIcsRouteForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsRouteForEditOutput { + icsRoute: IcsRouteEditDto; +} + +export class GetIcsSBomForEditOutput implements IGetIcsSBomForEditOutput { + icsSBom: IcsSBomEditDto; + + constructor(data?: IGetIcsSBomForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsSBom = new IcsSBomEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsSBom = _data["icsSBom"] ? IcsSBomEditDto.fromJS(_data["icsSBom"]) : new IcsSBomEditDto(); + } + } + + static fromJS(data: any): GetIcsSBomForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsSBomForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsSBom"] = this.icsSBom ? this.icsSBom.toJSON() : undefined; + return data; + } + + clone(): GetIcsSBomForEditOutput { + const json = this.toJSON(); + let result = new GetIcsSBomForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsSBomForEditOutput { + icsSBom: IcsSBomEditDto; +} + +export class GetIcsSSForEditOutput implements IGetIcsSSForEditOutput { + icsSS: IcsSSEditDto; + + constructor(data?: IGetIcsSSForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsSS = new IcsSSEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsSS = _data["icsSS"] ? IcsSSEditDto.fromJS(_data["icsSS"]) : new IcsSSEditDto(); + } + } + + static fromJS(data: any): GetIcsSSForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsSSForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsSS"] = this.icsSS ? this.icsSS.toJSON() : undefined; + return data; + } + + clone(): GetIcsSSForEditOutput { + const json = this.toJSON(); + let result = new GetIcsSSForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsSSForEditOutput { + icsSS: IcsSSEditDto; +} + +export class GetIcsSegForEditOutput implements IGetIcsSegForEditOutput { + icsSeg: IcsSegEditDto; + + constructor(data?: IGetIcsSegForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsSeg = new IcsSegEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsSeg = _data["icsSeg"] ? IcsSegEditDto.fromJS(_data["icsSeg"]) : new IcsSegEditDto(); + } + } + + static fromJS(data: any): GetIcsSegForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsSegForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsSeg"] = this.icsSeg ? this.icsSeg.toJSON() : undefined; + return data; + } + + clone(): GetIcsSegForEditOutput { + const json = this.toJSON(); + let result = new GetIcsSegForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsSegForEditOutput { + icsSeg: IcsSegEditDto; +} + +export class GetIcsShiftForEditOutput implements IGetIcsShiftForEditOutput { + icsShift: IcsShiftEditDto; + + constructor(data?: IGetIcsShiftForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsShift = new IcsShiftEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsShift = _data["icsShift"] ? IcsShiftEditDto.fromJS(_data["icsShift"]) : new IcsShiftEditDto(); + } + } + + static fromJS(data: any): GetIcsShiftForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsShiftForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsShift"] = this.icsShift ? this.icsShift.toJSON() : undefined; + return data; + } + + clone(): GetIcsShiftForEditOutput { + const json = this.toJSON(); + let result = new GetIcsShiftForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsShiftForEditOutput { + icsShift: IcsShiftEditDto; +} + +export class GetIcsShiftTypeForEditOutput implements IGetIcsShiftTypeForEditOutput { + icsShiftType: IcsShiftTypeEditDto; + + constructor(data?: IGetIcsShiftTypeForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsShiftType = new IcsShiftTypeEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsShiftType = _data["icsShiftType"] ? IcsShiftTypeEditDto.fromJS(_data["icsShiftType"]) : new IcsShiftTypeEditDto(); + } + } + + static fromJS(data: any): GetIcsShiftTypeForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsShiftTypeForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsShiftType"] = this.icsShiftType ? this.icsShiftType.toJSON() : undefined; + return data; + } + + clone(): GetIcsShiftTypeForEditOutput { + const json = this.toJSON(); + let result = new GetIcsShiftTypeForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsShiftTypeForEditOutput { + icsShiftType: IcsShiftTypeEditDto; +} + +export class GetIcsSolutionForEditOutput implements IGetIcsSolutionForEditOutput { + icsSolution: IcsSolutionEditDto; + + constructor(data?: IGetIcsSolutionForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsSolution = new IcsSolutionEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsSolution = _data["icsSolution"] ? IcsSolutionEditDto.fromJS(_data["icsSolution"]) : new IcsSolutionEditDto(); + } + } + + static fromJS(data: any): GetIcsSolutionForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsSolutionForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsSolution"] = this.icsSolution ? this.icsSolution.toJSON() : undefined; + return data; + } + + clone(): GetIcsSolutionForEditOutput { + const json = this.toJSON(); + let result = new GetIcsSolutionForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsSolutionForEditOutput { + icsSolution: IcsSolutionEditDto; +} + +export class GetIcsStandardWhoursForEditOutput implements IGetIcsStandardWhoursForEditOutput { + icsStandardWhours: IcsStandardWhoursEditDto; + + constructor(data?: IGetIcsStandardWhoursForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsStandardWhours = new IcsStandardWhoursEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsStandardWhours = _data["icsStandardWhours"] ? IcsStandardWhoursEditDto.fromJS(_data["icsStandardWhours"]) : new IcsStandardWhoursEditDto(); + } + } + + static fromJS(data: any): GetIcsStandardWhoursForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsStandardWhoursForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsStandardWhours"] = this.icsStandardWhours ? this.icsStandardWhours.toJSON() : undefined; + return data; + } + + clone(): GetIcsStandardWhoursForEditOutput { + const json = this.toJSON(); + let result = new GetIcsStandardWhoursForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsStandardWhoursForEditOutput { + icsStandardWhours: IcsStandardWhoursEditDto; +} + +export class GetIcsTestForEditOutput implements IGetIcsTestForEditOutput { + icsTest: IcsTestEditDto; + + constructor(data?: IGetIcsTestForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsTest = new IcsTestEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsTest = _data["icsTest"] ? IcsTestEditDto.fromJS(_data["icsTest"]) : new IcsTestEditDto(); + } + } + + static fromJS(data: any): GetIcsTestForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsTestForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsTest"] = this.icsTest ? this.icsTest.toJSON() : undefined; + return data; + } + + clone(): GetIcsTestForEditOutput { + const json = this.toJSON(); + let result = new GetIcsTestForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsTestForEditOutput { + icsTest: IcsTestEditDto; +} + +export class GetIcsTpForEditOutput implements IGetIcsTpForEditOutput { + icsTp: IcsTpEditDto; + + constructor(data?: IGetIcsTpForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsTp = new IcsTpEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsTp = _data["icsTp"] ? IcsTpEditDto.fromJS(_data["icsTp"]) : new IcsTpEditDto(); + } + } + + static fromJS(data: any): GetIcsTpForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsTpForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsTp"] = this.icsTp ? this.icsTp.toJSON() : undefined; + return data; + } + + clone(): GetIcsTpForEditOutput { + const json = this.toJSON(); + let result = new GetIcsTpForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsTpForEditOutput { + icsTp: IcsTpEditDto; +} + +export class GetIcsTsErrorCauseForEditOutput implements IGetIcsTsErrorCauseForEditOutput { + icsTsErrorCause: IcsTsErrorCauseEditDto; + + constructor(data?: IGetIcsTsErrorCauseForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsTsErrorCause = new IcsTsErrorCauseEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsTsErrorCause = _data["icsTsErrorCause"] ? IcsTsErrorCauseEditDto.fromJS(_data["icsTsErrorCause"]) : new IcsTsErrorCauseEditDto(); + } + } + + static fromJS(data: any): GetIcsTsErrorCauseForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsTsErrorCauseForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsTsErrorCause"] = this.icsTsErrorCause ? this.icsTsErrorCause.toJSON() : undefined; + return data; + } + + clone(): GetIcsTsErrorCauseForEditOutput { + const json = this.toJSON(); + let result = new GetIcsTsErrorCauseForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsTsErrorCauseForEditOutput { + icsTsErrorCause: IcsTsErrorCauseEditDto; +} + +export class GetIcsTsErrorCodeForEditOutput implements IGetIcsTsErrorCodeForEditOutput { + icsTsErrorCode: IcsTsErrorCodeEditDto; + + constructor(data?: IGetIcsTsErrorCodeForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsTsErrorCode = new IcsTsErrorCodeEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsTsErrorCode = _data["icsTsErrorCode"] ? IcsTsErrorCodeEditDto.fromJS(_data["icsTsErrorCode"]) : new IcsTsErrorCodeEditDto(); + } + } + + static fromJS(data: any): GetIcsTsErrorCodeForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsTsErrorCodeForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsTsErrorCode"] = this.icsTsErrorCode ? this.icsTsErrorCode.toJSON() : undefined; + return data; + } + + clone(): GetIcsTsErrorCodeForEditOutput { + const json = this.toJSON(); + let result = new GetIcsTsErrorCodeForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsTsErrorCodeForEditOutput { + icsTsErrorCode: IcsTsErrorCodeEditDto; +} + +export class GetIcsTsForEditOutput implements IGetIcsTsForEditOutput { + icsTs: IcsTsEditDto; + + constructor(data?: IGetIcsTsForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsTs = new IcsTsEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsTs = _data["icsTs"] ? IcsTsEditDto.fromJS(_data["icsTs"]) : new IcsTsEditDto(); + } + } + + static fromJS(data: any): GetIcsTsForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsTsForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsTs"] = this.icsTs ? this.icsTs.toJSON() : undefined; + return data; + } + + clone(): GetIcsTsForEditOutput { + const json = this.toJSON(); + let result = new GetIcsTsForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsTsForEditOutput { + icsTs: IcsTsEditDto; +} + +export class GetIcsUser2OpForEditOutput implements IGetIcsUser2OpForEditOutput { + icsUser2Op: IcsUser2OpEditDto; + + constructor(data?: IGetIcsUser2OpForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsUser2Op = new IcsUser2OpEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsUser2Op = _data["icsUser2Op"] ? IcsUser2OpEditDto.fromJS(_data["icsUser2Op"]) : new IcsUser2OpEditDto(); + } + } + + static fromJS(data: any): GetIcsUser2OpForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsUser2OpForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsUser2Op"] = this.icsUser2Op ? this.icsUser2Op.toJSON() : undefined; + return data; + } + + clone(): GetIcsUser2OpForEditOutput { + const json = this.toJSON(); + let result = new GetIcsUser2OpForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsUser2OpForEditOutput { + icsUser2Op: IcsUser2OpEditDto; +} + +export class GetIcsVendorForEditOutput implements IGetIcsVendorForEditOutput { + icsVendor: IcsVendorEditDto; + + constructor(data?: IGetIcsVendorForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.icsVendor = new IcsVendorEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.icsVendor = _data["icsVendor"] ? IcsVendorEditDto.fromJS(_data["icsVendor"]) : new IcsVendorEditDto(); + } + } + + static fromJS(data: any): GetIcsVendorForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIcsVendorForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["icsVendor"] = this.icsVendor ? this.icsVendor.toJSON() : undefined; + return data; + } + + clone(): GetIcsVendorForEditOutput { + const json = this.toJSON(); + let result = new GetIcsVendorForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetIcsVendorForEditOutput { + icsVendor: IcsVendorEditDto; +} + +export class GetImageTextMaterialsInput implements IGetImageTextMaterialsInput { + appId: string; + maxResultCount: number; + skipCount: number; + + constructor(data?: IGetImageTextMaterialsInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.appId = _data["appId"]; + this.maxResultCount = _data["maxResultCount"]; + this.skipCount = _data["skipCount"]; + } + } + + static fromJS(data: any): GetImageTextMaterialsInput { + data = typeof data === 'object' ? data : {}; + let result = new GetImageTextMaterialsInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["appId"] = this.appId; + data["maxResultCount"] = this.maxResultCount; + data["skipCount"] = this.skipCount; + return data; + } + + clone(): GetImageTextMaterialsInput { + const json = this.toJSON(); + let result = new GetImageTextMaterialsInput(); + result.init(json); + return result; + } +} + +export interface IGetImageTextMaterialsInput { + appId: string; + maxResultCount: number; + skipCount: number; +} + +export class GetIncomeStatisticsDataOutput implements IGetIncomeStatisticsDataOutput { + incomeStatistics: IncomeStastistic[] | undefined; + + constructor(data?: IGetIncomeStatisticsDataOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["incomeStatistics"])) { + this.incomeStatistics = [] as any; + for (let item of _data["incomeStatistics"]) + this.incomeStatistics.push(IncomeStastistic.fromJS(item)); + } + } + } + + static fromJS(data: any): GetIncomeStatisticsDataOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetIncomeStatisticsDataOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.incomeStatistics)) { + data["incomeStatistics"] = []; + for (let item of this.incomeStatistics) + data["incomeStatistics"].push(item.toJSON()); + } + return data; + } + + clone(): GetIncomeStatisticsDataOutput { + const json = this.toJSON(); + let result = new GetIncomeStatisticsDataOutput(); + result.init(json); + return result; + } +} + +export interface IGetIncomeStatisticsDataOutput { + incomeStatistics: IncomeStastistic[] | undefined; +} + +export class GetLanguageForEditOutput implements IGetLanguageForEditOutput { + language: LanguageEditDto; + languageNames: ComboboxItemDto[] | undefined; + flags: ComboboxItemDto[] | undefined; + + constructor(data?: IGetLanguageForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.language = _data["language"] ? LanguageEditDto.fromJS(_data["language"]) : undefined; + if (Array.isArray(_data["languageNames"])) { + this.languageNames = [] as any; + for (let item of _data["languageNames"]) + this.languageNames.push(ComboboxItemDto.fromJS(item)); + } + if (Array.isArray(_data["flags"])) { + this.flags = [] as any; + for (let item of _data["flags"]) + this.flags.push(ComboboxItemDto.fromJS(item)); + } + } + } + + static fromJS(data: any): GetLanguageForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetLanguageForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["language"] = this.language ? this.language.toJSON() : undefined; + if (Array.isArray(this.languageNames)) { + data["languageNames"] = []; + for (let item of this.languageNames) + data["languageNames"].push(item.toJSON()); + } + if (Array.isArray(this.flags)) { + data["flags"] = []; + for (let item of this.flags) + data["flags"].push(item.toJSON()); + } + return data; + } + + clone(): GetLanguageForEditOutput { + const json = this.toJSON(); + let result = new GetLanguageForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetLanguageForEditOutput { + language: LanguageEditDto; + languageNames: ComboboxItemDto[] | undefined; + flags: ComboboxItemDto[] | undefined; +} + +export class GetLanguagesOutput implements IGetLanguagesOutput { + defaultLanguageName: string | undefined; + items: LanguageListDto[] | undefined; + + constructor(data?: IGetLanguagesOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.defaultLanguageName = _data["defaultLanguageName"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(LanguageListDto.fromJS(item)); + } + } + } + + static fromJS(data: any): GetLanguagesOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetLanguagesOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["defaultLanguageName"] = this.defaultLanguageName; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } + return data; + } + + clone(): GetLanguagesOutput { + const json = this.toJSON(); + let result = new GetLanguagesOutput(); + result.init(json); + return result; + } +} + +export interface IGetLanguagesOutput { + defaultLanguageName: string | undefined; + items: LanguageListDto[] | undefined; +} + +export class GetLatestWebLogsOutput implements IGetLatestWebLogsOutput { + latestWebLogLines: string[] | undefined; + + constructor(data?: IGetLatestWebLogsOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["latestWebLogLines"])) { + this.latestWebLogLines = [] as any; + for (let item of _data["latestWebLogLines"]) + this.latestWebLogLines.push(item); + } + } + } + + static fromJS(data: any): GetLatestWebLogsOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetLatestWebLogsOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.latestWebLogLines)) { + data["latestWebLogLines"] = []; + for (let item of this.latestWebLogLines) + data["latestWebLogLines"].push(item); + } + return data; + } + + clone(): GetLatestWebLogsOutput { + const json = this.toJSON(); + let result = new GetLatestWebLogsOutput(); + result.init(json); + return result; + } +} + +export interface IGetLatestWebLogsOutput { + latestWebLogLines: string[] | undefined; +} + +export class GetMemberActivityOutput implements IGetMemberActivityOutput { + memberActivities: MemberActivity[] | undefined; + + constructor(data?: IGetMemberActivityOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["memberActivities"])) { + this.memberActivities = [] as any; + for (let item of _data["memberActivities"]) + this.memberActivities.push(MemberActivity.fromJS(item)); + } + } + } + + static fromJS(data: any): GetMemberActivityOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetMemberActivityOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.memberActivities)) { + data["memberActivities"] = []; + for (let item of this.memberActivities) + data["memberActivities"].push(item.toJSON()); + } + return data; + } + + clone(): GetMemberActivityOutput { + const json = this.toJSON(); + let result = new GetMemberActivityOutput(); + result.init(json); + return result; + } +} + +export interface IGetMemberActivityOutput { + memberActivities: MemberActivity[] | undefined; +} + +export class GetMenuForEditOutput implements IGetMenuForEditOutput { + menu: MenuEditDto; + + constructor(data?: IGetMenuForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.menu = _data["menu"] ? MenuEditDto.fromJS(_data["menu"]) : undefined; + } + } + + static fromJS(data: any): GetMenuForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetMenuForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["menu"] = this.menu ? this.menu.toJSON() : undefined; + return data; + } + + clone(): GetMenuForEditOutput { + const json = this.toJSON(); + let result = new GetMenuForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetMenuForEditOutput { + menu: MenuEditDto; +} + +export class GetMessageConfigForEditOutput implements IGetMessageConfigForEditOutput { + messageConfig: MessageConfigEditDto; + + constructor(data?: IGetMessageConfigForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.messageConfig = new MessageConfigEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.messageConfig = _data["messageConfig"] ? MessageConfigEditDto.fromJS(_data["messageConfig"]) : new MessageConfigEditDto(); + } + } + + static fromJS(data: any): GetMessageConfigForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetMessageConfigForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["messageConfig"] = this.messageConfig ? this.messageConfig.toJSON() : undefined; + return data; + } + + clone(): GetMessageConfigForEditOutput { + const json = this.toJSON(); + let result = new GetMessageConfigForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetMessageConfigForEditOutput { + messageConfig: MessageConfigEditDto; +} + +export class GetMessageRecordInput implements IGetMessageRecordInput { + startTime: moment.Moment | undefined; + endDateTime: moment.Moment | undefined; + filterText: string | undefined; + sorting: string | undefined; + maxResultCount: number; + skipCount: number; + + constructor(data?: IGetMessageRecordInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.startTime = _data["startTime"] ? moment(_data["startTime"].toString()) : undefined; + this.endDateTime = _data["endDateTime"] ? moment(_data["endDateTime"].toString()) : undefined; + this.filterText = _data["filterText"]; + this.sorting = _data["sorting"]; + this.maxResultCount = _data["maxResultCount"]; + this.skipCount = _data["skipCount"]; + } + } + + static fromJS(data: any): GetMessageRecordInput { + data = typeof data === 'object' ? data : {}; + let result = new GetMessageRecordInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["startTime"] = this.startTime ? this.startTime.toISOString() : undefined; + data["endDateTime"] = this.endDateTime ? this.endDateTime.toISOString() : undefined; + data["filterText"] = this.filterText; + data["sorting"] = this.sorting; + data["maxResultCount"] = this.maxResultCount; + data["skipCount"] = this.skipCount; + return data; + } + + clone(): GetMessageRecordInput { + const json = this.toJSON(); + let result = new GetMessageRecordInput(); + result.init(json); + return result; + } +} + +export interface IGetMessageRecordInput { + startTime: moment.Moment | undefined; + endDateTime: moment.Moment | undefined; + filterText: string | undefined; + sorting: string | undefined; + maxResultCount: number; + skipCount: number; +} + +export class GetMessageRuleForEditOutput implements IGetMessageRuleForEditOutput { + messageRule: MessageRuleEditDto; + + constructor(data?: IGetMessageRuleForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.messageRule = new MessageRuleEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.messageRule = _data["messageRule"] ? MessageRuleEditDto.fromJS(_data["messageRule"]) : new MessageRuleEditDto(); + } + } + + static fromJS(data: any): GetMessageRuleForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetMessageRuleForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["messageRule"] = this.messageRule ? this.messageRule.toJSON() : undefined; + return data; + } + + clone(): GetMessageRuleForEditOutput { + const json = this.toJSON(); + let result = new GetMessageRuleForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetMessageRuleForEditOutput { + messageRule: MessageRuleEditDto; +} + +export class GetMessageTemplateForEditOutput implements IGetMessageTemplateForEditOutput { + messageTemplate: MessageTemplateEditDto; + + constructor(data?: IGetMessageTemplateForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.messageTemplate = new MessageTemplateEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.messageTemplate = _data["messageTemplate"] ? MessageTemplateEditDto.fromJS(_data["messageTemplate"]) : new MessageTemplateEditDto(); + } + } + + static fromJS(data: any): GetMessageTemplateForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetMessageTemplateForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["messageTemplate"] = this.messageTemplate ? this.messageTemplate.toJSON() : undefined; + return data; + } + + clone(): GetMessageTemplateForEditOutput { + const json = this.toJSON(); + let result = new GetMessageTemplateForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetMessageTemplateForEditOutput { + messageTemplate: MessageTemplateEditDto; +} + +export class GetNotificationSettingsOutput implements IGetNotificationSettingsOutput { + receiveNotifications: boolean; + notifications: NotificationSubscriptionWithDisplayNameDto[] | undefined; + + constructor(data?: IGetNotificationSettingsOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.receiveNotifications = _data["receiveNotifications"]; + if (Array.isArray(_data["notifications"])) { + this.notifications = [] as any; + for (let item of _data["notifications"]) + this.notifications.push(NotificationSubscriptionWithDisplayNameDto.fromJS(item)); + } + } + } + + static fromJS(data: any): GetNotificationSettingsOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetNotificationSettingsOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["receiveNotifications"] = this.receiveNotifications; + if (Array.isArray(this.notifications)) { + data["notifications"] = []; + for (let item of this.notifications) + data["notifications"].push(item.toJSON()); + } + return data; + } + + clone(): GetNotificationSettingsOutput { + const json = this.toJSON(); + let result = new GetNotificationSettingsOutput(); + result.init(json); + return result; + } +} + +export interface IGetNotificationSettingsOutput { + receiveNotifications: boolean; + notifications: NotificationSubscriptionWithDisplayNameDto[] | undefined; +} + +export class GetNotificationsOutput implements IGetNotificationsOutput { + unreadCount: number; + totalCount: number; + items: UserNotification[] | undefined; + + constructor(data?: IGetNotificationsOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.unreadCount = _data["unreadCount"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(UserNotification.fromJS(item)); + } + } + } + + static fromJS(data: any): GetNotificationsOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetNotificationsOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["unreadCount"] = this.unreadCount; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } + return data; + } + + clone(): GetNotificationsOutput { + const json = this.toJSON(); + let result = new GetNotificationsOutput(); + result.init(json); + return result; + } +} + +export interface IGetNotificationsOutput { + unreadCount: number; + totalCount: number; + items: UserNotification[] | undefined; +} + +export class GetOnlineUserInput implements IGetOnlineUserInput { + startTime: moment.Moment | undefined; + endTime: moment.Moment | undefined; + filterText: string | undefined; + sorting: string | undefined; + maxResultCount: number; + skipCount: number; + + constructor(data?: IGetOnlineUserInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.startTime = _data["startTime"] ? moment(_data["startTime"].toString()) : undefined; + this.endTime = _data["endTime"] ? moment(_data["endTime"].toString()) : undefined; + this.filterText = _data["filterText"]; + this.sorting = _data["sorting"]; + this.maxResultCount = _data["maxResultCount"]; + this.skipCount = _data["skipCount"]; + } + } + + static fromJS(data: any): GetOnlineUserInput { + data = typeof data === 'object' ? data : {}; + let result = new GetOnlineUserInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["startTime"] = this.startTime ? this.startTime.toISOString() : undefined; + data["endTime"] = this.endTime ? this.endTime.toISOString() : undefined; + data["filterText"] = this.filterText; + data["sorting"] = this.sorting; + data["maxResultCount"] = this.maxResultCount; + data["skipCount"] = this.skipCount; + return data; + } + + clone(): GetOnlineUserInput { + const json = this.toJSON(); + let result = new GetOnlineUserInput(); + result.init(json); + return result; + } +} + +export interface IGetOnlineUserInput { + startTime: moment.Moment | undefined; + endTime: moment.Moment | undefined; + filterText: string | undefined; + sorting: string | undefined; + maxResultCount: number; + skipCount: number; +} + +export class GetOtherMaterialsInput implements IGetOtherMaterialsInput { + appId: string; + materialType: UploadMediaFileType; + maxResultCount: number; + skipCount: number; + + constructor(data?: IGetOtherMaterialsInput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.appId = _data["appId"]; + this.materialType = _data["materialType"]; + this.maxResultCount = _data["maxResultCount"]; + this.skipCount = _data["skipCount"]; + } + } + + static fromJS(data: any): GetOtherMaterialsInput { + data = typeof data === 'object' ? data : {}; + let result = new GetOtherMaterialsInput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["appId"] = this.appId; + data["materialType"] = this.materialType; + data["maxResultCount"] = this.maxResultCount; + data["skipCount"] = this.skipCount; + return data; + } + + clone(): GetOtherMaterialsInput { + const json = this.toJSON(); + let result = new GetOtherMaterialsInput(); + result.init(json); + return result; + } +} + +export interface IGetOtherMaterialsInput { + appId: string; + materialType: UploadMediaFileType; + maxResultCount: number; + skipCount: number; +} + +export class GetProfilePictureOutput implements IGetProfilePictureOutput { + profilePicture: string | undefined; + + constructor(data?: IGetProfilePictureOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.profilePicture = _data["profilePicture"]; + } + } + + static fromJS(data: any): GetProfilePictureOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetProfilePictureOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["profilePicture"] = this.profilePicture; + return data; + } + + clone(): GetProfilePictureOutput { + const json = this.toJSON(); + let result = new GetProfilePictureOutput(); + result.init(json); + return result; + } +} + +export interface IGetProfilePictureOutput { + profilePicture: string | undefined; +} + +export class GetProfilePictureOutputDto implements IGetProfilePictureOutputDto { + profilePicture: string | undefined; + + constructor(data?: IGetProfilePictureOutputDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.profilePicture = _data["profilePicture"]; + } + } + + static fromJS(data: any): GetProfilePictureOutputDto { + data = typeof data === 'object' ? data : {}; + let result = new GetProfilePictureOutputDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["profilePicture"] = this.profilePicture; + return data; + } + + clone(): GetProfilePictureOutputDto { + const json = this.toJSON(); + let result = new GetProfilePictureOutputDto(); + result.init(json); + return result; + } +} + +export interface IGetProfilePictureOutputDto { + profilePicture: string | undefined; +} + +export class GetProfitShareOutput implements IGetProfitShareOutput { + profitShares: number[] | undefined; + + constructor(data?: IGetProfitShareOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["profitShares"])) { + this.profitShares = [] as any; + for (let item of _data["profitShares"]) + this.profitShares.push(item); + } + } + } + + static fromJS(data: any): GetProfitShareOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetProfitShareOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.profitShares)) { + data["profitShares"] = []; + for (let item of this.profitShares) + data["profitShares"].push(item); + } + return data; + } + + clone(): GetProfitShareOutput { + const json = this.toJSON(); + let result = new GetProfitShareOutput(); + result.init(json); + return result; + } +} + +export interface IGetProfitShareOutput { + profitShares: number[] | undefined; +} + +export class GetRecentTenantsOutput implements IGetRecentTenantsOutput { + recentTenantsDayCount: number; + maxRecentTenantsShownCount: number; + tenantCreationStartDate: moment.Moment; + recentTenants: RecentTenant[] | undefined; + + constructor(data?: IGetRecentTenantsOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.recentTenantsDayCount = _data["recentTenantsDayCount"]; + this.maxRecentTenantsShownCount = _data["maxRecentTenantsShownCount"]; + this.tenantCreationStartDate = _data["tenantCreationStartDate"] ? moment(_data["tenantCreationStartDate"].toString()) : undefined; + if (Array.isArray(_data["recentTenants"])) { + this.recentTenants = [] as any; + for (let item of _data["recentTenants"]) + this.recentTenants.push(RecentTenant.fromJS(item)); + } + } + } + + static fromJS(data: any): GetRecentTenantsOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetRecentTenantsOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["recentTenantsDayCount"] = this.recentTenantsDayCount; + data["maxRecentTenantsShownCount"] = this.maxRecentTenantsShownCount; + data["tenantCreationStartDate"] = this.tenantCreationStartDate ? this.tenantCreationStartDate.toISOString() : undefined; + if (Array.isArray(this.recentTenants)) { + data["recentTenants"] = []; + for (let item of this.recentTenants) + data["recentTenants"].push(item.toJSON()); + } + return data; + } + + clone(): GetRecentTenantsOutput { + const json = this.toJSON(); + let result = new GetRecentTenantsOutput(); + result.init(json); + return result; + } +} + +export interface IGetRecentTenantsOutput { + recentTenantsDayCount: number; + maxRecentTenantsShownCount: number; + tenantCreationStartDate: moment.Moment; + recentTenants: RecentTenant[] | undefined; +} + +export class GetRegionalStatsOutput implements IGetRegionalStatsOutput { + stats: RegionalStatCountry[] | undefined; + + constructor(data?: IGetRegionalStatsOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["stats"])) { + this.stats = [] as any; + for (let item of _data["stats"]) + this.stats.push(RegionalStatCountry.fromJS(item)); + } + } + } + + static fromJS(data: any): GetRegionalStatsOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetRegionalStatsOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.stats)) { + data["stats"] = []; + for (let item of this.stats) + data["stats"].push(item.toJSON()); + } + return data; + } + + clone(): GetRegionalStatsOutput { + const json = this.toJSON(); + let result = new GetRegionalStatsOutput(); + result.init(json); + return result; + } +} + +export interface IGetRegionalStatsOutput { + stats: RegionalStatCountry[] | undefined; +} + +export class GetRoleForEditOutput implements IGetRoleForEditOutput { + role: RoleEditDto; + permissions: FlatPermissionDto[] | undefined; + grantedPermissionNames: string[] | undefined; + + constructor(data?: IGetRoleForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.role = _data["role"] ? RoleEditDto.fromJS(_data["role"]) : undefined; + if (Array.isArray(_data["permissions"])) { + this.permissions = [] as any; + for (let item of _data["permissions"]) + this.permissions.push(FlatPermissionDto.fromJS(item)); + } + if (Array.isArray(_data["grantedPermissionNames"])) { + this.grantedPermissionNames = [] as any; + for (let item of _data["grantedPermissionNames"]) + this.grantedPermissionNames.push(item); + } + } + } + + static fromJS(data: any): GetRoleForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetRoleForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["role"] = this.role ? this.role.toJSON() : undefined; + if (Array.isArray(this.permissions)) { + data["permissions"] = []; + for (let item of this.permissions) + data["permissions"].push(item.toJSON()); + } + if (Array.isArray(this.grantedPermissionNames)) { + data["grantedPermissionNames"] = []; + for (let item of this.grantedPermissionNames) + data["grantedPermissionNames"].push(item); + } + return data; + } - constructor(data?: IDynamicMenuListDto) { + clone(): GetRoleForEditOutput { + const json = this.toJSON(); + let result = new GetRoleForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetRoleForEditOutput { + role: RoleEditDto; + permissions: FlatPermissionDto[] | undefined; + grantedPermissionNames: string[] | undefined; +} + +export class GetSalesSummaryOutput implements IGetSalesSummaryOutput { + totalSales: number; + revenue: number; + expenses: number; + growth: number; + salesSummary: SalesSummaryData[] | undefined; + + constructor(data?: IGetSalesSummaryOutput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -56174,574 +87407,444 @@ export class DynamicMenuListDto implements IDynamicMenuListDto { init(_data?: any) { if (_data) { - this.isSystem = _data["isSystem"]; - this.parentId = _data["parentId"]; - this.name = _data["name"]; - this.code = _data["code"]; - this.text = _data["text"]; - this.permissionCode = _data["permissionCode"]; - this.icon = _data["icon"]; - this.link = _data["link"]; - this.templatePath = _data["templatePath"]; - this.openEnum = _data["openEnum"]; - this.hide = _data["hide"]; - this.sort = _data["sort"]; - this.remark = _data["remark"]; - this.extensionData = _data["extensionData"]; - this.isDeleted = _data["isDeleted"]; - this.deleterUserId = _data["deleterUserId"]; - this.deletionTime = _data["deletionTime"] ? moment(_data["deletionTime"].toString()) : undefined; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + this.totalSales = _data["totalSales"]; + this.revenue = _data["revenue"]; + this.expenses = _data["expenses"]; + this.growth = _data["growth"]; + if (Array.isArray(_data["salesSummary"])) { + this.salesSummary = [] as any; + for (let item of _data["salesSummary"]) + this.salesSummary.push(SalesSummaryData.fromJS(item)); + } } } - static fromJS(data: any): DynamicMenuListDto { + static fromJS(data: any): GetSalesSummaryOutput { data = typeof data === 'object' ? data : {}; - let result = new DynamicMenuListDto(); + let result = new GetSalesSummaryOutput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["isSystem"] = this.isSystem; - data["parentId"] = this.parentId; - data["name"] = this.name; - data["code"] = this.code; - data["text"] = this.text; - data["permissionCode"] = this.permissionCode; - data["icon"] = this.icon; - data["link"] = this.link; - data["templatePath"] = this.templatePath; - data["openEnum"] = this.openEnum; - data["hide"] = this.hide; - data["sort"] = this.sort; - data["remark"] = this.remark; - data["extensionData"] = this.extensionData; - data["isDeleted"] = this.isDeleted; - data["deleterUserId"] = this.deleterUserId; - data["deletionTime"] = this.deletionTime ? this.deletionTime.toISOString() : undefined; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + data["totalSales"] = this.totalSales; + data["revenue"] = this.revenue; + data["expenses"] = this.expenses; + data["growth"] = this.growth; + if (Array.isArray(this.salesSummary)) { + data["salesSummary"] = []; + for (let item of this.salesSummary) + data["salesSummary"].push(item.toJSON()); + } return data; } - clone(): DynamicMenuListDto { + clone(): GetSalesSummaryOutput { const json = this.toJSON(); - let result = new DynamicMenuListDto(); + let result = new GetSalesSummaryOutput(); result.init(json); return result; } } -/** 动态菜单的列表DTO */ -export interface IDynamicMenuListDto { - /** 系统菜单 */ - isSystem: boolean; - /** 父Id */ - parentId: string | undefined; - /** 组件名称 */ - name: string | undefined; - /** 编码 */ - code: string; - /** 名称 */ - text: string | undefined; - /** 权限编码 */ - permissionCode: string | undefined; - /** 图标 */ - icon: string | undefined; - /** 连接 */ - link: string | undefined; - /** 模板路径 */ - templatePath: string | undefined; - openEnum: DynamicMenuOpenEnum; - /** 是否隐藏 */ - hide: boolean; - /** 排序 */ - sort: number; - /** 备注 */ - remark: string | undefined; - /** 扩展字段 */ - extensionData: string | undefined; - isDeleted: boolean; - deleterUserId: string | undefined; - deletionTime: moment.Moment | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string; +export interface IGetSalesSummaryOutput { + totalSales: number; + revenue: number; + expenses: number; + growth: number; + salesSummary: SalesSummaryData[] | undefined; } -/** 菜单打开类型 */ -export enum DynamicMenuOpenEnum { - Function = "Function", - Component = "Component", - Iframe = "Iframe", - Outer = "Outer", +export class GetSysDataBaseForEditOutput implements IGetSysDataBaseForEditOutput { + sysDataBase: SysDataBaseEditDto; + + constructor(data?: IGetSysDataBaseForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + if (!data) { + this.sysDataBase = new SysDataBaseEditDto(); + } + } + + init(_data?: any) { + if (_data) { + this.sysDataBase = _data["sysDataBase"] ? SysDataBaseEditDto.fromJS(_data["sysDataBase"]) : new SysDataBaseEditDto(); + } + } + + static fromJS(data: any): GetSysDataBaseForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetSysDataBaseForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["sysDataBase"] = this.sysDataBase ? this.sysDataBase.toJSON() : undefined; + return data; + } + + clone(): GetSysDataBaseForEditOutput { + const json = this.toJSON(); + let result = new GetSysDataBaseForEditOutput(); + result.init(json); + return result; + } } -export class DynamicPageDto implements IDynamicPageDto { - pageFilters: PageFilterItemDto[] | undefined; - columns: ColumnItemDto[] | undefined; +export interface IGetSysDataBaseForEditOutput { + sysDataBase: SysDataBaseEditDto; +} - constructor(data?: IDynamicPageDto) { +export class GetSysEnumKeyForEditOutput implements IGetSysEnumKeyForEditOutput { + sysEnumKey: SysEnumKeyEditDto; + + constructor(data?: IGetSysEnumKeyForEditOutput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } + if (!data) { + this.sysEnumKey = new SysEnumKeyEditDto(); + } } init(_data?: any) { if (_data) { - if (Array.isArray(_data["pageFilters"])) { - this.pageFilters = [] as any; - for (let item of _data["pageFilters"]) - this.pageFilters.push(PageFilterItemDto.fromJS(item)); - } - if (Array.isArray(_data["columns"])) { - this.columns = [] as any; - for (let item of _data["columns"]) - this.columns.push(ColumnItemDto.fromJS(item)); - } + this.sysEnumKey = _data["sysEnumKey"] ? SysEnumKeyEditDto.fromJS(_data["sysEnumKey"]) : new SysEnumKeyEditDto(); } } - static fromJS(data: any): DynamicPageDto { + static fromJS(data: any): GetSysEnumKeyForEditOutput { data = typeof data === 'object' ? data : {}; - let result = new DynamicPageDto(); + let result = new GetSysEnumKeyForEditOutput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.pageFilters)) { - data["pageFilters"] = []; - for (let item of this.pageFilters) - data["pageFilters"].push(item.toJSON()); + data["sysEnumKey"] = this.sysEnumKey ? this.sysEnumKey.toJSON() : undefined; + return data; + } + + clone(): GetSysEnumKeyForEditOutput { + const json = this.toJSON(); + let result = new GetSysEnumKeyForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetSysEnumKeyForEditOutput { + sysEnumKey: SysEnumKeyEditDto; +} + +export class GetSysFileForEditOutput implements IGetSysFileForEditOutput { + sysFile: SysFileEditDto; + + constructor(data?: IGetSysFileForEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } } - if (Array.isArray(this.columns)) { - data["columns"] = []; - for (let item of this.columns) - data["columns"].push(item.toJSON()); + } + + init(_data?: any) { + if (_data) { + this.sysFile = _data["sysFile"] ? SysFileEditDto.fromJS(_data["sysFile"]) : undefined; } + } + + static fromJS(data: any): GetSysFileForEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetSysFileForEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["sysFile"] = this.sysFile ? this.sysFile.toJSON() : undefined; return data; } - clone(): DynamicPageDto { + clone(): GetSysFileForEditOutput { const json = this.toJSON(); - let result = new DynamicPageDto(); + let result = new GetSysFileForEditOutput(); result.init(json); return result; } } -export interface IDynamicPageDto { - pageFilters: PageFilterItemDto[] | undefined; - columns: ColumnItemDto[] | undefined; +export interface IGetSysFileForEditOutput { + sysFile: SysFileEditDto; } -export class DynamicTableDto implements IDynamicTableDto { - key: string | undefined; - parameter1: string | undefined; - parameter2: string | undefined; - parameter3: string | undefined; - parameter4: string | undefined; - parameter5: string | undefined; - parameter6: string | undefined; - parameter7: string | undefined; - parameter8: string | undefined; - parameter9: string | undefined; - parameter10: string | undefined; - parameter11: string | undefined; - parameter12: string | undefined; - parameter13: string | undefined; - parameter14: string | undefined; - parameter15: string | undefined; - parameter16: string | undefined; - parameter17: string | undefined; - parameter18: string | undefined; - parameter19: string | undefined; - parameter20: string | undefined; - parameter21: string | undefined; - parameter22: string | undefined; - parameter23: string | undefined; - parameter24: string | undefined; - parameter25: string | undefined; - parameter26: string | undefined; - parameter27: string | undefined; - parameter28: string | undefined; - parameter29: string | undefined; - parameter30: string | undefined; +export class GetSysLabelDataSourceForEditOutput implements IGetSysLabelDataSourceForEditOutput { + sysLabelDataSource: SysLabelDataSourceEditDto; - constructor(data?: IDynamicTableDto) { + constructor(data?: IGetSysLabelDataSourceForEditOutput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } + if (!data) { + this.sysLabelDataSource = new SysLabelDataSourceEditDto(); + } } init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.parameter1 = _data["parameter1"]; - this.parameter2 = _data["parameter2"]; - this.parameter3 = _data["parameter3"]; - this.parameter4 = _data["parameter4"]; - this.parameter5 = _data["parameter5"]; - this.parameter6 = _data["parameter6"]; - this.parameter7 = _data["parameter7"]; - this.parameter8 = _data["parameter8"]; - this.parameter9 = _data["parameter9"]; - this.parameter10 = _data["parameter10"]; - this.parameter11 = _data["parameter11"]; - this.parameter12 = _data["parameter12"]; - this.parameter13 = _data["parameter13"]; - this.parameter14 = _data["parameter14"]; - this.parameter15 = _data["parameter15"]; - this.parameter16 = _data["parameter16"]; - this.parameter17 = _data["parameter17"]; - this.parameter18 = _data["parameter18"]; - this.parameter19 = _data["parameter19"]; - this.parameter20 = _data["parameter20"]; - this.parameter21 = _data["parameter21"]; - this.parameter22 = _data["parameter22"]; - this.parameter23 = _data["parameter23"]; - this.parameter24 = _data["parameter24"]; - this.parameter25 = _data["parameter25"]; - this.parameter26 = _data["parameter26"]; - this.parameter27 = _data["parameter27"]; - this.parameter28 = _data["parameter28"]; - this.parameter29 = _data["parameter29"]; - this.parameter30 = _data["parameter30"]; + this.sysLabelDataSource = _data["sysLabelDataSource"] ? SysLabelDataSourceEditDto.fromJS(_data["sysLabelDataSource"]) : new SysLabelDataSourceEditDto(); } } - static fromJS(data: any): DynamicTableDto { + static fromJS(data: any): GetSysLabelDataSourceForEditOutput { data = typeof data === 'object' ? data : {}; - let result = new DynamicTableDto(); + let result = new GetSysLabelDataSourceForEditOutput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["parameter1"] = this.parameter1; - data["parameter2"] = this.parameter2; - data["parameter3"] = this.parameter3; - data["parameter4"] = this.parameter4; - data["parameter5"] = this.parameter5; - data["parameter6"] = this.parameter6; - data["parameter7"] = this.parameter7; - data["parameter8"] = this.parameter8; - data["parameter9"] = this.parameter9; - data["parameter10"] = this.parameter10; - data["parameter11"] = this.parameter11; - data["parameter12"] = this.parameter12; - data["parameter13"] = this.parameter13; - data["parameter14"] = this.parameter14; - data["parameter15"] = this.parameter15; - data["parameter16"] = this.parameter16; - data["parameter17"] = this.parameter17; - data["parameter18"] = this.parameter18; - data["parameter19"] = this.parameter19; - data["parameter20"] = this.parameter20; - data["parameter21"] = this.parameter21; - data["parameter22"] = this.parameter22; - data["parameter23"] = this.parameter23; - data["parameter24"] = this.parameter24; - data["parameter25"] = this.parameter25; - data["parameter26"] = this.parameter26; - data["parameter27"] = this.parameter27; - data["parameter28"] = this.parameter28; - data["parameter29"] = this.parameter29; - data["parameter30"] = this.parameter30; + data["sysLabelDataSource"] = this.sysLabelDataSource ? this.sysLabelDataSource.toJSON() : undefined; return data; } - clone(): DynamicTableDto { + clone(): GetSysLabelDataSourceForEditOutput { const json = this.toJSON(); - let result = new DynamicTableDto(); + let result = new GetSysLabelDataSourceForEditOutput(); result.init(json); return result; } } -export interface IDynamicTableDto { - key: string | undefined; - parameter1: string | undefined; - parameter2: string | undefined; - parameter3: string | undefined; - parameter4: string | undefined; - parameter5: string | undefined; - parameter6: string | undefined; - parameter7: string | undefined; - parameter8: string | undefined; - parameter9: string | undefined; - parameter10: string | undefined; - parameter11: string | undefined; - parameter12: string | undefined; - parameter13: string | undefined; - parameter14: string | undefined; - parameter15: string | undefined; - parameter16: string | undefined; - parameter17: string | undefined; - parameter18: string | undefined; - parameter19: string | undefined; - parameter20: string | undefined; - parameter21: string | undefined; - parameter22: string | undefined; - parameter23: string | undefined; - parameter24: string | undefined; - parameter25: string | undefined; - parameter26: string | undefined; - parameter27: string | undefined; - parameter28: string | undefined; - parameter29: string | undefined; - parameter30: string | undefined; +export interface IGetSysLabelDataSourceForEditOutput { + sysLabelDataSource: SysLabelDataSourceEditDto; } -/** 登录日志Echart图表 */ -export class EchartItemDto implements IEchartItemDto { - /** 具体的那一天,统计每天次数 */ - time: number; - /** 登录成功或失败次数 */ - count: number | undefined; +export class GetSysLabelForEditOutput implements IGetSysLabelForEditOutput { + sysLabel: SysLabelEditDto; - constructor(data?: IEchartItemDto) { + constructor(data?: IGetSysLabelForEditOutput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } + if (!data) { + this.sysLabel = new SysLabelEditDto(); + } } init(_data?: any) { if (_data) { - this.time = _data["time"]; - this.count = _data["count"]; + this.sysLabel = _data["sysLabel"] ? SysLabelEditDto.fromJS(_data["sysLabel"]) : new SysLabelEditDto(); } } - static fromJS(data: any): EchartItemDto { + static fromJS(data: any): GetSysLabelForEditOutput { data = typeof data === 'object' ? data : {}; - let result = new EchartItemDto(); + let result = new GetSysLabelForEditOutput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["time"] = this.time; - data["count"] = this.count; + data["sysLabel"] = this.sysLabel ? this.sysLabel.toJSON() : undefined; return data; } - clone(): EchartItemDto { + clone(): GetSysLabelForEditOutput { const json = this.toJSON(); - let result = new EchartItemDto(); + let result = new GetSysLabelForEditOutput(); result.init(json); return result; } } -/** 登录日志Echart图表 */ -export interface IEchartItemDto { - /** 具体的那一天,统计每天次数 */ - time: number; - /** 登录成功或失败次数 */ - count: number | undefined; +export interface IGetSysLabelForEditOutput { + sysLabel: SysLabelEditDto; } -/** 版本编辑 */ -export class EditionEditDto implements IEditionEditDto { - /** 编号 */ - id: string | undefined; - /** 显示名称 */ - displayName: string; - /** 每月价格 */ - monthlyPrice: number | undefined; - /** 年度价格 */ - annualPrice: number | undefined; - /** 使用时间 */ - trialDayCount: number | undefined; - /** 滑动过期时间 */ - waitingDayAfterExpire: number | undefined; - /** 终止版本Id */ - expiringEditionId: number | undefined; +export class GetSysLabelRuleForEditOutput implements IGetSysLabelRuleForEditOutput { + sysLabelRule: SysLabelRuleEditDto; - constructor(data?: IEditionEditDto) { + constructor(data?: IGetSysLabelRuleForEditOutput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } + if (!data) { + this.sysLabelRule = new SysLabelRuleEditDto(); + } } init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.displayName = _data["displayName"]; - this.monthlyPrice = _data["monthlyPrice"]; - this.annualPrice = _data["annualPrice"]; - this.trialDayCount = _data["trialDayCount"]; - this.waitingDayAfterExpire = _data["waitingDayAfterExpire"]; - this.expiringEditionId = _data["expiringEditionId"]; + this.sysLabelRule = _data["sysLabelRule"] ? SysLabelRuleEditDto.fromJS(_data["sysLabelRule"]) : new SysLabelRuleEditDto(); } } - static fromJS(data: any): EditionEditDto { + static fromJS(data: any): GetSysLabelRuleForEditOutput { data = typeof data === 'object' ? data : {}; - let result = new EditionEditDto(); + let result = new GetSysLabelRuleForEditOutput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["displayName"] = this.displayName; - data["monthlyPrice"] = this.monthlyPrice; - data["annualPrice"] = this.annualPrice; - data["trialDayCount"] = this.trialDayCount; - data["waitingDayAfterExpire"] = this.waitingDayAfterExpire; - data["expiringEditionId"] = this.expiringEditionId; + data["sysLabelRule"] = this.sysLabelRule ? this.sysLabelRule.toJSON() : undefined; return data; } - clone(): EditionEditDto { + clone(): GetSysLabelRuleForEditOutput { const json = this.toJSON(); - let result = new EditionEditDto(); + let result = new GetSysLabelRuleForEditOutput(); result.init(json); return result; } } -/** 版本编辑 */ -export interface IEditionEditDto { - /** 编号 */ - id: string | undefined; - /** 显示名称 */ - displayName: string; - /** 每月价格 */ - monthlyPrice: number | undefined; - /** 年度价格 */ - annualPrice: number | undefined; - /** 使用时间 */ - trialDayCount: number | undefined; - /** 滑动过期时间 */ - waitingDayAfterExpire: number | undefined; - /** 终止版本Id */ - expiringEditionId: number | undefined; +export interface IGetSysLabelRuleForEditOutput { + sysLabelRule: SysLabelRuleEditDto; } -/** 版本信息 */ -export class EditionInfoDto implements IEditionInfoDto { - /** 显示名称 */ - displayName: string | undefined; - /** 试用时长 */ - trialDayCount: number | undefined; - /** 月费用 */ - monthlyPrice: number | undefined; - /** 年度费用 */ - annualPrice: number | undefined; - /** 是否最新版本 */ - isHighestEdition: boolean; - /** 是否免费 */ - isFree: boolean; - id: string | undefined; +export class GetSysUserInfoForEditOutput implements IGetSysUserInfoForEditOutput { + sysUserInfo: SysUserInfoEditDto; - constructor(data?: IEditionInfoDto) { + constructor(data?: IGetSysUserInfoForEditOutput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } + if (!data) { + this.sysUserInfo = new SysUserInfoEditDto(); + } } init(_data?: any) { if (_data) { - this.displayName = _data["displayName"]; - this.trialDayCount = _data["trialDayCount"]; - this.monthlyPrice = _data["monthlyPrice"]; - this.annualPrice = _data["annualPrice"]; - this.isHighestEdition = _data["isHighestEdition"]; - this.isFree = _data["isFree"]; - this.id = _data["id"]; + this.sysUserInfo = _data["sysUserInfo"] ? SysUserInfoEditDto.fromJS(_data["sysUserInfo"]) : new SysUserInfoEditDto(); } } - static fromJS(data: any): EditionInfoDto { + static fromJS(data: any): GetSysUserInfoForEditOutput { data = typeof data === 'object' ? data : {}; - let result = new EditionInfoDto(); + let result = new GetSysUserInfoForEditOutput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["displayName"] = this.displayName; - data["trialDayCount"] = this.trialDayCount; - data["monthlyPrice"] = this.monthlyPrice; - data["annualPrice"] = this.annualPrice; - data["isHighestEdition"] = this.isHighestEdition; - data["isFree"] = this.isFree; - data["id"] = this.id; + data["sysUserInfo"] = this.sysUserInfo ? this.sysUserInfo.toJSON() : undefined; + return data; + } + + clone(): GetSysUserInfoForEditOutput { + const json = this.toJSON(); + let result = new GetSysUserInfoForEditOutput(); + result.init(json); + return result; + } +} + +export interface IGetSysUserInfoForEditOutput { + sysUserInfo: SysUserInfoEditDto; +} + +export class GetTenantFeaturesEditOutput implements IGetTenantFeaturesEditOutput { + featureValues: NameValueDto[] | undefined; + features: FlatFeatureDto[] | undefined; + + constructor(data?: IGetTenantFeaturesEditOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["featureValues"])) { + this.featureValues = [] as any; + for (let item of _data["featureValues"]) + this.featureValues.push(NameValueDto.fromJS(item)); + } + if (Array.isArray(_data["features"])) { + this.features = [] as any; + for (let item of _data["features"]) + this.features.push(FlatFeatureDto.fromJS(item)); + } + } + } + + static fromJS(data: any): GetTenantFeaturesEditOutput { + data = typeof data === 'object' ? data : {}; + let result = new GetTenantFeaturesEditOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.featureValues)) { + data["featureValues"] = []; + for (let item of this.featureValues) + data["featureValues"].push(item.toJSON()); + } + if (Array.isArray(this.features)) { + data["features"] = []; + for (let item of this.features) + data["features"].push(item.toJSON()); + } return data; } - clone(): EditionInfoDto { + clone(): GetTenantFeaturesEditOutput { const json = this.toJSON(); - let result = new EditionInfoDto(); + let result = new GetTenantFeaturesEditOutput(); result.init(json); return result; } } -/** 版本信息 */ -export interface IEditionInfoDto { - /** 显示名称 */ - displayName: string | undefined; - /** 试用时长 */ - trialDayCount: number | undefined; - /** 月费用 */ - monthlyPrice: number | undefined; - /** 年度费用 */ - annualPrice: number | undefined; - /** 是否最新版本 */ - isHighestEdition: boolean; - /** 是否免费 */ - isFree: boolean; - id: string | undefined; +export interface IGetTenantFeaturesEditOutput { + featureValues: NameValueDto[] | undefined; + features: FlatFeatureDto[] | undefined; } -/** 版本列表 */ -export class EditionListDto implements IEditionListDto { - /** 名称 */ - name: string | undefined; - /** 显示名称 */ - displayName: string | undefined; - /** 创建时间 */ - creationTime: moment.Moment; - id: string | undefined; +export class GetTopStatsOutput implements IGetTopStatsOutput { + totalProfit: number; + newFeedbacks: number; + newOrders: number; + newUsers: number; - constructor(data?: IEditionListDto) { + constructor(data?: IGetTopStatsOutput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -56752,70 +87855,50 @@ export class EditionListDto implements IEditionListDto { init(_data?: any) { if (_data) { - this.name = _data["name"]; - this.displayName = _data["displayName"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.id = _data["id"]; + this.totalProfit = _data["totalProfit"]; + this.newFeedbacks = _data["newFeedbacks"]; + this.newOrders = _data["newOrders"]; + this.newUsers = _data["newUsers"]; } } - static fromJS(data: any): EditionListDto { + static fromJS(data: any): GetTopStatsOutput { data = typeof data === 'object' ? data : {}; - let result = new EditionListDto(); + let result = new GetTopStatsOutput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["name"] = this.name; - data["displayName"] = this.displayName; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["id"] = this.id; + data["totalProfit"] = this.totalProfit; + data["newFeedbacks"] = this.newFeedbacks; + data["newOrders"] = this.newOrders; + data["newUsers"] = this.newUsers; return data; } - clone(): EditionListDto { + clone(): GetTopStatsOutput { const json = this.toJSON(); - let result = new EditionListDto(); + let result = new GetTopStatsOutput(); result.init(json); return result; } } -/** 版本列表 */ -export interface IEditionListDto { - /** 名称 */ - name: string | undefined; - /** 显示名称 */ - displayName: string | undefined; - /** 创建时间 */ - creationTime: moment.Moment; - id: string | undefined; +export interface IGetTopStatsOutput { + totalProfit: number; + newFeedbacks: number; + newOrders: number; + newUsers: number; } -/** 邮箱设置编辑 */ -export class EmailSettingsEditDto implements IEmailSettingsEditDto { - /** 默认发件人邮箱地址 */ - defaultFromAddress: string | undefined; - /** 邮箱显示名称 */ - defaultFromDisplayName: string | undefined; - /** 发件人邮箱SMTP服务器Host */ - smtpHost: string | undefined; - /** 发件人邮箱SMTP服务器端口 */ - smtpPort: number; - /** 发件人校验名称 */ - smtpUserName: string | undefined; - /** 发件人校验密码 */ - smtpPassword: string | undefined; - /** 发件人 */ - smtpDomain: string | undefined; - /** 使用ssl */ - smtpEnableSsl: boolean; - /** 使用默认凭据 */ - smtpUseDefaultCredentials: boolean; +export class GetUserChatFriendsWithSettingsOutput implements IGetUserChatFriendsWithSettingsOutput { + serverTime: moment.Moment; + friends: FriendDto[] | undefined; + friendState: EnumInfo; - constructor(data?: IEmailSettingsEditDto) { + constructor(data?: IGetUserChatFriendsWithSettingsOutput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -56826,87 +87909,57 @@ export class EmailSettingsEditDto implements IEmailSettingsEditDto { init(_data?: any) { if (_data) { - this.defaultFromAddress = _data["defaultFromAddress"]; - this.defaultFromDisplayName = _data["defaultFromDisplayName"]; - this.smtpHost = _data["smtpHost"]; - this.smtpPort = _data["smtpPort"]; - this.smtpUserName = _data["smtpUserName"]; - this.smtpPassword = _data["smtpPassword"]; - this.smtpDomain = _data["smtpDomain"]; - this.smtpEnableSsl = _data["smtpEnableSsl"]; - this.smtpUseDefaultCredentials = _data["smtpUseDefaultCredentials"]; + this.serverTime = _data["serverTime"] ? moment(_data["serverTime"].toString()) : undefined; + if (Array.isArray(_data["friends"])) { + this.friends = [] as any; + for (let item of _data["friends"]) + this.friends.push(FriendDto.fromJS(item)); + } + this.friendState = _data["friendState"] ? EnumInfo.fromJS(_data["friendState"]) : undefined; } } - static fromJS(data: any): EmailSettingsEditDto { + static fromJS(data: any): GetUserChatFriendsWithSettingsOutput { data = typeof data === 'object' ? data : {}; - let result = new EmailSettingsEditDto(); + let result = new GetUserChatFriendsWithSettingsOutput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["defaultFromAddress"] = this.defaultFromAddress; - data["defaultFromDisplayName"] = this.defaultFromDisplayName; - data["smtpHost"] = this.smtpHost; - data["smtpPort"] = this.smtpPort; - data["smtpUserName"] = this.smtpUserName; - data["smtpPassword"] = this.smtpPassword; - data["smtpDomain"] = this.smtpDomain; - data["smtpEnableSsl"] = this.smtpEnableSsl; - data["smtpUseDefaultCredentials"] = this.smtpUseDefaultCredentials; + data["serverTime"] = this.serverTime ? this.serverTime.toISOString() : undefined; + if (Array.isArray(this.friends)) { + data["friends"] = []; + for (let item of this.friends) + data["friends"].push(item.toJSON()); + } + data["friendState"] = this.friendState ? this.friendState.toJSON() : undefined; return data; } - clone(): EmailSettingsEditDto { + clone(): GetUserChatFriendsWithSettingsOutput { const json = this.toJSON(); - let result = new EmailSettingsEditDto(); + let result = new GetUserChatFriendsWithSettingsOutput(); result.init(json); return result; } } -/** 邮箱设置编辑 */ -export interface IEmailSettingsEditDto { - /** 默认发件人邮箱地址 */ - defaultFromAddress: string | undefined; - /** 邮箱显示名称 */ - defaultFromDisplayName: string | undefined; - /** 发件人邮箱SMTP服务器Host */ - smtpHost: string | undefined; - /** 发件人邮箱SMTP服务器端口 */ - smtpPort: number; - /** 发件人校验名称 */ - smtpUserName: string | undefined; - /** 发件人校验密码 */ - smtpPassword: string | undefined; - /** 发件人 */ - smtpDomain: string | undefined; - /** 使用ssl */ - smtpEnableSsl: boolean; - /** 使用默认凭据 */ - smtpUseDefaultCredentials: boolean; +export interface IGetUserChatFriendsWithSettingsOutput { + serverTime: moment.Moment; + friends: FriendDto[] | undefined; + friendState: EnumInfo; } -/** 实体变更信息记录表 */ -export class EntityChangeListDto implements IEntityChangeListDto { - /** 用户Id */ - userId: string | undefined; - /** 用户名 */ - userName: string | undefined; - /** 变更时间 */ - changeTime: moment.Moment; - /** 实体的完整名称,如:YoyoBoot.Authorization.Roles.Role */ - entityTypeFullName: string | undefined; - changeType: EntityChangeType; - /** 变更类型名称 */ - readonly changeTypeName: string | undefined; - /** 实体变更设置Id */ - entityChangeSetId: string | undefined; - id: string | undefined; +export class GetUserForEditTreeOutput implements IGetUserForEditTreeOutput { + profilePictureId: string | undefined; + user: UserEditDto; + roles: UserRoleDto[] | undefined; + allOrganizationUnits: OrganizationUnitListDto[] | undefined; + memberedOrganizationUnits: string[] | undefined; - constructor(data?: IEntityChangeListDto) { + constructor(data?: IGetUserForEditTreeOutput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -56917,73 +87970,79 @@ export class EntityChangeListDto implements IEntityChangeListDto { init(_data?: any) { if (_data) { - this.userId = _data["userId"]; - this.userName = _data["userName"]; - this.changeTime = _data["changeTime"] ? moment(_data["changeTime"].toString()) : undefined; - this.entityTypeFullName = _data["entityTypeFullName"]; - this.changeType = _data["changeType"]; - (this).changeTypeName = _data["changeTypeName"]; - this.entityChangeSetId = _data["entityChangeSetId"]; - this.id = _data["id"]; + this.profilePictureId = _data["profilePictureId"]; + this.user = _data["user"] ? UserEditDto.fromJS(_data["user"]) : undefined; + if (Array.isArray(_data["roles"])) { + this.roles = [] as any; + for (let item of _data["roles"]) + this.roles.push(UserRoleDto.fromJS(item)); + } + if (Array.isArray(_data["allOrganizationUnits"])) { + this.allOrganizationUnits = [] as any; + for (let item of _data["allOrganizationUnits"]) + this.allOrganizationUnits.push(OrganizationUnitListDto.fromJS(item)); + } + if (Array.isArray(_data["memberedOrganizationUnits"])) { + this.memberedOrganizationUnits = [] as any; + for (let item of _data["memberedOrganizationUnits"]) + this.memberedOrganizationUnits.push(item); + } } } - static fromJS(data: any): EntityChangeListDto { + static fromJS(data: any): GetUserForEditTreeOutput { data = typeof data === 'object' ? data : {}; - let result = new EntityChangeListDto(); + let result = new GetUserForEditTreeOutput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["userId"] = this.userId; - data["userName"] = this.userName; - data["changeTime"] = this.changeTime ? this.changeTime.toISOString() : undefined; - data["entityTypeFullName"] = this.entityTypeFullName; - data["changeType"] = this.changeType; - data["changeTypeName"] = this.changeTypeName; - data["entityChangeSetId"] = this.entityChangeSetId; - data["id"] = this.id; + data["profilePictureId"] = this.profilePictureId; + data["user"] = this.user ? this.user.toJSON() : undefined; + if (Array.isArray(this.roles)) { + data["roles"] = []; + for (let item of this.roles) + data["roles"].push(item.toJSON()); + } + if (Array.isArray(this.allOrganizationUnits)) { + data["allOrganizationUnits"] = []; + for (let item of this.allOrganizationUnits) + data["allOrganizationUnits"].push(item.toJSON()); + } + if (Array.isArray(this.memberedOrganizationUnits)) { + data["memberedOrganizationUnits"] = []; + for (let item of this.memberedOrganizationUnits) + data["memberedOrganizationUnits"].push(item); + } return data; } - clone(): EntityChangeListDto { + clone(): GetUserForEditTreeOutput { const json = this.toJSON(); - let result = new EntityChangeListDto(); + let result = new GetUserForEditTreeOutput(); result.init(json); return result; } } -/** 实体变更信息记录表 */ -export interface IEntityChangeListDto { - /** 用户Id */ - userId: string | undefined; - /** 用户名 */ - userName: string | undefined; - /** 变更时间 */ - changeTime: moment.Moment; - /** 实体的完整名称,如:YoyoBoot.Authorization.Roles.Role */ - entityTypeFullName: string | undefined; - changeType: EntityChangeType; - /** 变更类型名称 */ - changeTypeName: string | undefined; - /** 实体变更设置Id */ - entityChangeSetId: string | undefined; - id: string | undefined; -} - -export enum EntityChangeType { - Created = "Created", - Updated = "Updated", - Deleted = "Deleted", +export interface IGetUserForEditTreeOutput { + profilePictureId: string | undefined; + user: UserEditDto; + roles: UserRoleDto[] | undefined; + allOrganizationUnits: OrganizationUnitListDto[] | undefined; + memberedOrganizationUnits: string[] | undefined; } -export class EntityDto implements IEntityDto { - id: string | undefined; +export class GetUserNotificationsInput implements IGetUserNotificationsInput { + state: UserNotificationState; + startTime: moment.Moment | undefined; + endTime: moment.Moment | undefined; + maxResultCount: number; + skipCount: number; - constructor(data?: IEntityDto) { + constructor(data?: IGetUserNotificationsInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -56994,39 +88053,52 @@ export class EntityDto implements IEntityDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; + this.state = _data["state"]; + this.startTime = _data["startTime"] ? moment(_data["startTime"].toString()) : undefined; + this.endTime = _data["endTime"] ? moment(_data["endTime"].toString()) : undefined; + this.maxResultCount = _data["maxResultCount"]; + this.skipCount = _data["skipCount"]; } } - static fromJS(data: any): EntityDto { + static fromJS(data: any): GetUserNotificationsInput { data = typeof data === 'object' ? data : {}; - let result = new EntityDto(); + let result = new GetUserNotificationsInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; + data["state"] = this.state; + data["startTime"] = this.startTime ? this.startTime.toISOString() : undefined; + data["endTime"] = this.endTime ? this.endTime.toISOString() : undefined; + data["maxResultCount"] = this.maxResultCount; + data["skipCount"] = this.skipCount; return data; } - clone(): EntityDto { + clone(): GetUserNotificationsInput { const json = this.toJSON(); - let result = new EntityDto(); + let result = new GetUserNotificationsInput(); result.init(json); return result; } } -export interface IEntityDto { - id: string | undefined; +export interface IGetUserNotificationsInput { + state: UserNotificationState; + startTime: moment.Moment | undefined; + endTime: moment.Moment | undefined; + maxResultCount: number; + skipCount: number; } -export class EntityDtoOfGuid implements IEntityDtoOfGuid { - id: string; +export class GetUserPermissionsTreeForEditOutput implements IGetUserPermissionsTreeForEditOutput { + permissions: FlatPermissionDto[] | undefined; + grantedPermissionNames: string[] | undefined; - constructor(data?: IEntityDtoOfGuid) { + constructor(data?: IGetUserPermissionsTreeForEditOutput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -57037,39 +88109,68 @@ export class EntityDtoOfGuid implements IEntityDtoOfGuid { init(_data?: any) { if (_data) { - this.id = _data["id"]; + if (Array.isArray(_data["permissions"])) { + this.permissions = [] as any; + for (let item of _data["permissions"]) + this.permissions.push(FlatPermissionDto.fromJS(item)); + } + if (Array.isArray(_data["grantedPermissionNames"])) { + this.grantedPermissionNames = [] as any; + for (let item of _data["grantedPermissionNames"]) + this.grantedPermissionNames.push(item); + } } } - static fromJS(data: any): EntityDtoOfGuid { + static fromJS(data: any): GetUserPermissionsTreeForEditOutput { data = typeof data === 'object' ? data : {}; - let result = new EntityDtoOfGuid(); + let result = new GetUserPermissionsTreeForEditOutput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; + if (Array.isArray(this.permissions)) { + data["permissions"] = []; + for (let item of this.permissions) + data["permissions"].push(item.toJSON()); + } + if (Array.isArray(this.grantedPermissionNames)) { + data["grantedPermissionNames"] = []; + for (let item of this.grantedPermissionNames) + data["grantedPermissionNames"].push(item); + } return data; } - clone(): EntityDtoOfGuid { + clone(): GetUserPermissionsTreeForEditOutput { const json = this.toJSON(); - let result = new EntityDtoOfGuid(); + let result = new GetUserPermissionsTreeForEditOutput(); result.init(json); return result; } } -export interface IEntityDtoOfGuid { - id: string; +export interface IGetUserPermissionsTreeForEditOutput { + permissions: FlatPermissionDto[] | undefined; + grantedPermissionNames: string[] | undefined; } -export class EntityDtoOfString implements IEntityDtoOfString { - id: string | undefined; +export class GetUsersInput implements IGetUsersInput { + permission: string[] | undefined; + role: string[] | undefined; + isEmailConfirmed: boolean | undefined; + isActive: boolean | undefined; + onlyLockedUsers: boolean; + startTime: moment.Moment | undefined; + endTime: moment.Moment | undefined; + filterText: string | undefined; + sorting: string | undefined; + maxResultCount: number; + skipCount: number; - constructor(data?: IEntityDtoOfString) { + constructor(data?: IGetUsersInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -57080,52 +88181,86 @@ export class EntityDtoOfString implements IEntityDtoOfString { init(_data?: any) { if (_data) { - this.id = _data["id"]; + if (Array.isArray(_data["permission"])) { + this.permission = [] as any; + for (let item of _data["permission"]) + this.permission.push(item); + } + if (Array.isArray(_data["role"])) { + this.role = [] as any; + for (let item of _data["role"]) + this.role.push(item); + } + this.isEmailConfirmed = _data["isEmailConfirmed"]; + this.isActive = _data["isActive"]; + this.onlyLockedUsers = _data["onlyLockedUsers"]; + this.startTime = _data["startTime"] ? moment(_data["startTime"].toString()) : undefined; + this.endTime = _data["endTime"] ? moment(_data["endTime"].toString()) : undefined; + this.filterText = _data["filterText"]; + this.sorting = _data["sorting"]; + this.maxResultCount = _data["maxResultCount"]; + this.skipCount = _data["skipCount"]; } } - static fromJS(data: any): EntityDtoOfString { + static fromJS(data: any): GetUsersInput { data = typeof data === 'object' ? data : {}; - let result = new EntityDtoOfString(); + let result = new GetUsersInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; + if (Array.isArray(this.permission)) { + data["permission"] = []; + for (let item of this.permission) + data["permission"].push(item); + } + if (Array.isArray(this.role)) { + data["role"] = []; + for (let item of this.role) + data["role"].push(item); + } + data["isEmailConfirmed"] = this.isEmailConfirmed; + data["isActive"] = this.isActive; + data["onlyLockedUsers"] = this.onlyLockedUsers; + data["startTime"] = this.startTime ? this.startTime.toISOString() : undefined; + data["endTime"] = this.endTime ? this.endTime.toISOString() : undefined; + data["filterText"] = this.filterText; + data["sorting"] = this.sorting; + data["maxResultCount"] = this.maxResultCount; + data["skipCount"] = this.skipCount; return data; } - clone(): EntityDtoOfString { + clone(): GetUsersInput { const json = this.toJSON(); - let result = new EntityDtoOfString(); + let result = new GetUsersInput(); result.init(json); return result; } } -export interface IEntityDtoOfString { - id: string | undefined; +export interface IGetUsersInput { + permission: string[] | undefined; + role: string[] | undefined; + isEmailConfirmed: boolean | undefined; + isActive: boolean | undefined; + onlyLockedUsers: boolean; + startTime: moment.Moment | undefined; + endTime: moment.Moment | undefined; + filterText: string | undefined; + sorting: string | undefined; + maxResultCount: number; + skipCount: number; } -/** 实体属性变更Dto */ -export class EntityPropertyChangeDto implements IEntityPropertyChangeDto { - /** 变更的实体id */ - entityChangeId: string | undefined; - /** 新值 */ - newValue: string | undefined; - /** 原值 */ - originalValue: string | undefined; - /** 属性名称 */ - propertyName: string | undefined; - /** 属性类型全称 */ - propertyTypeFullName: string | undefined; - /** 租户Id */ - tenantId: string | undefined; - id: string | undefined; +export class GetWechatAppConfigForEditOutput implements IGetWechatAppConfigForEditOutput { + wechatAppConfig: WechatAppConfigEditDto; + wechatAppTypeList: KeyValuePairOfStringInt32[] | undefined; - constructor(data?: IEntityPropertyChangeDto) { + constructor(data?: IGetWechatAppConfigForEditOutput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -57136,66 +88271,52 @@ export class EntityPropertyChangeDto implements IEntityPropertyChangeDto { init(_data?: any) { if (_data) { - this.entityChangeId = _data["entityChangeId"]; - this.newValue = _data["newValue"]; - this.originalValue = _data["originalValue"]; - this.propertyName = _data["propertyName"]; - this.propertyTypeFullName = _data["propertyTypeFullName"]; - this.tenantId = _data["tenantId"]; - this.id = _data["id"]; + this.wechatAppConfig = _data["wechatAppConfig"] ? WechatAppConfigEditDto.fromJS(_data["wechatAppConfig"]) : undefined; + if (Array.isArray(_data["wechatAppTypeList"])) { + this.wechatAppTypeList = [] as any; + for (let item of _data["wechatAppTypeList"]) + this.wechatAppTypeList.push(KeyValuePairOfStringInt32.fromJS(item)); + } } } - static fromJS(data: any): EntityPropertyChangeDto { + static fromJS(data: any): GetWechatAppConfigForEditOutput { data = typeof data === 'object' ? data : {}; - let result = new EntityPropertyChangeDto(); + let result = new GetWechatAppConfigForEditOutput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["entityChangeId"] = this.entityChangeId; - data["newValue"] = this.newValue; - data["originalValue"] = this.originalValue; - data["propertyName"] = this.propertyName; - data["propertyTypeFullName"] = this.propertyTypeFullName; - data["tenantId"] = this.tenantId; - data["id"] = this.id; + data["wechatAppConfig"] = this.wechatAppConfig ? this.wechatAppConfig.toJSON() : undefined; + if (Array.isArray(this.wechatAppTypeList)) { + data["wechatAppTypeList"] = []; + for (let item of this.wechatAppTypeList) + data["wechatAppTypeList"].push(item.toJSON()); + } return data; } - clone(): EntityPropertyChangeDto { + clone(): GetWechatAppConfigForEditOutput { const json = this.toJSON(); - let result = new EntityPropertyChangeDto(); + let result = new GetWechatAppConfigForEditOutput(); result.init(json); return result; } } -/** 实体属性变更Dto */ -export interface IEntityPropertyChangeDto { - /** 变更的实体id */ - entityChangeId: string | undefined; - /** 新值 */ - newValue: string | undefined; - /** 原值 */ - originalValue: string | undefined; - /** 属性名称 */ - propertyName: string | undefined; - /** 属性类型全称 */ - propertyTypeFullName: string | undefined; - /** 租户Id */ - tenantId: string | undefined; - id: string | undefined; +export interface IGetWechatAppConfigForEditOutput { + wechatAppConfig: WechatAppConfigEditDto; + wechatAppTypeList: KeyValuePairOfStringInt32[] | undefined; } -export class EnumInfo implements IEnumInfo { - name: string | undefined; - value: string | undefined; - description: string | undefined; +export class GetWechatMenuForEditOutput implements IGetWechatMenuForEditOutput { + menu: any | undefined; + conditionalmenu: any | undefined; + menuTypeList: KeyValuePairOfStringString[] | undefined; - constructor(data?: IEnumInfo) { + constructor(data?: IGetWechatMenuForEditOutput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -57206,52 +88327,54 @@ export class EnumInfo implements IEnumInfo { init(_data?: any) { if (_data) { - this.name = _data["name"]; - this.value = _data["value"]; - this.description = _data["description"]; + this.menu = _data["menu"]; + this.conditionalmenu = _data["conditionalmenu"]; + if (Array.isArray(_data["menuTypeList"])) { + this.menuTypeList = [] as any; + for (let item of _data["menuTypeList"]) + this.menuTypeList.push(KeyValuePairOfStringString.fromJS(item)); + } } } - static fromJS(data: any): EnumInfo { + static fromJS(data: any): GetWechatMenuForEditOutput { data = typeof data === 'object' ? data : {}; - let result = new EnumInfo(); + let result = new GetWechatMenuForEditOutput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["name"] = this.name; - data["value"] = this.value; - data["description"] = this.description; + data["menu"] = this.menu; + data["conditionalmenu"] = this.conditionalmenu; + if (Array.isArray(this.menuTypeList)) { + data["menuTypeList"] = []; + for (let item of this.menuTypeList) + data["menuTypeList"].push(item.toJSON()); + } return data; } - clone(): EnumInfo { + clone(): GetWechatMenuForEditOutput { const json = this.toJSON(); - let result = new EnumInfo(); + let result = new GetWechatMenuForEditOutput(); result.init(json); return result; } } -export interface IEnumInfo { - name: string | undefined; - value: string | undefined; - description: string | undefined; +export interface IGetWechatMenuForEditOutput { + menu: any | undefined; + conditionalmenu: any | undefined; + menuTypeList: KeyValuePairOfStringString[] | undefined; } -export class Eqp2OpImportDto implements IEqp2OpImportDto { - /** 设备编码 */ - eqpCode: string; - /** 工序编码 */ - opCode: string; - /** 熟练程度 */ - level: string | undefined; - /** 备注 */ - memo: string | undefined; +export class HostBillingSettingsEditDto implements IHostBillingSettingsEditDto { + legalName: string | undefined; + address: string | undefined; - constructor(data?: IEqp2OpImportDto) { + constructor(data?: IHostBillingSettingsEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -57262,61 +88385,42 @@ export class Eqp2OpImportDto implements IEqp2OpImportDto { init(_data?: any) { if (_data) { - this.eqpCode = _data["eqpCode"]; - this.opCode = _data["opCode"]; - this.level = _data["level"]; - this.memo = _data["memo"]; + this.legalName = _data["legalName"]; + this.address = _data["address"]; } } - static fromJS(data: any): Eqp2OpImportDto { + static fromJS(data: any): HostBillingSettingsEditDto { data = typeof data === 'object' ? data : {}; - let result = new Eqp2OpImportDto(); + let result = new HostBillingSettingsEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["eqpCode"] = this.eqpCode; - data["opCode"] = this.opCode; - data["level"] = this.level; - data["memo"] = this.memo; + data["legalName"] = this.legalName; + data["address"] = this.address; return data; } - clone(): Eqp2OpImportDto { + clone(): HostBillingSettingsEditDto { const json = this.toJSON(); - let result = new Eqp2OpImportDto(); + let result = new HostBillingSettingsEditDto(); result.init(json); return result; } } -export interface IEqp2OpImportDto { - /** 设备编码 */ - eqpCode: string; - /** 工序编码 */ - opCode: string; - /** 熟练程度 */ - level: string | undefined; - /** 备注 */ - memo: string | undefined; -} - -export enum ErrorLevels { - Warning = "Warning", - Error = "Error", +export interface IHostBillingSettingsEditDto { + legalName: string | undefined; + address: string | undefined; } -export class ExcelImpDtoOfCommodityImportDto implements IExcelImpDtoOfCommodityImportDto { - data: CommodityImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class HostCacheDto implements IHostCacheDto { + name: string | undefined; - constructor(data?: IExcelImpDtoOfCommodityImportDto) { + constructor(data?: IHostCacheDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -57327,162 +88431,125 @@ export class ExcelImpDtoOfCommodityImportDto implements IExcelImpDtoOfCommodityI init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(CommodityImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); - } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + this.name = _data["name"]; } } - static fromJS(data: any): ExcelImpDtoOfCommodityImportDto { + static fromJS(data: any): HostCacheDto { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfCommodityImportDto(); + let result = new HostCacheDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); - } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + data["name"] = this.name; return data; } - clone(): ExcelImpDtoOfCommodityImportDto { + clone(): HostCacheDto { const json = this.toJSON(); - let result = new ExcelImpDtoOfCommodityImportDto(); + let result = new HostCacheDto(); result.init(json); return result; } } -export interface IExcelImpDtoOfCommodityImportDto { - data: CommodityImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IHostCacheDto { + name: string | undefined; } -export class ExcelImpDtoOfCrewImportDto implements IExcelImpDtoOfCrewImportDto { - data: CrewImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class HostSettingsEditDto implements IHostSettingsEditDto { + general: GeneralSettingsEditDto; + userManagement: HostUserManagementSettingsEditDto; + email: EmailSettingsEditDto; + tenantManagement: TenantManagementSettingsEditDto; + security: SecuritySettingsEditDto; + billing: HostBillingSettingsEditDto; + theme: ThemeEditDto; + urls: UrlsEditDto; + siteSettings: SiteSettingsEditDto; - constructor(data?: IExcelImpDtoOfCrewImportDto) { + constructor(data?: IHostSettingsEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } + if (!data) { + this.general = new GeneralSettingsEditDto(); + this.userManagement = new HostUserManagementSettingsEditDto(); + this.email = new EmailSettingsEditDto(); + this.tenantManagement = new TenantManagementSettingsEditDto(); + this.security = new SecuritySettingsEditDto(); + this.theme = new ThemeEditDto(); + } } init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(CrewImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); - } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + this.general = _data["general"] ? GeneralSettingsEditDto.fromJS(_data["general"]) : new GeneralSettingsEditDto(); + this.userManagement = _data["userManagement"] ? HostUserManagementSettingsEditDto.fromJS(_data["userManagement"]) : new HostUserManagementSettingsEditDto(); + this.email = _data["email"] ? EmailSettingsEditDto.fromJS(_data["email"]) : new EmailSettingsEditDto(); + this.tenantManagement = _data["tenantManagement"] ? TenantManagementSettingsEditDto.fromJS(_data["tenantManagement"]) : new TenantManagementSettingsEditDto(); + this.security = _data["security"] ? SecuritySettingsEditDto.fromJS(_data["security"]) : new SecuritySettingsEditDto(); + this.billing = _data["billing"] ? HostBillingSettingsEditDto.fromJS(_data["billing"]) : undefined; + this.theme = _data["theme"] ? ThemeEditDto.fromJS(_data["theme"]) : new ThemeEditDto(); + this.urls = _data["urls"] ? UrlsEditDto.fromJS(_data["urls"]) : undefined; + this.siteSettings = _data["siteSettings"] ? SiteSettingsEditDto.fromJS(_data["siteSettings"]) : undefined; } } - static fromJS(data: any): ExcelImpDtoOfCrewImportDto { + static fromJS(data: any): HostSettingsEditDto { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfCrewImportDto(); + let result = new HostSettingsEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); - } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + data["general"] = this.general ? this.general.toJSON() : undefined; + data["userManagement"] = this.userManagement ? this.userManagement.toJSON() : undefined; + data["email"] = this.email ? this.email.toJSON() : undefined; + data["tenantManagement"] = this.tenantManagement ? this.tenantManagement.toJSON() : undefined; + data["security"] = this.security ? this.security.toJSON() : undefined; + data["billing"] = this.billing ? this.billing.toJSON() : undefined; + data["theme"] = this.theme ? this.theme.toJSON() : undefined; + data["urls"] = this.urls ? this.urls.toJSON() : undefined; + data["siteSettings"] = this.siteSettings ? this.siteSettings.toJSON() : undefined; return data; } - clone(): ExcelImpDtoOfCrewImportDto { + clone(): HostSettingsEditDto { const json = this.toJSON(); - let result = new ExcelImpDtoOfCrewImportDto(); + let result = new HostSettingsEditDto(); result.init(json); return result; } } -export interface IExcelImpDtoOfCrewImportDto { - data: CrewImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IHostSettingsEditDto { + general: GeneralSettingsEditDto; + userManagement: HostUserManagementSettingsEditDto; + email: EmailSettingsEditDto; + tenantManagement: TenantManagementSettingsEditDto; + security: SecuritySettingsEditDto; + billing: HostBillingSettingsEditDto; + theme: ThemeEditDto; + urls: UrlsEditDto; + siteSettings: SiteSettingsEditDto; } -export class ExcelImpDtoOfDctImportDto implements IExcelImpDtoOfDctImportDto { - data: DctImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class HostString implements IHostString { + value: string | undefined; + readonly hasValue: boolean; + host: string | undefined; + port: number | undefined; - constructor(data?: IExcelImpDtoOfDctImportDto) { + constructor(data?: IHostString) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -57493,79 +88560,57 @@ export class ExcelImpDtoOfDctImportDto implements IExcelImpDtoOfDctImportDto { init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(DctImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); - } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + this.value = _data["value"]; + (this).hasValue = _data["hasValue"]; + this.host = _data["host"]; + this.port = _data["port"]; } } - static fromJS(data: any): ExcelImpDtoOfDctImportDto { + static fromJS(data: any): HostString { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfDctImportDto(); + let result = new HostString(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); - } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + data["value"] = this.value; + data["hasValue"] = this.hasValue; + data["host"] = this.host; + data["port"] = this.port; return data; } - clone(): ExcelImpDtoOfDctImportDto { + clone(): HostString { const json = this.toJSON(); - let result = new ExcelImpDtoOfDctImportDto(); + let result = new HostString(); result.init(json); return result; } } -export interface IExcelImpDtoOfDctImportDto { - data: DctImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IHostString { + value: string | undefined; + hasValue: boolean; + host: string | undefined; + port: number | undefined; } -export class ExcelImpDtoOfEqp2OpImportDto implements IExcelImpDtoOfEqp2OpImportDto { - data: Eqp2OpImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class HostUserManagementSettingsEditDto implements IHostUserManagementSettingsEditDto { + allowSelfRegistrationUser: boolean; + isNewRegisteredUserActiveByDefault: boolean; + isEmailConfirmationRequiredForLogin: boolean; + smsVerificationEnabled: boolean; + isCookieConsentEnabled: boolean; + maxLoginUserNumber: number; + loginMutex: boolean; + isQuickThemeSelectEnabled: boolean; + captchaConfig: CaptchaConfigSetting; + externalLoginProviders: string[] | undefined; - constructor(data?: IExcelImpDtoOfEqp2OpImportDto) { + constructor(data?: IHostUserManagementSettingsEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -57576,79 +88621,74 @@ export class ExcelImpDtoOfEqp2OpImportDto implements IExcelImpDtoOfEqp2OpImportD init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(Eqp2OpImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + this.allowSelfRegistrationUser = _data["allowSelfRegistrationUser"]; + this.isNewRegisteredUserActiveByDefault = _data["isNewRegisteredUserActiveByDefault"]; + this.isEmailConfirmationRequiredForLogin = _data["isEmailConfirmationRequiredForLogin"]; + this.smsVerificationEnabled = _data["smsVerificationEnabled"]; + this.isCookieConsentEnabled = _data["isCookieConsentEnabled"]; + this.maxLoginUserNumber = _data["maxLoginUserNumber"]; + this.loginMutex = _data["loginMutex"]; + this.isQuickThemeSelectEnabled = _data["isQuickThemeSelectEnabled"]; + this.captchaConfig = _data["captchaConfig"] ? CaptchaConfigSetting.fromJS(_data["captchaConfig"]) : undefined; + if (Array.isArray(_data["externalLoginProviders"])) { + this.externalLoginProviders = [] as any; + for (let item of _data["externalLoginProviders"]) + this.externalLoginProviders.push(item); } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; } } - static fromJS(data: any): ExcelImpDtoOfEqp2OpImportDto { + static fromJS(data: any): HostUserManagementSettingsEditDto { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfEqp2OpImportDto(); + let result = new HostUserManagementSettingsEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); + data["allowSelfRegistrationUser"] = this.allowSelfRegistrationUser; + data["isNewRegisteredUserActiveByDefault"] = this.isNewRegisteredUserActiveByDefault; + data["isEmailConfirmationRequiredForLogin"] = this.isEmailConfirmationRequiredForLogin; + data["smsVerificationEnabled"] = this.smsVerificationEnabled; + data["isCookieConsentEnabled"] = this.isCookieConsentEnabled; + data["maxLoginUserNumber"] = this.maxLoginUserNumber; + data["loginMutex"] = this.loginMutex; + data["isQuickThemeSelectEnabled"] = this.isQuickThemeSelectEnabled; + data["captchaConfig"] = this.captchaConfig ? this.captchaConfig.toJSON() : undefined; + if (Array.isArray(this.externalLoginProviders)) { + data["externalLoginProviders"] = []; + for (let item of this.externalLoginProviders) + data["externalLoginProviders"].push(item); } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; return data; } - clone(): ExcelImpDtoOfEqp2OpImportDto { + clone(): HostUserManagementSettingsEditDto { const json = this.toJSON(); - let result = new ExcelImpDtoOfEqp2OpImportDto(); + let result = new HostUserManagementSettingsEditDto(); result.init(json); return result; } } -export interface IExcelImpDtoOfEqp2OpImportDto { - data: Eqp2OpImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IHostUserManagementSettingsEditDto { + allowSelfRegistrationUser: boolean; + isNewRegisteredUserActiveByDefault: boolean; + isEmailConfirmationRequiredForLogin: boolean; + smsVerificationEnabled: boolean; + isCookieConsentEnabled: boolean; + maxLoginUserNumber: number; + loginMutex: boolean; + isQuickThemeSelectEnabled: boolean; + captchaConfig: CaptchaConfigSetting; + externalLoginProviders: string[] | undefined; } -export class ExcelImpDtoOfFactoryImportDto implements IExcelImpDtoOfFactoryImportDto { - data: FactoryImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class HttpContent implements IHttpContent { + readonly headers: KeyValuePairOfStringIEnumerableOfString[] | undefined; - constructor(data?: IExcelImpDtoOfFactoryImportDto) { + constructor(data?: IHttpContent) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -57659,79 +88699,57 @@ export class ExcelImpDtoOfFactoryImportDto implements IExcelImpDtoOfFactoryImpor init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(FactoryImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + if (Array.isArray(_data["headers"])) { + (this).headers = [] as any; + for (let item of _data["headers"]) + (this).headers.push(KeyValuePairOfStringIEnumerableOfString.fromJS(item)); } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; } } - static fromJS(data: any): ExcelImpDtoOfFactoryImportDto { + static fromJS(data: any): HttpContent { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfFactoryImportDto(); + let result = new HttpContent(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); + if (Array.isArray(this.headers)) { + data["headers"] = []; + for (let item of this.headers) + data["headers"].push(item.toJSON()); } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; return data; } - clone(): ExcelImpDtoOfFactoryImportDto { + clone(): HttpContent { const json = this.toJSON(); - let result = new ExcelImpDtoOfFactoryImportDto(); + let result = new HttpContent(); result.init(json); return result; } } -export interface IExcelImpDtoOfFactoryImportDto { - data: FactoryImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IHttpContent { + headers: KeyValuePairOfStringIEnumerableOfString[] | undefined; } -export class ExcelImpDtoOfIcsCheckGroupImportDto implements IExcelImpDtoOfIcsCheckGroupImportDto { - data: IcsCheckGroupImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class HttpContext implements IHttpContext { + readonly features: KeyValuePairOfTypeObject[] | undefined; + request: HttpRequest; + response: HttpResponse; + connection: ConnectionInfo; + webSockets: WebSocketManager; + user: ClaimsPrincipal; + items: { [key: string]: any; } | undefined; + requestServices: IServiceProvider; + requestAborted: CancellationToken; + traceIdentifier: string | undefined; + session: ISession; - constructor(data?: IExcelImpDtoOfIcsCheckGroupImportDto) { + constructor(data?: IHttpContext) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -57742,79 +88760,89 @@ export class ExcelImpDtoOfIcsCheckGroupImportDto implements IExcelImpDtoOfIcsChe init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(IcsCheckGroupImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + if (Array.isArray(_data["features"])) { + (this).features = [] as any; + for (let item of _data["features"]) + (this).features.push(KeyValuePairOfTypeObject.fromJS(item)); } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + this.request = _data["request"] ? HttpRequest.fromJS(_data["request"]) : undefined; + this.response = _data["response"] ? HttpResponse.fromJS(_data["response"]) : undefined; + this.connection = _data["connection"] ? ConnectionInfo.fromJS(_data["connection"]) : undefined; + this.webSockets = _data["webSockets"] ? WebSocketManager.fromJS(_data["webSockets"]) : undefined; + this.user = _data["user"] ? ClaimsPrincipal.fromJS(_data["user"]) : undefined; + if (_data["items"]) { + this.items = {} as any; + for (let key in _data["items"]) { + if (_data["items"].hasOwnProperty(key)) + (this.items)[key] = _data["items"][key]; + } } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + this.requestServices = _data["requestServices"] ? IServiceProvider.fromJS(_data["requestServices"]) : undefined; + this.requestAborted = _data["requestAborted"] ? CancellationToken.fromJS(_data["requestAborted"]) : undefined; + this.traceIdentifier = _data["traceIdentifier"]; + this.session = _data["session"] ? ISession.fromJS(_data["session"]) : undefined; } } - static fromJS(data: any): ExcelImpDtoOfIcsCheckGroupImportDto { + static fromJS(data: any): HttpContext { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfIcsCheckGroupImportDto(); + let result = new HttpContext(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); + if (Array.isArray(this.features)) { + data["features"] = []; + for (let item of this.features) + data["features"].push(item.toJSON()); } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); + data["request"] = this.request ? this.request.toJSON() : undefined; + data["response"] = this.response ? this.response.toJSON() : undefined; + data["connection"] = this.connection ? this.connection.toJSON() : undefined; + data["webSockets"] = this.webSockets ? this.webSockets.toJSON() : undefined; + data["user"] = this.user ? this.user.toJSON() : undefined; + if (this.items) { + data["items"] = {}; + for (let key in this.items) { + if (this.items.hasOwnProperty(key)) + (data["items"])[key] = (this.items)[key]; + } } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + data["requestServices"] = this.requestServices ? this.requestServices.toJSON() : undefined; + data["requestAborted"] = this.requestAborted ? this.requestAborted.toJSON() : undefined; + data["traceIdentifier"] = this.traceIdentifier; + data["session"] = this.session ? this.session.toJSON() : undefined; return data; } - clone(): ExcelImpDtoOfIcsCheckGroupImportDto { + clone(): HttpContext { const json = this.toJSON(); - let result = new ExcelImpDtoOfIcsCheckGroupImportDto(); + let result = new HttpContext(); result.init(json); return result; } } -export interface IExcelImpDtoOfIcsCheckGroupImportDto { - data: IcsCheckGroupImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IHttpContext { + features: KeyValuePairOfTypeObject[] | undefined; + request: HttpRequest; + response: HttpResponse; + connection: ConnectionInfo; + webSockets: WebSocketManager; + user: ClaimsPrincipal; + items: { [key: string]: any; } | undefined; + requestServices: IServiceProvider; + requestAborted: CancellationToken; + traceIdentifier: string | undefined; + session: ISession; } -export class ExcelImpDtoOfIcsCheckItemImportDto implements IExcelImpDtoOfIcsCheckItemImportDto { - data: IcsCheckItemImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class HttpMethod implements IHttpMethod { + method: string | undefined; - constructor(data?: IExcelImpDtoOfIcsCheckItemImportDto) { + constructor(data?: IHttpMethod) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -57822,82 +88850,60 @@ export class ExcelImpDtoOfIcsCheckItemImportDto implements IExcelImpDtoOfIcsChec } } } - - init(_data?: any) { - if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(IcsCheckItemImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); - } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + + init(_data?: any) { + if (_data) { + this.method = _data["method"]; } } - static fromJS(data: any): ExcelImpDtoOfIcsCheckItemImportDto { + static fromJS(data: any): HttpMethod { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfIcsCheckItemImportDto(); + let result = new HttpMethod(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); - } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + data["method"] = this.method; return data; } - clone(): ExcelImpDtoOfIcsCheckItemImportDto { + clone(): HttpMethod { const json = this.toJSON(); - let result = new ExcelImpDtoOfIcsCheckItemImportDto(); + let result = new HttpMethod(); result.init(json); return result; } } -export interface IExcelImpDtoOfIcsCheckItemImportDto { - data: IcsCheckItemImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IHttpMethod { + method: string | undefined; } -export class ExcelImpDtoOfIcsInventoryImportDto implements IExcelImpDtoOfIcsInventoryImportDto { - data: IcsInventoryImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class HttpRequest implements IHttpRequest { + httpContext: HttpContext; + method: string | undefined; + scheme: string | undefined; + isHttps: boolean; + host: HostString; + pathBase: string; + path: string; + queryString: QueryString; + query: KeyValuePairOfStringStringValues[] | undefined; + protocol: string | undefined; + readonly headers: { [key: string]: string[]; } | undefined; + cookies: KeyValuePairOfStringString[] | undefined; + contentLength: number | undefined; + contentType: string | undefined; + body: Stream; + bodyReader: PipeReader; + readonly hasFormContentType: boolean; + form: KeyValuePairOfStringStringValues[] | undefined; + routeValues: { [key: string]: any; } | undefined; - constructor(data?: IExcelImpDtoOfIcsInventoryImportDto) { + constructor(data?: IHttpRequest) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -57908,79 +88914,148 @@ export class ExcelImpDtoOfIcsInventoryImportDto implements IExcelImpDtoOfIcsInve init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(IcsInventoryImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + this.httpContext = _data["httpContext"] ? HttpContext.fromJS(_data["httpContext"]) : undefined; + this.method = _data["method"]; + this.scheme = _data["scheme"]; + this.isHttps = _data["isHttps"]; + this.host = _data["host"] ? HostString.fromJS(_data["host"]) : undefined; + this.pathBase = _data["pathBase"]; + this.path = _data["path"]; + this.queryString = _data["queryString"] ? QueryString.fromJS(_data["queryString"]) : undefined; + if (Array.isArray(_data["query"])) { + this.query = [] as any; + for (let item of _data["query"]) + this.query.push(KeyValuePairOfStringStringValues.fromJS(item)); + } + this.protocol = _data["protocol"]; + if (_data["headers"]) { + (this).headers = {} as any; + for (let key in _data["headers"]) { + if (_data["headers"].hasOwnProperty(key)) + ((this).headers)[key] = _data["headers"][key] !== undefined ? _data["headers"][key] : []; + } + } + if (Array.isArray(_data["cookies"])) { + this.cookies = [] as any; + for (let item of _data["cookies"]) + this.cookies.push(KeyValuePairOfStringString.fromJS(item)); + } + this.contentLength = _data["contentLength"]; + this.contentType = _data["contentType"]; + this.body = _data["body"] ? Stream.fromJS(_data["body"]) : undefined; + this.bodyReader = _data["bodyReader"] ? PipeReader.fromJS(_data["bodyReader"]) : undefined; + (this).hasFormContentType = _data["hasFormContentType"]; + if (Array.isArray(_data["form"])) { + this.form = [] as any; + for (let item of _data["form"]) + this.form.push(KeyValuePairOfStringStringValues.fromJS(item)); } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + if (_data["routeValues"]) { + this.routeValues = {} as any; + for (let key in _data["routeValues"]) { + if (_data["routeValues"].hasOwnProperty(key)) + (this.routeValues)[key] = _data["routeValues"][key]; + } } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; } } - static fromJS(data: any): ExcelImpDtoOfIcsInventoryImportDto { + static fromJS(data: any): HttpRequest { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfIcsInventoryImportDto(); + let result = new HttpRequest(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); + data["httpContext"] = this.httpContext ? this.httpContext.toJSON() : undefined; + data["method"] = this.method; + data["scheme"] = this.scheme; + data["isHttps"] = this.isHttps; + data["host"] = this.host ? this.host.toJSON() : undefined; + data["pathBase"] = this.pathBase; + data["path"] = this.path; + data["queryString"] = this.queryString ? this.queryString.toJSON() : undefined; + if (Array.isArray(this.query)) { + data["query"] = []; + for (let item of this.query) + data["query"].push(item.toJSON()); + } + data["protocol"] = this.protocol; + if (this.headers) { + data["headers"] = {}; + for (let key in this.headers) { + if (this.headers.hasOwnProperty(key)) + (data["headers"])[key] = (this.headers)[key]; + } + } + if (Array.isArray(this.cookies)) { + data["cookies"] = []; + for (let item of this.cookies) + data["cookies"].push(item.toJSON()); + } + data["contentLength"] = this.contentLength; + data["contentType"] = this.contentType; + data["body"] = this.body ? this.body.toJSON() : undefined; + data["bodyReader"] = this.bodyReader ? this.bodyReader.toJSON() : undefined; + data["hasFormContentType"] = this.hasFormContentType; + if (Array.isArray(this.form)) { + data["form"] = []; + for (let item of this.form) + data["form"].push(item.toJSON()); } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); + if (this.routeValues) { + data["routeValues"] = {}; + for (let key in this.routeValues) { + if (this.routeValues.hasOwnProperty(key)) + (data["routeValues"])[key] = (this.routeValues)[key]; + } } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; return data; } - clone(): ExcelImpDtoOfIcsInventoryImportDto { + clone(): HttpRequest { const json = this.toJSON(); - let result = new ExcelImpDtoOfIcsInventoryImportDto(); + let result = new HttpRequest(); result.init(json); return result; } } -export interface IExcelImpDtoOfIcsInventoryImportDto { - data: IcsInventoryImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IHttpRequest { + httpContext: HttpContext; + method: string | undefined; + scheme: string | undefined; + isHttps: boolean; + host: HostString; + pathBase: string; + path: string; + queryString: QueryString; + query: KeyValuePairOfStringStringValues[] | undefined; + protocol: string | undefined; + headers: { [key: string]: string[]; } | undefined; + cookies: KeyValuePairOfStringString[] | undefined; + contentLength: number | undefined; + contentType: string | undefined; + body: Stream; + bodyReader: PipeReader; + hasFormContentType: boolean; + form: KeyValuePairOfStringStringValues[] | undefined; + routeValues: { [key: string]: any; } | undefined; } -export class ExcelImpDtoOfIcsMainCategoryCodeImportDto implements IExcelImpDtoOfIcsMainCategoryCodeImportDto { - data: IcsMainCategoryCodeImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class HttpRequestMessage implements IHttpRequestMessage { + version: string | undefined; + versionPolicy: HttpVersionPolicy; + content: HttpContent; + method: HttpMethod; + requestUri: string | undefined; + readonly headers: KeyValuePairOfStringIEnumerableOfString[] | undefined; + readonly properties: { [key: string]: any; } | undefined; + readonly options: { [key: string]: any; } | undefined; - constructor(data?: IExcelImpDtoOfIcsMainCategoryCodeImportDto) { + constructor(data?: IHttpRequestMessage) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -57991,79 +89066,100 @@ export class ExcelImpDtoOfIcsMainCategoryCodeImportDto implements IExcelImpDtoOf init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(IcsMainCategoryCodeImportDto.fromJS(item)); + this.version = _data["version"]; + this.versionPolicy = _data["versionPolicy"]; + this.content = _data["content"] ? HttpContent.fromJS(_data["content"]) : undefined; + this.method = _data["method"] ? HttpMethod.fromJS(_data["method"]) : undefined; + this.requestUri = _data["requestUri"]; + if (Array.isArray(_data["headers"])) { + (this).headers = [] as any; + for (let item of _data["headers"]) + (this).headers.push(KeyValuePairOfStringIEnumerableOfString.fromJS(item)); } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + if (_data["properties"]) { + (this).properties = {} as any; + for (let key in _data["properties"]) { + if (_data["properties"].hasOwnProperty(key)) + ((this).properties)[key] = _data["properties"][key]; + } } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + if (_data["options"]) { + (this).options = {} as any; + for (let key in _data["options"]) { + if (_data["options"].hasOwnProperty(key)) + ((this).options)[key] = _data["options"][key]; + } } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; } } - static fromJS(data: any): ExcelImpDtoOfIcsMainCategoryCodeImportDto { + static fromJS(data: any): HttpRequestMessage { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfIcsMainCategoryCodeImportDto(); + let result = new HttpRequestMessage(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); + data["version"] = this.version; + data["versionPolicy"] = this.versionPolicy; + data["content"] = this.content ? this.content.toJSON() : undefined; + data["method"] = this.method ? this.method.toJSON() : undefined; + data["requestUri"] = this.requestUri; + if (Array.isArray(this.headers)) { + data["headers"] = []; + for (let item of this.headers) + data["headers"].push(item.toJSON()); } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); + if (this.properties) { + data["properties"] = {}; + for (let key in this.properties) { + if (this.properties.hasOwnProperty(key)) + (data["properties"])[key] = (this.properties)[key]; + } } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); + if (this.options) { + data["options"] = {}; + for (let key in this.options) { + if (this.options.hasOwnProperty(key)) + (data["options"])[key] = (this.options)[key]; + } } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; return data; } - clone(): ExcelImpDtoOfIcsMainCategoryCodeImportDto { + clone(): HttpRequestMessage { const json = this.toJSON(); - let result = new ExcelImpDtoOfIcsMainCategoryCodeImportDto(); + let result = new HttpRequestMessage(); result.init(json); return result; } } -export interface IExcelImpDtoOfIcsMainCategoryCodeImportDto { - data: IcsMainCategoryCodeImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IHttpRequestMessage { + version: string | undefined; + versionPolicy: HttpVersionPolicy; + content: HttpContent; + method: HttpMethod; + requestUri: string | undefined; + headers: KeyValuePairOfStringIEnumerableOfString[] | undefined; + properties: { [key: string]: any; } | undefined; + options: { [key: string]: any; } | undefined; } -export class ExcelImpDtoOfIcsMoImportDto implements IExcelImpDtoOfIcsMoImportDto { - data: IcsMoImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class HttpResponse implements IHttpResponse { + httpContext: HttpContext; + statusCode: number; + readonly headers: { [key: string]: string[]; } | undefined; + body: Stream; + bodyWriter: PipeWriter; + contentLength: number | undefined; + contentType: string | undefined; + cookies: IResponseCookies; + readonly hasStarted: boolean; - constructor(data?: IExcelImpDtoOfIcsMoImportDto) { + constructor(data?: IHttpResponse) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -58074,79 +89170,82 @@ export class ExcelImpDtoOfIcsMoImportDto implements IExcelImpDtoOfIcsMoImportDto init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(IcsMoImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + this.httpContext = _data["httpContext"] ? HttpContext.fromJS(_data["httpContext"]) : undefined; + this.statusCode = _data["statusCode"]; + if (_data["headers"]) { + (this).headers = {} as any; + for (let key in _data["headers"]) { + if (_data["headers"].hasOwnProperty(key)) + ((this).headers)[key] = _data["headers"][key] !== undefined ? _data["headers"][key] : []; + } } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + this.body = _data["body"] ? Stream.fromJS(_data["body"]) : undefined; + this.bodyWriter = _data["bodyWriter"] ? PipeWriter.fromJS(_data["bodyWriter"]) : undefined; + this.contentLength = _data["contentLength"]; + this.contentType = _data["contentType"]; + this.cookies = _data["cookies"] ? IResponseCookies.fromJS(_data["cookies"]) : undefined; + (this).hasStarted = _data["hasStarted"]; } } - static fromJS(data: any): ExcelImpDtoOfIcsMoImportDto { + static fromJS(data: any): HttpResponse { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfIcsMoImportDto(); + let result = new HttpResponse(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); + data["httpContext"] = this.httpContext ? this.httpContext.toJSON() : undefined; + data["statusCode"] = this.statusCode; + if (this.headers) { + data["headers"] = {}; + for (let key in this.headers) { + if (this.headers.hasOwnProperty(key)) + (data["headers"])[key] = (this.headers)[key]; + } } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + data["body"] = this.body ? this.body.toJSON() : undefined; + data["bodyWriter"] = this.bodyWriter ? this.bodyWriter.toJSON() : undefined; + data["contentLength"] = this.contentLength; + data["contentType"] = this.contentType; + data["cookies"] = this.cookies ? this.cookies.toJSON() : undefined; + data["hasStarted"] = this.hasStarted; return data; } - clone(): ExcelImpDtoOfIcsMoImportDto { + clone(): HttpResponse { const json = this.toJSON(); - let result = new ExcelImpDtoOfIcsMoImportDto(); + let result = new HttpResponse(); result.init(json); return result; } } -export interface IExcelImpDtoOfIcsMoImportDto { - data: IcsMoImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IHttpResponse { + httpContext: HttpContext; + statusCode: number; + headers: { [key: string]: string[]; } | undefined; + body: Stream; + bodyWriter: PipeWriter; + contentLength: number | undefined; + contentType: string | undefined; + cookies: IResponseCookies; + hasStarted: boolean; } -export class ExcelImpDtoOfIcsOPImportDto implements IExcelImpDtoOfIcsOPImportDto { - data: IcsOPImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class HttpResponseMessage implements IHttpResponseMessage { + version: string | undefined; + content: HttpContent; + statusCode: HttpStatusCode; + reasonPhrase: string | undefined; + readonly headers: KeyValuePairOfStringIEnumerableOfString[] | undefined; + readonly trailingHeaders: KeyValuePairOfStringIEnumerableOfString[] | undefined; + requestMessage: HttpRequestMessage; + readonly isSuccessStatusCode: boolean; - constructor(data?: IExcelImpDtoOfIcsOPImportDto) { + constructor(data?: IHttpResponseMessage) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -58157,79 +89256,148 @@ export class ExcelImpDtoOfIcsOPImportDto implements IExcelImpDtoOfIcsOPImportDto init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(IcsOPImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); + this.version = _data["version"]; + this.content = _data["content"] ? HttpContent.fromJS(_data["content"]) : undefined; + this.statusCode = _data["statusCode"]; + this.reasonPhrase = _data["reasonPhrase"]; + if (Array.isArray(_data["headers"])) { + (this).headers = [] as any; + for (let item of _data["headers"]) + (this).headers.push(KeyValuePairOfStringIEnumerableOfString.fromJS(item)); } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + if (Array.isArray(_data["trailingHeaders"])) { + (this).trailingHeaders = [] as any; + for (let item of _data["trailingHeaders"]) + (this).trailingHeaders.push(KeyValuePairOfStringIEnumerableOfString.fromJS(item)); } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + this.requestMessage = _data["requestMessage"] ? HttpRequestMessage.fromJS(_data["requestMessage"]) : undefined; + (this).isSuccessStatusCode = _data["isSuccessStatusCode"]; } } - static fromJS(data: any): ExcelImpDtoOfIcsOPImportDto { + static fromJS(data: any): HttpResponseMessage { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfIcsOPImportDto(); + let result = new HttpResponseMessage(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); + data["version"] = this.version; + data["content"] = this.content ? this.content.toJSON() : undefined; + data["statusCode"] = this.statusCode; + data["reasonPhrase"] = this.reasonPhrase; + if (Array.isArray(this.headers)) { + data["headers"] = []; + for (let item of this.headers) + data["headers"].push(item.toJSON()); } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); + if (Array.isArray(this.trailingHeaders)) { + data["trailingHeaders"] = []; + for (let item of this.trailingHeaders) + data["trailingHeaders"].push(item.toJSON()); } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + data["requestMessage"] = this.requestMessage ? this.requestMessage.toJSON() : undefined; + data["isSuccessStatusCode"] = this.isSuccessStatusCode; return data; } - clone(): ExcelImpDtoOfIcsOPImportDto { + clone(): HttpResponseMessage { const json = this.toJSON(); - let result = new ExcelImpDtoOfIcsOPImportDto(); + let result = new HttpResponseMessage(); result.init(json); return result; } } -export interface IExcelImpDtoOfIcsOPImportDto { - data: IcsOPImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IHttpResponseMessage { + version: string | undefined; + content: HttpContent; + statusCode: HttpStatusCode; + reasonPhrase: string | undefined; + headers: KeyValuePairOfStringIEnumerableOfString[] | undefined; + trailingHeaders: KeyValuePairOfStringIEnumerableOfString[] | undefined; + requestMessage: HttpRequestMessage; + isSuccessStatusCode: boolean; } -export class ExcelImpDtoOfIcsRouteImportDto implements IExcelImpDtoOfIcsRouteImportDto { - data: IcsRouteImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export enum HttpStatusCode { + Continue = "Continue", + SwitchingProtocols = "SwitchingProtocols", + Processing = "Processing", + EarlyHints = "EarlyHints", + OK = "OK", + Created = "Created", + Accepted = "Accepted", + NonAuthoritativeInformation = "NonAuthoritativeInformation", + NoContent = "NoContent", + ResetContent = "ResetContent", + PartialContent = "PartialContent", + MultiStatus = "MultiStatus", + AlreadyReported = "AlreadyReported", + IMUsed = "IMUsed", + MultipleChoices = "Ambiguous", + Ambiguous = "Moved", + MovedPermanently = "Redirect", + Moved = "RedirectMethod", + Found = "NotModified", + Redirect = "UseProxy", + SeeOther = "Unused", + RedirectMethod = "TemporaryRedirect", + NotModified = "PermanentRedirect", + UseProxy = "BadRequest", + Unused = "Unauthorized", + TemporaryRedirect = "PaymentRequired", + RedirectKeepVerb = "Forbidden", + PermanentRedirect = "NotFound", + BadRequest = "MethodNotAllowed", + Unauthorized = "NotAcceptable", + PaymentRequired = "ProxyAuthenticationRequired", + Forbidden = "RequestTimeout", + NotFound = "Conflict", + MethodNotAllowed = "Gone", + NotAcceptable = "LengthRequired", + ProxyAuthenticationRequired = "PreconditionFailed", + RequestTimeout = "RequestEntityTooLarge", + Conflict = "RequestUriTooLong", + Gone = "UnsupportedMediaType", + LengthRequired = "RequestedRangeNotSatisfiable", + PreconditionFailed = "ExpectationFailed", + RequestEntityTooLarge = "MisdirectedRequest", + RequestUriTooLong = "UnprocessableEntity", + UnsupportedMediaType = "Locked", + RequestedRangeNotSatisfiable = "FailedDependency", + ExpectationFailed = "UpgradeRequired", + MisdirectedRequest = "PreconditionRequired", + UnprocessableEntity = "TooManyRequests", + Locked = "RequestHeaderFieldsTooLarge", + FailedDependency = "UnavailableForLegalReasons", + UpgradeRequired = "InternalServerError", + PreconditionRequired = "NotImplemented", + TooManyRequests = "BadGateway", + RequestHeaderFieldsTooLarge = "ServiceUnavailable", + UnavailableForLegalReasons = "GatewayTimeout", + InternalServerError = "HttpVersionNotSupported", + NotImplemented = "VariantAlsoNegotiates", + BadGateway = "InsufficientStorage", + ServiceUnavailable = "LoopDetected", + GatewayTimeout = "NotExtended", + HttpVersionNotSupported = "NetworkAuthenticationRequired", +} - constructor(data?: IExcelImpDtoOfIcsRouteImportDto) { +export enum HttpVersionPolicy { + RequestVersionOrLower = "RequestVersionOrLower", + RequestVersionOrHigher = "RequestVersionOrHigher", + RequestVersionExact = "RequestVersionExact", +} + +export class IIdentity implements IIIdentity { + readonly name: string | undefined; + readonly authenticationType: string | undefined; + readonly isAuthenticated: boolean; + + constructor(data?: IIIdentity) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -58240,79 +89408,53 @@ export class ExcelImpDtoOfIcsRouteImportDto implements IExcelImpDtoOfIcsRouteImp init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(IcsRouteImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); - } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + (this).name = _data["name"]; + (this).authenticationType = _data["authenticationType"]; + (this).isAuthenticated = _data["isAuthenticated"]; } } - static fromJS(data: any): ExcelImpDtoOfIcsRouteImportDto { + static fromJS(data: any): IIdentity { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfIcsRouteImportDto(); + let result = new IIdentity(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); - } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + data["name"] = this.name; + data["authenticationType"] = this.authenticationType; + data["isAuthenticated"] = this.isAuthenticated; return data; } - clone(): ExcelImpDtoOfIcsRouteImportDto { + clone(): IIdentity { const json = this.toJSON(); - let result = new ExcelImpDtoOfIcsRouteImportDto(); + let result = new IIdentity(); result.init(json); return result; } } -export interface IExcelImpDtoOfIcsRouteImportDto { - data: IcsRouteImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IIIdentity { + name: string | undefined; + authenticationType: string | undefined; + isAuthenticated: boolean; } -export class ExcelImpDtoOfIcsShiftImportDto implements IExcelImpDtoOfIcsShiftImportDto { - data: IcsShiftImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class IPAddress implements IIPAddress { + addressFamily: AddressFamily; + scopeId: number; + readonly isIPv6Multicast: boolean; + readonly isIPv6LinkLocal: boolean; + readonly isIPv6SiteLocal: boolean; + readonly isIPv6Teredo: boolean; + readonly isIPv6UniqueLocal: boolean; + readonly isIPv4MappedToIPv6: boolean; + address: number; - constructor(data?: IExcelImpDtoOfIcsShiftImportDto) { + constructor(data?: IIPAddress) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -58323,79 +89465,62 @@ export class ExcelImpDtoOfIcsShiftImportDto implements IExcelImpDtoOfIcsShiftImp init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(IcsShiftImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); - } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + this.addressFamily = _data["addressFamily"]; + this.scopeId = _data["scopeId"]; + (this).isIPv6Multicast = _data["isIPv6Multicast"]; + (this).isIPv6LinkLocal = _data["isIPv6LinkLocal"]; + (this).isIPv6SiteLocal = _data["isIPv6SiteLocal"]; + (this).isIPv6Teredo = _data["isIPv6Teredo"]; + (this).isIPv6UniqueLocal = _data["isIPv6UniqueLocal"]; + (this).isIPv4MappedToIPv6 = _data["isIPv4MappedToIPv6"]; + this.address = _data["address"]; } } - static fromJS(data: any): ExcelImpDtoOfIcsShiftImportDto { + static fromJS(data: any): IPAddress { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfIcsShiftImportDto(); + let result = new IPAddress(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); - } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + data["addressFamily"] = this.addressFamily; + data["scopeId"] = this.scopeId; + data["isIPv6Multicast"] = this.isIPv6Multicast; + data["isIPv6LinkLocal"] = this.isIPv6LinkLocal; + data["isIPv6SiteLocal"] = this.isIPv6SiteLocal; + data["isIPv6Teredo"] = this.isIPv6Teredo; + data["isIPv6UniqueLocal"] = this.isIPv6UniqueLocal; + data["isIPv4MappedToIPv6"] = this.isIPv4MappedToIPv6; + data["address"] = this.address; return data; } - clone(): ExcelImpDtoOfIcsShiftImportDto { + clone(): IPAddress { const json = this.toJSON(); - let result = new ExcelImpDtoOfIcsShiftImportDto(); + let result = new IPAddress(); result.init(json); return result; } } -export interface IExcelImpDtoOfIcsShiftImportDto { - data: IcsShiftImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IIPAddress { + addressFamily: AddressFamily; + scopeId: number; + isIPv6Multicast: boolean; + isIPv6LinkLocal: boolean; + isIPv6SiteLocal: boolean; + isIPv6Teredo: boolean; + isIPv6UniqueLocal: boolean; + isIPv4MappedToIPv6: boolean; + address: number; } -export class ExcelImpDtoOfIcsShiftTypeImportDto implements IExcelImpDtoOfIcsShiftTypeImportDto { - data: IcsShiftTypeImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class IResponseCookies implements IIResponseCookies { - constructor(data?: IExcelImpDtoOfIcsShiftTypeImportDto) { + constructor(data?: IIResponseCookies) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -58405,80 +89530,34 @@ export class ExcelImpDtoOfIcsShiftTypeImportDto implements IExcelImpDtoOfIcsShif } init(_data?: any) { - if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(IcsShiftTypeImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); - } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; - } } - static fromJS(data: any): ExcelImpDtoOfIcsShiftTypeImportDto { + static fromJS(data: any): IResponseCookies { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfIcsShiftTypeImportDto(); + let result = new IResponseCookies(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); - } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; return data; } - clone(): ExcelImpDtoOfIcsShiftTypeImportDto { + clone(): IResponseCookies { const json = this.toJSON(); - let result = new ExcelImpDtoOfIcsShiftTypeImportDto(); + let result = new IResponseCookies(); result.init(json); return result; } } -export interface IExcelImpDtoOfIcsShiftTypeImportDto { - data: IcsShiftTypeImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IIResponseCookies { } -export class ExcelImpDtoOfIcsStandardWhoursImportDto implements IExcelImpDtoOfIcsStandardWhoursImportDto { - data: IcsStandardWhoursImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class IServiceProvider implements IIServiceProvider { - constructor(data?: IExcelImpDtoOfIcsStandardWhoursImportDto) { + constructor(data?: IIServiceProvider) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -58488,80 +89567,37 @@ export class ExcelImpDtoOfIcsStandardWhoursImportDto implements IExcelImpDtoOfIc } init(_data?: any) { - if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(IcsStandardWhoursImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); - } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; - } } - static fromJS(data: any): ExcelImpDtoOfIcsStandardWhoursImportDto { + static fromJS(data: any): IServiceProvider { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfIcsStandardWhoursImportDto(); + let result = new IServiceProvider(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); - } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; return data; } - clone(): ExcelImpDtoOfIcsStandardWhoursImportDto { + clone(): IServiceProvider { const json = this.toJSON(); - let result = new ExcelImpDtoOfIcsStandardWhoursImportDto(); + let result = new IServiceProvider(); result.init(json); return result; } } -export interface IExcelImpDtoOfIcsStandardWhoursImportDto { - data: IcsStandardWhoursImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IIServiceProvider { } -export class ExcelImpDtoOfIcsTpImportDto implements IExcelImpDtoOfIcsTpImportDto { - data: IcsTpImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class ISession implements IISession { + readonly isAvailable: boolean; + readonly id: string | undefined; + readonly keys: string[] | undefined; - constructor(data?: IExcelImpDtoOfIcsTpImportDto) { + constructor(data?: IISession) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -58572,79 +89608,54 @@ export class ExcelImpDtoOfIcsTpImportDto implements IExcelImpDtoOfIcsTpImportDto init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(IcsTpImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + (this).isAvailable = _data["isAvailable"]; + (this).id = _data["id"]; + if (Array.isArray(_data["keys"])) { + (this).keys = [] as any; + for (let item of _data["keys"]) + (this).keys.push(item); } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; } } - static fromJS(data: any): ExcelImpDtoOfIcsTpImportDto { + static fromJS(data: any): ISession { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfIcsTpImportDto(); + let result = new ISession(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); + data["isAvailable"] = this.isAvailable; + data["id"] = this.id; + if (Array.isArray(this.keys)) { + data["keys"] = []; + for (let item of this.keys) + data["keys"].push(item); } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; return data; } - clone(): ExcelImpDtoOfIcsTpImportDto { + clone(): ISession { const json = this.toJSON(); - let result = new ExcelImpDtoOfIcsTpImportDto(); + let result = new ISession(); result.init(json); return result; } } -export interface IExcelImpDtoOfIcsTpImportDto { - data: IcsTpImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IISession { + isAvailable: boolean; + id: string | undefined; + keys: string[] | undefined; } -export class ExcelImpDtoOfItemModel2CheckGroupImportDto implements IExcelImpDtoOfItemModel2CheckGroupImportDto { - data: ItemModel2CheckGroupImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class IValueValidator implements IIValueValidator { + readonly name: string | undefined; + readonly attributes: { [key: string]: any; } | undefined; - constructor(data?: IExcelImpDtoOfItemModel2CheckGroupImportDto) { + constructor(data?: IIValueValidator) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -58655,79 +89666,82 @@ export class ExcelImpDtoOfItemModel2CheckGroupImportDto implements IExcelImpDtoO init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(ItemModel2CheckGroupImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + (this).name = _data["name"]; + if (_data["attributes"]) { + (this).attributes = {} as any; + for (let key in _data["attributes"]) { + if (_data["attributes"].hasOwnProperty(key)) + ((this).attributes)[key] = _data["attributes"][key]; + } } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; } } - static fromJS(data: any): ExcelImpDtoOfItemModel2CheckGroupImportDto { + static fromJS(data: any): IValueValidator { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfItemModel2CheckGroupImportDto(); + let result = new IValueValidator(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); + data["name"] = this.name; + if (this.attributes) { + data["attributes"] = {}; + for (let key in this.attributes) { + if (this.attributes.hasOwnProperty(key)) + (data["attributes"])[key] = (this.attributes)[key]; + } } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; return data; } - clone(): ExcelImpDtoOfItemModel2CheckGroupImportDto { + clone(): IValueValidator { const json = this.toJSON(); - let result = new ExcelImpDtoOfItemModel2CheckGroupImportDto(); + let result = new IValueValidator(); result.init(json); return result; } } -export interface IExcelImpDtoOfItemModel2CheckGroupImportDto { - data: ItemModel2CheckGroupImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IIValueValidator { + name: string | undefined; + attributes: { [key: string]: any; } | undefined; } -export class ExcelImpDtoOfMCImportDto implements IExcelImpDtoOfMCImportDto { - data: MCImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class IcsAql2ItemModelDto implements IIcsAql2ItemModelDto { + key: string | undefined; + aqlSeq: number; + aqlLevel: string | undefined; + aqlDesc: string | undefined; + itemModel: string | undefined; + itemModelName: string | undefined; + lotSizeMin: number; + lotSizeMax: number; + sampleSize: number; + rejectSize: number; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + list: IcsAql2ItemModelDto[] | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IExcelImpDtoOfMCImportDto) { + constructor(data?: IIcsAql2ItemModelDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -58738,79 +89752,150 @@ export class ExcelImpDtoOfMCImportDto implements IExcelImpDtoOfMCImportDto { init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(MCImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); + this.key = _data["key"]; + this.aqlSeq = _data["aqlSeq"]; + this.aqlLevel = _data["aqlLevel"]; + this.aqlDesc = _data["aqlDesc"]; + this.itemModel = _data["itemModel"]; + this.itemModelName = _data["itemModelName"]; + this.lotSizeMin = _data["lotSizeMin"]; + this.lotSizeMax = _data["lotSizeMax"]; + this.sampleSize = _data["sampleSize"]; + this.rejectSize = _data["rejectSize"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + if (Array.isArray(_data["list"])) { + this.list = [] as any; + for (let item of _data["list"]) + this.list.push(IcsAql2ItemModelDto.fromJS(item)); } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): ExcelImpDtoOfMCImportDto { + static fromJS(data: any): IcsAql2ItemModelDto { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfMCImportDto(); + let result = new IcsAql2ItemModelDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); + data["key"] = this.key; + data["aqlSeq"] = this.aqlSeq; + data["aqlLevel"] = this.aqlLevel; + data["aqlDesc"] = this.aqlDesc; + data["itemModel"] = this.itemModel; + data["itemModelName"] = this.itemModelName; + data["lotSizeMin"] = this.lotSizeMin; + data["lotSizeMax"] = this.lotSizeMax; + data["sampleSize"] = this.sampleSize; + data["rejectSize"] = this.rejectSize; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + if (Array.isArray(this.list)) { + data["list"] = []; + for (let item of this.list) + data["list"].push(item.toJSON()); } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): ExcelImpDtoOfMCImportDto { + clone(): IcsAql2ItemModelDto { const json = this.toJSON(); - let result = new ExcelImpDtoOfMCImportDto(); + let result = new IcsAql2ItemModelDto(); result.init(json); return result; } } -export interface IExcelImpDtoOfMCImportDto { - data: MCImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IIcsAql2ItemModelDto { + key: string | undefined; + aqlSeq: number; + aqlLevel: string | undefined; + aqlDesc: string | undefined; + itemModel: string | undefined; + itemModelName: string | undefined; + lotSizeMin: number; + lotSizeMax: number; + sampleSize: number; + rejectSize: number; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + list: IcsAql2ItemModelDto[] | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class ExcelImpDtoOfResImportDto implements IExcelImpDtoOfResImportDto { - data: ResImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class IcsAqlEditDto implements IIcsAqlEditDto { + key: string | undefined; + id: number | undefined; + aqlSeq: number; + aqlLevel: string | undefined; + aqlDesc: string | undefined; + lotSizeMin: number; + lotSizeMax: number; + sampleSize: number; + rejectSize: number; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IExcelImpDtoOfResImportDto) { + constructor(data?: IIcsAqlEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -58821,79 +89906,121 @@ export class ExcelImpDtoOfResImportDto implements IExcelImpDtoOfResImportDto { init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(ResImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); - } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + this.key = _data["key"]; + this.id = _data["id"]; + this.aqlSeq = _data["aqlSeq"]; + this.aqlLevel = _data["aqlLevel"]; + this.aqlDesc = _data["aqlDesc"]; + this.lotSizeMin = _data["lotSizeMin"]; + this.lotSizeMax = _data["lotSizeMax"]; + this.sampleSize = _data["sampleSize"]; + this.rejectSize = _data["rejectSize"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): ExcelImpDtoOfResImportDto { + static fromJS(data: any): IcsAqlEditDto { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfResImportDto(); + let result = new IcsAqlEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); - } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + data["key"] = this.key; + data["id"] = this.id; + data["aqlSeq"] = this.aqlSeq; + data["aqlLevel"] = this.aqlLevel; + data["aqlDesc"] = this.aqlDesc; + data["lotSizeMin"] = this.lotSizeMin; + data["lotSizeMax"] = this.lotSizeMax; + data["sampleSize"] = this.sampleSize; + data["rejectSize"] = this.rejectSize; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): ExcelImpDtoOfResImportDto { + clone(): IcsAqlEditDto { const json = this.toJSON(); - let result = new ExcelImpDtoOfResImportDto(); + let result = new IcsAqlEditDto(); result.init(json); return result; } } -export interface IExcelImpDtoOfResImportDto { - data: ResImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IIcsAqlEditDto { + key: string | undefined; + id: number | undefined; + aqlSeq: number; + aqlLevel: string | undefined; + aqlDesc: string | undefined; + lotSizeMin: number; + lotSizeMax: number; + sampleSize: number; + rejectSize: number; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class ExcelImpDtoOfSSImportDto implements IExcelImpDtoOfSSImportDto { - data: SSImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class IcsAqlListDto implements IIcsAqlListDto { + key: string | undefined; + aqlSeq: number; + aqlLevel: string | undefined; + aqlDesc: string | undefined; + lotSizeMin: number; + lotSizeMax: number; + sampleSize: number; + rejectSize: number; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IExcelImpDtoOfSSImportDto) { + constructor(data?: IIcsAqlListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -58904,79 +90031,140 @@ export class ExcelImpDtoOfSSImportDto implements IExcelImpDtoOfSSImportDto { init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(SSImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); - } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + this.key = _data["key"]; + this.aqlSeq = _data["aqlSeq"]; + this.aqlLevel = _data["aqlLevel"]; + this.aqlDesc = _data["aqlDesc"]; + this.lotSizeMin = _data["lotSizeMin"]; + this.lotSizeMax = _data["lotSizeMax"]; + this.sampleSize = _data["sampleSize"]; + this.rejectSize = _data["rejectSize"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): ExcelImpDtoOfSSImportDto { + static fromJS(data: any): IcsAqlListDto { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfSSImportDto(); + let result = new IcsAqlListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); - } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + data["key"] = this.key; + data["aqlSeq"] = this.aqlSeq; + data["aqlLevel"] = this.aqlLevel; + data["aqlDesc"] = this.aqlDesc; + data["lotSizeMin"] = this.lotSizeMin; + data["lotSizeMax"] = this.lotSizeMax; + data["sampleSize"] = this.sampleSize; + data["rejectSize"] = this.rejectSize; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): ExcelImpDtoOfSSImportDto { + clone(): IcsAqlListDto { const json = this.toJSON(); - let result = new ExcelImpDtoOfSSImportDto(); + let result = new IcsAqlListDto(); result.init(json); return result; } } -export interface IExcelImpDtoOfSSImportDto { - data: SSImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IIcsAqlListDto { + key: string | undefined; + aqlSeq: number; + aqlLevel: string | undefined; + aqlDesc: string | undefined; + lotSizeMin: number; + lotSizeMax: number; + sampleSize: number; + rejectSize: number; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class ExcelImpDtoOfSegImportDto implements IExcelImpDtoOfSegImportDto { - data: SegImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class IcsArmorplateEditDto implements IIcsArmorplateEditDto { + id: number | undefined; + armorplateCode: string; + bpCode: string; + version: string; + thicness: number; + usedTimes: number; + status: string; + manufacturersn: string | undefined; + lbrate: number; + usedFace: string | undefined; + tensionA: number; + tensionB: number; + tensionC: number; + tensionD: number; + tensionE: number; + infactoryDate: moment.Moment | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IExcelImpDtoOfSegImportDto) { + constructor(data?: IIcsArmorplateEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -58987,79 +90175,132 @@ export class ExcelImpDtoOfSegImportDto implements IExcelImpDtoOfSegImportDto { init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(SegImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); - } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + this.id = _data["id"]; + this.armorplateCode = _data["armorplateCode"]; + this.bpCode = _data["bpCode"]; + this.version = _data["version"]; + this.thicness = _data["thicness"]; + this.usedTimes = _data["usedTimes"]; + this.status = _data["status"]; + this.manufacturersn = _data["manufacturersn"]; + this.lbrate = _data["lbrate"]; + this.usedFace = _data["usedFace"]; + this.tensionA = _data["tensionA"]; + this.tensionB = _data["tensionB"]; + this.tensionC = _data["tensionC"]; + this.tensionD = _data["tensionD"]; + this.tensionE = _data["tensionE"]; + this.infactoryDate = _data["infactoryDate"] ? moment(_data["infactoryDate"].toString()) : undefined; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): ExcelImpDtoOfSegImportDto { + static fromJS(data: any): IcsArmorplateEditDto { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfSegImportDto(); + let result = new IcsArmorplateEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); - } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + data["id"] = this.id; + data["armorplateCode"] = this.armorplateCode; + data["bpCode"] = this.bpCode; + data["version"] = this.version; + data["thicness"] = this.thicness; + data["usedTimes"] = this.usedTimes; + data["status"] = this.status; + data["manufacturersn"] = this.manufacturersn; + data["lbrate"] = this.lbrate; + data["usedFace"] = this.usedFace; + data["tensionA"] = this.tensionA; + data["tensionB"] = this.tensionB; + data["tensionC"] = this.tensionC; + data["tensionD"] = this.tensionD; + data["tensionE"] = this.tensionE; + data["infactoryDate"] = this.infactoryDate ? this.infactoryDate.toISOString() : undefined; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): ExcelImpDtoOfSegImportDto { + clone(): IcsArmorplateEditDto { const json = this.toJSON(); - let result = new ExcelImpDtoOfSegImportDto(); + let result = new IcsArmorplateEditDto(); result.init(json); return result; } } -export interface IExcelImpDtoOfSegImportDto { - data: SegImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IIcsArmorplateEditDto { + id: number | undefined; + armorplateCode: string; + bpCode: string; + version: string; + thicness: number; + usedTimes: number; + status: string; + manufacturersn: string | undefined; + lbrate: number; + usedFace: string | undefined; + tensionA: number; + tensionB: number; + tensionC: number; + tensionD: number; + tensionE: number; + infactoryDate: moment.Moment | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class ExcelImpDtoOfSysEnumImportDto implements IExcelImpDtoOfSysEnumImportDto { - data: SysEnumImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class IcsArmorplateImportDto implements IIcsArmorplateImportDto { + armorplateCode: string; + bpCode: string; + version: string; + thicness: number; + usedTimes: number; + status: string; + manufacturersn: string | undefined; + lbrate: number; + usedFace: string | undefined; + tensionA: number; + tensionB: number; + tensionC: number; + tensionD: number; + tensionE: number; + infactoryDate: moment.Moment | undefined; + memo: string | undefined; - constructor(data?: IExcelImpDtoOfSysEnumImportDto) { + constructor(data?: IIcsArmorplateImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -59070,79 +90311,116 @@ export class ExcelImpDtoOfSysEnumImportDto implements IExcelImpDtoOfSysEnumImpor init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(SysEnumImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); - } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + this.armorplateCode = _data["armorplateCode"]; + this.bpCode = _data["bpCode"]; + this.version = _data["version"]; + this.thicness = _data["thicness"]; + this.usedTimes = _data["usedTimes"]; + this.status = _data["status"]; + this.manufacturersn = _data["manufacturersn"]; + this.lbrate = _data["lbrate"]; + this.usedFace = _data["usedFace"]; + this.tensionA = _data["tensionA"]; + this.tensionB = _data["tensionB"]; + this.tensionC = _data["tensionC"]; + this.tensionD = _data["tensionD"]; + this.tensionE = _data["tensionE"]; + this.infactoryDate = _data["infactoryDate"] ? moment(_data["infactoryDate"].toString()) : undefined; + this.memo = _data["memo"]; } } - static fromJS(data: any): ExcelImpDtoOfSysEnumImportDto { + static fromJS(data: any): IcsArmorplateImportDto { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfSysEnumImportDto(); + let result = new IcsArmorplateImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); - } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + data["armorplateCode"] = this.armorplateCode; + data["bpCode"] = this.bpCode; + data["version"] = this.version; + data["thicness"] = this.thicness; + data["usedTimes"] = this.usedTimes; + data["status"] = this.status; + data["manufacturersn"] = this.manufacturersn; + data["lbrate"] = this.lbrate; + data["usedFace"] = this.usedFace; + data["tensionA"] = this.tensionA; + data["tensionB"] = this.tensionB; + data["tensionC"] = this.tensionC; + data["tensionD"] = this.tensionD; + data["tensionE"] = this.tensionE; + data["infactoryDate"] = this.infactoryDate ? this.infactoryDate.toISOString() : undefined; + data["memo"] = this.memo; return data; } - clone(): ExcelImpDtoOfSysEnumImportDto { + clone(): IcsArmorplateImportDto { const json = this.toJSON(); - let result = new ExcelImpDtoOfSysEnumImportDto(); + let result = new IcsArmorplateImportDto(); result.init(json); return result; } } -export interface IExcelImpDtoOfSysEnumImportDto { - data: SysEnumImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IIcsArmorplateImportDto { + armorplateCode: string; + bpCode: string; + version: string; + thicness: number; + usedTimes: number; + status: string; + manufacturersn: string | undefined; + lbrate: number; + usedFace: string | undefined; + tensionA: number; + tensionB: number; + tensionC: number; + tensionD: number; + tensionE: number; + infactoryDate: moment.Moment | undefined; + memo: string | undefined; } -export class ExcelImpDtoOfUser2OpImportDto implements IExcelImpDtoOfUser2OpImportDto { - data: User2OpImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class IcsArmorplateListDto implements IIcsArmorplateListDto { + armorplateCode: string; + bpCode: string; + version: string; + thicness: number; + usedTimes: number; + status: string; + manufacturersn: string | undefined; + lbrate: number; + usedFace: string | undefined; + tensionA: number; + tensionB: number; + tensionC: number; + tensionD: number; + tensionE: number; + infactoryDate: moment.Moment | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IExcelImpDtoOfUser2OpImportDto) { + constructor(data?: IIcsArmorplateListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -59153,79 +90431,186 @@ export class ExcelImpDtoOfUser2OpImportDto implements IExcelImpDtoOfUser2OpImpor init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(User2OpImportDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); - } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + this.armorplateCode = _data["armorplateCode"]; + this.bpCode = _data["bpCode"]; + this.version = _data["version"]; + this.thicness = _data["thicness"]; + this.usedTimes = _data["usedTimes"]; + this.status = _data["status"]; + this.manufacturersn = _data["manufacturersn"]; + this.lbrate = _data["lbrate"]; + this.usedFace = _data["usedFace"]; + this.tensionA = _data["tensionA"]; + this.tensionB = _data["tensionB"]; + this.tensionC = _data["tensionC"]; + this.tensionD = _data["tensionD"]; + this.tensionE = _data["tensionE"]; + this.infactoryDate = _data["infactoryDate"] ? moment(_data["infactoryDate"].toString()) : undefined; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): ExcelImpDtoOfUser2OpImportDto { + static fromJS(data: any): IcsArmorplateListDto { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfUser2OpImportDto(); + let result = new IcsArmorplateListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); - } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + data["armorplateCode"] = this.armorplateCode; + data["bpCode"] = this.bpCode; + data["version"] = this.version; + data["thicness"] = this.thicness; + data["usedTimes"] = this.usedTimes; + data["status"] = this.status; + data["manufacturersn"] = this.manufacturersn; + data["lbrate"] = this.lbrate; + data["usedFace"] = this.usedFace; + data["tensionA"] = this.tensionA; + data["tensionB"] = this.tensionB; + data["tensionC"] = this.tensionC; + data["tensionD"] = this.tensionD; + data["tensionE"] = this.tensionE; + data["infactoryDate"] = this.infactoryDate ? this.infactoryDate.toISOString() : undefined; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): ExcelImpDtoOfUser2OpImportDto { + clone(): IcsArmorplateListDto { const json = this.toJSON(); - let result = new ExcelImpDtoOfUser2OpImportDto(); + let result = new IcsArmorplateListDto(); result.init(json); return result; } } -export interface IExcelImpDtoOfUser2OpImportDto { - data: User2OpImportDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IIcsArmorplateListDto { + armorplateCode: string; + bpCode: string; + version: string; + thicness: number; + usedTimes: number; + status: string; + manufacturersn: string | undefined; + lbrate: number; + usedFace: string | undefined; + tensionA: number; + tensionB: number; + tensionC: number; + tensionD: number; + tensionE: number; + infactoryDate: moment.Moment | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class ExcelImpDtoOfUserImportExceDto implements IExcelImpDtoOfUserImportExceDto { - data: UserImportExceDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export class IcsBomParamDetailEditDto implements IIcsBomParamDetailEditDto { + key: string | undefined; + id: number | undefined; + paramModel: string | undefined; + paramType: string | undefined; + paramCode: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; + param11: string | undefined; + param12: string | undefined; + param13: string | undefined; + param14: string | undefined; + param15: string | undefined; + param16: string | undefined; + param17: string | undefined; + param18: string | undefined; + param19: string | undefined; + param20: string | undefined; + param21: string | undefined; + param22: string | undefined; + param23: string | undefined; + param24: string | undefined; + param25: string | undefined; + param26: string | undefined; + param27: string | undefined; + param28: string | undefined; + param29: string | undefined; + param30: string | undefined; + paramValue: string | undefined; + bomQty: number | undefined; + materialMainCategory: string | undefined; + materialQuality: string | undefined; + materialSpec: string | undefined; + materialAttribute: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IExcelImpDtoOfUserImportExceDto) { + constructor(data?: IIcsBomParamDetailEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -59236,79 +90621,249 @@ export class ExcelImpDtoOfUserImportExceDto implements IExcelImpDtoOfUserImportE init(_data?: any) { if (_data) { - if (Array.isArray(_data["data"])) { - this.data = [] as any; - for (let item of _data["data"]) - this.data.push(UserImportExceDto.fromJS(item)); - } - if (Array.isArray(_data["templateErrors"])) { - this.templateErrors = [] as any; - for (let item of _data["templateErrors"]) - this.templateErrors.push(TemplateErrorInfo.fromJS(item)); - } - if (Array.isArray(_data["rowErrors"])) { - this.rowErrors = [] as any; - for (let item of _data["rowErrors"]) - this.rowErrors.push(DataRowErrorInfo.fromJS(item)); - } - this.hasError = _data["hasError"]; - this.labelingErrorFileDto = _data["labelingErrorFileDto"] ? FileDto.fromJS(_data["labelingErrorFileDto"]) : undefined; + this.key = _data["key"]; + this.id = _data["id"]; + this.paramModel = _data["paramModel"]; + this.paramType = _data["paramType"]; + this.paramCode = _data["paramCode"]; + this.param1 = _data["param1"]; + this.param2 = _data["param2"]; + this.param3 = _data["param3"]; + this.param4 = _data["param4"]; + this.param5 = _data["param5"]; + this.param6 = _data["param6"]; + this.param7 = _data["param7"]; + this.param8 = _data["param8"]; + this.param9 = _data["param9"]; + this.param10 = _data["param10"]; + this.param11 = _data["param11"]; + this.param12 = _data["param12"]; + this.param13 = _data["param13"]; + this.param14 = _data["param14"]; + this.param15 = _data["param15"]; + this.param16 = _data["param16"]; + this.param17 = _data["param17"]; + this.param18 = _data["param18"]; + this.param19 = _data["param19"]; + this.param20 = _data["param20"]; + this.param21 = _data["param21"]; + this.param22 = _data["param22"]; + this.param23 = _data["param23"]; + this.param24 = _data["param24"]; + this.param25 = _data["param25"]; + this.param26 = _data["param26"]; + this.param27 = _data["param27"]; + this.param28 = _data["param28"]; + this.param29 = _data["param29"]; + this.param30 = _data["param30"]; + this.paramValue = _data["paramValue"]; + this.bomQty = _data["bomQty"]; + this.materialMainCategory = _data["materialMainCategory"]; + this.materialQuality = _data["materialQuality"]; + this.materialSpec = _data["materialSpec"]; + this.materialAttribute = _data["materialAttribute"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): ExcelImpDtoOfUserImportExceDto { + static fromJS(data: any): IcsBomParamDetailEditDto { data = typeof data === 'object' ? data : {}; - let result = new ExcelImpDtoOfUserImportExceDto(); + let result = new IcsBomParamDetailEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.data)) { - data["data"] = []; - for (let item of this.data) - data["data"].push(item.toJSON()); - } - if (Array.isArray(this.templateErrors)) { - data["templateErrors"] = []; - for (let item of this.templateErrors) - data["templateErrors"].push(item.toJSON()); - } - if (Array.isArray(this.rowErrors)) { - data["rowErrors"] = []; - for (let item of this.rowErrors) - data["rowErrors"].push(item.toJSON()); - } - data["hasError"] = this.hasError; - data["labelingErrorFileDto"] = this.labelingErrorFileDto ? this.labelingErrorFileDto.toJSON() : undefined; + data["key"] = this.key; + data["id"] = this.id; + data["paramModel"] = this.paramModel; + data["paramType"] = this.paramType; + data["paramCode"] = this.paramCode; + data["param1"] = this.param1; + data["param2"] = this.param2; + data["param3"] = this.param3; + data["param4"] = this.param4; + data["param5"] = this.param5; + data["param6"] = this.param6; + data["param7"] = this.param7; + data["param8"] = this.param8; + data["param9"] = this.param9; + data["param10"] = this.param10; + data["param11"] = this.param11; + data["param12"] = this.param12; + data["param13"] = this.param13; + data["param14"] = this.param14; + data["param15"] = this.param15; + data["param16"] = this.param16; + data["param17"] = this.param17; + data["param18"] = this.param18; + data["param19"] = this.param19; + data["param20"] = this.param20; + data["param21"] = this.param21; + data["param22"] = this.param22; + data["param23"] = this.param23; + data["param24"] = this.param24; + data["param25"] = this.param25; + data["param26"] = this.param26; + data["param27"] = this.param27; + data["param28"] = this.param28; + data["param29"] = this.param29; + data["param30"] = this.param30; + data["paramValue"] = this.paramValue; + data["bomQty"] = this.bomQty; + data["materialMainCategory"] = this.materialMainCategory; + data["materialQuality"] = this.materialQuality; + data["materialSpec"] = this.materialSpec; + data["materialAttribute"] = this.materialAttribute; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): ExcelImpDtoOfUserImportExceDto { + clone(): IcsBomParamDetailEditDto { const json = this.toJSON(); - let result = new ExcelImpDtoOfUserImportExceDto(); + let result = new IcsBomParamDetailEditDto(); result.init(json); return result; } } -export interface IExcelImpDtoOfUserImportExceDto { - data: UserImportExceDto[] | undefined; - templateErrors: TemplateErrorInfo[] | undefined; - rowErrors: DataRowErrorInfo[] | undefined; - hasError: boolean; - labelingErrorFileDto: FileDto; +export interface IIcsBomParamDetailEditDto { + key: string | undefined; + id: number | undefined; + paramModel: string | undefined; + paramType: string | undefined; + paramCode: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; + param11: string | undefined; + param12: string | undefined; + param13: string | undefined; + param14: string | undefined; + param15: string | undefined; + param16: string | undefined; + param17: string | undefined; + param18: string | undefined; + param19: string | undefined; + param20: string | undefined; + param21: string | undefined; + param22: string | undefined; + param23: string | undefined; + param24: string | undefined; + param25: string | undefined; + param26: string | undefined; + param27: string | undefined; + param28: string | undefined; + param29: string | undefined; + param30: string | undefined; + paramValue: string | undefined; + bomQty: number | undefined; + materialMainCategory: string | undefined; + materialQuality: string | undefined; + materialSpec: string | undefined; + materialAttribute: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -/** 即将到期的租户 */ -export class ExpiringTenant implements IExpiringTenant { - /** 租户名称 */ - tenantName: string | undefined; - /** 剩余天数 */ - remainingDayCount: number; +export class IcsBomParamDetailListDto implements IIcsBomParamDetailListDto { + key: string | undefined; + paramModel: string | undefined; + paramType: string | undefined; + paramCode: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; + param11: string | undefined; + param12: string | undefined; + param13: string | undefined; + param14: string | undefined; + param15: string | undefined; + param16: string | undefined; + param17: string | undefined; + param18: string | undefined; + param19: string | undefined; + param20: string | undefined; + param21: string | undefined; + param22: string | undefined; + param23: string | undefined; + param24: string | undefined; + param25: string | undefined; + param26: string | undefined; + param27: string | undefined; + param28: string | undefined; + param29: string | undefined; + param30: string | undefined; + paramValue: string | undefined; + bomQty: number | undefined; + materialMainCategory: string | undefined; + materialQuality: string | undefined; + materialSpec: string | undefined; + materialAttribute: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IExpiringTenant) { + constructor(data?: IIcsBomParamDetailListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -59319,51 +90874,257 @@ export class ExpiringTenant implements IExpiringTenant { init(_data?: any) { if (_data) { - this.tenantName = _data["tenantName"]; - this.remainingDayCount = _data["remainingDayCount"]; + this.key = _data["key"]; + this.paramModel = _data["paramModel"]; + this.paramType = _data["paramType"]; + this.paramCode = _data["paramCode"]; + this.param1 = _data["param1"]; + this.param2 = _data["param2"]; + this.param3 = _data["param3"]; + this.param4 = _data["param4"]; + this.param5 = _data["param5"]; + this.param6 = _data["param6"]; + this.param7 = _data["param7"]; + this.param8 = _data["param8"]; + this.param9 = _data["param9"]; + this.param10 = _data["param10"]; + this.param11 = _data["param11"]; + this.param12 = _data["param12"]; + this.param13 = _data["param13"]; + this.param14 = _data["param14"]; + this.param15 = _data["param15"]; + this.param16 = _data["param16"]; + this.param17 = _data["param17"]; + this.param18 = _data["param18"]; + this.param19 = _data["param19"]; + this.param20 = _data["param20"]; + this.param21 = _data["param21"]; + this.param22 = _data["param22"]; + this.param23 = _data["param23"]; + this.param24 = _data["param24"]; + this.param25 = _data["param25"]; + this.param26 = _data["param26"]; + this.param27 = _data["param27"]; + this.param28 = _data["param28"]; + this.param29 = _data["param29"]; + this.param30 = _data["param30"]; + this.paramValue = _data["paramValue"]; + this.bomQty = _data["bomQty"]; + this.materialMainCategory = _data["materialMainCategory"]; + this.materialQuality = _data["materialQuality"]; + this.materialSpec = _data["materialSpec"]; + this.materialAttribute = _data["materialAttribute"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): ExpiringTenant { + static fromJS(data: any): IcsBomParamDetailListDto { data = typeof data === 'object' ? data : {}; - let result = new ExpiringTenant(); + let result = new IcsBomParamDetailListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["tenantName"] = this.tenantName; - data["remainingDayCount"] = this.remainingDayCount; + data["key"] = this.key; + data["paramModel"] = this.paramModel; + data["paramType"] = this.paramType; + data["paramCode"] = this.paramCode; + data["param1"] = this.param1; + data["param2"] = this.param2; + data["param3"] = this.param3; + data["param4"] = this.param4; + data["param5"] = this.param5; + data["param6"] = this.param6; + data["param7"] = this.param7; + data["param8"] = this.param8; + data["param9"] = this.param9; + data["param10"] = this.param10; + data["param11"] = this.param11; + data["param12"] = this.param12; + data["param13"] = this.param13; + data["param14"] = this.param14; + data["param15"] = this.param15; + data["param16"] = this.param16; + data["param17"] = this.param17; + data["param18"] = this.param18; + data["param19"] = this.param19; + data["param20"] = this.param20; + data["param21"] = this.param21; + data["param22"] = this.param22; + data["param23"] = this.param23; + data["param24"] = this.param24; + data["param25"] = this.param25; + data["param26"] = this.param26; + data["param27"] = this.param27; + data["param28"] = this.param28; + data["param29"] = this.param29; + data["param30"] = this.param30; + data["paramValue"] = this.paramValue; + data["bomQty"] = this.bomQty; + data["materialMainCategory"] = this.materialMainCategory; + data["materialQuality"] = this.materialQuality; + data["materialSpec"] = this.materialSpec; + data["materialAttribute"] = this.materialAttribute; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): ExpiringTenant { + clone(): IcsBomParamDetailListDto { const json = this.toJSON(); - let result = new ExpiringTenant(); + let result = new IcsBomParamDetailListDto(); result.init(json); return result; } } -/** 即将到期的租户 */ -export interface IExpiringTenant { - /** 租户名称 */ - tenantName: string | undefined; - /** 剩余天数 */ - remainingDayCount: number; +export interface IIcsBomParamDetailListDto { + key: string | undefined; + paramModel: string | undefined; + paramType: string | undefined; + paramCode: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; + param11: string | undefined; + param12: string | undefined; + param13: string | undefined; + param14: string | undefined; + param15: string | undefined; + param16: string | undefined; + param17: string | undefined; + param18: string | undefined; + param19: string | undefined; + param20: string | undefined; + param21: string | undefined; + param22: string | undefined; + param23: string | undefined; + param24: string | undefined; + param25: string | undefined; + param26: string | undefined; + param27: string | undefined; + param28: string | undefined; + param29: string | undefined; + param30: string | undefined; + paramValue: string | undefined; + bomQty: number | undefined; + materialMainCategory: string | undefined; + materialQuality: string | undefined; + materialSpec: string | undefined; + materialAttribute: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 外部认证模型 */ -export class ExternalAuthenticateModel implements IExternalAuthenticateModel { - /** 授权提供者 */ - authProvider: string; - /** 提供方密钥 */ - providerKey: string; - /** 提供者访问代码 */ - providerAccessCode: string; +export class IcsBomParamHeadEditDto implements IIcsBomParamHeadEditDto { + key: string | undefined; + id: number | undefined; + paramModel: string | undefined; + paramCode: string | undefined; + paramType: string | undefined; + paramName: string | undefined; + paramDesc: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; + param11: string | undefined; + param12: string | undefined; + param13: string | undefined; + param14: string | undefined; + param15: string | undefined; + param16: string | undefined; + param17: string | undefined; + param18: string | undefined; + param19: string | undefined; + param20: string | undefined; + param21: string | undefined; + param22: string | undefined; + param23: string | undefined; + param24: string | undefined; + param25: string | undefined; + param26: string | undefined; + param27: string | undefined; + param28: string | undefined; + param29: string | undefined; + param30: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IExternalAuthenticateModel) { + constructor(data?: IIcsBomParamHeadEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -59374,65 +91135,233 @@ export class ExternalAuthenticateModel implements IExternalAuthenticateModel { init(_data?: any) { if (_data) { - this.authProvider = _data["authProvider"]; - this.providerKey = _data["providerKey"]; - this.providerAccessCode = _data["providerAccessCode"]; + this.key = _data["key"]; + this.id = _data["id"]; + this.paramModel = _data["paramModel"]; + this.paramCode = _data["paramCode"]; + this.paramType = _data["paramType"]; + this.paramName = _data["paramName"]; + this.paramDesc = _data["paramDesc"]; + this.param1 = _data["param1"]; + this.param2 = _data["param2"]; + this.param3 = _data["param3"]; + this.param4 = _data["param4"]; + this.param5 = _data["param5"]; + this.param6 = _data["param6"]; + this.param7 = _data["param7"]; + this.param8 = _data["param8"]; + this.param9 = _data["param9"]; + this.param10 = _data["param10"]; + this.param11 = _data["param11"]; + this.param12 = _data["param12"]; + this.param13 = _data["param13"]; + this.param14 = _data["param14"]; + this.param15 = _data["param15"]; + this.param16 = _data["param16"]; + this.param17 = _data["param17"]; + this.param18 = _data["param18"]; + this.param19 = _data["param19"]; + this.param20 = _data["param20"]; + this.param21 = _data["param21"]; + this.param22 = _data["param22"]; + this.param23 = _data["param23"]; + this.param24 = _data["param24"]; + this.param25 = _data["param25"]; + this.param26 = _data["param26"]; + this.param27 = _data["param27"]; + this.param28 = _data["param28"]; + this.param29 = _data["param29"]; + this.param30 = _data["param30"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): ExternalAuthenticateModel { + static fromJS(data: any): IcsBomParamHeadEditDto { data = typeof data === 'object' ? data : {}; - let result = new ExternalAuthenticateModel(); + let result = new IcsBomParamHeadEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["authProvider"] = this.authProvider; - data["providerKey"] = this.providerKey; - data["providerAccessCode"] = this.providerAccessCode; + data["key"] = this.key; + data["id"] = this.id; + data["paramModel"] = this.paramModel; + data["paramCode"] = this.paramCode; + data["paramType"] = this.paramType; + data["paramName"] = this.paramName; + data["paramDesc"] = this.paramDesc; + data["param1"] = this.param1; + data["param2"] = this.param2; + data["param3"] = this.param3; + data["param4"] = this.param4; + data["param5"] = this.param5; + data["param6"] = this.param6; + data["param7"] = this.param7; + data["param8"] = this.param8; + data["param9"] = this.param9; + data["param10"] = this.param10; + data["param11"] = this.param11; + data["param12"] = this.param12; + data["param13"] = this.param13; + data["param14"] = this.param14; + data["param15"] = this.param15; + data["param16"] = this.param16; + data["param17"] = this.param17; + data["param18"] = this.param18; + data["param19"] = this.param19; + data["param20"] = this.param20; + data["param21"] = this.param21; + data["param22"] = this.param22; + data["param23"] = this.param23; + data["param24"] = this.param24; + data["param25"] = this.param25; + data["param26"] = this.param26; + data["param27"] = this.param27; + data["param28"] = this.param28; + data["param29"] = this.param29; + data["param30"] = this.param30; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): ExternalAuthenticateModel { + clone(): IcsBomParamHeadEditDto { const json = this.toJSON(); - let result = new ExternalAuthenticateModel(); + let result = new IcsBomParamHeadEditDto(); result.init(json); return result; } } -/** 外部认证模型 */ -export interface IExternalAuthenticateModel { - /** 授权提供者 */ - authProvider: string; - /** 提供方密钥 */ - providerKey: string; - /** 提供者访问代码 */ - providerAccessCode: string; +export interface IIcsBomParamHeadEditDto { + key: string | undefined; + id: number | undefined; + paramModel: string | undefined; + paramCode: string | undefined; + paramType: string | undefined; + paramName: string | undefined; + paramDesc: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; + param11: string | undefined; + param12: string | undefined; + param13: string | undefined; + param14: string | undefined; + param15: string | undefined; + param16: string | undefined; + param17: string | undefined; + param18: string | undefined; + param19: string | undefined; + param20: string | undefined; + param21: string | undefined; + param22: string | undefined; + param23: string | undefined; + param24: string | undefined; + param25: string | undefined; + param26: string | undefined; + param27: string | undefined; + param28: string | undefined; + param29: string | undefined; + param30: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -/** 外部认证结果模型 */ -export class ExternalAuthenticateResultModel implements IExternalAuthenticateResultModel { - /** 访问令牌 */ - accessToken: string | undefined; - /** 加密访问令牌 */ - encryptedAccessToken: string | undefined; - /** 过期时间 */ - expireInSeconds: number; - /** 等待激活 */ - waitingForActivation: boolean; - /** 需要进行绑定账号 */ - userId: string | undefined; - /** 扩展登录的key */ - providerKey: string | undefined; - /** 刷新令牌 */ - refreshToken: string | undefined; - /** 刷新访问令牌过期时间 */ - refreshTokenExpireInSeconds: number; +export class IcsBomParamHeadListDto implements IIcsBomParamHeadListDto { + key: string | undefined; + paramModel: string | undefined; + paramCode: string | undefined; + paramType: string | undefined; + paramName: string | undefined; + paramDesc: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; + param11: string | undefined; + param12: string | undefined; + param13: string | undefined; + param14: string | undefined; + param15: string | undefined; + param16: string | undefined; + param17: string | undefined; + param18: string | undefined; + param19: string | undefined; + param20: string | undefined; + param21: string | undefined; + param22: string | undefined; + param23: string | undefined; + param24: string | undefined; + param25: string | undefined; + param26: string | undefined; + param27: string | undefined; + param28: string | undefined; + param29: string | undefined; + param30: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IExternalAuthenticateResultModel) { + constructor(data?: IIcsBomParamHeadListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -59443,75 +91372,225 @@ export class ExternalAuthenticateResultModel implements IExternalAuthenticateRes init(_data?: any) { if (_data) { - this.accessToken = _data["accessToken"]; - this.encryptedAccessToken = _data["encryptedAccessToken"]; - this.expireInSeconds = _data["expireInSeconds"]; - this.waitingForActivation = _data["waitingForActivation"]; - this.userId = _data["userId"]; - this.providerKey = _data["providerKey"]; - this.refreshToken = _data["refreshToken"]; - this.refreshTokenExpireInSeconds = _data["refreshTokenExpireInSeconds"]; + this.key = _data["key"]; + this.paramModel = _data["paramModel"]; + this.paramCode = _data["paramCode"]; + this.paramType = _data["paramType"]; + this.paramName = _data["paramName"]; + this.paramDesc = _data["paramDesc"]; + this.param1 = _data["param1"]; + this.param2 = _data["param2"]; + this.param3 = _data["param3"]; + this.param4 = _data["param4"]; + this.param5 = _data["param5"]; + this.param6 = _data["param6"]; + this.param7 = _data["param7"]; + this.param8 = _data["param8"]; + this.param9 = _data["param9"]; + this.param10 = _data["param10"]; + this.param11 = _data["param11"]; + this.param12 = _data["param12"]; + this.param13 = _data["param13"]; + this.param14 = _data["param14"]; + this.param15 = _data["param15"]; + this.param16 = _data["param16"]; + this.param17 = _data["param17"]; + this.param18 = _data["param18"]; + this.param19 = _data["param19"]; + this.param20 = _data["param20"]; + this.param21 = _data["param21"]; + this.param22 = _data["param22"]; + this.param23 = _data["param23"]; + this.param24 = _data["param24"]; + this.param25 = _data["param25"]; + this.param26 = _data["param26"]; + this.param27 = _data["param27"]; + this.param28 = _data["param28"]; + this.param29 = _data["param29"]; + this.param30 = _data["param30"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): ExternalAuthenticateResultModel { + static fromJS(data: any): IcsBomParamHeadListDto { data = typeof data === 'object' ? data : {}; - let result = new ExternalAuthenticateResultModel(); + let result = new IcsBomParamHeadListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["accessToken"] = this.accessToken; - data["encryptedAccessToken"] = this.encryptedAccessToken; - data["expireInSeconds"] = this.expireInSeconds; - data["waitingForActivation"] = this.waitingForActivation; - data["userId"] = this.userId; - data["providerKey"] = this.providerKey; - data["refreshToken"] = this.refreshToken; - data["refreshTokenExpireInSeconds"] = this.refreshTokenExpireInSeconds; + data["key"] = this.key; + data["paramModel"] = this.paramModel; + data["paramCode"] = this.paramCode; + data["paramType"] = this.paramType; + data["paramName"] = this.paramName; + data["paramDesc"] = this.paramDesc; + data["param1"] = this.param1; + data["param2"] = this.param2; + data["param3"] = this.param3; + data["param4"] = this.param4; + data["param5"] = this.param5; + data["param6"] = this.param6; + data["param7"] = this.param7; + data["param8"] = this.param8; + data["param9"] = this.param9; + data["param10"] = this.param10; + data["param11"] = this.param11; + data["param12"] = this.param12; + data["param13"] = this.param13; + data["param14"] = this.param14; + data["param15"] = this.param15; + data["param16"] = this.param16; + data["param17"] = this.param17; + data["param18"] = this.param18; + data["param19"] = this.param19; + data["param20"] = this.param20; + data["param21"] = this.param21; + data["param22"] = this.param22; + data["param23"] = this.param23; + data["param24"] = this.param24; + data["param25"] = this.param25; + data["param26"] = this.param26; + data["param27"] = this.param27; + data["param28"] = this.param28; + data["param29"] = this.param29; + data["param30"] = this.param30; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): ExternalAuthenticateResultModel { + clone(): IcsBomParamHeadListDto { const json = this.toJSON(); - let result = new ExternalAuthenticateResultModel(); + let result = new IcsBomParamHeadListDto(); result.init(json); return result; } } -/** 外部认证结果模型 */ -export interface IExternalAuthenticateResultModel { - /** 访问令牌 */ - accessToken: string | undefined; - /** 加密访问令牌 */ - encryptedAccessToken: string | undefined; - /** 过期时间 */ - expireInSeconds: number; - /** 等待激活 */ - waitingForActivation: boolean; - /** 需要进行绑定账号 */ - userId: string | undefined; - /** 扩展登录的key */ - providerKey: string | undefined; - /** 刷新令牌 */ - refreshToken: string | undefined; - /** 刷新访问令牌过期时间 */ - refreshTokenExpireInSeconds: number; +export interface IIcsBomParamHeadListDto { + key: string | undefined; + paramModel: string | undefined; + paramCode: string | undefined; + paramType: string | undefined; + paramName: string | undefined; + paramDesc: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; + param11: string | undefined; + param12: string | undefined; + param13: string | undefined; + param14: string | undefined; + param15: string | undefined; + param16: string | undefined; + param17: string | undefined; + param18: string | undefined; + param19: string | undefined; + param20: string | undefined; + param21: string | undefined; + param22: string | undefined; + param23: string | undefined; + param24: string | undefined; + param25: string | undefined; + param26: string | undefined; + param27: string | undefined; + param28: string | undefined; + param29: string | undefined; + param30: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 外部登录提供者信息模型 */ -export class ExternalLoginProviderInfoModel implements IExternalLoginProviderInfoModel { - /** 名称 */ - name: string | undefined; - /** 连接Id */ - clientId: string | undefined; - /** 附加参数 */ - additionalParams: { [key: string]: string; } | undefined; +export class IcsBomParseBarcodeDto implements IIcsBomParseBarcodeDto { + id: number | undefined; + itemId: number; + itemCode: string | undefined; + obCode: string | undefined; + obBomVer: string | undefined; + obItemCode: string | undefined; + parseType: string | undefined; + itemPositionStart: number | undefined; + itemPositionEnd: number | undefined; + lotPositionStart: number | undefined; + lotPositionEnd: number | undefined; + datePositionStart: number | undefined; + datePositionEnd: number | undefined; + splitChar: string | undefined; + itemPosition: number | undefined; + lotPosition: number | undefined; + datePosition: number | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IExternalLoginProviderInfoModel) { + constructor(data?: IIcsBomParseBarcodeDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -59522,66 +91601,131 @@ export class ExternalLoginProviderInfoModel implements IExternalLoginProviderInf init(_data?: any) { if (_data) { - this.name = _data["name"]; - this.clientId = _data["clientId"]; - if (_data["additionalParams"]) { - this.additionalParams = {} as any; - for (let key in _data["additionalParams"]) { - if (_data["additionalParams"].hasOwnProperty(key)) - (this.additionalParams)[key] = _data["additionalParams"][key]; - } - } + this.id = _data["id"]; + this.itemId = _data["itemId"]; + this.itemCode = _data["itemCode"]; + this.obCode = _data["obCode"]; + this.obBomVer = _data["obBomVer"]; + this.obItemCode = _data["obItemCode"]; + this.parseType = _data["parseType"]; + this.itemPositionStart = _data["itemPositionStart"]; + this.itemPositionEnd = _data["itemPositionEnd"]; + this.lotPositionStart = _data["lotPositionStart"]; + this.lotPositionEnd = _data["lotPositionEnd"]; + this.datePositionStart = _data["datePositionStart"]; + this.datePositionEnd = _data["datePositionEnd"]; + this.splitChar = _data["splitChar"]; + this.itemPosition = _data["itemPosition"]; + this.lotPosition = _data["lotPosition"]; + this.datePosition = _data["datePosition"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): ExternalLoginProviderInfoModel { + static fromJS(data: any): IcsBomParseBarcodeDto { data = typeof data === 'object' ? data : {}; - let result = new ExternalLoginProviderInfoModel(); + let result = new IcsBomParseBarcodeDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["name"] = this.name; - data["clientId"] = this.clientId; - if (this.additionalParams) { - data["additionalParams"] = {}; - for (let key in this.additionalParams) { - if (this.additionalParams.hasOwnProperty(key)) - (data["additionalParams"])[key] = (this.additionalParams)[key]; - } - } + data["id"] = this.id; + data["itemId"] = this.itemId; + data["itemCode"] = this.itemCode; + data["obCode"] = this.obCode; + data["obBomVer"] = this.obBomVer; + data["obItemCode"] = this.obItemCode; + data["parseType"] = this.parseType; + data["itemPositionStart"] = this.itemPositionStart; + data["itemPositionEnd"] = this.itemPositionEnd; + data["lotPositionStart"] = this.lotPositionStart; + data["lotPositionEnd"] = this.lotPositionEnd; + data["datePositionStart"] = this.datePositionStart; + data["datePositionEnd"] = this.datePositionEnd; + data["splitChar"] = this.splitChar; + data["itemPosition"] = this.itemPosition; + data["lotPosition"] = this.lotPosition; + data["datePosition"] = this.datePosition; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): ExternalLoginProviderInfoModel { + clone(): IcsBomParseBarcodeDto { const json = this.toJSON(); - let result = new ExternalLoginProviderInfoModel(); + let result = new IcsBomParseBarcodeDto(); result.init(json); return result; } } -/** 外部登录提供者信息模型 */ -export interface IExternalLoginProviderInfoModel { - /** 名称 */ - name: string | undefined; - /** 连接Id */ - clientId: string | undefined; - /** 附加参数 */ - additionalParams: { [key: string]: string; } | undefined; +export interface IIcsBomParseBarcodeDto { + id: number | undefined; + itemId: number; + itemCode: string | undefined; + obCode: string | undefined; + obBomVer: string | undefined; + obItemCode: string | undefined; + parseType: string | undefined; + itemPositionStart: number | undefined; + itemPositionEnd: number | undefined; + lotPositionStart: number | undefined; + lotPositionEnd: number | undefined; + datePositionStart: number | undefined; + datePositionEnd: number | undefined; + splitChar: string | undefined; + itemPosition: number | undefined; + lotPosition: number | undefined; + datePosition: number | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class FactoryImportDto implements IFactoryImportDto { - /** 工厂代码 */ - facCode: string; - /** 工厂名称 */ - facName: string; - /** 工厂描述 */ - facDesc: string | undefined; +export class IcsCheckGroup2ItemDto implements IIcsCheckGroup2ItemDto { + id: number | undefined; + checkGroupID: number; + checkItemID: number; + checkGroupCode: string | undefined; + checkItemStd: string | undefined; + checkGroupName: string | undefined; + checkItemCode: string | undefined; + checkItemName: string | undefined; + memo: string | undefined; + list: IcsCheckItemListDto[] | undefined; + list2: IcsCheckItemEditDto[] | undefined; + checkListStr: string | undefined; - constructor(data?: IFactoryImportDto) { + constructor(data?: IIcsCheckGroup2ItemDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -59592,54 +91736,103 @@ export class FactoryImportDto implements IFactoryImportDto { init(_data?: any) { if (_data) { - this.facCode = _data["facCode"]; - this.facName = _data["facName"]; - this.facDesc = _data["facDesc"]; + this.id = _data["id"]; + this.checkGroupID = _data["checkGroupID"]; + this.checkItemID = _data["checkItemID"]; + this.checkGroupCode = _data["checkGroupCode"]; + this.checkItemStd = _data["checkItemStd"]; + this.checkGroupName = _data["checkGroupName"]; + this.checkItemCode = _data["checkItemCode"]; + this.checkItemName = _data["checkItemName"]; + this.memo = _data["memo"]; + if (Array.isArray(_data["list"])) { + this.list = [] as any; + for (let item of _data["list"]) + this.list.push(IcsCheckItemListDto.fromJS(item)); + } + if (Array.isArray(_data["list2"])) { + this.list2 = [] as any; + for (let item of _data["list2"]) + this.list2.push(IcsCheckItemEditDto.fromJS(item)); + } + this.checkListStr = _data["checkListStr"]; } } - static fromJS(data: any): FactoryImportDto { + static fromJS(data: any): IcsCheckGroup2ItemDto { data = typeof data === 'object' ? data : {}; - let result = new FactoryImportDto(); + let result = new IcsCheckGroup2ItemDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["facCode"] = this.facCode; - data["facName"] = this.facName; - data["facDesc"] = this.facDesc; + data["id"] = this.id; + data["checkGroupID"] = this.checkGroupID; + data["checkItemID"] = this.checkItemID; + data["checkGroupCode"] = this.checkGroupCode; + data["checkItemStd"] = this.checkItemStd; + data["checkGroupName"] = this.checkGroupName; + data["checkItemCode"] = this.checkItemCode; + data["checkItemName"] = this.checkItemName; + data["memo"] = this.memo; + if (Array.isArray(this.list)) { + data["list"] = []; + for (let item of this.list) + data["list"].push(item.toJSON()); + } + if (Array.isArray(this.list2)) { + data["list2"] = []; + for (let item of this.list2) + data["list2"].push(item.toJSON()); + } + data["checkListStr"] = this.checkListStr; return data; } - clone(): FactoryImportDto { + clone(): IcsCheckGroup2ItemDto { const json = this.toJSON(); - let result = new FactoryImportDto(); + let result = new IcsCheckGroup2ItemDto(); result.init(json); return result; } } -export interface IFactoryImportDto { - /** 工厂代码 */ - facCode: string; - /** 工厂名称 */ - facName: string; - /** 工厂描述 */ - facDesc: string | undefined; +export interface IIcsCheckGroup2ItemDto { + id: number | undefined; + checkGroupID: number; + checkItemID: number; + checkGroupCode: string | undefined; + checkItemStd: string | undefined; + checkGroupName: string | undefined; + checkItemCode: string | undefined; + checkItemName: string | undefined; + memo: string | undefined; + list: IcsCheckItemListDto[] | undefined; + list2: IcsCheckItemEditDto[] | undefined; + checkListStr: string | undefined; } -/** 功能输入类型 */ -export class FeatureInputTypeDto implements IFeatureInputTypeDto { - /** 名称 */ - name: string | undefined; - /** 属性 */ - attributes: { [key: string]: any; } | undefined; - validator: IValueValidator; - itemSource: LocalizableComboboxItemSourceDto; +export class IcsCheckGroupEditDto implements IIcsCheckGroupEditDto { + id: number | undefined; + checkGroupCode: string; + checkGroupName: string; + checkGroupDesc: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + checkItemList: IcsCheckItemEditDto[] | undefined; - constructor(data?: IFeatureInputTypeDto) { + constructor(data?: IIcsCheckGroupEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -59650,65 +91843,95 @@ export class FeatureInputTypeDto implements IFeatureInputTypeDto { init(_data?: any) { if (_data) { - this.name = _data["name"]; - if (_data["attributes"]) { - this.attributes = {} as any; - for (let key in _data["attributes"]) { - if (_data["attributes"].hasOwnProperty(key)) - (this.attributes)[key] = _data["attributes"][key]; - } + this.id = _data["id"]; + this.checkGroupCode = _data["checkGroupCode"]; + this.checkGroupName = _data["checkGroupName"]; + this.checkGroupDesc = _data["checkGroupDesc"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + if (Array.isArray(_data["checkItemList"])) { + this.checkItemList = [] as any; + for (let item of _data["checkItemList"]) + this.checkItemList.push(IcsCheckItemEditDto.fromJS(item)); } - this.validator = _data["validator"] ? IValueValidator.fromJS(_data["validator"]) : undefined; - this.itemSource = _data["itemSource"] ? LocalizableComboboxItemSourceDto.fromJS(_data["itemSource"]) : undefined; } } - static fromJS(data: any): FeatureInputTypeDto { + static fromJS(data: any): IcsCheckGroupEditDto { data = typeof data === 'object' ? data : {}; - let result = new FeatureInputTypeDto(); + let result = new IcsCheckGroupEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["name"] = this.name; - if (this.attributes) { - data["attributes"] = {}; - for (let key in this.attributes) { - if (this.attributes.hasOwnProperty(key)) - (data["attributes"])[key] = (this.attributes)[key]; - } + data["id"] = this.id; + data["checkGroupCode"] = this.checkGroupCode; + data["checkGroupName"] = this.checkGroupName; + data["checkGroupDesc"] = this.checkGroupDesc; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + if (Array.isArray(this.checkItemList)) { + data["checkItemList"] = []; + for (let item of this.checkItemList) + data["checkItemList"].push(item.toJSON()); } - data["validator"] = this.validator ? this.validator.toJSON() : undefined; - data["itemSource"] = this.itemSource ? this.itemSource.toJSON() : undefined; return data; } - clone(): FeatureInputTypeDto { + clone(): IcsCheckGroupEditDto { const json = this.toJSON(); - let result = new FeatureInputTypeDto(); + let result = new IcsCheckGroupEditDto(); result.init(json); return result; } } -/** 功能输入类型 */ -export interface IFeatureInputTypeDto { - /** 名称 */ - name: string | undefined; - /** 属性 */ - attributes: { [key: string]: any; } | undefined; - validator: IValueValidator; - itemSource: LocalizableComboboxItemSourceDto; +export interface IIcsCheckGroupEditDto { + id: number | undefined; + checkGroupCode: string; + checkGroupName: string; + checkGroupDesc: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + checkItemList: IcsCheckItemEditDto[] | undefined; } -export class FileDto implements IFileDto { - fileName: string; - fileType: string; - fileToken: string; +export class IcsCheckGroupImportDto implements IIcsCheckGroupImportDto { + checkGroupCode: string; + checkGroupName: string; + checkGroupDesc: string | undefined; + memo: string | undefined; - constructor(data?: IFileDto) { + constructor(data?: IIcsCheckGroupImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -59719,54 +91942,70 @@ export class FileDto implements IFileDto { init(_data?: any) { if (_data) { - this.fileName = _data["fileName"]; - this.fileType = _data["fileType"]; - this.fileToken = _data["fileToken"]; + this.checkGroupCode = _data["checkGroupCode"]; + this.checkGroupName = _data["checkGroupName"]; + this.checkGroupDesc = _data["checkGroupDesc"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): FileDto { + static fromJS(data: any): IcsCheckGroupImportDto { data = typeof data === 'object' ? data : {}; - let result = new FileDto(); + let result = new IcsCheckGroupImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["fileName"] = this.fileName; - data["fileType"] = this.fileType; - data["fileToken"] = this.fileToken; + data["checkGroupCode"] = this.checkGroupCode; + data["checkGroupName"] = this.checkGroupName; + data["checkGroupDesc"] = this.checkGroupDesc; + data["memo"] = this.memo; return data; } - clone(): FileDto { + clone(): IcsCheckGroupImportDto { const json = this.toJSON(); - let result = new FileDto(); + let result = new IcsCheckGroupImportDto(); result.init(json); return result; } } -export interface IFileDto { - fileName: string; - fileType: string; - fileToken: string; +export interface IIcsCheckGroupImportDto { + checkGroupCode: string; + checkGroupName: string; + checkGroupDesc: string | undefined; + memo: string | undefined; } -export class FileEditDto implements IFileEditDto { - /** Id */ - id: string | undefined; - /** 名称 */ - displayName: string | undefined; - /** 文件路径 */ - filePath: string | undefined; - /** 过期时间 */ - expireDateTime: moment.Moment; - /** 租户Id */ - tenantId: string | undefined; +export class IcsCheckGroupListDto implements IIcsCheckGroupListDto { + key: string | undefined; + checkGroupCode: string; + checkGroupName: string; + checkGroupDesc: string | undefined; + memo: string | undefined; + detailList: IcsCheckItemListDto[] | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IFileEditDto) { + constructor(data?: IIcsCheckGroupListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -59777,71 +92016,134 @@ export class FileEditDto implements IFileEditDto { init(_data?: any) { if (_data) { + this.key = _data["key"]; + this.checkGroupCode = _data["checkGroupCode"]; + this.checkGroupName = _data["checkGroupName"]; + this.checkGroupDesc = _data["checkGroupDesc"]; + this.memo = _data["memo"]; + if (Array.isArray(_data["detailList"])) { + this.detailList = [] as any; + for (let item of _data["detailList"]) + this.detailList.push(IcsCheckItemListDto.fromJS(item)); + } + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; this.id = _data["id"]; - this.displayName = _data["displayName"]; - this.filePath = _data["filePath"]; - this.expireDateTime = _data["expireDateTime"] ? moment(_data["expireDateTime"].toString()) : undefined; - this.tenantId = _data["tenantId"]; } } - static fromJS(data: any): FileEditDto { + static fromJS(data: any): IcsCheckGroupListDto { data = typeof data === 'object' ? data : {}; - let result = new FileEditDto(); + let result = new IcsCheckGroupListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["key"] = this.key; + data["checkGroupCode"] = this.checkGroupCode; + data["checkGroupName"] = this.checkGroupName; + data["checkGroupDesc"] = this.checkGroupDesc; + data["memo"] = this.memo; + if (Array.isArray(this.detailList)) { + data["detailList"] = []; + for (let item of this.detailList) + data["detailList"].push(item.toJSON()); + } + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; data["id"] = this.id; - data["displayName"] = this.displayName; - data["filePath"] = this.filePath; - data["expireDateTime"] = this.expireDateTime ? this.expireDateTime.toISOString() : undefined; - data["tenantId"] = this.tenantId; return data; } - clone(): FileEditDto { + clone(): IcsCheckGroupListDto { const json = this.toJSON(); - let result = new FileEditDto(); + let result = new IcsCheckGroupListDto(); result.init(json); return result; } } -export interface IFileEditDto { - /** Id */ - id: string | undefined; - /** 名称 */ - displayName: string | undefined; - /** 文件路径 */ - filePath: string | undefined; - /** 过期时间 */ - expireDateTime: moment.Moment; - /** 租户Id */ - tenantId: string | undefined; -} - -export class FilePagedListDto implements IFilePagedListDto { - /** 名称 */ - displayName: string | undefined; - /** 文件路径 */ - filePath: string | undefined; - /** 过期时间 */ - expireDateTime: moment.Moment; - /** 租户Id */ - tenantId: string | undefined; - isDeleted: boolean; - deleterUserId: string | undefined; - deletionTime: moment.Moment | undefined; +export interface IIcsCheckGroupListDto { + key: string | undefined; + checkGroupCode: string; + checkGroupName: string; + checkGroupDesc: string | undefined; + memo: string | undefined; + detailList: IcsCheckItemListDto[] | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; lastModifierUserId: string | undefined; creationTime: moment.Moment; creatorUserId: string | undefined; - id: string; + id: number; +} - constructor(data?: IFilePagedListDto) { +export class IcsCheckItemEditDto implements IIcsCheckItemEditDto { + key: string | undefined; + id: number | undefined; + checkItemStd: string | undefined; + checkItemCode: string | undefined; + checkItemName: string | undefined; + checkItemDesc: string | undefined; + unit: string | undefined; + setValueMax: string | undefined; + setValueMin: string | undefined; + exemptionValueMax: string | undefined; + exemptionValueMin: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + + constructor(data?: IIcsCheckItemEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -59852,79 +92154,111 @@ export class FilePagedListDto implements IFilePagedListDto { init(_data?: any) { if (_data) { - this.displayName = _data["displayName"]; - this.filePath = _data["filePath"]; - this.expireDateTime = _data["expireDateTime"] ? moment(_data["expireDateTime"].toString()) : undefined; - this.tenantId = _data["tenantId"]; - this.isDeleted = _data["isDeleted"]; - this.deleterUserId = _data["deleterUserId"]; - this.deletionTime = _data["deletionTime"] ? moment(_data["deletionTime"].toString()) : undefined; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; + this.key = _data["key"]; this.id = _data["id"]; + this.checkItemStd = _data["checkItemStd"]; + this.checkItemCode = _data["checkItemCode"]; + this.checkItemName = _data["checkItemName"]; + this.checkItemDesc = _data["checkItemDesc"]; + this.unit = _data["unit"]; + this.setValueMax = _data["setValueMax"]; + this.setValueMin = _data["setValueMin"]; + this.exemptionValueMax = _data["exemptionValueMax"]; + this.exemptionValueMin = _data["exemptionValueMin"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): FilePagedListDto { + static fromJS(data: any): IcsCheckItemEditDto { data = typeof data === 'object' ? data : {}; - let result = new FilePagedListDto(); + let result = new IcsCheckItemEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["displayName"] = this.displayName; - data["filePath"] = this.filePath; - data["expireDateTime"] = this.expireDateTime ? this.expireDateTime.toISOString() : undefined; - data["tenantId"] = this.tenantId; - data["isDeleted"] = this.isDeleted; - data["deleterUserId"] = this.deleterUserId; - data["deletionTime"] = this.deletionTime ? this.deletionTime.toISOString() : undefined; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; + data["key"] = this.key; data["id"] = this.id; + data["checkItemStd"] = this.checkItemStd; + data["checkItemCode"] = this.checkItemCode; + data["checkItemName"] = this.checkItemName; + data["checkItemDesc"] = this.checkItemDesc; + data["unit"] = this.unit; + data["setValueMax"] = this.setValueMax; + data["setValueMin"] = this.setValueMin; + data["exemptionValueMax"] = this.exemptionValueMax; + data["exemptionValueMin"] = this.exemptionValueMin; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): FilePagedListDto { + clone(): IcsCheckItemEditDto { const json = this.toJSON(); - let result = new FilePagedListDto(); + let result = new IcsCheckItemEditDto(); result.init(json); return result; } } -export interface IFilePagedListDto { - /** 名称 */ - displayName: string | undefined; - /** 文件路径 */ - filePath: string | undefined; - /** 过期时间 */ - expireDateTime: moment.Moment; - /** 租户Id */ - tenantId: string | undefined; - isDeleted: boolean; - deleterUserId: string | undefined; - deletionTime: moment.Moment | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string; +export interface IIcsCheckItemEditDto { + key: string | undefined; + id: number | undefined; + checkItemStd: string | undefined; + checkItemCode: string | undefined; + checkItemName: string | undefined; + checkItemDesc: string | undefined; + unit: string | undefined; + setValueMax: string | undefined; + setValueMin: string | undefined; + exemptionValueMax: string | undefined; + exemptionValueMin: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -/** 文件上传输出Dto */ -export class FileUploadOutputDto implements IFileUploadOutputDto { - fileName: string; - fileToken: string; - fileSize: number; +export class IcsCheckItemImportDto implements IIcsCheckItemImportDto { + checkItemStd: string; + checkItemCode: string; + checkItemName: string; + checkItemDesc: string | undefined; + unit: string; + setValueMax: string; + setValueMin: string; + exemptionValueMax: string; + exemptionValueMin: string; + memo: string | undefined; - constructor(data?: IFileUploadOutputDto) { + constructor(data?: IIcsCheckItemImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -59935,51 +92269,95 @@ export class FileUploadOutputDto implements IFileUploadOutputDto { init(_data?: any) { if (_data) { - this.fileName = _data["fileName"]; - this.fileToken = _data["fileToken"]; - this.fileSize = _data["fileSize"]; + this.checkItemStd = _data["checkItemStd"]; + this.checkItemCode = _data["checkItemCode"]; + this.checkItemName = _data["checkItemName"]; + this.checkItemDesc = _data["checkItemDesc"]; + this.unit = _data["unit"]; + this.setValueMax = _data["setValueMax"]; + this.setValueMin = _data["setValueMin"]; + this.exemptionValueMax = _data["exemptionValueMax"]; + this.exemptionValueMin = _data["exemptionValueMin"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): FileUploadOutputDto { + static fromJS(data: any): IcsCheckItemImportDto { data = typeof data === 'object' ? data : {}; - let result = new FileUploadOutputDto(); + let result = new IcsCheckItemImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["fileName"] = this.fileName; - data["fileToken"] = this.fileToken; - data["fileSize"] = this.fileSize; + data["checkItemStd"] = this.checkItemStd; + data["checkItemCode"] = this.checkItemCode; + data["checkItemName"] = this.checkItemName; + data["checkItemDesc"] = this.checkItemDesc; + data["unit"] = this.unit; + data["setValueMax"] = this.setValueMax; + data["setValueMin"] = this.setValueMin; + data["exemptionValueMax"] = this.exemptionValueMax; + data["exemptionValueMin"] = this.exemptionValueMin; + data["memo"] = this.memo; return data; } - clone(): FileUploadOutputDto { + clone(): IcsCheckItemImportDto { const json = this.toJSON(); - let result = new FileUploadOutputDto(); + let result = new IcsCheckItemImportDto(); result.init(json); return result; } } -/** 文件上传输出Dto */ -export interface IFileUploadOutputDto { - fileName: string; - fileToken: string; - fileSize: number; +export interface IIcsCheckItemImportDto { + checkItemStd: string; + checkItemCode: string; + checkItemName: string; + checkItemDesc: string | undefined; + unit: string; + setValueMax: string; + setValueMin: string; + exemptionValueMax: string; + exemptionValueMin: string; + memo: string | undefined; } -/** 查找用户 */ -export class FindUsersInput implements IFindUsersInput { - /** 组织单元Id */ - organizationUnitId: string | undefined; - maxResultCount: number; - skipCount: number; - filterText: string | undefined; +export class IcsCheckItemListDto implements IIcsCheckItemListDto { + key: string | undefined; + checkItemStd: string | undefined; + checkItemCode: string | undefined; + checkItemName: string | undefined; + checkItemDesc: string | undefined; + checkGroupCode: string | undefined; + checkGroupName: string | undefined; + unit: string | undefined; + setValueMax: string | undefined; + setValueMin: string | undefined; + exemptionValueMax: string | undefined; + exemptionValueMin: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IFindUsersInput) { + constructor(data?: IIcsCheckItemListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -59990,61 +92368,144 @@ export class FindUsersInput implements IFindUsersInput { init(_data?: any) { if (_data) { - this.organizationUnitId = _data["organizationUnitId"]; - this.maxResultCount = _data["maxResultCount"]; - this.skipCount = _data["skipCount"]; - this.filterText = _data["filterText"]; + this.key = _data["key"]; + this.checkItemStd = _data["checkItemStd"]; + this.checkItemCode = _data["checkItemCode"]; + this.checkItemName = _data["checkItemName"]; + this.checkItemDesc = _data["checkItemDesc"]; + this.checkGroupCode = _data["checkGroupCode"]; + this.checkGroupName = _data["checkGroupName"]; + this.unit = _data["unit"]; + this.setValueMax = _data["setValueMax"]; + this.setValueMin = _data["setValueMin"]; + this.exemptionValueMax = _data["exemptionValueMax"]; + this.exemptionValueMin = _data["exemptionValueMin"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): FindUsersInput { + static fromJS(data: any): IcsCheckItemListDto { data = typeof data === 'object' ? data : {}; - let result = new FindUsersInput(); + let result = new IcsCheckItemListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["organizationUnitId"] = this.organizationUnitId; - data["maxResultCount"] = this.maxResultCount; - data["skipCount"] = this.skipCount; - data["filterText"] = this.filterText; + data["key"] = this.key; + data["checkItemStd"] = this.checkItemStd; + data["checkItemCode"] = this.checkItemCode; + data["checkItemName"] = this.checkItemName; + data["checkItemDesc"] = this.checkItemDesc; + data["checkGroupCode"] = this.checkGroupCode; + data["checkGroupName"] = this.checkGroupName; + data["unit"] = this.unit; + data["setValueMax"] = this.setValueMax; + data["setValueMin"] = this.setValueMin; + data["exemptionValueMax"] = this.exemptionValueMax; + data["exemptionValueMin"] = this.exemptionValueMin; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): FindUsersInput { + clone(): IcsCheckItemListDto { const json = this.toJSON(); - let result = new FindUsersInput(); + let result = new IcsCheckItemListDto(); result.init(json); return result; } } -/** 查找用户 */ -export interface IFindUsersInput { - /** 组织单元Id */ - organizationUnitId: string | undefined; - maxResultCount: number; - skipCount: number; - filterText: string | undefined; +export interface IIcsCheckItemListDto { + key: string | undefined; + checkItemStd: string | undefined; + checkItemCode: string | undefined; + checkItemName: string | undefined; + checkItemDesc: string | undefined; + checkGroupCode: string | undefined; + checkGroupName: string | undefined; + unit: string | undefined; + setValueMax: string | undefined; + setValueMin: string | undefined; + exemptionValueMax: string | undefined; + exemptionValueMin: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 功能 平铺Dto */ -export class FlatFeatureDto implements IFlatFeatureDto { - /** 父节点名称 */ - parentName: string | undefined; - /** 名称 */ - name: string | undefined; - /** 显示名称 */ - displayName: string | undefined; - /** 描述 */ - description: string | undefined; - /** 默认值 */ - defaultValue: string | undefined; - inputType: FeatureInputTypeDto; +export class IcsCrew2UserDto implements IIcsCrew2UserDto { + key: string | undefined; + id: number | undefined; + cRewId: number; + crewCode: string | undefined; + crewName: string | undefined; + userId: string | undefined; + userCode: string | undefined; + userName: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; - constructor(data?: IFlatFeatureDto) { + constructor(data?: IIcsCrew2UserDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -60055,70 +92516,108 @@ export class FlatFeatureDto implements IFlatFeatureDto { init(_data?: any) { if (_data) { - this.parentName = _data["parentName"]; - this.name = _data["name"]; - this.displayName = _data["displayName"]; - this.description = _data["description"]; - this.defaultValue = _data["defaultValue"]; - this.inputType = _data["inputType"] ? FeatureInputTypeDto.fromJS(_data["inputType"]) : undefined; + this.key = _data["key"]; + this.id = _data["id"]; + this.cRewId = _data["cRewId"]; + this.crewCode = _data["crewCode"]; + this.crewName = _data["crewName"]; + this.userId = _data["userId"]; + this.userCode = _data["userCode"]; + this.userName = _data["userName"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): FlatFeatureDto { + static fromJS(data: any): IcsCrew2UserDto { data = typeof data === 'object' ? data : {}; - let result = new FlatFeatureDto(); + let result = new IcsCrew2UserDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["parentName"] = this.parentName; - data["name"] = this.name; - data["displayName"] = this.displayName; - data["description"] = this.description; - data["defaultValue"] = this.defaultValue; - data["inputType"] = this.inputType ? this.inputType.toJSON() : undefined; + data["key"] = this.key; + data["id"] = this.id; + data["cRewId"] = this.cRewId; + data["crewCode"] = this.crewCode; + data["crewName"] = this.crewName; + data["userId"] = this.userId; + data["userCode"] = this.userCode; + data["userName"] = this.userName; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["memo"] = this.memo; return data; } - clone(): FlatFeatureDto { + clone(): IcsCrew2UserDto { const json = this.toJSON(); - let result = new FlatFeatureDto(); + let result = new IcsCrew2UserDto(); result.init(json); return result; } } -/** 功能 平铺Dto */ -export interface IFlatFeatureDto { - /** 父节点名称 */ - parentName: string | undefined; - /** 名称 */ - name: string | undefined; - /** 显示名称 */ - displayName: string | undefined; - /** 描述 */ - description: string | undefined; - /** 默认值 */ - defaultValue: string | undefined; - inputType: FeatureInputTypeDto; +export interface IIcsCrew2UserDto { + key: string | undefined; + id: number | undefined; + cRewId: number; + crewCode: string | undefined; + crewName: string | undefined; + userId: string | undefined; + userCode: string | undefined; + userName: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; } -/** 权限Dto */ -export class FlatPermissionDto implements IFlatPermissionDto { - /** 父级名称 */ - parentName: string | undefined; - /** 名称 */ - name: string | undefined; - /** 显示名称 */ - displayName: string | undefined; - /** 描述 */ - description: string | undefined; - /** 是否默认授权 */ - isGrantedByDefault: boolean; +export class IcsCrewEditDto implements IIcsCrewEditDto { + id: number | undefined; + crewCode: string | undefined; + crewName: string | undefined; + crewDesc: string | undefined; + crew2UserList: IcsCrew2UserDto[] | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; - constructor(data?: IFlatPermissionDto) { + constructor(data?: IIcsCrewEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -60129,69 +92628,112 @@ export class FlatPermissionDto implements IFlatPermissionDto { init(_data?: any) { if (_data) { - this.parentName = _data["parentName"]; - this.name = _data["name"]; - this.displayName = _data["displayName"]; - this.description = _data["description"]; - this.isGrantedByDefault = _data["isGrantedByDefault"]; + this.id = _data["id"]; + this.crewCode = _data["crewCode"]; + this.crewName = _data["crewName"]; + this.crewDesc = _data["crewDesc"]; + if (Array.isArray(_data["crew2UserList"])) { + this.crew2UserList = [] as any; + for (let item of _data["crew2UserList"]) + this.crew2UserList.push(IcsCrew2UserDto.fromJS(item)); + } + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): FlatPermissionDto { + static fromJS(data: any): IcsCrewEditDto { data = typeof data === 'object' ? data : {}; - let result = new FlatPermissionDto(); + let result = new IcsCrewEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["parentName"] = this.parentName; - data["name"] = this.name; - data["displayName"] = this.displayName; - data["description"] = this.description; - data["isGrantedByDefault"] = this.isGrantedByDefault; + data["id"] = this.id; + data["crewCode"] = this.crewCode; + data["crewName"] = this.crewName; + data["crewDesc"] = this.crewDesc; + if (Array.isArray(this.crew2UserList)) { + data["crew2UserList"] = []; + for (let item of this.crew2UserList) + data["crew2UserList"].push(item.toJSON()); + } + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["memo"] = this.memo; return data; } - clone(): FlatPermissionDto { + clone(): IcsCrewEditDto { const json = this.toJSON(); - let result = new FlatPermissionDto(); + let result = new IcsCrewEditDto(); result.init(json); return result; } } -/** 权限Dto */ -export interface IFlatPermissionDto { - /** 父级名称 */ - parentName: string | undefined; - /** 名称 */ - name: string | undefined; - /** 显示名称 */ - displayName: string | undefined; - /** 描述 */ - description: string | undefined; - /** 是否默认授权 */ - isGrantedByDefault: boolean; +export interface IIcsCrewEditDto { + id: number | undefined; + crewCode: string | undefined; + crewName: string | undefined; + crewDesc: string | undefined; + crew2UserList: IcsCrew2UserDto[] | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; } -/** 权限等级Dto */ -export class FlatPermissionWithLevelDto implements IFlatPermissionWithLevelDto { - /** 等级 */ - level: number; - /** 父级名称 */ - parentName: string | undefined; - /** 名称 */ - name: string | undefined; - /** 显示名称 */ - displayName: string | undefined; - /** 描述 */ - description: string | undefined; - /** 是否默认授权 */ - isGrantedByDefault: boolean; +export class IcsCrewListDto implements IIcsCrewListDto { + crewCode: string | undefined; + crewName: string | undefined; + crewDesc: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IFlatPermissionWithLevelDto) { + constructor(data?: IIcsCrewListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -60202,62 +92744,86 @@ export class FlatPermissionWithLevelDto implements IFlatPermissionWithLevelDto { init(_data?: any) { if (_data) { - this.level = _data["level"]; - this.parentName = _data["parentName"]; - this.name = _data["name"]; - this.displayName = _data["displayName"]; - this.description = _data["description"]; - this.isGrantedByDefault = _data["isGrantedByDefault"]; + this.crewCode = _data["crewCode"]; + this.crewName = _data["crewName"]; + this.crewDesc = _data["crewDesc"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): FlatPermissionWithLevelDto { + static fromJS(data: any): IcsCrewListDto { data = typeof data === 'object' ? data : {}; - let result = new FlatPermissionWithLevelDto(); + let result = new IcsCrewListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["level"] = this.level; - data["parentName"] = this.parentName; - data["name"] = this.name; - data["displayName"] = this.displayName; - data["description"] = this.description; - data["isGrantedByDefault"] = this.isGrantedByDefault; + data["crewCode"] = this.crewCode; + data["crewName"] = this.crewName; + data["crewDesc"] = this.crewDesc; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): FlatPermissionWithLevelDto { + clone(): IcsCrewListDto { const json = this.toJSON(); - let result = new FlatPermissionWithLevelDto(); + let result = new IcsCrewListDto(); result.init(json); return result; } } -/** 权限等级Dto */ -export interface IFlatPermissionWithLevelDto { - /** 等级 */ - level: number; - /** 父级名称 */ - parentName: string | undefined; - /** 名称 */ - name: string | undefined; - /** 显示名称 */ - displayName: string | undefined; - /** 描述 */ - description: string | undefined; - /** 是否默认授权 */ - isGrantedByDefault: boolean; -} - -export class FliterColumnConfigDto implements IFliterColumnConfigDto { - /** 菜单代码 */ - menuCode: string; - /** 列配置 */ - columnInfo: string; +export interface IIcsCrewListDto { + crewCode: string | undefined; + crewName: string | undefined; + crewDesc: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -60265,8 +92831,16 @@ export class FliterColumnConfigDto implements IFliterColumnConfigDto { creationTime: moment.Moment; creatorUserId: string | undefined; id: number; +} - constructor(data?: IFliterColumnConfigDto) { +export class IcsDataAuthorizationConfigEditDto implements IIcsDataAuthorizationConfigEditDto { + key: string | undefined; + id: number | undefined; + menuCode: string | undefined; + dataRange: string | undefined; + memo: string | undefined; + + constructor(data?: IIcsDataAuthorizationConfigEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -60277,52 +92851,53 @@ export class FliterColumnConfigDto implements IFliterColumnConfigDto { init(_data?: any) { if (_data) { - this.menuCode = _data["menuCode"]; - this.columnInfo = _data["columnInfo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; + this.key = _data["key"]; this.id = _data["id"]; + this.menuCode = _data["menuCode"]; + this.dataRange = _data["dataRange"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): FliterColumnConfigDto { + static fromJS(data: any): IcsDataAuthorizationConfigEditDto { data = typeof data === 'object' ? data : {}; - let result = new FliterColumnConfigDto(); + let result = new IcsDataAuthorizationConfigEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["menuCode"] = this.menuCode; - data["columnInfo"] = this.columnInfo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; + data["key"] = this.key; data["id"] = this.id; + data["menuCode"] = this.menuCode; + data["dataRange"] = this.dataRange; + data["memo"] = this.memo; return data; } - clone(): FliterColumnConfigDto { + clone(): IcsDataAuthorizationConfigEditDto { const json = this.toJSON(); - let result = new FliterColumnConfigDto(); + let result = new IcsDataAuthorizationConfigEditDto(); result.init(json); return result; } } -export interface IFliterColumnConfigDto { - /** 菜单代码 */ - menuCode: string; - /** 列配置 */ - columnInfo: string; +export interface IIcsDataAuthorizationConfigEditDto { + key: string | undefined; + id: number | undefined; + menuCode: string | undefined; + dataRange: string | undefined; + memo: string | undefined; +} + +export class IcsDataAuthorizationConfigListDto implements IIcsDataAuthorizationConfigListDto { + key: string | undefined; + menuCode: string | undefined; + menuName: string | undefined; + dataRange: string | undefined; + memo: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -60330,27 +92905,8 @@ export interface IFliterColumnConfigDto { creationTime: moment.Moment; creatorUserId: string | undefined; id: number; -} - -/** 好友 */ -export class FriendDto implements IFriendDto { - /** 好友Id */ - friendUserId: string | undefined; - /** 好友租户Id */ - friendTenantId: string | undefined; - /** 好友用户名 */ - friendUserName: string | undefined; - /** 好友租户名 */ - friendTenancyName: string | undefined; - /** 好友头像Id */ - friendProfilePictureId: string | undefined; - /** 未读消息数 */ - unreadMessageCount: number; - /** 是否在线 */ - isOnline: boolean; - state: FriendshipState; - constructor(data?: IFriendDto) { + constructor(data?: IIcsDataAuthorizationConfigListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -60361,77 +92917,86 @@ export class FriendDto implements IFriendDto { init(_data?: any) { if (_data) { - this.friendUserId = _data["friendUserId"]; - this.friendTenantId = _data["friendTenantId"]; - this.friendUserName = _data["friendUserName"]; - this.friendTenancyName = _data["friendTenancyName"]; - this.friendProfilePictureId = _data["friendProfilePictureId"]; - this.unreadMessageCount = _data["unreadMessageCount"]; - this.isOnline = _data["isOnline"]; - this.state = _data["state"]; + this.key = _data["key"]; + this.menuCode = _data["menuCode"]; + this.menuName = _data["menuName"]; + this.dataRange = _data["dataRange"]; + this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): FriendDto { + static fromJS(data: any): IcsDataAuthorizationConfigListDto { data = typeof data === 'object' ? data : {}; - let result = new FriendDto(); + let result = new IcsDataAuthorizationConfigListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["friendUserId"] = this.friendUserId; - data["friendTenantId"] = this.friendTenantId; - data["friendUserName"] = this.friendUserName; - data["friendTenancyName"] = this.friendTenancyName; - data["friendProfilePictureId"] = this.friendProfilePictureId; - data["unreadMessageCount"] = this.unreadMessageCount; - data["isOnline"] = this.isOnline; - data["state"] = this.state; + data["key"] = this.key; + data["menuCode"] = this.menuCode; + data["menuName"] = this.menuName; + data["dataRange"] = this.dataRange; + data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): FriendDto { + clone(): IcsDataAuthorizationConfigListDto { const json = this.toJSON(); - let result = new FriendDto(); + let result = new IcsDataAuthorizationConfigListDto(); result.init(json); return result; } } -/** 好友 */ -export interface IFriendDto { - /** 好友Id */ - friendUserId: string | undefined; - /** 好友租户Id */ - friendTenantId: string | undefined; - /** 好友用户名 */ - friendUserName: string | undefined; - /** 好友租户名 */ - friendTenancyName: string | undefined; - /** 好友头像Id */ - friendProfilePictureId: string | undefined; - /** 未读消息数 */ - unreadMessageCount: number; - /** 是否在线 */ - isOnline: boolean; - state: FriendshipState; -} - -export enum FriendshipState { - Accepted = "Accepted", - Blocked = "Blocked", +export interface IIcsDataAuthorizationConfigListDto { + key: string | undefined; + menuCode: string | undefined; + menuName: string | undefined; + dataRange: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 常用设置编辑 */ -export class GeneralSettingsEditDto implements IGeneralSettingsEditDto { - /** 时区 */ - timezone: string | undefined; - /** 这个字段只用于比较用户的时区与默认时区 */ - timezoneForComparison: string | undefined; +export class IcsDctEditDto implements IIcsDctEditDto { + id: number | undefined; + dctCode: string | undefined; + dctName: string | undefined; + dctDesc: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; - constructor(data?: IGeneralSettingsEditDto) { + constructor(data?: IIcsDctEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -60442,47 +93007,101 @@ export class GeneralSettingsEditDto implements IGeneralSettingsEditDto { init(_data?: any) { if (_data) { - this.timezone = _data["timezone"]; - this.timezoneForComparison = _data["timezoneForComparison"]; + this.id = _data["id"]; + this.dctCode = _data["dctCode"]; + this.dctName = _data["dctName"]; + this.dctDesc = _data["dctDesc"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GeneralSettingsEditDto { + static fromJS(data: any): IcsDctEditDto { data = typeof data === 'object' ? data : {}; - let result = new GeneralSettingsEditDto(); + let result = new IcsDctEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["timezone"] = this.timezone; - data["timezoneForComparison"] = this.timezoneForComparison; + data["id"] = this.id; + data["dctCode"] = this.dctCode; + data["dctName"] = this.dctName; + data["dctDesc"] = this.dctDesc; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["memo"] = this.memo; return data; } - clone(): GeneralSettingsEditDto { + clone(): IcsDctEditDto { const json = this.toJSON(); - let result = new GeneralSettingsEditDto(); + let result = new IcsDctEditDto(); result.init(json); return result; } } -/** 常用设置编辑 */ -export interface IGeneralSettingsEditDto { - /** 时区 */ - timezone: string | undefined; - /** 这个字段只用于比较用户的时区与默认时区 */ - timezoneForComparison: string | undefined; +export interface IIcsDctEditDto { + id: number | undefined; + dctCode: string | undefined; + dctName: string | undefined; + dctDesc: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; } -export class GetAllCacheKeyOutput implements IGetAllCacheKeyOutput { - /** 命名空间 */ - key: string | undefined; - cKeys: string[] | undefined; +export class IcsDctListDto implements IIcsDctListDto { + dctCode: string | undefined; + dctName: string | undefined; + dctDesc: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetAllCacheKeyOutput) { + constructor(data?: IIcsDctListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -60493,52 +93112,103 @@ export class GetAllCacheKeyOutput implements IGetAllCacheKeyOutput { init(_data?: any) { if (_data) { - this.key = _data["key"]; - if (Array.isArray(_data["cKeys"])) { - this.cKeys = [] as any; - for (let item of _data["cKeys"]) - this.cKeys.push(item); - } + this.dctCode = _data["dctCode"]; + this.dctName = _data["dctName"]; + this.dctDesc = _data["dctDesc"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetAllCacheKeyOutput { + static fromJS(data: any): IcsDctListDto { data = typeof data === 'object' ? data : {}; - let result = new GetAllCacheKeyOutput(); + let result = new IcsDctListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - if (Array.isArray(this.cKeys)) { - data["cKeys"] = []; - for (let item of this.cKeys) - data["cKeys"].push(item); - } + data["dctCode"] = this.dctCode; + data["dctName"] = this.dctName; + data["dctDesc"] = this.dctDesc; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetAllCacheKeyOutput { + clone(): IcsDctListDto { const json = this.toJSON(); - let result = new GetAllCacheKeyOutput(); + let result = new IcsDctListDto(); result.init(json); return result; } } -export interface IGetAllCacheKeyOutput { - /** 命名空间 */ - key: string | undefined; - cKeys: string[] | undefined; +export interface IIcsDctListDto { + dctCode: string | undefined; + dctName: string | undefined; + dctDesc: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 读取可编辑Apk管理的Dto */ -export class GetApkManagementForEditOutput implements IGetApkManagementForEditOutput { - apkManagement: ApkManagementEditDto; +export class IcsDutyEditDto implements IIcsDutyEditDto { + id: number | undefined; + dutyCode: string | undefined; + dutyName: string | undefined; + dutyDesc: string | undefined; + memo: string | undefined; - constructor(data?: IGetApkManagementForEditOutput) { + constructor(data?: IIcsDutyEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -60549,48 +93219,54 @@ export class GetApkManagementForEditOutput implements IGetApkManagementForEditOu init(_data?: any) { if (_data) { - this.apkManagement = _data["apkManagement"] ? ApkManagementEditDto.fromJS(_data["apkManagement"]) : undefined; + this.id = _data["id"]; + this.dutyCode = _data["dutyCode"]; + this.dutyName = _data["dutyName"]; + this.dutyDesc = _data["dutyDesc"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetApkManagementForEditOutput { + static fromJS(data: any): IcsDutyEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetApkManagementForEditOutput(); + let result = new IcsDutyEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["apkManagement"] = this.apkManagement ? this.apkManagement.toJSON() : undefined; + data["id"] = this.id; + data["dutyCode"] = this.dutyCode; + data["dutyName"] = this.dutyName; + data["dutyDesc"] = this.dutyDesc; + data["memo"] = this.memo; return data; } - clone(): GetApkManagementForEditOutput { + clone(): IcsDutyEditDto { const json = this.toJSON(); - let result = new GetApkManagementForEditOutput(); + let result = new IcsDutyEditDto(); result.init(json); return result; } } -/** 读取可编辑Apk管理的Dto */ -export interface IGetApkManagementForEditOutput { - apkManagement: ApkManagementEditDto; +export interface IIcsDutyEditDto { + id: number | undefined; + dutyCode: string | undefined; + dutyName: string | undefined; + dutyDesc: string | undefined; + memo: string | undefined; } -/** 根据Code获取输出 */ -export class GetByCodeOutput implements IGetByCodeOutput { - /** 省份名称 */ - provinceName: string | undefined; - /** 城市名称 */ - cityName: string | undefined; - /** 地区名称 */ - areaName: string | undefined; - /** 街道名称 */ - streetName: string | undefined; +export class IcsDutyImportDto implements IIcsDutyImportDto { + dutyCode: string; + dutyName: string; + dutyDesc: string | undefined; + memo: string | undefined; - constructor(data?: IGetByCodeOutput) { + constructor(data?: IIcsDutyImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -60601,56 +93277,59 @@ export class GetByCodeOutput implements IGetByCodeOutput { init(_data?: any) { if (_data) { - this.provinceName = _data["provinceName"]; - this.cityName = _data["cityName"]; - this.areaName = _data["areaName"]; - this.streetName = _data["streetName"]; + this.dutyCode = _data["dutyCode"]; + this.dutyName = _data["dutyName"]; + this.dutyDesc = _data["dutyDesc"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetByCodeOutput { + static fromJS(data: any): IcsDutyImportDto { data = typeof data === 'object' ? data : {}; - let result = new GetByCodeOutput(); + let result = new IcsDutyImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["provinceName"] = this.provinceName; - data["cityName"] = this.cityName; - data["areaName"] = this.areaName; - data["streetName"] = this.streetName; + data["dutyCode"] = this.dutyCode; + data["dutyName"] = this.dutyName; + data["dutyDesc"] = this.dutyDesc; + data["memo"] = this.memo; return data; } - clone(): GetByCodeOutput { + clone(): IcsDutyImportDto { const json = this.toJSON(); - let result = new GetByCodeOutput(); + let result = new IcsDutyImportDto(); result.init(json); return result; } } -/** 根据Code获取输出 */ -export interface IGetByCodeOutput { - /** 省份名称 */ - provinceName: string | undefined; - /** 城市名称 */ - cityName: string | undefined; - /** 地区名称 */ - areaName: string | undefined; - /** 街道名称 */ - streetName: string | undefined; +export interface IIcsDutyImportDto { + dutyCode: string; + dutyName: string; + dutyDesc: string | undefined; + memo: string | undefined; } -/** 获取当前登录信息 */ -export class GetCurrentLoginInformationsOutput implements IGetCurrentLoginInformationsOutput { - user: UserLoginInfoDto; - tenant: TenantLoginInfoDto; - application: ApplicationInfoDto; +export class IcsDutyListDto implements IIcsDutyListDto { + dutyCode: string | undefined; + dutyName: string | undefined; + dutyDesc: string | undefined; + memo: string | undefined; + key: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetCurrentLoginInformationsOutput) { + constructor(data?: IIcsDutyListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -60661,48 +93340,77 @@ export class GetCurrentLoginInformationsOutput implements IGetCurrentLoginInform init(_data?: any) { if (_data) { - this.user = _data["user"] ? UserLoginInfoDto.fromJS(_data["user"]) : undefined; - this.tenant = _data["tenant"] ? TenantLoginInfoDto.fromJS(_data["tenant"]) : undefined; - this.application = _data["application"] ? ApplicationInfoDto.fromJS(_data["application"]) : undefined; + this.dutyCode = _data["dutyCode"]; + this.dutyName = _data["dutyName"]; + this.dutyDesc = _data["dutyDesc"]; + this.memo = _data["memo"]; + this.key = _data["key"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetCurrentLoginInformationsOutput { + static fromJS(data: any): IcsDutyListDto { data = typeof data === 'object' ? data : {}; - let result = new GetCurrentLoginInformationsOutput(); + let result = new IcsDutyListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["user"] = this.user ? this.user.toJSON() : undefined; - data["tenant"] = this.tenant ? this.tenant.toJSON() : undefined; - data["application"] = this.application ? this.application.toJSON() : undefined; + data["dutyCode"] = this.dutyCode; + data["dutyName"] = this.dutyName; + data["dutyDesc"] = this.dutyDesc; + data["memo"] = this.memo; + data["key"] = this.key; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetCurrentLoginInformationsOutput { + clone(): IcsDutyListDto { const json = this.toJSON(); - let result = new GetCurrentLoginInformationsOutput(); + let result = new IcsDutyListDto(); result.init(json); return result; } } -/** 获取当前登录信息 */ -export interface IGetCurrentLoginInformationsOutput { - user: UserLoginInfoDto; - tenant: TenantLoginInfoDto; - application: ApplicationInfoDto; +export interface IIcsDutyListDto { + dutyCode: string | undefined; + dutyName: string | undefined; + dutyDesc: string | undefined; + memo: string | undefined; + key: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 获取每日销售量 */ -export class GetDailySalesOutput implements IGetDailySalesOutput { - /** 每日销售量 */ - dailySales: number[] | undefined; +export class IcsDynamicColumnConfigEditDto implements IIcsDynamicColumnConfigEditDto { + id: number | undefined; + menuCode: string | undefined; + roleID: string | undefined; + columnInfo: string | undefined; + dtoName: string | undefined; + nameSpace: string | undefined; - constructor(data?: IGetDailySalesOutput) { + constructor(data?: IIcsDynamicColumnConfigEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -60713,200 +93421,153 @@ export class GetDailySalesOutput implements IGetDailySalesOutput { init(_data?: any) { if (_data) { - if (Array.isArray(_data["dailySales"])) { - this.dailySales = [] as any; - for (let item of _data["dailySales"]) - this.dailySales.push(item); - } + this.id = _data["id"]; + this.menuCode = _data["menuCode"]; + this.roleID = _data["roleID"]; + this.columnInfo = _data["columnInfo"]; + this.dtoName = _data["dtoName"]; + this.nameSpace = _data["nameSpace"]; } } - static fromJS(data: any): GetDailySalesOutput { + static fromJS(data: any): IcsDynamicColumnConfigEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetDailySalesOutput(); + let result = new IcsDynamicColumnConfigEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.dailySales)) { - data["dailySales"] = []; - for (let item of this.dailySales) - data["dailySales"].push(item); - } + data["id"] = this.id; + data["menuCode"] = this.menuCode; + data["roleID"] = this.roleID; + data["columnInfo"] = this.columnInfo; + data["dtoName"] = this.dtoName; + data["nameSpace"] = this.nameSpace; return data; } - clone(): GetDailySalesOutput { + clone(): IcsDynamicColumnConfigEditDto { const json = this.toJSON(); - let result = new GetDailySalesOutput(); + let result = new IcsDynamicColumnConfigEditDto(); result.init(json); return result; } } -/** 获取每日销售量 */ -export interface IGetDailySalesOutput { - /** 每日销售量 */ - dailySales: number[] | undefined; +export interface IIcsDynamicColumnConfigEditDto { + id: number | undefined; + menuCode: string | undefined; + roleID: string | undefined; + columnInfo: string | undefined; + dtoName: string | undefined; + nameSpace: string | undefined; } -/** 获取工作台数据 */ -export class GetDashboardDataOutput implements IGetDashboardDataOutput { - /** 总利润 */ - totalProfit: number; - /** 新反馈意见 */ - newFeedbacks: number; - /** 新订单 */ - newOrders: number; - /** 新用户 */ - newUsers: number; - /** 销售统计 YoyoBoot.MultiTenancy.TenantDashboard.Dto.SalesSummaryData */ - salesSummary: SalesSummaryData[] | undefined; - /** 销售总额 */ - totalSales: number; - /** 收入 */ - revenue: number; - /** 支出 */ - expenses: number; - /** 增长 */ - growth: number; - /** 交易百分比 */ - transactionPercent: number; - /** 新访问百分比 */ - newVisitPercent: number; - /** 弹跳率 */ - bouncePercent: number; - /** 日销量 */ - dailySales: number[] | undefined; - /** 盈利股票 */ - profitShares: number[] | undefined; - - constructor(data?: IGetDashboardDataOutput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } - } - } - - init(_data?: any) { - if (_data) { - this.totalProfit = _data["totalProfit"]; - this.newFeedbacks = _data["newFeedbacks"]; - this.newOrders = _data["newOrders"]; - this.newUsers = _data["newUsers"]; - if (Array.isArray(_data["salesSummary"])) { - this.salesSummary = [] as any; - for (let item of _data["salesSummary"]) - this.salesSummary.push(SalesSummaryData.fromJS(item)); - } - this.totalSales = _data["totalSales"]; - this.revenue = _data["revenue"]; - this.expenses = _data["expenses"]; - this.growth = _data["growth"]; - this.transactionPercent = _data["transactionPercent"]; - this.newVisitPercent = _data["newVisitPercent"]; - this.bouncePercent = _data["bouncePercent"]; - if (Array.isArray(_data["dailySales"])) { - this.dailySales = [] as any; - for (let item of _data["dailySales"]) - this.dailySales.push(item); - } - if (Array.isArray(_data["profitShares"])) { - this.profitShares = [] as any; - for (let item of _data["profitShares"]) - this.profitShares.push(item); +export class IcsDynamicColumnConfigListDto implements IIcsDynamicColumnConfigListDto { + menuCode: string | undefined; + menuName: string | undefined; + roleID: string | undefined; + roleName: string | undefined; + columnInfo: string | undefined; + dtoName: string | undefined; + nameSpace: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; + + constructor(data?: IIcsDynamicColumnConfigListDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; } } } - static fromJS(data: any): GetDashboardDataOutput { + init(_data?: any) { + if (_data) { + this.menuCode = _data["menuCode"]; + this.menuName = _data["menuName"]; + this.roleID = _data["roleID"]; + this.roleName = _data["roleName"]; + this.columnInfo = _data["columnInfo"]; + this.dtoName = _data["dtoName"]; + this.nameSpace = _data["nameSpace"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; + } + } + + static fromJS(data: any): IcsDynamicColumnConfigListDto { data = typeof data === 'object' ? data : {}; - let result = new GetDashboardDataOutput(); + let result = new IcsDynamicColumnConfigListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalProfit"] = this.totalProfit; - data["newFeedbacks"] = this.newFeedbacks; - data["newOrders"] = this.newOrders; - data["newUsers"] = this.newUsers; - if (Array.isArray(this.salesSummary)) { - data["salesSummary"] = []; - for (let item of this.salesSummary) - data["salesSummary"].push(item.toJSON()); - } - data["totalSales"] = this.totalSales; - data["revenue"] = this.revenue; - data["expenses"] = this.expenses; - data["growth"] = this.growth; - data["transactionPercent"] = this.transactionPercent; - data["newVisitPercent"] = this.newVisitPercent; - data["bouncePercent"] = this.bouncePercent; - if (Array.isArray(this.dailySales)) { - data["dailySales"] = []; - for (let item of this.dailySales) - data["dailySales"].push(item); - } - if (Array.isArray(this.profitShares)) { - data["profitShares"] = []; - for (let item of this.profitShares) - data["profitShares"].push(item); - } + data["menuCode"] = this.menuCode; + data["menuName"] = this.menuName; + data["roleID"] = this.roleID; + data["roleName"] = this.roleName; + data["columnInfo"] = this.columnInfo; + data["dtoName"] = this.dtoName; + data["nameSpace"] = this.nameSpace; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetDashboardDataOutput { + clone(): IcsDynamicColumnConfigListDto { const json = this.toJSON(); - let result = new GetDashboardDataOutput(); + let result = new IcsDynamicColumnConfigListDto(); result.init(json); return result; } } -/** 获取工作台数据 */ -export interface IGetDashboardDataOutput { - /** 总利润 */ - totalProfit: number; - /** 新反馈意见 */ - newFeedbacks: number; - /** 新订单 */ - newOrders: number; - /** 新用户 */ - newUsers: number; - /** 销售统计 YoyoBoot.MultiTenancy.TenantDashboard.Dto.SalesSummaryData */ - salesSummary: SalesSummaryData[] | undefined; - /** 销售总额 */ - totalSales: number; - /** 收入 */ - revenue: number; - /** 支出 */ - expenses: number; - /** 增长 */ - growth: number; - /** 交易百分比 */ - transactionPercent: number; - /** 新访问百分比 */ - newVisitPercent: number; - /** 弹跳率 */ - bouncePercent: number; - /** 日销量 */ - dailySales: number[] | undefined; - /** 盈利股票 */ - profitShares: number[] | undefined; +export interface IIcsDynamicColumnConfigListDto { + menuCode: string | undefined; + menuName: string | undefined; + roleID: string | undefined; + roleName: string | undefined; + columnInfo: string | undefined; + dtoName: string | undefined; + nameSpace: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 获取默认版本名称 */ -export class GetDefaultEditionNameOutput implements IGetDefaultEditionNameOutput { - /** 名称 */ - name: string | undefined; +export class IcsEcEditDto implements IIcsEcEditDto { + id: number | undefined; + ecCode: string | undefined; + ecName: string | undefined; + ecDesc: string | undefined; + memo: string | undefined; - constructor(data?: IGetDefaultEditionNameOutput) { + constructor(data?: IIcsEcEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -60917,48 +93578,54 @@ export class GetDefaultEditionNameOutput implements IGetDefaultEditionNameOutput init(_data?: any) { if (_data) { - this.name = _data["name"]; + this.id = _data["id"]; + this.ecCode = _data["ecCode"]; + this.ecName = _data["ecName"]; + this.ecDesc = _data["ecDesc"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetDefaultEditionNameOutput { + static fromJS(data: any): IcsEcEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetDefaultEditionNameOutput(); + let result = new IcsEcEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["name"] = this.name; + data["id"] = this.id; + data["ecCode"] = this.ecCode; + data["ecName"] = this.ecName; + data["ecDesc"] = this.ecDesc; + data["memo"] = this.memo; return data; } - clone(): GetDefaultEditionNameOutput { + clone(): IcsEcEditDto { const json = this.toJSON(); - let result = new GetDefaultEditionNameOutput(); + let result = new IcsEcEditDto(); result.init(json); return result; } } -/** 获取默认版本名称 */ -export interface IGetDefaultEditionNameOutput { - /** 名称 */ - name: string | undefined; +export interface IIcsEcEditDto { + id: number | undefined; + ecCode: string | undefined; + ecName: string | undefined; + ecDesc: string | undefined; + memo: string | undefined; } -/** 版本编辑 */ -export class GetEditionEditOutput implements IGetEditionEditOutput { - edition: EditionEditDto; - /** 功能值列表 -Abp.Application.Services.Dto.NameValueDto */ - featureValues: NameValueDto[] | undefined; - /** 功能列表 -YoyoBoot.Editions.Dtos.FlatFeatureDto */ - features: FlatFeatureDto[] | undefined; +export class IcsEcImportDto implements IIcsEcImportDto { + ecCode: string; + ecName: string; + ecDesc: string | undefined; + memo: string | undefined; - constructor(data?: IGetEditionEditOutput) { + constructor(data?: IIcsEcImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -60969,68 +93636,59 @@ YoyoBoot.Editions.Dtos.FlatFeatureDto */ init(_data?: any) { if (_data) { - this.edition = _data["edition"] ? EditionEditDto.fromJS(_data["edition"]) : undefined; - if (Array.isArray(_data["featureValues"])) { - this.featureValues = [] as any; - for (let item of _data["featureValues"]) - this.featureValues.push(NameValueDto.fromJS(item)); - } - if (Array.isArray(_data["features"])) { - this.features = [] as any; - for (let item of _data["features"]) - this.features.push(FlatFeatureDto.fromJS(item)); - } + this.ecCode = _data["ecCode"]; + this.ecName = _data["ecName"]; + this.ecDesc = _data["ecDesc"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetEditionEditOutput { + static fromJS(data: any): IcsEcImportDto { data = typeof data === 'object' ? data : {}; - let result = new GetEditionEditOutput(); + let result = new IcsEcImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["edition"] = this.edition ? this.edition.toJSON() : undefined; - if (Array.isArray(this.featureValues)) { - data["featureValues"] = []; - for (let item of this.featureValues) - data["featureValues"].push(item.toJSON()); - } - if (Array.isArray(this.features)) { - data["features"] = []; - for (let item of this.features) - data["features"].push(item.toJSON()); - } + data["ecCode"] = this.ecCode; + data["ecName"] = this.ecName; + data["ecDesc"] = this.ecDesc; + data["memo"] = this.memo; return data; } - clone(): GetEditionEditOutput { + clone(): IcsEcImportDto { const json = this.toJSON(); - let result = new GetEditionEditOutput(); + let result = new IcsEcImportDto(); result.init(json); return result; } } -/** 版本编辑 */ -export interface IGetEditionEditOutput { - edition: EditionEditDto; - /** 功能值列表 -Abp.Application.Services.Dto.NameValueDto */ - featureValues: NameValueDto[] | undefined; - /** 功能列表 -YoyoBoot.Editions.Dtos.FlatFeatureDto */ - features: FlatFeatureDto[] | undefined; +export interface IIcsEcImportDto { + ecCode: string; + ecName: string; + ecDesc: string | undefined; + memo: string | undefined; } -/** 获取版本租户统计信息输入 */ -export class GetEditionTenantStatisticsOutput implements IGetEditionTenantStatisticsOutput { - /** 版本统计 */ - editionStatistics: TenantEdition[] | undefined; +export class IcsEcListDto implements IIcsEcListDto { + key: string | undefined; + ecCode: string | undefined; + ecName: string | undefined; + ecDesc: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetEditionTenantStatisticsOutput) { + constructor(data?: IIcsEcListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -61041,112 +93699,210 @@ export class GetEditionTenantStatisticsOutput implements IGetEditionTenantStatis init(_data?: any) { if (_data) { - if (Array.isArray(_data["editionStatistics"])) { - this.editionStatistics = [] as any; - for (let item of _data["editionStatistics"]) - this.editionStatistics.push(TenantEdition.fromJS(item)); - } + this.key = _data["key"]; + this.ecCode = _data["ecCode"]; + this.ecName = _data["ecName"]; + this.ecDesc = _data["ecDesc"]; + this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetEditionTenantStatisticsOutput { + static fromJS(data: any): IcsEcListDto { data = typeof data === 'object' ? data : {}; - let result = new GetEditionTenantStatisticsOutput(); + let result = new IcsEcListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.editionStatistics)) { - data["editionStatistics"] = []; - for (let item of this.editionStatistics) - data["editionStatistics"].push(item.toJSON()); - } + data["key"] = this.key; + data["ecCode"] = this.ecCode; + data["ecName"] = this.ecName; + data["ecDesc"] = this.ecDesc; + data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetEditionTenantStatisticsOutput { + clone(): IcsEcListDto { const json = this.toJSON(); - let result = new GetEditionTenantStatisticsOutput(); + let result = new IcsEcListDto(); result.init(json); return result; } } -/** 获取版本租户统计信息输入 */ -export interface IGetEditionTenantStatisticsOutput { - /** 版本统计 */ - editionStatistics: TenantEdition[] | undefined; +export interface IIcsEcListDto { + key: string | undefined; + ecCode: string | undefined; + ecName: string | undefined; + ecDesc: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 获取邮箱验证码 */ -export class GetEmailAddressCodeInput implements IGetEmailAddressCodeInput { - /** 邮箱地址 */ - emailAddress: string | undefined; - /** 验证码 */ - confirmationCode: string | undefined; +export class IcsEcg2EcDto implements IIcsEcg2EcDto { + key: string | undefined; + id: number | undefined; + ecgId: number; + ecId: number[]; + ecgCode: string; + ecgName: string | undefined; + ecCode: string; + ecName: string | undefined; + memo: string | undefined; + tenantId: string; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetEmailAddressCodeInput) { + constructor(data?: IIcsEcg2EcDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } + if (!data) { + this.ecId = []; + } } init(_data?: any) { if (_data) { - this.emailAddress = _data["emailAddress"]; - this.confirmationCode = _data["confirmationCode"]; + this.key = _data["key"]; + this.id = _data["id"]; + this.ecgId = _data["ecgId"]; + if (Array.isArray(_data["ecId"])) { + this.ecId = [] as any; + for (let item of _data["ecId"]) + this.ecId.push(item); + } + this.ecgCode = _data["ecgCode"]; + this.ecgName = _data["ecgName"]; + this.ecCode = _data["ecCode"]; + this.ecName = _data["ecName"]; + this.memo = _data["memo"]; + this.tenantId = _data["tenantId"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetEmailAddressCodeInput { + static fromJS(data: any): IcsEcg2EcDto { data = typeof data === 'object' ? data : {}; - let result = new GetEmailAddressCodeInput(); + let result = new IcsEcg2EcDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["emailAddress"] = this.emailAddress; - data["confirmationCode"] = this.confirmationCode; + data["key"] = this.key; + data["id"] = this.id; + data["ecgId"] = this.ecgId; + if (Array.isArray(this.ecId)) { + data["ecId"] = []; + for (let item of this.ecId) + data["ecId"].push(item); + } + data["ecgCode"] = this.ecgCode; + data["ecgName"] = this.ecgName; + data["ecCode"] = this.ecCode; + data["ecName"] = this.ecName; + data["memo"] = this.memo; + data["tenantId"] = this.tenantId; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetEmailAddressCodeInput { + clone(): IcsEcg2EcDto { const json = this.toJSON(); - let result = new GetEmailAddressCodeInput(); + let result = new IcsEcg2EcDto(); result.init(json); return result; } } -/** 获取邮箱验证码 */ -export interface IGetEmailAddressCodeInput { - /** 邮箱地址 */ - emailAddress: string | undefined; - /** 验证码 */ - confirmationCode: string | undefined; +export interface IIcsEcg2EcDto { + key: string | undefined; + id: number | undefined; + ecgId: number; + ecId: number[]; + ecgCode: string; + ecgName: string | undefined; + ecCode: string; + ecName: string | undefined; + memo: string | undefined; + tenantId: string; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -/** 获取即将到期的租户 */ -export class GetExpiringTenantsOutput implements IGetExpiringTenantsOutput { - /** 到期租户列表 */ - expiringTenants: ExpiringTenant[] | undefined; - /** 订阅结束报警天数 */ - subscriptionEndAlertDayCount: number; - /** 最大到期租户显示数 */ - maxExpiringTenantsShownCount: number; - /** 订阅结束日期开始 */ - subscriptionEndDateStart: moment.Moment; - /** 订阅结束日期结束 */ - subscriptionEndDateEnd: moment.Moment; +export class IcsEcgEditDto implements IIcsEcgEditDto { + id: number | undefined; + ecgCode: string | undefined; + ecgName: string | undefined; + ecgDesc: string | undefined; + ecId: number[] | undefined; + routeCode: string | undefined; + opCode: string | undefined; + resCode: string | undefined; + memo: string | undefined; - constructor(data?: IGetExpiringTenantsOutput) { + constructor(data?: IIcsEcgEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -61157,65 +93913,78 @@ export class GetExpiringTenantsOutput implements IGetExpiringTenantsOutput { init(_data?: any) { if (_data) { - if (Array.isArray(_data["expiringTenants"])) { - this.expiringTenants = [] as any; - for (let item of _data["expiringTenants"]) - this.expiringTenants.push(ExpiringTenant.fromJS(item)); + this.id = _data["id"]; + this.ecgCode = _data["ecgCode"]; + this.ecgName = _data["ecgName"]; + this.ecgDesc = _data["ecgDesc"]; + if (Array.isArray(_data["ecId"])) { + this.ecId = [] as any; + for (let item of _data["ecId"]) + this.ecId.push(item); } - this.subscriptionEndAlertDayCount = _data["subscriptionEndAlertDayCount"]; - this.maxExpiringTenantsShownCount = _data["maxExpiringTenantsShownCount"]; - this.subscriptionEndDateStart = _data["subscriptionEndDateStart"] ? moment(_data["subscriptionEndDateStart"].toString()) : undefined; - this.subscriptionEndDateEnd = _data["subscriptionEndDateEnd"] ? moment(_data["subscriptionEndDateEnd"].toString()) : undefined; + this.routeCode = _data["routeCode"]; + this.opCode = _data["opCode"]; + this.resCode = _data["resCode"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetExpiringTenantsOutput { + static fromJS(data: any): IcsEcgEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetExpiringTenantsOutput(); + let result = new IcsEcgEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.expiringTenants)) { - data["expiringTenants"] = []; - for (let item of this.expiringTenants) - data["expiringTenants"].push(item.toJSON()); + data["id"] = this.id; + data["ecgCode"] = this.ecgCode; + data["ecgName"] = this.ecgName; + data["ecgDesc"] = this.ecgDesc; + if (Array.isArray(this.ecId)) { + data["ecId"] = []; + for (let item of this.ecId) + data["ecId"].push(item); } - data["subscriptionEndAlertDayCount"] = this.subscriptionEndAlertDayCount; - data["maxExpiringTenantsShownCount"] = this.maxExpiringTenantsShownCount; - data["subscriptionEndDateStart"] = this.subscriptionEndDateStart ? this.subscriptionEndDateStart.toISOString() : undefined; - data["subscriptionEndDateEnd"] = this.subscriptionEndDateEnd ? this.subscriptionEndDateEnd.toISOString() : undefined; + data["routeCode"] = this.routeCode; + data["opCode"] = this.opCode; + data["resCode"] = this.resCode; + data["memo"] = this.memo; return data; } - clone(): GetExpiringTenantsOutput { + clone(): IcsEcgEditDto { const json = this.toJSON(); - let result = new GetExpiringTenantsOutput(); + let result = new IcsEcgEditDto(); result.init(json); return result; } } -/** 获取即将到期的租户 */ -export interface IGetExpiringTenantsOutput { - /** 到期租户列表 */ - expiringTenants: ExpiringTenant[] | undefined; - /** 订阅结束报警天数 */ - subscriptionEndAlertDayCount: number; - /** 最大到期租户显示数 */ - maxExpiringTenantsShownCount: number; - /** 订阅结束日期开始 */ - subscriptionEndDateStart: moment.Moment; - /** 订阅结束日期结束 */ - subscriptionEndDateEnd: moment.Moment; +export interface IIcsEcgEditDto { + id: number | undefined; + ecgCode: string | undefined; + ecgName: string | undefined; + ecgDesc: string | undefined; + ecId: number[] | undefined; + routeCode: string | undefined; + opCode: string | undefined; + resCode: string | undefined; + memo: string | undefined; } -export class GetFileForEditOutput implements IGetFileForEditOutput { - fileEditDto: FileEditDto; +export class IcsEcgImportDto implements IIcsEcgImportDto { + ecgCode: string; + ecgName: string; + ecgDesc: string | undefined; + routeName: string | undefined; + opName: string | undefined; + resName: string | undefined; + ec: string | undefined; + memo: string | undefined; - constructor(data?: IGetFileForEditOutput) { + constructor(data?: IIcsEcgImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -61226,45 +93995,75 @@ export class GetFileForEditOutput implements IGetFileForEditOutput { init(_data?: any) { if (_data) { - this.fileEditDto = _data["fileEditDto"] ? FileEditDto.fromJS(_data["fileEditDto"]) : undefined; + this.ecgCode = _data["ecgCode"]; + this.ecgName = _data["ecgName"]; + this.ecgDesc = _data["ecgDesc"]; + this.routeName = _data["routeName"]; + this.opName = _data["opName"]; + this.resName = _data["resName"]; + this.ec = _data["ec"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetFileForEditOutput { + static fromJS(data: any): IcsEcgImportDto { data = typeof data === 'object' ? data : {}; - let result = new GetFileForEditOutput(); + let result = new IcsEcgImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["fileEditDto"] = this.fileEditDto ? this.fileEditDto.toJSON() : undefined; + data["ecgCode"] = this.ecgCode; + data["ecgName"] = this.ecgName; + data["ecgDesc"] = this.ecgDesc; + data["routeName"] = this.routeName; + data["opName"] = this.opName; + data["resName"] = this.resName; + data["ec"] = this.ec; + data["memo"] = this.memo; return data; } - clone(): GetFileForEditOutput { + clone(): IcsEcgImportDto { const json = this.toJSON(); - let result = new GetFileForEditOutput(); + let result = new IcsEcgImportDto(); result.init(json); return result; } } -export interface IGetFileForEditOutput { - fileEditDto: FileEditDto; +export interface IIcsEcgImportDto { + ecgCode: string; + ecgName: string; + ecgDesc: string | undefined; + routeName: string | undefined; + opName: string | undefined; + resName: string | undefined; + ec: string | undefined; + memo: string | undefined; } -/** 获取一般统计 */ -export class GetGeneralStatsOutput implements IGetGeneralStatsOutput { - /** 交易百分比 */ - transactionPercent: number; - /** 新访问百分比 */ - newVisitPercent: number; - /** 弹跳率 */ - bouncePercent: number; +export class IcsEcgListDto implements IIcsEcgListDto { + ecgCode: string | undefined; + ecgName: string | undefined; + ecgDesc: string | undefined; + ecList: string | undefined; + ecIdList: number[] | undefined; + routeCode: string | undefined; + opCode: string | undefined; + resCode: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetGeneralStatsOutput) { + constructor(data?: IIcsEcgListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -61275,429 +94074,682 @@ export class GetGeneralStatsOutput implements IGetGeneralStatsOutput { init(_data?: any) { if (_data) { - this.transactionPercent = _data["transactionPercent"]; - this.newVisitPercent = _data["newVisitPercent"]; - this.bouncePercent = _data["bouncePercent"]; + this.ecgCode = _data["ecgCode"]; + this.ecgName = _data["ecgName"]; + this.ecgDesc = _data["ecgDesc"]; + this.ecList = _data["ecList"]; + if (Array.isArray(_data["ecIdList"])) { + this.ecIdList = [] as any; + for (let item of _data["ecIdList"]) + this.ecIdList.push(item); + } + this.routeCode = _data["routeCode"]; + this.opCode = _data["opCode"]; + this.resCode = _data["resCode"]; + this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetGeneralStatsOutput { + static fromJS(data: any): IcsEcgListDto { data = typeof data === 'object' ? data : {}; - let result = new GetGeneralStatsOutput(); + let result = new IcsEcgListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["transactionPercent"] = this.transactionPercent; - data["newVisitPercent"] = this.newVisitPercent; - data["bouncePercent"] = this.bouncePercent; + data["ecgCode"] = this.ecgCode; + data["ecgName"] = this.ecgName; + data["ecgDesc"] = this.ecgDesc; + data["ecList"] = this.ecList; + if (Array.isArray(this.ecIdList)) { + data["ecIdList"] = []; + for (let item of this.ecIdList) + data["ecIdList"].push(item); + } + data["routeCode"] = this.routeCode; + data["opCode"] = this.opCode; + data["resCode"] = this.resCode; + data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetGeneralStatsOutput { + clone(): IcsEcgListDto { const json = this.toJSON(); - let result = new GetGeneralStatsOutput(); + let result = new IcsEcgListDto(); result.init(json); return result; } } -/** 获取一般统计 */ -export interface IGetGeneralStatsOutput { - /** 交易百分比 */ - transactionPercent: number; - /** 新访问百分比 */ - newVisitPercent: number; - /** 弹跳率 */ - bouncePercent: number; +export interface IIcsEcgListDto { + ecgCode: string | undefined; + ecgName: string | undefined; + ecgDesc: string | undefined; + ecList: string | undefined; + ecIdList: number[] | undefined; + routeCode: string | undefined; + opCode: string | undefined; + resCode: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsCheckGroupForEditOutput implements IGetIcsCheckGroupForEditOutput { - icsCheckGroup: IcsCheckGroupEditDto; +export class IcsEcsEditDto implements IIcsEcsEditDto { + id: number | undefined; + ecsCode: string | undefined; + ecsName: string | undefined; + ecsDesc: string | undefined; + memo: string | undefined; - constructor(data?: IGetIcsCheckGroupForEditOutput) { + constructor(data?: IIcsEcsEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsCheckGroup = new IcsCheckGroupEditDto(); - } } init(_data?: any) { if (_data) { - this.icsCheckGroup = _data["icsCheckGroup"] ? IcsCheckGroupEditDto.fromJS(_data["icsCheckGroup"]) : new IcsCheckGroupEditDto(); + this.id = _data["id"]; + this.ecsCode = _data["ecsCode"]; + this.ecsName = _data["ecsName"]; + this.ecsDesc = _data["ecsDesc"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetIcsCheckGroupForEditOutput { + static fromJS(data: any): IcsEcsEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsCheckGroupForEditOutput(); + let result = new IcsEcsEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsCheckGroup"] = this.icsCheckGroup ? this.icsCheckGroup.toJSON() : undefined; + data["id"] = this.id; + data["ecsCode"] = this.ecsCode; + data["ecsName"] = this.ecsName; + data["ecsDesc"] = this.ecsDesc; + data["memo"] = this.memo; return data; } - clone(): GetIcsCheckGroupForEditOutput { + clone(): IcsEcsEditDto { const json = this.toJSON(); - let result = new GetIcsCheckGroupForEditOutput(); + let result = new IcsEcsEditDto(); result.init(json); return result; } } -export interface IGetIcsCheckGroupForEditOutput { - icsCheckGroup: IcsCheckGroupEditDto; +export interface IIcsEcsEditDto { + id: number | undefined; + ecsCode: string | undefined; + ecsName: string | undefined; + ecsDesc: string | undefined; + memo: string | undefined; } -export class GetIcsCheckItemForEditOutput implements IGetIcsCheckItemForEditOutput { - icsCheckItem: IcsCheckItemEditDto; +export class IcsEcsImportDto implements IIcsEcsImportDto { + ecsCode: string; + ecsName: string; + ecsDesc: string | undefined; + memo: string | undefined; - constructor(data?: IGetIcsCheckItemForEditOutput) { + constructor(data?: IIcsEcsImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsCheckItem = new IcsCheckItemEditDto(); - } } init(_data?: any) { if (_data) { - this.icsCheckItem = _data["icsCheckItem"] ? IcsCheckItemEditDto.fromJS(_data["icsCheckItem"]) : new IcsCheckItemEditDto(); + this.ecsCode = _data["ecsCode"]; + this.ecsName = _data["ecsName"]; + this.ecsDesc = _data["ecsDesc"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetIcsCheckItemForEditOutput { + static fromJS(data: any): IcsEcsImportDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsCheckItemForEditOutput(); + let result = new IcsEcsImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsCheckItem"] = this.icsCheckItem ? this.icsCheckItem.toJSON() : undefined; + data["ecsCode"] = this.ecsCode; + data["ecsName"] = this.ecsName; + data["ecsDesc"] = this.ecsDesc; + data["memo"] = this.memo; return data; } - clone(): GetIcsCheckItemForEditOutput { + clone(): IcsEcsImportDto { const json = this.toJSON(); - let result = new GetIcsCheckItemForEditOutput(); + let result = new IcsEcsImportDto(); result.init(json); return result; } } -export interface IGetIcsCheckItemForEditOutput { - icsCheckItem: IcsCheckItemEditDto; +export interface IIcsEcsImportDto { + ecsCode: string; + ecsName: string; + ecsDesc: string | undefined; + memo: string | undefined; } -export class GetIcsCrewForEditOutput implements IGetIcsCrewForEditOutput { - icsCrew: IcsCrewEditDto; +export class IcsEcsListDto implements IIcsEcsListDto { + ecsCode: string | undefined; + ecsName: string | undefined; + ecsDesc: string | undefined; + memo: string | undefined; + key: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsCrewForEditOutput) { + constructor(data?: IIcsEcsListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsCrew = new IcsCrewEditDto(); - } } init(_data?: any) { if (_data) { - this.icsCrew = _data["icsCrew"] ? IcsCrewEditDto.fromJS(_data["icsCrew"]) : new IcsCrewEditDto(); + this.ecsCode = _data["ecsCode"]; + this.ecsName = _data["ecsName"]; + this.ecsDesc = _data["ecsDesc"]; + this.memo = _data["memo"]; + this.key = _data["key"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsCrewForEditOutput { + static fromJS(data: any): IcsEcsListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsCrewForEditOutput(); + let result = new IcsEcsListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsCrew"] = this.icsCrew ? this.icsCrew.toJSON() : undefined; + data["ecsCode"] = this.ecsCode; + data["ecsName"] = this.ecsName; + data["ecsDesc"] = this.ecsDesc; + data["memo"] = this.memo; + data["key"] = this.key; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsCrewForEditOutput { + clone(): IcsEcsListDto { const json = this.toJSON(); - let result = new GetIcsCrewForEditOutput(); + let result = new IcsEcsListDto(); result.init(json); return result; } } -export interface IGetIcsCrewForEditOutput { - icsCrew: IcsCrewEditDto; +export interface IIcsEcsListDto { + ecsCode: string | undefined; + ecsName: string | undefined; + ecsDesc: string | undefined; + memo: string | undefined; + key: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsDctForEditOutput implements IGetIcsDctForEditOutput { - icsDct: IcsDctEditDto; +export class IcsEcsg2EcsEditDto implements IIcsEcsg2EcsEditDto { + id: number | undefined; + ecsgId: number; + ecsId: number; + ecsgCode: string | undefined; + ecsCode: string | undefined; + memo: string | undefined; - constructor(data?: IGetIcsDctForEditOutput) { + constructor(data?: IIcsEcsg2EcsEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsDct = new IcsDctEditDto(); - } } init(_data?: any) { if (_data) { - this.icsDct = _data["icsDct"] ? IcsDctEditDto.fromJS(_data["icsDct"]) : new IcsDctEditDto(); + this.id = _data["id"]; + this.ecsgId = _data["ecsgId"]; + this.ecsId = _data["ecsId"]; + this.ecsgCode = _data["ecsgCode"]; + this.ecsCode = _data["ecsCode"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetIcsDctForEditOutput { + static fromJS(data: any): IcsEcsg2EcsEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsDctForEditOutput(); + let result = new IcsEcsg2EcsEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsDct"] = this.icsDct ? this.icsDct.toJSON() : undefined; + data["id"] = this.id; + data["ecsgId"] = this.ecsgId; + data["ecsId"] = this.ecsId; + data["ecsgCode"] = this.ecsgCode; + data["ecsCode"] = this.ecsCode; + data["memo"] = this.memo; return data; } - clone(): GetIcsDctForEditOutput { + clone(): IcsEcsg2EcsEditDto { const json = this.toJSON(); - let result = new GetIcsDctForEditOutput(); + let result = new IcsEcsg2EcsEditDto(); result.init(json); return result; } } -export interface IGetIcsDctForEditOutput { - icsDct: IcsDctEditDto; +export interface IIcsEcsg2EcsEditDto { + id: number | undefined; + ecsgId: number; + ecsId: number; + ecsgCode: string | undefined; + ecsCode: string | undefined; + memo: string | undefined; } -export class GetIcsDutyForEditOutput implements IGetIcsDutyForEditOutput { - icsDuty: IcsDutyEditDto; +export class IcsEcsg2EcsListDto implements IIcsEcsg2EcsListDto { + ecsgId: number; + ecsId: number[] | undefined; + ecsgCode: string | undefined; + ecsCode: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsDutyForEditOutput) { + constructor(data?: IIcsEcsg2EcsListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsDuty = new IcsDutyEditDto(); - } } init(_data?: any) { if (_data) { - this.icsDuty = _data["icsDuty"] ? IcsDutyEditDto.fromJS(_data["icsDuty"]) : new IcsDutyEditDto(); + this.ecsgId = _data["ecsgId"]; + if (Array.isArray(_data["ecsId"])) { + this.ecsId = [] as any; + for (let item of _data["ecsId"]) + this.ecsId.push(item); + } + this.ecsgCode = _data["ecsgCode"]; + this.ecsCode = _data["ecsCode"]; + this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsDutyForEditOutput { + static fromJS(data: any): IcsEcsg2EcsListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsDutyForEditOutput(); + let result = new IcsEcsg2EcsListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsDuty"] = this.icsDuty ? this.icsDuty.toJSON() : undefined; + data["ecsgId"] = this.ecsgId; + if (Array.isArray(this.ecsId)) { + data["ecsId"] = []; + for (let item of this.ecsId) + data["ecsId"].push(item); + } + data["ecsgCode"] = this.ecsgCode; + data["ecsCode"] = this.ecsCode; + data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsDutyForEditOutput { + clone(): IcsEcsg2EcsListDto { const json = this.toJSON(); - let result = new GetIcsDutyForEditOutput(); + let result = new IcsEcsg2EcsListDto(); result.init(json); return result; } } -export interface IGetIcsDutyForEditOutput { - icsDuty: IcsDutyEditDto; +export interface IIcsEcsg2EcsListDto { + ecsgId: number; + ecsId: number[] | undefined; + ecsgCode: string | undefined; + ecsCode: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsDynamicColumnConfigForEditOutput implements IGetIcsDynamicColumnConfigForEditOutput { - icsDynamicColumnConfig: IcsDynamicColumnConfigEditDto; +export class IcsEcsgEditDto implements IIcsEcsgEditDto { + id: number | undefined; + ecsgCode: string | undefined; + ecsgName: string | undefined; + ecsId: number[] | undefined; + ecsgDesc: string | undefined; + memo: string | undefined; - constructor(data?: IGetIcsDynamicColumnConfigForEditOutput) { + constructor(data?: IIcsEcsgEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsDynamicColumnConfig = new IcsDynamicColumnConfigEditDto(); - } } init(_data?: any) { if (_data) { - this.icsDynamicColumnConfig = _data["icsDynamicColumnConfig"] ? IcsDynamicColumnConfigEditDto.fromJS(_data["icsDynamicColumnConfig"]) : new IcsDynamicColumnConfigEditDto(); + this.id = _data["id"]; + this.ecsgCode = _data["ecsgCode"]; + this.ecsgName = _data["ecsgName"]; + if (Array.isArray(_data["ecsId"])) { + this.ecsId = [] as any; + for (let item of _data["ecsId"]) + this.ecsId.push(item); + } + this.ecsgDesc = _data["ecsgDesc"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetIcsDynamicColumnConfigForEditOutput { + static fromJS(data: any): IcsEcsgEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsDynamicColumnConfigForEditOutput(); + let result = new IcsEcsgEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsDynamicColumnConfig"] = this.icsDynamicColumnConfig ? this.icsDynamicColumnConfig.toJSON() : undefined; + data["id"] = this.id; + data["ecsgCode"] = this.ecsgCode; + data["ecsgName"] = this.ecsgName; + if (Array.isArray(this.ecsId)) { + data["ecsId"] = []; + for (let item of this.ecsId) + data["ecsId"].push(item); + } + data["ecsgDesc"] = this.ecsgDesc; + data["memo"] = this.memo; return data; } - clone(): GetIcsDynamicColumnConfigForEditOutput { + clone(): IcsEcsgEditDto { const json = this.toJSON(); - let result = new GetIcsDynamicColumnConfigForEditOutput(); + let result = new IcsEcsgEditDto(); result.init(json); return result; } } -export interface IGetIcsDynamicColumnConfigForEditOutput { - icsDynamicColumnConfig: IcsDynamicColumnConfigEditDto; +export interface IIcsEcsgEditDto { + id: number | undefined; + ecsgCode: string | undefined; + ecsgName: string | undefined; + ecsId: number[] | undefined; + ecsgDesc: string | undefined; + memo: string | undefined; } -export class GetIcsEcForEditOutput implements IGetIcsEcForEditOutput { - icsEc: IcsEcEditDto; +export class IcsEcsgImportDto implements IIcsEcsgImportDto { + ecsgCode: string; + ecsgName: string; + ecs: string | undefined; + ecsgDesc: string | undefined; + memo: string | undefined; - constructor(data?: IGetIcsEcForEditOutput) { + constructor(data?: IIcsEcsgImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsEc = new IcsEcEditDto(); - } } init(_data?: any) { if (_data) { - this.icsEc = _data["icsEc"] ? IcsEcEditDto.fromJS(_data["icsEc"]) : new IcsEcEditDto(); + this.ecsgCode = _data["ecsgCode"]; + this.ecsgName = _data["ecsgName"]; + this.ecs = _data["ecs"]; + this.ecsgDesc = _data["ecsgDesc"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetIcsEcForEditOutput { + static fromJS(data: any): IcsEcsgImportDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsEcForEditOutput(); + let result = new IcsEcsgImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsEc"] = this.icsEc ? this.icsEc.toJSON() : undefined; + data["ecsgCode"] = this.ecsgCode; + data["ecsgName"] = this.ecsgName; + data["ecs"] = this.ecs; + data["ecsgDesc"] = this.ecsgDesc; + data["memo"] = this.memo; return data; } - clone(): GetIcsEcForEditOutput { + clone(): IcsEcsgImportDto { const json = this.toJSON(); - let result = new GetIcsEcForEditOutput(); + let result = new IcsEcsgImportDto(); result.init(json); return result; } } -export interface IGetIcsEcForEditOutput { - icsEc: IcsEcEditDto; +export interface IIcsEcsgImportDto { + ecsgCode: string; + ecsgName: string; + ecs: string | undefined; + ecsgDesc: string | undefined; + memo: string | undefined; } -export class GetIcsEcgForEditOutput implements IGetIcsEcgForEditOutput { - icsEcg: IcsEcgEditDto; - icsEcList: IcsEcListDto[] | undefined; +export class IcsEcsgListDto implements IIcsEcsgListDto { + ecsgCode: string | undefined; + ecsgName: string | undefined; + ecsgDesc: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsEcgForEditOutput) { + constructor(data?: IIcsEcsgListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsEcg = new IcsEcgEditDto(); - } } init(_data?: any) { if (_data) { - this.icsEcg = _data["icsEcg"] ? IcsEcgEditDto.fromJS(_data["icsEcg"]) : new IcsEcgEditDto(); - if (Array.isArray(_data["icsEcList"])) { - this.icsEcList = [] as any; - for (let item of _data["icsEcList"]) - this.icsEcList.push(IcsEcListDto.fromJS(item)); - } + this.ecsgCode = _data["ecsgCode"]; + this.ecsgName = _data["ecsgName"]; + this.ecsgDesc = _data["ecsgDesc"]; + this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsEcgForEditOutput { + static fromJS(data: any): IcsEcsgListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsEcgForEditOutput(); + let result = new IcsEcsgListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsEcg"] = this.icsEcg ? this.icsEcg.toJSON() : undefined; - if (Array.isArray(this.icsEcList)) { - data["icsEcList"] = []; - for (let item of this.icsEcList) - data["icsEcList"].push(item.toJSON()); - } + data["ecsgCode"] = this.ecsgCode; + data["ecsgName"] = this.ecsgName; + data["ecsgDesc"] = this.ecsgDesc; + data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsEcgForEditOutput { + clone(): IcsEcsgListDto { const json = this.toJSON(); - let result = new GetIcsEcgForEditOutput(); + let result = new IcsEcsgListDto(); result.init(json); return result; } } -export interface IGetIcsEcgForEditOutput { - icsEcg: IcsEcgEditDto; - icsEcList: IcsEcListDto[] | undefined; +export interface IIcsEcsgListDto { + ecsgCode: string | undefined; + ecsgName: string | undefined; + ecsgDesc: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsEcsForEditOutput implements IGetIcsEcsForEditOutput { - icsEcs: IcsEcsEditDto; +export class IcsEqp2OpEditDto implements IIcsEqp2OpEditDto { + id: number | undefined; + eqpID: number; + opId: number; + eqpCode: string | undefined; + opCode: string | undefined; + level: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + eqpList: SelectItemExt[]; + opList: SelectItemExt[]; - constructor(data?: IGetIcsEcsForEditOutput) { + constructor(data?: IIcsEqp2OpEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -61705,2223 +94757,6841 @@ export class GetIcsEcsForEditOutput implements IGetIcsEcsForEditOutput { } } if (!data) { - this.icsEcs = new IcsEcsEditDto(); + this.eqpList = []; + this.opList = []; } } init(_data?: any) { if (_data) { - this.icsEcs = _data["icsEcs"] ? IcsEcsEditDto.fromJS(_data["icsEcs"]) : new IcsEcsEditDto(); + this.id = _data["id"]; + this.eqpID = _data["eqpID"]; + this.opId = _data["opId"]; + this.eqpCode = _data["eqpCode"]; + this.opCode = _data["opCode"]; + this.level = _data["level"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + if (Array.isArray(_data["eqpList"])) { + this.eqpList = [] as any; + for (let item of _data["eqpList"]) + this.eqpList.push(SelectItemExt.fromJS(item)); + } + if (Array.isArray(_data["opList"])) { + this.opList = [] as any; + for (let item of _data["opList"]) + this.opList.push(SelectItemExt.fromJS(item)); + } } } - static fromJS(data: any): GetIcsEcsForEditOutput { + static fromJS(data: any): IcsEqp2OpEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsEcsForEditOutput(); + let result = new IcsEqp2OpEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsEcs"] = this.icsEcs ? this.icsEcs.toJSON() : undefined; + data["id"] = this.id; + data["eqpID"] = this.eqpID; + data["opId"] = this.opId; + data["eqpCode"] = this.eqpCode; + data["opCode"] = this.opCode; + data["level"] = this.level; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + if (Array.isArray(this.eqpList)) { + data["eqpList"] = []; + for (let item of this.eqpList) + data["eqpList"].push(item.toJSON()); + } + if (Array.isArray(this.opList)) { + data["opList"] = []; + for (let item of this.opList) + data["opList"].push(item.toJSON()); + } return data; } - clone(): GetIcsEcsForEditOutput { + clone(): IcsEqp2OpEditDto { const json = this.toJSON(); - let result = new GetIcsEcsForEditOutput(); + let result = new IcsEqp2OpEditDto(); result.init(json); return result; } } -export interface IGetIcsEcsForEditOutput { - icsEcs: IcsEcsEditDto; +export interface IIcsEqp2OpEditDto { + id: number | undefined; + eqpID: number; + opId: number; + eqpCode: string | undefined; + opCode: string | undefined; + level: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + eqpList: SelectItemExt[]; + opList: SelectItemExt[]; } -export class GetIcsEcsg2EcsForEditOutput implements IGetIcsEcsg2EcsForEditOutput { - icsEcsg2Ecs: IcsEcsg2EcsEditDto; +export class IcsEqp2OpListDto implements IIcsEqp2OpListDto { + eqpID: number; + opId: number; + eqpCode: string; + eqpName: string | undefined; + opCode: string; + opName: string | undefined; + level: string; + levelName: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + key: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsEcsg2EcsForEditOutput) { + constructor(data?: IIcsEqp2OpListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsEcsg2Ecs = new IcsEcsg2EcsEditDto(); - } } init(_data?: any) { if (_data) { - this.icsEcsg2Ecs = _data["icsEcsg2Ecs"] ? IcsEcsg2EcsEditDto.fromJS(_data["icsEcsg2Ecs"]) : new IcsEcsg2EcsEditDto(); + this.eqpID = _data["eqpID"]; + this.opId = _data["opId"]; + this.eqpCode = _data["eqpCode"]; + this.eqpName = _data["eqpName"]; + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.level = _data["level"]; + this.levelName = _data["levelName"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.key = _data["key"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsEcsg2EcsForEditOutput { + static fromJS(data: any): IcsEqp2OpListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsEcsg2EcsForEditOutput(); + let result = new IcsEqp2OpListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsEcsg2Ecs"] = this.icsEcsg2Ecs ? this.icsEcsg2Ecs.toJSON() : undefined; + data["eqpID"] = this.eqpID; + data["opId"] = this.opId; + data["eqpCode"] = this.eqpCode; + data["eqpName"] = this.eqpName; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["level"] = this.level; + data["levelName"] = this.levelName; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["key"] = this.key; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsEcsg2EcsForEditOutput { + clone(): IcsEqp2OpListDto { const json = this.toJSON(); - let result = new GetIcsEcsg2EcsForEditOutput(); + let result = new IcsEqp2OpListDto(); result.init(json); return result; } } -export interface IGetIcsEcsg2EcsForEditOutput { - icsEcsg2Ecs: IcsEcsg2EcsEditDto; +export interface IIcsEqp2OpListDto { + eqpID: number; + opId: number; + eqpCode: string; + eqpName: string | undefined; + opCode: string; + opName: string | undefined; + level: string; + levelName: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + key: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsEcsgForEditOutput implements IGetIcsEcsgForEditOutput { - icsEcsg: IcsEcsgEditDto; - icsEcsList: IcsEcsListDto[] | undefined; +export class IcsEqpModelPriceEditDto implements IIcsEqpModelPriceEditDto { + key: string | undefined; + id: number | undefined; + eqpModel: string | undefined; + price: number; + effectDate: moment.Moment; + expriyDate: moment.Moment; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetIcsEcsgForEditOutput) { + constructor(data?: IIcsEqpModelPriceEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsEcsg = new IcsEcsgEditDto(); - } } init(_data?: any) { if (_data) { - this.icsEcsg = _data["icsEcsg"] ? IcsEcsgEditDto.fromJS(_data["icsEcsg"]) : new IcsEcsgEditDto(); - if (Array.isArray(_data["icsEcsList"])) { - this.icsEcsList = [] as any; - for (let item of _data["icsEcsList"]) - this.icsEcsList.push(IcsEcsListDto.fromJS(item)); - } + this.key = _data["key"]; + this.id = _data["id"]; + this.eqpModel = _data["eqpModel"]; + this.price = _data["price"]; + this.effectDate = _data["effectDate"] ? moment(_data["effectDate"].toString()) : undefined; + this.expriyDate = _data["expriyDate"] ? moment(_data["expriyDate"].toString()) : undefined; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetIcsEcsgForEditOutput { + static fromJS(data: any): IcsEqpModelPriceEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsEcsgForEditOutput(); + let result = new IcsEqpModelPriceEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsEcsg"] = this.icsEcsg ? this.icsEcsg.toJSON() : undefined; - if (Array.isArray(this.icsEcsList)) { - data["icsEcsList"] = []; - for (let item of this.icsEcsList) - data["icsEcsList"].push(item.toJSON()); - } + data["key"] = this.key; + data["id"] = this.id; + data["eqpModel"] = this.eqpModel; + data["price"] = this.price; + data["effectDate"] = this.effectDate ? this.effectDate.toISOString() : undefined; + data["expriyDate"] = this.expriyDate ? this.expriyDate.toISOString() : undefined; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetIcsEcsgForEditOutput { + clone(): IcsEqpModelPriceEditDto { const json = this.toJSON(); - let result = new GetIcsEcsgForEditOutput(); + let result = new IcsEqpModelPriceEditDto(); result.init(json); return result; } } -export interface IGetIcsEcsgForEditOutput { - icsEcsg: IcsEcsgEditDto; - icsEcsList: IcsEcsListDto[] | undefined; +export interface IIcsEqpModelPriceEditDto { + key: string | undefined; + id: number | undefined; + eqpModel: string | undefined; + price: number; + effectDate: moment.Moment; + expriyDate: moment.Moment; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class GetIcsEqp2OpForEditOutput implements IGetIcsEqp2OpForEditOutput { - icsEqp2Op: IcsEqp2OpEditDto; +export class IcsEqpModelPriceListDto implements IIcsEqpModelPriceListDto { + key: string | undefined; + eqpModel: string | undefined; + price: number; + effectDate: moment.Moment; + expriyDate: moment.Moment; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsEqp2OpForEditOutput) { + constructor(data?: IIcsEqpModelPriceListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsEqp2Op = new IcsEqp2OpEditDto(); - } } init(_data?: any) { if (_data) { - this.icsEqp2Op = _data["icsEqp2Op"] ? IcsEqp2OpEditDto.fromJS(_data["icsEqp2Op"]) : new IcsEqp2OpEditDto(); + this.key = _data["key"]; + this.eqpModel = _data["eqpModel"]; + this.price = _data["price"]; + this.effectDate = _data["effectDate"] ? moment(_data["effectDate"].toString()) : undefined; + this.expriyDate = _data["expriyDate"] ? moment(_data["expriyDate"].toString()) : undefined; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsEqp2OpForEditOutput { + static fromJS(data: any): IcsEqpModelPriceListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsEqp2OpForEditOutput(); + let result = new IcsEqpModelPriceListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsEqp2Op"] = this.icsEqp2Op ? this.icsEqp2Op.toJSON() : undefined; + data["key"] = this.key; + data["eqpModel"] = this.eqpModel; + data["price"] = this.price; + data["effectDate"] = this.effectDate ? this.effectDate.toISOString() : undefined; + data["expriyDate"] = this.expriyDate ? this.expriyDate.toISOString() : undefined; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsEqp2OpForEditOutput { + clone(): IcsEqpModelPriceListDto { const json = this.toJSON(); - let result = new GetIcsEqp2OpForEditOutput(); + let result = new IcsEqpModelPriceListDto(); result.init(json); return result; } } -export interface IGetIcsEqp2OpForEditOutput { - icsEqp2Op: IcsEqp2OpEditDto; +export interface IIcsEqpModelPriceListDto { + key: string | undefined; + eqpModel: string | undefined; + price: number; + effectDate: moment.Moment; + expriyDate: moment.Moment; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsEquipmentForEditOutput implements IGetIcsEquipmentForEditOutput { - icsEquipment: IcsEquipmentEditDto; +export class IcsEquipment implements IIcsEquipment { + eqpCode: string; + eqpName: string; + eqpDesc: string | undefined; + eqpNo: string | undefined; + eqpBrand: string | undefined; + eqpType: string | undefined; + eqpModel: string | undefined; + eqpStatus: string | undefined; + eqpUseStatus: string | undefined; + company: string | undefined; + address: string | undefined; + ipAddress: string | undefined; + telPhone: string | undefined; + telUser: string | undefined; + mcCode: string | undefined; + ssCode: string | undefined; + pointAddress: string | undefined; + xAxis: string | undefined; + yAxis: string | undefined; + assetsNO: string | undefined; + eqpImage: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + tenantId: string; + lastModifierUserName: string | undefined; + creatorUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsEquipmentForEditOutput) { + constructor(data?: IIcsEquipment) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsEquipment = new IcsEquipmentEditDto(); - } } init(_data?: any) { if (_data) { - this.icsEquipment = _data["icsEquipment"] ? IcsEquipmentEditDto.fromJS(_data["icsEquipment"]) : new IcsEquipmentEditDto(); + this.eqpCode = _data["eqpCode"]; + this.eqpName = _data["eqpName"]; + this.eqpDesc = _data["eqpDesc"]; + this.eqpNo = _data["eqpNo"]; + this.eqpBrand = _data["eqpBrand"]; + this.eqpType = _data["eqpType"]; + this.eqpModel = _data["eqpModel"]; + this.eqpStatus = _data["eqpStatus"]; + this.eqpUseStatus = _data["eqpUseStatus"]; + this.company = _data["company"]; + this.address = _data["address"]; + this.ipAddress = _data["ipAddress"]; + this.telPhone = _data["telPhone"]; + this.telUser = _data["telUser"]; + this.mcCode = _data["mcCode"]; + this.ssCode = _data["ssCode"]; + this.pointAddress = _data["pointAddress"]; + this.xAxis = _data["xAxis"]; + this.yAxis = _data["yAxis"]; + this.assetsNO = _data["assetsNO"]; + this.eqpImage = _data["eqpImage"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.tenantId = _data["tenantId"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsEquipmentForEditOutput { + static fromJS(data: any): IcsEquipment { data = typeof data === 'object' ? data : {}; - let result = new GetIcsEquipmentForEditOutput(); + let result = new IcsEquipment(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsEquipment"] = this.icsEquipment ? this.icsEquipment.toJSON() : undefined; + data["eqpCode"] = this.eqpCode; + data["eqpName"] = this.eqpName; + data["eqpDesc"] = this.eqpDesc; + data["eqpNo"] = this.eqpNo; + data["eqpBrand"] = this.eqpBrand; + data["eqpType"] = this.eqpType; + data["eqpModel"] = this.eqpModel; + data["eqpStatus"] = this.eqpStatus; + data["eqpUseStatus"] = this.eqpUseStatus; + data["company"] = this.company; + data["address"] = this.address; + data["ipAddress"] = this.ipAddress; + data["telPhone"] = this.telPhone; + data["telUser"] = this.telUser; + data["mcCode"] = this.mcCode; + data["ssCode"] = this.ssCode; + data["pointAddress"] = this.pointAddress; + data["xAxis"] = this.xAxis; + data["yAxis"] = this.yAxis; + data["assetsNO"] = this.assetsNO; + data["eqpImage"] = this.eqpImage; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["tenantId"] = this.tenantId; + data["lastModifierUserName"] = this.lastModifierUserName; + data["creatorUserName"] = this.creatorUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsEquipmentForEditOutput { + clone(): IcsEquipment { const json = this.toJSON(); - let result = new GetIcsEquipmentForEditOutput(); + let result = new IcsEquipment(); result.init(json); return result; } } -export interface IGetIcsEquipmentForEditOutput { - icsEquipment: IcsEquipmentEditDto; +export interface IIcsEquipment { + eqpCode: string; + eqpName: string; + eqpDesc: string | undefined; + eqpNo: string | undefined; + eqpBrand: string | undefined; + eqpType: string | undefined; + eqpModel: string | undefined; + eqpStatus: string | undefined; + eqpUseStatus: string | undefined; + company: string | undefined; + address: string | undefined; + ipAddress: string | undefined; + telPhone: string | undefined; + telUser: string | undefined; + mcCode: string | undefined; + ssCode: string | undefined; + pointAddress: string | undefined; + xAxis: string | undefined; + yAxis: string | undefined; + assetsNO: string | undefined; + eqpImage: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + tenantId: string; + lastModifierUserName: string | undefined; + creatorUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsEquipmentMaintainItemForEditOutput implements IGetIcsEquipmentMaintainItemForEditOutput { - icsEquipmentMaintainItem: IcsEquipmentMaintainItemEditDto; +export class IcsEquipmentEditDto implements IIcsEquipmentEditDto { + id: number | undefined; + eqpCode: string | undefined; + eqpName: string | undefined; + eqpDesc: string | undefined; + eqpNo: string | undefined; + eqpBrand: string | undefined; + eqpType: string | undefined; + eqpModel: string | undefined; + eqpStatus: string | undefined; + eqpUseStatus: string | undefined; + company: string | undefined; + address: string | undefined; + ipAddress: string | undefined; + telPhone: string | undefined; + telUser: string | undefined; + mcCode: string | undefined; + ssCode: string | undefined; + pointAddress: string | undefined; + xAxis: string | undefined; + yAxis: string | undefined; + assetsNO: string | undefined; + eqpImage: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetIcsEquipmentMaintainItemForEditOutput) { + constructor(data?: IIcsEquipmentEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsEquipmentMaintainItem = new IcsEquipmentMaintainItemEditDto(); - } } init(_data?: any) { if (_data) { - this.icsEquipmentMaintainItem = _data["icsEquipmentMaintainItem"] ? IcsEquipmentMaintainItemEditDto.fromJS(_data["icsEquipmentMaintainItem"]) : new IcsEquipmentMaintainItemEditDto(); + this.id = _data["id"]; + this.eqpCode = _data["eqpCode"]; + this.eqpName = _data["eqpName"]; + this.eqpDesc = _data["eqpDesc"]; + this.eqpNo = _data["eqpNo"]; + this.eqpBrand = _data["eqpBrand"]; + this.eqpType = _data["eqpType"]; + this.eqpModel = _data["eqpModel"]; + this.eqpStatus = _data["eqpStatus"]; + this.eqpUseStatus = _data["eqpUseStatus"]; + this.company = _data["company"]; + this.address = _data["address"]; + this.ipAddress = _data["ipAddress"]; + this.telPhone = _data["telPhone"]; + this.telUser = _data["telUser"]; + this.mcCode = _data["mcCode"]; + this.ssCode = _data["ssCode"]; + this.pointAddress = _data["pointAddress"]; + this.xAxis = _data["xAxis"]; + this.yAxis = _data["yAxis"]; + this.assetsNO = _data["assetsNO"]; + this.eqpImage = _data["eqpImage"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetIcsEquipmentMaintainItemForEditOutput { + static fromJS(data: any): IcsEquipmentEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsEquipmentMaintainItemForEditOutput(); + let result = new IcsEquipmentEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsEquipmentMaintainItem"] = this.icsEquipmentMaintainItem ? this.icsEquipmentMaintainItem.toJSON() : undefined; + data["id"] = this.id; + data["eqpCode"] = this.eqpCode; + data["eqpName"] = this.eqpName; + data["eqpDesc"] = this.eqpDesc; + data["eqpNo"] = this.eqpNo; + data["eqpBrand"] = this.eqpBrand; + data["eqpType"] = this.eqpType; + data["eqpModel"] = this.eqpModel; + data["eqpStatus"] = this.eqpStatus; + data["eqpUseStatus"] = this.eqpUseStatus; + data["company"] = this.company; + data["address"] = this.address; + data["ipAddress"] = this.ipAddress; + data["telPhone"] = this.telPhone; + data["telUser"] = this.telUser; + data["mcCode"] = this.mcCode; + data["ssCode"] = this.ssCode; + data["pointAddress"] = this.pointAddress; + data["xAxis"] = this.xAxis; + data["yAxis"] = this.yAxis; + data["assetsNO"] = this.assetsNO; + data["eqpImage"] = this.eqpImage; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetIcsEquipmentMaintainItemForEditOutput { + clone(): IcsEquipmentEditDto { const json = this.toJSON(); - let result = new GetIcsEquipmentMaintainItemForEditOutput(); + let result = new IcsEquipmentEditDto(); result.init(json); return result; } } -export interface IGetIcsEquipmentMaintainItemForEditOutput { - icsEquipmentMaintainItem: IcsEquipmentMaintainItemEditDto; +export interface IIcsEquipmentEditDto { + id: number | undefined; + eqpCode: string | undefined; + eqpName: string | undefined; + eqpDesc: string | undefined; + eqpNo: string | undefined; + eqpBrand: string | undefined; + eqpType: string | undefined; + eqpModel: string | undefined; + eqpStatus: string | undefined; + eqpUseStatus: string | undefined; + company: string | undefined; + address: string | undefined; + ipAddress: string | undefined; + telPhone: string | undefined; + telUser: string | undefined; + mcCode: string | undefined; + ssCode: string | undefined; + pointAddress: string | undefined; + xAxis: string | undefined; + yAxis: string | undefined; + assetsNO: string | undefined; + eqpImage: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class GetIcsEquipmentMaintainLogForEditOutput implements IGetIcsEquipmentMaintainLogForEditOutput { - icsEquipmentMaintainLog: IcsEquipmentMaintainLogEditDto; +export class IcsEquipmentImportDto implements IIcsEquipmentImportDto { + eqpCode: string; + eqpName: string; + eqpDesc: string | undefined; + eqpModel: string; + eqpType: string; + eqpBrand: string | undefined; + eqpStatus: string | undefined; + ipAddress: string | undefined; + eqpUseStatus: string | undefined; + company: string | undefined; + address: string | undefined; + telUser: string | undefined; + telPhone: string | undefined; + mcCode: string | undefined; + ssName: string | undefined; + pointAddress: string | undefined; + xAxis: string | undefined; + yAxis: string | undefined; + assetsNO: string | undefined; + memo: string | undefined; - constructor(data?: IGetIcsEquipmentMaintainLogForEditOutput) { + constructor(data?: IIcsEquipmentImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsEquipmentMaintainLog = new IcsEquipmentMaintainLogEditDto(); - } } init(_data?: any) { if (_data) { - this.icsEquipmentMaintainLog = _data["icsEquipmentMaintainLog"] ? IcsEquipmentMaintainLogEditDto.fromJS(_data["icsEquipmentMaintainLog"]) : new IcsEquipmentMaintainLogEditDto(); + this.eqpCode = _data["eqpCode"]; + this.eqpName = _data["eqpName"]; + this.eqpDesc = _data["eqpDesc"]; + this.eqpModel = _data["eqpModel"]; + this.eqpType = _data["eqpType"]; + this.eqpBrand = _data["eqpBrand"]; + this.eqpStatus = _data["eqpStatus"]; + this.ipAddress = _data["ipAddress"]; + this.eqpUseStatus = _data["eqpUseStatus"]; + this.company = _data["company"]; + this.address = _data["address"]; + this.telUser = _data["telUser"]; + this.telPhone = _data["telPhone"]; + this.mcCode = _data["mcCode"]; + this.ssName = _data["ssName"]; + this.pointAddress = _data["pointAddress"]; + this.xAxis = _data["xAxis"]; + this.yAxis = _data["yAxis"]; + this.assetsNO = _data["assetsNO"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetIcsEquipmentMaintainLogForEditOutput { + static fromJS(data: any): IcsEquipmentImportDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsEquipmentMaintainLogForEditOutput(); + let result = new IcsEquipmentImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsEquipmentMaintainLog"] = this.icsEquipmentMaintainLog ? this.icsEquipmentMaintainLog.toJSON() : undefined; + data["eqpCode"] = this.eqpCode; + data["eqpName"] = this.eqpName; + data["eqpDesc"] = this.eqpDesc; + data["eqpModel"] = this.eqpModel; + data["eqpType"] = this.eqpType; + data["eqpBrand"] = this.eqpBrand; + data["eqpStatus"] = this.eqpStatus; + data["ipAddress"] = this.ipAddress; + data["eqpUseStatus"] = this.eqpUseStatus; + data["company"] = this.company; + data["address"] = this.address; + data["telUser"] = this.telUser; + data["telPhone"] = this.telPhone; + data["mcCode"] = this.mcCode; + data["ssName"] = this.ssName; + data["pointAddress"] = this.pointAddress; + data["xAxis"] = this.xAxis; + data["yAxis"] = this.yAxis; + data["assetsNO"] = this.assetsNO; + data["memo"] = this.memo; return data; } - clone(): GetIcsEquipmentMaintainLogForEditOutput { + clone(): IcsEquipmentImportDto { const json = this.toJSON(); - let result = new GetIcsEquipmentMaintainLogForEditOutput(); + let result = new IcsEquipmentImportDto(); result.init(json); return result; } } -export interface IGetIcsEquipmentMaintainLogForEditOutput { - icsEquipmentMaintainLog: IcsEquipmentMaintainLogEditDto; +export interface IIcsEquipmentImportDto { + eqpCode: string; + eqpName: string; + eqpDesc: string | undefined; + eqpModel: string; + eqpType: string; + eqpBrand: string | undefined; + eqpStatus: string | undefined; + ipAddress: string | undefined; + eqpUseStatus: string | undefined; + company: string | undefined; + address: string | undefined; + telUser: string | undefined; + telPhone: string | undefined; + mcCode: string | undefined; + ssName: string | undefined; + pointAddress: string | undefined; + xAxis: string | undefined; + yAxis: string | undefined; + assetsNO: string | undefined; + memo: string | undefined; } -export class GetIcsEquipmentMaintainPlanForEditOutput implements IGetIcsEquipmentMaintainPlanForEditOutput { - icsEquipmentMaintainPlan: IcsEquipmentMaintainPlanEditDto; +export class IcsEquipmentListDto implements IIcsEquipmentListDto { + eqpCode: string | undefined; + eqpName: string | undefined; + eqpDesc: string | undefined; + eqpNo: string | undefined; + eqpBrand: string | undefined; + eqpType: string | undefined; + eqpModel: string | undefined; + eqpStatus: string | undefined; + eqpUseStatus: string | undefined; + company: string | undefined; + address: string | undefined; + ipAddress: string | undefined; + telPhone: string | undefined; + telUser: string | undefined; + mcCode: string | undefined; + ssCode: string | undefined; + pointAddress: string | undefined; + xAxis: string | undefined; + yAxis: string | undefined; + assetsNO: string | undefined; + eqpImage: string | undefined; + memo: string | undefined; + imagePath: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsEquipmentMaintainPlanForEditOutput) { + constructor(data?: IIcsEquipmentListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsEquipmentMaintainPlan = new IcsEquipmentMaintainPlanEditDto(); - } } init(_data?: any) { if (_data) { - this.icsEquipmentMaintainPlan = _data["icsEquipmentMaintainPlan"] ? IcsEquipmentMaintainPlanEditDto.fromJS(_data["icsEquipmentMaintainPlan"]) : new IcsEquipmentMaintainPlanEditDto(); + this.eqpCode = _data["eqpCode"]; + this.eqpName = _data["eqpName"]; + this.eqpDesc = _data["eqpDesc"]; + this.eqpNo = _data["eqpNo"]; + this.eqpBrand = _data["eqpBrand"]; + this.eqpType = _data["eqpType"]; + this.eqpModel = _data["eqpModel"]; + this.eqpStatus = _data["eqpStatus"]; + this.eqpUseStatus = _data["eqpUseStatus"]; + this.company = _data["company"]; + this.address = _data["address"]; + this.ipAddress = _data["ipAddress"]; + this.telPhone = _data["telPhone"]; + this.telUser = _data["telUser"]; + this.mcCode = _data["mcCode"]; + this.ssCode = _data["ssCode"]; + this.pointAddress = _data["pointAddress"]; + this.xAxis = _data["xAxis"]; + this.yAxis = _data["yAxis"]; + this.assetsNO = _data["assetsNO"]; + this.eqpImage = _data["eqpImage"]; + this.memo = _data["memo"]; + this.imagePath = _data["imagePath"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsEquipmentMaintainPlanForEditOutput { + static fromJS(data: any): IcsEquipmentListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsEquipmentMaintainPlanForEditOutput(); + let result = new IcsEquipmentListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsEquipmentMaintainPlan"] = this.icsEquipmentMaintainPlan ? this.icsEquipmentMaintainPlan.toJSON() : undefined; + data["eqpCode"] = this.eqpCode; + data["eqpName"] = this.eqpName; + data["eqpDesc"] = this.eqpDesc; + data["eqpNo"] = this.eqpNo; + data["eqpBrand"] = this.eqpBrand; + data["eqpType"] = this.eqpType; + data["eqpModel"] = this.eqpModel; + data["eqpStatus"] = this.eqpStatus; + data["eqpUseStatus"] = this.eqpUseStatus; + data["company"] = this.company; + data["address"] = this.address; + data["ipAddress"] = this.ipAddress; + data["telPhone"] = this.telPhone; + data["telUser"] = this.telUser; + data["mcCode"] = this.mcCode; + data["ssCode"] = this.ssCode; + data["pointAddress"] = this.pointAddress; + data["xAxis"] = this.xAxis; + data["yAxis"] = this.yAxis; + data["assetsNO"] = this.assetsNO; + data["eqpImage"] = this.eqpImage; + data["memo"] = this.memo; + data["imagePath"] = this.imagePath; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsEquipmentMaintainPlanForEditOutput { + clone(): IcsEquipmentListDto { const json = this.toJSON(); - let result = new GetIcsEquipmentMaintainPlanForEditOutput(); + let result = new IcsEquipmentListDto(); result.init(json); return result; } } -export interface IGetIcsEquipmentMaintainPlanForEditOutput { - icsEquipmentMaintainPlan: IcsEquipmentMaintainPlanEditDto; +export interface IIcsEquipmentListDto { + eqpCode: string | undefined; + eqpName: string | undefined; + eqpDesc: string | undefined; + eqpNo: string | undefined; + eqpBrand: string | undefined; + eqpType: string | undefined; + eqpModel: string | undefined; + eqpStatus: string | undefined; + eqpUseStatus: string | undefined; + company: string | undefined; + address: string | undefined; + ipAddress: string | undefined; + telPhone: string | undefined; + telUser: string | undefined; + mcCode: string | undefined; + ssCode: string | undefined; + pointAddress: string | undefined; + xAxis: string | undefined; + yAxis: string | undefined; + assetsNO: string | undefined; + eqpImage: string | undefined; + memo: string | undefined; + imagePath: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsEquipmentPartCheckDataForEditOutput implements IGetIcsEquipmentPartCheckDataForEditOutput { - icsEquipmentPartCheckData: IcsEquipmentPartCheckDataEditDto; +export class IcsEquipmentMaintainItemEditDto implements IIcsEquipmentMaintainItemEditDto { + id: number | undefined; + maintainCode: string | undefined; + maintainContent: string | undefined; + maintainMethod: string | undefined; + maintainStandard: string | undefined; + maintainLoacation: string | undefined; + maintainImage: string | undefined; + maintainDesc: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetIcsEquipmentPartCheckDataForEditOutput) { + constructor(data?: IIcsEquipmentMaintainItemEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsEquipmentPartCheckData = new IcsEquipmentPartCheckDataEditDto(); - } } init(_data?: any) { if (_data) { - this.icsEquipmentPartCheckData = _data["icsEquipmentPartCheckData"] ? IcsEquipmentPartCheckDataEditDto.fromJS(_data["icsEquipmentPartCheckData"]) : new IcsEquipmentPartCheckDataEditDto(); + this.id = _data["id"]; + this.maintainCode = _data["maintainCode"]; + this.maintainContent = _data["maintainContent"]; + this.maintainMethod = _data["maintainMethod"]; + this.maintainStandard = _data["maintainStandard"]; + this.maintainLoacation = _data["maintainLoacation"]; + this.maintainImage = _data["maintainImage"]; + this.maintainDesc = _data["maintainDesc"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetIcsEquipmentPartCheckDataForEditOutput { + static fromJS(data: any): IcsEquipmentMaintainItemEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsEquipmentPartCheckDataForEditOutput(); + let result = new IcsEquipmentMaintainItemEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsEquipmentPartCheckData"] = this.icsEquipmentPartCheckData ? this.icsEquipmentPartCheckData.toJSON() : undefined; + data["id"] = this.id; + data["maintainCode"] = this.maintainCode; + data["maintainContent"] = this.maintainContent; + data["maintainMethod"] = this.maintainMethod; + data["maintainStandard"] = this.maintainStandard; + data["maintainLoacation"] = this.maintainLoacation; + data["maintainImage"] = this.maintainImage; + data["maintainDesc"] = this.maintainDesc; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetIcsEquipmentPartCheckDataForEditOutput { + clone(): IcsEquipmentMaintainItemEditDto { const json = this.toJSON(); - let result = new GetIcsEquipmentPartCheckDataForEditOutput(); + let result = new IcsEquipmentMaintainItemEditDto(); result.init(json); return result; } } -export interface IGetIcsEquipmentPartCheckDataForEditOutput { - icsEquipmentPartCheckData: IcsEquipmentPartCheckDataEditDto; +export interface IIcsEquipmentMaintainItemEditDto { + id: number | undefined; + maintainCode: string | undefined; + maintainContent: string | undefined; + maintainMethod: string | undefined; + maintainStandard: string | undefined; + maintainLoacation: string | undefined; + maintainImage: string | undefined; + maintainDesc: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class GetIcsEquipmentPartCheckItemForEditOutput implements IGetIcsEquipmentPartCheckItemForEditOutput { - icsEquipmentPartCheckItem: IcsEquipmentPartCheckItemEditDto; +export class IcsEquipmentMaintainItemListDto implements IIcsEquipmentMaintainItemListDto { + maintainCode: string | undefined; + maintainContent: string | undefined; + maintainMethod: string | undefined; + maintainStandard: string | undefined; + maintainLoacation: string | undefined; + maintainImage: string | undefined; + maintainDesc: string | undefined; + memo: string | undefined; + imagePath: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsEquipmentPartCheckItemForEditOutput) { + constructor(data?: IIcsEquipmentMaintainItemListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsEquipmentPartCheckItem = new IcsEquipmentPartCheckItemEditDto(); - } } init(_data?: any) { if (_data) { - this.icsEquipmentPartCheckItem = _data["icsEquipmentPartCheckItem"] ? IcsEquipmentPartCheckItemEditDto.fromJS(_data["icsEquipmentPartCheckItem"]) : new IcsEquipmentPartCheckItemEditDto(); + this.maintainCode = _data["maintainCode"]; + this.maintainContent = _data["maintainContent"]; + this.maintainMethod = _data["maintainMethod"]; + this.maintainStandard = _data["maintainStandard"]; + this.maintainLoacation = _data["maintainLoacation"]; + this.maintainImage = _data["maintainImage"]; + this.maintainDesc = _data["maintainDesc"]; + this.memo = _data["memo"]; + this.imagePath = _data["imagePath"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsEquipmentPartCheckItemForEditOutput { + static fromJS(data: any): IcsEquipmentMaintainItemListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsEquipmentPartCheckItemForEditOutput(); + let result = new IcsEquipmentMaintainItemListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsEquipmentPartCheckItem"] = this.icsEquipmentPartCheckItem ? this.icsEquipmentPartCheckItem.toJSON() : undefined; + data["maintainCode"] = this.maintainCode; + data["maintainContent"] = this.maintainContent; + data["maintainMethod"] = this.maintainMethod; + data["maintainStandard"] = this.maintainStandard; + data["maintainLoacation"] = this.maintainLoacation; + data["maintainImage"] = this.maintainImage; + data["maintainDesc"] = this.maintainDesc; + data["memo"] = this.memo; + data["imagePath"] = this.imagePath; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsEquipmentPartCheckItemForEditOutput { + clone(): IcsEquipmentMaintainItemListDto { const json = this.toJSON(); - let result = new GetIcsEquipmentPartCheckItemForEditOutput(); + let result = new IcsEquipmentMaintainItemListDto(); result.init(json); return result; } } -export interface IGetIcsEquipmentPartCheckItemForEditOutput { - icsEquipmentPartCheckItem: IcsEquipmentPartCheckItemEditDto; +export interface IIcsEquipmentMaintainItemListDto { + maintainCode: string | undefined; + maintainContent: string | undefined; + maintainMethod: string | undefined; + maintainStandard: string | undefined; + maintainLoacation: string | undefined; + maintainImage: string | undefined; + maintainDesc: string | undefined; + memo: string | undefined; + imagePath: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsEquipmentPartsForEditOutput implements IGetIcsEquipmentPartsForEditOutput { - icsEquipmentParts: IcsEquipmentPartsEditDto; +export class IcsEquipmentMaintainLogEditDto implements IIcsEquipmentMaintainLogEditDto { + id: number | undefined; + eqpId: number | undefined; + eqpCode: string | undefined; + maintainItemId: number | undefined; + firstDate: moment.Moment; + frequency: number; + maintainMemo: string | undefined; + maintainDate: moment.Moment | undefined; + maintainUserId: number | undefined; + maintainUser: string | undefined; + overdue: string | undefined; + result: string | undefined; + memo: string | undefined; + cycleType: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetIcsEquipmentPartsForEditOutput) { + constructor(data?: IIcsEquipmentMaintainLogEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsEquipmentParts = new IcsEquipmentPartsEditDto(); - } } init(_data?: any) { if (_data) { - this.icsEquipmentParts = _data["icsEquipmentParts"] ? IcsEquipmentPartsEditDto.fromJS(_data["icsEquipmentParts"]) : new IcsEquipmentPartsEditDto(); + this.id = _data["id"]; + this.eqpId = _data["eqpId"]; + this.eqpCode = _data["eqpCode"]; + this.maintainItemId = _data["maintainItemId"]; + this.firstDate = _data["firstDate"] ? moment(_data["firstDate"].toString()) : undefined; + this.frequency = _data["frequency"]; + this.maintainMemo = _data["maintainMemo"]; + this.maintainDate = _data["maintainDate"] ? moment(_data["maintainDate"].toString()) : undefined; + this.maintainUserId = _data["maintainUserId"]; + this.maintainUser = _data["maintainUser"]; + this.overdue = _data["overdue"]; + this.result = _data["result"]; + this.memo = _data["memo"]; + this.cycleType = _data["cycleType"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetIcsEquipmentPartsForEditOutput { + static fromJS(data: any): IcsEquipmentMaintainLogEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsEquipmentPartsForEditOutput(); + let result = new IcsEquipmentMaintainLogEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsEquipmentParts"] = this.icsEquipmentParts ? this.icsEquipmentParts.toJSON() : undefined; + data["id"] = this.id; + data["eqpId"] = this.eqpId; + data["eqpCode"] = this.eqpCode; + data["maintainItemId"] = this.maintainItemId; + data["firstDate"] = this.firstDate ? this.firstDate.toISOString() : undefined; + data["frequency"] = this.frequency; + data["maintainMemo"] = this.maintainMemo; + data["maintainDate"] = this.maintainDate ? this.maintainDate.toISOString() : undefined; + data["maintainUserId"] = this.maintainUserId; + data["maintainUser"] = this.maintainUser; + data["overdue"] = this.overdue; + data["result"] = this.result; + data["memo"] = this.memo; + data["cycleType"] = this.cycleType; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetIcsEquipmentPartsForEditOutput { + clone(): IcsEquipmentMaintainLogEditDto { const json = this.toJSON(); - let result = new GetIcsEquipmentPartsForEditOutput(); + let result = new IcsEquipmentMaintainLogEditDto(); result.init(json); return result; } } -export interface IGetIcsEquipmentPartsForEditOutput { - icsEquipmentParts: IcsEquipmentPartsEditDto; +export interface IIcsEquipmentMaintainLogEditDto { + id: number | undefined; + eqpId: number | undefined; + eqpCode: string | undefined; + maintainItemId: number | undefined; + firstDate: moment.Moment; + frequency: number; + maintainMemo: string | undefined; + maintainDate: moment.Moment | undefined; + maintainUserId: number | undefined; + maintainUser: string | undefined; + overdue: string | undefined; + result: string | undefined; + memo: string | undefined; + cycleType: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class GetIcsEquipmentTSForEditOutput implements IGetIcsEquipmentTSForEditOutput { - icsEquipmentTS: IcsEquipmentTSEditDto; +export class IcsEquipmentMaintainLogListDto implements IIcsEquipmentMaintainLogListDto { + eqpId: number; + eqpName: string | undefined; + eqpCode: string | undefined; + maintainItemId: number; + maintainItemContent: string | undefined; + maintainMemo: string | undefined; + maintainDate: moment.Moment | undefined; + nextMaintainDate: moment.Moment; + overdue: string | undefined; + maintainUserId: string | undefined; + maintainUser: string | undefined; + cycleType: string | undefined; + firstDate: moment.Moment; + cycle: string | undefined; + frequency: number; + result: string | undefined; + memo: string | undefined; + eqpImage: string | undefined; + imagePath: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsEquipmentTSForEditOutput) { + constructor(data?: IIcsEquipmentMaintainLogListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsEquipmentTS = new IcsEquipmentTSEditDto(); - } } init(_data?: any) { if (_data) { - this.icsEquipmentTS = _data["icsEquipmentTS"] ? IcsEquipmentTSEditDto.fromJS(_data["icsEquipmentTS"]) : new IcsEquipmentTSEditDto(); + this.eqpId = _data["eqpId"]; + this.eqpName = _data["eqpName"]; + this.eqpCode = _data["eqpCode"]; + this.maintainItemId = _data["maintainItemId"]; + this.maintainItemContent = _data["maintainItemContent"]; + this.maintainMemo = _data["maintainMemo"]; + this.maintainDate = _data["maintainDate"] ? moment(_data["maintainDate"].toString()) : undefined; + this.nextMaintainDate = _data["nextMaintainDate"] ? moment(_data["nextMaintainDate"].toString()) : undefined; + this.overdue = _data["overdue"]; + this.maintainUserId = _data["maintainUserId"]; + this.maintainUser = _data["maintainUser"]; + this.cycleType = _data["cycleType"]; + this.firstDate = _data["firstDate"] ? moment(_data["firstDate"].toString()) : undefined; + this.cycle = _data["cycle"]; + this.frequency = _data["frequency"]; + this.result = _data["result"]; + this.memo = _data["memo"]; + this.eqpImage = _data["eqpImage"]; + this.imagePath = _data["imagePath"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsEquipmentTSForEditOutput { + static fromJS(data: any): IcsEquipmentMaintainLogListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsEquipmentTSForEditOutput(); + let result = new IcsEquipmentMaintainLogListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsEquipmentTS"] = this.icsEquipmentTS ? this.icsEquipmentTS.toJSON() : undefined; + data["eqpId"] = this.eqpId; + data["eqpName"] = this.eqpName; + data["eqpCode"] = this.eqpCode; + data["maintainItemId"] = this.maintainItemId; + data["maintainItemContent"] = this.maintainItemContent; + data["maintainMemo"] = this.maintainMemo; + data["maintainDate"] = this.maintainDate ? this.maintainDate.toISOString() : undefined; + data["nextMaintainDate"] = this.nextMaintainDate ? this.nextMaintainDate.toISOString() : undefined; + data["overdue"] = this.overdue; + data["maintainUserId"] = this.maintainUserId; + data["maintainUser"] = this.maintainUser; + data["cycleType"] = this.cycleType; + data["firstDate"] = this.firstDate ? this.firstDate.toISOString() : undefined; + data["cycle"] = this.cycle; + data["frequency"] = this.frequency; + data["result"] = this.result; + data["memo"] = this.memo; + data["eqpImage"] = this.eqpImage; + data["imagePath"] = this.imagePath; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsEquipmentTSForEditOutput { + clone(): IcsEquipmentMaintainLogListDto { const json = this.toJSON(); - let result = new GetIcsEquipmentTSForEditOutput(); + let result = new IcsEquipmentMaintainLogListDto(); result.init(json); return result; } } -export interface IGetIcsEquipmentTSForEditOutput { - icsEquipmentTS: IcsEquipmentTSEditDto; +export interface IIcsEquipmentMaintainLogListDto { + eqpId: number; + eqpName: string | undefined; + eqpCode: string | undefined; + maintainItemId: number; + maintainItemContent: string | undefined; + maintainMemo: string | undefined; + maintainDate: moment.Moment | undefined; + nextMaintainDate: moment.Moment; + overdue: string | undefined; + maintainUserId: string | undefined; + maintainUser: string | undefined; + cycleType: string | undefined; + firstDate: moment.Moment; + cycle: string | undefined; + frequency: number; + result: string | undefined; + memo: string | undefined; + eqpImage: string | undefined; + imagePath: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsFactoryForEditOutput implements IGetIcsFactoryForEditOutput { - icsFactory: IcsFactoryEditDto; +export class IcsEquipmentMaintainPlanEditDto implements IIcsEquipmentMaintainPlanEditDto { + id: number | undefined; + eqpId: number; + eqpCode: string | undefined; + maintainId: number; + maintainCode: string | undefined; + cycleType: string | undefined; + frequency: number; + firstDate: moment.Moment; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetIcsFactoryForEditOutput) { + constructor(data?: IIcsEquipmentMaintainPlanEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsFactory = new IcsFactoryEditDto(); - } } init(_data?: any) { if (_data) { - this.icsFactory = _data["icsFactory"] ? IcsFactoryEditDto.fromJS(_data["icsFactory"]) : new IcsFactoryEditDto(); + this.id = _data["id"]; + this.eqpId = _data["eqpId"]; + this.eqpCode = _data["eqpCode"]; + this.maintainId = _data["maintainId"]; + this.maintainCode = _data["maintainCode"]; + this.cycleType = _data["cycleType"]; + this.frequency = _data["frequency"]; + this.firstDate = _data["firstDate"] ? moment(_data["firstDate"].toString()) : undefined; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetIcsFactoryForEditOutput { + static fromJS(data: any): IcsEquipmentMaintainPlanEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsFactoryForEditOutput(); + let result = new IcsEquipmentMaintainPlanEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsFactory"] = this.icsFactory ? this.icsFactory.toJSON() : undefined; + data["id"] = this.id; + data["eqpId"] = this.eqpId; + data["eqpCode"] = this.eqpCode; + data["maintainId"] = this.maintainId; + data["maintainCode"] = this.maintainCode; + data["cycleType"] = this.cycleType; + data["frequency"] = this.frequency; + data["firstDate"] = this.firstDate ? this.firstDate.toISOString() : undefined; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetIcsFactoryForEditOutput { + clone(): IcsEquipmentMaintainPlanEditDto { const json = this.toJSON(); - let result = new GetIcsFactoryForEditOutput(); + let result = new IcsEquipmentMaintainPlanEditDto(); result.init(json); return result; } } -export interface IGetIcsFactoryForEditOutput { - icsFactory: IcsFactoryEditDto; +export interface IIcsEquipmentMaintainPlanEditDto { + id: number | undefined; + eqpId: number; + eqpCode: string | undefined; + maintainId: number; + maintainCode: string | undefined; + cycleType: string | undefined; + frequency: number; + firstDate: moment.Moment; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class GetIcsInventoryForEditOutput implements IGetIcsInventoryForEditOutput { - icsInventory: IcsInventoryEditDto; +export class IcsEquipmentMaintainPlanListDto implements IIcsEquipmentMaintainPlanListDto { + eqpId: number; + eqpCode: string | undefined; + eqpName: string | undefined; + maintainId: number; + maintainContent: string | undefined; + maintainCode: string | undefined; + cycleType: string | undefined; + cycle: string | undefined; + frequency: number; + firstDate: moment.Moment; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsInventoryForEditOutput) { + constructor(data?: IIcsEquipmentMaintainPlanListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsInventory = new IcsInventoryEditDto(); - } } init(_data?: any) { if (_data) { - this.icsInventory = _data["icsInventory"] ? IcsInventoryEditDto.fromJS(_data["icsInventory"]) : new IcsInventoryEditDto(); + this.eqpId = _data["eqpId"]; + this.eqpCode = _data["eqpCode"]; + this.eqpName = _data["eqpName"]; + this.maintainId = _data["maintainId"]; + this.maintainContent = _data["maintainContent"]; + this.maintainCode = _data["maintainCode"]; + this.cycleType = _data["cycleType"]; + this.cycle = _data["cycle"]; + this.frequency = _data["frequency"]; + this.firstDate = _data["firstDate"] ? moment(_data["firstDate"].toString()) : undefined; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsInventoryForEditOutput { + static fromJS(data: any): IcsEquipmentMaintainPlanListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsInventoryForEditOutput(); + let result = new IcsEquipmentMaintainPlanListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsInventory"] = this.icsInventory ? this.icsInventory.toJSON() : undefined; + data["eqpId"] = this.eqpId; + data["eqpCode"] = this.eqpCode; + data["eqpName"] = this.eqpName; + data["maintainId"] = this.maintainId; + data["maintainContent"] = this.maintainContent; + data["maintainCode"] = this.maintainCode; + data["cycleType"] = this.cycleType; + data["cycle"] = this.cycle; + data["frequency"] = this.frequency; + data["firstDate"] = this.firstDate ? this.firstDate.toISOString() : undefined; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsInventoryForEditOutput { + clone(): IcsEquipmentMaintainPlanListDto { const json = this.toJSON(); - let result = new GetIcsInventoryForEditOutput(); + let result = new IcsEquipmentMaintainPlanListDto(); result.init(json); return result; } } -export interface IGetIcsInventoryForEditOutput { - icsInventory: IcsInventoryEditDto; +export interface IIcsEquipmentMaintainPlanListDto { + eqpId: number; + eqpCode: string | undefined; + eqpName: string | undefined; + maintainId: number; + maintainContent: string | undefined; + maintainCode: string | undefined; + cycleType: string | undefined; + cycle: string | undefined; + frequency: number; + firstDate: moment.Moment; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsItem2RouteForEditOutput implements IGetIcsItem2RouteForEditOutput { - icsItem2Route: IcsItem2RouteEditDto; +export class IcsEquipmentPartCheckDataEditDto implements IIcsEquipmentPartCheckDataEditDto { + id: number | undefined; + eqpCode: string | undefined; + partId: number; + partCheckItemId: number; + checkDate: moment.Moment; + checkResult: string | undefined; + checkResultImage: string | undefined; + checkDesc: string | undefined; + memo: string | undefined; - constructor(data?: IGetIcsItem2RouteForEditOutput) { + constructor(data?: IIcsEquipmentPartCheckDataEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsItem2Route = new IcsItem2RouteEditDto(); - } } init(_data?: any) { if (_data) { - this.icsItem2Route = _data["icsItem2Route"] ? IcsItem2RouteEditDto.fromJS(_data["icsItem2Route"]) : new IcsItem2RouteEditDto(); + this.id = _data["id"]; + this.eqpCode = _data["eqpCode"]; + this.partId = _data["partId"]; + this.partCheckItemId = _data["partCheckItemId"]; + this.checkDate = _data["checkDate"] ? moment(_data["checkDate"].toString()) : undefined; + this.checkResult = _data["checkResult"]; + this.checkResultImage = _data["checkResultImage"]; + this.checkDesc = _data["checkDesc"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetIcsItem2RouteForEditOutput { + static fromJS(data: any): IcsEquipmentPartCheckDataEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsItem2RouteForEditOutput(); + let result = new IcsEquipmentPartCheckDataEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsItem2Route"] = this.icsItem2Route ? this.icsItem2Route.toJSON() : undefined; + data["id"] = this.id; + data["eqpCode"] = this.eqpCode; + data["partId"] = this.partId; + data["partCheckItemId"] = this.partCheckItemId; + data["checkDate"] = this.checkDate ? this.checkDate.toISOString() : undefined; + data["checkResult"] = this.checkResult; + data["checkResultImage"] = this.checkResultImage; + data["checkDesc"] = this.checkDesc; + data["memo"] = this.memo; return data; } - clone(): GetIcsItem2RouteForEditOutput { + clone(): IcsEquipmentPartCheckDataEditDto { const json = this.toJSON(); - let result = new GetIcsItem2RouteForEditOutput(); + let result = new IcsEquipmentPartCheckDataEditDto(); result.init(json); return result; } } -export interface IGetIcsItem2RouteForEditOutput { - icsItem2Route: IcsItem2RouteEditDto; +export interface IIcsEquipmentPartCheckDataEditDto { + id: number | undefined; + eqpCode: string | undefined; + partId: number; + partCheckItemId: number; + checkDate: moment.Moment; + checkResult: string | undefined; + checkResultImage: string | undefined; + checkDesc: string | undefined; + memo: string | undefined; } -export class GetIcsItemModel2CheckGroupForEditOutput implements IGetIcsItemModel2CheckGroupForEditOutput { - icsItemModel2CheckGroup: IcsItemModel2CheckGroupEditDto; +export class IcsEquipmentPartCheckDataListDto implements IIcsEquipmentPartCheckDataListDto { + eqpCode: string | undefined; + partId: number; + partCheckItemId: number; + checkDate: moment.Moment; + checkResult: string | undefined; + checkResultImage: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsItemModel2CheckGroupForEditOutput) { + constructor(data?: IIcsEquipmentPartCheckDataListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsItemModel2CheckGroup = new IcsItemModel2CheckGroupEditDto(); - } } init(_data?: any) { if (_data) { - this.icsItemModel2CheckGroup = _data["icsItemModel2CheckGroup"] ? IcsItemModel2CheckGroupEditDto.fromJS(_data["icsItemModel2CheckGroup"]) : new IcsItemModel2CheckGroupEditDto(); + this.eqpCode = _data["eqpCode"]; + this.partId = _data["partId"]; + this.partCheckItemId = _data["partCheckItemId"]; + this.checkDate = _data["checkDate"] ? moment(_data["checkDate"].toString()) : undefined; + this.checkResult = _data["checkResult"]; + this.checkResultImage = _data["checkResultImage"]; + this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsItemModel2CheckGroupForEditOutput { + static fromJS(data: any): IcsEquipmentPartCheckDataListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsItemModel2CheckGroupForEditOutput(); + let result = new IcsEquipmentPartCheckDataListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsItemModel2CheckGroup"] = this.icsItemModel2CheckGroup ? this.icsItemModel2CheckGroup.toJSON() : undefined; + data["eqpCode"] = this.eqpCode; + data["partId"] = this.partId; + data["partCheckItemId"] = this.partCheckItemId; + data["checkDate"] = this.checkDate ? this.checkDate.toISOString() : undefined; + data["checkResult"] = this.checkResult; + data["checkResultImage"] = this.checkResultImage; + data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsItemModel2CheckGroupForEditOutput { + clone(): IcsEquipmentPartCheckDataListDto { const json = this.toJSON(); - let result = new GetIcsItemModel2CheckGroupForEditOutput(); + let result = new IcsEquipmentPartCheckDataListDto(); result.init(json); return result; } } -export interface IGetIcsItemModel2CheckGroupForEditOutput { - icsItemModel2CheckGroup: IcsItemModel2CheckGroupEditDto; +export interface IIcsEquipmentPartCheckDataListDto { + eqpCode: string | undefined; + partId: number; + partCheckItemId: number; + checkDate: moment.Moment; + checkResult: string | undefined; + checkResultImage: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsItemOp2CheckItemForEditOutput implements IGetIcsItemOp2CheckItemForEditOutput { - icsItemOp2CheckItem: IcsItemOp2CheckItemEditDto; +export class IcsEquipmentPartCheckInputListDto implements IIcsEquipmentPartCheckInputListDto { + eqpId: number; + eqpCode: string | undefined; + partId: number; + eqpPartName: string | undefined; + partCheckItemId: number; + checkDate: string | undefined; + checkContent: string | undefined; + checkMethod: string | undefined; + checkStandard: string | undefined; + checkLocation: string | undefined; + checkPeriod: string | undefined; + checkRate: number; + checkImage: string | undefined; + checkImagePath: string | undefined; + checkResult: string | undefined; + checkResultImage: string | undefined; + memo: string | undefined; + resultList: SelectItemExt[] | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsItemOp2CheckItemForEditOutput) { + constructor(data?: IIcsEquipmentPartCheckInputListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsItemOp2CheckItem = new IcsItemOp2CheckItemEditDto(); - } } init(_data?: any) { if (_data) { - this.icsItemOp2CheckItem = _data["icsItemOp2CheckItem"] ? IcsItemOp2CheckItemEditDto.fromJS(_data["icsItemOp2CheckItem"]) : new IcsItemOp2CheckItemEditDto(); + this.eqpId = _data["eqpId"]; + this.eqpCode = _data["eqpCode"]; + this.partId = _data["partId"]; + this.eqpPartName = _data["eqpPartName"]; + this.partCheckItemId = _data["partCheckItemId"]; + this.checkDate = _data["checkDate"]; + this.checkContent = _data["checkContent"]; + this.checkMethod = _data["checkMethod"]; + this.checkStandard = _data["checkStandard"]; + this.checkLocation = _data["checkLocation"]; + this.checkPeriod = _data["checkPeriod"]; + this.checkRate = _data["checkRate"]; + this.checkImage = _data["checkImage"]; + this.checkImagePath = _data["checkImagePath"]; + this.checkResult = _data["checkResult"]; + this.checkResultImage = _data["checkResultImage"]; + this.memo = _data["memo"]; + if (Array.isArray(_data["resultList"])) { + this.resultList = [] as any; + for (let item of _data["resultList"]) + this.resultList.push(SelectItemExt.fromJS(item)); + } + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsItemOp2CheckItemForEditOutput { + static fromJS(data: any): IcsEquipmentPartCheckInputListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsItemOp2CheckItemForEditOutput(); + let result = new IcsEquipmentPartCheckInputListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsItemOp2CheckItem"] = this.icsItemOp2CheckItem ? this.icsItemOp2CheckItem.toJSON() : undefined; + data["eqpId"] = this.eqpId; + data["eqpCode"] = this.eqpCode; + data["partId"] = this.partId; + data["eqpPartName"] = this.eqpPartName; + data["partCheckItemId"] = this.partCheckItemId; + data["checkDate"] = this.checkDate; + data["checkContent"] = this.checkContent; + data["checkMethod"] = this.checkMethod; + data["checkStandard"] = this.checkStandard; + data["checkLocation"] = this.checkLocation; + data["checkPeriod"] = this.checkPeriod; + data["checkRate"] = this.checkRate; + data["checkImage"] = this.checkImage; + data["checkImagePath"] = this.checkImagePath; + data["checkResult"] = this.checkResult; + data["checkResultImage"] = this.checkResultImage; + data["memo"] = this.memo; + if (Array.isArray(this.resultList)) { + data["resultList"] = []; + for (let item of this.resultList) + data["resultList"].push(item.toJSON()); + } + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsItemOp2CheckItemForEditOutput { + clone(): IcsEquipmentPartCheckInputListDto { const json = this.toJSON(); - let result = new GetIcsItemOp2CheckItemForEditOutput(); + let result = new IcsEquipmentPartCheckInputListDto(); result.init(json); return result; } } -export interface IGetIcsItemOp2CheckItemForEditOutput { - icsItemOp2CheckItem: IcsItemOp2CheckItemEditDto; +export interface IIcsEquipmentPartCheckInputListDto { + eqpId: number; + eqpCode: string | undefined; + partId: number; + eqpPartName: string | undefined; + partCheckItemId: number; + checkDate: string | undefined; + checkContent: string | undefined; + checkMethod: string | undefined; + checkStandard: string | undefined; + checkLocation: string | undefined; + checkPeriod: string | undefined; + checkRate: number; + checkImage: string | undefined; + checkImagePath: string | undefined; + checkResult: string | undefined; + checkResultImage: string | undefined; + memo: string | undefined; + resultList: SelectItemExt[] | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsItemRoute2OpForEditOutput implements IGetIcsItemRoute2OpForEditOutput { - icsItemRoute2Op: IcsItemRoute2OpEditDto; +export class IcsEquipmentPartCheckItemEditDto implements IIcsEquipmentPartCheckItemEditDto { + id: number | undefined; + eqpPartId: string | undefined; + eqpPartCode: string | undefined; + checkSeq: number; + checkContent: string | undefined; + checkMethod: string | undefined; + checkStandard: string | undefined; + checkLocation: string | undefined; + checkPeriod: string | undefined; + checkRate: number; + checkImage: string | undefined; + checkDesc: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetIcsItemRoute2OpForEditOutput) { + constructor(data?: IIcsEquipmentPartCheckItemEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsItemRoute2Op = new IcsItemRoute2OpEditDto(); - } } init(_data?: any) { if (_data) { - this.icsItemRoute2Op = _data["icsItemRoute2Op"] ? IcsItemRoute2OpEditDto.fromJS(_data["icsItemRoute2Op"]) : new IcsItemRoute2OpEditDto(); + this.id = _data["id"]; + this.eqpPartId = _data["eqpPartId"]; + this.eqpPartCode = _data["eqpPartCode"]; + this.checkSeq = _data["checkSeq"]; + this.checkContent = _data["checkContent"]; + this.checkMethod = _data["checkMethod"]; + this.checkStandard = _data["checkStandard"]; + this.checkLocation = _data["checkLocation"]; + this.checkPeriod = _data["checkPeriod"]; + this.checkRate = _data["checkRate"]; + this.checkImage = _data["checkImage"]; + this.checkDesc = _data["checkDesc"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetIcsItemRoute2OpForEditOutput { + static fromJS(data: any): IcsEquipmentPartCheckItemEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsItemRoute2OpForEditOutput(); + let result = new IcsEquipmentPartCheckItemEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsItemRoute2Op"] = this.icsItemRoute2Op ? this.icsItemRoute2Op.toJSON() : undefined; + data["id"] = this.id; + data["eqpPartId"] = this.eqpPartId; + data["eqpPartCode"] = this.eqpPartCode; + data["checkSeq"] = this.checkSeq; + data["checkContent"] = this.checkContent; + data["checkMethod"] = this.checkMethod; + data["checkStandard"] = this.checkStandard; + data["checkLocation"] = this.checkLocation; + data["checkPeriod"] = this.checkPeriod; + data["checkRate"] = this.checkRate; + data["checkImage"] = this.checkImage; + data["checkDesc"] = this.checkDesc; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetIcsItemRoute2OpForEditOutput { + clone(): IcsEquipmentPartCheckItemEditDto { const json = this.toJSON(); - let result = new GetIcsItemRoute2OpForEditOutput(); + let result = new IcsEquipmentPartCheckItemEditDto(); result.init(json); return result; } } -export interface IGetIcsItemRoute2OpForEditOutput { - icsItemRoute2Op: IcsItemRoute2OpEditDto; +export interface IIcsEquipmentPartCheckItemEditDto { + id: number | undefined; + eqpPartId: string | undefined; + eqpPartCode: string | undefined; + checkSeq: number; + checkContent: string | undefined; + checkMethod: string | undefined; + checkStandard: string | undefined; + checkLocation: string | undefined; + checkPeriod: string | undefined; + checkRate: number; + checkImage: string | undefined; + checkDesc: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class GetIcsLotRoute2OpForEditOutput implements IGetIcsLotRoute2OpForEditOutput { - icsLotRoute2Op: IcsLotRoute2OpEditDto; +export class IcsEquipmentPartCheckItemListDto implements IIcsEquipmentPartCheckItemListDto { + eqpPartId: string | undefined; + eqpPartCode: string | undefined; + checkSeq: number; + checkContent: string | undefined; + checkMethod: string | undefined; + checkStandard: string | undefined; + checkLocation: string | undefined; + checkPeriod: string | undefined; + checkRate: number; + checkImage: string | undefined; + checkDesc: string | undefined; + memo: string | undefined; + imagePath: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsLotRoute2OpForEditOutput) { + constructor(data?: IIcsEquipmentPartCheckItemListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsLotRoute2Op = new IcsLotRoute2OpEditDto(); - } } init(_data?: any) { if (_data) { - this.icsLotRoute2Op = _data["icsLotRoute2Op"] ? IcsLotRoute2OpEditDto.fromJS(_data["icsLotRoute2Op"]) : new IcsLotRoute2OpEditDto(); + this.eqpPartId = _data["eqpPartId"]; + this.eqpPartCode = _data["eqpPartCode"]; + this.checkSeq = _data["checkSeq"]; + this.checkContent = _data["checkContent"]; + this.checkMethod = _data["checkMethod"]; + this.checkStandard = _data["checkStandard"]; + this.checkLocation = _data["checkLocation"]; + this.checkPeriod = _data["checkPeriod"]; + this.checkRate = _data["checkRate"]; + this.checkImage = _data["checkImage"]; + this.checkDesc = _data["checkDesc"]; + this.memo = _data["memo"]; + this.imagePath = _data["imagePath"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsLotRoute2OpForEditOutput { + static fromJS(data: any): IcsEquipmentPartCheckItemListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsLotRoute2OpForEditOutput(); + let result = new IcsEquipmentPartCheckItemListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsLotRoute2Op"] = this.icsLotRoute2Op ? this.icsLotRoute2Op.toJSON() : undefined; + data["eqpPartId"] = this.eqpPartId; + data["eqpPartCode"] = this.eqpPartCode; + data["checkSeq"] = this.checkSeq; + data["checkContent"] = this.checkContent; + data["checkMethod"] = this.checkMethod; + data["checkStandard"] = this.checkStandard; + data["checkLocation"] = this.checkLocation; + data["checkPeriod"] = this.checkPeriod; + data["checkRate"] = this.checkRate; + data["checkImage"] = this.checkImage; + data["checkDesc"] = this.checkDesc; + data["memo"] = this.memo; + data["imagePath"] = this.imagePath; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsLotRoute2OpForEditOutput { + clone(): IcsEquipmentPartCheckItemListDto { const json = this.toJSON(); - let result = new GetIcsLotRoute2OpForEditOutput(); + let result = new IcsEquipmentPartCheckItemListDto(); result.init(json); return result; } } -export interface IGetIcsLotRoute2OpForEditOutput { - icsLotRoute2Op: IcsLotRoute2OpEditDto; +export interface IIcsEquipmentPartCheckItemListDto { + eqpPartId: string | undefined; + eqpPartCode: string | undefined; + checkSeq: number; + checkContent: string | undefined; + checkMethod: string | undefined; + checkStandard: string | undefined; + checkLocation: string | undefined; + checkPeriod: string | undefined; + checkRate: number; + checkImage: string | undefined; + checkDesc: string | undefined; + memo: string | undefined; + imagePath: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsMachineCellForEditOutput implements IGetIcsMachineCellForEditOutput { - icsMachineCell: IcsMachineCellEditDto; +export class IcsEquipmentPartsEditDto implements IIcsEquipmentPartsEditDto { + id: number | undefined; + eqpType: string | undefined; + eqpModel: string | undefined; + eqpPartSeq: string | undefined; + eqpPartName: string | undefined; + eqpPartCode: string | undefined; + eqpPartImage: string | undefined; + eqpPartDesc: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetIcsMachineCellForEditOutput) { + constructor(data?: IIcsEquipmentPartsEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsMachineCell = new IcsMachineCellEditDto(); - } } init(_data?: any) { if (_data) { - this.icsMachineCell = _data["icsMachineCell"] ? IcsMachineCellEditDto.fromJS(_data["icsMachineCell"]) : new IcsMachineCellEditDto(); + this.id = _data["id"]; + this.eqpType = _data["eqpType"]; + this.eqpModel = _data["eqpModel"]; + this.eqpPartSeq = _data["eqpPartSeq"]; + this.eqpPartName = _data["eqpPartName"]; + this.eqpPartCode = _data["eqpPartCode"]; + this.eqpPartImage = _data["eqpPartImage"]; + this.eqpPartDesc = _data["eqpPartDesc"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetIcsMachineCellForEditOutput { + static fromJS(data: any): IcsEquipmentPartsEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsMachineCellForEditOutput(); + let result = new IcsEquipmentPartsEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsMachineCell"] = this.icsMachineCell ? this.icsMachineCell.toJSON() : undefined; + data["id"] = this.id; + data["eqpType"] = this.eqpType; + data["eqpModel"] = this.eqpModel; + data["eqpPartSeq"] = this.eqpPartSeq; + data["eqpPartName"] = this.eqpPartName; + data["eqpPartCode"] = this.eqpPartCode; + data["eqpPartImage"] = this.eqpPartImage; + data["eqpPartDesc"] = this.eqpPartDesc; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetIcsMachineCellForEditOutput { + clone(): IcsEquipmentPartsEditDto { const json = this.toJSON(); - let result = new GetIcsMachineCellForEditOutput(); + let result = new IcsEquipmentPartsEditDto(); result.init(json); return result; } } -export interface IGetIcsMachineCellForEditOutput { - icsMachineCell: IcsMachineCellEditDto; +export interface IIcsEquipmentPartsEditDto { + id: number | undefined; + eqpType: string | undefined; + eqpModel: string | undefined; + eqpPartSeq: string | undefined; + eqpPartName: string | undefined; + eqpPartCode: string | undefined; + eqpPartImage: string | undefined; + eqpPartDesc: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class GetIcsMainCategoryCodeForEditOutput implements IGetIcsMainCategoryCodeForEditOutput { - icsMainCategoryCode: IcsMainCategoryCodeEditDto; +export class IcsEquipmentPartsListDto implements IIcsEquipmentPartsListDto { + eqpType: string | undefined; + eqpModel: string | undefined; + eqpPartSeq: string | undefined; + eqpPartName: string | undefined; + eqpPartCode: string | undefined; + eqpPartImage: string | undefined; + eqpPartDesc: string | undefined; + memo: string | undefined; + imagePath: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsMainCategoryCodeForEditOutput) { + constructor(data?: IIcsEquipmentPartsListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsMainCategoryCode = new IcsMainCategoryCodeEditDto(); - } } init(_data?: any) { if (_data) { - this.icsMainCategoryCode = _data["icsMainCategoryCode"] ? IcsMainCategoryCodeEditDto.fromJS(_data["icsMainCategoryCode"]) : new IcsMainCategoryCodeEditDto(); + this.eqpType = _data["eqpType"]; + this.eqpModel = _data["eqpModel"]; + this.eqpPartSeq = _data["eqpPartSeq"]; + this.eqpPartName = _data["eqpPartName"]; + this.eqpPartCode = _data["eqpPartCode"]; + this.eqpPartImage = _data["eqpPartImage"]; + this.eqpPartDesc = _data["eqpPartDesc"]; + this.memo = _data["memo"]; + this.imagePath = _data["imagePath"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsMainCategoryCodeForEditOutput { + static fromJS(data: any): IcsEquipmentPartsListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsMainCategoryCodeForEditOutput(); + let result = new IcsEquipmentPartsListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsMainCategoryCode"] = this.icsMainCategoryCode ? this.icsMainCategoryCode.toJSON() : undefined; + data["eqpType"] = this.eqpType; + data["eqpModel"] = this.eqpModel; + data["eqpPartSeq"] = this.eqpPartSeq; + data["eqpPartName"] = this.eqpPartName; + data["eqpPartCode"] = this.eqpPartCode; + data["eqpPartImage"] = this.eqpPartImage; + data["eqpPartDesc"] = this.eqpPartDesc; + data["memo"] = this.memo; + data["imagePath"] = this.imagePath; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsMainCategoryCodeForEditOutput { + clone(): IcsEquipmentPartsListDto { const json = this.toJSON(); - let result = new GetIcsMainCategoryCodeForEditOutput(); + let result = new IcsEquipmentPartsListDto(); result.init(json); return result; } } -export interface IGetIcsMainCategoryCodeForEditOutput { - icsMainCategoryCode: IcsMainCategoryCodeEditDto; +export interface IIcsEquipmentPartsListDto { + eqpType: string | undefined; + eqpModel: string | undefined; + eqpPartSeq: string | undefined; + eqpPartName: string | undefined; + eqpPartCode: string | undefined; + eqpPartImage: string | undefined; + eqpPartDesc: string | undefined; + memo: string | undefined; + imagePath: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsManualRecordingForEditOutput implements IGetIcsManualRecordingForEditOutput { - icsManualRecording: IcsManualRecordingEditDto; +export class IcsEquipmentTSEditDto implements IIcsEquipmentTSEditDto { + id: number | undefined; + tsNo: string | undefined; + eqpId: string | undefined; + eqpCode: string | undefined; + findUserId: string | undefined; + findUserName: string | undefined; + findTime: moment.Moment | undefined; + tsInfo: string | undefined; + tsReason: string | undefined; + tsSolution: string | undefined; + tsResult: string | undefined; + tsType: string | undefined; + tsDesc: string | undefined; + tsStatus: string | undefined; + duration: number | undefined; + tsImage: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetIcsManualRecordingForEditOutput) { + constructor(data?: IIcsEquipmentTSEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsManualRecording = new IcsManualRecordingEditDto(); - } } init(_data?: any) { if (_data) { - this.icsManualRecording = _data["icsManualRecording"] ? IcsManualRecordingEditDto.fromJS(_data["icsManualRecording"]) : new IcsManualRecordingEditDto(); + this.id = _data["id"]; + this.tsNo = _data["tsNo"]; + this.eqpId = _data["eqpId"]; + this.eqpCode = _data["eqpCode"]; + this.findUserId = _data["findUserId"]; + this.findUserName = _data["findUserName"]; + this.findTime = _data["findTime"] ? moment(_data["findTime"].toString()) : undefined; + this.tsInfo = _data["tsInfo"]; + this.tsReason = _data["tsReason"]; + this.tsSolution = _data["tsSolution"]; + this.tsResult = _data["tsResult"]; + this.tsType = _data["tsType"]; + this.tsDesc = _data["tsDesc"]; + this.tsStatus = _data["tsStatus"]; + this.duration = _data["duration"]; + this.tsImage = _data["tsImage"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetIcsManualRecordingForEditOutput { + static fromJS(data: any): IcsEquipmentTSEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsManualRecordingForEditOutput(); + let result = new IcsEquipmentTSEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsManualRecording"] = this.icsManualRecording ? this.icsManualRecording.toJSON() : undefined; + data["id"] = this.id; + data["tsNo"] = this.tsNo; + data["eqpId"] = this.eqpId; + data["eqpCode"] = this.eqpCode; + data["findUserId"] = this.findUserId; + data["findUserName"] = this.findUserName; + data["findTime"] = this.findTime ? this.findTime.toISOString() : undefined; + data["tsInfo"] = this.tsInfo; + data["tsReason"] = this.tsReason; + data["tsSolution"] = this.tsSolution; + data["tsResult"] = this.tsResult; + data["tsType"] = this.tsType; + data["tsDesc"] = this.tsDesc; + data["tsStatus"] = this.tsStatus; + data["duration"] = this.duration; + data["tsImage"] = this.tsImage; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetIcsManualRecordingForEditOutput { + clone(): IcsEquipmentTSEditDto { const json = this.toJSON(); - let result = new GetIcsManualRecordingForEditOutput(); + let result = new IcsEquipmentTSEditDto(); result.init(json); return result; } } -export interface IGetIcsManualRecordingForEditOutput { - icsManualRecording: IcsManualRecordingEditDto; +export interface IIcsEquipmentTSEditDto { + id: number | undefined; + tsNo: string | undefined; + eqpId: string | undefined; + eqpCode: string | undefined; + findUserId: string | undefined; + findUserName: string | undefined; + findTime: moment.Moment | undefined; + tsInfo: string | undefined; + tsReason: string | undefined; + tsSolution: string | undefined; + tsResult: string | undefined; + tsType: string | undefined; + tsDesc: string | undefined; + tsStatus: string | undefined; + duration: number | undefined; + tsImage: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class GetIcsMo2LotForEditOutput implements IGetIcsMo2LotForEditOutput { - icsMo2Lot: IcsMo2LotEditDto; +export class IcsEquipmentTSListDto implements IIcsEquipmentTSListDto { + tsNo: string | undefined; + eqpId: string | undefined; + eqpCode: string | undefined; + findUserId: string | undefined; + findUserName: string | undefined; + findTime: moment.Moment; + tsInfo: string | undefined; + tsReason: string | undefined; + tsSolution: string | undefined; + tsResult: string | undefined; + tsType: string | undefined; + tsDesc: string | undefined; + tsStatus: string | undefined; + tsStatusTitle: string | undefined; + duration: number | undefined; + durationTime: string | undefined; + memo: string | undefined; + tsTime: moment.Moment | undefined; + tsUserName: string | undefined; + conformUserName: string | undefined; + conformTime: moment.Moment | undefined; + tsImage: string | undefined; + imagePath: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsMo2LotForEditOutput) { + constructor(data?: IIcsEquipmentTSListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsMo2Lot = new IcsMo2LotEditDto(); - } } init(_data?: any) { if (_data) { - this.icsMo2Lot = _data["icsMo2Lot"] ? IcsMo2LotEditDto.fromJS(_data["icsMo2Lot"]) : new IcsMo2LotEditDto(); + this.tsNo = _data["tsNo"]; + this.eqpId = _data["eqpId"]; + this.eqpCode = _data["eqpCode"]; + this.findUserId = _data["findUserId"]; + this.findUserName = _data["findUserName"]; + this.findTime = _data["findTime"] ? moment(_data["findTime"].toString()) : undefined; + this.tsInfo = _data["tsInfo"]; + this.tsReason = _data["tsReason"]; + this.tsSolution = _data["tsSolution"]; + this.tsResult = _data["tsResult"]; + this.tsType = _data["tsType"]; + this.tsDesc = _data["tsDesc"]; + this.tsStatus = _data["tsStatus"]; + this.tsStatusTitle = _data["tsStatusTitle"]; + this.duration = _data["duration"]; + this.durationTime = _data["durationTime"]; + this.memo = _data["memo"]; + this.tsTime = _data["tsTime"] ? moment(_data["tsTime"].toString()) : undefined; + this.tsUserName = _data["tsUserName"]; + this.conformUserName = _data["conformUserName"]; + this.conformTime = _data["conformTime"] ? moment(_data["conformTime"].toString()) : undefined; + this.tsImage = _data["tsImage"]; + this.imagePath = _data["imagePath"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsMo2LotForEditOutput { + static fromJS(data: any): IcsEquipmentTSListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsMo2LotForEditOutput(); + let result = new IcsEquipmentTSListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsMo2Lot"] = this.icsMo2Lot ? this.icsMo2Lot.toJSON() : undefined; + data["tsNo"] = this.tsNo; + data["eqpId"] = this.eqpId; + data["eqpCode"] = this.eqpCode; + data["findUserId"] = this.findUserId; + data["findUserName"] = this.findUserName; + data["findTime"] = this.findTime ? this.findTime.toISOString() : undefined; + data["tsInfo"] = this.tsInfo; + data["tsReason"] = this.tsReason; + data["tsSolution"] = this.tsSolution; + data["tsResult"] = this.tsResult; + data["tsType"] = this.tsType; + data["tsDesc"] = this.tsDesc; + data["tsStatus"] = this.tsStatus; + data["tsStatusTitle"] = this.tsStatusTitle; + data["duration"] = this.duration; + data["durationTime"] = this.durationTime; + data["memo"] = this.memo; + data["tsTime"] = this.tsTime ? this.tsTime.toISOString() : undefined; + data["tsUserName"] = this.tsUserName; + data["conformUserName"] = this.conformUserName; + data["conformTime"] = this.conformTime ? this.conformTime.toISOString() : undefined; + data["tsImage"] = this.tsImage; + data["imagePath"] = this.imagePath; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsMo2LotForEditOutput { + clone(): IcsEquipmentTSListDto { const json = this.toJSON(); - let result = new GetIcsMo2LotForEditOutput(); + let result = new IcsEquipmentTSListDto(); result.init(json); return result; } } -export interface IGetIcsMo2LotForEditOutput { - icsMo2Lot: IcsMo2LotEditDto; +export interface IIcsEquipmentTSListDto { + tsNo: string | undefined; + eqpId: string | undefined; + eqpCode: string | undefined; + findUserId: string | undefined; + findUserName: string | undefined; + findTime: moment.Moment; + tsInfo: string | undefined; + tsReason: string | undefined; + tsSolution: string | undefined; + tsResult: string | undefined; + tsType: string | undefined; + tsDesc: string | undefined; + tsStatus: string | undefined; + tsStatusTitle: string | undefined; + duration: number | undefined; + durationTime: string | undefined; + memo: string | undefined; + tsTime: moment.Moment | undefined; + tsUserName: string | undefined; + conformUserName: string | undefined; + conformTime: moment.Moment | undefined; + tsImage: string | undefined; + imagePath: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsMoDispatchingForEditOutput implements IGetIcsMoDispatchingForEditOutput { - icsMoDispatching: IcsMoDispatchingEditDto; +export class IcsErpTimeEditDto implements IIcsErpTimeEditDto { + key: string | undefined; + id: number | undefined; + namespace: string | undefined; + className: string | undefined; + modifyDate: moment.Moment; - constructor(data?: IGetIcsMoDispatchingForEditOutput) { + constructor(data?: IIcsErpTimeEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsMoDispatching = new IcsMoDispatchingEditDto(); - } } init(_data?: any) { if (_data) { - this.icsMoDispatching = _data["icsMoDispatching"] ? IcsMoDispatchingEditDto.fromJS(_data["icsMoDispatching"]) : new IcsMoDispatchingEditDto(); + this.key = _data["key"]; + this.id = _data["id"]; + this.namespace = _data["namespace"]; + this.className = _data["className"]; + this.modifyDate = _data["modifyDate"] ? moment(_data["modifyDate"].toString()) : undefined; } } - static fromJS(data: any): GetIcsMoDispatchingForEditOutput { + static fromJS(data: any): IcsErpTimeEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsMoDispatchingForEditOutput(); + let result = new IcsErpTimeEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsMoDispatching"] = this.icsMoDispatching ? this.icsMoDispatching.toJSON() : undefined; + data["key"] = this.key; + data["id"] = this.id; + data["namespace"] = this.namespace; + data["className"] = this.className; + data["modifyDate"] = this.modifyDate ? this.modifyDate.toISOString() : undefined; return data; } - clone(): GetIcsMoDispatchingForEditOutput { + clone(): IcsErpTimeEditDto { const json = this.toJSON(); - let result = new GetIcsMoDispatchingForEditOutput(); + let result = new IcsErpTimeEditDto(); result.init(json); return result; } } -export interface IGetIcsMoDispatchingForEditOutput { - icsMoDispatching: IcsMoDispatchingEditDto; +export interface IIcsErpTimeEditDto { + key: string | undefined; + id: number | undefined; + namespace: string | undefined; + className: string | undefined; + modifyDate: moment.Moment; } -export class GetIcsMoForEditOutput implements IGetIcsMoForEditOutput { - icsMo: IcsMoEditDto; +export class IcsErpTimeListDto implements IIcsErpTimeListDto { + key: string | undefined; + namespace: string | undefined; + className: string | undefined; + modifyDate: moment.Moment; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsMoForEditOutput) { + constructor(data?: IIcsErpTimeListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsMo = new IcsMoEditDto(); - } } init(_data?: any) { if (_data) { - this.icsMo = _data["icsMo"] ? IcsMoEditDto.fromJS(_data["icsMo"]) : new IcsMoEditDto(); + this.key = _data["key"]; + this.namespace = _data["namespace"]; + this.className = _data["className"]; + this.modifyDate = _data["modifyDate"] ? moment(_data["modifyDate"].toString()) : undefined; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsMoForEditOutput { + static fromJS(data: any): IcsErpTimeListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsMoForEditOutput(); + let result = new IcsErpTimeListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsMo"] = this.icsMo ? this.icsMo.toJSON() : undefined; + data["key"] = this.key; + data["namespace"] = this.namespace; + data["className"] = this.className; + data["modifyDate"] = this.modifyDate ? this.modifyDate.toISOString() : undefined; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsMoForEditOutput { + clone(): IcsErpTimeListDto { const json = this.toJSON(); - let result = new GetIcsMoForEditOutput(); + let result = new IcsErpTimeListDto(); result.init(json); return result; } } -export interface IGetIcsMoForEditOutput { - icsMo: IcsMoEditDto; +export interface IIcsErpTimeListDto { + key: string | undefined; + namespace: string | undefined; + className: string | undefined; + modifyDate: moment.Moment; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsModel2EcgForEditOutput implements IGetIcsModel2EcgForEditOutput { - icsModel2Ecg: IcsModel2EcgEditDto; +export class IcsFactoryEditDto implements IIcsFactoryEditDto { + id: number | undefined; + facCode: string | undefined; + facName: string | undefined; + facDesc: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; - constructor(data?: IGetIcsModel2EcgForEditOutput) { + constructor(data?: IIcsFactoryEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsModel2Ecg = new IcsModel2EcgEditDto(); - } } init(_data?: any) { if (_data) { - this.icsModel2Ecg = _data["icsModel2Ecg"] ? IcsModel2EcgEditDto.fromJS(_data["icsModel2Ecg"]) : new IcsModel2EcgEditDto(); + this.id = _data["id"]; + this.facCode = _data["facCode"]; + this.facName = _data["facName"]; + this.facDesc = _data["facDesc"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetIcsModel2EcgForEditOutput { + static fromJS(data: any): IcsFactoryEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsModel2EcgForEditOutput(); + let result = new IcsFactoryEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsModel2Ecg"] = this.icsModel2Ecg ? this.icsModel2Ecg.toJSON() : undefined; + data["id"] = this.id; + data["facCode"] = this.facCode; + data["facName"] = this.facName; + data["facDesc"] = this.facDesc; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["memo"] = this.memo; return data; } - clone(): GetIcsModel2EcgForEditOutput { + clone(): IcsFactoryEditDto { const json = this.toJSON(); - let result = new GetIcsModel2EcgForEditOutput(); + let result = new IcsFactoryEditDto(); result.init(json); return result; } } -export interface IGetIcsModel2EcgForEditOutput { - icsModel2Ecg: IcsModel2EcgEditDto; +export interface IIcsFactoryEditDto { + id: number | undefined; + facCode: string | undefined; + facName: string | undefined; + facDesc: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; } -export class GetIcsModel2EcsForEditOutput implements IGetIcsModel2EcsForEditOutput { - icsModel2Ecs: IcsModel2EcsEditDto; +export class IcsFactoryListDto implements IIcsFactoryListDto { + key: string | undefined; + facCode: string | undefined; + facName: string | undefined; + facDesc: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsModel2EcsForEditOutput) { + constructor(data?: IIcsFactoryListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsModel2Ecs = new IcsModel2EcsEditDto(); - } } init(_data?: any) { if (_data) { - this.icsModel2Ecs = _data["icsModel2Ecs"] ? IcsModel2EcsEditDto.fromJS(_data["icsModel2Ecs"]) : new IcsModel2EcsEditDto(); + this.key = _data["key"]; + this.facCode = _data["facCode"]; + this.facName = _data["facName"]; + this.facDesc = _data["facDesc"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsModel2EcsForEditOutput { + static fromJS(data: any): IcsFactoryListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsModel2EcsForEditOutput(); + let result = new IcsFactoryListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsModel2Ecs"] = this.icsModel2Ecs ? this.icsModel2Ecs.toJSON() : undefined; + data["key"] = this.key; + data["facCode"] = this.facCode; + data["facName"] = this.facName; + data["facDesc"] = this.facDesc; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsModel2EcsForEditOutput { + clone(): IcsFactoryListDto { const json = this.toJSON(); - let result = new GetIcsModel2EcsForEditOutput(); + let result = new IcsFactoryListDto(); result.init(json); return result; } } -export interface IGetIcsModel2EcsForEditOutput { - icsModel2Ecs: IcsModel2EcsEditDto; +export interface IIcsFactoryListDto { + key: string | undefined; + facCode: string | undefined; + facName: string | undefined; + facDesc: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsModel2EcsgForEditOutput implements IGetIcsModel2EcsgForEditOutput { - icsModel2Ecsg: IcsModel2EcsgEditDto; +export class IcsInventoryEditDto implements IIcsInventoryEditDto { + id: number | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemDesc: string | undefined; + itemStd: string | undefined; + itemType: string | undefined; + itemDrawingNo: string | undefined; + itemControlType: string | undefined; + itemContype: string | undefined; + itemAttribute: string | undefined; + itemAddCode: string | undefined; + itemUnit: string | undefined; + amountUnit1: string | undefined; + amountUnit2: string | undefined; + itemRate: number | undefined; + itemMainCategoryCode: string | undefined; + itemModel: string | undefined; + itemMachineType: string | undefined; + itemVolume: string | undefined; + itemModelCode: string | undefined; + itemExportImport: string | undefined; + itemModelGroup: string | undefined; + itemGroup: string | undefined; + itemGroupDesc: string | undefined; + parseType: string | undefined; + checkStatus: string | undefined; + itemCheckType: string | undefined; + snLength: number | undefined; + rohs: string | undefined; + shelfLife: number | undefined; + lotQty: number | undefined; + cartonQty: number | undefined; + itemBurninQty: number | undefined; + pcbaCount: number | undefined; + chkItemOp: string | undefined; + isSmt: string | undefined; + fifoRange: number | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + itemParseBarcode: IcsItemParseBarcodeDto; - constructor(data?: IGetIcsModel2EcsgForEditOutput) { + constructor(data?: IIcsInventoryEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsModel2Ecsg = new IcsModel2EcsgEditDto(); - } } init(_data?: any) { if (_data) { - this.icsModel2Ecsg = _data["icsModel2Ecsg"] ? IcsModel2EcsgEditDto.fromJS(_data["icsModel2Ecsg"]) : new IcsModel2EcsgEditDto(); + this.id = _data["id"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.itemDesc = _data["itemDesc"]; + this.itemStd = _data["itemStd"]; + this.itemType = _data["itemType"]; + this.itemDrawingNo = _data["itemDrawingNo"]; + this.itemControlType = _data["itemControlType"]; + this.itemContype = _data["itemContype"]; + this.itemAttribute = _data["itemAttribute"]; + this.itemAddCode = _data["itemAddCode"]; + this.itemUnit = _data["itemUnit"]; + this.amountUnit1 = _data["amountUnit1"]; + this.amountUnit2 = _data["amountUnit2"]; + this.itemRate = _data["itemRate"]; + this.itemMainCategoryCode = _data["itemMainCategoryCode"]; + this.itemModel = _data["itemModel"]; + this.itemMachineType = _data["itemMachineType"]; + this.itemVolume = _data["itemVolume"]; + this.itemModelCode = _data["itemModelCode"]; + this.itemExportImport = _data["itemExportImport"]; + this.itemModelGroup = _data["itemModelGroup"]; + this.itemGroup = _data["itemGroup"]; + this.itemGroupDesc = _data["itemGroupDesc"]; + this.parseType = _data["parseType"]; + this.checkStatus = _data["checkStatus"]; + this.itemCheckType = _data["itemCheckType"]; + this.snLength = _data["snLength"]; + this.rohs = _data["rohs"]; + this.shelfLife = _data["shelfLife"]; + this.lotQty = _data["lotQty"]; + this.cartonQty = _data["cartonQty"]; + this.itemBurninQty = _data["itemBurninQty"]; + this.pcbaCount = _data["pcbaCount"]; + this.chkItemOp = _data["chkItemOp"]; + this.isSmt = _data["isSmt"]; + this.fifoRange = _data["fifoRange"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.itemParseBarcode = _data["itemParseBarcode"] ? IcsItemParseBarcodeDto.fromJS(_data["itemParseBarcode"]) : undefined; } } - static fromJS(data: any): GetIcsModel2EcsgForEditOutput { + static fromJS(data: any): IcsInventoryEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsModel2EcsgForEditOutput(); + let result = new IcsInventoryEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsModel2Ecsg"] = this.icsModel2Ecsg ? this.icsModel2Ecsg.toJSON() : undefined; + data["id"] = this.id; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["itemDesc"] = this.itemDesc; + data["itemStd"] = this.itemStd; + data["itemType"] = this.itemType; + data["itemDrawingNo"] = this.itemDrawingNo; + data["itemControlType"] = this.itemControlType; + data["itemContype"] = this.itemContype; + data["itemAttribute"] = this.itemAttribute; + data["itemAddCode"] = this.itemAddCode; + data["itemUnit"] = this.itemUnit; + data["amountUnit1"] = this.amountUnit1; + data["amountUnit2"] = this.amountUnit2; + data["itemRate"] = this.itemRate; + data["itemMainCategoryCode"] = this.itemMainCategoryCode; + data["itemModel"] = this.itemModel; + data["itemMachineType"] = this.itemMachineType; + data["itemVolume"] = this.itemVolume; + data["itemModelCode"] = this.itemModelCode; + data["itemExportImport"] = this.itemExportImport; + data["itemModelGroup"] = this.itemModelGroup; + data["itemGroup"] = this.itemGroup; + data["itemGroupDesc"] = this.itemGroupDesc; + data["parseType"] = this.parseType; + data["checkStatus"] = this.checkStatus; + data["itemCheckType"] = this.itemCheckType; + data["snLength"] = this.snLength; + data["rohs"] = this.rohs; + data["shelfLife"] = this.shelfLife; + data["lotQty"] = this.lotQty; + data["cartonQty"] = this.cartonQty; + data["itemBurninQty"] = this.itemBurninQty; + data["pcbaCount"] = this.pcbaCount; + data["chkItemOp"] = this.chkItemOp; + data["isSmt"] = this.isSmt; + data["fifoRange"] = this.fifoRange; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["itemParseBarcode"] = this.itemParseBarcode ? this.itemParseBarcode.toJSON() : undefined; return data; } - clone(): GetIcsModel2EcsgForEditOutput { + clone(): IcsInventoryEditDto { const json = this.toJSON(); - let result = new GetIcsModel2EcsgForEditOutput(); + let result = new IcsInventoryEditDto(); result.init(json); return result; } } -export interface IGetIcsModel2EcsgForEditOutput { - icsModel2Ecsg: IcsModel2EcsgEditDto; +export interface IIcsInventoryEditDto { + id: number | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemDesc: string | undefined; + itemStd: string | undefined; + itemType: string | undefined; + itemDrawingNo: string | undefined; + itemControlType: string | undefined; + itemContype: string | undefined; + itemAttribute: string | undefined; + itemAddCode: string | undefined; + itemUnit: string | undefined; + amountUnit1: string | undefined; + amountUnit2: string | undefined; + itemRate: number | undefined; + itemMainCategoryCode: string | undefined; + itemModel: string | undefined; + itemMachineType: string | undefined; + itemVolume: string | undefined; + itemModelCode: string | undefined; + itemExportImport: string | undefined; + itemModelGroup: string | undefined; + itemGroup: string | undefined; + itemGroupDesc: string | undefined; + parseType: string | undefined; + checkStatus: string | undefined; + itemCheckType: string | undefined; + snLength: number | undefined; + rohs: string | undefined; + shelfLife: number | undefined; + lotQty: number | undefined; + cartonQty: number | undefined; + itemBurninQty: number | undefined; + pcbaCount: number | undefined; + chkItemOp: string | undefined; + isSmt: string | undefined; + fifoRange: number | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + itemParseBarcode: IcsItemParseBarcodeDto; } -export class GetIcsModel2SolutionForEditOutput implements IGetIcsModel2SolutionForEditOutput { - icsModel2Solution: IcsModel2SolutionEditDto; +export class IcsInventoryImportDto implements IIcsInventoryImportDto { + itemCode: string; + itemName: string; + itemDesc: string | undefined; + itemStd: string; + itemType: string | undefined; + itemControlType: string | undefined; + itemContype: string | undefined; + itemAttribute: string; + itemAddCode: string | undefined; + itemUnit: string; + amountUnit1: string | undefined; + amountUnit2: string | undefined; + itemRate: number | undefined; + itemMainCategoryCode: string | undefined; + itemModel: string | undefined; + itemMachineType: string | undefined; + itemVolume: string | undefined; + itemModelCode: string | undefined; + itemExportImport: string | undefined; + itemModelGroup: string | undefined; + itemGroup: string | undefined; + itemGroupDesc: string | undefined; + parseType: string | undefined; + checkStatus: string | undefined; + itemCheckType: string | undefined; + snLength: number | undefined; + rohs: string | undefined; + shelfLife: number | undefined; + lotQty: number | undefined; + cartonQty: number | undefined; + itemBurninQty: number | undefined; + pcbaCount: number | undefined; + chkItemOp: string | undefined; + isSmt: string | undefined; + fifoRange: number | undefined; + invVersion: number | undefined; + invBrand: number | undefined; + invIQC: string | undefined; + invFQC: string | undefined; + effectiveEnable: string | undefined; + effectiveDays: number | undefined; + overType: number | undefined; + overValue: number | undefined; + batchEnable: string | undefined; + amountEnable: string | undefined; + lotEnable: string | undefined; + printEnable: string | undefined; + whUser: string | undefined; + memo: string | undefined; - constructor(data?: IGetIcsModel2SolutionForEditOutput) { + constructor(data?: IIcsInventoryImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsModel2Solution = new IcsModel2SolutionEditDto(); - } } init(_data?: any) { if (_data) { - this.icsModel2Solution = _data["icsModel2Solution"] ? IcsModel2SolutionEditDto.fromJS(_data["icsModel2Solution"]) : new IcsModel2SolutionEditDto(); + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.itemDesc = _data["itemDesc"]; + this.itemStd = _data["itemStd"]; + this.itemType = _data["itemType"]; + this.itemControlType = _data["itemControlType"]; + this.itemContype = _data["itemContype"]; + this.itemAttribute = _data["itemAttribute"]; + this.itemAddCode = _data["itemAddCode"]; + this.itemUnit = _data["itemUnit"]; + this.amountUnit1 = _data["amountUnit1"]; + this.amountUnit2 = _data["amountUnit2"]; + this.itemRate = _data["itemRate"]; + this.itemMainCategoryCode = _data["itemMainCategoryCode"]; + this.itemModel = _data["itemModel"]; + this.itemMachineType = _data["itemMachineType"]; + this.itemVolume = _data["itemVolume"]; + this.itemModelCode = _data["itemModelCode"]; + this.itemExportImport = _data["itemExportImport"]; + this.itemModelGroup = _data["itemModelGroup"]; + this.itemGroup = _data["itemGroup"]; + this.itemGroupDesc = _data["itemGroupDesc"]; + this.parseType = _data["parseType"]; + this.checkStatus = _data["checkStatus"]; + this.itemCheckType = _data["itemCheckType"]; + this.snLength = _data["snLength"]; + this.rohs = _data["rohs"]; + this.shelfLife = _data["shelfLife"]; + this.lotQty = _data["lotQty"]; + this.cartonQty = _data["cartonQty"]; + this.itemBurninQty = _data["itemBurninQty"]; + this.pcbaCount = _data["pcbaCount"]; + this.chkItemOp = _data["chkItemOp"]; + this.isSmt = _data["isSmt"]; + this.fifoRange = _data["fifoRange"]; + this.invVersion = _data["invVersion"]; + this.invBrand = _data["invBrand"]; + this.invIQC = _data["invIQC"]; + this.invFQC = _data["invFQC"]; + this.effectiveEnable = _data["effectiveEnable"]; + this.effectiveDays = _data["effectiveDays"]; + this.overType = _data["overType"]; + this.overValue = _data["overValue"]; + this.batchEnable = _data["batchEnable"]; + this.amountEnable = _data["amountEnable"]; + this.lotEnable = _data["lotEnable"]; + this.printEnable = _data["printEnable"]; + this.whUser = _data["whUser"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetIcsModel2SolutionForEditOutput { + static fromJS(data: any): IcsInventoryImportDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsModel2SolutionForEditOutput(); + let result = new IcsInventoryImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsModel2Solution"] = this.icsModel2Solution ? this.icsModel2Solution.toJSON() : undefined; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["itemDesc"] = this.itemDesc; + data["itemStd"] = this.itemStd; + data["itemType"] = this.itemType; + data["itemControlType"] = this.itemControlType; + data["itemContype"] = this.itemContype; + data["itemAttribute"] = this.itemAttribute; + data["itemAddCode"] = this.itemAddCode; + data["itemUnit"] = this.itemUnit; + data["amountUnit1"] = this.amountUnit1; + data["amountUnit2"] = this.amountUnit2; + data["itemRate"] = this.itemRate; + data["itemMainCategoryCode"] = this.itemMainCategoryCode; + data["itemModel"] = this.itemModel; + data["itemMachineType"] = this.itemMachineType; + data["itemVolume"] = this.itemVolume; + data["itemModelCode"] = this.itemModelCode; + data["itemExportImport"] = this.itemExportImport; + data["itemModelGroup"] = this.itemModelGroup; + data["itemGroup"] = this.itemGroup; + data["itemGroupDesc"] = this.itemGroupDesc; + data["parseType"] = this.parseType; + data["checkStatus"] = this.checkStatus; + data["itemCheckType"] = this.itemCheckType; + data["snLength"] = this.snLength; + data["rohs"] = this.rohs; + data["shelfLife"] = this.shelfLife; + data["lotQty"] = this.lotQty; + data["cartonQty"] = this.cartonQty; + data["itemBurninQty"] = this.itemBurninQty; + data["pcbaCount"] = this.pcbaCount; + data["chkItemOp"] = this.chkItemOp; + data["isSmt"] = this.isSmt; + data["fifoRange"] = this.fifoRange; + data["invVersion"] = this.invVersion; + data["invBrand"] = this.invBrand; + data["invIQC"] = this.invIQC; + data["invFQC"] = this.invFQC; + data["effectiveEnable"] = this.effectiveEnable; + data["effectiveDays"] = this.effectiveDays; + data["overType"] = this.overType; + data["overValue"] = this.overValue; + data["batchEnable"] = this.batchEnable; + data["amountEnable"] = this.amountEnable; + data["lotEnable"] = this.lotEnable; + data["printEnable"] = this.printEnable; + data["whUser"] = this.whUser; + data["memo"] = this.memo; return data; } - clone(): GetIcsModel2SolutionForEditOutput { + clone(): IcsInventoryImportDto { const json = this.toJSON(); - let result = new GetIcsModel2SolutionForEditOutput(); + let result = new IcsInventoryImportDto(); result.init(json); return result; } } -export interface IGetIcsModel2SolutionForEditOutput { - icsModel2Solution: IcsModel2SolutionEditDto; +export interface IIcsInventoryImportDto { + itemCode: string; + itemName: string; + itemDesc: string | undefined; + itemStd: string; + itemType: string | undefined; + itemControlType: string | undefined; + itemContype: string | undefined; + itemAttribute: string; + itemAddCode: string | undefined; + itemUnit: string; + amountUnit1: string | undefined; + amountUnit2: string | undefined; + itemRate: number | undefined; + itemMainCategoryCode: string | undefined; + itemModel: string | undefined; + itemMachineType: string | undefined; + itemVolume: string | undefined; + itemModelCode: string | undefined; + itemExportImport: string | undefined; + itemModelGroup: string | undefined; + itemGroup: string | undefined; + itemGroupDesc: string | undefined; + parseType: string | undefined; + checkStatus: string | undefined; + itemCheckType: string | undefined; + snLength: number | undefined; + rohs: string | undefined; + shelfLife: number | undefined; + lotQty: number | undefined; + cartonQty: number | undefined; + itemBurninQty: number | undefined; + pcbaCount: number | undefined; + chkItemOp: string | undefined; + isSmt: string | undefined; + fifoRange: number | undefined; + invVersion: number | undefined; + invBrand: number | undefined; + invIQC: string | undefined; + invFQC: string | undefined; + effectiveEnable: string | undefined; + effectiveDays: number | undefined; + overType: number | undefined; + overValue: number | undefined; + batchEnable: string | undefined; + amountEnable: string | undefined; + lotEnable: string | undefined; + printEnable: string | undefined; + whUser: string | undefined; + memo: string | undefined; } -export class GetIcsNcrDocForEditOutput implements IGetIcsNcrDocForEditOutput { - icsNcrDoc: IcsNcrDocEditDto; +export class IcsInventoryListDto implements IIcsInventoryListDto { + itemCode: string | undefined; + key: string | undefined; + itemName: string | undefined; + itemDesc: string | undefined; + itemStd: string | undefined; + itemDrawingNo: string | undefined; + itemControlType: string | undefined; + itemContype: string | undefined; + itemAttribute: string | undefined; + itemType: string | undefined; + itemTypeText: string | undefined; + itemAddCode: string | undefined; + itemUnit: string | undefined; + amountUnit1: string | undefined; + amountUnit2: string | undefined; + itemMainCategoryCode: string | undefined; + itemMainCategoryName: string | undefined; + itemRate: number; + itemMachineType: string | undefined; + itemVolume: string | undefined; + itemModelCode: string | undefined; + itemExportImport: string | undefined; + itemModelGroup: string | undefined; + itemGroup: string | undefined; + itemGroupDesc: string | undefined; + parseType: string | undefined; + checkStatus: string | undefined; + itemCheckType: string | undefined; + snLength: number; + rohs: string | undefined; + shelfLife: number; + lotQty: number; + cartonQty: number; + itemBurninQty: number; + pcbaCount: number; + chkItemOp: string | undefined; + isSmt: string | undefined; + fifoRange: number; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsNcrDocForEditOutput) { + constructor(data?: IIcsInventoryListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsNcrDoc = new IcsNcrDocEditDto(); - } } init(_data?: any) { if (_data) { - this.icsNcrDoc = _data["icsNcrDoc"] ? IcsNcrDocEditDto.fromJS(_data["icsNcrDoc"]) : new IcsNcrDocEditDto(); + this.itemCode = _data["itemCode"]; + this.key = _data["key"]; + this.itemName = _data["itemName"]; + this.itemDesc = _data["itemDesc"]; + this.itemStd = _data["itemStd"]; + this.itemDrawingNo = _data["itemDrawingNo"]; + this.itemControlType = _data["itemControlType"]; + this.itemContype = _data["itemContype"]; + this.itemAttribute = _data["itemAttribute"]; + this.itemType = _data["itemType"]; + this.itemTypeText = _data["itemTypeText"]; + this.itemAddCode = _data["itemAddCode"]; + this.itemUnit = _data["itemUnit"]; + this.amountUnit1 = _data["amountUnit1"]; + this.amountUnit2 = _data["amountUnit2"]; + this.itemMainCategoryCode = _data["itemMainCategoryCode"]; + this.itemMainCategoryName = _data["itemMainCategoryName"]; + this.itemRate = _data["itemRate"]; + this.itemMachineType = _data["itemMachineType"]; + this.itemVolume = _data["itemVolume"]; + this.itemModelCode = _data["itemModelCode"]; + this.itemExportImport = _data["itemExportImport"]; + this.itemModelGroup = _data["itemModelGroup"]; + this.itemGroup = _data["itemGroup"]; + this.itemGroupDesc = _data["itemGroupDesc"]; + this.parseType = _data["parseType"]; + this.checkStatus = _data["checkStatus"]; + this.itemCheckType = _data["itemCheckType"]; + this.snLength = _data["snLength"]; + this.rohs = _data["rohs"]; + this.shelfLife = _data["shelfLife"]; + this.lotQty = _data["lotQty"]; + this.cartonQty = _data["cartonQty"]; + this.itemBurninQty = _data["itemBurninQty"]; + this.pcbaCount = _data["pcbaCount"]; + this.chkItemOp = _data["chkItemOp"]; + this.isSmt = _data["isSmt"]; + this.fifoRange = _data["fifoRange"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsNcrDocForEditOutput { + static fromJS(data: any): IcsInventoryListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsNcrDocForEditOutput(); + let result = new IcsInventoryListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsNcrDoc"] = this.icsNcrDoc ? this.icsNcrDoc.toJSON() : undefined; + data["itemCode"] = this.itemCode; + data["key"] = this.key; + data["itemName"] = this.itemName; + data["itemDesc"] = this.itemDesc; + data["itemStd"] = this.itemStd; + data["itemDrawingNo"] = this.itemDrawingNo; + data["itemControlType"] = this.itemControlType; + data["itemContype"] = this.itemContype; + data["itemAttribute"] = this.itemAttribute; + data["itemType"] = this.itemType; + data["itemTypeText"] = this.itemTypeText; + data["itemAddCode"] = this.itemAddCode; + data["itemUnit"] = this.itemUnit; + data["amountUnit1"] = this.amountUnit1; + data["amountUnit2"] = this.amountUnit2; + data["itemMainCategoryCode"] = this.itemMainCategoryCode; + data["itemMainCategoryName"] = this.itemMainCategoryName; + data["itemRate"] = this.itemRate; + data["itemMachineType"] = this.itemMachineType; + data["itemVolume"] = this.itemVolume; + data["itemModelCode"] = this.itemModelCode; + data["itemExportImport"] = this.itemExportImport; + data["itemModelGroup"] = this.itemModelGroup; + data["itemGroup"] = this.itemGroup; + data["itemGroupDesc"] = this.itemGroupDesc; + data["parseType"] = this.parseType; + data["checkStatus"] = this.checkStatus; + data["itemCheckType"] = this.itemCheckType; + data["snLength"] = this.snLength; + data["rohs"] = this.rohs; + data["shelfLife"] = this.shelfLife; + data["lotQty"] = this.lotQty; + data["cartonQty"] = this.cartonQty; + data["itemBurninQty"] = this.itemBurninQty; + data["pcbaCount"] = this.pcbaCount; + data["chkItemOp"] = this.chkItemOp; + data["isSmt"] = this.isSmt; + data["fifoRange"] = this.fifoRange; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsNcrDocForEditOutput { + clone(): IcsInventoryListDto { const json = this.toJSON(); - let result = new GetIcsNcrDocForEditOutput(); + let result = new IcsInventoryListDto(); result.init(json); return result; } } -export interface IGetIcsNcrDocForEditOutput { - icsNcrDoc: IcsNcrDocEditDto; +export interface IIcsInventoryListDto { + itemCode: string | undefined; + key: string | undefined; + itemName: string | undefined; + itemDesc: string | undefined; + itemStd: string | undefined; + itemDrawingNo: string | undefined; + itemControlType: string | undefined; + itemContype: string | undefined; + itemAttribute: string | undefined; + itemType: string | undefined; + itemTypeText: string | undefined; + itemAddCode: string | undefined; + itemUnit: string | undefined; + amountUnit1: string | undefined; + amountUnit2: string | undefined; + itemMainCategoryCode: string | undefined; + itemMainCategoryName: string | undefined; + itemRate: number; + itemMachineType: string | undefined; + itemVolume: string | undefined; + itemModelCode: string | undefined; + itemExportImport: string | undefined; + itemModelGroup: string | undefined; + itemGroup: string | undefined; + itemGroupDesc: string | undefined; + parseType: string | undefined; + checkStatus: string | undefined; + itemCheckType: string | undefined; + snLength: number; + rohs: string | undefined; + shelfLife: number; + lotQty: number; + cartonQty: number; + itemBurninQty: number; + pcbaCount: number; + chkItemOp: string | undefined; + isSmt: string | undefined; + fifoRange: number; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsOPForEditOutput implements IGetIcsOPForEditOutput { - icsOP: IcsOPEditDto; +export class IcsItem2RouteEditDto implements IIcsItem2RouteEditDto { + id: number | undefined; + itemId: number; + routeID: number; + itemCode: string; + routeCode: string; + isRef: string | undefined; + opList: IcsOPListDto[] | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetIcsOPForEditOutput) { + constructor(data?: IIcsItem2RouteEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsOP = new IcsOPEditDto(); - } } init(_data?: any) { if (_data) { - this.icsOP = _data["icsOP"] ? IcsOPEditDto.fromJS(_data["icsOP"]) : new IcsOPEditDto(); + this.id = _data["id"]; + this.itemId = _data["itemId"]; + this.routeID = _data["routeID"]; + this.itemCode = _data["itemCode"]; + this.routeCode = _data["routeCode"]; + this.isRef = _data["isRef"]; + if (Array.isArray(_data["opList"])) { + this.opList = [] as any; + for (let item of _data["opList"]) + this.opList.push(IcsOPListDto.fromJS(item)); + } + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetIcsOPForEditOutput { + static fromJS(data: any): IcsItem2RouteEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsOPForEditOutput(); + let result = new IcsItem2RouteEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsOP"] = this.icsOP ? this.icsOP.toJSON() : undefined; + data["id"] = this.id; + data["itemId"] = this.itemId; + data["routeID"] = this.routeID; + data["itemCode"] = this.itemCode; + data["routeCode"] = this.routeCode; + data["isRef"] = this.isRef; + if (Array.isArray(this.opList)) { + data["opList"] = []; + for (let item of this.opList) + data["opList"].push(item.toJSON()); + } + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetIcsOPForEditOutput { + clone(): IcsItem2RouteEditDto { const json = this.toJSON(); - let result = new GetIcsOPForEditOutput(); + let result = new IcsItem2RouteEditDto(); result.init(json); return result; } } -export interface IGetIcsOPForEditOutput { - icsOP: IcsOPEditDto; +export interface IIcsItem2RouteEditDto { + id: number | undefined; + itemId: number; + routeID: number; + itemCode: string; + routeCode: string; + isRef: string | undefined; + opList: IcsOPListDto[] | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class GetIcsOp2ResForEditOutput implements IGetIcsOp2ResForEditOutput { - icsOp2Res: IcsOp2ResEditDto; +export class IcsItem2RouteImportDto implements IIcsItem2RouteImportDto { + itemCode: string; + routeCode: string; + isRef: string | undefined; - constructor(data?: IGetIcsOp2ResForEditOutput) { + constructor(data?: IIcsItem2RouteImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsOp2Res = new IcsOp2ResEditDto(); - } } init(_data?: any) { if (_data) { - this.icsOp2Res = _data["icsOp2Res"] ? IcsOp2ResEditDto.fromJS(_data["icsOp2Res"]) : new IcsOp2ResEditDto(); + this.itemCode = _data["itemCode"]; + this.routeCode = _data["routeCode"]; + this.isRef = _data["isRef"]; } } - static fromJS(data: any): GetIcsOp2ResForEditOutput { + static fromJS(data: any): IcsItem2RouteImportDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsOp2ResForEditOutput(); + let result = new IcsItem2RouteImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsOp2Res"] = this.icsOp2Res ? this.icsOp2Res.toJSON() : undefined; + data["itemCode"] = this.itemCode; + data["routeCode"] = this.routeCode; + data["isRef"] = this.isRef; return data; } - clone(): GetIcsOp2ResForEditOutput { + clone(): IcsItem2RouteImportDto { const json = this.toJSON(); - let result = new GetIcsOp2ResForEditOutput(); + let result = new IcsItem2RouteImportDto(); result.init(json); return result; } } -export interface IGetIcsOp2ResForEditOutput { - icsOp2Res: IcsOp2ResEditDto; +export interface IIcsItem2RouteImportDto { + itemCode: string; + routeCode: string; + isRef: string | undefined; } -export class GetIcsOutSourcingOrderForEditOutput implements IGetIcsOutSourcingOrderForEditOutput { - icsOutSourcingOrder: IcsOutSourcingOrderEditDto; +export class IcsItem2RouteListDto implements IIcsItem2RouteListDto { + key: string | undefined; + itemId: number; + routeName: string | undefined; + routeID: number; + itemName: string | undefined; + itemCode: string | undefined; + routeCode: string | undefined; + isRef: string | undefined; + itemRoute2OpList: IcsItemRoute2OpListDto[] | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsOutSourcingOrderForEditOutput) { + constructor(data?: IIcsItem2RouteListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsOutSourcingOrder = new IcsOutSourcingOrderEditDto(); - } } init(_data?: any) { if (_data) { - this.icsOutSourcingOrder = _data["icsOutSourcingOrder"] ? IcsOutSourcingOrderEditDto.fromJS(_data["icsOutSourcingOrder"]) : new IcsOutSourcingOrderEditDto(); + this.key = _data["key"]; + this.itemId = _data["itemId"]; + this.routeName = _data["routeName"]; + this.routeID = _data["routeID"]; + this.itemName = _data["itemName"]; + this.itemCode = _data["itemCode"]; + this.routeCode = _data["routeCode"]; + this.isRef = _data["isRef"]; + if (Array.isArray(_data["itemRoute2OpList"])) { + this.itemRoute2OpList = [] as any; + for (let item of _data["itemRoute2OpList"]) + this.itemRoute2OpList.push(IcsItemRoute2OpListDto.fromJS(item)); + } + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsOutSourcingOrderForEditOutput { + static fromJS(data: any): IcsItem2RouteListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsOutSourcingOrderForEditOutput(); + let result = new IcsItem2RouteListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsOutSourcingOrder"] = this.icsOutSourcingOrder ? this.icsOutSourcingOrder.toJSON() : undefined; + data["key"] = this.key; + data["itemId"] = this.itemId; + data["routeName"] = this.routeName; + data["routeID"] = this.routeID; + data["itemName"] = this.itemName; + data["itemCode"] = this.itemCode; + data["routeCode"] = this.routeCode; + data["isRef"] = this.isRef; + if (Array.isArray(this.itemRoute2OpList)) { + data["itemRoute2OpList"] = []; + for (let item of this.itemRoute2OpList) + data["itemRoute2OpList"].push(item.toJSON()); + } + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsOutSourcingOrderForEditOutput { + clone(): IcsItem2RouteListDto { const json = this.toJSON(); - let result = new GetIcsOutSourcingOrderForEditOutput(); + let result = new IcsItem2RouteListDto(); result.init(json); return result; } } -export interface IGetIcsOutSourcingOrderForEditOutput { - icsOutSourcingOrder: IcsOutSourcingOrderEditDto; +export interface IIcsItem2RouteListDto { + key: string | undefined; + itemId: number; + routeName: string | undefined; + routeID: number; + itemName: string | undefined; + itemCode: string | undefined; + routeCode: string | undefined; + isRef: string | undefined; + itemRoute2OpList: IcsItemRoute2OpListDto[] | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsPartForEditOutput implements IGetIcsPartForEditOutput { - icsPart: IcsPartEditDto; +export class IcsItemLotDto implements IIcsItemLotDto { + key: string | undefined; + id: number | undefined; + barCode: string | undefined; + mCode: string | undefined; + transNo: string | undefined; + transLine: number | undefined; + vendorItemCode: string | undefined; + vendorCode: string | undefined; + vendorLotNo: string | undefined; + productDate: moment.Moment | undefined; + lotQty: number; + active: string | undefined; + exdate: moment.Moment | undefined; + printTimes: number; + lastPrintUserCode: string | undefined; + lastPrintDate: moment.Moment | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetIcsPartForEditOutput) { + constructor(data?: IIcsItemLotDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsPart = new IcsPartEditDto(); - } } init(_data?: any) { if (_data) { - this.icsPart = _data["icsPart"] ? IcsPartEditDto.fromJS(_data["icsPart"]) : new IcsPartEditDto(); + this.key = _data["key"]; + this.id = _data["id"]; + this.barCode = _data["barCode"]; + this.mCode = _data["mCode"]; + this.transNo = _data["transNo"]; + this.transLine = _data["transLine"]; + this.vendorItemCode = _data["vendorItemCode"]; + this.vendorCode = _data["vendorCode"]; + this.vendorLotNo = _data["vendorLotNo"]; + this.productDate = _data["productDate"] ? moment(_data["productDate"].toString()) : undefined; + this.lotQty = _data["lotQty"]; + this.active = _data["active"]; + this.exdate = _data["exdate"] ? moment(_data["exdate"].toString()) : undefined; + this.printTimes = _data["printTimes"]; + this.lastPrintUserCode = _data["lastPrintUserCode"]; + this.lastPrintDate = _data["lastPrintDate"] ? moment(_data["lastPrintDate"].toString()) : undefined; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetIcsPartForEditOutput { + static fromJS(data: any): IcsItemLotDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsPartForEditOutput(); + let result = new IcsItemLotDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsPart"] = this.icsPart ? this.icsPart.toJSON() : undefined; + data["key"] = this.key; + data["id"] = this.id; + data["barCode"] = this.barCode; + data["mCode"] = this.mCode; + data["transNo"] = this.transNo; + data["transLine"] = this.transLine; + data["vendorItemCode"] = this.vendorItemCode; + data["vendorCode"] = this.vendorCode; + data["vendorLotNo"] = this.vendorLotNo; + data["productDate"] = this.productDate ? this.productDate.toISOString() : undefined; + data["lotQty"] = this.lotQty; + data["active"] = this.active; + data["exdate"] = this.exdate ? this.exdate.toISOString() : undefined; + data["printTimes"] = this.printTimes; + data["lastPrintUserCode"] = this.lastPrintUserCode; + data["lastPrintDate"] = this.lastPrintDate ? this.lastPrintDate.toISOString() : undefined; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetIcsPartForEditOutput { + clone(): IcsItemLotDto { const json = this.toJSON(); - let result = new GetIcsPartForEditOutput(); + let result = new IcsItemLotDto(); result.init(json); return result; } } -export interface IGetIcsPartForEditOutput { - icsPart: IcsPartEditDto; +export interface IIcsItemLotDto { + key: string | undefined; + id: number | undefined; + barCode: string | undefined; + mCode: string | undefined; + transNo: string | undefined; + transLine: number | undefined; + vendorItemCode: string | undefined; + vendorCode: string | undefined; + vendorLotNo: string | undefined; + productDate: moment.Moment | undefined; + lotQty: number; + active: string | undefined; + exdate: moment.Moment | undefined; + printTimes: number; + lastPrintUserCode: string | undefined; + lastPrintDate: moment.Moment | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class GetIcsResForEditOutput implements IGetIcsResForEditOutput { - icsRes: IcsResEditDto; +export class IcsItemModel2CheckGroupEditDto implements IIcsItemModel2CheckGroupEditDto { + key: string | undefined; + id: number | undefined; + checkGroupID: number; + itemModelCode: string | undefined; + checkGroupCode: string | undefined; + itemModelType: string | undefined; + seq: number; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + listDtos: IcsItemModel2CheckGroupListDto[] | undefined; - constructor(data?: IGetIcsResForEditOutput) { + constructor(data?: IIcsItemModel2CheckGroupEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsRes = new IcsResEditDto(); - } } init(_data?: any) { if (_data) { - this.icsRes = _data["icsRes"] ? IcsResEditDto.fromJS(_data["icsRes"]) : new IcsResEditDto(); + this.key = _data["key"]; + this.id = _data["id"]; + this.checkGroupID = _data["checkGroupID"]; + this.itemModelCode = _data["itemModelCode"]; + this.checkGroupCode = _data["checkGroupCode"]; + this.itemModelType = _data["itemModelType"]; + this.seq = _data["seq"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + if (Array.isArray(_data["listDtos"])) { + this.listDtos = [] as any; + for (let item of _data["listDtos"]) + this.listDtos.push(IcsItemModel2CheckGroupListDto.fromJS(item)); + } } } - static fromJS(data: any): GetIcsResForEditOutput { + static fromJS(data: any): IcsItemModel2CheckGroupEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsResForEditOutput(); + let result = new IcsItemModel2CheckGroupEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsRes"] = this.icsRes ? this.icsRes.toJSON() : undefined; + data["key"] = this.key; + data["id"] = this.id; + data["checkGroupID"] = this.checkGroupID; + data["itemModelCode"] = this.itemModelCode; + data["checkGroupCode"] = this.checkGroupCode; + data["itemModelType"] = this.itemModelType; + data["seq"] = this.seq; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + if (Array.isArray(this.listDtos)) { + data["listDtos"] = []; + for (let item of this.listDtos) + data["listDtos"].push(item.toJSON()); + } return data; } - clone(): GetIcsResForEditOutput { + clone(): IcsItemModel2CheckGroupEditDto { const json = this.toJSON(); - let result = new GetIcsResForEditOutput(); + let result = new IcsItemModel2CheckGroupEditDto(); result.init(json); return result; } } -export interface IGetIcsResForEditOutput { - icsRes: IcsResEditDto; +export interface IIcsItemModel2CheckGroupEditDto { + key: string | undefined; + id: number | undefined; + checkGroupID: number; + itemModelCode: string | undefined; + checkGroupCode: string | undefined; + itemModelType: string | undefined; + seq: number; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + listDtos: IcsItemModel2CheckGroupListDto[] | undefined; } -export class GetIcsRouteForEditOutput implements IGetIcsRouteForEditOutput { - icsRoute: IcsRouteEditDto; +export class IcsItemModel2CheckGroupListDto implements IIcsItemModel2CheckGroupListDto { + key: string | undefined; + checkGroupID: number; + itemModelCode: string | undefined; + checkGroupCode: string | undefined; + checkGroupName: string | undefined; + checkGroupDesc: string | undefined; + itemModelType: string | undefined; + itemModelTypeText: string | undefined; + seq: number; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsRouteForEditOutput) { + constructor(data?: IIcsItemModel2CheckGroupListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsRoute = new IcsRouteEditDto(); - } } init(_data?: any) { if (_data) { - this.icsRoute = _data["icsRoute"] ? IcsRouteEditDto.fromJS(_data["icsRoute"]) : new IcsRouteEditDto(); + this.key = _data["key"]; + this.checkGroupID = _data["checkGroupID"]; + this.itemModelCode = _data["itemModelCode"]; + this.checkGroupCode = _data["checkGroupCode"]; + this.checkGroupName = _data["checkGroupName"]; + this.checkGroupDesc = _data["checkGroupDesc"]; + this.itemModelType = _data["itemModelType"]; + this.itemModelTypeText = _data["itemModelTypeText"]; + this.seq = _data["seq"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsRouteForEditOutput { + static fromJS(data: any): IcsItemModel2CheckGroupListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsRouteForEditOutput(); + let result = new IcsItemModel2CheckGroupListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsRoute"] = this.icsRoute ? this.icsRoute.toJSON() : undefined; + data["key"] = this.key; + data["checkGroupID"] = this.checkGroupID; + data["itemModelCode"] = this.itemModelCode; + data["checkGroupCode"] = this.checkGroupCode; + data["checkGroupName"] = this.checkGroupName; + data["checkGroupDesc"] = this.checkGroupDesc; + data["itemModelType"] = this.itemModelType; + data["itemModelTypeText"] = this.itemModelTypeText; + data["seq"] = this.seq; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsRouteForEditOutput { + clone(): IcsItemModel2CheckGroupListDto { const json = this.toJSON(); - let result = new GetIcsRouteForEditOutput(); + let result = new IcsItemModel2CheckGroupListDto(); result.init(json); return result; } } -export interface IGetIcsRouteForEditOutput { - icsRoute: IcsRouteEditDto; +export interface IIcsItemModel2CheckGroupListDto { + key: string | undefined; + checkGroupID: number; + itemModelCode: string | undefined; + checkGroupCode: string | undefined; + checkGroupName: string | undefined; + checkGroupDesc: string | undefined; + itemModelType: string | undefined; + itemModelTypeText: string | undefined; + seq: number; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsSBomForEditOutput implements IGetIcsSBomForEditOutput { - icsSBom: IcsSBomEditDto; +export class IcsItemOp2CheckItemEditDto implements IIcsItemOp2CheckItemEditDto { + key: string | undefined; + id: number | undefined; + itemId: number; + opId: number; + itemCode: string | undefined; + opCode: string | undefined; + checkItemCode: string | undefined; + checkItemStd: string | undefined; + checkItemListDtos: IcsCheckItemListDto[] | undefined; + seq: number; + unit: string | undefined; + setValueMax: string | undefined; + setValueMin: string | undefined; + exemptionValueMax: string | undefined; + exemptionValueMin: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetIcsSBomForEditOutput) { + constructor(data?: IIcsItemOp2CheckItemEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsSBom = new IcsSBomEditDto(); - } } init(_data?: any) { if (_data) { - this.icsSBom = _data["icsSBom"] ? IcsSBomEditDto.fromJS(_data["icsSBom"]) : new IcsSBomEditDto(); + this.key = _data["key"]; + this.id = _data["id"]; + this.itemId = _data["itemId"]; + this.opId = _data["opId"]; + this.itemCode = _data["itemCode"]; + this.opCode = _data["opCode"]; + this.checkItemCode = _data["checkItemCode"]; + this.checkItemStd = _data["checkItemStd"]; + if (Array.isArray(_data["checkItemListDtos"])) { + this.checkItemListDtos = [] as any; + for (let item of _data["checkItemListDtos"]) + this.checkItemListDtos.push(IcsCheckItemListDto.fromJS(item)); + } + this.seq = _data["seq"]; + this.unit = _data["unit"]; + this.setValueMax = _data["setValueMax"]; + this.setValueMin = _data["setValueMin"]; + this.exemptionValueMax = _data["exemptionValueMax"]; + this.exemptionValueMin = _data["exemptionValueMin"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetIcsSBomForEditOutput { + static fromJS(data: any): IcsItemOp2CheckItemEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsSBomForEditOutput(); + let result = new IcsItemOp2CheckItemEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsSBom"] = this.icsSBom ? this.icsSBom.toJSON() : undefined; + data["key"] = this.key; + data["id"] = this.id; + data["itemId"] = this.itemId; + data["opId"] = this.opId; + data["itemCode"] = this.itemCode; + data["opCode"] = this.opCode; + data["checkItemCode"] = this.checkItemCode; + data["checkItemStd"] = this.checkItemStd; + if (Array.isArray(this.checkItemListDtos)) { + data["checkItemListDtos"] = []; + for (let item of this.checkItemListDtos) + data["checkItemListDtos"].push(item.toJSON()); + } + data["seq"] = this.seq; + data["unit"] = this.unit; + data["setValueMax"] = this.setValueMax; + data["setValueMin"] = this.setValueMin; + data["exemptionValueMax"] = this.exemptionValueMax; + data["exemptionValueMin"] = this.exemptionValueMin; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetIcsSBomForEditOutput { + clone(): IcsItemOp2CheckItemEditDto { const json = this.toJSON(); - let result = new GetIcsSBomForEditOutput(); + let result = new IcsItemOp2CheckItemEditDto(); result.init(json); return result; } } -export interface IGetIcsSBomForEditOutput { - icsSBom: IcsSBomEditDto; +export interface IIcsItemOp2CheckItemEditDto { + key: string | undefined; + id: number | undefined; + itemId: number; + opId: number; + itemCode: string | undefined; + opCode: string | undefined; + checkItemCode: string | undefined; + checkItemStd: string | undefined; + checkItemListDtos: IcsCheckItemListDto[] | undefined; + seq: number; + unit: string | undefined; + setValueMax: string | undefined; + setValueMin: string | undefined; + exemptionValueMax: string | undefined; + exemptionValueMin: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class GetIcsSSForEditOutput implements IGetIcsSSForEditOutput { - icsSS: IcsSSEditDto; +export class IcsItemOp2CheckItemListDto implements IIcsItemOp2CheckItemListDto { + key: string | undefined; + itemId: number; + opId: number; + itemCode: string | undefined; + itemName: string | undefined; + opCode: string | undefined; + opName: string | undefined; + checkItemCode: string | undefined; + checkItemName: string | undefined; + checkItemStd: string | undefined; + seq: number; + unit: string | undefined; + setValueMax: string | undefined; + setValueMin: string | undefined; + exemptionValueMax: string | undefined; + exemptionValueMin: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsSSForEditOutput) { + constructor(data?: IIcsItemOp2CheckItemListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsSS = new IcsSSEditDto(); - } } init(_data?: any) { if (_data) { - this.icsSS = _data["icsSS"] ? IcsSSEditDto.fromJS(_data["icsSS"]) : new IcsSSEditDto(); + this.key = _data["key"]; + this.itemId = _data["itemId"]; + this.opId = _data["opId"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.checkItemCode = _data["checkItemCode"]; + this.checkItemName = _data["checkItemName"]; + this.checkItemStd = _data["checkItemStd"]; + this.seq = _data["seq"]; + this.unit = _data["unit"]; + this.setValueMax = _data["setValueMax"]; + this.setValueMin = _data["setValueMin"]; + this.exemptionValueMax = _data["exemptionValueMax"]; + this.exemptionValueMin = _data["exemptionValueMin"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsSSForEditOutput { + static fromJS(data: any): IcsItemOp2CheckItemListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsSSForEditOutput(); + let result = new IcsItemOp2CheckItemListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsSS"] = this.icsSS ? this.icsSS.toJSON() : undefined; + data["key"] = this.key; + data["itemId"] = this.itemId; + data["opId"] = this.opId; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["checkItemCode"] = this.checkItemCode; + data["checkItemName"] = this.checkItemName; + data["checkItemStd"] = this.checkItemStd; + data["seq"] = this.seq; + data["unit"] = this.unit; + data["setValueMax"] = this.setValueMax; + data["setValueMin"] = this.setValueMin; + data["exemptionValueMax"] = this.exemptionValueMax; + data["exemptionValueMin"] = this.exemptionValueMin; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsSSForEditOutput { + clone(): IcsItemOp2CheckItemListDto { const json = this.toJSON(); - let result = new GetIcsSSForEditOutput(); + let result = new IcsItemOp2CheckItemListDto(); result.init(json); return result; } } -export interface IGetIcsSSForEditOutput { - icsSS: IcsSSEditDto; +export interface IIcsItemOp2CheckItemListDto { + key: string | undefined; + itemId: number; + opId: number; + itemCode: string | undefined; + itemName: string | undefined; + opCode: string | undefined; + opName: string | undefined; + checkItemCode: string | undefined; + checkItemName: string | undefined; + checkItemStd: string | undefined; + seq: number; + unit: string | undefined; + setValueMax: string | undefined; + setValueMin: string | undefined; + exemptionValueMax: string | undefined; + exemptionValueMin: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsSegForEditOutput implements IGetIcsSegForEditOutput { - icsSeg: IcsSegEditDto; +export class IcsItemParseBarcodeDto implements IIcsItemParseBarcodeDto { + id: number | undefined; + itemId: number; + itemCode: string | undefined; + parseType: string | undefined; + itemPositionStart: number | undefined; + itemPositionEnd: number | undefined; + lotPositionStart: number | undefined; + lotPositionEnd: number | undefined; + datePositionStart: number | undefined; + datePositionEnd: number | undefined; + splitChar: string | undefined; + itemPosition: number | undefined; + lotPosition: number | undefined; + datePosition: number | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetIcsSegForEditOutput) { + constructor(data?: IIcsItemParseBarcodeDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsSeg = new IcsSegEditDto(); - } } init(_data?: any) { if (_data) { - this.icsSeg = _data["icsSeg"] ? IcsSegEditDto.fromJS(_data["icsSeg"]) : new IcsSegEditDto(); + this.id = _data["id"]; + this.itemId = _data["itemId"]; + this.itemCode = _data["itemCode"]; + this.parseType = _data["parseType"]; + this.itemPositionStart = _data["itemPositionStart"]; + this.itemPositionEnd = _data["itemPositionEnd"]; + this.lotPositionStart = _data["lotPositionStart"]; + this.lotPositionEnd = _data["lotPositionEnd"]; + this.datePositionStart = _data["datePositionStart"]; + this.datePositionEnd = _data["datePositionEnd"]; + this.splitChar = _data["splitChar"]; + this.itemPosition = _data["itemPosition"]; + this.lotPosition = _data["lotPosition"]; + this.datePosition = _data["datePosition"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetIcsSegForEditOutput { + static fromJS(data: any): IcsItemParseBarcodeDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsSegForEditOutput(); + let result = new IcsItemParseBarcodeDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsSeg"] = this.icsSeg ? this.icsSeg.toJSON() : undefined; + data["id"] = this.id; + data["itemId"] = this.itemId; + data["itemCode"] = this.itemCode; + data["parseType"] = this.parseType; + data["itemPositionStart"] = this.itemPositionStart; + data["itemPositionEnd"] = this.itemPositionEnd; + data["lotPositionStart"] = this.lotPositionStart; + data["lotPositionEnd"] = this.lotPositionEnd; + data["datePositionStart"] = this.datePositionStart; + data["datePositionEnd"] = this.datePositionEnd; + data["splitChar"] = this.splitChar; + data["itemPosition"] = this.itemPosition; + data["lotPosition"] = this.lotPosition; + data["datePosition"] = this.datePosition; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetIcsSegForEditOutput { + clone(): IcsItemParseBarcodeDto { const json = this.toJSON(); - let result = new GetIcsSegForEditOutput(); + let result = new IcsItemParseBarcodeDto(); result.init(json); return result; } } -export interface IGetIcsSegForEditOutput { - icsSeg: IcsSegEditDto; +export interface IIcsItemParseBarcodeDto { + id: number | undefined; + itemId: number; + itemCode: string | undefined; + parseType: string | undefined; + itemPositionStart: number | undefined; + itemPositionEnd: number | undefined; + lotPositionStart: number | undefined; + lotPositionEnd: number | undefined; + datePositionStart: number | undefined; + datePositionEnd: number | undefined; + splitChar: string | undefined; + itemPosition: number | undefined; + lotPosition: number | undefined; + datePosition: number | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class GetIcsShiftForEditOutput implements IGetIcsShiftForEditOutput { - icsShift: IcsShiftEditDto; +export class IcsItemRoute2OpEditDto implements IIcsItemRoute2OpEditDto { + id: number | undefined; + itemId: number; + routeId: number; + opId: number; + itemCode: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + opSeq: number; + opControl: string | undefined; + optionalOp: string | undefined; + idMergeType: string | undefined; + idMergeRule: number; + opLevel: string | undefined; + opControlSeq: number; + parallelOp: string | undefined; - constructor(data?: IGetIcsShiftForEditOutput) { + constructor(data?: IIcsItemRoute2OpEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsShift = new IcsShiftEditDto(); - } } init(_data?: any) { if (_data) { - this.icsShift = _data["icsShift"] ? IcsShiftEditDto.fromJS(_data["icsShift"]) : new IcsShiftEditDto(); + this.id = _data["id"]; + this.itemId = _data["itemId"]; + this.routeId = _data["routeId"]; + this.opId = _data["opId"]; + this.itemCode = _data["itemCode"]; + this.routeCode = _data["routeCode"]; + this.opCode = _data["opCode"]; + this.opSeq = _data["opSeq"]; + this.opControl = _data["opControl"]; + this.optionalOp = _data["optionalOp"]; + this.idMergeType = _data["idMergeType"]; + this.idMergeRule = _data["idMergeRule"]; + this.opLevel = _data["opLevel"]; + this.opControlSeq = _data["opControlSeq"]; + this.parallelOp = _data["parallelOp"]; } } - static fromJS(data: any): GetIcsShiftForEditOutput { + static fromJS(data: any): IcsItemRoute2OpEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsShiftForEditOutput(); + let result = new IcsItemRoute2OpEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsShift"] = this.icsShift ? this.icsShift.toJSON() : undefined; + data["id"] = this.id; + data["itemId"] = this.itemId; + data["routeId"] = this.routeId; + data["opId"] = this.opId; + data["itemCode"] = this.itemCode; + data["routeCode"] = this.routeCode; + data["opCode"] = this.opCode; + data["opSeq"] = this.opSeq; + data["opControl"] = this.opControl; + data["optionalOp"] = this.optionalOp; + data["idMergeType"] = this.idMergeType; + data["idMergeRule"] = this.idMergeRule; + data["opLevel"] = this.opLevel; + data["opControlSeq"] = this.opControlSeq; + data["parallelOp"] = this.parallelOp; return data; } - clone(): GetIcsShiftForEditOutput { + clone(): IcsItemRoute2OpEditDto { const json = this.toJSON(); - let result = new GetIcsShiftForEditOutput(); + let result = new IcsItemRoute2OpEditDto(); result.init(json); return result; } } -export interface IGetIcsShiftForEditOutput { - icsShift: IcsShiftEditDto; +export interface IIcsItemRoute2OpEditDto { + id: number | undefined; + itemId: number; + routeId: number; + opId: number; + itemCode: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + opSeq: number; + opControl: string | undefined; + optionalOp: string | undefined; + idMergeType: string | undefined; + idMergeRule: number; + opLevel: string | undefined; + opControlSeq: number; + parallelOp: string | undefined; } -export class GetIcsShiftTypeForEditOutput implements IGetIcsShiftTypeForEditOutput { - icsShiftType: IcsShiftTypeEditDto; +export class IcsItemRoute2OpListDto implements IIcsItemRoute2OpListDto { + key: string | undefined; + itemId: number; + routeId: number; + opId: number; + itemCode: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + opSeq: number; + opControl: string | undefined; + optionalOp: string | undefined; + idMergeType: string | undefined; + idMergeRule: number; + opLevel: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsShiftTypeForEditOutput) { + constructor(data?: IIcsItemRoute2OpListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsShiftType = new IcsShiftTypeEditDto(); - } } init(_data?: any) { if (_data) { - this.icsShiftType = _data["icsShiftType"] ? IcsShiftTypeEditDto.fromJS(_data["icsShiftType"]) : new IcsShiftTypeEditDto(); + this.key = _data["key"]; + this.itemId = _data["itemId"]; + this.routeId = _data["routeId"]; + this.opId = _data["opId"]; + this.itemCode = _data["itemCode"]; + this.routeCode = _data["routeCode"]; + this.opCode = _data["opCode"]; + this.opSeq = _data["opSeq"]; + this.opControl = _data["opControl"]; + this.optionalOp = _data["optionalOp"]; + this.idMergeType = _data["idMergeType"]; + this.idMergeRule = _data["idMergeRule"]; + this.opLevel = _data["opLevel"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsShiftTypeForEditOutput { + static fromJS(data: any): IcsItemRoute2OpListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsShiftTypeForEditOutput(); + let result = new IcsItemRoute2OpListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsShiftType"] = this.icsShiftType ? this.icsShiftType.toJSON() : undefined; + data["key"] = this.key; + data["itemId"] = this.itemId; + data["routeId"] = this.routeId; + data["opId"] = this.opId; + data["itemCode"] = this.itemCode; + data["routeCode"] = this.routeCode; + data["opCode"] = this.opCode; + data["opSeq"] = this.opSeq; + data["opControl"] = this.opControl; + data["optionalOp"] = this.optionalOp; + data["idMergeType"] = this.idMergeType; + data["idMergeRule"] = this.idMergeRule; + data["opLevel"] = this.opLevel; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsShiftTypeForEditOutput { + clone(): IcsItemRoute2OpListDto { const json = this.toJSON(); - let result = new GetIcsShiftTypeForEditOutput(); + let result = new IcsItemRoute2OpListDto(); result.init(json); return result; } } -export interface IGetIcsShiftTypeForEditOutput { - icsShiftType: IcsShiftTypeEditDto; +export interface IIcsItemRoute2OpListDto { + key: string | undefined; + itemId: number; + routeId: number; + opId: number; + itemCode: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + opSeq: number; + opControl: string | undefined; + optionalOp: string | undefined; + idMergeType: string | undefined; + idMergeRule: number; + opLevel: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsSolutionForEditOutput implements IGetIcsSolutionForEditOutput { - icsSolution: IcsSolutionEditDto; +export class IcsItemStd2RouteEditDto implements IIcsItemStd2RouteEditDto { + key: string | undefined; + id: number | undefined; + routeId: number; + routeCode: string | undefined; + itemStd: string | undefined; + memo: string | undefined; + opList: IcsOPListDto[] | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + parameter1: string | undefined; + parameter2: string | undefined; + parameter3: string | undefined; + parameter4: string | undefined; + parameter5: string | undefined; + parameter6: string | undefined; + parameter7: string | undefined; + parameter8: string | undefined; + parameter9: string | undefined; + parameter10: string | undefined; + parameter11: string | undefined; + parameter12: string | undefined; + parameter13: string | undefined; + parameter14: string | undefined; + parameter15: string | undefined; + parameter16: string | undefined; + parameter17: string | undefined; + parameter18: string | undefined; + parameter19: string | undefined; + parameter20: string | undefined; + parameter21: string | undefined; + parameter22: string | undefined; + parameter23: string | undefined; + parameter24: string | undefined; + parameter25: string | undefined; + parameter26: string | undefined; + parameter27: string | undefined; + parameter28: string | undefined; + parameter29: string | undefined; + parameter30: string | undefined; - constructor(data?: IGetIcsSolutionForEditOutput) { + constructor(data?: IIcsItemStd2RouteEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsSolution = new IcsSolutionEditDto(); - } } init(_data?: any) { if (_data) { - this.icsSolution = _data["icsSolution"] ? IcsSolutionEditDto.fromJS(_data["icsSolution"]) : new IcsSolutionEditDto(); + this.key = _data["key"]; + this.id = _data["id"]; + this.routeId = _data["routeId"]; + this.routeCode = _data["routeCode"]; + this.itemStd = _data["itemStd"]; + this.memo = _data["memo"]; + if (Array.isArray(_data["opList"])) { + this.opList = [] as any; + for (let item of _data["opList"]) + this.opList.push(IcsOPListDto.fromJS(item)); + } + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.parameter1 = _data["parameter1"]; + this.parameter2 = _data["parameter2"]; + this.parameter3 = _data["parameter3"]; + this.parameter4 = _data["parameter4"]; + this.parameter5 = _data["parameter5"]; + this.parameter6 = _data["parameter6"]; + this.parameter7 = _data["parameter7"]; + this.parameter8 = _data["parameter8"]; + this.parameter9 = _data["parameter9"]; + this.parameter10 = _data["parameter10"]; + this.parameter11 = _data["parameter11"]; + this.parameter12 = _data["parameter12"]; + this.parameter13 = _data["parameter13"]; + this.parameter14 = _data["parameter14"]; + this.parameter15 = _data["parameter15"]; + this.parameter16 = _data["parameter16"]; + this.parameter17 = _data["parameter17"]; + this.parameter18 = _data["parameter18"]; + this.parameter19 = _data["parameter19"]; + this.parameter20 = _data["parameter20"]; + this.parameter21 = _data["parameter21"]; + this.parameter22 = _data["parameter22"]; + this.parameter23 = _data["parameter23"]; + this.parameter24 = _data["parameter24"]; + this.parameter25 = _data["parameter25"]; + this.parameter26 = _data["parameter26"]; + this.parameter27 = _data["parameter27"]; + this.parameter28 = _data["parameter28"]; + this.parameter29 = _data["parameter29"]; + this.parameter30 = _data["parameter30"]; } } - static fromJS(data: any): GetIcsSolutionForEditOutput { + static fromJS(data: any): IcsItemStd2RouteEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsSolutionForEditOutput(); + let result = new IcsItemStd2RouteEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsSolution"] = this.icsSolution ? this.icsSolution.toJSON() : undefined; + data["key"] = this.key; + data["id"] = this.id; + data["routeId"] = this.routeId; + data["routeCode"] = this.routeCode; + data["itemStd"] = this.itemStd; + data["memo"] = this.memo; + if (Array.isArray(this.opList)) { + data["opList"] = []; + for (let item of this.opList) + data["opList"].push(item.toJSON()); + } + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["parameter1"] = this.parameter1; + data["parameter2"] = this.parameter2; + data["parameter3"] = this.parameter3; + data["parameter4"] = this.parameter4; + data["parameter5"] = this.parameter5; + data["parameter6"] = this.parameter6; + data["parameter7"] = this.parameter7; + data["parameter8"] = this.parameter8; + data["parameter9"] = this.parameter9; + data["parameter10"] = this.parameter10; + data["parameter11"] = this.parameter11; + data["parameter12"] = this.parameter12; + data["parameter13"] = this.parameter13; + data["parameter14"] = this.parameter14; + data["parameter15"] = this.parameter15; + data["parameter16"] = this.parameter16; + data["parameter17"] = this.parameter17; + data["parameter18"] = this.parameter18; + data["parameter19"] = this.parameter19; + data["parameter20"] = this.parameter20; + data["parameter21"] = this.parameter21; + data["parameter22"] = this.parameter22; + data["parameter23"] = this.parameter23; + data["parameter24"] = this.parameter24; + data["parameter25"] = this.parameter25; + data["parameter26"] = this.parameter26; + data["parameter27"] = this.parameter27; + data["parameter28"] = this.parameter28; + data["parameter29"] = this.parameter29; + data["parameter30"] = this.parameter30; return data; } - clone(): GetIcsSolutionForEditOutput { + clone(): IcsItemStd2RouteEditDto { const json = this.toJSON(); - let result = new GetIcsSolutionForEditOutput(); + let result = new IcsItemStd2RouteEditDto(); result.init(json); return result; } } -export interface IGetIcsSolutionForEditOutput { - icsSolution: IcsSolutionEditDto; +export interface IIcsItemStd2RouteEditDto { + key: string | undefined; + id: number | undefined; + routeId: number; + routeCode: string | undefined; + itemStd: string | undefined; + memo: string | undefined; + opList: IcsOPListDto[] | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + parameter1: string | undefined; + parameter2: string | undefined; + parameter3: string | undefined; + parameter4: string | undefined; + parameter5: string | undefined; + parameter6: string | undefined; + parameter7: string | undefined; + parameter8: string | undefined; + parameter9: string | undefined; + parameter10: string | undefined; + parameter11: string | undefined; + parameter12: string | undefined; + parameter13: string | undefined; + parameter14: string | undefined; + parameter15: string | undefined; + parameter16: string | undefined; + parameter17: string | undefined; + parameter18: string | undefined; + parameter19: string | undefined; + parameter20: string | undefined; + parameter21: string | undefined; + parameter22: string | undefined; + parameter23: string | undefined; + parameter24: string | undefined; + parameter25: string | undefined; + parameter26: string | undefined; + parameter27: string | undefined; + parameter28: string | undefined; + parameter29: string | undefined; + parameter30: string | undefined; } -export class GetIcsStandardWhoursForEditOutput implements IGetIcsStandardWhoursForEditOutput { - icsStandardWhours: IcsStandardWhoursEditDto; +export class IcsItemStd2RouteImportDto implements IIcsItemStd2RouteImportDto { + itemStd: string; + routeCode: string; - constructor(data?: IGetIcsStandardWhoursForEditOutput) { + constructor(data?: IIcsItemStd2RouteImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsStandardWhours = new IcsStandardWhoursEditDto(); - } } init(_data?: any) { if (_data) { - this.icsStandardWhours = _data["icsStandardWhours"] ? IcsStandardWhoursEditDto.fromJS(_data["icsStandardWhours"]) : new IcsStandardWhoursEditDto(); + this.itemStd = _data["itemStd"]; + this.routeCode = _data["routeCode"]; } } - static fromJS(data: any): GetIcsStandardWhoursForEditOutput { + static fromJS(data: any): IcsItemStd2RouteImportDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsStandardWhoursForEditOutput(); + let result = new IcsItemStd2RouteImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsStandardWhours"] = this.icsStandardWhours ? this.icsStandardWhours.toJSON() : undefined; + data["itemStd"] = this.itemStd; + data["routeCode"] = this.routeCode; return data; } - clone(): GetIcsStandardWhoursForEditOutput { + clone(): IcsItemStd2RouteImportDto { const json = this.toJSON(); - let result = new GetIcsStandardWhoursForEditOutput(); + let result = new IcsItemStd2RouteImportDto(); result.init(json); return result; } } -export interface IGetIcsStandardWhoursForEditOutput { - icsStandardWhours: IcsStandardWhoursEditDto; +export interface IIcsItemStd2RouteImportDto { + itemStd: string; + routeCode: string; } -export class GetIcsTpForEditOutput implements IGetIcsTpForEditOutput { - icsTp: IcsTpEditDto; +export class IcsItemStd2RouteListDto implements IIcsItemStd2RouteListDto { + key: string | undefined; + routeId: number; + itemStd: string | undefined; + routeCode: string | undefined; + routeName: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsTpForEditOutput) { + constructor(data?: IIcsItemStd2RouteListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsTp = new IcsTpEditDto(); - } } init(_data?: any) { if (_data) { - this.icsTp = _data["icsTp"] ? IcsTpEditDto.fromJS(_data["icsTp"]) : new IcsTpEditDto(); + this.key = _data["key"]; + this.routeId = _data["routeId"]; + this.itemStd = _data["itemStd"]; + this.routeCode = _data["routeCode"]; + this.routeName = _data["routeName"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsTpForEditOutput { + static fromJS(data: any): IcsItemStd2RouteListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsTpForEditOutput(); + let result = new IcsItemStd2RouteListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsTp"] = this.icsTp ? this.icsTp.toJSON() : undefined; + data["key"] = this.key; + data["routeId"] = this.routeId; + data["itemStd"] = this.itemStd; + data["routeCode"] = this.routeCode; + data["routeName"] = this.routeName; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsTpForEditOutput { + clone(): IcsItemStd2RouteListDto { const json = this.toJSON(); - let result = new GetIcsTpForEditOutput(); + let result = new IcsItemStd2RouteListDto(); result.init(json); return result; } } -export interface IGetIcsTpForEditOutput { - icsTp: IcsTpEditDto; +export interface IIcsItemStd2RouteListDto { + key: string | undefined; + routeId: number; + itemStd: string | undefined; + routeCode: string | undefined; + routeName: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsTsErrorCauseForEditOutput implements IGetIcsTsErrorCauseForEditOutput { - icsTsErrorCause: IcsTsErrorCauseEditDto; +export class IcsItemStdRoute2OpListDto implements IIcsItemStdRoute2OpListDto { + key: string | undefined; + itemStd: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + opSeq: boolean; + opControl: string | undefined; + opTionalOp: string | undefined; + idmergeType: string | undefined; + idmergeRule: number; + opLevel: string | undefined; + parallelOp: string | undefined; + opControlSeq: number; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetIcsTsErrorCauseForEditOutput) { + constructor(data?: IIcsItemStdRoute2OpListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsTsErrorCause = new IcsTsErrorCauseEditDto(); - } } init(_data?: any) { if (_data) { - this.icsTsErrorCause = _data["icsTsErrorCause"] ? IcsTsErrorCauseEditDto.fromJS(_data["icsTsErrorCause"]) : new IcsTsErrorCauseEditDto(); + this.key = _data["key"]; + this.itemStd = _data["itemStd"]; + this.routeCode = _data["routeCode"]; + this.opCode = _data["opCode"]; + this.opSeq = _data["opSeq"]; + this.opControl = _data["opControl"]; + this.opTionalOp = _data["opTionalOp"]; + this.idmergeType = _data["idmergeType"]; + this.idmergeRule = _data["idmergeRule"]; + this.opLevel = _data["opLevel"]; + this.parallelOp = _data["parallelOp"]; + this.opControlSeq = _data["opControlSeq"]; + this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetIcsTsErrorCauseForEditOutput { + static fromJS(data: any): IcsItemStdRoute2OpListDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsTsErrorCauseForEditOutput(); + let result = new IcsItemStdRoute2OpListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsTsErrorCause"] = this.icsTsErrorCause ? this.icsTsErrorCause.toJSON() : undefined; + data["key"] = this.key; + data["itemStd"] = this.itemStd; + data["routeCode"] = this.routeCode; + data["opCode"] = this.opCode; + data["opSeq"] = this.opSeq; + data["opControl"] = this.opControl; + data["opTionalOp"] = this.opTionalOp; + data["idmergeType"] = this.idmergeType; + data["idmergeRule"] = this.idmergeRule; + data["opLevel"] = this.opLevel; + data["parallelOp"] = this.parallelOp; + data["opControlSeq"] = this.opControlSeq; + data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetIcsTsErrorCauseForEditOutput { + clone(): IcsItemStdRoute2OpListDto { const json = this.toJSON(); - let result = new GetIcsTsErrorCauseForEditOutput(); + let result = new IcsItemStdRoute2OpListDto(); result.init(json); return result; } } -export interface IGetIcsTsErrorCauseForEditOutput { - icsTsErrorCause: IcsTsErrorCauseEditDto; +export interface IIcsItemStdRoute2OpListDto { + key: string | undefined; + itemStd: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + opSeq: boolean; + opControl: string | undefined; + opTionalOp: string | undefined; + idmergeType: string | undefined; + idmergeRule: number; + opLevel: string | undefined; + parallelOp: string | undefined; + opControlSeq: number; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetIcsTsErrorCodeForEditOutput implements IGetIcsTsErrorCodeForEditOutput { - icsTsErrorCode: IcsTsErrorCodeEditDto; +export class IcsLotCheckResultDto implements IIcsLotCheckResultDto { + id: number | undefined; + lotMidCheckId: number | undefined; + key: string | undefined; + userCode: string | undefined; + userName: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemDesc: string | undefined; + luNo: string | undefined; + lotNo: string | undefined; + lotQty: number; + lotSeq: number; + drawQty: number; + hasCheckQty: number; + ngQty: number; + checkType: string | undefined; + checkClass: string | undefined; + srcDocNo: string | undefined; + srcDocLineNo: number; + seq: number; + checkResult: string | undefined; + checkUserId: string | undefined; + checkUserName: string | undefined; + checkTime: moment.Moment; + opCode: string | undefined; + opName: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + checkItemList1: IcsLotTestDataDto[] | undefined; + checkItemList2: IcsLotTestDataDto[] | undefined; - constructor(data?: IGetIcsTsErrorCodeForEditOutput) { + constructor(data?: IIcsLotCheckResultDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsTsErrorCode = new IcsTsErrorCodeEditDto(); - } } init(_data?: any) { if (_data) { - this.icsTsErrorCode = _data["icsTsErrorCode"] ? IcsTsErrorCodeEditDto.fromJS(_data["icsTsErrorCode"]) : new IcsTsErrorCodeEditDto(); + this.id = _data["id"]; + this.lotMidCheckId = _data["lotMidCheckId"]; + this.key = _data["key"]; + this.userCode = _data["userCode"]; + this.userName = _data["userName"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.itemDesc = _data["itemDesc"]; + this.luNo = _data["luNo"]; + this.lotNo = _data["lotNo"]; + this.lotQty = _data["lotQty"]; + this.lotSeq = _data["lotSeq"]; + this.drawQty = _data["drawQty"]; + this.hasCheckQty = _data["hasCheckQty"]; + this.ngQty = _data["ngQty"]; + this.checkType = _data["checkType"]; + this.checkClass = _data["checkClass"]; + this.srcDocNo = _data["srcDocNo"]; + this.srcDocLineNo = _data["srcDocLineNo"]; + this.seq = _data["seq"]; + this.checkResult = _data["checkResult"]; + this.checkUserId = _data["checkUserId"]; + this.checkUserName = _data["checkUserName"]; + this.checkTime = _data["checkTime"] ? moment(_data["checkTime"].toString()) : undefined; + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + if (Array.isArray(_data["checkItemList1"])) { + this.checkItemList1 = [] as any; + for (let item of _data["checkItemList1"]) + this.checkItemList1.push(IcsLotTestDataDto.fromJS(item)); + } + if (Array.isArray(_data["checkItemList2"])) { + this.checkItemList2 = [] as any; + for (let item of _data["checkItemList2"]) + this.checkItemList2.push(IcsLotTestDataDto.fromJS(item)); + } } } - static fromJS(data: any): GetIcsTsErrorCodeForEditOutput { + static fromJS(data: any): IcsLotCheckResultDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsTsErrorCodeForEditOutput(); + let result = new IcsLotCheckResultDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsTsErrorCode"] = this.icsTsErrorCode ? this.icsTsErrorCode.toJSON() : undefined; + data["id"] = this.id; + data["lotMidCheckId"] = this.lotMidCheckId; + data["key"] = this.key; + data["userCode"] = this.userCode; + data["userName"] = this.userName; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["itemDesc"] = this.itemDesc; + data["luNo"] = this.luNo; + data["lotNo"] = this.lotNo; + data["lotQty"] = this.lotQty; + data["lotSeq"] = this.lotSeq; + data["drawQty"] = this.drawQty; + data["hasCheckQty"] = this.hasCheckQty; + data["ngQty"] = this.ngQty; + data["checkType"] = this.checkType; + data["checkClass"] = this.checkClass; + data["srcDocNo"] = this.srcDocNo; + data["srcDocLineNo"] = this.srcDocLineNo; + data["seq"] = this.seq; + data["checkResult"] = this.checkResult; + data["checkUserId"] = this.checkUserId; + data["checkUserName"] = this.checkUserName; + data["checkTime"] = this.checkTime ? this.checkTime.toISOString() : undefined; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + if (Array.isArray(this.checkItemList1)) { + data["checkItemList1"] = []; + for (let item of this.checkItemList1) + data["checkItemList1"].push(item.toJSON()); + } + if (Array.isArray(this.checkItemList2)) { + data["checkItemList2"] = []; + for (let item of this.checkItemList2) + data["checkItemList2"].push(item.toJSON()); + } return data; } - clone(): GetIcsTsErrorCodeForEditOutput { + clone(): IcsLotCheckResultDto { const json = this.toJSON(); - let result = new GetIcsTsErrorCodeForEditOutput(); + let result = new IcsLotCheckResultDto(); result.init(json); return result; } } -export interface IGetIcsTsErrorCodeForEditOutput { - icsTsErrorCode: IcsTsErrorCodeEditDto; +export interface IIcsLotCheckResultDto { + id: number | undefined; + lotMidCheckId: number | undefined; + key: string | undefined; + userCode: string | undefined; + userName: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemDesc: string | undefined; + luNo: string | undefined; + lotNo: string | undefined; + lotQty: number; + lotSeq: number; + drawQty: number; + hasCheckQty: number; + ngQty: number; + checkType: string | undefined; + checkClass: string | undefined; + srcDocNo: string | undefined; + srcDocLineNo: number; + seq: number; + checkResult: string | undefined; + checkUserId: string | undefined; + checkUserName: string | undefined; + checkTime: moment.Moment; + opCode: string | undefined; + opName: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + checkItemList1: IcsLotTestDataDto[] | undefined; + checkItemList2: IcsLotTestDataDto[] | undefined; } -export class GetIcsTsForEditOutput implements IGetIcsTsForEditOutput { - icsTs: IcsTsEditDto; +export class IcsLotNoSplitLogDto implements IIcsLotNoSplitLogDto { + key: string | undefined; + id: number; + moID: number; + moCode: string | undefined; + moSeq: number; + lotNo: string | undefined; + lotSeq: number; + lotQty: number; + newLotNo: string | undefined; + newLotSeq: number; + newLotQty: number; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; - constructor(data?: IGetIcsTsForEditOutput) { + constructor(data?: IIcsLotNoSplitLogDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsTs = new IcsTsEditDto(); - } } init(_data?: any) { if (_data) { - this.icsTs = _data["icsTs"] ? IcsTsEditDto.fromJS(_data["icsTs"]) : new IcsTsEditDto(); + this.key = _data["key"]; + this.id = _data["id"]; + this.moID = _data["moID"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.lotNo = _data["lotNo"]; + this.lotSeq = _data["lotSeq"]; + this.lotQty = _data["lotQty"]; + this.newLotNo = _data["newLotNo"]; + this.newLotSeq = _data["newLotSeq"]; + this.newLotQty = _data["newLotQty"]; + this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; } } - static fromJS(data: any): GetIcsTsForEditOutput { + static fromJS(data: any): IcsLotNoSplitLogDto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsTsForEditOutput(); + let result = new IcsLotNoSplitLogDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsTs"] = this.icsTs ? this.icsTs.toJSON() : undefined; + data["key"] = this.key; + data["id"] = this.id; + data["moID"] = this.moID; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["lotNo"] = this.lotNo; + data["lotSeq"] = this.lotSeq; + data["lotQty"] = this.lotQty; + data["newLotNo"] = this.newLotNo; + data["newLotSeq"] = this.newLotSeq; + data["newLotQty"] = this.newLotQty; + data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; return data; } - clone(): GetIcsTsForEditOutput { + clone(): IcsLotNoSplitLogDto { const json = this.toJSON(); - let result = new GetIcsTsForEditOutput(); + let result = new IcsLotNoSplitLogDto(); result.init(json); return result; } } -export interface IGetIcsTsForEditOutput { - icsTs: IcsTsEditDto; +export interface IIcsLotNoSplitLogDto { + key: string | undefined; + id: number; + moID: number; + moCode: string | undefined; + moSeq: number; + lotNo: string | undefined; + lotSeq: number; + lotQty: number; + newLotNo: string | undefined; + newLotSeq: number; + newLotQty: number; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; } -export class GetIcsUser2OpForEditOutput implements IGetIcsUser2OpForEditOutput { - icsUser2Op: IcsUser2OpEditDto; +export class IcsLotOnWip2Dto implements IIcsLotOnWip2Dto { + key: string | undefined; + id: number; + isCom: string | undefined; + lotNo: string | undefined; + lotQty: number; + lotStatus: string | undefined; + lotSeq: number; + moCode: string | undefined; + moDesc: string | undefined; + moSeq: number; + collectForm: string | undefined; + modelCode: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemDesc: string | undefined; + routeCode: string | undefined; + routeName: string | undefined; + routeDesc: string | undefined; + opCode: string | undefined; + opDesc: string | undefined; + opSeq: number; + opName: string | undefined; + isHold: string | undefined; + shelfNo: string | undefined; + collectStatus: string | undefined; + nextOpCode: string | undefined; + nextOpDesc: string | undefined; + eqpCode: string | undefined; + deptNo: string | undefined; - constructor(data?: IGetIcsUser2OpForEditOutput) { + constructor(data?: IIcsLotOnWip2Dto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.icsUser2Op = new IcsUser2OpEditDto(); - } } init(_data?: any) { if (_data) { - this.icsUser2Op = _data["icsUser2Op"] ? IcsUser2OpEditDto.fromJS(_data["icsUser2Op"]) : new IcsUser2OpEditDto(); + this.key = _data["key"]; + this.id = _data["id"]; + this.isCom = _data["isCom"]; + this.lotNo = _data["lotNo"]; + this.lotQty = _data["lotQty"]; + this.lotStatus = _data["lotStatus"]; + this.lotSeq = _data["lotSeq"]; + this.moCode = _data["moCode"]; + this.moDesc = _data["moDesc"]; + this.moSeq = _data["moSeq"]; + this.collectForm = _data["collectForm"]; + this.modelCode = _data["modelCode"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.itemDesc = _data["itemDesc"]; + this.routeCode = _data["routeCode"]; + this.routeName = _data["routeName"]; + this.routeDesc = _data["routeDesc"]; + this.opCode = _data["opCode"]; + this.opDesc = _data["opDesc"]; + this.opSeq = _data["opSeq"]; + this.opName = _data["opName"]; + this.isHold = _data["isHold"]; + this.shelfNo = _data["shelfNo"]; + this.collectStatus = _data["collectStatus"]; + this.nextOpCode = _data["nextOpCode"]; + this.nextOpDesc = _data["nextOpDesc"]; + this.eqpCode = _data["eqpCode"]; + this.deptNo = _data["deptNo"]; } } - static fromJS(data: any): GetIcsUser2OpForEditOutput { + static fromJS(data: any): IcsLotOnWip2Dto { data = typeof data === 'object' ? data : {}; - let result = new GetIcsUser2OpForEditOutput(); + let result = new IcsLotOnWip2Dto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["icsUser2Op"] = this.icsUser2Op ? this.icsUser2Op.toJSON() : undefined; + data["key"] = this.key; + data["id"] = this.id; + data["isCom"] = this.isCom; + data["lotNo"] = this.lotNo; + data["lotQty"] = this.lotQty; + data["lotStatus"] = this.lotStatus; + data["lotSeq"] = this.lotSeq; + data["moCode"] = this.moCode; + data["moDesc"] = this.moDesc; + data["moSeq"] = this.moSeq; + data["collectForm"] = this.collectForm; + data["modelCode"] = this.modelCode; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["itemDesc"] = this.itemDesc; + data["routeCode"] = this.routeCode; + data["routeName"] = this.routeName; + data["routeDesc"] = this.routeDesc; + data["opCode"] = this.opCode; + data["opDesc"] = this.opDesc; + data["opSeq"] = this.opSeq; + data["opName"] = this.opName; + data["isHold"] = this.isHold; + data["shelfNo"] = this.shelfNo; + data["collectStatus"] = this.collectStatus; + data["nextOpCode"] = this.nextOpCode; + data["nextOpDesc"] = this.nextOpDesc; + data["eqpCode"] = this.eqpCode; + data["deptNo"] = this.deptNo; return data; } - clone(): GetIcsUser2OpForEditOutput { + clone(): IcsLotOnWip2Dto { const json = this.toJSON(); - let result = new GetIcsUser2OpForEditOutput(); + let result = new IcsLotOnWip2Dto(); result.init(json); return result; } } -export interface IGetIcsUser2OpForEditOutput { - icsUser2Op: IcsUser2OpEditDto; +export interface IIcsLotOnWip2Dto { + key: string | undefined; + id: number; + isCom: string | undefined; + lotNo: string | undefined; + lotQty: number; + lotStatus: string | undefined; + lotSeq: number; + moCode: string | undefined; + moDesc: string | undefined; + moSeq: number; + collectForm: string | undefined; + modelCode: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemDesc: string | undefined; + routeCode: string | undefined; + routeName: string | undefined; + routeDesc: string | undefined; + opCode: string | undefined; + opDesc: string | undefined; + opSeq: number; + opName: string | undefined; + isHold: string | undefined; + shelfNo: string | undefined; + collectStatus: string | undefined; + nextOpCode: string | undefined; + nextOpDesc: string | undefined; + eqpCode: string | undefined; + deptNo: string | undefined; } -/** 获取图像文本素材 */ -export class GetImageTextMaterialsInput implements IGetImageTextMaterialsInput { - /** 应用Id */ - appId: string; - maxResultCount: number; - skipCount: number; +export class IcsLotOnWipDto implements IIcsLotOnWipDto { + key: string | undefined; + id: number | undefined; + onWipID: number | undefined; + onWipDetailID: number | undefined; + isCom: string | undefined; + lotNo: string | undefined; + lotStatus: string | undefined; + lotSeq: number; + moCode: string | undefined; + moSeq: number; + tLotNo: string | undefined; + tLotSeq: number | undefined; + sLotNo: string | undefined; + sLotSeq: number | undefined; + seq: number | undefined; + collectForm: string | undefined; + modelCode: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemDesc: string | undefined; + barCode: string | undefined; + feedMessage: string | undefined; + itemControlType: string | undefined; + isNeedFeed: boolean; + serialCodeCompare: boolean; + lotQty: number; + collectQty: number; + isDisabledEditQty: boolean; + leftCollectQty: number; + goodQty: number; + ngQty: number; + routeCode: string | undefined; + routeName: string | undefined; + resCode: string | undefined; + resName: string | undefined; + opCode: string | undefined; + opSeq: number; + opName: string | undefined; + segCode: string | undefined; + ssCode: string | undefined; + crewCode: string | undefined; + mcCode: string | undefined; + mcName: string | undefined; + ssName: string | undefined; + eqpCode: string | undefined; + eqpName: string | undefined; + dispatchEqpCode: string | undefined; + dispatchEqpName: string | undefined; + action: string | undefined; + actionResult: string | undefined; + ngTimes: number | undefined; + collectStatus: string | undefined; + shelfNo: string | undefined; + rmaBillCode: string | undefined; + processed: string | undefined; + userCode: string | undefined; + userName: string | undefined; + needFirstCheck: boolean; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + createCompRptMsg: string | undefined; + testDataList: IcsLotTestDataDto[] | undefined; + checkItemList: IcsLotTestDataDto[] | undefined; + opBomDetailListDtos: IcsOPBomDetailListDto[] | undefined; - constructor(data?: IGetImageTextMaterialsInput) { + constructor(data?: IIcsLotOnWipDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -63932,107 +101602,329 @@ export class GetImageTextMaterialsInput implements IGetImageTextMaterialsInput { init(_data?: any) { if (_data) { - this.appId = _data["appId"]; - this.maxResultCount = _data["maxResultCount"]; - this.skipCount = _data["skipCount"]; + this.key = _data["key"]; + this.id = _data["id"]; + this.onWipID = _data["onWipID"]; + this.onWipDetailID = _data["onWipDetailID"]; + this.isCom = _data["isCom"]; + this.lotNo = _data["lotNo"]; + this.lotStatus = _data["lotStatus"]; + this.lotSeq = _data["lotSeq"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.tLotNo = _data["tLotNo"]; + this.tLotSeq = _data["tLotSeq"]; + this.sLotNo = _data["sLotNo"]; + this.sLotSeq = _data["sLotSeq"]; + this.seq = _data["seq"]; + this.collectForm = _data["collectForm"]; + this.modelCode = _data["modelCode"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.itemDesc = _data["itemDesc"]; + this.barCode = _data["barCode"]; + this.feedMessage = _data["feedMessage"]; + this.itemControlType = _data["itemControlType"]; + this.isNeedFeed = _data["isNeedFeed"]; + this.serialCodeCompare = _data["serialCodeCompare"]; + this.lotQty = _data["lotQty"]; + this.collectQty = _data["collectQty"]; + this.isDisabledEditQty = _data["isDisabledEditQty"]; + this.leftCollectQty = _data["leftCollectQty"]; + this.goodQty = _data["goodQty"]; + this.ngQty = _data["ngQty"]; + this.routeCode = _data["routeCode"]; + this.routeName = _data["routeName"]; + this.resCode = _data["resCode"]; + this.resName = _data["resName"]; + this.opCode = _data["opCode"]; + this.opSeq = _data["opSeq"]; + this.opName = _data["opName"]; + this.segCode = _data["segCode"]; + this.ssCode = _data["ssCode"]; + this.crewCode = _data["crewCode"]; + this.mcCode = _data["mcCode"]; + this.mcName = _data["mcName"]; + this.ssName = _data["ssName"]; + this.eqpCode = _data["eqpCode"]; + this.eqpName = _data["eqpName"]; + this.dispatchEqpCode = _data["dispatchEqpCode"]; + this.dispatchEqpName = _data["dispatchEqpName"]; + this.action = _data["action"]; + this.actionResult = _data["actionResult"]; + this.ngTimes = _data["ngTimes"]; + this.collectStatus = _data["collectStatus"]; + this.shelfNo = _data["shelfNo"]; + this.rmaBillCode = _data["rmaBillCode"]; + this.processed = _data["processed"]; + this.userCode = _data["userCode"]; + this.userName = _data["userName"]; + this.needFirstCheck = _data["needFirstCheck"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.createCompRptMsg = _data["createCompRptMsg"]; + if (Array.isArray(_data["testDataList"])) { + this.testDataList = [] as any; + for (let item of _data["testDataList"]) + this.testDataList.push(IcsLotTestDataDto.fromJS(item)); + } + if (Array.isArray(_data["checkItemList"])) { + this.checkItemList = [] as any; + for (let item of _data["checkItemList"]) + this.checkItemList.push(IcsLotTestDataDto.fromJS(item)); + } + if (Array.isArray(_data["opBomDetailListDtos"])) { + this.opBomDetailListDtos = [] as any; + for (let item of _data["opBomDetailListDtos"]) + this.opBomDetailListDtos.push(IcsOPBomDetailListDto.fromJS(item)); + } } } - static fromJS(data: any): GetImageTextMaterialsInput { + static fromJS(data: any): IcsLotOnWipDto { data = typeof data === 'object' ? data : {}; - let result = new GetImageTextMaterialsInput(); + let result = new IcsLotOnWipDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["appId"] = this.appId; - data["maxResultCount"] = this.maxResultCount; - data["skipCount"] = this.skipCount; - return data; - } - - clone(): GetImageTextMaterialsInput { - const json = this.toJSON(); - let result = new GetImageTextMaterialsInput(); - result.init(json); - return result; - } -} - -/** 获取图像文本素材 */ -export interface IGetImageTextMaterialsInput { - /** 应用Id */ - appId: string; - maxResultCount: number; - skipCount: number; -} - -/** 获取收入统计数据 */ -export class GetIncomeStatisticsDataOutput implements IGetIncomeStatisticsDataOutput { - /** 收入统计数据 YoyoBoot.MultiTenancy.HostDashboard.Dto.IncomeStastistic */ - incomeStatistics: IncomeStastistic[] | undefined; - - constructor(data?: IGetIncomeStatisticsDataOutput) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } + data["key"] = this.key; + data["id"] = this.id; + data["onWipID"] = this.onWipID; + data["onWipDetailID"] = this.onWipDetailID; + data["isCom"] = this.isCom; + data["lotNo"] = this.lotNo; + data["lotStatus"] = this.lotStatus; + data["lotSeq"] = this.lotSeq; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["tLotNo"] = this.tLotNo; + data["tLotSeq"] = this.tLotSeq; + data["sLotNo"] = this.sLotNo; + data["sLotSeq"] = this.sLotSeq; + data["seq"] = this.seq; + data["collectForm"] = this.collectForm; + data["modelCode"] = this.modelCode; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["itemDesc"] = this.itemDesc; + data["barCode"] = this.barCode; + data["feedMessage"] = this.feedMessage; + data["itemControlType"] = this.itemControlType; + data["isNeedFeed"] = this.isNeedFeed; + data["serialCodeCompare"] = this.serialCodeCompare; + data["lotQty"] = this.lotQty; + data["collectQty"] = this.collectQty; + data["isDisabledEditQty"] = this.isDisabledEditQty; + data["leftCollectQty"] = this.leftCollectQty; + data["goodQty"] = this.goodQty; + data["ngQty"] = this.ngQty; + data["routeCode"] = this.routeCode; + data["routeName"] = this.routeName; + data["resCode"] = this.resCode; + data["resName"] = this.resName; + data["opCode"] = this.opCode; + data["opSeq"] = this.opSeq; + data["opName"] = this.opName; + data["segCode"] = this.segCode; + data["ssCode"] = this.ssCode; + data["crewCode"] = this.crewCode; + data["mcCode"] = this.mcCode; + data["mcName"] = this.mcName; + data["ssName"] = this.ssName; + data["eqpCode"] = this.eqpCode; + data["eqpName"] = this.eqpName; + data["dispatchEqpCode"] = this.dispatchEqpCode; + data["dispatchEqpName"] = this.dispatchEqpName; + data["action"] = this.action; + data["actionResult"] = this.actionResult; + data["ngTimes"] = this.ngTimes; + data["collectStatus"] = this.collectStatus; + data["shelfNo"] = this.shelfNo; + data["rmaBillCode"] = this.rmaBillCode; + data["processed"] = this.processed; + data["userCode"] = this.userCode; + data["userName"] = this.userName; + data["needFirstCheck"] = this.needFirstCheck; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["createCompRptMsg"] = this.createCompRptMsg; + if (Array.isArray(this.testDataList)) { + data["testDataList"] = []; + for (let item of this.testDataList) + data["testDataList"].push(item.toJSON()); } - } - - init(_data?: any) { - if (_data) { - if (Array.isArray(_data["incomeStatistics"])) { - this.incomeStatistics = [] as any; - for (let item of _data["incomeStatistics"]) - this.incomeStatistics.push(IncomeStastistic.fromJS(item)); - } + if (Array.isArray(this.checkItemList)) { + data["checkItemList"] = []; + for (let item of this.checkItemList) + data["checkItemList"].push(item.toJSON()); } - } - - static fromJS(data: any): GetIncomeStatisticsDataOutput { - data = typeof data === 'object' ? data : {}; - let result = new GetIncomeStatisticsDataOutput(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.incomeStatistics)) { - data["incomeStatistics"] = []; - for (let item of this.incomeStatistics) - data["incomeStatistics"].push(item.toJSON()); + if (Array.isArray(this.opBomDetailListDtos)) { + data["opBomDetailListDtos"] = []; + for (let item of this.opBomDetailListDtos) + data["opBomDetailListDtos"].push(item.toJSON()); } return data; } - clone(): GetIncomeStatisticsDataOutput { + clone(): IcsLotOnWipDto { const json = this.toJSON(); - let result = new GetIncomeStatisticsDataOutput(); + let result = new IcsLotOnWipDto(); result.init(json); return result; } } -/** 获取收入统计数据 */ -export interface IGetIncomeStatisticsDataOutput { - /** 收入统计数据 YoyoBoot.MultiTenancy.HostDashboard.Dto.IncomeStastistic */ - incomeStatistics: IncomeStastistic[] | undefined; +export interface IIcsLotOnWipDto { + key: string | undefined; + id: number | undefined; + onWipID: number | undefined; + onWipDetailID: number | undefined; + isCom: string | undefined; + lotNo: string | undefined; + lotStatus: string | undefined; + lotSeq: number; + moCode: string | undefined; + moSeq: number; + tLotNo: string | undefined; + tLotSeq: number | undefined; + sLotNo: string | undefined; + sLotSeq: number | undefined; + seq: number | undefined; + collectForm: string | undefined; + modelCode: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemDesc: string | undefined; + barCode: string | undefined; + feedMessage: string | undefined; + itemControlType: string | undefined; + isNeedFeed: boolean; + serialCodeCompare: boolean; + lotQty: number; + collectQty: number; + isDisabledEditQty: boolean; + leftCollectQty: number; + goodQty: number; + ngQty: number; + routeCode: string | undefined; + routeName: string | undefined; + resCode: string | undefined; + resName: string | undefined; + opCode: string | undefined; + opSeq: number; + opName: string | undefined; + segCode: string | undefined; + ssCode: string | undefined; + crewCode: string | undefined; + mcCode: string | undefined; + mcName: string | undefined; + ssName: string | undefined; + eqpCode: string | undefined; + eqpName: string | undefined; + dispatchEqpCode: string | undefined; + dispatchEqpName: string | undefined; + action: string | undefined; + actionResult: string | undefined; + ngTimes: number | undefined; + collectStatus: string | undefined; + shelfNo: string | undefined; + rmaBillCode: string | undefined; + processed: string | undefined; + userCode: string | undefined; + userName: string | undefined; + needFirstCheck: boolean; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + createCompRptMsg: string | undefined; + testDataList: IcsLotTestDataDto[] | undefined; + checkItemList: IcsLotTestDataDto[] | undefined; + opBomDetailListDtos: IcsOPBomDetailListDto[] | undefined; } -/** 获取语言编辑 */ -export class GetLanguageForEditOutput implements IGetLanguageForEditOutput { - language: LanguageEditDto; - /** 所有的语言名称 */ - languageNames: ComboboxItemDto[] | undefined; - /** 所有的国旗 */ - flags: ComboboxItemDto[] | undefined; +export class IcsLotOnWipItemDto implements IIcsLotOnWipItemDto { + key: string | undefined; + id: number; + lotNo: string | undefined; + lotSeq: number; + moCode: string | undefined; + moSeq: number; + modelCode: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemStd: string | undefined; + mItemCode: string | undefined; + subItemName: string | undefined; + subItemStd: string | undefined; + mLotNo: string | undefined; + mSeq: number | undefined; + mLotType: string | undefined; + qty: number; + pcba: string | undefined; + bios: string | undefined; + version: string | undefined; + vendorItemCode: string | undefined; + vendorCode: string | undefined; + dateCode: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + segCode: string | undefined; + ssCode: string | undefined; + resCode: string | undefined; + shiftTypeCode: string | undefined; + shiftCode: string | undefined; + tpCode: string | undefined; + transStatus: string | undefined; + dropUserId: string | undefined; + dropUserName: string | undefined; + dropTime: moment.Moment | undefined; + actionType: string | undefined; + dropOp: string | undefined; + ipAddress: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + creationTime: moment.Moment; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetLanguageForEditOutput) { + constructor(data?: IIcsLotOnWipItemDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -64043,67 +101935,204 @@ export class GetLanguageForEditOutput implements IGetLanguageForEditOutput { init(_data?: any) { if (_data) { - this.language = _data["language"] ? LanguageEditDto.fromJS(_data["language"]) : undefined; - if (Array.isArray(_data["languageNames"])) { - this.languageNames = [] as any; - for (let item of _data["languageNames"]) - this.languageNames.push(ComboboxItemDto.fromJS(item)); - } - if (Array.isArray(_data["flags"])) { - this.flags = [] as any; - for (let item of _data["flags"]) - this.flags.push(ComboboxItemDto.fromJS(item)); - } + this.key = _data["key"]; + this.id = _data["id"]; + this.lotNo = _data["lotNo"]; + this.lotSeq = _data["lotSeq"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.modelCode = _data["modelCode"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.itemStd = _data["itemStd"]; + this.mItemCode = _data["mItemCode"]; + this.subItemName = _data["subItemName"]; + this.subItemStd = _data["subItemStd"]; + this.mLotNo = _data["mLotNo"]; + this.mSeq = _data["mSeq"]; + this.mLotType = _data["mLotType"]; + this.qty = _data["qty"]; + this.pcba = _data["pcba"]; + this.bios = _data["bios"]; + this.version = _data["version"]; + this.vendorItemCode = _data["vendorItemCode"]; + this.vendorCode = _data["vendorCode"]; + this.dateCode = _data["dateCode"]; + this.routeCode = _data["routeCode"]; + this.opCode = _data["opCode"]; + this.segCode = _data["segCode"]; + this.ssCode = _data["ssCode"]; + this.resCode = _data["resCode"]; + this.shiftTypeCode = _data["shiftTypeCode"]; + this.shiftCode = _data["shiftCode"]; + this.tpCode = _data["tpCode"]; + this.transStatus = _data["transStatus"]; + this.dropUserId = _data["dropUserId"]; + this.dropUserName = _data["dropUserName"]; + this.dropTime = _data["dropTime"] ? moment(_data["dropTime"].toString()) : undefined; + this.actionType = _data["actionType"]; + this.dropOp = _data["dropOp"]; + this.ipAddress = _data["ipAddress"]; + this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetLanguageForEditOutput { + static fromJS(data: any): IcsLotOnWipItemDto { data = typeof data === 'object' ? data : {}; - let result = new GetLanguageForEditOutput(); + let result = new IcsLotOnWipItemDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["language"] = this.language ? this.language.toJSON() : undefined; - if (Array.isArray(this.languageNames)) { - data["languageNames"] = []; - for (let item of this.languageNames) - data["languageNames"].push(item.toJSON()); - } - if (Array.isArray(this.flags)) { - data["flags"] = []; - for (let item of this.flags) - data["flags"].push(item.toJSON()); - } + data["key"] = this.key; + data["id"] = this.id; + data["lotNo"] = this.lotNo; + data["lotSeq"] = this.lotSeq; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["modelCode"] = this.modelCode; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["itemStd"] = this.itemStd; + data["mItemCode"] = this.mItemCode; + data["subItemName"] = this.subItemName; + data["subItemStd"] = this.subItemStd; + data["mLotNo"] = this.mLotNo; + data["mSeq"] = this.mSeq; + data["mLotType"] = this.mLotType; + data["qty"] = this.qty; + data["pcba"] = this.pcba; + data["bios"] = this.bios; + data["version"] = this.version; + data["vendorItemCode"] = this.vendorItemCode; + data["vendorCode"] = this.vendorCode; + data["dateCode"] = this.dateCode; + data["routeCode"] = this.routeCode; + data["opCode"] = this.opCode; + data["segCode"] = this.segCode; + data["ssCode"] = this.ssCode; + data["resCode"] = this.resCode; + data["shiftTypeCode"] = this.shiftTypeCode; + data["shiftCode"] = this.shiftCode; + data["tpCode"] = this.tpCode; + data["transStatus"] = this.transStatus; + data["dropUserId"] = this.dropUserId; + data["dropUserName"] = this.dropUserName; + data["dropTime"] = this.dropTime ? this.dropTime.toISOString() : undefined; + data["actionType"] = this.actionType; + data["dropOp"] = this.dropOp; + data["ipAddress"] = this.ipAddress; + data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetLanguageForEditOutput { + clone(): IcsLotOnWipItemDto { const json = this.toJSON(); - let result = new GetLanguageForEditOutput(); + let result = new IcsLotOnWipItemDto(); result.init(json); return result; } } -/** 获取语言编辑 */ -export interface IGetLanguageForEditOutput { - language: LanguageEditDto; - /** 所有的语言名称 */ - languageNames: ComboboxItemDto[] | undefined; - /** 所有的国旗 */ - flags: ComboboxItemDto[] | undefined; +export interface IIcsLotOnWipItemDto { + key: string | undefined; + id: number; + lotNo: string | undefined; + lotSeq: number; + moCode: string | undefined; + moSeq: number; + modelCode: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemStd: string | undefined; + mItemCode: string | undefined; + subItemName: string | undefined; + subItemStd: string | undefined; + mLotNo: string | undefined; + mSeq: number | undefined; + mLotType: string | undefined; + qty: number; + pcba: string | undefined; + bios: string | undefined; + version: string | undefined; + vendorItemCode: string | undefined; + vendorCode: string | undefined; + dateCode: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + segCode: string | undefined; + ssCode: string | undefined; + resCode: string | undefined; + shiftTypeCode: string | undefined; + shiftCode: string | undefined; + tpCode: string | undefined; + transStatus: string | undefined; + dropUserId: string | undefined; + dropUserName: string | undefined; + dropTime: moment.Moment | undefined; + actionType: string | undefined; + dropOp: string | undefined; + ipAddress: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + creationTime: moment.Moment; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -/** 获取语言 */ -export class GetLanguagesOutput implements IGetLanguagesOutput { - /** 默认语言名称 */ - defaultLanguageName: string | undefined; - items: LanguageListDto[] | undefined; +export class IcsLotRoute2OpEditDto implements IIcsLotRoute2OpEditDto { + id: number | undefined; + lotId: number; + routeId: number; + opId: number; + lotNo: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + opName: string | undefined; + opSeq: number; + opControl: string | undefined; + optionalOp: string | undefined; + opControlSeq: number; + idMergeType: string | undefined; + idMergeRule: number; + opLevel: string | undefined; + parallelOp: string | undefined; - constructor(data?: IGetLanguagesOutput) { + constructor(data?: IIcsLotRoute2OpEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -64114,54 +102143,102 @@ export class GetLanguagesOutput implements IGetLanguagesOutput { init(_data?: any) { if (_data) { - this.defaultLanguageName = _data["defaultLanguageName"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(LanguageListDto.fromJS(item)); - } + this.id = _data["id"]; + this.lotId = _data["lotId"]; + this.routeId = _data["routeId"]; + this.opId = _data["opId"]; + this.lotNo = _data["lotNo"]; + this.routeCode = _data["routeCode"]; + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.opSeq = _data["opSeq"]; + this.opControl = _data["opControl"]; + this.optionalOp = _data["optionalOp"]; + this.opControlSeq = _data["opControlSeq"]; + this.idMergeType = _data["idMergeType"]; + this.idMergeRule = _data["idMergeRule"]; + this.opLevel = _data["opLevel"]; + this.parallelOp = _data["parallelOp"]; } } - static fromJS(data: any): GetLanguagesOutput { + static fromJS(data: any): IcsLotRoute2OpEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetLanguagesOutput(); + let result = new IcsLotRoute2OpEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["defaultLanguageName"] = this.defaultLanguageName; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["id"] = this.id; + data["lotId"] = this.lotId; + data["routeId"] = this.routeId; + data["opId"] = this.opId; + data["lotNo"] = this.lotNo; + data["routeCode"] = this.routeCode; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["opSeq"] = this.opSeq; + data["opControl"] = this.opControl; + data["optionalOp"] = this.optionalOp; + data["opControlSeq"] = this.opControlSeq; + data["idMergeType"] = this.idMergeType; + data["idMergeRule"] = this.idMergeRule; + data["opLevel"] = this.opLevel; + data["parallelOp"] = this.parallelOp; return data; } - clone(): GetLanguagesOutput { + clone(): IcsLotRoute2OpEditDto { const json = this.toJSON(); - let result = new GetLanguagesOutput(); + let result = new IcsLotRoute2OpEditDto(); result.init(json); return result; } } -/** 获取语言 */ -export interface IGetLanguagesOutput { - /** 默认语言名称 */ - defaultLanguageName: string | undefined; - items: LanguageListDto[] | undefined; +export interface IIcsLotRoute2OpEditDto { + id: number | undefined; + lotId: number; + routeId: number; + opId: number; + lotNo: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + opName: string | undefined; + opSeq: number; + opControl: string | undefined; + optionalOp: string | undefined; + opControlSeq: number; + idMergeType: string | undefined; + idMergeRule: number; + opLevel: string | undefined; + parallelOp: string | undefined; } -/** 获取网站日志 */ -export class GetLatestWebLogsOutput implements IGetLatestWebLogsOutput { - /** 最新网站日志 */ - latestWebLogLines: string[] | undefined; +export class IcsLotRoute2OpListDto implements IIcsLotRoute2OpListDto { + lotId: number; + routeId: number; + opId: number; + lotNo: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + opSeq: number; + opControl: string | undefined; + optionalOp: string | undefined; + idMergeType: string | undefined; + idMergeRule: number; + opLevel: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetLatestWebLogsOutput) { + constructor(data?: IIcsLotRoute2OpListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -64172,51 +102249,128 @@ export class GetLatestWebLogsOutput implements IGetLatestWebLogsOutput { init(_data?: any) { if (_data) { - if (Array.isArray(_data["latestWebLogLines"])) { - this.latestWebLogLines = [] as any; - for (let item of _data["latestWebLogLines"]) - this.latestWebLogLines.push(item); - } + this.lotId = _data["lotId"]; + this.routeId = _data["routeId"]; + this.opId = _data["opId"]; + this.lotNo = _data["lotNo"]; + this.routeCode = _data["routeCode"]; + this.opCode = _data["opCode"]; + this.opSeq = _data["opSeq"]; + this.opControl = _data["opControl"]; + this.optionalOp = _data["optionalOp"]; + this.idMergeType = _data["idMergeType"]; + this.idMergeRule = _data["idMergeRule"]; + this.opLevel = _data["opLevel"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetLatestWebLogsOutput { + static fromJS(data: any): IcsLotRoute2OpListDto { data = typeof data === 'object' ? data : {}; - let result = new GetLatestWebLogsOutput(); + let result = new IcsLotRoute2OpListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.latestWebLogLines)) { - data["latestWebLogLines"] = []; - for (let item of this.latestWebLogLines) - data["latestWebLogLines"].push(item); - } + data["lotId"] = this.lotId; + data["routeId"] = this.routeId; + data["opId"] = this.opId; + data["lotNo"] = this.lotNo; + data["routeCode"] = this.routeCode; + data["opCode"] = this.opCode; + data["opSeq"] = this.opSeq; + data["opControl"] = this.opControl; + data["optionalOp"] = this.optionalOp; + data["idMergeType"] = this.idMergeType; + data["idMergeRule"] = this.idMergeRule; + data["opLevel"] = this.opLevel; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetLatestWebLogsOutput { + clone(): IcsLotRoute2OpListDto { const json = this.toJSON(); - let result = new GetLatestWebLogsOutput(); + let result = new IcsLotRoute2OpListDto(); result.init(json); return result; } } -/** 获取网站日志 */ -export interface IGetLatestWebLogsOutput { - /** 最新网站日志 */ - latestWebLogLines: string[] | undefined; +export interface IIcsLotRoute2OpListDto { + lotId: number; + routeId: number; + opId: number; + lotNo: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + opSeq: number; + opControl: string | undefined; + optionalOp: string | undefined; + idMergeType: string | undefined; + idMergeRule: number; + opLevel: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 获取会员活动 */ -export class GetMemberActivityOutput implements IGetMemberActivityOutput { - /** 成员活动 YoyoBoot.MultiTenancy.TenantDashboard.Dto.MemberActivity */ - memberActivities: MemberActivity[] | undefined; +export class IcsLotTestDataDto implements IIcsLotTestDataDto { + key: string | undefined; + id: number | undefined; + lotNo: string | undefined; + lotSeq: number; + seq: number; + moCode: string | undefined; + moSeq: number; + shiftDay: moment.Moment | undefined; + itemCode: string | undefined; + eqpCode: string | undefined; + ckGroup: string | undefined; + ckGroupName: string | undefined; + ckItemCode: string | undefined; + ckItemName: string | undefined; + checkItemStd: string | undefined; + parameter: string | undefined; + setValueMax: string | undefined; + setValueMin: string | undefined; + exemptionValueMax: string | undefined; + exemptionValueMin: string | undefined; + a1: boolean; + a2: boolean; + testValue: string | undefined; + testResult: string | undefined; + testTime: moment.Moment | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetMemberActivityOutput) { + constructor(data?: IIcsLotTestDataDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -64227,50 +102381,160 @@ export class GetMemberActivityOutput implements IGetMemberActivityOutput { init(_data?: any) { if (_data) { - if (Array.isArray(_data["memberActivities"])) { - this.memberActivities = [] as any; - for (let item of _data["memberActivities"]) - this.memberActivities.push(MemberActivity.fromJS(item)); - } + this.key = _data["key"]; + this.id = _data["id"]; + this.lotNo = _data["lotNo"]; + this.lotSeq = _data["lotSeq"]; + this.seq = _data["seq"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.shiftDay = _data["shiftDay"] ? moment(_data["shiftDay"].toString()) : undefined; + this.itemCode = _data["itemCode"]; + this.eqpCode = _data["eqpCode"]; + this.ckGroup = _data["ckGroup"]; + this.ckGroupName = _data["ckGroupName"]; + this.ckItemCode = _data["ckItemCode"]; + this.ckItemName = _data["ckItemName"]; + this.checkItemStd = _data["checkItemStd"]; + this.parameter = _data["parameter"]; + this.setValueMax = _data["setValueMax"]; + this.setValueMin = _data["setValueMin"]; + this.exemptionValueMax = _data["exemptionValueMax"]; + this.exemptionValueMin = _data["exemptionValueMin"]; + this.a1 = _data["a1"]; + this.a2 = _data["a2"]; + this.testValue = _data["testValue"]; + this.testResult = _data["testResult"]; + this.testTime = _data["testTime"] ? moment(_data["testTime"].toString()) : undefined; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetMemberActivityOutput { + static fromJS(data: any): IcsLotTestDataDto { data = typeof data === 'object' ? data : {}; - let result = new GetMemberActivityOutput(); + let result = new IcsLotTestDataDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.memberActivities)) { - data["memberActivities"] = []; - for (let item of this.memberActivities) - data["memberActivities"].push(item.toJSON()); - } + data["key"] = this.key; + data["id"] = this.id; + data["lotNo"] = this.lotNo; + data["lotSeq"] = this.lotSeq; + data["seq"] = this.seq; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["shiftDay"] = this.shiftDay ? this.shiftDay.toISOString() : undefined; + data["itemCode"] = this.itemCode; + data["eqpCode"] = this.eqpCode; + data["ckGroup"] = this.ckGroup; + data["ckGroupName"] = this.ckGroupName; + data["ckItemCode"] = this.ckItemCode; + data["ckItemName"] = this.ckItemName; + data["checkItemStd"] = this.checkItemStd; + data["parameter"] = this.parameter; + data["setValueMax"] = this.setValueMax; + data["setValueMin"] = this.setValueMin; + data["exemptionValueMax"] = this.exemptionValueMax; + data["exemptionValueMin"] = this.exemptionValueMin; + data["a1"] = this.a1; + data["a2"] = this.a2; + data["testValue"] = this.testValue; + data["testResult"] = this.testResult; + data["testTime"] = this.testTime ? this.testTime.toISOString() : undefined; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetMemberActivityOutput { + clone(): IcsLotTestDataDto { const json = this.toJSON(); - let result = new GetMemberActivityOutput(); + let result = new IcsLotTestDataDto(); result.init(json); return result; } } -/** 获取会员活动 */ -export interface IGetMemberActivityOutput { - /** 成员活动 YoyoBoot.MultiTenancy.TenantDashboard.Dto.MemberActivity */ - memberActivities: MemberActivity[] | undefined; +export interface IIcsLotTestDataDto { + key: string | undefined; + id: number | undefined; + lotNo: string | undefined; + lotSeq: number; + seq: number; + moCode: string | undefined; + moSeq: number; + shiftDay: moment.Moment | undefined; + itemCode: string | undefined; + eqpCode: string | undefined; + ckGroup: string | undefined; + ckGroupName: string | undefined; + ckItemCode: string | undefined; + ckItemName: string | undefined; + checkItemStd: string | undefined; + parameter: string | undefined; + setValueMax: string | undefined; + setValueMin: string | undefined; + exemptionValueMax: string | undefined; + exemptionValueMin: string | undefined; + a1: boolean; + a2: boolean; + testValue: string | undefined; + testResult: string | undefined; + testTime: moment.Moment | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -/** 获取菜单编辑 */ -export class GetMenuForEditOutput implements IGetMenuForEditOutput { - menu: MenuEditDto; +export class IcsMachineCellEditDto implements IIcsMachineCellEditDto { + id: number | undefined; + mcCode: string | undefined; + mcName: string | undefined; + mcDesc: string | undefined; + ssid: number | undefined; + segId: number | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; - constructor(data?: IGetMenuForEditOutput) { + constructor(data?: IIcsMachineCellEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -64281,93 +102545,244 @@ export class GetMenuForEditOutput implements IGetMenuForEditOutput { init(_data?: any) { if (_data) { - this.menu = _data["menu"] ? MenuEditDto.fromJS(_data["menu"]) : undefined; + this.id = _data["id"]; + this.mcCode = _data["mcCode"]; + this.mcName = _data["mcName"]; + this.mcDesc = _data["mcDesc"]; + this.ssid = _data["ssid"]; + this.segId = _data["segId"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetMenuForEditOutput { + static fromJS(data: any): IcsMachineCellEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetMenuForEditOutput(); + let result = new IcsMachineCellEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["menu"] = this.menu ? this.menu.toJSON() : undefined; + data["id"] = this.id; + data["mcCode"] = this.mcCode; + data["mcName"] = this.mcName; + data["mcDesc"] = this.mcDesc; + data["ssid"] = this.ssid; + data["segId"] = this.segId; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["memo"] = this.memo; return data; } - clone(): GetMenuForEditOutput { + clone(): IcsMachineCellEditDto { const json = this.toJSON(); - let result = new GetMenuForEditOutput(); + let result = new IcsMachineCellEditDto(); result.init(json); return result; } } -/** 获取菜单编辑 */ -export interface IGetMenuForEditOutput { - menu: MenuEditDto; +export interface IIcsMachineCellEditDto { + id: number | undefined; + mcCode: string | undefined; + mcName: string | undefined; + mcDesc: string | undefined; + ssid: number | undefined; + segId: number | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; } -export class GetMessageConfigForEditOutput implements IGetMessageConfigForEditOutput { - messageConfig: MessageConfigEditDto; +export class IcsMachineCellListDto implements IIcsMachineCellListDto { + mcCode: string | undefined; + mcName: string | undefined; + mcDesc: string | undefined; + ssid: number | undefined; + segId: number | undefined; + segName: string | undefined; + ssName: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetMessageConfigForEditOutput) { + constructor(data?: IIcsMachineCellListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.messageConfig = new MessageConfigEditDto(); - } } init(_data?: any) { if (_data) { - this.messageConfig = _data["messageConfig"] ? MessageConfigEditDto.fromJS(_data["messageConfig"]) : new MessageConfigEditDto(); + this.mcCode = _data["mcCode"]; + this.mcName = _data["mcName"]; + this.mcDesc = _data["mcDesc"]; + this.ssid = _data["ssid"]; + this.segId = _data["segId"]; + this.segName = _data["segName"]; + this.ssName = _data["ssName"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetMessageConfigForEditOutput { + static fromJS(data: any): IcsMachineCellListDto { data = typeof data === 'object' ? data : {}; - let result = new GetMessageConfigForEditOutput(); + let result = new IcsMachineCellListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["messageConfig"] = this.messageConfig ? this.messageConfig.toJSON() : undefined; + data["mcCode"] = this.mcCode; + data["mcName"] = this.mcName; + data["mcDesc"] = this.mcDesc; + data["ssid"] = this.ssid; + data["segId"] = this.segId; + data["segName"] = this.segName; + data["ssName"] = this.ssName; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetMessageConfigForEditOutput { + clone(): IcsMachineCellListDto { const json = this.toJSON(); - let result = new GetMessageConfigForEditOutput(); + let result = new IcsMachineCellListDto(); result.init(json); return result; } } -export interface IGetMessageConfigForEditOutput { - messageConfig: MessageConfigEditDto; +export interface IIcsMachineCellListDto { + mcCode: string | undefined; + mcName: string | undefined; + mcDesc: string | undefined; + ssid: number | undefined; + segId: number | undefined; + segName: string | undefined; + ssName: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class GetMessageRecordInput implements IGetMessageRecordInput { - /** 访问历史查询参数 */ - startTime: moment.Moment | undefined; - /** 访问历史查询参数 */ - endDateTime: moment.Moment | undefined; - filterText: string | undefined; - sorting: string | undefined; - maxResultCount: number; - skipCount: number; +export class IcsMainCategoryCodeEditDto implements IIcsMainCategoryCodeEditDto { + id: number | undefined; + itemMainCategoryCode: string | undefined; + itemMainCategoryName: string | undefined; + itemMainCategoryDesc: string | undefined; + itemType: string | undefined; + itemControlType: string | undefined; + itemContype: string | undefined; + pCode: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetMessageRecordInput) { + constructor(data?: IIcsMainCategoryCodeEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -64378,152 +102793,341 @@ export class GetMessageRecordInput implements IGetMessageRecordInput { init(_data?: any) { if (_data) { - this.startTime = _data["startTime"] ? moment(_data["startTime"].toString()) : undefined; - this.endDateTime = _data["endDateTime"] ? moment(_data["endDateTime"].toString()) : undefined; - this.filterText = _data["filterText"]; - this.sorting = _data["sorting"]; - this.maxResultCount = _data["maxResultCount"]; - this.skipCount = _data["skipCount"]; + this.id = _data["id"]; + this.itemMainCategoryCode = _data["itemMainCategoryCode"]; + this.itemMainCategoryName = _data["itemMainCategoryName"]; + this.itemMainCategoryDesc = _data["itemMainCategoryDesc"]; + this.itemType = _data["itemType"]; + this.itemControlType = _data["itemControlType"]; + this.itemContype = _data["itemContype"]; + this.pCode = _data["pCode"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetMessageRecordInput { + static fromJS(data: any): IcsMainCategoryCodeEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetMessageRecordInput(); + let result = new IcsMainCategoryCodeEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["startTime"] = this.startTime ? this.startTime.toISOString() : undefined; - data["endDateTime"] = this.endDateTime ? this.endDateTime.toISOString() : undefined; - data["filterText"] = this.filterText; - data["sorting"] = this.sorting; - data["maxResultCount"] = this.maxResultCount; - data["skipCount"] = this.skipCount; + data["id"] = this.id; + data["itemMainCategoryCode"] = this.itemMainCategoryCode; + data["itemMainCategoryName"] = this.itemMainCategoryName; + data["itemMainCategoryDesc"] = this.itemMainCategoryDesc; + data["itemType"] = this.itemType; + data["itemControlType"] = this.itemControlType; + data["itemContype"] = this.itemContype; + data["pCode"] = this.pCode; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetMessageRecordInput { + clone(): IcsMainCategoryCodeEditDto { const json = this.toJSON(); - let result = new GetMessageRecordInput(); + let result = new IcsMainCategoryCodeEditDto(); result.init(json); return result; } } -export interface IGetMessageRecordInput { - /** 访问历史查询参数 */ - startTime: moment.Moment | undefined; - /** 访问历史查询参数 */ - endDateTime: moment.Moment | undefined; - filterText: string | undefined; - sorting: string | undefined; - maxResultCount: number; - skipCount: number; +export interface IIcsMainCategoryCodeEditDto { + id: number | undefined; + itemMainCategoryCode: string | undefined; + itemMainCategoryName: string | undefined; + itemMainCategoryDesc: string | undefined; + itemType: string | undefined; + itemControlType: string | undefined; + itemContype: string | undefined; + pCode: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class GetMessageRuleForEditOutput implements IGetMessageRuleForEditOutput { - messageRule: MessageRuleEditDto; +export class IcsMainCategoryCodeImportDto implements IIcsMainCategoryCodeImportDto { + itemMainCategoryCode: string; + itemMainCategoryName: string; + itemMainCategoryDesc: string | undefined; + itemType: string | undefined; + itemControlType: string | undefined; + itemContype: string | undefined; + pName: string | undefined; + memo: string | undefined; - constructor(data?: IGetMessageRuleForEditOutput) { + constructor(data?: IIcsMainCategoryCodeImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.messageRule = new MessageRuleEditDto(); - } } init(_data?: any) { if (_data) { - this.messageRule = _data["messageRule"] ? MessageRuleEditDto.fromJS(_data["messageRule"]) : new MessageRuleEditDto(); + this.itemMainCategoryCode = _data["itemMainCategoryCode"]; + this.itemMainCategoryName = _data["itemMainCategoryName"]; + this.itemMainCategoryDesc = _data["itemMainCategoryDesc"]; + this.itemType = _data["itemType"]; + this.itemControlType = _data["itemControlType"]; + this.itemContype = _data["itemContype"]; + this.pName = _data["pName"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetMessageRuleForEditOutput { + static fromJS(data: any): IcsMainCategoryCodeImportDto { data = typeof data === 'object' ? data : {}; - let result = new GetMessageRuleForEditOutput(); + let result = new IcsMainCategoryCodeImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["messageRule"] = this.messageRule ? this.messageRule.toJSON() : undefined; + data["itemMainCategoryCode"] = this.itemMainCategoryCode; + data["itemMainCategoryName"] = this.itemMainCategoryName; + data["itemMainCategoryDesc"] = this.itemMainCategoryDesc; + data["itemType"] = this.itemType; + data["itemControlType"] = this.itemControlType; + data["itemContype"] = this.itemContype; + data["pName"] = this.pName; + data["memo"] = this.memo; return data; } - clone(): GetMessageRuleForEditOutput { + clone(): IcsMainCategoryCodeImportDto { const json = this.toJSON(); - let result = new GetMessageRuleForEditOutput(); + let result = new IcsMainCategoryCodeImportDto(); result.init(json); return result; } } -export interface IGetMessageRuleForEditOutput { - messageRule: MessageRuleEditDto; +export interface IIcsMainCategoryCodeImportDto { + itemMainCategoryCode: string; + itemMainCategoryName: string; + itemMainCategoryDesc: string | undefined; + itemType: string | undefined; + itemControlType: string | undefined; + itemContype: string | undefined; + pName: string | undefined; + memo: string | undefined; } -export class GetMessageTemplateForEditOutput implements IGetMessageTemplateForEditOutput { - messageTemplate: MessageTemplateEditDto; +export class IcsMainCategoryCodeListDto implements IIcsMainCategoryCodeListDto { + key: string | undefined; + itemMainCategoryCode: string | undefined; + itemMainCategoryName: string | undefined; + itemMainCategoryDesc: string | undefined; + itemType: string | undefined; + itemControlType: string | undefined; + itemContype: string | undefined; + pCode: string | undefined; + pName: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetMessageTemplateForEditOutput) { + constructor(data?: IIcsMainCategoryCodeListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.messageTemplate = new MessageTemplateEditDto(); - } } init(_data?: any) { if (_data) { - this.messageTemplate = _data["messageTemplate"] ? MessageTemplateEditDto.fromJS(_data["messageTemplate"]) : new MessageTemplateEditDto(); + this.key = _data["key"]; + this.itemMainCategoryCode = _data["itemMainCategoryCode"]; + this.itemMainCategoryName = _data["itemMainCategoryName"]; + this.itemMainCategoryDesc = _data["itemMainCategoryDesc"]; + this.itemType = _data["itemType"]; + this.itemControlType = _data["itemControlType"]; + this.itemContype = _data["itemContype"]; + this.pCode = _data["pCode"]; + this.pName = _data["pName"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetMessageTemplateForEditOutput { + static fromJS(data: any): IcsMainCategoryCodeListDto { data = typeof data === 'object' ? data : {}; - let result = new GetMessageTemplateForEditOutput(); + let result = new IcsMainCategoryCodeListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["messageTemplate"] = this.messageTemplate ? this.messageTemplate.toJSON() : undefined; + data["key"] = this.key; + data["itemMainCategoryCode"] = this.itemMainCategoryCode; + data["itemMainCategoryName"] = this.itemMainCategoryName; + data["itemMainCategoryDesc"] = this.itemMainCategoryDesc; + data["itemType"] = this.itemType; + data["itemControlType"] = this.itemControlType; + data["itemContype"] = this.itemContype; + data["pCode"] = this.pCode; + data["pName"] = this.pName; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetMessageTemplateForEditOutput { + clone(): IcsMainCategoryCodeListDto { const json = this.toJSON(); - let result = new GetMessageTemplateForEditOutput(); + let result = new IcsMainCategoryCodeListDto(); result.init(json); return result; } } -export interface IGetMessageTemplateForEditOutput { - messageTemplate: MessageTemplateEditDto; +export interface IIcsMainCategoryCodeListDto { + key: string | undefined; + itemMainCategoryCode: string | undefined; + itemMainCategoryName: string | undefined; + itemMainCategoryDesc: string | undefined; + itemType: string | undefined; + itemControlType: string | undefined; + itemContype: string | undefined; + pCode: string | undefined; + pName: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 获取通知设置输出 */ -export class GetNotificationSettingsOutput implements IGetNotificationSettingsOutput { - /** 接收通知 */ - receiveNotifications: boolean; - /** 通知 YoyoBoot.Notifications.Dtos.NotificationSubscriptionWithDisplayNameDto */ - notifications: NotificationSubscriptionWithDisplayNameDto[] | undefined; +export class IcsManualRecordingEditDto implements IIcsManualRecordingEditDto { + key: string | undefined; + id: number | undefined; + projectCode: string | undefined; + lotNo: string | undefined; + lotSeq: number | undefined; + moCode: string | undefined; + moSeq: number | undefined; + itemCode: string | undefined; + recordingDate: moment.Moment; + recordingQty: number; + opCode: string | undefined; + eqpCode: string | undefined; + recordingHours: number; + recordingUserCode: string | undefined; + status: string | undefined; + recordingType: string | undefined; + recordingDesc: string | undefined; + memo: string | undefined; + checkUserId: string | undefined; + checkUserName: string | undefined; + checkTime: moment.Moment; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetNotificationSettingsOutput) { + constructor(data?: IIcsManualRecordingEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -64534,57 +103138,170 @@ export class GetNotificationSettingsOutput implements IGetNotificationSettingsOu init(_data?: any) { if (_data) { - this.receiveNotifications = _data["receiveNotifications"]; - if (Array.isArray(_data["notifications"])) { - this.notifications = [] as any; - for (let item of _data["notifications"]) - this.notifications.push(NotificationSubscriptionWithDisplayNameDto.fromJS(item)); - } + this.key = _data["key"]; + this.id = _data["id"]; + this.projectCode = _data["projectCode"]; + this.lotNo = _data["lotNo"]; + this.lotSeq = _data["lotSeq"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.itemCode = _data["itemCode"]; + this.recordingDate = _data["recordingDate"] ? moment(_data["recordingDate"].toString()) : undefined; + this.recordingQty = _data["recordingQty"]; + this.opCode = _data["opCode"]; + this.eqpCode = _data["eqpCode"]; + this.recordingHours = _data["recordingHours"]; + this.recordingUserCode = _data["recordingUserCode"]; + this.status = _data["status"]; + this.recordingType = _data["recordingType"]; + this.recordingDesc = _data["recordingDesc"]; + this.memo = _data["memo"]; + this.checkUserId = _data["checkUserId"]; + this.checkUserName = _data["checkUserName"]; + this.checkTime = _data["checkTime"] ? moment(_data["checkTime"].toString()) : undefined; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetNotificationSettingsOutput { + static fromJS(data: any): IcsManualRecordingEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetNotificationSettingsOutput(); + let result = new IcsManualRecordingEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["receiveNotifications"] = this.receiveNotifications; - if (Array.isArray(this.notifications)) { - data["notifications"] = []; - for (let item of this.notifications) - data["notifications"].push(item.toJSON()); - } + data["key"] = this.key; + data["id"] = this.id; + data["projectCode"] = this.projectCode; + data["lotNo"] = this.lotNo; + data["lotSeq"] = this.lotSeq; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["itemCode"] = this.itemCode; + data["recordingDate"] = this.recordingDate ? this.recordingDate.toISOString() : undefined; + data["recordingQty"] = this.recordingQty; + data["opCode"] = this.opCode; + data["eqpCode"] = this.eqpCode; + data["recordingHours"] = this.recordingHours; + data["recordingUserCode"] = this.recordingUserCode; + data["status"] = this.status; + data["recordingType"] = this.recordingType; + data["recordingDesc"] = this.recordingDesc; + data["memo"] = this.memo; + data["checkUserId"] = this.checkUserId; + data["checkUserName"] = this.checkUserName; + data["checkTime"] = this.checkTime ? this.checkTime.toISOString() : undefined; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetNotificationSettingsOutput { + clone(): IcsManualRecordingEditDto { const json = this.toJSON(); - let result = new GetNotificationSettingsOutput(); + let result = new IcsManualRecordingEditDto(); result.init(json); return result; } } -/** 获取通知设置输出 */ -export interface IGetNotificationSettingsOutput { - /** 接收通知 */ - receiveNotifications: boolean; - /** 通知 YoyoBoot.Notifications.Dtos.NotificationSubscriptionWithDisplayNameDto */ - notifications: NotificationSubscriptionWithDisplayNameDto[] | undefined; +export interface IIcsManualRecordingEditDto { + key: string | undefined; + id: number | undefined; + projectCode: string | undefined; + lotNo: string | undefined; + lotSeq: number | undefined; + moCode: string | undefined; + moSeq: number | undefined; + itemCode: string | undefined; + recordingDate: moment.Moment; + recordingQty: number; + opCode: string | undefined; + eqpCode: string | undefined; + recordingHours: number; + recordingUserCode: string | undefined; + status: string | undefined; + recordingType: string | undefined; + recordingDesc: string | undefined; + memo: string | undefined; + checkUserId: string | undefined; + checkUserName: string | undefined; + checkTime: moment.Moment; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -/** 获取通知 */ -export class GetNotificationsOutput implements IGetNotificationsOutput { - /** 未阅读消息数量 */ - unreadCount: number; - totalCount: number; - items: UserNotification[] | undefined; +export class IcsManualRecordingListDto implements IIcsManualRecordingListDto { + key: string | undefined; + projectCode: string | undefined; + lotNo: string | undefined; + lotSeq: number | undefined; + moCode: string | undefined; + moSeq: number | undefined; + itemCode: string | undefined; + itemName: string | undefined; + recordingDate: moment.Moment; + recordingQty: number; + opCode: string | undefined; + opName: string | undefined; + eqpCode: string | undefined; + eqpName: string | undefined; + recordingHours: number; + recordingUserCode: string | undefined; + status: string | undefined; + statusText: string | undefined; + recordingType: string | undefined; + recordingTypeText: string | undefined; + recordingDesc: string | undefined; + memo: string | undefined; + checkUserId: string | undefined; + checkUserName: string | undefined; + checkTime: moment.Moment; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetNotificationsOutput) { + constructor(data?: IIcsManualRecordingListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -64595,63 +103312,187 @@ export class GetNotificationsOutput implements IGetNotificationsOutput { init(_data?: any) { if (_data) { - this.unreadCount = _data["unreadCount"]; - this.totalCount = _data["totalCount"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(UserNotification.fromJS(item)); - } + this.key = _data["key"]; + this.projectCode = _data["projectCode"]; + this.lotNo = _data["lotNo"]; + this.lotSeq = _data["lotSeq"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.recordingDate = _data["recordingDate"] ? moment(_data["recordingDate"].toString()) : undefined; + this.recordingQty = _data["recordingQty"]; + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.eqpCode = _data["eqpCode"]; + this.eqpName = _data["eqpName"]; + this.recordingHours = _data["recordingHours"]; + this.recordingUserCode = _data["recordingUserCode"]; + this.status = _data["status"]; + this.statusText = _data["statusText"]; + this.recordingType = _data["recordingType"]; + this.recordingTypeText = _data["recordingTypeText"]; + this.recordingDesc = _data["recordingDesc"]; + this.memo = _data["memo"]; + this.checkUserId = _data["checkUserId"]; + this.checkUserName = _data["checkUserName"]; + this.checkTime = _data["checkTime"] ? moment(_data["checkTime"].toString()) : undefined; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetNotificationsOutput { + static fromJS(data: any): IcsManualRecordingListDto { data = typeof data === 'object' ? data : {}; - let result = new GetNotificationsOutput(); + let result = new IcsManualRecordingListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["unreadCount"] = this.unreadCount; - data["totalCount"] = this.totalCount; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["key"] = this.key; + data["projectCode"] = this.projectCode; + data["lotNo"] = this.lotNo; + data["lotSeq"] = this.lotSeq; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["recordingDate"] = this.recordingDate ? this.recordingDate.toISOString() : undefined; + data["recordingQty"] = this.recordingQty; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["eqpCode"] = this.eqpCode; + data["eqpName"] = this.eqpName; + data["recordingHours"] = this.recordingHours; + data["recordingUserCode"] = this.recordingUserCode; + data["status"] = this.status; + data["statusText"] = this.statusText; + data["recordingType"] = this.recordingType; + data["recordingTypeText"] = this.recordingTypeText; + data["recordingDesc"] = this.recordingDesc; + data["memo"] = this.memo; + data["checkUserId"] = this.checkUserId; + data["checkUserName"] = this.checkUserName; + data["checkTime"] = this.checkTime ? this.checkTime.toISOString() : undefined; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetNotificationsOutput { + clone(): IcsManualRecordingListDto { const json = this.toJSON(); - let result = new GetNotificationsOutput(); + let result = new IcsManualRecordingListDto(); result.init(json); return result; } } -/** 获取通知 */ -export interface IGetNotificationsOutput { - /** 未阅读消息数量 */ - unreadCount: number; - totalCount: number; - items: UserNotification[] | undefined; +export interface IIcsManualRecordingListDto { + key: string | undefined; + projectCode: string | undefined; + lotNo: string | undefined; + lotSeq: number | undefined; + moCode: string | undefined; + moSeq: number | undefined; + itemCode: string | undefined; + itemName: string | undefined; + recordingDate: moment.Moment; + recordingQty: number; + opCode: string | undefined; + opName: string | undefined; + eqpCode: string | undefined; + eqpName: string | undefined; + recordingHours: number; + recordingUserCode: string | undefined; + status: string | undefined; + statusText: string | undefined; + recordingType: string | undefined; + recordingTypeText: string | undefined; + recordingDesc: string | undefined; + memo: string | undefined; + checkUserId: string | undefined; + checkUserName: string | undefined; + checkTime: moment.Moment; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 获取在线用户 */ -export class GetOnlineUserInput implements IGetOnlineUserInput { - /** 创建时间筛选 */ - startTime: moment.Moment | undefined; - /** 创建时间筛选 */ - endTime: moment.Moment | undefined; - filterText: string | undefined; - sorting: string | undefined; - maxResultCount: number; - skipCount: number; +export class IcsManufacturing2EditDto implements IIcsManufacturing2EditDto { + id: number; + icsManufacturingHeadEditDto: IcsManufacturingHeadEditDto; + icsMfMediumParamEditDto: IcsMfMediumParamEditDto; + icsMfMediumParamIsValue: boolean; + icsMfProcessConditionsEditDto: IcsMfProcessConditionsEditDto; + icsMfProcessConditionsIsValue: boolean; + icsMfValveBodySpecEditDto: IcsMfValveBodySpecEditDto; + icsMfValveBodySpecIsValue: boolean; + icsMfValveTrimMateriaEditDto: IcsMfValveTrimMateriaEditDto; + icsMfValveTrimMateriaIsValue: boolean; + icsMfDriverSpecEditDto: IcsMfDriverSpecEditDto; + icsMfDriverSpecIsValue: boolean; + icsMfControlAccessorySpecEditDto: IcsMfControlAccessorySpecEditDto[] | undefined; + icsMfControlAccessorySpecIsValue: boolean; + icsMfControlInstallEditDto: IcsMfControlInstallEditDto; + icsMfControlInstallIsValue: boolean; + icsMfTakeoverAttachmentEditDto: IcsMfTakeoverAttachmentEditDto; + icsMfTakeoverAttachmentIsValue: boolean; + icsMfAdditionalSpecificationsEditDto: IcsMfAdditionalSpecificationsEditDto; + icsMfAdditionalSpecificationsIsValue: boolean; + icsMfActionEditDto: IcsMfActionEditDto; + icsMfActionIsValue: boolean; + icsMfSpecialRequirementsListEditDto: IcsMfSpecialRequirementsEditDto[] | undefined; + icsMfSpecialRequirementsIsValue: boolean; + targetField: string | undefined; + modifyOrChange: string | undefined; - constructor(data?: IGetOnlineUserInput) { + constructor(data?: IIcsManufacturing2EditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -64662,62 +103503,193 @@ export class GetOnlineUserInput implements IGetOnlineUserInput { init(_data?: any) { if (_data) { - this.startTime = _data["startTime"] ? moment(_data["startTime"].toString()) : undefined; - this.endTime = _data["endTime"] ? moment(_data["endTime"].toString()) : undefined; - this.filterText = _data["filterText"]; - this.sorting = _data["sorting"]; - this.maxResultCount = _data["maxResultCount"]; - this.skipCount = _data["skipCount"]; + this.id = _data["id"]; + this.icsManufacturingHeadEditDto = _data["icsManufacturingHeadEditDto"] ? IcsManufacturingHeadEditDto.fromJS(_data["icsManufacturingHeadEditDto"]) : undefined; + this.icsMfMediumParamEditDto = _data["icsMfMediumParamEditDto"] ? IcsMfMediumParamEditDto.fromJS(_data["icsMfMediumParamEditDto"]) : undefined; + this.icsMfMediumParamIsValue = _data["icsMfMediumParamIsValue"]; + this.icsMfProcessConditionsEditDto = _data["icsMfProcessConditionsEditDto"] ? IcsMfProcessConditionsEditDto.fromJS(_data["icsMfProcessConditionsEditDto"]) : undefined; + this.icsMfProcessConditionsIsValue = _data["icsMfProcessConditionsIsValue"]; + this.icsMfValveBodySpecEditDto = _data["icsMfValveBodySpecEditDto"] ? IcsMfValveBodySpecEditDto.fromJS(_data["icsMfValveBodySpecEditDto"]) : undefined; + this.icsMfValveBodySpecIsValue = _data["icsMfValveBodySpecIsValue"]; + this.icsMfValveTrimMateriaEditDto = _data["icsMfValveTrimMateriaEditDto"] ? IcsMfValveTrimMateriaEditDto.fromJS(_data["icsMfValveTrimMateriaEditDto"]) : undefined; + this.icsMfValveTrimMateriaIsValue = _data["icsMfValveTrimMateriaIsValue"]; + this.icsMfDriverSpecEditDto = _data["icsMfDriverSpecEditDto"] ? IcsMfDriverSpecEditDto.fromJS(_data["icsMfDriverSpecEditDto"]) : undefined; + this.icsMfDriverSpecIsValue = _data["icsMfDriverSpecIsValue"]; + if (Array.isArray(_data["icsMfControlAccessorySpecEditDto"])) { + this.icsMfControlAccessorySpecEditDto = [] as any; + for (let item of _data["icsMfControlAccessorySpecEditDto"]) + this.icsMfControlAccessorySpecEditDto.push(IcsMfControlAccessorySpecEditDto.fromJS(item)); + } + this.icsMfControlAccessorySpecIsValue = _data["icsMfControlAccessorySpecIsValue"]; + this.icsMfControlInstallEditDto = _data["icsMfControlInstallEditDto"] ? IcsMfControlInstallEditDto.fromJS(_data["icsMfControlInstallEditDto"]) : undefined; + this.icsMfControlInstallIsValue = _data["icsMfControlInstallIsValue"]; + this.icsMfTakeoverAttachmentEditDto = _data["icsMfTakeoverAttachmentEditDto"] ? IcsMfTakeoverAttachmentEditDto.fromJS(_data["icsMfTakeoverAttachmentEditDto"]) : undefined; + this.icsMfTakeoverAttachmentIsValue = _data["icsMfTakeoverAttachmentIsValue"]; + this.icsMfAdditionalSpecificationsEditDto = _data["icsMfAdditionalSpecificationsEditDto"] ? IcsMfAdditionalSpecificationsEditDto.fromJS(_data["icsMfAdditionalSpecificationsEditDto"]) : undefined; + this.icsMfAdditionalSpecificationsIsValue = _data["icsMfAdditionalSpecificationsIsValue"]; + this.icsMfActionEditDto = _data["icsMfActionEditDto"] ? IcsMfActionEditDto.fromJS(_data["icsMfActionEditDto"]) : undefined; + this.icsMfActionIsValue = _data["icsMfActionIsValue"]; + if (Array.isArray(_data["icsMfSpecialRequirementsListEditDto"])) { + this.icsMfSpecialRequirementsListEditDto = [] as any; + for (let item of _data["icsMfSpecialRequirementsListEditDto"]) + this.icsMfSpecialRequirementsListEditDto.push(IcsMfSpecialRequirementsEditDto.fromJS(item)); + } + this.icsMfSpecialRequirementsIsValue = _data["icsMfSpecialRequirementsIsValue"]; + this.targetField = _data["targetField"]; + this.modifyOrChange = _data["modifyOrChange"]; } } - static fromJS(data: any): GetOnlineUserInput { + static fromJS(data: any): IcsManufacturing2EditDto { data = typeof data === 'object' ? data : {}; - let result = new GetOnlineUserInput(); + let result = new IcsManufacturing2EditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["startTime"] = this.startTime ? this.startTime.toISOString() : undefined; - data["endTime"] = this.endTime ? this.endTime.toISOString() : undefined; - data["filterText"] = this.filterText; - data["sorting"] = this.sorting; - data["maxResultCount"] = this.maxResultCount; - data["skipCount"] = this.skipCount; + data["id"] = this.id; + data["icsManufacturingHeadEditDto"] = this.icsManufacturingHeadEditDto ? this.icsManufacturingHeadEditDto.toJSON() : undefined; + data["icsMfMediumParamEditDto"] = this.icsMfMediumParamEditDto ? this.icsMfMediumParamEditDto.toJSON() : undefined; + data["icsMfMediumParamIsValue"] = this.icsMfMediumParamIsValue; + data["icsMfProcessConditionsEditDto"] = this.icsMfProcessConditionsEditDto ? this.icsMfProcessConditionsEditDto.toJSON() : undefined; + data["icsMfProcessConditionsIsValue"] = this.icsMfProcessConditionsIsValue; + data["icsMfValveBodySpecEditDto"] = this.icsMfValveBodySpecEditDto ? this.icsMfValveBodySpecEditDto.toJSON() : undefined; + data["icsMfValveBodySpecIsValue"] = this.icsMfValveBodySpecIsValue; + data["icsMfValveTrimMateriaEditDto"] = this.icsMfValveTrimMateriaEditDto ? this.icsMfValveTrimMateriaEditDto.toJSON() : undefined; + data["icsMfValveTrimMateriaIsValue"] = this.icsMfValveTrimMateriaIsValue; + data["icsMfDriverSpecEditDto"] = this.icsMfDriverSpecEditDto ? this.icsMfDriverSpecEditDto.toJSON() : undefined; + data["icsMfDriverSpecIsValue"] = this.icsMfDriverSpecIsValue; + if (Array.isArray(this.icsMfControlAccessorySpecEditDto)) { + data["icsMfControlAccessorySpecEditDto"] = []; + for (let item of this.icsMfControlAccessorySpecEditDto) + data["icsMfControlAccessorySpecEditDto"].push(item.toJSON()); + } + data["icsMfControlAccessorySpecIsValue"] = this.icsMfControlAccessorySpecIsValue; + data["icsMfControlInstallEditDto"] = this.icsMfControlInstallEditDto ? this.icsMfControlInstallEditDto.toJSON() : undefined; + data["icsMfControlInstallIsValue"] = this.icsMfControlInstallIsValue; + data["icsMfTakeoverAttachmentEditDto"] = this.icsMfTakeoverAttachmentEditDto ? this.icsMfTakeoverAttachmentEditDto.toJSON() : undefined; + data["icsMfTakeoverAttachmentIsValue"] = this.icsMfTakeoverAttachmentIsValue; + data["icsMfAdditionalSpecificationsEditDto"] = this.icsMfAdditionalSpecificationsEditDto ? this.icsMfAdditionalSpecificationsEditDto.toJSON() : undefined; + data["icsMfAdditionalSpecificationsIsValue"] = this.icsMfAdditionalSpecificationsIsValue; + data["icsMfActionEditDto"] = this.icsMfActionEditDto ? this.icsMfActionEditDto.toJSON() : undefined; + data["icsMfActionIsValue"] = this.icsMfActionIsValue; + if (Array.isArray(this.icsMfSpecialRequirementsListEditDto)) { + data["icsMfSpecialRequirementsListEditDto"] = []; + for (let item of this.icsMfSpecialRequirementsListEditDto) + data["icsMfSpecialRequirementsListEditDto"].push(item.toJSON()); + } + data["icsMfSpecialRequirementsIsValue"] = this.icsMfSpecialRequirementsIsValue; + data["targetField"] = this.targetField; + data["modifyOrChange"] = this.modifyOrChange; return data; } - clone(): GetOnlineUserInput { + clone(): IcsManufacturing2EditDto { const json = this.toJSON(); - let result = new GetOnlineUserInput(); + let result = new IcsManufacturing2EditDto(); result.init(json); return result; } } -/** 获取在线用户 */ -export interface IGetOnlineUserInput { - /** 创建时间筛选 */ - startTime: moment.Moment | undefined; - /** 创建时间筛选 */ - endTime: moment.Moment | undefined; - filterText: string | undefined; - sorting: string | undefined; - maxResultCount: number; - skipCount: number; -} - -/** 获取其他素材 */ -export class GetOtherMaterialsInput implements IGetOtherMaterialsInput { - /** 应用Id */ - appId: string; - materialType: UploadMediaFileType; - maxResultCount: number; - skipCount: number; +export interface IIcsManufacturing2EditDto { + id: number; + icsManufacturingHeadEditDto: IcsManufacturingHeadEditDto; + icsMfMediumParamEditDto: IcsMfMediumParamEditDto; + icsMfMediumParamIsValue: boolean; + icsMfProcessConditionsEditDto: IcsMfProcessConditionsEditDto; + icsMfProcessConditionsIsValue: boolean; + icsMfValveBodySpecEditDto: IcsMfValveBodySpecEditDto; + icsMfValveBodySpecIsValue: boolean; + icsMfValveTrimMateriaEditDto: IcsMfValveTrimMateriaEditDto; + icsMfValveTrimMateriaIsValue: boolean; + icsMfDriverSpecEditDto: IcsMfDriverSpecEditDto; + icsMfDriverSpecIsValue: boolean; + icsMfControlAccessorySpecEditDto: IcsMfControlAccessorySpecEditDto[] | undefined; + icsMfControlAccessorySpecIsValue: boolean; + icsMfControlInstallEditDto: IcsMfControlInstallEditDto; + icsMfControlInstallIsValue: boolean; + icsMfTakeoverAttachmentEditDto: IcsMfTakeoverAttachmentEditDto; + icsMfTakeoverAttachmentIsValue: boolean; + icsMfAdditionalSpecificationsEditDto: IcsMfAdditionalSpecificationsEditDto; + icsMfAdditionalSpecificationsIsValue: boolean; + icsMfActionEditDto: IcsMfActionEditDto; + icsMfActionIsValue: boolean; + icsMfSpecialRequirementsListEditDto: IcsMfSpecialRequirementsEditDto[] | undefined; + icsMfSpecialRequirementsIsValue: boolean; + targetField: string | undefined; + modifyOrChange: string | undefined; +} + +export class IcsManufacturingHead implements IIcsManufacturingHead { + manufacturingSerial: string; + manufacturingType: string; + cusCode: string; + itemCode: string | undefined; + itemStd: string | undefined; + itemName: string | undefined; + itemModel: string; + itemModelCode: string | undefined; + endUser: string | undefined; + deviceName: string; + contractNo: string; + customerContractNo: string | undefined; + manufacturingNo: string; + deliveryDate: moment.Moment; + issuingDate: moment.Moment; + businessCode: string; + expirationDate: moment.Moment; + version: string | undefined; + checkUserId: string | undefined; + checkUserName: string | undefined; + checkTime: moment.Moment; + submitterId: string | undefined; + submitterName: string | undefined; + submitterTime: moment.Moment; + inReviewId: string | undefined; + inReviewName: string | undefined; + inReviewTime: moment.Moment; + page: number | undefined; + qty: number | undefined; + authorize: string | undefined; + u9Flag: string | undefined; + u9ItemCode: string | undefined; + isStock: string | undefined; + manufacturingMemo: string | undefined; + repairAddress: string | undefined; + audit: string | undefined; + business: string | undefined; + memo: string | undefined; + isUseAutoBom: string | undefined; + isAutoBom: string | undefined; + verifyItems: string | undefined; + sendMo: string | undefined; + sendMoTime: moment.Moment | undefined; + signFor: string | undefined; + signForTime: moment.Moment | undefined; + fileAttachment: string | undefined; + tenantId: string; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + lastModifierUserName: string | undefined; + creatorUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetOtherMaterialsInput) { + constructor(data?: IIcsManufacturingHead) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -64728,52 +103700,267 @@ export class GetOtherMaterialsInput implements IGetOtherMaterialsInput { init(_data?: any) { if (_data) { - this.appId = _data["appId"]; - this.materialType = _data["materialType"]; - this.maxResultCount = _data["maxResultCount"]; - this.skipCount = _data["skipCount"]; + this.manufacturingSerial = _data["manufacturingSerial"]; + this.manufacturingType = _data["manufacturingType"]; + this.cusCode = _data["cusCode"]; + this.itemCode = _data["itemCode"]; + this.itemStd = _data["itemStd"]; + this.itemName = _data["itemName"]; + this.itemModel = _data["itemModel"]; + this.itemModelCode = _data["itemModelCode"]; + this.endUser = _data["endUser"]; + this.deviceName = _data["deviceName"]; + this.contractNo = _data["contractNo"]; + this.customerContractNo = _data["customerContractNo"]; + this.manufacturingNo = _data["manufacturingNo"]; + this.deliveryDate = _data["deliveryDate"] ? moment(_data["deliveryDate"].toString()) : undefined; + this.issuingDate = _data["issuingDate"] ? moment(_data["issuingDate"].toString()) : undefined; + this.businessCode = _data["businessCode"]; + this.expirationDate = _data["expirationDate"] ? moment(_data["expirationDate"].toString()) : undefined; + this.version = _data["version"]; + this.checkUserId = _data["checkUserId"]; + this.checkUserName = _data["checkUserName"]; + this.checkTime = _data["checkTime"] ? moment(_data["checkTime"].toString()) : undefined; + this.submitterId = _data["submitterId"]; + this.submitterName = _data["submitterName"]; + this.submitterTime = _data["submitterTime"] ? moment(_data["submitterTime"].toString()) : undefined; + this.inReviewId = _data["inReviewId"]; + this.inReviewName = _data["inReviewName"]; + this.inReviewTime = _data["inReviewTime"] ? moment(_data["inReviewTime"].toString()) : undefined; + this.page = _data["page"]; + this.qty = _data["qty"]; + this.authorize = _data["authorize"]; + this.u9Flag = _data["u9Flag"]; + this.u9ItemCode = _data["u9ItemCode"]; + this.isStock = _data["isStock"]; + this.manufacturingMemo = _data["manufacturingMemo"]; + this.repairAddress = _data["repairAddress"]; + this.audit = _data["audit"]; + this.business = _data["business"]; + this.memo = _data["memo"]; + this.isUseAutoBom = _data["isUseAutoBom"]; + this.isAutoBom = _data["isAutoBom"]; + this.verifyItems = _data["verifyItems"]; + this.sendMo = _data["sendMo"]; + this.sendMoTime = _data["sendMoTime"] ? moment(_data["sendMoTime"].toString()) : undefined; + this.signFor = _data["signFor"]; + this.signForTime = _data["signForTime"] ? moment(_data["signForTime"].toString()) : undefined; + this.fileAttachment = _data["fileAttachment"]; + this.tenantId = _data["tenantId"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetOtherMaterialsInput { + static fromJS(data: any): IcsManufacturingHead { data = typeof data === 'object' ? data : {}; - let result = new GetOtherMaterialsInput(); + let result = new IcsManufacturingHead(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["appId"] = this.appId; - data["materialType"] = this.materialType; - data["maxResultCount"] = this.maxResultCount; - data["skipCount"] = this.skipCount; + data["manufacturingSerial"] = this.manufacturingSerial; + data["manufacturingType"] = this.manufacturingType; + data["cusCode"] = this.cusCode; + data["itemCode"] = this.itemCode; + data["itemStd"] = this.itemStd; + data["itemName"] = this.itemName; + data["itemModel"] = this.itemModel; + data["itemModelCode"] = this.itemModelCode; + data["endUser"] = this.endUser; + data["deviceName"] = this.deviceName; + data["contractNo"] = this.contractNo; + data["customerContractNo"] = this.customerContractNo; + data["manufacturingNo"] = this.manufacturingNo; + data["deliveryDate"] = this.deliveryDate ? this.deliveryDate.toISOString() : undefined; + data["issuingDate"] = this.issuingDate ? this.issuingDate.toISOString() : undefined; + data["businessCode"] = this.businessCode; + data["expirationDate"] = this.expirationDate ? this.expirationDate.toISOString() : undefined; + data["version"] = this.version; + data["checkUserId"] = this.checkUserId; + data["checkUserName"] = this.checkUserName; + data["checkTime"] = this.checkTime ? this.checkTime.toISOString() : undefined; + data["submitterId"] = this.submitterId; + data["submitterName"] = this.submitterName; + data["submitterTime"] = this.submitterTime ? this.submitterTime.toISOString() : undefined; + data["inReviewId"] = this.inReviewId; + data["inReviewName"] = this.inReviewName; + data["inReviewTime"] = this.inReviewTime ? this.inReviewTime.toISOString() : undefined; + data["page"] = this.page; + data["qty"] = this.qty; + data["authorize"] = this.authorize; + data["u9Flag"] = this.u9Flag; + data["u9ItemCode"] = this.u9ItemCode; + data["isStock"] = this.isStock; + data["manufacturingMemo"] = this.manufacturingMemo; + data["repairAddress"] = this.repairAddress; + data["audit"] = this.audit; + data["business"] = this.business; + data["memo"] = this.memo; + data["isUseAutoBom"] = this.isUseAutoBom; + data["isAutoBom"] = this.isAutoBom; + data["verifyItems"] = this.verifyItems; + data["sendMo"] = this.sendMo; + data["sendMoTime"] = this.sendMoTime ? this.sendMoTime.toISOString() : undefined; + data["signFor"] = this.signFor; + data["signForTime"] = this.signForTime ? this.signForTime.toISOString() : undefined; + data["fileAttachment"] = this.fileAttachment; + data["tenantId"] = this.tenantId; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["lastModifierUserName"] = this.lastModifierUserName; + data["creatorUserName"] = this.creatorUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetOtherMaterialsInput { + clone(): IcsManufacturingHead { const json = this.toJSON(); - let result = new GetOtherMaterialsInput(); + let result = new IcsManufacturingHead(); result.init(json); return result; } } -/** 获取其他素材 */ -export interface IGetOtherMaterialsInput { - /** 应用Id */ - appId: string; - materialType: UploadMediaFileType; - maxResultCount: number; - skipCount: number; +export interface IIcsManufacturingHead { + manufacturingSerial: string; + manufacturingType: string; + cusCode: string; + itemCode: string | undefined; + itemStd: string | undefined; + itemName: string | undefined; + itemModel: string; + itemModelCode: string | undefined; + endUser: string | undefined; + deviceName: string; + contractNo: string; + customerContractNo: string | undefined; + manufacturingNo: string; + deliveryDate: moment.Moment; + issuingDate: moment.Moment; + businessCode: string; + expirationDate: moment.Moment; + version: string | undefined; + checkUserId: string | undefined; + checkUserName: string | undefined; + checkTime: moment.Moment; + submitterId: string | undefined; + submitterName: string | undefined; + submitterTime: moment.Moment; + inReviewId: string | undefined; + inReviewName: string | undefined; + inReviewTime: moment.Moment; + page: number | undefined; + qty: number | undefined; + authorize: string | undefined; + u9Flag: string | undefined; + u9ItemCode: string | undefined; + isStock: string | undefined; + manufacturingMemo: string | undefined; + repairAddress: string | undefined; + audit: string | undefined; + business: string | undefined; + memo: string | undefined; + isUseAutoBom: string | undefined; + isAutoBom: string | undefined; + verifyItems: string | undefined; + sendMo: string | undefined; + sendMoTime: moment.Moment | undefined; + signFor: string | undefined; + signForTime: moment.Moment | undefined; + fileAttachment: string | undefined; + tenantId: string; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + lastModifierUserName: string | undefined; + creatorUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 获取简介图片 */ -export class GetProfilePictureOutput implements IGetProfilePictureOutput { - /** 简介图片 */ - profilePicture: string | undefined; +export class IcsManufacturingHeadEditDto implements IIcsManufacturingHeadEditDto { + key: string | undefined; + id: number | undefined; + manufacturingSerial: string | undefined; + manufacturingType: string | undefined; + cusCode: string | undefined; + itemCode: string | undefined; + itemStd: string | undefined; + itemName: string | undefined; + itemModel: string | undefined; + itemModelCode: string | undefined; + endUser: string | undefined; + deviceName: string | undefined; + contractNo: string | undefined; + customerContractNo: string | undefined; + manufacturingNo: string | undefined; + deliveryDate: moment.Moment; + issuingDate: moment.Moment; + businessCode: string | undefined; + expirationDate: moment.Moment; + version: string | undefined; + page: number; + qty: number; + authorize: string | undefined; + u9Flag: string | undefined; + isStock: string | undefined; + manufacturingMemo: string | undefined; + repairAddress: string | undefined; + audit: string | undefined; + business: string | undefined; + isAutoBom: string | undefined; + isUseAutoBom: string | undefined; + fileAttachment: string | undefined; + filePath: string | undefined; + sendMo: string | undefined; + sendMoTime: moment.Moment | undefined; + memo: string | undefined; + verifyItems: string | undefined; + creatorUserName: string | undefined; + creatorUserId: string | undefined; + creationTime: moment.Moment | undefined; - constructor(data?: IGetProfilePictureOutput) { + constructor(data?: IIcsManufacturingHeadEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -64784,43 +103971,190 @@ export class GetProfilePictureOutput implements IGetProfilePictureOutput { init(_data?: any) { if (_data) { - this.profilePicture = _data["profilePicture"]; + this.key = _data["key"]; + this.id = _data["id"]; + this.manufacturingSerial = _data["manufacturingSerial"]; + this.manufacturingType = _data["manufacturingType"]; + this.cusCode = _data["cusCode"]; + this.itemCode = _data["itemCode"]; + this.itemStd = _data["itemStd"]; + this.itemName = _data["itemName"]; + this.itemModel = _data["itemModel"]; + this.itemModelCode = _data["itemModelCode"]; + this.endUser = _data["endUser"]; + this.deviceName = _data["deviceName"]; + this.contractNo = _data["contractNo"]; + this.customerContractNo = _data["customerContractNo"]; + this.manufacturingNo = _data["manufacturingNo"]; + this.deliveryDate = _data["deliveryDate"] ? moment(_data["deliveryDate"].toString()) : undefined; + this.issuingDate = _data["issuingDate"] ? moment(_data["issuingDate"].toString()) : undefined; + this.businessCode = _data["businessCode"]; + this.expirationDate = _data["expirationDate"] ? moment(_data["expirationDate"].toString()) : undefined; + this.version = _data["version"]; + this.page = _data["page"]; + this.qty = _data["qty"]; + this.authorize = _data["authorize"]; + this.u9Flag = _data["u9Flag"]; + this.isStock = _data["isStock"]; + this.manufacturingMemo = _data["manufacturingMemo"]; + this.repairAddress = _data["repairAddress"]; + this.audit = _data["audit"]; + this.business = _data["business"]; + this.isAutoBom = _data["isAutoBom"]; + this.isUseAutoBom = _data["isUseAutoBom"]; + this.fileAttachment = _data["fileAttachment"]; + this.filePath = _data["filePath"]; + this.sendMo = _data["sendMo"]; + this.sendMoTime = _data["sendMoTime"] ? moment(_data["sendMoTime"].toString()) : undefined; + this.memo = _data["memo"]; + this.verifyItems = _data["verifyItems"]; + this.creatorUserName = _data["creatorUserName"]; + this.creatorUserId = _data["creatorUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; } } - static fromJS(data: any): GetProfilePictureOutput { + static fromJS(data: any): IcsManufacturingHeadEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetProfilePictureOutput(); + let result = new IcsManufacturingHeadEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["profilePicture"] = this.profilePicture; + data["key"] = this.key; + data["id"] = this.id; + data["manufacturingSerial"] = this.manufacturingSerial; + data["manufacturingType"] = this.manufacturingType; + data["cusCode"] = this.cusCode; + data["itemCode"] = this.itemCode; + data["itemStd"] = this.itemStd; + data["itemName"] = this.itemName; + data["itemModel"] = this.itemModel; + data["itemModelCode"] = this.itemModelCode; + data["endUser"] = this.endUser; + data["deviceName"] = this.deviceName; + data["contractNo"] = this.contractNo; + data["customerContractNo"] = this.customerContractNo; + data["manufacturingNo"] = this.manufacturingNo; + data["deliveryDate"] = this.deliveryDate ? this.deliveryDate.toISOString() : undefined; + data["issuingDate"] = this.issuingDate ? this.issuingDate.toISOString() : undefined; + data["businessCode"] = this.businessCode; + data["expirationDate"] = this.expirationDate ? this.expirationDate.toISOString() : undefined; + data["version"] = this.version; + data["page"] = this.page; + data["qty"] = this.qty; + data["authorize"] = this.authorize; + data["u9Flag"] = this.u9Flag; + data["isStock"] = this.isStock; + data["manufacturingMemo"] = this.manufacturingMemo; + data["repairAddress"] = this.repairAddress; + data["audit"] = this.audit; + data["business"] = this.business; + data["isAutoBom"] = this.isAutoBom; + data["isUseAutoBom"] = this.isUseAutoBom; + data["fileAttachment"] = this.fileAttachment; + data["filePath"] = this.filePath; + data["sendMo"] = this.sendMo; + data["sendMoTime"] = this.sendMoTime ? this.sendMoTime.toISOString() : undefined; + data["memo"] = this.memo; + data["verifyItems"] = this.verifyItems; + data["creatorUserName"] = this.creatorUserName; + data["creatorUserId"] = this.creatorUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; return data; } - clone(): GetProfilePictureOutput { + clone(): IcsManufacturingHeadEditDto { const json = this.toJSON(); - let result = new GetProfilePictureOutput(); + let result = new IcsManufacturingHeadEditDto(); result.init(json); return result; } } -/** 获取简介图片 */ -export interface IGetProfilePictureOutput { - /** 简介图片 */ - profilePicture: string | undefined; +export interface IIcsManufacturingHeadEditDto { + key: string | undefined; + id: number | undefined; + manufacturingSerial: string | undefined; + manufacturingType: string | undefined; + cusCode: string | undefined; + itemCode: string | undefined; + itemStd: string | undefined; + itemName: string | undefined; + itemModel: string | undefined; + itemModelCode: string | undefined; + endUser: string | undefined; + deviceName: string | undefined; + contractNo: string | undefined; + customerContractNo: string | undefined; + manufacturingNo: string | undefined; + deliveryDate: moment.Moment; + issuingDate: moment.Moment; + businessCode: string | undefined; + expirationDate: moment.Moment; + version: string | undefined; + page: number; + qty: number; + authorize: string | undefined; + u9Flag: string | undefined; + isStock: string | undefined; + manufacturingMemo: string | undefined; + repairAddress: string | undefined; + audit: string | undefined; + business: string | undefined; + isAutoBom: string | undefined; + isUseAutoBom: string | undefined; + fileAttachment: string | undefined; + filePath: string | undefined; + sendMo: string | undefined; + sendMoTime: moment.Moment | undefined; + memo: string | undefined; + verifyItems: string | undefined; + creatorUserName: string | undefined; + creatorUserId: string | undefined; + creationTime: moment.Moment | undefined; } -/** 简介图片输出 */ -export class GetProfilePictureOutputDto implements IGetProfilePictureOutputDto { - /** 简介图片 */ - profilePicture: string | undefined; +export class IcsManufacturingListDto implements IIcsManufacturingListDto { + key: string | undefined; + mfId: number; + manufacturingSerial: string | undefined; + manufacturingType: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemModel: string | undefined; + itemModelCode: string | undefined; + itemStd: string | undefined; + cusCode: string | undefined; + contractNo: string | undefined; + deviceName: string | undefined; + manufacturingNo: string | undefined; + deliveryDate: moment.Moment; + issuingDate: moment.Moment; + businessCode: string | undefined; + tagNumber: string | undefined; + oilBan: string | undefined; + version: string | undefined; + u9Flag: string | undefined; + manufacturingMemo: string | undefined; + repairAddress: string | undefined; + audit: string | undefined; + sendMoTime: moment.Moment | undefined; + sendMo: string | undefined; + signFor: string | undefined; + signForTime: moment.Moment | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetProfilePictureOutputDto) { + constructor(data?: IIcsManufacturingListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -64831,43 +104165,147 @@ export class GetProfilePictureOutputDto implements IGetProfilePictureOutputDto { init(_data?: any) { if (_data) { - this.profilePicture = _data["profilePicture"]; + this.key = _data["key"]; + this.mfId = _data["mfId"]; + this.manufacturingSerial = _data["manufacturingSerial"]; + this.manufacturingType = _data["manufacturingType"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.itemModel = _data["itemModel"]; + this.itemModelCode = _data["itemModelCode"]; + this.itemStd = _data["itemStd"]; + this.cusCode = _data["cusCode"]; + this.contractNo = _data["contractNo"]; + this.deviceName = _data["deviceName"]; + this.manufacturingNo = _data["manufacturingNo"]; + this.deliveryDate = _data["deliveryDate"] ? moment(_data["deliveryDate"].toString()) : undefined; + this.issuingDate = _data["issuingDate"] ? moment(_data["issuingDate"].toString()) : undefined; + this.businessCode = _data["businessCode"]; + this.tagNumber = _data["tagNumber"]; + this.oilBan = _data["oilBan"]; + this.version = _data["version"]; + this.u9Flag = _data["u9Flag"]; + this.manufacturingMemo = _data["manufacturingMemo"]; + this.repairAddress = _data["repairAddress"]; + this.audit = _data["audit"]; + this.sendMoTime = _data["sendMoTime"] ? moment(_data["sendMoTime"].toString()) : undefined; + this.sendMo = _data["sendMo"]; + this.signFor = _data["signFor"]; + this.signForTime = _data["signForTime"] ? moment(_data["signForTime"].toString()) : undefined; + this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetProfilePictureOutputDto { + static fromJS(data: any): IcsManufacturingListDto { data = typeof data === 'object' ? data : {}; - let result = new GetProfilePictureOutputDto(); + let result = new IcsManufacturingListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["profilePicture"] = this.profilePicture; + data["key"] = this.key; + data["mfId"] = this.mfId; + data["manufacturingSerial"] = this.manufacturingSerial; + data["manufacturingType"] = this.manufacturingType; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["itemModel"] = this.itemModel; + data["itemModelCode"] = this.itemModelCode; + data["itemStd"] = this.itemStd; + data["cusCode"] = this.cusCode; + data["contractNo"] = this.contractNo; + data["deviceName"] = this.deviceName; + data["manufacturingNo"] = this.manufacturingNo; + data["deliveryDate"] = this.deliveryDate ? this.deliveryDate.toISOString() : undefined; + data["issuingDate"] = this.issuingDate ? this.issuingDate.toISOString() : undefined; + data["businessCode"] = this.businessCode; + data["tagNumber"] = this.tagNumber; + data["oilBan"] = this.oilBan; + data["version"] = this.version; + data["u9Flag"] = this.u9Flag; + data["manufacturingMemo"] = this.manufacturingMemo; + data["repairAddress"] = this.repairAddress; + data["audit"] = this.audit; + data["sendMoTime"] = this.sendMoTime ? this.sendMoTime.toISOString() : undefined; + data["sendMo"] = this.sendMo; + data["signFor"] = this.signFor; + data["signForTime"] = this.signForTime ? this.signForTime.toISOString() : undefined; + data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetProfilePictureOutputDto { + clone(): IcsManufacturingListDto { const json = this.toJSON(); - let result = new GetProfilePictureOutputDto(); + let result = new IcsManufacturingListDto(); result.init(json); return result; } } -/** 简介图片输出 */ -export interface IGetProfilePictureOutputDto { - /** 简介图片 */ - profilePicture: string | undefined; +export interface IIcsManufacturingListDto { + key: string | undefined; + mfId: number; + manufacturingSerial: string | undefined; + manufacturingType: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemModel: string | undefined; + itemModelCode: string | undefined; + itemStd: string | undefined; + cusCode: string | undefined; + contractNo: string | undefined; + deviceName: string | undefined; + manufacturingNo: string | undefined; + deliveryDate: moment.Moment; + issuingDate: moment.Moment; + businessCode: string | undefined; + tagNumber: string | undefined; + oilBan: string | undefined; + version: string | undefined; + u9Flag: string | undefined; + manufacturingMemo: string | undefined; + repairAddress: string | undefined; + audit: string | undefined; + sendMoTime: moment.Moment | undefined; + sendMo: string | undefined; + signFor: string | undefined; + signForTime: moment.Moment | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 获取盈利股票 */ -export class GetProfitShareOutput implements IGetProfitShareOutput { - /** 盈利股票 */ - profitShares: number[] | undefined; +export class IcsManufacturingTableInput implements IIcsManufacturingTableInput { + key: string | undefined; + id: number; + table: string | undefined; + title: string | undefined; + col: string | undefined; + value: string | undefined; + colType: string | undefined; - constructor(data?: IGetProfitShareOutput) { + constructor(data?: IIcsManufacturingTableInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -64878,57 +104316,61 @@ export class GetProfitShareOutput implements IGetProfitShareOutput { init(_data?: any) { if (_data) { - if (Array.isArray(_data["profitShares"])) { - this.profitShares = [] as any; - for (let item of _data["profitShares"]) - this.profitShares.push(item); - } + this.key = _data["key"]; + this.id = _data["id"]; + this.table = _data["table"]; + this.title = _data["title"]; + this.col = _data["col"]; + this.value = _data["value"]; + this.colType = _data["colType"]; } } - static fromJS(data: any): GetProfitShareOutput { + static fromJS(data: any): IcsManufacturingTableInput { data = typeof data === 'object' ? data : {}; - let result = new GetProfitShareOutput(); + let result = new IcsManufacturingTableInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.profitShares)) { - data["profitShares"] = []; - for (let item of this.profitShares) - data["profitShares"].push(item); - } + data["key"] = this.key; + data["id"] = this.id; + data["table"] = this.table; + data["title"] = this.title; + data["col"] = this.col; + data["value"] = this.value; + data["colType"] = this.colType; return data; } - clone(): GetProfitShareOutput { + clone(): IcsManufacturingTableInput { const json = this.toJSON(); - let result = new GetProfitShareOutput(); + let result = new IcsManufacturingTableInput(); result.init(json); return result; } } -/** 获取盈利股票 */ -export interface IGetProfitShareOutput { - /** 盈利股票 */ - profitShares: number[] | undefined; +export interface IIcsManufacturingTableInput { + key: string | undefined; + id: number; + table: string | undefined; + title: string | undefined; + col: string | undefined; + value: string | undefined; + colType: string | undefined; } -/** 获取最近的租户 */ -export class GetRecentTenantsOutput implements IGetRecentTenantsOutput { - /** 最近租户天数 */ - recentTenantsDayCount: number; - /** 最大近期租户显示数 */ - maxRecentTenantsShownCount: number; - /** 租户创建开始时间 */ - tenantCreationStartDate: moment.Moment; - /** 近期租户集合 */ - recentTenants: RecentTenant[] | undefined; +export class IcsMfActionEditDto implements IIcsMfActionEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + actionForm: string | undefined; + emergencyAction: string | undefined; - constructor(data?: IGetRecentTenantsOutput) { + constructor(data?: IIcsMfActionEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -64939,63 +104381,62 @@ export class GetRecentTenantsOutput implements IGetRecentTenantsOutput { init(_data?: any) { if (_data) { - this.recentTenantsDayCount = _data["recentTenantsDayCount"]; - this.maxRecentTenantsShownCount = _data["maxRecentTenantsShownCount"]; - this.tenantCreationStartDate = _data["tenantCreationStartDate"] ? moment(_data["tenantCreationStartDate"].toString()) : undefined; - if (Array.isArray(_data["recentTenants"])) { - this.recentTenants = [] as any; - for (let item of _data["recentTenants"]) - this.recentTenants.push(RecentTenant.fromJS(item)); - } + this.key = _data["key"]; + this.id = _data["id"]; + this.mfId = _data["mfId"]; + this.actionForm = _data["actionForm"]; + this.emergencyAction = _data["emergencyAction"]; } } - static fromJS(data: any): GetRecentTenantsOutput { + static fromJS(data: any): IcsMfActionEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetRecentTenantsOutput(); + let result = new IcsMfActionEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["recentTenantsDayCount"] = this.recentTenantsDayCount; - data["maxRecentTenantsShownCount"] = this.maxRecentTenantsShownCount; - data["tenantCreationStartDate"] = this.tenantCreationStartDate ? this.tenantCreationStartDate.toISOString() : undefined; - if (Array.isArray(this.recentTenants)) { - data["recentTenants"] = []; - for (let item of this.recentTenants) - data["recentTenants"].push(item.toJSON()); - } + data["key"] = this.key; + data["id"] = this.id; + data["mfId"] = this.mfId; + data["actionForm"] = this.actionForm; + data["emergencyAction"] = this.emergencyAction; return data; } - clone(): GetRecentTenantsOutput { + clone(): IcsMfActionEditDto { const json = this.toJSON(); - let result = new GetRecentTenantsOutput(); + let result = new IcsMfActionEditDto(); result.init(json); return result; } } -/** 获取最近的租户 */ -export interface IGetRecentTenantsOutput { - /** 最近租户天数 */ - recentTenantsDayCount: number; - /** 最大近期租户显示数 */ - maxRecentTenantsShownCount: number; - /** 租户创建开始时间 */ - tenantCreationStartDate: moment.Moment; - /** 近期租户集合 */ - recentTenants: RecentTenant[] | undefined; +export interface IIcsMfActionEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + actionForm: string | undefined; + emergencyAction: string | undefined; } -/** 获取区域统计资料 */ -export class GetRegionalStatsOutput implements IGetRegionalStatsOutput { - /** 区域统计国家 YoyoBoot.MultiTenancy.TenantDashboard.Dto.RegionalStatCountry */ - stats: RegionalStatCountry[] | undefined; +export class IcsMfAdditionalSpecificationsEditDto implements IIcsMfAdditionalSpecificationsEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + oilBan: string | undefined; + copperBan: string | undefined; + mudCountermeasure: string | undefined; + fireproofing: string | undefined; + antiStatic: string | undefined; + naceProcessing: string | undefined; + specialFlangePitch: string | undefined; + certificationRequirement: string | undefined; + specialRequirement_AdditionalSpecifications: string | undefined; - constructor(data?: IGetRegionalStatsOutput) { + constructor(data?: IIcsMfAdditionalSpecificationsEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -65006,55 +104447,90 @@ export class GetRegionalStatsOutput implements IGetRegionalStatsOutput { init(_data?: any) { if (_data) { - if (Array.isArray(_data["stats"])) { - this.stats = [] as any; - for (let item of _data["stats"]) - this.stats.push(RegionalStatCountry.fromJS(item)); - } + this.key = _data["key"]; + this.id = _data["id"]; + this.mfId = _data["mfId"]; + this.oilBan = _data["oilBan"]; + this.copperBan = _data["copperBan"]; + this.mudCountermeasure = _data["mudCountermeasure"]; + this.fireproofing = _data["fireproofing"]; + this.antiStatic = _data["antiStatic"]; + this.naceProcessing = _data["naceProcessing"]; + this.specialFlangePitch = _data["specialFlangePitch"]; + this.certificationRequirement = _data["certificationRequirement"]; + this.specialRequirement_AdditionalSpecifications = _data["specialRequirement_AdditionalSpecifications"]; } } - static fromJS(data: any): GetRegionalStatsOutput { + static fromJS(data: any): IcsMfAdditionalSpecificationsEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetRegionalStatsOutput(); + let result = new IcsMfAdditionalSpecificationsEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.stats)) { - data["stats"] = []; - for (let item of this.stats) - data["stats"].push(item.toJSON()); - } + data["key"] = this.key; + data["id"] = this.id; + data["mfId"] = this.mfId; + data["oilBan"] = this.oilBan; + data["copperBan"] = this.copperBan; + data["mudCountermeasure"] = this.mudCountermeasure; + data["fireproofing"] = this.fireproofing; + data["antiStatic"] = this.antiStatic; + data["naceProcessing"] = this.naceProcessing; + data["specialFlangePitch"] = this.specialFlangePitch; + data["certificationRequirement"] = this.certificationRequirement; + data["specialRequirement_AdditionalSpecifications"] = this.specialRequirement_AdditionalSpecifications; return data; } - clone(): GetRegionalStatsOutput { + clone(): IcsMfAdditionalSpecificationsEditDto { const json = this.toJSON(); - let result = new GetRegionalStatsOutput(); + let result = new IcsMfAdditionalSpecificationsEditDto(); result.init(json); return result; } } -/** 获取区域统计资料 */ -export interface IGetRegionalStatsOutput { - /** 区域统计国家 YoyoBoot.MultiTenancy.TenantDashboard.Dto.RegionalStatCountry */ - stats: RegionalStatCountry[] | undefined; -} - -/** 获取角色编辑 */ -export class GetRoleForEditOutput implements IGetRoleForEditOutput { - role: RoleEditDto; - /** 权限列表 -YoyoBoot.Authorization.Permissions.Dtos.FlatPermissionDto */ - permissions: FlatPermissionDto[] | undefined; - /** 授权权限集合 */ - grantedPermissionNames: string[] | undefined; +export interface IIcsMfAdditionalSpecificationsEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + oilBan: string | undefined; + copperBan: string | undefined; + mudCountermeasure: string | undefined; + fireproofing: string | undefined; + antiStatic: string | undefined; + naceProcessing: string | undefined; + specialFlangePitch: string | undefined; + certificationRequirement: string | undefined; + specialRequirement_AdditionalSpecifications: string | undefined; +} + +export class IcsMfControlAccessorySpecEditDto implements IIcsMfControlAccessorySpecEditDto { + key: string | undefined; + id: number | undefined; + mfId: number | undefined; + attachment: string | undefined; + attachmentSpecification: string | undefined; + controlForm: string | undefined; + controlFormName: string | undefined; + connection: string | undefined; + explosionProofLeve: string | undefined; + inputOutputSignal: string | undefined; + attachmentBrand: string | undefined; + filterRegulators: string | undefined; + qty: number | undefined; + voltage: string | undefined; + consumption: string | undefined; + outerCovering: string | undefined; + detectionSwitchPosition: string | undefined; + attachmentUnit: string | undefined; + memo: string | undefined; - constructor(data?: IGetRoleForEditOutput) { + constructor(data?: IIcsMfControlAccessorySpecEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -65065,75 +104541,110 @@ YoyoBoot.Authorization.Permissions.Dtos.FlatPermissionDto */ init(_data?: any) { if (_data) { - this.role = _data["role"] ? RoleEditDto.fromJS(_data["role"]) : undefined; - if (Array.isArray(_data["permissions"])) { - this.permissions = [] as any; - for (let item of _data["permissions"]) - this.permissions.push(FlatPermissionDto.fromJS(item)); - } - if (Array.isArray(_data["grantedPermissionNames"])) { - this.grantedPermissionNames = [] as any; - for (let item of _data["grantedPermissionNames"]) - this.grantedPermissionNames.push(item); - } + this.key = _data["key"]; + this.id = _data["id"]; + this.mfId = _data["mfId"]; + this.attachment = _data["attachment"]; + this.attachmentSpecification = _data["attachmentSpecification"]; + this.controlForm = _data["controlForm"]; + this.controlFormName = _data["controlFormName"]; + this.connection = _data["connection"]; + this.explosionProofLeve = _data["explosionProofLeve"]; + this.inputOutputSignal = _data["inputOutputSignal"]; + this.attachmentBrand = _data["attachmentBrand"]; + this.filterRegulators = _data["filterRegulators"]; + this.qty = _data["qty"]; + this.voltage = _data["voltage"]; + this.consumption = _data["consumption"]; + this.outerCovering = _data["outerCovering"]; + this.detectionSwitchPosition = _data["detectionSwitchPosition"]; + this.attachmentUnit = _data["attachmentUnit"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetRoleForEditOutput { + static fromJS(data: any): IcsMfControlAccessorySpecEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetRoleForEditOutput(); + let result = new IcsMfControlAccessorySpecEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["role"] = this.role ? this.role.toJSON() : undefined; - if (Array.isArray(this.permissions)) { - data["permissions"] = []; - for (let item of this.permissions) - data["permissions"].push(item.toJSON()); - } - if (Array.isArray(this.grantedPermissionNames)) { - data["grantedPermissionNames"] = []; - for (let item of this.grantedPermissionNames) - data["grantedPermissionNames"].push(item); - } + data["key"] = this.key; + data["id"] = this.id; + data["mfId"] = this.mfId; + data["attachment"] = this.attachment; + data["attachmentSpecification"] = this.attachmentSpecification; + data["controlForm"] = this.controlForm; + data["controlFormName"] = this.controlFormName; + data["connection"] = this.connection; + data["explosionProofLeve"] = this.explosionProofLeve; + data["inputOutputSignal"] = this.inputOutputSignal; + data["attachmentBrand"] = this.attachmentBrand; + data["filterRegulators"] = this.filterRegulators; + data["qty"] = this.qty; + data["voltage"] = this.voltage; + data["consumption"] = this.consumption; + data["outerCovering"] = this.outerCovering; + data["detectionSwitchPosition"] = this.detectionSwitchPosition; + data["attachmentUnit"] = this.attachmentUnit; + data["memo"] = this.memo; return data; } - clone(): GetRoleForEditOutput { + clone(): IcsMfControlAccessorySpecEditDto { const json = this.toJSON(); - let result = new GetRoleForEditOutput(); + let result = new IcsMfControlAccessorySpecEditDto(); result.init(json); return result; } } -/** 获取角色编辑 */ -export interface IGetRoleForEditOutput { - role: RoleEditDto; - /** 权限列表 -YoyoBoot.Authorization.Permissions.Dtos.FlatPermissionDto */ - permissions: FlatPermissionDto[] | undefined; - /** 授权权限集合 */ - grantedPermissionNames: string[] | undefined; +export interface IIcsMfControlAccessorySpecEditDto { + key: string | undefined; + id: number | undefined; + mfId: number | undefined; + attachment: string | undefined; + attachmentSpecification: string | undefined; + controlForm: string | undefined; + controlFormName: string | undefined; + connection: string | undefined; + explosionProofLeve: string | undefined; + inputOutputSignal: string | undefined; + attachmentBrand: string | undefined; + filterRegulators: string | undefined; + qty: number | undefined; + voltage: string | undefined; + consumption: string | undefined; + outerCovering: string | undefined; + detectionSwitchPosition: string | undefined; + attachmentUnit: string | undefined; + memo: string | undefined; } -/** 获取销售总结 */ -export class GetSalesSummaryOutput implements IGetSalesSummaryOutput { - /** 销售总额 */ - totalSales: number; - /** 收入 */ - revenue: number; - /** 支出 */ - expenses: number; - /** 增长 */ - growth: number; - /** 销售汇总数据 YoyoBoot.MultiTenancy.TenantDashboard.Dto.SalesSummaryData */ - salesSummary: SalesSummaryData[] | undefined; +export class IcsMfControlInstallEditDto implements IIcsMfControlInstallEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + controlSignal: string | undefined; + switchingSpeed: string | undefined; + airInterface: string | undefined; + electricalInterface: string | undefined; + protectionGrade: string | undefined; + installationMethod: string | undefined; + airSupplyPiping: string | undefined; + ssConnection: string | undefined; + ssConnector: string | undefined; + ssConnectingPlate: string | undefined; + explosionProofGland: string | undefined; + installOther: string | undefined; + setGasVoltage: string | undefined; + normalVoltage: string | undefined; + specialRequirement_ControlInstall: string | undefined; - constructor(data?: IGetSalesSummaryOutput) { + constructor(data?: IIcsMfControlInstallEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -65144,158 +104655,447 @@ export class GetSalesSummaryOutput implements IGetSalesSummaryOutput { init(_data?: any) { if (_data) { - this.totalSales = _data["totalSales"]; - this.revenue = _data["revenue"]; - this.expenses = _data["expenses"]; - this.growth = _data["growth"]; - if (Array.isArray(_data["salesSummary"])) { - this.salesSummary = [] as any; - for (let item of _data["salesSummary"]) - this.salesSummary.push(SalesSummaryData.fromJS(item)); - } + this.key = _data["key"]; + this.id = _data["id"]; + this.mfId = _data["mfId"]; + this.controlSignal = _data["controlSignal"]; + this.switchingSpeed = _data["switchingSpeed"]; + this.airInterface = _data["airInterface"]; + this.electricalInterface = _data["electricalInterface"]; + this.protectionGrade = _data["protectionGrade"]; + this.installationMethod = _data["installationMethod"]; + this.airSupplyPiping = _data["airSupplyPiping"]; + this.ssConnection = _data["ssConnection"]; + this.ssConnector = _data["ssConnector"]; + this.ssConnectingPlate = _data["ssConnectingPlate"]; + this.explosionProofGland = _data["explosionProofGland"]; + this.installOther = _data["installOther"]; + this.setGasVoltage = _data["setGasVoltage"]; + this.normalVoltage = _data["normalVoltage"]; + this.specialRequirement_ControlInstall = _data["specialRequirement_ControlInstall"]; } } - static fromJS(data: any): GetSalesSummaryOutput { + static fromJS(data: any): IcsMfControlInstallEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetSalesSummaryOutput(); + let result = new IcsMfControlInstallEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalSales"] = this.totalSales; - data["revenue"] = this.revenue; - data["expenses"] = this.expenses; - data["growth"] = this.growth; - if (Array.isArray(this.salesSummary)) { - data["salesSummary"] = []; - for (let item of this.salesSummary) - data["salesSummary"].push(item.toJSON()); - } + data["key"] = this.key; + data["id"] = this.id; + data["mfId"] = this.mfId; + data["controlSignal"] = this.controlSignal; + data["switchingSpeed"] = this.switchingSpeed; + data["airInterface"] = this.airInterface; + data["electricalInterface"] = this.electricalInterface; + data["protectionGrade"] = this.protectionGrade; + data["installationMethod"] = this.installationMethod; + data["airSupplyPiping"] = this.airSupplyPiping; + data["ssConnection"] = this.ssConnection; + data["ssConnector"] = this.ssConnector; + data["ssConnectingPlate"] = this.ssConnectingPlate; + data["explosionProofGland"] = this.explosionProofGland; + data["installOther"] = this.installOther; + data["setGasVoltage"] = this.setGasVoltage; + data["normalVoltage"] = this.normalVoltage; + data["specialRequirement_ControlInstall"] = this.specialRequirement_ControlInstall; return data; } - clone(): GetSalesSummaryOutput { + clone(): IcsMfControlInstallEditDto { const json = this.toJSON(); - let result = new GetSalesSummaryOutput(); + let result = new IcsMfControlInstallEditDto(); result.init(json); return result; } } -/** 获取销售总结 */ -export interface IGetSalesSummaryOutput { - /** 销售总额 */ - totalSales: number; - /** 收入 */ - revenue: number; - /** 支出 */ - expenses: number; - /** 增长 */ - growth: number; - /** 销售汇总数据 YoyoBoot.MultiTenancy.TenantDashboard.Dto.SalesSummaryData */ - salesSummary: SalesSummaryData[] | undefined; -} - -export class GetSysDataBaseForEditOutput implements IGetSysDataBaseForEditOutput { - sysDataBase: SysDataBaseEditDto; +export interface IIcsMfControlInstallEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + controlSignal: string | undefined; + switchingSpeed: string | undefined; + airInterface: string | undefined; + electricalInterface: string | undefined; + protectionGrade: string | undefined; + installationMethod: string | undefined; + airSupplyPiping: string | undefined; + ssConnection: string | undefined; + ssConnector: string | undefined; + ssConnectingPlate: string | undefined; + explosionProofGland: string | undefined; + installOther: string | undefined; + setGasVoltage: string | undefined; + normalVoltage: string | undefined; + specialRequirement_ControlInstall: string | undefined; +} + +export class IcsMfDriverSpecEditDto implements IIcsMfDriverSpecEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + partItemCode: string | undefined; + driveType: string | undefined; + driveModel: string | undefined; + driveStandard: string | undefined; + driveForm: string | undefined; + driveSpec: string | undefined; + driveOut: string | undefined; + driveUnit: string | undefined; + modeForm: string | undefined; + temperatureTating: string | undefined; + driveSource: string | undefined; + airConnection: string | undefined; + handwheelMechanism: string | undefined; + mechanicalLimit: string | undefined; + supportMaterial: string | undefined; + boltMaterial: string | undefined; + journey: string | undefined; + specialRequirement_DriverSpec: string | undefined; - constructor(data?: IGetSysDataBaseForEditOutput) { + constructor(data?: IIcsMfDriverSpecEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.sysDataBase = new SysDataBaseEditDto(); - } } init(_data?: any) { if (_data) { - this.sysDataBase = _data["sysDataBase"] ? SysDataBaseEditDto.fromJS(_data["sysDataBase"]) : new SysDataBaseEditDto(); + this.key = _data["key"]; + this.id = _data["id"]; + this.mfId = _data["mfId"]; + this.partItemCode = _data["partItemCode"]; + this.driveType = _data["driveType"]; + this.driveModel = _data["driveModel"]; + this.driveStandard = _data["driveStandard"]; + this.driveForm = _data["driveForm"]; + this.driveSpec = _data["driveSpec"]; + this.driveOut = _data["driveOut"]; + this.driveUnit = _data["driveUnit"]; + this.modeForm = _data["modeForm"]; + this.temperatureTating = _data["temperatureTating"]; + this.driveSource = _data["driveSource"]; + this.airConnection = _data["airConnection"]; + this.handwheelMechanism = _data["handwheelMechanism"]; + this.mechanicalLimit = _data["mechanicalLimit"]; + this.supportMaterial = _data["supportMaterial"]; + this.boltMaterial = _data["boltMaterial"]; + this.journey = _data["journey"]; + this.specialRequirement_DriverSpec = _data["specialRequirement_DriverSpec"]; } } - static fromJS(data: any): GetSysDataBaseForEditOutput { + static fromJS(data: any): IcsMfDriverSpecEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetSysDataBaseForEditOutput(); + let result = new IcsMfDriverSpecEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["sysDataBase"] = this.sysDataBase ? this.sysDataBase.toJSON() : undefined; + data["key"] = this.key; + data["id"] = this.id; + data["mfId"] = this.mfId; + data["partItemCode"] = this.partItemCode; + data["driveType"] = this.driveType; + data["driveModel"] = this.driveModel; + data["driveStandard"] = this.driveStandard; + data["driveForm"] = this.driveForm; + data["driveSpec"] = this.driveSpec; + data["driveOut"] = this.driveOut; + data["driveUnit"] = this.driveUnit; + data["modeForm"] = this.modeForm; + data["temperatureTating"] = this.temperatureTating; + data["driveSource"] = this.driveSource; + data["airConnection"] = this.airConnection; + data["handwheelMechanism"] = this.handwheelMechanism; + data["mechanicalLimit"] = this.mechanicalLimit; + data["supportMaterial"] = this.supportMaterial; + data["boltMaterial"] = this.boltMaterial; + data["journey"] = this.journey; + data["specialRequirement_DriverSpec"] = this.specialRequirement_DriverSpec; return data; } - clone(): GetSysDataBaseForEditOutput { + clone(): IcsMfDriverSpecEditDto { const json = this.toJSON(); - let result = new GetSysDataBaseForEditOutput(); + let result = new IcsMfDriverSpecEditDto(); result.init(json); return result; } } -export interface IGetSysDataBaseForEditOutput { - sysDataBase: SysDataBaseEditDto; -} - -export class GetSysEnumKeyForEditOutput implements IGetSysEnumKeyForEditOutput { - sysEnumKey: SysEnumKeyEditDto; +export interface IIcsMfDriverSpecEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + partItemCode: string | undefined; + driveType: string | undefined; + driveModel: string | undefined; + driveStandard: string | undefined; + driveForm: string | undefined; + driveSpec: string | undefined; + driveOut: string | undefined; + driveUnit: string | undefined; + modeForm: string | undefined; + temperatureTating: string | undefined; + driveSource: string | undefined; + airConnection: string | undefined; + handwheelMechanism: string | undefined; + mechanicalLimit: string | undefined; + supportMaterial: string | undefined; + boltMaterial: string | undefined; + journey: string | undefined; + specialRequirement_DriverSpec: string | undefined; +} + +export class IcsMfManufacturerCertificateEditDto implements IIcsMfManufacturerCertificateEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + customer: string | undefined; + contractNo: string | undefined; + tagNo: string | undefined; + productName: string | undefined; + type: string | undefined; + size: string | undefined; + rating: string | undefined; + bodyMaterial: string | undefined; + serialNo: string | undefined; + medium: string | undefined; + standard: string | undefined; + temepRange: string | undefined; + hydrTestPre: string | undefined; + date: string | undefined; + inspector: string | undefined; + qaEngineer: string | undefined; + designManufacturer: string | undefined; + name: string | undefined; + quantity: number; + accessories: string | undefined; + flangesGasketsBoltsAndNuts: string | undefined; + qualityCertificate: number; + materialCertificate: number; + operationManual: number; + testCertificate: number; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IGetSysEnumKeyForEditOutput) { + constructor(data?: IIcsMfManufacturerCertificateEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.sysEnumKey = new SysEnumKeyEditDto(); - } } init(_data?: any) { if (_data) { - this.sysEnumKey = _data["sysEnumKey"] ? SysEnumKeyEditDto.fromJS(_data["sysEnumKey"]) : new SysEnumKeyEditDto(); + this.key = _data["key"]; + this.id = _data["id"]; + this.mfId = _data["mfId"]; + this.customer = _data["customer"]; + this.contractNo = _data["contractNo"]; + this.tagNo = _data["tagNo"]; + this.productName = _data["productName"]; + this.type = _data["type"]; + this.size = _data["size"]; + this.rating = _data["rating"]; + this.bodyMaterial = _data["bodyMaterial"]; + this.serialNo = _data["serialNo"]; + this.medium = _data["medium"]; + this.standard = _data["standard"]; + this.temepRange = _data["temepRange"]; + this.hydrTestPre = _data["hydrTestPre"]; + this.date = _data["date"]; + this.inspector = _data["inspector"]; + this.qaEngineer = _data["qaEngineer"]; + this.designManufacturer = _data["designManufacturer"]; + this.name = _data["name"]; + this.quantity = _data["quantity"]; + this.accessories = _data["accessories"]; + this.flangesGasketsBoltsAndNuts = _data["flangesGasketsBoltsAndNuts"]; + this.qualityCertificate = _data["qualityCertificate"]; + this.materialCertificate = _data["materialCertificate"]; + this.operationManual = _data["operationManual"]; + this.testCertificate = _data["testCertificate"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): GetSysEnumKeyForEditOutput { + static fromJS(data: any): IcsMfManufacturerCertificateEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetSysEnumKeyForEditOutput(); + let result = new IcsMfManufacturerCertificateEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["sysEnumKey"] = this.sysEnumKey ? this.sysEnumKey.toJSON() : undefined; + data["key"] = this.key; + data["id"] = this.id; + data["mfId"] = this.mfId; + data["customer"] = this.customer; + data["contractNo"] = this.contractNo; + data["tagNo"] = this.tagNo; + data["productName"] = this.productName; + data["type"] = this.type; + data["size"] = this.size; + data["rating"] = this.rating; + data["bodyMaterial"] = this.bodyMaterial; + data["serialNo"] = this.serialNo; + data["medium"] = this.medium; + data["standard"] = this.standard; + data["temepRange"] = this.temepRange; + data["hydrTestPre"] = this.hydrTestPre; + data["date"] = this.date; + data["inspector"] = this.inspector; + data["qaEngineer"] = this.qaEngineer; + data["designManufacturer"] = this.designManufacturer; + data["name"] = this.name; + data["quantity"] = this.quantity; + data["accessories"] = this.accessories; + data["flangesGasketsBoltsAndNuts"] = this.flangesGasketsBoltsAndNuts; + data["qualityCertificate"] = this.qualityCertificate; + data["materialCertificate"] = this.materialCertificate; + data["operationManual"] = this.operationManual; + data["testCertificate"] = this.testCertificate; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): GetSysEnumKeyForEditOutput { + clone(): IcsMfManufacturerCertificateEditDto { const json = this.toJSON(); - let result = new GetSysEnumKeyForEditOutput(); + let result = new IcsMfManufacturerCertificateEditDto(); result.init(json); return result; } } -export interface IGetSysEnumKeyForEditOutput { - sysEnumKey: SysEnumKeyEditDto; +export interface IIcsMfManufacturerCertificateEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + customer: string | undefined; + contractNo: string | undefined; + tagNo: string | undefined; + productName: string | undefined; + type: string | undefined; + size: string | undefined; + rating: string | undefined; + bodyMaterial: string | undefined; + serialNo: string | undefined; + medium: string | undefined; + standard: string | undefined; + temepRange: string | undefined; + hydrTestPre: string | undefined; + date: string | undefined; + inspector: string | undefined; + qaEngineer: string | undefined; + designManufacturer: string | undefined; + name: string | undefined; + quantity: number; + accessories: string | undefined; + flangesGasketsBoltsAndNuts: string | undefined; + qualityCertificate: number; + materialCertificate: number; + operationManual: number; + testCertificate: number; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -/** 读取可编辑文件的Dto */ -export class GetSysFileForEditOutput implements IGetSysFileForEditOutput { - sysFile: SysFileEditDto; +export class IcsMfManufacturerCertificateListDto implements IIcsMfManufacturerCertificateListDto { + key: string | undefined; + mfId: number; + customer: string | undefined; + contractNo: string | undefined; + tagNo: string | undefined; + productName: string | undefined; + type: string | undefined; + size: string | undefined; + rating: string | undefined; + bodyMaterial: string | undefined; + serialNo: string | undefined; + medium: string | undefined; + standard: string | undefined; + temepRange: string | undefined; + hydrTestPre: string | undefined; + date: string | undefined; + inspector: string | undefined; + qaEngineer: string | undefined; + designManufacturer: string | undefined; + name: string | undefined; + quantity: number; + accessories: string | undefined; + flangesGasketsBoltsAndNuts: string | undefined; + qualityCertificate: number; + materialCertificate: number; + operationManual: number; + testCertificate: number; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetSysFileForEditOutput) { + constructor(data?: IIcsMfManufacturerCertificateListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -65306,44 +105106,191 @@ export class GetSysFileForEditOutput implements IGetSysFileForEditOutput { init(_data?: any) { if (_data) { - this.sysFile = _data["sysFile"] ? SysFileEditDto.fromJS(_data["sysFile"]) : undefined; + this.key = _data["key"]; + this.mfId = _data["mfId"]; + this.customer = _data["customer"]; + this.contractNo = _data["contractNo"]; + this.tagNo = _data["tagNo"]; + this.productName = _data["productName"]; + this.type = _data["type"]; + this.size = _data["size"]; + this.rating = _data["rating"]; + this.bodyMaterial = _data["bodyMaterial"]; + this.serialNo = _data["serialNo"]; + this.medium = _data["medium"]; + this.standard = _data["standard"]; + this.temepRange = _data["temepRange"]; + this.hydrTestPre = _data["hydrTestPre"]; + this.date = _data["date"]; + this.inspector = _data["inspector"]; + this.qaEngineer = _data["qaEngineer"]; + this.designManufacturer = _data["designManufacturer"]; + this.name = _data["name"]; + this.quantity = _data["quantity"]; + this.accessories = _data["accessories"]; + this.flangesGasketsBoltsAndNuts = _data["flangesGasketsBoltsAndNuts"]; + this.qualityCertificate = _data["qualityCertificate"]; + this.materialCertificate = _data["materialCertificate"]; + this.operationManual = _data["operationManual"]; + this.testCertificate = _data["testCertificate"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetSysFileForEditOutput { + static fromJS(data: any): IcsMfManufacturerCertificateListDto { data = typeof data === 'object' ? data : {}; - let result = new GetSysFileForEditOutput(); + let result = new IcsMfManufacturerCertificateListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["sysFile"] = this.sysFile ? this.sysFile.toJSON() : undefined; + data["key"] = this.key; + data["mfId"] = this.mfId; + data["customer"] = this.customer; + data["contractNo"] = this.contractNo; + data["tagNo"] = this.tagNo; + data["productName"] = this.productName; + data["type"] = this.type; + data["size"] = this.size; + data["rating"] = this.rating; + data["bodyMaterial"] = this.bodyMaterial; + data["serialNo"] = this.serialNo; + data["medium"] = this.medium; + data["standard"] = this.standard; + data["temepRange"] = this.temepRange; + data["hydrTestPre"] = this.hydrTestPre; + data["date"] = this.date; + data["inspector"] = this.inspector; + data["qaEngineer"] = this.qaEngineer; + data["designManufacturer"] = this.designManufacturer; + data["name"] = this.name; + data["quantity"] = this.quantity; + data["accessories"] = this.accessories; + data["flangesGasketsBoltsAndNuts"] = this.flangesGasketsBoltsAndNuts; + data["qualityCertificate"] = this.qualityCertificate; + data["materialCertificate"] = this.materialCertificate; + data["operationManual"] = this.operationManual; + data["testCertificate"] = this.testCertificate; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetSysFileForEditOutput { + clone(): IcsMfManufacturerCertificateListDto { const json = this.toJSON(); - let result = new GetSysFileForEditOutput(); + let result = new IcsMfManufacturerCertificateListDto(); result.init(json); return result; } } -/** 读取可编辑文件的Dto */ -export interface IGetSysFileForEditOutput { - sysFile: SysFileEditDto; +export interface IIcsMfManufacturerCertificateListDto { + key: string | undefined; + mfId: number; + customer: string | undefined; + contractNo: string | undefined; + tagNo: string | undefined; + productName: string | undefined; + type: string | undefined; + size: string | undefined; + rating: string | undefined; + bodyMaterial: string | undefined; + serialNo: string | undefined; + medium: string | undefined; + standard: string | undefined; + temepRange: string | undefined; + hydrTestPre: string | undefined; + date: string | undefined; + inspector: string | undefined; + qaEngineer: string | undefined; + designManufacturer: string | undefined; + name: string | undefined; + quantity: number; + accessories: string | undefined; + flangesGasketsBoltsAndNuts: string | undefined; + qualityCertificate: number; + materialCertificate: number; + operationManual: number; + testCertificate: number; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 获取租户功能编辑 */ -export class GetTenantFeaturesEditOutput implements IGetTenantFeaturesEditOutput { - /** 功能值 */ - featureValues: NameValueDto[] | undefined; - /** 功能集合 */ - features: FlatFeatureDto[] | undefined; +export class IcsMfMediumParamEditDto implements IIcsMfMediumParamEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + tagNumber: string | undefined; + userTo: string | undefined; + designPressure: string | undefined; + designPressureUnit: string | undefined; + designTemperature: string | undefined; + designTemperatureUnit: string | undefined; + operatingPressure: string | undefined; + operatingPressureUnit: string | undefined; + operatingTemperature: string | undefined; + operatingTemperatureUnit: string | undefined; + mediaName: string | undefined; + mediaStatus: string | undefined; + pipeInsize: string | undefined; + pipeOutsize: string | undefined; + pipeMaterial: string | undefined; + pipeSpec: string | undefined; + dynamicViscosity: string | undefined; + saturationVaporPressure: string | undefined; + criticalPressure: string | undefined; + environmentTemperature: string | undefined; + compressibilityFactor: string | undefined; - constructor(data?: IGetTenantFeaturesEditOutput) { + constructor(data?: IIcsMfMediumParamEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -65354,69 +105301,150 @@ export class GetTenantFeaturesEditOutput implements IGetTenantFeaturesEditOutput init(_data?: any) { if (_data) { - if (Array.isArray(_data["featureValues"])) { - this.featureValues = [] as any; - for (let item of _data["featureValues"]) - this.featureValues.push(NameValueDto.fromJS(item)); - } - if (Array.isArray(_data["features"])) { - this.features = [] as any; - for (let item of _data["features"]) - this.features.push(FlatFeatureDto.fromJS(item)); - } + this.key = _data["key"]; + this.id = _data["id"]; + this.mfId = _data["mfId"]; + this.tagNumber = _data["tagNumber"]; + this.userTo = _data["userTo"]; + this.designPressure = _data["designPressure"]; + this.designPressureUnit = _data["designPressureUnit"]; + this.designTemperature = _data["designTemperature"]; + this.designTemperatureUnit = _data["designTemperatureUnit"]; + this.operatingPressure = _data["operatingPressure"]; + this.operatingPressureUnit = _data["operatingPressureUnit"]; + this.operatingTemperature = _data["operatingTemperature"]; + this.operatingTemperatureUnit = _data["operatingTemperatureUnit"]; + this.mediaName = _data["mediaName"]; + this.mediaStatus = _data["mediaStatus"]; + this.pipeInsize = _data["pipeInsize"]; + this.pipeOutsize = _data["pipeOutsize"]; + this.pipeMaterial = _data["pipeMaterial"]; + this.pipeSpec = _data["pipeSpec"]; + this.dynamicViscosity = _data["dynamicViscosity"]; + this.saturationVaporPressure = _data["saturationVaporPressure"]; + this.criticalPressure = _data["criticalPressure"]; + this.environmentTemperature = _data["environmentTemperature"]; + this.compressibilityFactor = _data["compressibilityFactor"]; } } - static fromJS(data: any): GetTenantFeaturesEditOutput { + static fromJS(data: any): IcsMfMediumParamEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetTenantFeaturesEditOutput(); + let result = new IcsMfMediumParamEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.featureValues)) { - data["featureValues"] = []; - for (let item of this.featureValues) - data["featureValues"].push(item.toJSON()); - } - if (Array.isArray(this.features)) { - data["features"] = []; - for (let item of this.features) - data["features"].push(item.toJSON()); - } + data["key"] = this.key; + data["id"] = this.id; + data["mfId"] = this.mfId; + data["tagNumber"] = this.tagNumber; + data["userTo"] = this.userTo; + data["designPressure"] = this.designPressure; + data["designPressureUnit"] = this.designPressureUnit; + data["designTemperature"] = this.designTemperature; + data["designTemperatureUnit"] = this.designTemperatureUnit; + data["operatingPressure"] = this.operatingPressure; + data["operatingPressureUnit"] = this.operatingPressureUnit; + data["operatingTemperature"] = this.operatingTemperature; + data["operatingTemperatureUnit"] = this.operatingTemperatureUnit; + data["mediaName"] = this.mediaName; + data["mediaStatus"] = this.mediaStatus; + data["pipeInsize"] = this.pipeInsize; + data["pipeOutsize"] = this.pipeOutsize; + data["pipeMaterial"] = this.pipeMaterial; + data["pipeSpec"] = this.pipeSpec; + data["dynamicViscosity"] = this.dynamicViscosity; + data["saturationVaporPressure"] = this.saturationVaporPressure; + data["criticalPressure"] = this.criticalPressure; + data["environmentTemperature"] = this.environmentTemperature; + data["compressibilityFactor"] = this.compressibilityFactor; return data; } - clone(): GetTenantFeaturesEditOutput { + clone(): IcsMfMediumParamEditDto { const json = this.toJSON(); - let result = new GetTenantFeaturesEditOutput(); + let result = new IcsMfMediumParamEditDto(); result.init(json); return result; } } -/** 获取租户功能编辑 */ -export interface IGetTenantFeaturesEditOutput { - /** 功能值 */ - featureValues: NameValueDto[] | undefined; - /** 功能集合 */ - features: FlatFeatureDto[] | undefined; -} - -/** 统计数据输出 */ -export class GetTopStatsOutput implements IGetTopStatsOutput { - /** 总利润 */ - totalProfit: number; - /** 新的反馈 */ - newFeedbacks: number; - /** 新订单 */ - newOrders: number; - /** 新用户 */ - newUsers: number; - - constructor(data?: IGetTopStatsOutput) { +export interface IIcsMfMediumParamEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + tagNumber: string | undefined; + userTo: string | undefined; + designPressure: string | undefined; + designPressureUnit: string | undefined; + designTemperature: string | undefined; + designTemperatureUnit: string | undefined; + operatingPressure: string | undefined; + operatingPressureUnit: string | undefined; + operatingTemperature: string | undefined; + operatingTemperatureUnit: string | undefined; + mediaName: string | undefined; + mediaStatus: string | undefined; + pipeInsize: string | undefined; + pipeOutsize: string | undefined; + pipeMaterial: string | undefined; + pipeSpec: string | undefined; + dynamicViscosity: string | undefined; + saturationVaporPressure: string | undefined; + criticalPressure: string | undefined; + environmentTemperature: string | undefined; + compressibilityFactor: string | undefined; +} + +export class IcsMfProcessConditionsEditDto implements IIcsMfProcessConditionsEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + fluidFlowUnit: string | undefined; + fluidFlowMin: number; + fluidFlowNor: number; + fluidFlowMax: number; + upstreamPressureUnit: string | undefined; + upstreamPressureMin: number; + upstreamPressureNor: number; + upstreamPressureMax: number; + downstreamPressureUnit: string | undefined; + downstreamPressureMin: number; + downstreamPressureNor: number; + downstreamPressureMax: number; + closingDiffPressureUnit: string | undefined; + closingDiffPressureMin: number; + closingDiffPressureNor: number; + closingDiffPressureMax: number; + inletTemperatureUnit: string | undefined; + inletTemperatureMin: number; + inletTemperatureNor: number; + inletTemperatureMax: number; + densitySpecificGravityUnit: string | undefined; + densitySpecificGravityMin: number; + densitySpecificGravityNor: number; + densitySpecificGravityMax: number; + calculateCvUnit: string | undefined; + calculateCvMin: number; + calculateCvNor: number; + calculateCvMax: number; + relativeOpeningUnit: string | undefined; + relativeOpeningMin: number; + relativeOpeningNor: number; + relativeOpeningMax: number; + calculateNoiseUnit: string | undefined; + calculateNoiseMin: number; + calculateNoiseNor: number; + calculateNoiseMax: number; + exitVelocityUnit: string | undefined; + exitVelocityMin: number; + exitVelocityNor: number; + exitVelocityMax: number; + + constructor(data?: IIcsMfProcessConditionsEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -65427,59 +105455,170 @@ export class GetTopStatsOutput implements IGetTopStatsOutput { init(_data?: any) { if (_data) { - this.totalProfit = _data["totalProfit"]; - this.newFeedbacks = _data["newFeedbacks"]; - this.newOrders = _data["newOrders"]; - this.newUsers = _data["newUsers"]; - } - } - - static fromJS(data: any): GetTopStatsOutput { - data = typeof data === 'object' ? data : {}; - let result = new GetTopStatsOutput(); + this.key = _data["key"]; + this.id = _data["id"]; + this.mfId = _data["mfId"]; + this.fluidFlowUnit = _data["fluidFlowUnit"]; + this.fluidFlowMin = _data["fluidFlowMin"]; + this.fluidFlowNor = _data["fluidFlowNor"]; + this.fluidFlowMax = _data["fluidFlowMax"]; + this.upstreamPressureUnit = _data["upstreamPressureUnit"]; + this.upstreamPressureMin = _data["upstreamPressureMin"]; + this.upstreamPressureNor = _data["upstreamPressureNor"]; + this.upstreamPressureMax = _data["upstreamPressureMax"]; + this.downstreamPressureUnit = _data["downstreamPressureUnit"]; + this.downstreamPressureMin = _data["downstreamPressureMin"]; + this.downstreamPressureNor = _data["downstreamPressureNor"]; + this.downstreamPressureMax = _data["downstreamPressureMax"]; + this.closingDiffPressureUnit = _data["closingDiffPressureUnit"]; + this.closingDiffPressureMin = _data["closingDiffPressureMin"]; + this.closingDiffPressureNor = _data["closingDiffPressureNor"]; + this.closingDiffPressureMax = _data["closingDiffPressureMax"]; + this.inletTemperatureUnit = _data["inletTemperatureUnit"]; + this.inletTemperatureMin = _data["inletTemperatureMin"]; + this.inletTemperatureNor = _data["inletTemperatureNor"]; + this.inletTemperatureMax = _data["inletTemperatureMax"]; + this.densitySpecificGravityUnit = _data["densitySpecificGravityUnit"]; + this.densitySpecificGravityMin = _data["densitySpecificGravityMin"]; + this.densitySpecificGravityNor = _data["densitySpecificGravityNor"]; + this.densitySpecificGravityMax = _data["densitySpecificGravityMax"]; + this.calculateCvUnit = _data["calculateCvUnit"]; + this.calculateCvMin = _data["calculateCvMin"]; + this.calculateCvNor = _data["calculateCvNor"]; + this.calculateCvMax = _data["calculateCvMax"]; + this.relativeOpeningUnit = _data["relativeOpeningUnit"]; + this.relativeOpeningMin = _data["relativeOpeningMin"]; + this.relativeOpeningNor = _data["relativeOpeningNor"]; + this.relativeOpeningMax = _data["relativeOpeningMax"]; + this.calculateNoiseUnit = _data["calculateNoiseUnit"]; + this.calculateNoiseMin = _data["calculateNoiseMin"]; + this.calculateNoiseNor = _data["calculateNoiseNor"]; + this.calculateNoiseMax = _data["calculateNoiseMax"]; + this.exitVelocityUnit = _data["exitVelocityUnit"]; + this.exitVelocityMin = _data["exitVelocityMin"]; + this.exitVelocityNor = _data["exitVelocityNor"]; + this.exitVelocityMax = _data["exitVelocityMax"]; + } + } + + static fromJS(data: any): IcsMfProcessConditionsEditDto { + data = typeof data === 'object' ? data : {}; + let result = new IcsMfProcessConditionsEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalProfit"] = this.totalProfit; - data["newFeedbacks"] = this.newFeedbacks; - data["newOrders"] = this.newOrders; - data["newUsers"] = this.newUsers; - return data; - } - - clone(): GetTopStatsOutput { - const json = this.toJSON(); - let result = new GetTopStatsOutput(); - result.init(json); - return result; - } -} - -/** 统计数据输出 */ -export interface IGetTopStatsOutput { - /** 总利润 */ - totalProfit: number; - /** 新的反馈 */ - newFeedbacks: number; - /** 新订单 */ - newOrders: number; - /** 新用户 */ - newUsers: number; -} - -/** 获取用户聊天设置 */ -export class GetUserChatFriendsWithSettingsOutput implements IGetUserChatFriendsWithSettingsOutput { - /** 服务时间 */ - serverTime: moment.Moment; - /** 好友列表 -YoyoBoot.Friendships.Dtos.FriendDto */ - friends: FriendDto[] | undefined; - friendState: EnumInfo; + data["key"] = this.key; + data["id"] = this.id; + data["mfId"] = this.mfId; + data["fluidFlowUnit"] = this.fluidFlowUnit; + data["fluidFlowMin"] = this.fluidFlowMin; + data["fluidFlowNor"] = this.fluidFlowNor; + data["fluidFlowMax"] = this.fluidFlowMax; + data["upstreamPressureUnit"] = this.upstreamPressureUnit; + data["upstreamPressureMin"] = this.upstreamPressureMin; + data["upstreamPressureNor"] = this.upstreamPressureNor; + data["upstreamPressureMax"] = this.upstreamPressureMax; + data["downstreamPressureUnit"] = this.downstreamPressureUnit; + data["downstreamPressureMin"] = this.downstreamPressureMin; + data["downstreamPressureNor"] = this.downstreamPressureNor; + data["downstreamPressureMax"] = this.downstreamPressureMax; + data["closingDiffPressureUnit"] = this.closingDiffPressureUnit; + data["closingDiffPressureMin"] = this.closingDiffPressureMin; + data["closingDiffPressureNor"] = this.closingDiffPressureNor; + data["closingDiffPressureMax"] = this.closingDiffPressureMax; + data["inletTemperatureUnit"] = this.inletTemperatureUnit; + data["inletTemperatureMin"] = this.inletTemperatureMin; + data["inletTemperatureNor"] = this.inletTemperatureNor; + data["inletTemperatureMax"] = this.inletTemperatureMax; + data["densitySpecificGravityUnit"] = this.densitySpecificGravityUnit; + data["densitySpecificGravityMin"] = this.densitySpecificGravityMin; + data["densitySpecificGravityNor"] = this.densitySpecificGravityNor; + data["densitySpecificGravityMax"] = this.densitySpecificGravityMax; + data["calculateCvUnit"] = this.calculateCvUnit; + data["calculateCvMin"] = this.calculateCvMin; + data["calculateCvNor"] = this.calculateCvNor; + data["calculateCvMax"] = this.calculateCvMax; + data["relativeOpeningUnit"] = this.relativeOpeningUnit; + data["relativeOpeningMin"] = this.relativeOpeningMin; + data["relativeOpeningNor"] = this.relativeOpeningNor; + data["relativeOpeningMax"] = this.relativeOpeningMax; + data["calculateNoiseUnit"] = this.calculateNoiseUnit; + data["calculateNoiseMin"] = this.calculateNoiseMin; + data["calculateNoiseNor"] = this.calculateNoiseNor; + data["calculateNoiseMax"] = this.calculateNoiseMax; + data["exitVelocityUnit"] = this.exitVelocityUnit; + data["exitVelocityMin"] = this.exitVelocityMin; + data["exitVelocityNor"] = this.exitVelocityNor; + data["exitVelocityMax"] = this.exitVelocityMax; + return data; + } + + clone(): IcsMfProcessConditionsEditDto { + const json = this.toJSON(); + let result = new IcsMfProcessConditionsEditDto(); + result.init(json); + return result; + } +} + +export interface IIcsMfProcessConditionsEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + fluidFlowUnit: string | undefined; + fluidFlowMin: number; + fluidFlowNor: number; + fluidFlowMax: number; + upstreamPressureUnit: string | undefined; + upstreamPressureMin: number; + upstreamPressureNor: number; + upstreamPressureMax: number; + downstreamPressureUnit: string | undefined; + downstreamPressureMin: number; + downstreamPressureNor: number; + downstreamPressureMax: number; + closingDiffPressureUnit: string | undefined; + closingDiffPressureMin: number; + closingDiffPressureNor: number; + closingDiffPressureMax: number; + inletTemperatureUnit: string | undefined; + inletTemperatureMin: number; + inletTemperatureNor: number; + inletTemperatureMax: number; + densitySpecificGravityUnit: string | undefined; + densitySpecificGravityMin: number; + densitySpecificGravityNor: number; + densitySpecificGravityMax: number; + calculateCvUnit: string | undefined; + calculateCvMin: number; + calculateCvNor: number; + calculateCvMax: number; + relativeOpeningUnit: string | undefined; + relativeOpeningMin: number; + relativeOpeningNor: number; + relativeOpeningMax: number; + calculateNoiseUnit: string | undefined; + calculateNoiseMin: number; + calculateNoiseNor: number; + calculateNoiseMax: number; + exitVelocityUnit: string | undefined; + exitVelocityMin: number; + exitVelocityNor: number; + exitVelocityMax: number; +} + +export class IcsMfSpecialRequirementsEditDto implements IIcsMfSpecialRequirementsEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + department: string | undefined; + requirement: string | undefined; + memo: string | undefined; - constructor(data?: IGetUserChatFriendsWithSettingsOutput) { + constructor(data?: IIcsMfSpecialRequirementsEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -65490,66 +105629,72 @@ YoyoBoot.Friendships.Dtos.FriendDto */ init(_data?: any) { if (_data) { - this.serverTime = _data["serverTime"] ? moment(_data["serverTime"].toString()) : undefined; - if (Array.isArray(_data["friends"])) { - this.friends = [] as any; - for (let item of _data["friends"]) - this.friends.push(FriendDto.fromJS(item)); - } - this.friendState = _data["friendState"] ? EnumInfo.fromJS(_data["friendState"]) : undefined; + this.key = _data["key"]; + this.id = _data["id"]; + this.mfId = _data["mfId"]; + this.department = _data["department"]; + this.requirement = _data["requirement"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): GetUserChatFriendsWithSettingsOutput { + static fromJS(data: any): IcsMfSpecialRequirementsEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetUserChatFriendsWithSettingsOutput(); + let result = new IcsMfSpecialRequirementsEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["serverTime"] = this.serverTime ? this.serverTime.toISOString() : undefined; - if (Array.isArray(this.friends)) { - data["friends"] = []; - for (let item of this.friends) - data["friends"].push(item.toJSON()); - } - data["friendState"] = this.friendState ? this.friendState.toJSON() : undefined; + data["key"] = this.key; + data["id"] = this.id; + data["mfId"] = this.mfId; + data["department"] = this.department; + data["requirement"] = this.requirement; + data["memo"] = this.memo; return data; } - clone(): GetUserChatFriendsWithSettingsOutput { + clone(): IcsMfSpecialRequirementsEditDto { const json = this.toJSON(); - let result = new GetUserChatFriendsWithSettingsOutput(); + let result = new IcsMfSpecialRequirementsEditDto(); result.init(json); return result; } } -/** 获取用户聊天设置 */ -export interface IGetUserChatFriendsWithSettingsOutput { - /** 服务时间 */ - serverTime: moment.Moment; - /** 好友列表 -YoyoBoot.Friendships.Dtos.FriendDto */ - friends: FriendDto[] | undefined; - friendState: EnumInfo; +export interface IIcsMfSpecialRequirementsEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + department: string | undefined; + requirement: string | undefined; + memo: string | undefined; } -/** 获取用户编辑 */ -export class GetUserForEditTreeOutput implements IGetUserForEditTreeOutput { - /** 简介图片编号 */ - profilePictureId: string | undefined; - user: UserEditDto; - /** 角色 YoyoBoot.UserManagement.Users.Dtos.UserRoleDto */ - roles: UserRoleDto[] | undefined; - /** 所有组织单元 YoyoBoot.Organizations.Dtos.OrganizationUnitListDto */ - allOrganizationUnits: OrganizationUnitListDto[] | undefined; - /** 组织单元成员 */ - memberedOrganizationUnits: string[] | undefined; +export class IcsMfTakeoverAttachmentEditDto implements IIcsMfTakeoverAttachmentEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + attachmentFlangeForm: string | undefined; + attachmentFlangeMaterial: string | undefined; + attachmentShimForm: string | undefined; + attachmentFlangeType: string | undefined; + attachmentShimMaterial: string | undefined; + attachmentBoltMaterial: string | undefined; + attachmentNutMaterial: string | undefined; + attachmentOther: string | undefined; + flangeDiameter: string | undefined; + pressureRating: string | undefined; + pipeType: string | undefined; + nozzleSize: string | undefined; + flangeType: string | undefined; + oilBanOrNot: string | undefined; + specialRequirement_TakeoverAttachment: string | undefined; + partItemCode: string | undefined; - constructor(data?: IGetUserForEditTreeOutput) { + constructor(data?: IIcsMfTakeoverAttachmentEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -65560,87 +105705,115 @@ export class GetUserForEditTreeOutput implements IGetUserForEditTreeOutput { init(_data?: any) { if (_data) { - this.profilePictureId = _data["profilePictureId"]; - this.user = _data["user"] ? UserEditDto.fromJS(_data["user"]) : undefined; - if (Array.isArray(_data["roles"])) { - this.roles = [] as any; - for (let item of _data["roles"]) - this.roles.push(UserRoleDto.fromJS(item)); - } - if (Array.isArray(_data["allOrganizationUnits"])) { - this.allOrganizationUnits = [] as any; - for (let item of _data["allOrganizationUnits"]) - this.allOrganizationUnits.push(OrganizationUnitListDto.fromJS(item)); - } - if (Array.isArray(_data["memberedOrganizationUnits"])) { - this.memberedOrganizationUnits = [] as any; - for (let item of _data["memberedOrganizationUnits"]) - this.memberedOrganizationUnits.push(item); - } + this.key = _data["key"]; + this.id = _data["id"]; + this.mfId = _data["mfId"]; + this.attachmentFlangeForm = _data["attachmentFlangeForm"]; + this.attachmentFlangeMaterial = _data["attachmentFlangeMaterial"]; + this.attachmentShimForm = _data["attachmentShimForm"]; + this.attachmentFlangeType = _data["attachmentFlangeType"]; + this.attachmentShimMaterial = _data["attachmentShimMaterial"]; + this.attachmentBoltMaterial = _data["attachmentBoltMaterial"]; + this.attachmentNutMaterial = _data["attachmentNutMaterial"]; + this.attachmentOther = _data["attachmentOther"]; + this.flangeDiameter = _data["flangeDiameter"]; + this.pressureRating = _data["pressureRating"]; + this.pipeType = _data["pipeType"]; + this.nozzleSize = _data["nozzleSize"]; + this.flangeType = _data["flangeType"]; + this.oilBanOrNot = _data["oilBanOrNot"]; + this.specialRequirement_TakeoverAttachment = _data["specialRequirement_TakeoverAttachment"]; + this.partItemCode = _data["partItemCode"]; } } - static fromJS(data: any): GetUserForEditTreeOutput { + static fromJS(data: any): IcsMfTakeoverAttachmentEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetUserForEditTreeOutput(); + let result = new IcsMfTakeoverAttachmentEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["profilePictureId"] = this.profilePictureId; - data["user"] = this.user ? this.user.toJSON() : undefined; - if (Array.isArray(this.roles)) { - data["roles"] = []; - for (let item of this.roles) - data["roles"].push(item.toJSON()); - } - if (Array.isArray(this.allOrganizationUnits)) { - data["allOrganizationUnits"] = []; - for (let item of this.allOrganizationUnits) - data["allOrganizationUnits"].push(item.toJSON()); - } - if (Array.isArray(this.memberedOrganizationUnits)) { - data["memberedOrganizationUnits"] = []; - for (let item of this.memberedOrganizationUnits) - data["memberedOrganizationUnits"].push(item); - } + data["key"] = this.key; + data["id"] = this.id; + data["mfId"] = this.mfId; + data["attachmentFlangeForm"] = this.attachmentFlangeForm; + data["attachmentFlangeMaterial"] = this.attachmentFlangeMaterial; + data["attachmentShimForm"] = this.attachmentShimForm; + data["attachmentFlangeType"] = this.attachmentFlangeType; + data["attachmentShimMaterial"] = this.attachmentShimMaterial; + data["attachmentBoltMaterial"] = this.attachmentBoltMaterial; + data["attachmentNutMaterial"] = this.attachmentNutMaterial; + data["attachmentOther"] = this.attachmentOther; + data["flangeDiameter"] = this.flangeDiameter; + data["pressureRating"] = this.pressureRating; + data["pipeType"] = this.pipeType; + data["nozzleSize"] = this.nozzleSize; + data["flangeType"] = this.flangeType; + data["oilBanOrNot"] = this.oilBanOrNot; + data["specialRequirement_TakeoverAttachment"] = this.specialRequirement_TakeoverAttachment; + data["partItemCode"] = this.partItemCode; return data; } - clone(): GetUserForEditTreeOutput { + clone(): IcsMfTakeoverAttachmentEditDto { const json = this.toJSON(); - let result = new GetUserForEditTreeOutput(); + let result = new IcsMfTakeoverAttachmentEditDto(); result.init(json); return result; } } -/** 获取用户编辑 */ -export interface IGetUserForEditTreeOutput { - /** 简介图片编号 */ - profilePictureId: string | undefined; - user: UserEditDto; - /** 角色 YoyoBoot.UserManagement.Users.Dtos.UserRoleDto */ - roles: UserRoleDto[] | undefined; - /** 所有组织单元 YoyoBoot.Organizations.Dtos.OrganizationUnitListDto */ - allOrganizationUnits: OrganizationUnitListDto[] | undefined; - /** 组织单元成员 */ - memberedOrganizationUnits: string[] | undefined; -} - -/** 获取通知信息的参数 */ -export class GetUserNotificationsInput implements IGetUserNotificationsInput { - state: UserNotificationState; - /** 开始时间 */ - startTime: moment.Moment | undefined; - /** 结束时间 */ - endTime: moment.Moment | undefined; - maxResultCount: number; - skipCount: number; +export interface IIcsMfTakeoverAttachmentEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + attachmentFlangeForm: string | undefined; + attachmentFlangeMaterial: string | undefined; + attachmentShimForm: string | undefined; + attachmentFlangeType: string | undefined; + attachmentShimMaterial: string | undefined; + attachmentBoltMaterial: string | undefined; + attachmentNutMaterial: string | undefined; + attachmentOther: string | undefined; + flangeDiameter: string | undefined; + pressureRating: string | undefined; + pipeType: string | undefined; + nozzleSize: string | undefined; + flangeType: string | undefined; + oilBanOrNot: string | undefined; + specialRequirement_TakeoverAttachment: string | undefined; + partItemCode: string | undefined; +} + +export class IcsMfValveBodySpecEditDto implements IIcsMfValveBodySpecEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + partItemCode: string | undefined; + valueModel: string | undefined; + valueForm: string | undefined; + nominalDiameter: string | undefined; + valveSeatDiameter: string | undefined; + nominalPressure: string | undefined; + connectionForm: string | undefined; + connectionForm2: string | undefined; + flange: string | undefined; + productStandards: string | undefined; + flowCharacteristics: string | undefined; + valveCoverForm: string | undefined; + valveCoreForm: string | undefined; + stepDownStage: string | undefined; + ratedCV: string | undefined; + leakageLevel: string | undefined; + ratedTravel: string | undefined; + upperValveCoverLength: string | undefined; + valveStemSize: string | undefined; + specialRequirement_ValveBodySpec: string | undefined; - constructor(data?: IGetUserNotificationsInput) { + constructor(data?: IIcsMfValveBodySpecEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -65651,58 +105824,118 @@ export class GetUserNotificationsInput implements IGetUserNotificationsInput { init(_data?: any) { if (_data) { - this.state = _data["state"]; - this.startTime = _data["startTime"] ? moment(_data["startTime"].toString()) : undefined; - this.endTime = _data["endTime"] ? moment(_data["endTime"].toString()) : undefined; - this.maxResultCount = _data["maxResultCount"]; - this.skipCount = _data["skipCount"]; + this.key = _data["key"]; + this.id = _data["id"]; + this.mfId = _data["mfId"]; + this.partItemCode = _data["partItemCode"]; + this.valueModel = _data["valueModel"]; + this.valueForm = _data["valueForm"]; + this.nominalDiameter = _data["nominalDiameter"]; + this.valveSeatDiameter = _data["valveSeatDiameter"]; + this.nominalPressure = _data["nominalPressure"]; + this.connectionForm = _data["connectionForm"]; + this.connectionForm2 = _data["connectionForm2"]; + this.flange = _data["flange"]; + this.productStandards = _data["productStandards"]; + this.flowCharacteristics = _data["flowCharacteristics"]; + this.valveCoverForm = _data["valveCoverForm"]; + this.valveCoreForm = _data["valveCoreForm"]; + this.stepDownStage = _data["stepDownStage"]; + this.ratedCV = _data["ratedCV"]; + this.leakageLevel = _data["leakageLevel"]; + this.ratedTravel = _data["ratedTravel"]; + this.upperValveCoverLength = _data["upperValveCoverLength"]; + this.valveStemSize = _data["valveStemSize"]; + this.specialRequirement_ValveBodySpec = _data["specialRequirement_ValveBodySpec"]; } } - static fromJS(data: any): GetUserNotificationsInput { + static fromJS(data: any): IcsMfValveBodySpecEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetUserNotificationsInput(); + let result = new IcsMfValveBodySpecEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["state"] = this.state; - data["startTime"] = this.startTime ? this.startTime.toISOString() : undefined; - data["endTime"] = this.endTime ? this.endTime.toISOString() : undefined; - data["maxResultCount"] = this.maxResultCount; - data["skipCount"] = this.skipCount; + data["key"] = this.key; + data["id"] = this.id; + data["mfId"] = this.mfId; + data["partItemCode"] = this.partItemCode; + data["valueModel"] = this.valueModel; + data["valueForm"] = this.valueForm; + data["nominalDiameter"] = this.nominalDiameter; + data["valveSeatDiameter"] = this.valveSeatDiameter; + data["nominalPressure"] = this.nominalPressure; + data["connectionForm"] = this.connectionForm; + data["connectionForm2"] = this.connectionForm2; + data["flange"] = this.flange; + data["productStandards"] = this.productStandards; + data["flowCharacteristics"] = this.flowCharacteristics; + data["valveCoverForm"] = this.valveCoverForm; + data["valveCoreForm"] = this.valveCoreForm; + data["stepDownStage"] = this.stepDownStage; + data["ratedCV"] = this.ratedCV; + data["leakageLevel"] = this.leakageLevel; + data["ratedTravel"] = this.ratedTravel; + data["upperValveCoverLength"] = this.upperValveCoverLength; + data["valveStemSize"] = this.valveStemSize; + data["specialRequirement_ValveBodySpec"] = this.specialRequirement_ValveBodySpec; return data; } - clone(): GetUserNotificationsInput { + clone(): IcsMfValveBodySpecEditDto { const json = this.toJSON(); - let result = new GetUserNotificationsInput(); + let result = new IcsMfValveBodySpecEditDto(); result.init(json); return result; } } -/** 获取通知信息的参数 */ -export interface IGetUserNotificationsInput { - state: UserNotificationState; - /** 开始时间 */ - startTime: moment.Moment | undefined; - /** 结束时间 */ - endTime: moment.Moment | undefined; - maxResultCount: number; - skipCount: number; -} - -/** 获取用户权限树编辑 */ -export class GetUserPermissionsTreeForEditOutput implements IGetUserPermissionsTreeForEditOutput { - /** 权限 YoyoBoot.Authorization.Permissions.Dtos.FlatPermissionDto */ - permissions: FlatPermissionDto[] | undefined; - /** 授权权限名称 */ - grantedPermissionNames: string[] | undefined; +export interface IIcsMfValveBodySpecEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + partItemCode: string | undefined; + valueModel: string | undefined; + valueForm: string | undefined; + nominalDiameter: string | undefined; + valveSeatDiameter: string | undefined; + nominalPressure: string | undefined; + connectionForm: string | undefined; + connectionForm2: string | undefined; + flange: string | undefined; + productStandards: string | undefined; + flowCharacteristics: string | undefined; + valveCoverForm: string | undefined; + valveCoreForm: string | undefined; + stepDownStage: string | undefined; + ratedCV: string | undefined; + leakageLevel: string | undefined; + ratedTravel: string | undefined; + upperValveCoverLength: string | undefined; + valveStemSize: string | undefined; + specialRequirement_ValveBodySpec: string | undefined; +} + +export class IcsMfValveTrimMateriaEditDto implements IIcsMfValveTrimMateriaEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + valueBodyMaterial: string | undefined; + middleFlangeBolt: string | undefined; + valueCoreMaterial: string | undefined; + valvePlateMaterial: string | undefined; + valveSeatMaterial: string | undefined; + valveStemMaterial: string | undefined; + sleeveGuideSleeve: string | undefined; + fillerMateria: string | undefined; + gasketMateria: string | undefined; + balancingSealingRing: string | undefined; + bearing: string | undefined; - constructor(data?: IGetUserPermissionsTreeForEditOutput) { + constructor(data?: IIcsMfValveTrimMateriaEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -65713,79 +105946,87 @@ export class GetUserPermissionsTreeForEditOutput implements IGetUserPermissionsT init(_data?: any) { if (_data) { - if (Array.isArray(_data["permissions"])) { - this.permissions = [] as any; - for (let item of _data["permissions"]) - this.permissions.push(FlatPermissionDto.fromJS(item)); - } - if (Array.isArray(_data["grantedPermissionNames"])) { - this.grantedPermissionNames = [] as any; - for (let item of _data["grantedPermissionNames"]) - this.grantedPermissionNames.push(item); - } + this.key = _data["key"]; + this.id = _data["id"]; + this.mfId = _data["mfId"]; + this.valueBodyMaterial = _data["valueBodyMaterial"]; + this.middleFlangeBolt = _data["middleFlangeBolt"]; + this.valueCoreMaterial = _data["valueCoreMaterial"]; + this.valvePlateMaterial = _data["valvePlateMaterial"]; + this.valveSeatMaterial = _data["valveSeatMaterial"]; + this.valveStemMaterial = _data["valveStemMaterial"]; + this.sleeveGuideSleeve = _data["sleeveGuideSleeve"]; + this.fillerMateria = _data["fillerMateria"]; + this.gasketMateria = _data["gasketMateria"]; + this.balancingSealingRing = _data["balancingSealingRing"]; + this.bearing = _data["bearing"]; } } - static fromJS(data: any): GetUserPermissionsTreeForEditOutput { + static fromJS(data: any): IcsMfValveTrimMateriaEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetUserPermissionsTreeForEditOutput(); + let result = new IcsMfValveTrimMateriaEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.permissions)) { - data["permissions"] = []; - for (let item of this.permissions) - data["permissions"].push(item.toJSON()); - } - if (Array.isArray(this.grantedPermissionNames)) { - data["grantedPermissionNames"] = []; - for (let item of this.grantedPermissionNames) - data["grantedPermissionNames"].push(item); - } + data["key"] = this.key; + data["id"] = this.id; + data["mfId"] = this.mfId; + data["valueBodyMaterial"] = this.valueBodyMaterial; + data["middleFlangeBolt"] = this.middleFlangeBolt; + data["valueCoreMaterial"] = this.valueCoreMaterial; + data["valvePlateMaterial"] = this.valvePlateMaterial; + data["valveSeatMaterial"] = this.valveSeatMaterial; + data["valveStemMaterial"] = this.valveStemMaterial; + data["sleeveGuideSleeve"] = this.sleeveGuideSleeve; + data["fillerMateria"] = this.fillerMateria; + data["gasketMateria"] = this.gasketMateria; + data["balancingSealingRing"] = this.balancingSealingRing; + data["bearing"] = this.bearing; return data; } - clone(): GetUserPermissionsTreeForEditOutput { + clone(): IcsMfValveTrimMateriaEditDto { const json = this.toJSON(); - let result = new GetUserPermissionsTreeForEditOutput(); + let result = new IcsMfValveTrimMateriaEditDto(); result.init(json); return result; } } -/** 获取用户权限树编辑 */ -export interface IGetUserPermissionsTreeForEditOutput { - /** 权限 YoyoBoot.Authorization.Permissions.Dtos.FlatPermissionDto */ - permissions: FlatPermissionDto[] | undefined; - /** 授权权限名称 */ - grantedPermissionNames: string[] | undefined; -} - -/** 用户信息查询Dto */ -export class GetUsersInput implements IGetUsersInput { - /** 权限 */ - permission: string[] | undefined; - /** 检索角色Id列表 */ - role: string[] | undefined; - /** 是否已验证邮箱 */ - isEmailConfirmed: boolean | undefined; - /** 是否已激活 */ - isActive: boolean | undefined; - /** 仅被锁定的用户 */ - onlyLockedUsers: boolean; - /** 创建时间筛选 */ - startTime: moment.Moment | undefined; - /** 创建时间筛选 */ - endTime: moment.Moment | undefined; - filterText: string | undefined; - sorting: string | undefined; - maxResultCount: number; - skipCount: number; +export interface IIcsMfValveTrimMateriaEditDto { + key: string | undefined; + id: number | undefined; + mfId: number; + valueBodyMaterial: string | undefined; + middleFlangeBolt: string | undefined; + valueCoreMaterial: string | undefined; + valvePlateMaterial: string | undefined; + valveSeatMaterial: string | undefined; + valveStemMaterial: string | undefined; + sleeveGuideSleeve: string | undefined; + fillerMateria: string | undefined; + gasketMateria: string | undefined; + balancingSealingRing: string | undefined; + bearing: string | undefined; +} + +export class IcsMfVersionDifferenceList implements IIcsMfVersionDifferenceList { + id: number; + code: string | undefined; + version1: string | undefined; + version2: string | undefined; + module: string | undefined; + field: string | undefined; + fieldText: string | undefined; + value1: string | undefined; + value2: string | undefined; + creationTime: moment.Moment | undefined; - constructor(data?: IGetUsersInput) { + constructor(data?: IIcsMfVersionDifferenceList) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -65796,96 +106037,107 @@ export class GetUsersInput implements IGetUsersInput { init(_data?: any) { if (_data) { - if (Array.isArray(_data["permission"])) { - this.permission = [] as any; - for (let item of _data["permission"]) - this.permission.push(item); - } - if (Array.isArray(_data["role"])) { - this.role = [] as any; - for (let item of _data["role"]) - this.role.push(item); - } - this.isEmailConfirmed = _data["isEmailConfirmed"]; - this.isActive = _data["isActive"]; - this.onlyLockedUsers = _data["onlyLockedUsers"]; - this.startTime = _data["startTime"] ? moment(_data["startTime"].toString()) : undefined; - this.endTime = _data["endTime"] ? moment(_data["endTime"].toString()) : undefined; - this.filterText = _data["filterText"]; - this.sorting = _data["sorting"]; - this.maxResultCount = _data["maxResultCount"]; - this.skipCount = _data["skipCount"]; + this.id = _data["id"]; + this.code = _data["code"]; + this.version1 = _data["version1"]; + this.version2 = _data["version2"]; + this.module = _data["module"]; + this.field = _data["field"]; + this.fieldText = _data["fieldText"]; + this.value1 = _data["value1"]; + this.value2 = _data["value2"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; } } - static fromJS(data: any): GetUsersInput { + static fromJS(data: any): IcsMfVersionDifferenceList { data = typeof data === 'object' ? data : {}; - let result = new GetUsersInput(); + let result = new IcsMfVersionDifferenceList(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.permission)) { - data["permission"] = []; - for (let item of this.permission) - data["permission"].push(item); - } - if (Array.isArray(this.role)) { - data["role"] = []; - for (let item of this.role) - data["role"].push(item); - } - data["isEmailConfirmed"] = this.isEmailConfirmed; - data["isActive"] = this.isActive; - data["onlyLockedUsers"] = this.onlyLockedUsers; - data["startTime"] = this.startTime ? this.startTime.toISOString() : undefined; - data["endTime"] = this.endTime ? this.endTime.toISOString() : undefined; - data["filterText"] = this.filterText; - data["sorting"] = this.sorting; - data["maxResultCount"] = this.maxResultCount; - data["skipCount"] = this.skipCount; + data["id"] = this.id; + data["code"] = this.code; + data["version1"] = this.version1; + data["version2"] = this.version2; + data["module"] = this.module; + data["field"] = this.field; + data["fieldText"] = this.fieldText; + data["value1"] = this.value1; + data["value2"] = this.value2; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; return data; } - clone(): GetUsersInput { + clone(): IcsMfVersionDifferenceList { const json = this.toJSON(); - let result = new GetUsersInput(); + let result = new IcsMfVersionDifferenceList(); result.init(json); return result; } } -/** 用户信息查询Dto */ -export interface IGetUsersInput { - /** 权限 */ - permission: string[] | undefined; - /** 检索角色Id列表 */ - role: string[] | undefined; - /** 是否已验证邮箱 */ - isEmailConfirmed: boolean | undefined; - /** 是否已激活 */ - isActive: boolean | undefined; - /** 仅被锁定的用户 */ - onlyLockedUsers: boolean; - /** 创建时间筛选 */ - startTime: moment.Moment | undefined; - /** 创建时间筛选 */ - endTime: moment.Moment | undefined; - filterText: string | undefined; - sorting: string | undefined; - maxResultCount: number; - skipCount: number; +export interface IIcsMfVersionDifferenceList { + id: number; + code: string | undefined; + version1: string | undefined; + version2: string | undefined; + module: string | undefined; + field: string | undefined; + fieldText: string | undefined; + value1: string | undefined; + value2: string | undefined; + creationTime: moment.Moment | undefined; } -/** 获取微信小程序编辑 */ -export class GetWechatAppConfigForEditOutput implements IGetWechatAppConfigForEditOutput { - wechatAppConfig: WechatAppConfigEditDto; - /** 微信小程序类型列表 */ - wechatAppTypeList: KeyValuePairOfStringInt32[] | undefined; +export class IcsMinNoEditDto implements IIcsMinNoEditDto { + key: string | undefined; + id: number | undefined; + seq: number; + mobsItemCode: string | undefined; + mItemCode: string | undefined; + moCode: string | undefined; + moSeq: number; + itemCode: string | undefined; + itemName: string | undefined; + opBomCode: string | undefined; + opBomVer: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + resCode: string | undefined; + isTry: string | undefined; + tryItemCode: string | undefined; + lotNo: string | undefined; + pcba: string | undefined; + bios: string | undefined; + version: string | undefined; + vendorItemCode: string | undefined; + vendorCode: string | undefined; + dateCode: string | undefined; + qty: number; + isLast: string | undefined; + mItemName: string | undefined; + mItemPackedNo: string | undefined; + lotQty: number; + nextLotNo: string | undefined; + nextLotQty: number | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + listDtos: IcsMinNoListDto[] | undefined; - constructor(data?: IGetWechatAppConfigForEditOutput) { + constructor(data?: IIcsMinNoEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -65896,60 +106148,215 @@ export class GetWechatAppConfigForEditOutput implements IGetWechatAppConfigForEd init(_data?: any) { if (_data) { - this.wechatAppConfig = _data["wechatAppConfig"] ? WechatAppConfigEditDto.fromJS(_data["wechatAppConfig"]) : undefined; - if (Array.isArray(_data["wechatAppTypeList"])) { - this.wechatAppTypeList = [] as any; - for (let item of _data["wechatAppTypeList"]) - this.wechatAppTypeList.push(KeyValuePairOfStringInt32.fromJS(item)); + this.key = _data["key"]; + this.id = _data["id"]; + this.seq = _data["seq"]; + this.mobsItemCode = _data["mobsItemCode"]; + this.mItemCode = _data["mItemCode"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.opBomCode = _data["opBomCode"]; + this.opBomVer = _data["opBomVer"]; + this.routeCode = _data["routeCode"]; + this.opCode = _data["opCode"]; + this.resCode = _data["resCode"]; + this.isTry = _data["isTry"]; + this.tryItemCode = _data["tryItemCode"]; + this.lotNo = _data["lotNo"]; + this.pcba = _data["pcba"]; + this.bios = _data["bios"]; + this.version = _data["version"]; + this.vendorItemCode = _data["vendorItemCode"]; + this.vendorCode = _data["vendorCode"]; + this.dateCode = _data["dateCode"]; + this.qty = _data["qty"]; + this.isLast = _data["isLast"]; + this.mItemName = _data["mItemName"]; + this.mItemPackedNo = _data["mItemPackedNo"]; + this.lotQty = _data["lotQty"]; + this.nextLotNo = _data["nextLotNo"]; + this.nextLotQty = _data["nextLotQty"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + if (Array.isArray(_data["listDtos"])) { + this.listDtos = [] as any; + for (let item of _data["listDtos"]) + this.listDtos.push(IcsMinNoListDto.fromJS(item)); } } } - static fromJS(data: any): GetWechatAppConfigForEditOutput { + static fromJS(data: any): IcsMinNoEditDto { data = typeof data === 'object' ? data : {}; - let result = new GetWechatAppConfigForEditOutput(); + let result = new IcsMinNoEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["wechatAppConfig"] = this.wechatAppConfig ? this.wechatAppConfig.toJSON() : undefined; - if (Array.isArray(this.wechatAppTypeList)) { - data["wechatAppTypeList"] = []; - for (let item of this.wechatAppTypeList) - data["wechatAppTypeList"].push(item.toJSON()); + data["key"] = this.key; + data["id"] = this.id; + data["seq"] = this.seq; + data["mobsItemCode"] = this.mobsItemCode; + data["mItemCode"] = this.mItemCode; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["opBomCode"] = this.opBomCode; + data["opBomVer"] = this.opBomVer; + data["routeCode"] = this.routeCode; + data["opCode"] = this.opCode; + data["resCode"] = this.resCode; + data["isTry"] = this.isTry; + data["tryItemCode"] = this.tryItemCode; + data["lotNo"] = this.lotNo; + data["pcba"] = this.pcba; + data["bios"] = this.bios; + data["version"] = this.version; + data["vendorItemCode"] = this.vendorItemCode; + data["vendorCode"] = this.vendorCode; + data["dateCode"] = this.dateCode; + data["qty"] = this.qty; + data["isLast"] = this.isLast; + data["mItemName"] = this.mItemName; + data["mItemPackedNo"] = this.mItemPackedNo; + data["lotQty"] = this.lotQty; + data["nextLotNo"] = this.nextLotNo; + data["nextLotQty"] = this.nextLotQty; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + if (Array.isArray(this.listDtos)) { + data["listDtos"] = []; + for (let item of this.listDtos) + data["listDtos"].push(item.toJSON()); } return data; } - clone(): GetWechatAppConfigForEditOutput { + clone(): IcsMinNoEditDto { const json = this.toJSON(); - let result = new GetWechatAppConfigForEditOutput(); + let result = new IcsMinNoEditDto(); result.init(json); return result; } } -/** 获取微信小程序编辑 */ -export interface IGetWechatAppConfigForEditOutput { - wechatAppConfig: WechatAppConfigEditDto; - /** 微信小程序类型列表 */ - wechatAppTypeList: KeyValuePairOfStringInt32[] | undefined; +export interface IIcsMinNoEditDto { + key: string | undefined; + id: number | undefined; + seq: number; + mobsItemCode: string | undefined; + mItemCode: string | undefined; + moCode: string | undefined; + moSeq: number; + itemCode: string | undefined; + itemName: string | undefined; + opBomCode: string | undefined; + opBomVer: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + resCode: string | undefined; + isTry: string | undefined; + tryItemCode: string | undefined; + lotNo: string | undefined; + pcba: string | undefined; + bios: string | undefined; + version: string | undefined; + vendorItemCode: string | undefined; + vendorCode: string | undefined; + dateCode: string | undefined; + qty: number; + isLast: string | undefined; + mItemName: string | undefined; + mItemPackedNo: string | undefined; + lotQty: number; + nextLotNo: string | undefined; + nextLotQty: number | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + listDtos: IcsMinNoListDto[] | undefined; } -/** 获取微信菜单编辑 */ -export class GetWechatMenuForEditOutput implements IGetWechatMenuForEditOutput { - /** 默认菜单 -(单独对象,数据结构参照 MenuFull_ButtonGroup) */ - menu: any | undefined; - /** 有个性化菜单时显示。最新的在最前。 -(集合 数据结构参照 MenuFull_ConditionalButtonGroup) */ - conditionalmenu: any | undefined; - /** 菜单类型 */ - menuTypeList: KeyValuePairOfStringString[] | undefined; +export class IcsMinNoListDto implements IIcsMinNoListDto { + key: string | undefined; + seq: number; + mobsItemCode: string | undefined; + mItemCode: string | undefined; + moCode: string | undefined; + moSeq: number; + itemCode: string | undefined; + opBomCode: string | undefined; + opBomVer: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + resCode: string | undefined; + isTry: string | undefined; + tryItemCode: string | undefined; + lotNo: string | undefined; + pcba: string | undefined; + bios: string | undefined; + version: string | undefined; + vendorItemCode: string | undefined; + vendorCode: string | undefined; + dateCode: string | undefined; + qty: number; + isLast: string | undefined; + mItemName: string | undefined; + mItemPackedNo: string | undefined; + lotQty: number; + nextLotNo: string | undefined; + nextLotQty: number | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IGetWechatMenuForEditOutput) { + constructor(data?: IIcsMinNoListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -65960,63 +106367,202 @@ export class GetWechatMenuForEditOutput implements IGetWechatMenuForEditOutput { init(_data?: any) { if (_data) { - this.menu = _data["menu"]; - this.conditionalmenu = _data["conditionalmenu"]; - if (Array.isArray(_data["menuTypeList"])) { - this.menuTypeList = [] as any; - for (let item of _data["menuTypeList"]) - this.menuTypeList.push(KeyValuePairOfStringString.fromJS(item)); - } + this.key = _data["key"]; + this.seq = _data["seq"]; + this.mobsItemCode = _data["mobsItemCode"]; + this.mItemCode = _data["mItemCode"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.itemCode = _data["itemCode"]; + this.opBomCode = _data["opBomCode"]; + this.opBomVer = _data["opBomVer"]; + this.routeCode = _data["routeCode"]; + this.opCode = _data["opCode"]; + this.resCode = _data["resCode"]; + this.isTry = _data["isTry"]; + this.tryItemCode = _data["tryItemCode"]; + this.lotNo = _data["lotNo"]; + this.pcba = _data["pcba"]; + this.bios = _data["bios"]; + this.version = _data["version"]; + this.vendorItemCode = _data["vendorItemCode"]; + this.vendorCode = _data["vendorCode"]; + this.dateCode = _data["dateCode"]; + this.qty = _data["qty"]; + this.isLast = _data["isLast"]; + this.mItemName = _data["mItemName"]; + this.mItemPackedNo = _data["mItemPackedNo"]; + this.lotQty = _data["lotQty"]; + this.nextLotNo = _data["nextLotNo"]; + this.nextLotQty = _data["nextLotQty"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): GetWechatMenuForEditOutput { + static fromJS(data: any): IcsMinNoListDto { data = typeof data === 'object' ? data : {}; - let result = new GetWechatMenuForEditOutput(); + let result = new IcsMinNoListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["menu"] = this.menu; - data["conditionalmenu"] = this.conditionalmenu; - if (Array.isArray(this.menuTypeList)) { - data["menuTypeList"] = []; - for (let item of this.menuTypeList) - data["menuTypeList"].push(item.toJSON()); - } + data["key"] = this.key; + data["seq"] = this.seq; + data["mobsItemCode"] = this.mobsItemCode; + data["mItemCode"] = this.mItemCode; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["itemCode"] = this.itemCode; + data["opBomCode"] = this.opBomCode; + data["opBomVer"] = this.opBomVer; + data["routeCode"] = this.routeCode; + data["opCode"] = this.opCode; + data["resCode"] = this.resCode; + data["isTry"] = this.isTry; + data["tryItemCode"] = this.tryItemCode; + data["lotNo"] = this.lotNo; + data["pcba"] = this.pcba; + data["bios"] = this.bios; + data["version"] = this.version; + data["vendorItemCode"] = this.vendorItemCode; + data["vendorCode"] = this.vendorCode; + data["dateCode"] = this.dateCode; + data["qty"] = this.qty; + data["isLast"] = this.isLast; + data["mItemName"] = this.mItemName; + data["mItemPackedNo"] = this.mItemPackedNo; + data["lotQty"] = this.lotQty; + data["nextLotNo"] = this.nextLotNo; + data["nextLotQty"] = this.nextLotQty; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): GetWechatMenuForEditOutput { + clone(): IcsMinNoListDto { const json = this.toJSON(); - let result = new GetWechatMenuForEditOutput(); + let result = new IcsMinNoListDto(); result.init(json); return result; } } -/** 获取微信菜单编辑 */ -export interface IGetWechatMenuForEditOutput { - /** 默认菜单 -(单独对象,数据结构参照 MenuFull_ButtonGroup) */ - menu: any | undefined; - /** 有个性化菜单时显示。最新的在最前。 -(集合 数据结构参照 MenuFull_ConditionalButtonGroup) */ - conditionalmenu: any | undefined; - /** 菜单类型 */ - menuTypeList: KeyValuePairOfStringString[] | undefined; +export interface IIcsMinNoListDto { + key: string | undefined; + seq: number; + mobsItemCode: string | undefined; + mItemCode: string | undefined; + moCode: string | undefined; + moSeq: number; + itemCode: string | undefined; + opBomCode: string | undefined; + opBomVer: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + resCode: string | undefined; + isTry: string | undefined; + tryItemCode: string | undefined; + lotNo: string | undefined; + pcba: string | undefined; + bios: string | undefined; + version: string | undefined; + vendorItemCode: string | undefined; + vendorCode: string | undefined; + dateCode: string | undefined; + qty: number; + isLast: string | undefined; + mItemName: string | undefined; + mItemPackedNo: string | undefined; + lotQty: number; + nextLotNo: string | undefined; + nextLotQty: number | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 宿主发票设置编辑 */ -export class HostBillingSettingsEditDto implements IHostBillingSettingsEditDto { - /** 法人名称 */ - legalName: string | undefined; - /** 地址 */ - address: string | undefined; +export class IcsMo2LotEditDto implements IIcsMo2LotEditDto { + id: number | undefined; + moId: number; + moCode: string | undefined; + moSeq: number; + moPlanQty: number | undefined; + moHasLotQty: number | undefined; + lotno: string | undefined; + lotSeq: number; + lotQty: number; + lotSumQty: number | undefined; + splitQty: number; + lotStatus: string | undefined; + printTimes: number | undefined; + lastPrintUser: string | undefined; + lastPrintTime: moment.Moment | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + lotList: IcsMo2LotEditDto[] | undefined; - constructor(data?: IHostBillingSettingsEditDto) { + constructor(data?: IIcsMo2LotEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -66027,47 +106573,172 @@ export class HostBillingSettingsEditDto implements IHostBillingSettingsEditDto { init(_data?: any) { if (_data) { - this.legalName = _data["legalName"]; - this.address = _data["address"]; + this.id = _data["id"]; + this.moId = _data["moId"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.moPlanQty = _data["moPlanQty"]; + this.moHasLotQty = _data["moHasLotQty"]; + this.lotno = _data["lotno"]; + this.lotSeq = _data["lotSeq"]; + this.lotQty = _data["lotQty"]; + this.lotSumQty = _data["lotSumQty"]; + this.splitQty = _data["splitQty"]; + this.lotStatus = _data["lotStatus"]; + this.printTimes = _data["printTimes"]; + this.lastPrintUser = _data["lastPrintUser"]; + this.lastPrintTime = _data["lastPrintTime"] ? moment(_data["lastPrintTime"].toString()) : undefined; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + if (Array.isArray(_data["lotList"])) { + this.lotList = [] as any; + for (let item of _data["lotList"]) + this.lotList.push(IcsMo2LotEditDto.fromJS(item)); + } } } - static fromJS(data: any): HostBillingSettingsEditDto { + static fromJS(data: any): IcsMo2LotEditDto { data = typeof data === 'object' ? data : {}; - let result = new HostBillingSettingsEditDto(); + let result = new IcsMo2LotEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["legalName"] = this.legalName; - data["address"] = this.address; + data["id"] = this.id; + data["moId"] = this.moId; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["moPlanQty"] = this.moPlanQty; + data["moHasLotQty"] = this.moHasLotQty; + data["lotno"] = this.lotno; + data["lotSeq"] = this.lotSeq; + data["lotQty"] = this.lotQty; + data["lotSumQty"] = this.lotSumQty; + data["splitQty"] = this.splitQty; + data["lotStatus"] = this.lotStatus; + data["printTimes"] = this.printTimes; + data["lastPrintUser"] = this.lastPrintUser; + data["lastPrintTime"] = this.lastPrintTime ? this.lastPrintTime.toISOString() : undefined; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + if (Array.isArray(this.lotList)) { + data["lotList"] = []; + for (let item of this.lotList) + data["lotList"].push(item.toJSON()); + } return data; } - clone(): HostBillingSettingsEditDto { + clone(): IcsMo2LotEditDto { const json = this.toJSON(); - let result = new HostBillingSettingsEditDto(); + let result = new IcsMo2LotEditDto(); result.init(json); return result; } } -/** 宿主发票设置编辑 */ -export interface IHostBillingSettingsEditDto { - /** 法人名称 */ - legalName: string | undefined; - /** 地址 */ - address: string | undefined; +export interface IIcsMo2LotEditDto { + id: number | undefined; + moId: number; + moCode: string | undefined; + moSeq: number; + moPlanQty: number | undefined; + moHasLotQty: number | undefined; + lotno: string | undefined; + lotSeq: number; + lotQty: number; + lotSumQty: number | undefined; + splitQty: number; + lotStatus: string | undefined; + printTimes: number | undefined; + lastPrintUser: string | undefined; + lastPrintTime: moment.Moment | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + lotList: IcsMo2LotEditDto[] | undefined; } -/** 宿主缓存 */ -export class HostCacheDto implements IHostCacheDto { - /** 名称 */ - name: string | undefined; +export class IcsMo2LotListDto implements IIcsMo2LotListDto { + key: string | undefined; + moId: number; + moCode: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + routeCode: string | undefined; + projectCode: string | undefined; + moPlanQty: number; + opID: number | undefined; + opCode: string | undefined; + opName: string | undefined; + opSeq: number; + moPlanStartDate: moment.Moment; + moPlanEndDate: moment.Moment; + moSeq: number; + lotno: string | undefined; + lotSeq: number; + lotQty: number; + lotStatus: string | undefined; + lotStatusName: string | undefined; + printTimes: number | undefined; + lastPrintUser: string | undefined; + lastPrintTime: moment.Moment | undefined; + memo: string | undefined; + dispatchingType: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IHostCacheDto) { + constructor(data?: IIcsMo2LotListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -66078,145 +106749,340 @@ export class HostCacheDto implements IHostCacheDto { init(_data?: any) { if (_data) { - this.name = _data["name"]; + this.key = _data["key"]; + this.moId = _data["moId"]; + this.moCode = _data["moCode"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.routeCode = _data["routeCode"]; + this.projectCode = _data["projectCode"]; + this.moPlanQty = _data["moPlanQty"]; + this.opID = _data["opID"]; + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.opSeq = _data["opSeq"]; + this.moPlanStartDate = _data["moPlanStartDate"] ? moment(_data["moPlanStartDate"].toString()) : undefined; + this.moPlanEndDate = _data["moPlanEndDate"] ? moment(_data["moPlanEndDate"].toString()) : undefined; + this.moSeq = _data["moSeq"]; + this.lotno = _data["lotno"]; + this.lotSeq = _data["lotSeq"]; + this.lotQty = _data["lotQty"]; + this.lotStatus = _data["lotStatus"]; + this.lotStatusName = _data["lotStatusName"]; + this.printTimes = _data["printTimes"]; + this.lastPrintUser = _data["lastPrintUser"]; + this.lastPrintTime = _data["lastPrintTime"] ? moment(_data["lastPrintTime"].toString()) : undefined; + this.memo = _data["memo"]; + this.dispatchingType = _data["dispatchingType"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): HostCacheDto { + static fromJS(data: any): IcsMo2LotListDto { data = typeof data === 'object' ? data : {}; - let result = new HostCacheDto(); + let result = new IcsMo2LotListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["name"] = this.name; + data["key"] = this.key; + data["moId"] = this.moId; + data["moCode"] = this.moCode; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["routeCode"] = this.routeCode; + data["projectCode"] = this.projectCode; + data["moPlanQty"] = this.moPlanQty; + data["opID"] = this.opID; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["opSeq"] = this.opSeq; + data["moPlanStartDate"] = this.moPlanStartDate ? this.moPlanStartDate.toISOString() : undefined; + data["moPlanEndDate"] = this.moPlanEndDate ? this.moPlanEndDate.toISOString() : undefined; + data["moSeq"] = this.moSeq; + data["lotno"] = this.lotno; + data["lotSeq"] = this.lotSeq; + data["lotQty"] = this.lotQty; + data["lotStatus"] = this.lotStatus; + data["lotStatusName"] = this.lotStatusName; + data["printTimes"] = this.printTimes; + data["lastPrintUser"] = this.lastPrintUser; + data["lastPrintTime"] = this.lastPrintTime ? this.lastPrintTime.toISOString() : undefined; + data["memo"] = this.memo; + data["dispatchingType"] = this.dispatchingType; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): HostCacheDto { + clone(): IcsMo2LotListDto { const json = this.toJSON(); - let result = new HostCacheDto(); + let result = new IcsMo2LotListDto(); result.init(json); return result; } } -/** 宿主缓存 */ -export interface IHostCacheDto { - /** 名称 */ - name: string | undefined; +export interface IIcsMo2LotListDto { + key: string | undefined; + moId: number; + moCode: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + routeCode: string | undefined; + projectCode: string | undefined; + moPlanQty: number; + opID: number | undefined; + opCode: string | undefined; + opName: string | undefined; + opSeq: number; + moPlanStartDate: moment.Moment; + moPlanEndDate: moment.Moment; + moSeq: number; + lotno: string | undefined; + lotSeq: number; + lotQty: number; + lotStatus: string | undefined; + lotStatusName: string | undefined; + printTimes: number | undefined; + lastPrintUser: string | undefined; + lastPrintTime: moment.Moment | undefined; + memo: string | undefined; + dispatchingType: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 宿主配置 */ -export class HostSettingsEditDto implements IHostSettingsEditDto { - general: GeneralSettingsEditDto; - userManagement: HostUserManagementSettingsEditDto; - email: EmailSettingsEditDto; - tenantManagement: TenantManagementSettingsEditDto; - security: SecuritySettingsEditDto; - billing: HostBillingSettingsEditDto; - theme: ThemeEditDto; - urls: UrlsEditDto; - siteSettings: SiteSettingsEditDto; +export class IcsMo2RouteDto implements IIcsMo2RouteDto { + id: number | undefined; + moId: number | undefined; + routeId: number | undefined; + moCode: string | undefined; + moSeq: number; + routeCode: string | undefined; + routeType: string | undefined; + opBomCode: string | undefined; + opBomVer: string | undefined; + isMRoute: string | undefined; + memo: string | undefined; + tenantId: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + route2OpDtoList: IcsMoRoute2OpDto[] | undefined; - constructor(data?: IHostSettingsEditDto) { + constructor(data?: IIcsMo2RouteDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.general = new GeneralSettingsEditDto(); - this.userManagement = new HostUserManagementSettingsEditDto(); - this.email = new EmailSettingsEditDto(); - this.tenantManagement = new TenantManagementSettingsEditDto(); - this.security = new SecuritySettingsEditDto(); - this.theme = new ThemeEditDto(); - } } init(_data?: any) { if (_data) { - this.general = _data["general"] ? GeneralSettingsEditDto.fromJS(_data["general"]) : new GeneralSettingsEditDto(); - this.userManagement = _data["userManagement"] ? HostUserManagementSettingsEditDto.fromJS(_data["userManagement"]) : new HostUserManagementSettingsEditDto(); - this.email = _data["email"] ? EmailSettingsEditDto.fromJS(_data["email"]) : new EmailSettingsEditDto(); - this.tenantManagement = _data["tenantManagement"] ? TenantManagementSettingsEditDto.fromJS(_data["tenantManagement"]) : new TenantManagementSettingsEditDto(); - this.security = _data["security"] ? SecuritySettingsEditDto.fromJS(_data["security"]) : new SecuritySettingsEditDto(); - this.billing = _data["billing"] ? HostBillingSettingsEditDto.fromJS(_data["billing"]) : undefined; - this.theme = _data["theme"] ? ThemeEditDto.fromJS(_data["theme"]) : new ThemeEditDto(); - this.urls = _data["urls"] ? UrlsEditDto.fromJS(_data["urls"]) : undefined; - this.siteSettings = _data["siteSettings"] ? SiteSettingsEditDto.fromJS(_data["siteSettings"]) : undefined; + this.id = _data["id"]; + this.moId = _data["moId"]; + this.routeId = _data["routeId"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.routeCode = _data["routeCode"]; + this.routeType = _data["routeType"]; + this.opBomCode = _data["opBomCode"]; + this.opBomVer = _data["opBomVer"]; + this.isMRoute = _data["isMRoute"]; + this.memo = _data["memo"]; + this.tenantId = _data["tenantId"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + if (Array.isArray(_data["route2OpDtoList"])) { + this.route2OpDtoList = [] as any; + for (let item of _data["route2OpDtoList"]) + this.route2OpDtoList.push(IcsMoRoute2OpDto.fromJS(item)); + } } } - static fromJS(data: any): HostSettingsEditDto { + static fromJS(data: any): IcsMo2RouteDto { data = typeof data === 'object' ? data : {}; - let result = new HostSettingsEditDto(); + let result = new IcsMo2RouteDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["general"] = this.general ? this.general.toJSON() : undefined; - data["userManagement"] = this.userManagement ? this.userManagement.toJSON() : undefined; - data["email"] = this.email ? this.email.toJSON() : undefined; - data["tenantManagement"] = this.tenantManagement ? this.tenantManagement.toJSON() : undefined; - data["security"] = this.security ? this.security.toJSON() : undefined; - data["billing"] = this.billing ? this.billing.toJSON() : undefined; - data["theme"] = this.theme ? this.theme.toJSON() : undefined; - data["urls"] = this.urls ? this.urls.toJSON() : undefined; - data["siteSettings"] = this.siteSettings ? this.siteSettings.toJSON() : undefined; + data["id"] = this.id; + data["moId"] = this.moId; + data["routeId"] = this.routeId; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["routeCode"] = this.routeCode; + data["routeType"] = this.routeType; + data["opBomCode"] = this.opBomCode; + data["opBomVer"] = this.opBomVer; + data["isMRoute"] = this.isMRoute; + data["memo"] = this.memo; + data["tenantId"] = this.tenantId; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + if (Array.isArray(this.route2OpDtoList)) { + data["route2OpDtoList"] = []; + for (let item of this.route2OpDtoList) + data["route2OpDtoList"].push(item.toJSON()); + } return data; } - clone(): HostSettingsEditDto { + clone(): IcsMo2RouteDto { const json = this.toJSON(); - let result = new HostSettingsEditDto(); + let result = new IcsMo2RouteDto(); result.init(json); return result; } } -/** 宿主配置 */ -export interface IHostSettingsEditDto { - general: GeneralSettingsEditDto; - userManagement: HostUserManagementSettingsEditDto; - email: EmailSettingsEditDto; - tenantManagement: TenantManagementSettingsEditDto; - security: SecuritySettingsEditDto; - billing: HostBillingSettingsEditDto; - theme: ThemeEditDto; - urls: UrlsEditDto; - siteSettings: SiteSettingsEditDto; +export interface IIcsMo2RouteDto { + id: number | undefined; + moId: number | undefined; + routeId: number | undefined; + moCode: string | undefined; + moSeq: number; + routeCode: string | undefined; + routeType: string | undefined; + opBomCode: string | undefined; + opBomVer: string | undefined; + isMRoute: string | undefined; + memo: string | undefined; + tenantId: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + route2OpDtoList: IcsMoRoute2OpDto[] | undefined; } -/** 宿主用户设置 */ -export class HostUserManagementSettingsEditDto implements IHostUserManagementSettingsEditDto { - /** 允许用户注册 */ - allowSelfRegistrationUser: boolean; - /** 是否新注册用户默认激活 */ - isNewRegisteredUserActiveByDefault: boolean; - /** 是否必须验证邮箱才能登陆 */ - isEmailConfirmationRequiredForLogin: boolean; - /** 是否启用短信验证 */ - smsVerificationEnabled: boolean; - /** 是否启用Cookie内容 */ - isCookieConsentEnabled: boolean; - /** 最大登录用户数 */ - maxLoginUserNumber: number; - /** 登录互斥 */ - loginMutex: boolean; - /** 是否启用主题选择器 */ - isQuickThemeSelectEnabled: boolean; - captchaConfig: CaptchaConfigSetting; - /** 第三方登陆支持 */ - externalLoginProviders: string[] | undefined; +export class IcsMoDispatchingEditDto implements IIcsMoDispatchingEditDto { + key: string | undefined; + id: number | undefined; + moId: number; + moCode: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + routeCode: string | undefined; + projectCode: string | undefined; + moPlanQty: number; + moPlanStartDate: moment.Moment; + moPlanEndDate: moment.Moment; + moSeq: number; + lotno: string | undefined; + lotSeq: number; + dispatchUserId: string | undefined; + dispatchUserName: string | undefined; + dispatchEqpId: number | undefined; + dispatchEqpCode: string | undefined; + dispatchOpId: number | undefined; + dispatchOpCode: string | undefined; + dispatchDate: moment.Moment; + dispatchTime: string | undefined; + dispatchEndDate: moment.Moment; + dispatchEndTime: string | undefined; + memo: string | undefined; + dispatchSSID: number | undefined; + dispatchSSCode: string | undefined; + dispatchSSName: string | undefined; + dispatchQty: number | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + list: IcsMoDispatchingEditDto[] | undefined; - constructor(data?: IHostUserManagementSettingsEditDto) { + constructor(data?: IIcsMoDispatchingEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -66227,84 +107093,207 @@ export class HostUserManagementSettingsEditDto implements IHostUserManagementSet init(_data?: any) { if (_data) { - this.allowSelfRegistrationUser = _data["allowSelfRegistrationUser"]; - this.isNewRegisteredUserActiveByDefault = _data["isNewRegisteredUserActiveByDefault"]; - this.isEmailConfirmationRequiredForLogin = _data["isEmailConfirmationRequiredForLogin"]; - this.smsVerificationEnabled = _data["smsVerificationEnabled"]; - this.isCookieConsentEnabled = _data["isCookieConsentEnabled"]; - this.maxLoginUserNumber = _data["maxLoginUserNumber"]; - this.loginMutex = _data["loginMutex"]; - this.isQuickThemeSelectEnabled = _data["isQuickThemeSelectEnabled"]; - this.captchaConfig = _data["captchaConfig"] ? CaptchaConfigSetting.fromJS(_data["captchaConfig"]) : undefined; - if (Array.isArray(_data["externalLoginProviders"])) { - this.externalLoginProviders = [] as any; - for (let item of _data["externalLoginProviders"]) - this.externalLoginProviders.push(item); + this.key = _data["key"]; + this.id = _data["id"]; + this.moId = _data["moId"]; + this.moCode = _data["moCode"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.routeCode = _data["routeCode"]; + this.projectCode = _data["projectCode"]; + this.moPlanQty = _data["moPlanQty"]; + this.moPlanStartDate = _data["moPlanStartDate"] ? moment(_data["moPlanStartDate"].toString()) : undefined; + this.moPlanEndDate = _data["moPlanEndDate"] ? moment(_data["moPlanEndDate"].toString()) : undefined; + this.moSeq = _data["moSeq"]; + this.lotno = _data["lotno"]; + this.lotSeq = _data["lotSeq"]; + this.dispatchUserId = _data["dispatchUserId"]; + this.dispatchUserName = _data["dispatchUserName"]; + this.dispatchEqpId = _data["dispatchEqpId"]; + this.dispatchEqpCode = _data["dispatchEqpCode"]; + this.dispatchOpId = _data["dispatchOpId"]; + this.dispatchOpCode = _data["dispatchOpCode"]; + this.dispatchDate = _data["dispatchDate"] ? moment(_data["dispatchDate"].toString()) : undefined; + this.dispatchTime = _data["dispatchTime"]; + this.dispatchEndDate = _data["dispatchEndDate"] ? moment(_data["dispatchEndDate"].toString()) : undefined; + this.dispatchEndTime = _data["dispatchEndTime"]; + this.memo = _data["memo"]; + this.dispatchSSID = _data["dispatchSSID"]; + this.dispatchSSCode = _data["dispatchSSCode"]; + this.dispatchSSName = _data["dispatchSSName"]; + this.dispatchQty = _data["dispatchQty"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + if (Array.isArray(_data["list"])) { + this.list = [] as any; + for (let item of _data["list"]) + this.list.push(IcsMoDispatchingEditDto.fromJS(item)); } } } - static fromJS(data: any): HostUserManagementSettingsEditDto { + static fromJS(data: any): IcsMoDispatchingEditDto { data = typeof data === 'object' ? data : {}; - let result = new HostUserManagementSettingsEditDto(); + let result = new IcsMoDispatchingEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["allowSelfRegistrationUser"] = this.allowSelfRegistrationUser; - data["isNewRegisteredUserActiveByDefault"] = this.isNewRegisteredUserActiveByDefault; - data["isEmailConfirmationRequiredForLogin"] = this.isEmailConfirmationRequiredForLogin; - data["smsVerificationEnabled"] = this.smsVerificationEnabled; - data["isCookieConsentEnabled"] = this.isCookieConsentEnabled; - data["maxLoginUserNumber"] = this.maxLoginUserNumber; - data["loginMutex"] = this.loginMutex; - data["isQuickThemeSelectEnabled"] = this.isQuickThemeSelectEnabled; - data["captchaConfig"] = this.captchaConfig ? this.captchaConfig.toJSON() : undefined; - if (Array.isArray(this.externalLoginProviders)) { - data["externalLoginProviders"] = []; - for (let item of this.externalLoginProviders) - data["externalLoginProviders"].push(item); + data["key"] = this.key; + data["id"] = this.id; + data["moId"] = this.moId; + data["moCode"] = this.moCode; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["routeCode"] = this.routeCode; + data["projectCode"] = this.projectCode; + data["moPlanQty"] = this.moPlanQty; + data["moPlanStartDate"] = this.moPlanStartDate ? this.moPlanStartDate.toISOString() : undefined; + data["moPlanEndDate"] = this.moPlanEndDate ? this.moPlanEndDate.toISOString() : undefined; + data["moSeq"] = this.moSeq; + data["lotno"] = this.lotno; + data["lotSeq"] = this.lotSeq; + data["dispatchUserId"] = this.dispatchUserId; + data["dispatchUserName"] = this.dispatchUserName; + data["dispatchEqpId"] = this.dispatchEqpId; + data["dispatchEqpCode"] = this.dispatchEqpCode; + data["dispatchOpId"] = this.dispatchOpId; + data["dispatchOpCode"] = this.dispatchOpCode; + data["dispatchDate"] = this.dispatchDate ? this.dispatchDate.toISOString() : undefined; + data["dispatchTime"] = this.dispatchTime; + data["dispatchEndDate"] = this.dispatchEndDate ? this.dispatchEndDate.toISOString() : undefined; + data["dispatchEndTime"] = this.dispatchEndTime; + data["memo"] = this.memo; + data["dispatchSSID"] = this.dispatchSSID; + data["dispatchSSCode"] = this.dispatchSSCode; + data["dispatchSSName"] = this.dispatchSSName; + data["dispatchQty"] = this.dispatchQty; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + if (Array.isArray(this.list)) { + data["list"] = []; + for (let item of this.list) + data["list"].push(item.toJSON()); } return data; } - clone(): HostUserManagementSettingsEditDto { + clone(): IcsMoDispatchingEditDto { const json = this.toJSON(); - let result = new HostUserManagementSettingsEditDto(); + let result = new IcsMoDispatchingEditDto(); result.init(json); return result; } } -/** 宿主用户设置 */ -export interface IHostUserManagementSettingsEditDto { - /** 允许用户注册 */ - allowSelfRegistrationUser: boolean; - /** 是否新注册用户默认激活 */ - isNewRegisteredUserActiveByDefault: boolean; - /** 是否必须验证邮箱才能登陆 */ - isEmailConfirmationRequiredForLogin: boolean; - /** 是否启用短信验证 */ - smsVerificationEnabled: boolean; - /** 是否启用Cookie内容 */ - isCookieConsentEnabled: boolean; - /** 最大登录用户数 */ - maxLoginUserNumber: number; - /** 登录互斥 */ - loginMutex: boolean; - /** 是否启用主题选择器 */ - isQuickThemeSelectEnabled: boolean; - captchaConfig: CaptchaConfigSetting; - /** 第三方登陆支持 */ - externalLoginProviders: string[] | undefined; +export interface IIcsMoDispatchingEditDto { + key: string | undefined; + id: number | undefined; + moId: number; + moCode: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + routeCode: string | undefined; + projectCode: string | undefined; + moPlanQty: number; + moPlanStartDate: moment.Moment; + moPlanEndDate: moment.Moment; + moSeq: number; + lotno: string | undefined; + lotSeq: number; + dispatchUserId: string | undefined; + dispatchUserName: string | undefined; + dispatchEqpId: number | undefined; + dispatchEqpCode: string | undefined; + dispatchOpId: number | undefined; + dispatchOpCode: string | undefined; + dispatchDate: moment.Moment; + dispatchTime: string | undefined; + dispatchEndDate: moment.Moment; + dispatchEndTime: string | undefined; + memo: string | undefined; + dispatchSSID: number | undefined; + dispatchSSCode: string | undefined; + dispatchSSName: string | undefined; + dispatchQty: number | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + list: IcsMoDispatchingEditDto[] | undefined; } -export class HttpContent implements IHttpContent { - readonly headers: KeyValuePairOfStringIEnumerableOfString[] | undefined; +export class IcsMoDispatchingListDto implements IIcsMoDispatchingListDto { + key: string | undefined; + moId: number; + moCode: string | undefined; + moSeq: number; + itemCode: string | undefined; + itemName: string | undefined; + lotno: string | undefined; + lotSeq: number; + dispatchUserId: string | undefined; + dispatchUserCode: string | undefined; + dispatchUserName: string | undefined; + dispatchEqpId: number | undefined; + dispatchEqpCode: string | undefined; + dispatchEqpName: string | undefined; + dispatchOpId: number | undefined; + dispatchOpCode: string | undefined; + dispatchOpName: string | undefined; + opSeq: number; + dispatchDate: moment.Moment; + dispatchTime: string | undefined; + dispatchEndDate: moment.Moment; + dispatchEndTime: string | undefined; + memo: string | undefined; + dispatchSSID: number | undefined; + dispatchSSCode: string | undefined; + dispatchSSName: string | undefined; + dispatchQty: number | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IHttpContent) { + constructor(data?: IIcsMoDispatchingListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -66315,47 +107304,231 @@ export class HttpContent implements IHttpContent { init(_data?: any) { if (_data) { - if (Array.isArray(_data["headers"])) { - (this).headers = [] as any; - for (let item of _data["headers"]) - (this).headers.push(KeyValuePairOfStringIEnumerableOfString.fromJS(item)); - } + this.key = _data["key"]; + this.moId = _data["moId"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.lotno = _data["lotno"]; + this.lotSeq = _data["lotSeq"]; + this.dispatchUserId = _data["dispatchUserId"]; + this.dispatchUserCode = _data["dispatchUserCode"]; + this.dispatchUserName = _data["dispatchUserName"]; + this.dispatchEqpId = _data["dispatchEqpId"]; + this.dispatchEqpCode = _data["dispatchEqpCode"]; + this.dispatchEqpName = _data["dispatchEqpName"]; + this.dispatchOpId = _data["dispatchOpId"]; + this.dispatchOpCode = _data["dispatchOpCode"]; + this.dispatchOpName = _data["dispatchOpName"]; + this.opSeq = _data["opSeq"]; + this.dispatchDate = _data["dispatchDate"] ? moment(_data["dispatchDate"].toString()) : undefined; + this.dispatchTime = _data["dispatchTime"]; + this.dispatchEndDate = _data["dispatchEndDate"] ? moment(_data["dispatchEndDate"].toString()) : undefined; + this.dispatchEndTime = _data["dispatchEndTime"]; + this.memo = _data["memo"]; + this.dispatchSSID = _data["dispatchSSID"]; + this.dispatchSSCode = _data["dispatchSSCode"]; + this.dispatchSSName = _data["dispatchSSName"]; + this.dispatchQty = _data["dispatchQty"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): HttpContent { + static fromJS(data: any): IcsMoDispatchingListDto { data = typeof data === 'object' ? data : {}; - let result = new HttpContent(); + let result = new IcsMoDispatchingListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.headers)) { - data["headers"] = []; - for (let item of this.headers) - data["headers"].push(item.toJSON()); - } + data["key"] = this.key; + data["moId"] = this.moId; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["lotno"] = this.lotno; + data["lotSeq"] = this.lotSeq; + data["dispatchUserId"] = this.dispatchUserId; + data["dispatchUserCode"] = this.dispatchUserCode; + data["dispatchUserName"] = this.dispatchUserName; + data["dispatchEqpId"] = this.dispatchEqpId; + data["dispatchEqpCode"] = this.dispatchEqpCode; + data["dispatchEqpName"] = this.dispatchEqpName; + data["dispatchOpId"] = this.dispatchOpId; + data["dispatchOpCode"] = this.dispatchOpCode; + data["dispatchOpName"] = this.dispatchOpName; + data["opSeq"] = this.opSeq; + data["dispatchDate"] = this.dispatchDate ? this.dispatchDate.toISOString() : undefined; + data["dispatchTime"] = this.dispatchTime; + data["dispatchEndDate"] = this.dispatchEndDate ? this.dispatchEndDate.toISOString() : undefined; + data["dispatchEndTime"] = this.dispatchEndTime; + data["memo"] = this.memo; + data["dispatchSSID"] = this.dispatchSSID; + data["dispatchSSCode"] = this.dispatchSSCode; + data["dispatchSSName"] = this.dispatchSSName; + data["dispatchQty"] = this.dispatchQty; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): HttpContent { + clone(): IcsMoDispatchingListDto { const json = this.toJSON(); - let result = new HttpContent(); + let result = new IcsMoDispatchingListDto(); result.init(json); return result; } } -export interface IHttpContent { - headers: KeyValuePairOfStringIEnumerableOfString[] | undefined; +export interface IIcsMoDispatchingListDto { + key: string | undefined; + moId: number; + moCode: string | undefined; + moSeq: number; + itemCode: string | undefined; + itemName: string | undefined; + lotno: string | undefined; + lotSeq: number; + dispatchUserId: string | undefined; + dispatchUserCode: string | undefined; + dispatchUserName: string | undefined; + dispatchEqpId: number | undefined; + dispatchEqpCode: string | undefined; + dispatchEqpName: string | undefined; + dispatchOpId: number | undefined; + dispatchOpCode: string | undefined; + dispatchOpName: string | undefined; + opSeq: number; + dispatchDate: moment.Moment; + dispatchTime: string | undefined; + dispatchEndDate: moment.Moment; + dispatchEndTime: string | undefined; + memo: string | undefined; + dispatchSSID: number | undefined; + dispatchSSCode: string | undefined; + dispatchSSName: string | undefined; + dispatchQty: number | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class HttpMethod implements IHttpMethod { - method: string | undefined; +export class IcsMoEditDto implements IIcsMoEditDto { + id: number | undefined; + moCode: string | undefined; + moSeq: number; + moMemo: string | undefined; + moType: string | undefined; + moDesc: string | undefined; + moRoute: string | undefined; + moBiosVer: string | undefined; + moPcbaVer: string | undefined; + moPlanQty: number; + moInputQty: number; + moScrapQty: number; + moActQty: number; + moPlanStartDate: moment.Moment; + moPlanEndDate: moment.Moment; + moActStartDate: moment.Moment | undefined; + moActEndDate: moment.Moment | undefined; + facCode: string | undefined; + segCode: string | undefined; + cusCode: string | undefined; + cusName: string | undefined; + cusOrderNo: string | undefined; + cusItemCode: string | undefined; + orderNo: string | undefined; + orderSeq: number | undefined; + moUser: string | undefined; + moDownDate: moment.Moment; + moStatus: string | undefined; + moVer: string | undefined; + isConInput: string | undefined; + isBomPass: string | undefined; + idMergeRule: number | undefined; + itemCode: string | undefined; + moReleaseTime: moment.Moment | undefined; + moPendingCause: string | undefined; + moImportTime: moment.Moment | undefined; + offMoQty: number | undefined; + isCompareSoft: string | undefined; + rmaBillcode: string | undefined; + reMoCode: string | undefined; + reMoItemCode: string | undefined; + reMoItemDesc: string | undefined; + reMoLotno: string | undefined; + reMoEnabled: string | undefined; + moBom: string | undefined; + moOp: string | undefined; + moPlanLine: string | undefined; + backflushStorage: string | undefined; + warningStopLine: string | undefined; + collectModel: string | undefined; + collectType: string | undefined; + projectCode: string | undefined; + productLotNo: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IHttpMethod) { + constructor(data?: IIcsMoEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -66366,46 +107539,277 @@ export class HttpMethod implements IHttpMethod { init(_data?: any) { if (_data) { - this.method = _data["method"]; + this.id = _data["id"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.moMemo = _data["moMemo"]; + this.moType = _data["moType"]; + this.moDesc = _data["moDesc"]; + this.moRoute = _data["moRoute"]; + this.moBiosVer = _data["moBiosVer"]; + this.moPcbaVer = _data["moPcbaVer"]; + this.moPlanQty = _data["moPlanQty"]; + this.moInputQty = _data["moInputQty"]; + this.moScrapQty = _data["moScrapQty"]; + this.moActQty = _data["moActQty"]; + this.moPlanStartDate = _data["moPlanStartDate"] ? moment(_data["moPlanStartDate"].toString()) : undefined; + this.moPlanEndDate = _data["moPlanEndDate"] ? moment(_data["moPlanEndDate"].toString()) : undefined; + this.moActStartDate = _data["moActStartDate"] ? moment(_data["moActStartDate"].toString()) : undefined; + this.moActEndDate = _data["moActEndDate"] ? moment(_data["moActEndDate"].toString()) : undefined; + this.facCode = _data["facCode"]; + this.segCode = _data["segCode"]; + this.cusCode = _data["cusCode"]; + this.cusName = _data["cusName"]; + this.cusOrderNo = _data["cusOrderNo"]; + this.cusItemCode = _data["cusItemCode"]; + this.orderNo = _data["orderNo"]; + this.orderSeq = _data["orderSeq"]; + this.moUser = _data["moUser"]; + this.moDownDate = _data["moDownDate"] ? moment(_data["moDownDate"].toString()) : undefined; + this.moStatus = _data["moStatus"]; + this.moVer = _data["moVer"]; + this.isConInput = _data["isConInput"]; + this.isBomPass = _data["isBomPass"]; + this.idMergeRule = _data["idMergeRule"]; + this.itemCode = _data["itemCode"]; + this.moReleaseTime = _data["moReleaseTime"] ? moment(_data["moReleaseTime"].toString()) : undefined; + this.moPendingCause = _data["moPendingCause"]; + this.moImportTime = _data["moImportTime"] ? moment(_data["moImportTime"].toString()) : undefined; + this.offMoQty = _data["offMoQty"]; + this.isCompareSoft = _data["isCompareSoft"]; + this.rmaBillcode = _data["rmaBillcode"]; + this.reMoCode = _data["reMoCode"]; + this.reMoItemCode = _data["reMoItemCode"]; + this.reMoItemDesc = _data["reMoItemDesc"]; + this.reMoLotno = _data["reMoLotno"]; + this.reMoEnabled = _data["reMoEnabled"]; + this.moBom = _data["moBom"]; + this.moOp = _data["moOp"]; + this.moPlanLine = _data["moPlanLine"]; + this.backflushStorage = _data["backflushStorage"]; + this.warningStopLine = _data["warningStopLine"]; + this.collectModel = _data["collectModel"]; + this.collectType = _data["collectType"]; + this.projectCode = _data["projectCode"]; + this.productLotNo = _data["productLotNo"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): HttpMethod { + static fromJS(data: any): IcsMoEditDto { data = typeof data === 'object' ? data : {}; - let result = new HttpMethod(); + let result = new IcsMoEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["method"] = this.method; + data["id"] = this.id; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["moMemo"] = this.moMemo; + data["moType"] = this.moType; + data["moDesc"] = this.moDesc; + data["moRoute"] = this.moRoute; + data["moBiosVer"] = this.moBiosVer; + data["moPcbaVer"] = this.moPcbaVer; + data["moPlanQty"] = this.moPlanQty; + data["moInputQty"] = this.moInputQty; + data["moScrapQty"] = this.moScrapQty; + data["moActQty"] = this.moActQty; + data["moPlanStartDate"] = this.moPlanStartDate ? this.moPlanStartDate.toISOString() : undefined; + data["moPlanEndDate"] = this.moPlanEndDate ? this.moPlanEndDate.toISOString() : undefined; + data["moActStartDate"] = this.moActStartDate ? this.moActStartDate.toISOString() : undefined; + data["moActEndDate"] = this.moActEndDate ? this.moActEndDate.toISOString() : undefined; + data["facCode"] = this.facCode; + data["segCode"] = this.segCode; + data["cusCode"] = this.cusCode; + data["cusName"] = this.cusName; + data["cusOrderNo"] = this.cusOrderNo; + data["cusItemCode"] = this.cusItemCode; + data["orderNo"] = this.orderNo; + data["orderSeq"] = this.orderSeq; + data["moUser"] = this.moUser; + data["moDownDate"] = this.moDownDate ? this.moDownDate.toISOString() : undefined; + data["moStatus"] = this.moStatus; + data["moVer"] = this.moVer; + data["isConInput"] = this.isConInput; + data["isBomPass"] = this.isBomPass; + data["idMergeRule"] = this.idMergeRule; + data["itemCode"] = this.itemCode; + data["moReleaseTime"] = this.moReleaseTime ? this.moReleaseTime.toISOString() : undefined; + data["moPendingCause"] = this.moPendingCause; + data["moImportTime"] = this.moImportTime ? this.moImportTime.toISOString() : undefined; + data["offMoQty"] = this.offMoQty; + data["isCompareSoft"] = this.isCompareSoft; + data["rmaBillcode"] = this.rmaBillcode; + data["reMoCode"] = this.reMoCode; + data["reMoItemCode"] = this.reMoItemCode; + data["reMoItemDesc"] = this.reMoItemDesc; + data["reMoLotno"] = this.reMoLotno; + data["reMoEnabled"] = this.reMoEnabled; + data["moBom"] = this.moBom; + data["moOp"] = this.moOp; + data["moPlanLine"] = this.moPlanLine; + data["backflushStorage"] = this.backflushStorage; + data["warningStopLine"] = this.warningStopLine; + data["collectModel"] = this.collectModel; + data["collectType"] = this.collectType; + data["projectCode"] = this.projectCode; + data["productLotNo"] = this.productLotNo; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): HttpMethod { + clone(): IcsMoEditDto { const json = this.toJSON(); - let result = new HttpMethod(); + let result = new IcsMoEditDto(); result.init(json); return result; } } -export interface IHttpMethod { - method: string | undefined; +export interface IIcsMoEditDto { + id: number | undefined; + moCode: string | undefined; + moSeq: number; + moMemo: string | undefined; + moType: string | undefined; + moDesc: string | undefined; + moRoute: string | undefined; + moBiosVer: string | undefined; + moPcbaVer: string | undefined; + moPlanQty: number; + moInputQty: number; + moScrapQty: number; + moActQty: number; + moPlanStartDate: moment.Moment; + moPlanEndDate: moment.Moment; + moActStartDate: moment.Moment | undefined; + moActEndDate: moment.Moment | undefined; + facCode: string | undefined; + segCode: string | undefined; + cusCode: string | undefined; + cusName: string | undefined; + cusOrderNo: string | undefined; + cusItemCode: string | undefined; + orderNo: string | undefined; + orderSeq: number | undefined; + moUser: string | undefined; + moDownDate: moment.Moment; + moStatus: string | undefined; + moVer: string | undefined; + isConInput: string | undefined; + isBomPass: string | undefined; + idMergeRule: number | undefined; + itemCode: string | undefined; + moReleaseTime: moment.Moment | undefined; + moPendingCause: string | undefined; + moImportTime: moment.Moment | undefined; + offMoQty: number | undefined; + isCompareSoft: string | undefined; + rmaBillcode: string | undefined; + reMoCode: string | undefined; + reMoItemCode: string | undefined; + reMoItemDesc: string | undefined; + reMoLotno: string | undefined; + reMoEnabled: string | undefined; + moBom: string | undefined; + moOp: string | undefined; + moPlanLine: string | undefined; + backflushStorage: string | undefined; + warningStopLine: string | undefined; + collectModel: string | undefined; + collectType: string | undefined; + projectCode: string | undefined; + productLotNo: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class HttpRequestMessage implements IHttpRequestMessage { - version: string | undefined; - versionPolicy: HttpVersionPolicy; - content: HttpContent; - method: HttpMethod; - requestUri: string | undefined; - readonly headers: KeyValuePairOfStringIEnumerableOfString[] | undefined; - readonly properties: { [key: string]: any; } | undefined; - readonly options: { [key: string]: any; } | undefined; +export class IcsMoImportDto implements IIcsMoImportDto { + moCode: string; + moSeq: number; + moMemo: string | undefined; + moType: string; + moDesc: string | undefined; + moBiosVer: string | undefined; + moPcbaVer: string | undefined; + moPlanQty: number; + moInputQty: number; + moScrapQty: number; + moActQty: number; + moPlanStartDate: moment.Moment; + moPlanEndDate: moment.Moment; + moActStartDate: moment.Moment; + moActEndDate: moment.Moment; + facCode: string | undefined; + segCode: string | undefined; + cusCode: string | undefined; + cusName: string | undefined; + cusOrderNo: string | undefined; + cusItemCode: string | undefined; + orderNo: string | undefined; + orderSeq: number; + moUser: string | undefined; + moDownDate: moment.Moment; + moStatus: string | undefined; + moVer: string | undefined; + isConInput: string | undefined; + isBomPass: string | undefined; + idMergeRule: number | undefined; + itemCode: string; + moReleaseTime: moment.Moment | undefined; + moPendingCause: string | undefined; + moImportTime: moment.Moment | undefined; + offMoQty: number; + isCompareSoft: string | undefined; + rmaBillcode: string | undefined; + reMoCode: string | undefined; + reMoItemCode: string | undefined; + reMoItemDesc: string | undefined; + reMoLotno: string | undefined; + reMoEnabled: string | undefined; + moBom: string; + moOp: string | undefined; + moPlanEndTime: moment.Moment; + moPlanLine: string | undefined; + backflushStorage: string | undefined; + warningStopLine: string | undefined; + collectModel: string; + memo: string | undefined; - constructor(data?: IHttpRequestMessage) { + constructor(data?: IIcsMoImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -66416,99 +107820,270 @@ export class HttpRequestMessage implements IHttpRequestMessage { init(_data?: any) { if (_data) { - this.version = _data["version"]; - this.versionPolicy = _data["versionPolicy"]; - this.content = _data["content"] ? HttpContent.fromJS(_data["content"]) : undefined; - this.method = _data["method"] ? HttpMethod.fromJS(_data["method"]) : undefined; - this.requestUri = _data["requestUri"]; - if (Array.isArray(_data["headers"])) { - (this).headers = [] as any; - for (let item of _data["headers"]) - (this).headers.push(KeyValuePairOfStringIEnumerableOfString.fromJS(item)); - } - if (_data["properties"]) { - (this).properties = {} as any; - for (let key in _data["properties"]) { - if (_data["properties"].hasOwnProperty(key)) - ((this).properties)[key] = _data["properties"][key]; - } - } - if (_data["options"]) { - (this).options = {} as any; - for (let key in _data["options"]) { - if (_data["options"].hasOwnProperty(key)) - ((this).options)[key] = _data["options"][key]; - } - } + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.moMemo = _data["moMemo"]; + this.moType = _data["moType"]; + this.moDesc = _data["moDesc"]; + this.moBiosVer = _data["moBiosVer"]; + this.moPcbaVer = _data["moPcbaVer"]; + this.moPlanQty = _data["moPlanQty"]; + this.moInputQty = _data["moInputQty"]; + this.moScrapQty = _data["moScrapQty"]; + this.moActQty = _data["moActQty"]; + this.moPlanStartDate = _data["moPlanStartDate"] ? moment(_data["moPlanStartDate"].toString()) : undefined; + this.moPlanEndDate = _data["moPlanEndDate"] ? moment(_data["moPlanEndDate"].toString()) : undefined; + this.moActStartDate = _data["moActStartDate"] ? moment(_data["moActStartDate"].toString()) : undefined; + this.moActEndDate = _data["moActEndDate"] ? moment(_data["moActEndDate"].toString()) : undefined; + this.facCode = _data["facCode"]; + this.segCode = _data["segCode"]; + this.cusCode = _data["cusCode"]; + this.cusName = _data["cusName"]; + this.cusOrderNo = _data["cusOrderNo"]; + this.cusItemCode = _data["cusItemCode"]; + this.orderNo = _data["orderNo"]; + this.orderSeq = _data["orderSeq"]; + this.moUser = _data["moUser"]; + this.moDownDate = _data["moDownDate"] ? moment(_data["moDownDate"].toString()) : undefined; + this.moStatus = _data["moStatus"]; + this.moVer = _data["moVer"]; + this.isConInput = _data["isConInput"]; + this.isBomPass = _data["isBomPass"]; + this.idMergeRule = _data["idMergeRule"]; + this.itemCode = _data["itemCode"]; + this.moReleaseTime = _data["moReleaseTime"] ? moment(_data["moReleaseTime"].toString()) : undefined; + this.moPendingCause = _data["moPendingCause"]; + this.moImportTime = _data["moImportTime"] ? moment(_data["moImportTime"].toString()) : undefined; + this.offMoQty = _data["offMoQty"]; + this.isCompareSoft = _data["isCompareSoft"]; + this.rmaBillcode = _data["rmaBillcode"]; + this.reMoCode = _data["reMoCode"]; + this.reMoItemCode = _data["reMoItemCode"]; + this.reMoItemDesc = _data["reMoItemDesc"]; + this.reMoLotno = _data["reMoLotno"]; + this.reMoEnabled = _data["reMoEnabled"]; + this.moBom = _data["moBom"]; + this.moOp = _data["moOp"]; + this.moPlanEndTime = _data["moPlanEndTime"] ? moment(_data["moPlanEndTime"].toString()) : undefined; + this.moPlanLine = _data["moPlanLine"]; + this.backflushStorage = _data["backflushStorage"]; + this.warningStopLine = _data["warningStopLine"]; + this.collectModel = _data["collectModel"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): HttpRequestMessage { + static fromJS(data: any): IcsMoImportDto { data = typeof data === 'object' ? data : {}; - let result = new HttpRequestMessage(); + let result = new IcsMoImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["version"] = this.version; - data["versionPolicy"] = this.versionPolicy; - data["content"] = this.content ? this.content.toJSON() : undefined; - data["method"] = this.method ? this.method.toJSON() : undefined; - data["requestUri"] = this.requestUri; - if (Array.isArray(this.headers)) { - data["headers"] = []; - for (let item of this.headers) - data["headers"].push(item.toJSON()); - } - if (this.properties) { - data["properties"] = {}; - for (let key in this.properties) { - if (this.properties.hasOwnProperty(key)) - (data["properties"])[key] = (this.properties)[key]; - } - } - if (this.options) { - data["options"] = {}; - for (let key in this.options) { - if (this.options.hasOwnProperty(key)) - (data["options"])[key] = (this.options)[key]; - } - } + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["moMemo"] = this.moMemo; + data["moType"] = this.moType; + data["moDesc"] = this.moDesc; + data["moBiosVer"] = this.moBiosVer; + data["moPcbaVer"] = this.moPcbaVer; + data["moPlanQty"] = this.moPlanQty; + data["moInputQty"] = this.moInputQty; + data["moScrapQty"] = this.moScrapQty; + data["moActQty"] = this.moActQty; + data["moPlanStartDate"] = this.moPlanStartDate ? this.moPlanStartDate.toISOString() : undefined; + data["moPlanEndDate"] = this.moPlanEndDate ? this.moPlanEndDate.toISOString() : undefined; + data["moActStartDate"] = this.moActStartDate ? this.moActStartDate.toISOString() : undefined; + data["moActEndDate"] = this.moActEndDate ? this.moActEndDate.toISOString() : undefined; + data["facCode"] = this.facCode; + data["segCode"] = this.segCode; + data["cusCode"] = this.cusCode; + data["cusName"] = this.cusName; + data["cusOrderNo"] = this.cusOrderNo; + data["cusItemCode"] = this.cusItemCode; + data["orderNo"] = this.orderNo; + data["orderSeq"] = this.orderSeq; + data["moUser"] = this.moUser; + data["moDownDate"] = this.moDownDate ? this.moDownDate.toISOString() : undefined; + data["moStatus"] = this.moStatus; + data["moVer"] = this.moVer; + data["isConInput"] = this.isConInput; + data["isBomPass"] = this.isBomPass; + data["idMergeRule"] = this.idMergeRule; + data["itemCode"] = this.itemCode; + data["moReleaseTime"] = this.moReleaseTime ? this.moReleaseTime.toISOString() : undefined; + data["moPendingCause"] = this.moPendingCause; + data["moImportTime"] = this.moImportTime ? this.moImportTime.toISOString() : undefined; + data["offMoQty"] = this.offMoQty; + data["isCompareSoft"] = this.isCompareSoft; + data["rmaBillcode"] = this.rmaBillcode; + data["reMoCode"] = this.reMoCode; + data["reMoItemCode"] = this.reMoItemCode; + data["reMoItemDesc"] = this.reMoItemDesc; + data["reMoLotno"] = this.reMoLotno; + data["reMoEnabled"] = this.reMoEnabled; + data["moBom"] = this.moBom; + data["moOp"] = this.moOp; + data["moPlanEndTime"] = this.moPlanEndTime ? this.moPlanEndTime.toISOString() : undefined; + data["moPlanLine"] = this.moPlanLine; + data["backflushStorage"] = this.backflushStorage; + data["warningStopLine"] = this.warningStopLine; + data["collectModel"] = this.collectModel; + data["memo"] = this.memo; return data; } - clone(): HttpRequestMessage { + clone(): IcsMoImportDto { const json = this.toJSON(); - let result = new HttpRequestMessage(); + let result = new IcsMoImportDto(); result.init(json); return result; } } -export interface IHttpRequestMessage { - version: string | undefined; - versionPolicy: HttpVersionPolicy; - content: HttpContent; - method: HttpMethod; - requestUri: string | undefined; - headers: KeyValuePairOfStringIEnumerableOfString[] | undefined; - properties: { [key: string]: any; } | undefined; - options: { [key: string]: any; } | undefined; +export interface IIcsMoImportDto { + moCode: string; + moSeq: number; + moMemo: string | undefined; + moType: string; + moDesc: string | undefined; + moBiosVer: string | undefined; + moPcbaVer: string | undefined; + moPlanQty: number; + moInputQty: number; + moScrapQty: number; + moActQty: number; + moPlanStartDate: moment.Moment; + moPlanEndDate: moment.Moment; + moActStartDate: moment.Moment; + moActEndDate: moment.Moment; + facCode: string | undefined; + segCode: string | undefined; + cusCode: string | undefined; + cusName: string | undefined; + cusOrderNo: string | undefined; + cusItemCode: string | undefined; + orderNo: string | undefined; + orderSeq: number; + moUser: string | undefined; + moDownDate: moment.Moment; + moStatus: string | undefined; + moVer: string | undefined; + isConInput: string | undefined; + isBomPass: string | undefined; + idMergeRule: number | undefined; + itemCode: string; + moReleaseTime: moment.Moment | undefined; + moPendingCause: string | undefined; + moImportTime: moment.Moment | undefined; + offMoQty: number; + isCompareSoft: string | undefined; + rmaBillcode: string | undefined; + reMoCode: string | undefined; + reMoItemCode: string | undefined; + reMoItemDesc: string | undefined; + reMoLotno: string | undefined; + reMoEnabled: string | undefined; + moBom: string; + moOp: string | undefined; + moPlanEndTime: moment.Moment; + moPlanLine: string | undefined; + backflushStorage: string | undefined; + warningStopLine: string | undefined; + collectModel: string; + memo: string | undefined; } -export class HttpResponseMessage implements IHttpResponseMessage { - version: string | undefined; - content: HttpContent; - statusCode: HttpStatusCode; - reasonPhrase: string | undefined; - readonly headers: KeyValuePairOfStringIEnumerableOfString[] | undefined; - readonly trailingHeaders: KeyValuePairOfStringIEnumerableOfString[] | undefined; - requestMessage: HttpRequestMessage; - readonly isSuccessStatusCode: boolean; +export class IcsMoListDto implements IIcsMoListDto { + moCode: string | undefined; + key: string | undefined; + moSeq: number; + moMemo: string | undefined; + moType: string | undefined; + moTypeText: string | undefined; + moDesc: string | undefined; + moRoute: string | undefined; + moRouteType: string | undefined; + moRouteTypeText: string | undefined; + moBiosVer: string | undefined; + moPcbaVer: string | undefined; + moPlanQty: number; + moHasLotQty: number; + moInputQty: number | undefined; + moScrapQty: number | undefined; + moActQty: number | undefined; + moPlanStartDate: moment.Moment; + moPlanEndDate: moment.Moment; + moActStartDate: moment.Moment | undefined; + moActEndDate: moment.Moment | undefined; + facCode: string | undefined; + segCode: string | undefined; + cusCode: string | undefined; + cusName: string | undefined; + cusOrderNo: string | undefined; + cusItemCode: string | undefined; + orderNo: string | undefined; + orderSeq: number | undefined; + moUser: string | undefined; + moDownDate: moment.Moment | undefined; + moStatus: string | undefined; + moStatusText: string | undefined; + moVer: string | undefined; + isConInput: string | undefined; + isConInputText: string | undefined; + isBomPass: string | undefined; + isBomPassText: string | undefined; + idMergeRule: number | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemDesc: string | undefined; + itemStd: string | undefined; + moReleaseTime: moment.Moment | undefined; + moPendingCause: string | undefined; + moImportTime: moment.Moment | undefined; + offMoQty: number | undefined; + isCompareSoft: string | undefined; + isCompareSoftText: string | undefined; + rmaBillcode: string | undefined; + reMoCode: string | undefined; + reMoItemCode: string | undefined; + reMoItemDesc: string | undefined; + reMoLotno: string | undefined; + reMoEnabled: string | undefined; + moBom: string | undefined; + moOp: string | undefined; + moPlanLine: string | undefined; + backflushStorage: string | undefined; + warningStopLine: string | undefined; + collectModel: string | undefined; + collectModelText: string | undefined; + collectType: string | undefined; + collectTypeText: string | undefined; + projectCode: string | undefined; + productLotNo: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + opList: SelectItemExt[] | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IHttpResponseMessage) { + constructor(data?: IIcsMoListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -66519,147 +108094,331 @@ export class HttpResponseMessage implements IHttpResponseMessage { init(_data?: any) { if (_data) { - this.version = _data["version"]; - this.content = _data["content"] ? HttpContent.fromJS(_data["content"]) : undefined; - this.statusCode = _data["statusCode"]; - this.reasonPhrase = _data["reasonPhrase"]; - if (Array.isArray(_data["headers"])) { - (this).headers = [] as any; - for (let item of _data["headers"]) - (this).headers.push(KeyValuePairOfStringIEnumerableOfString.fromJS(item)); - } - if (Array.isArray(_data["trailingHeaders"])) { - (this).trailingHeaders = [] as any; - for (let item of _data["trailingHeaders"]) - (this).trailingHeaders.push(KeyValuePairOfStringIEnumerableOfString.fromJS(item)); + this.moCode = _data["moCode"]; + this.key = _data["key"]; + this.moSeq = _data["moSeq"]; + this.moMemo = _data["moMemo"]; + this.moType = _data["moType"]; + this.moTypeText = _data["moTypeText"]; + this.moDesc = _data["moDesc"]; + this.moRoute = _data["moRoute"]; + this.moRouteType = _data["moRouteType"]; + this.moRouteTypeText = _data["moRouteTypeText"]; + this.moBiosVer = _data["moBiosVer"]; + this.moPcbaVer = _data["moPcbaVer"]; + this.moPlanQty = _data["moPlanQty"]; + this.moHasLotQty = _data["moHasLotQty"]; + this.moInputQty = _data["moInputQty"]; + this.moScrapQty = _data["moScrapQty"]; + this.moActQty = _data["moActQty"]; + this.moPlanStartDate = _data["moPlanStartDate"] ? moment(_data["moPlanStartDate"].toString()) : undefined; + this.moPlanEndDate = _data["moPlanEndDate"] ? moment(_data["moPlanEndDate"].toString()) : undefined; + this.moActStartDate = _data["moActStartDate"] ? moment(_data["moActStartDate"].toString()) : undefined; + this.moActEndDate = _data["moActEndDate"] ? moment(_data["moActEndDate"].toString()) : undefined; + this.facCode = _data["facCode"]; + this.segCode = _data["segCode"]; + this.cusCode = _data["cusCode"]; + this.cusName = _data["cusName"]; + this.cusOrderNo = _data["cusOrderNo"]; + this.cusItemCode = _data["cusItemCode"]; + this.orderNo = _data["orderNo"]; + this.orderSeq = _data["orderSeq"]; + this.moUser = _data["moUser"]; + this.moDownDate = _data["moDownDate"] ? moment(_data["moDownDate"].toString()) : undefined; + this.moStatus = _data["moStatus"]; + this.moStatusText = _data["moStatusText"]; + this.moVer = _data["moVer"]; + this.isConInput = _data["isConInput"]; + this.isConInputText = _data["isConInputText"]; + this.isBomPass = _data["isBomPass"]; + this.isBomPassText = _data["isBomPassText"]; + this.idMergeRule = _data["idMergeRule"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.itemDesc = _data["itemDesc"]; + this.itemStd = _data["itemStd"]; + this.moReleaseTime = _data["moReleaseTime"] ? moment(_data["moReleaseTime"].toString()) : undefined; + this.moPendingCause = _data["moPendingCause"]; + this.moImportTime = _data["moImportTime"] ? moment(_data["moImportTime"].toString()) : undefined; + this.offMoQty = _data["offMoQty"]; + this.isCompareSoft = _data["isCompareSoft"]; + this.isCompareSoftText = _data["isCompareSoftText"]; + this.rmaBillcode = _data["rmaBillcode"]; + this.reMoCode = _data["reMoCode"]; + this.reMoItemCode = _data["reMoItemCode"]; + this.reMoItemDesc = _data["reMoItemDesc"]; + this.reMoLotno = _data["reMoLotno"]; + this.reMoEnabled = _data["reMoEnabled"]; + this.moBom = _data["moBom"]; + this.moOp = _data["moOp"]; + this.moPlanLine = _data["moPlanLine"]; + this.backflushStorage = _data["backflushStorage"]; + this.warningStopLine = _data["warningStopLine"]; + this.collectModel = _data["collectModel"]; + this.collectModelText = _data["collectModelText"]; + this.collectType = _data["collectType"]; + this.collectTypeText = _data["collectTypeText"]; + this.projectCode = _data["projectCode"]; + this.productLotNo = _data["productLotNo"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + if (Array.isArray(_data["opList"])) { + this.opList = [] as any; + for (let item of _data["opList"]) + this.opList.push(SelectItemExt.fromJS(item)); } - this.requestMessage = _data["requestMessage"] ? HttpRequestMessage.fromJS(_data["requestMessage"]) : undefined; - (this).isSuccessStatusCode = _data["isSuccessStatusCode"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): HttpResponseMessage { + static fromJS(data: any): IcsMoListDto { data = typeof data === 'object' ? data : {}; - let result = new HttpResponseMessage(); + let result = new IcsMoListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["version"] = this.version; - data["content"] = this.content ? this.content.toJSON() : undefined; - data["statusCode"] = this.statusCode; - data["reasonPhrase"] = this.reasonPhrase; - if (Array.isArray(this.headers)) { - data["headers"] = []; - for (let item of this.headers) - data["headers"].push(item.toJSON()); - } - if (Array.isArray(this.trailingHeaders)) { - data["trailingHeaders"] = []; - for (let item of this.trailingHeaders) - data["trailingHeaders"].push(item.toJSON()); - } - data["requestMessage"] = this.requestMessage ? this.requestMessage.toJSON() : undefined; - data["isSuccessStatusCode"] = this.isSuccessStatusCode; - return data; - } - - clone(): HttpResponseMessage { - const json = this.toJSON(); - let result = new HttpResponseMessage(); - result.init(json); - return result; - } -} - -export interface IHttpResponseMessage { - version: string | undefined; - content: HttpContent; - statusCode: HttpStatusCode; - reasonPhrase: string | undefined; - headers: KeyValuePairOfStringIEnumerableOfString[] | undefined; - trailingHeaders: KeyValuePairOfStringIEnumerableOfString[] | undefined; - requestMessage: HttpRequestMessage; - isSuccessStatusCode: boolean; -} - -export enum HttpStatusCode { - Continue = "Continue", - SwitchingProtocols = "SwitchingProtocols", - Processing = "Processing", - EarlyHints = "EarlyHints", - OK = "OK", - Created = "Created", - Accepted = "Accepted", - NonAuthoritativeInformation = "NonAuthoritativeInformation", - NoContent = "NoContent", - ResetContent = "ResetContent", - PartialContent = "PartialContent", - MultiStatus = "MultiStatus", - AlreadyReported = "AlreadyReported", - IMUsed = "IMUsed", - MultipleChoices = "Ambiguous", - Ambiguous = "Moved", - MovedPermanently = "Redirect", - Moved = "RedirectMethod", - Found = "NotModified", - Redirect = "UseProxy", - SeeOther = "Unused", - RedirectMethod = "TemporaryRedirect", - NotModified = "PermanentRedirect", - UseProxy = "BadRequest", - Unused = "Unauthorized", - TemporaryRedirect = "PaymentRequired", - RedirectKeepVerb = "Forbidden", - PermanentRedirect = "NotFound", - BadRequest = "MethodNotAllowed", - Unauthorized = "NotAcceptable", - PaymentRequired = "ProxyAuthenticationRequired", - Forbidden = "RequestTimeout", - NotFound = "Conflict", - MethodNotAllowed = "Gone", - NotAcceptable = "LengthRequired", - ProxyAuthenticationRequired = "PreconditionFailed", - RequestTimeout = "RequestEntityTooLarge", - Conflict = "RequestUriTooLong", - Gone = "UnsupportedMediaType", - LengthRequired = "RequestedRangeNotSatisfiable", - PreconditionFailed = "ExpectationFailed", - RequestEntityTooLarge = "MisdirectedRequest", - RequestUriTooLong = "UnprocessableEntity", - UnsupportedMediaType = "Locked", - RequestedRangeNotSatisfiable = "FailedDependency", - ExpectationFailed = "UpgradeRequired", - MisdirectedRequest = "PreconditionRequired", - UnprocessableEntity = "TooManyRequests", - Locked = "RequestHeaderFieldsTooLarge", - FailedDependency = "UnavailableForLegalReasons", - UpgradeRequired = "InternalServerError", - PreconditionRequired = "NotImplemented", - TooManyRequests = "BadGateway", - RequestHeaderFieldsTooLarge = "ServiceUnavailable", - UnavailableForLegalReasons = "GatewayTimeout", - InternalServerError = "HttpVersionNotSupported", - NotImplemented = "VariantAlsoNegotiates", - BadGateway = "InsufficientStorage", - ServiceUnavailable = "LoopDetected", - GatewayTimeout = "NotExtended", - HttpVersionNotSupported = "NetworkAuthenticationRequired", + data["moCode"] = this.moCode; + data["key"] = this.key; + data["moSeq"] = this.moSeq; + data["moMemo"] = this.moMemo; + data["moType"] = this.moType; + data["moTypeText"] = this.moTypeText; + data["moDesc"] = this.moDesc; + data["moRoute"] = this.moRoute; + data["moRouteType"] = this.moRouteType; + data["moRouteTypeText"] = this.moRouteTypeText; + data["moBiosVer"] = this.moBiosVer; + data["moPcbaVer"] = this.moPcbaVer; + data["moPlanQty"] = this.moPlanQty; + data["moHasLotQty"] = this.moHasLotQty; + data["moInputQty"] = this.moInputQty; + data["moScrapQty"] = this.moScrapQty; + data["moActQty"] = this.moActQty; + data["moPlanStartDate"] = this.moPlanStartDate ? this.moPlanStartDate.toISOString() : undefined; + data["moPlanEndDate"] = this.moPlanEndDate ? this.moPlanEndDate.toISOString() : undefined; + data["moActStartDate"] = this.moActStartDate ? this.moActStartDate.toISOString() : undefined; + data["moActEndDate"] = this.moActEndDate ? this.moActEndDate.toISOString() : undefined; + data["facCode"] = this.facCode; + data["segCode"] = this.segCode; + data["cusCode"] = this.cusCode; + data["cusName"] = this.cusName; + data["cusOrderNo"] = this.cusOrderNo; + data["cusItemCode"] = this.cusItemCode; + data["orderNo"] = this.orderNo; + data["orderSeq"] = this.orderSeq; + data["moUser"] = this.moUser; + data["moDownDate"] = this.moDownDate ? this.moDownDate.toISOString() : undefined; + data["moStatus"] = this.moStatus; + data["moStatusText"] = this.moStatusText; + data["moVer"] = this.moVer; + data["isConInput"] = this.isConInput; + data["isConInputText"] = this.isConInputText; + data["isBomPass"] = this.isBomPass; + data["isBomPassText"] = this.isBomPassText; + data["idMergeRule"] = this.idMergeRule; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["itemDesc"] = this.itemDesc; + data["itemStd"] = this.itemStd; + data["moReleaseTime"] = this.moReleaseTime ? this.moReleaseTime.toISOString() : undefined; + data["moPendingCause"] = this.moPendingCause; + data["moImportTime"] = this.moImportTime ? this.moImportTime.toISOString() : undefined; + data["offMoQty"] = this.offMoQty; + data["isCompareSoft"] = this.isCompareSoft; + data["isCompareSoftText"] = this.isCompareSoftText; + data["rmaBillcode"] = this.rmaBillcode; + data["reMoCode"] = this.reMoCode; + data["reMoItemCode"] = this.reMoItemCode; + data["reMoItemDesc"] = this.reMoItemDesc; + data["reMoLotno"] = this.reMoLotno; + data["reMoEnabled"] = this.reMoEnabled; + data["moBom"] = this.moBom; + data["moOp"] = this.moOp; + data["moPlanLine"] = this.moPlanLine; + data["backflushStorage"] = this.backflushStorage; + data["warningStopLine"] = this.warningStopLine; + data["collectModel"] = this.collectModel; + data["collectModelText"] = this.collectModelText; + data["collectType"] = this.collectType; + data["collectTypeText"] = this.collectTypeText; + data["projectCode"] = this.projectCode; + data["productLotNo"] = this.productLotNo; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + if (Array.isArray(this.opList)) { + data["opList"] = []; + for (let item of this.opList) + data["opList"].push(item.toJSON()); + } + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; + return data; + } + + clone(): IcsMoListDto { + const json = this.toJSON(); + let result = new IcsMoListDto(); + result.init(json); + return result; + } } -export enum HttpVersionPolicy { - RequestVersionOrLower = "RequestVersionOrLower", - RequestVersionOrHigher = "RequestVersionOrHigher", - RequestVersionExact = "RequestVersionExact", +export interface IIcsMoListDto { + moCode: string | undefined; + key: string | undefined; + moSeq: number; + moMemo: string | undefined; + moType: string | undefined; + moTypeText: string | undefined; + moDesc: string | undefined; + moRoute: string | undefined; + moRouteType: string | undefined; + moRouteTypeText: string | undefined; + moBiosVer: string | undefined; + moPcbaVer: string | undefined; + moPlanQty: number; + moHasLotQty: number; + moInputQty: number | undefined; + moScrapQty: number | undefined; + moActQty: number | undefined; + moPlanStartDate: moment.Moment; + moPlanEndDate: moment.Moment; + moActStartDate: moment.Moment | undefined; + moActEndDate: moment.Moment | undefined; + facCode: string | undefined; + segCode: string | undefined; + cusCode: string | undefined; + cusName: string | undefined; + cusOrderNo: string | undefined; + cusItemCode: string | undefined; + orderNo: string | undefined; + orderSeq: number | undefined; + moUser: string | undefined; + moDownDate: moment.Moment | undefined; + moStatus: string | undefined; + moStatusText: string | undefined; + moVer: string | undefined; + isConInput: string | undefined; + isConInputText: string | undefined; + isBomPass: string | undefined; + isBomPassText: string | undefined; + idMergeRule: number | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemDesc: string | undefined; + itemStd: string | undefined; + moReleaseTime: moment.Moment | undefined; + moPendingCause: string | undefined; + moImportTime: moment.Moment | undefined; + offMoQty: number | undefined; + isCompareSoft: string | undefined; + isCompareSoftText: string | undefined; + rmaBillcode: string | undefined; + reMoCode: string | undefined; + reMoItemCode: string | undefined; + reMoItemDesc: string | undefined; + reMoLotno: string | undefined; + reMoEnabled: string | undefined; + moBom: string | undefined; + moOp: string | undefined; + moPlanLine: string | undefined; + backflushStorage: string | undefined; + warningStopLine: string | undefined; + collectModel: string | undefined; + collectModelText: string | undefined; + collectType: string | undefined; + collectTypeText: string | undefined; + projectCode: string | undefined; + productLotNo: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + opList: SelectItemExt[] | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class IValueValidator implements IIValueValidator { - readonly name: string | undefined; - readonly attributes: { [key: string]: any; } | undefined; +export class IcsMoRoute2OpDto implements IIcsMoRoute2OpDto { + id: number | undefined; + moId: number; + routeId: number; + opId: number; + moCode: string | undefined; + moSeq: number; + routeCode: string | undefined; + routeName: string | undefined; + opCode: string | undefined; + opName: string | undefined; + opDesc: string | undefined; + opSeq: number; + optionalOp: string | undefined; + opControl: string | undefined; + opControlList: string[] | undefined; + idMergeType: string | undefined; + idMergeRule: number | undefined; + opLevel: string | undefined; + opControlSeq: number; + parallelOp: string | undefined; + memo: string | undefined; + tenantId: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + key: string | undefined; - constructor(data?: IIValueValidator) { + constructor(data?: IIcsMoRoute2OpDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -66670,69 +108429,153 @@ export class IValueValidator implements IIValueValidator { init(_data?: any) { if (_data) { - (this).name = _data["name"]; - if (_data["attributes"]) { - (this).attributes = {} as any; - for (let key in _data["attributes"]) { - if (_data["attributes"].hasOwnProperty(key)) - ((this).attributes)[key] = _data["attributes"][key]; - } + this.id = _data["id"]; + this.moId = _data["moId"]; + this.routeId = _data["routeId"]; + this.opId = _data["opId"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.routeCode = _data["routeCode"]; + this.routeName = _data["routeName"]; + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.opDesc = _data["opDesc"]; + this.opSeq = _data["opSeq"]; + this.optionalOp = _data["optionalOp"]; + this.opControl = _data["opControl"]; + if (Array.isArray(_data["opControlList"])) { + this.opControlList = [] as any; + for (let item of _data["opControlList"]) + this.opControlList.push(item); } + this.idMergeType = _data["idMergeType"]; + this.idMergeRule = _data["idMergeRule"]; + this.opLevel = _data["opLevel"]; + this.opControlSeq = _data["opControlSeq"]; + this.parallelOp = _data["parallelOp"]; + this.memo = _data["memo"]; + this.tenantId = _data["tenantId"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.key = _data["key"]; } } - static fromJS(data: any): IValueValidator { + static fromJS(data: any): IcsMoRoute2OpDto { data = typeof data === 'object' ? data : {}; - let result = new IValueValidator(); + let result = new IcsMoRoute2OpDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["name"] = this.name; - if (this.attributes) { - data["attributes"] = {}; - for (let key in this.attributes) { - if (this.attributes.hasOwnProperty(key)) - (data["attributes"])[key] = (this.attributes)[key]; - } + data["id"] = this.id; + data["moId"] = this.moId; + data["routeId"] = this.routeId; + data["opId"] = this.opId; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["routeCode"] = this.routeCode; + data["routeName"] = this.routeName; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["opDesc"] = this.opDesc; + data["opSeq"] = this.opSeq; + data["optionalOp"] = this.optionalOp; + data["opControl"] = this.opControl; + if (Array.isArray(this.opControlList)) { + data["opControlList"] = []; + for (let item of this.opControlList) + data["opControlList"].push(item); } + data["idMergeType"] = this.idMergeType; + data["idMergeRule"] = this.idMergeRule; + data["opLevel"] = this.opLevel; + data["opControlSeq"] = this.opControlSeq; + data["parallelOp"] = this.parallelOp; + data["memo"] = this.memo; + data["tenantId"] = this.tenantId; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["key"] = this.key; return data; } - clone(): IValueValidator { + clone(): IcsMoRoute2OpDto { const json = this.toJSON(); - let result = new IValueValidator(); + let result = new IcsMoRoute2OpDto(); result.init(json); return result; } } -export interface IIValueValidator { - name: string | undefined; - attributes: { [key: string]: any; } | undefined; +export interface IIcsMoRoute2OpDto { + id: number | undefined; + moId: number; + routeId: number; + opId: number; + moCode: string | undefined; + moSeq: number; + routeCode: string | undefined; + routeName: string | undefined; + opCode: string | undefined; + opName: string | undefined; + opDesc: string | undefined; + opSeq: number; + optionalOp: string | undefined; + opControl: string | undefined; + opControlList: string[] | undefined; + idMergeType: string | undefined; + idMergeRule: number | undefined; + opLevel: string | undefined; + opControlSeq: number; + parallelOp: string | undefined; + memo: string | undefined; + tenantId: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + key: string | undefined; } -export class IcsCheckGroup2ItemDto implements IIcsCheckGroup2ItemDto { +export class IcsModel2EcgEditDto implements IIcsModel2EcgEditDto { id: number | undefined; - checkGroupID: number; - checkItemID: number; - /** 检验项目组 */ - checkGroupCode: string | undefined; - /** 检验项目规格 */ - checkItemStd: string | undefined; - checkGroupName: string | undefined; - /** 检验项代码 */ - checkItemCode: string | undefined; - checkItemName: string | undefined; - /** 备注 */ + modelId: number; + ecgId: number[] | undefined; + modelCode: string | undefined; + ecsgId: number; + ecsId: number[] | undefined; + solId: number[] | undefined; + routeCode: string | undefined; + opCode: string | undefined; + resCode: string | undefined; memo: string | undefined; - list: IcsCheckItemListDto[] | undefined; - list2: IcsCheckItemEditDto[] | undefined; - checkListStr: string | undefined; - constructor(data?: IIcsCheckGroup2ItemDto) { + constructor(data?: IIcsModel2EcgEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -66744,31 +108587,34 @@ export class IcsCheckGroup2ItemDto implements IIcsCheckGroup2ItemDto { init(_data?: any) { if (_data) { this.id = _data["id"]; - this.checkGroupID = _data["checkGroupID"]; - this.checkItemID = _data["checkItemID"]; - this.checkGroupCode = _data["checkGroupCode"]; - this.checkItemStd = _data["checkItemStd"]; - this.checkGroupName = _data["checkGroupName"]; - this.checkItemCode = _data["checkItemCode"]; - this.checkItemName = _data["checkItemName"]; - this.memo = _data["memo"]; - if (Array.isArray(_data["list"])) { - this.list = [] as any; - for (let item of _data["list"]) - this.list.push(IcsCheckItemListDto.fromJS(item)); + this.modelId = _data["modelId"]; + if (Array.isArray(_data["ecgId"])) { + this.ecgId = [] as any; + for (let item of _data["ecgId"]) + this.ecgId.push(item); } - if (Array.isArray(_data["list2"])) { - this.list2 = [] as any; - for (let item of _data["list2"]) - this.list2.push(IcsCheckItemEditDto.fromJS(item)); + this.modelCode = _data["modelCode"]; + this.ecsgId = _data["ecsgId"]; + if (Array.isArray(_data["ecsId"])) { + this.ecsId = [] as any; + for (let item of _data["ecsId"]) + this.ecsId.push(item); } - this.checkListStr = _data["checkListStr"]; + if (Array.isArray(_data["solId"])) { + this.solId = [] as any; + for (let item of _data["solId"]) + this.solId.push(item); + } + this.routeCode = _data["routeCode"]; + this.opCode = _data["opCode"]; + this.resCode = _data["resCode"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): IcsCheckGroup2ItemDto { + static fromJS(data: any): IcsModel2EcgEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsCheckGroup2ItemDto(); + let result = new IcsModel2EcgEditDto(); result.init(data); return result; } @@ -66776,88 +108622,73 @@ export class IcsCheckGroup2ItemDto implements IIcsCheckGroup2ItemDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["id"] = this.id; - data["checkGroupID"] = this.checkGroupID; - data["checkItemID"] = this.checkItemID; - data["checkGroupCode"] = this.checkGroupCode; - data["checkItemStd"] = this.checkItemStd; - data["checkGroupName"] = this.checkGroupName; - data["checkItemCode"] = this.checkItemCode; - data["checkItemName"] = this.checkItemName; - data["memo"] = this.memo; - if (Array.isArray(this.list)) { - data["list"] = []; - for (let item of this.list) - data["list"].push(item.toJSON()); + data["modelId"] = this.modelId; + if (Array.isArray(this.ecgId)) { + data["ecgId"] = []; + for (let item of this.ecgId) + data["ecgId"].push(item); } - if (Array.isArray(this.list2)) { - data["list2"] = []; - for (let item of this.list2) - data["list2"].push(item.toJSON()); + data["modelCode"] = this.modelCode; + data["ecsgId"] = this.ecsgId; + if (Array.isArray(this.ecsId)) { + data["ecsId"] = []; + for (let item of this.ecsId) + data["ecsId"].push(item); } - data["checkListStr"] = this.checkListStr; + if (Array.isArray(this.solId)) { + data["solId"] = []; + for (let item of this.solId) + data["solId"].push(item); + } + data["routeCode"] = this.routeCode; + data["opCode"] = this.opCode; + data["resCode"] = this.resCode; + data["memo"] = this.memo; return data; } - clone(): IcsCheckGroup2ItemDto { + clone(): IcsModel2EcgEditDto { const json = this.toJSON(); - let result = new IcsCheckGroup2ItemDto(); + let result = new IcsModel2EcgEditDto(); result.init(json); return result; } } -export interface IIcsCheckGroup2ItemDto { +export interface IIcsModel2EcgEditDto { id: number | undefined; - checkGroupID: number; - checkItemID: number; - /** 检验项目组 */ - checkGroupCode: string | undefined; - /** 检验项目规格 */ - checkItemStd: string | undefined; - checkGroupName: string | undefined; - /** 检验项代码 */ - checkItemCode: string | undefined; - checkItemName: string | undefined; - /** 备注 */ + modelId: number; + ecgId: number[] | undefined; + modelCode: string | undefined; + ecsgId: number; + ecsId: number[] | undefined; + solId: number[] | undefined; + routeCode: string | undefined; + opCode: string | undefined; + resCode: string | undefined; memo: string | undefined; - list: IcsCheckItemListDto[] | undefined; - list2: IcsCheckItemEditDto[] | undefined; - checkListStr: string | undefined; } -export class IcsCheckGroupEditDto implements IIcsCheckGroupEditDto { - id: number | undefined; - /** 检验项目组 */ - checkGroupCode: string; - /** 检验项目组名称 */ - checkGroupName: string; - /** 检验项目组描述 */ - checkGroupDesc: string | undefined; - /** 备注 */ +export class IcsModel2EcgListDto implements IIcsModel2EcgListDto { + modelId: number; + modelName: string | undefined; + modelCode: string | undefined; + ecgId: number; + ecgName: string | undefined; + ecgCode: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + resCode: string | undefined; memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - checkItemList: IcsCheckItemEditDto[] | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IIcsCheckGroupEditDto) { + constructor(data?: IIcsModel2EcgListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -66868,113 +108699,92 @@ export class IcsCheckGroupEditDto implements IIcsCheckGroupEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.checkGroupCode = _data["checkGroupCode"]; - this.checkGroupName = _data["checkGroupName"]; - this.checkGroupDesc = _data["checkGroupDesc"]; + this.modelId = _data["modelId"]; + this.modelName = _data["modelName"]; + this.modelCode = _data["modelCode"]; + this.ecgId = _data["ecgId"]; + this.ecgName = _data["ecgName"]; + this.ecgCode = _data["ecgCode"]; + this.routeCode = _data["routeCode"]; + this.opCode = _data["opCode"]; + this.resCode = _data["resCode"]; this.memo = _data["memo"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - if (Array.isArray(_data["checkItemList"])) { - this.checkItemList = [] as any; - for (let item of _data["checkItemList"]) - this.checkItemList.push(IcsCheckItemEditDto.fromJS(item)); - } + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): IcsCheckGroupEditDto { + static fromJS(data: any): IcsModel2EcgListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsCheckGroupEditDto(); + let result = new IcsModel2EcgListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["checkGroupCode"] = this.checkGroupCode; - data["checkGroupName"] = this.checkGroupName; - data["checkGroupDesc"] = this.checkGroupDesc; - data["memo"] = this.memo; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - if (Array.isArray(this.checkItemList)) { - data["checkItemList"] = []; - for (let item of this.checkItemList) - data["checkItemList"].push(item.toJSON()); - } + data["modelId"] = this.modelId; + data["modelName"] = this.modelName; + data["modelCode"] = this.modelCode; + data["ecgId"] = this.ecgId; + data["ecgName"] = this.ecgName; + data["ecgCode"] = this.ecgCode; + data["routeCode"] = this.routeCode; + data["opCode"] = this.opCode; + data["resCode"] = this.resCode; + data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): IcsCheckGroupEditDto { + clone(): IcsModel2EcgListDto { const json = this.toJSON(); - let result = new IcsCheckGroupEditDto(); + let result = new IcsModel2EcgListDto(); result.init(json); return result; } } -export interface IIcsCheckGroupEditDto { - id: number | undefined; - /** 检验项目组 */ - checkGroupCode: string; - /** 检验项目组名称 */ - checkGroupName: string; - /** 检验项目组描述 */ - checkGroupDesc: string | undefined; - /** 备注 */ +export interface IIcsModel2EcgListDto { + modelId: number; + modelName: string | undefined; + modelCode: string | undefined; + ecgId: number; + ecgName: string | undefined; + ecgCode: string | undefined; + routeCode: string | undefined; + opCode: string | undefined; + resCode: string | undefined; memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - checkItemList: IcsCheckItemEditDto[] | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class IcsCheckGroupImportDto implements IIcsCheckGroupImportDto { - /** 检验项目组 */ - checkGroupCode: string; - /** 检验项目组名称 */ - checkGroupName: string; - /** 检验项目组描述 */ - checkGroupDesc: string | undefined; - /** 备注 */ +export class IcsModel2EcsEditDto implements IIcsModel2EcsEditDto { + id: number | undefined; + modelId: number; + ecsId: number; + modelCode: string | undefined; + ecsCode: string | undefined; memo: string | undefined; - constructor(data?: IIcsCheckGroupImportDto) { + constructor(data?: IIcsModel2EcsEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -66985,80 +108795,61 @@ export class IcsCheckGroupImportDto implements IIcsCheckGroupImportDto { init(_data?: any) { if (_data) { - this.checkGroupCode = _data["checkGroupCode"]; - this.checkGroupName = _data["checkGroupName"]; - this.checkGroupDesc = _data["checkGroupDesc"]; + this.id = _data["id"]; + this.modelId = _data["modelId"]; + this.ecsId = _data["ecsId"]; + this.modelCode = _data["modelCode"]; + this.ecsCode = _data["ecsCode"]; this.memo = _data["memo"]; } } - static fromJS(data: any): IcsCheckGroupImportDto { + static fromJS(data: any): IcsModel2EcsEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsCheckGroupImportDto(); + let result = new IcsModel2EcsEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["checkGroupCode"] = this.checkGroupCode; - data["checkGroupName"] = this.checkGroupName; - data["checkGroupDesc"] = this.checkGroupDesc; + data["id"] = this.id; + data["modelId"] = this.modelId; + data["ecsId"] = this.ecsId; + data["modelCode"] = this.modelCode; + data["ecsCode"] = this.ecsCode; data["memo"] = this.memo; return data; } - clone(): IcsCheckGroupImportDto { + clone(): IcsModel2EcsEditDto { const json = this.toJSON(); - let result = new IcsCheckGroupImportDto(); + let result = new IcsModel2EcsEditDto(); result.init(json); return result; } } -export interface IIcsCheckGroupImportDto { - /** 检验项目组 */ - checkGroupCode: string; - /** 检验项目组名称 */ - checkGroupName: string; - /** 检验项目组描述 */ - checkGroupDesc: string | undefined; - /** 备注 */ +export interface IIcsModel2EcsEditDto { + id: number | undefined; + modelId: number; + ecsId: number; + modelCode: string | undefined; + ecsCode: string | undefined; memo: string | undefined; } -export class IcsCheckGroupListDto implements IIcsCheckGroupListDto { - key: string | undefined; - /** 检验项目组 */ - checkGroupCode: string; - /** 检验项目组名称 */ - checkGroupName: string; - /** 检验项目组描述 */ - checkGroupDesc: string | undefined; - /** 备注 */ +export class IcsModel2EcsListDto implements IIcsModel2EcsListDto { + modelId: number; + modelName: string | undefined; + ecsgId: number; + ecsId: number; + ecsgName: string | undefined; + ecsName: string | undefined; + ecsgCode: string | undefined; + ecsCode: string | undefined; + modelCode: string | undefined; memo: string | undefined; - /** 检验项目列表 */ - detailList: IcsCheckItemListDto[] | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -67067,7 +108858,7 @@ export class IcsCheckGroupListDto implements IIcsCheckGroupListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsCheckGroupListDto) { + constructor(data?: IIcsModel2EcsListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -67078,26 +108869,16 @@ export class IcsCheckGroupListDto implements IIcsCheckGroupListDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.checkGroupCode = _data["checkGroupCode"]; - this.checkGroupName = _data["checkGroupName"]; - this.checkGroupDesc = _data["checkGroupDesc"]; + this.modelId = _data["modelId"]; + this.modelName = _data["modelName"]; + this.ecsgId = _data["ecsgId"]; + this.ecsId = _data["ecsId"]; + this.ecsgName = _data["ecsgName"]; + this.ecsName = _data["ecsName"]; + this.ecsgCode = _data["ecsgCode"]; + this.ecsCode = _data["ecsCode"]; + this.modelCode = _data["modelCode"]; this.memo = _data["memo"]; - if (Array.isArray(_data["detailList"])) { - this.detailList = [] as any; - for (let item of _data["detailList"]) - this.detailList.push(IcsCheckItemListDto.fromJS(item)); - } - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; @@ -67108,35 +108889,25 @@ export class IcsCheckGroupListDto implements IIcsCheckGroupListDto { } } - static fromJS(data: any): IcsCheckGroupListDto { + static fromJS(data: any): IcsModel2EcsListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsCheckGroupListDto(); + let result = new IcsModel2EcsListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["checkGroupCode"] = this.checkGroupCode; - data["checkGroupName"] = this.checkGroupName; - data["checkGroupDesc"] = this.checkGroupDesc; + data["modelId"] = this.modelId; + data["modelName"] = this.modelName; + data["ecsgId"] = this.ecsgId; + data["ecsId"] = this.ecsId; + data["ecsgName"] = this.ecsgName; + data["ecsName"] = this.ecsName; + data["ecsgCode"] = this.ecsgCode; + data["ecsCode"] = this.ecsCode; + data["modelCode"] = this.modelCode; data["memo"] = this.memo; - if (Array.isArray(this.detailList)) { - data["detailList"] = []; - for (let item of this.detailList) - data["detailList"].push(item.toJSON()); - } - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; @@ -67147,46 +108918,25 @@ export class IcsCheckGroupListDto implements IIcsCheckGroupListDto { return data; } - clone(): IcsCheckGroupListDto { + clone(): IcsModel2EcsListDto { const json = this.toJSON(); - let result = new IcsCheckGroupListDto(); + let result = new IcsModel2EcsListDto(); result.init(json); return result; } } -export interface IIcsCheckGroupListDto { - key: string | undefined; - /** 检验项目组 */ - checkGroupCode: string; - /** 检验项目组名称 */ - checkGroupName: string; - /** 检验项目组描述 */ - checkGroupDesc: string | undefined; - /** 备注 */ +export interface IIcsModel2EcsListDto { + modelId: number; + modelName: string | undefined; + ecsgId: number; + ecsId: number; + ecsgName: string | undefined; + ecsName: string | undefined; + ecsgCode: string | undefined; + ecsCode: string | undefined; + modelCode: string | undefined; memo: string | undefined; - /** 检验项目列表 */ - detailList: IcsCheckItemListDto[] | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -67196,51 +108946,15 @@ export interface IIcsCheckGroupListDto { id: number; } -export class IcsCheckItemEditDto implements IIcsCheckItemEditDto { - key: string | undefined; +export class IcsModel2EcsgEditDto implements IIcsModel2EcsgEditDto { id: number | undefined; - /** 检验项目规格 */ - checkItemStd: string | undefined; - /** 检验项代码 */ - checkItemCode: string | undefined; - /** 检验项名称 */ - checkItemName: string | undefined; - /** 检验项描述 */ - checkItemDesc: string | undefined; - /** 单位 */ - unit: string | undefined; - /** 最大设定值 */ - setValueMax: string | undefined; - /** 最小设定值 */ - setValueMin: string | undefined; - /** 让步最大设定值 */ - exemptionValueMax: string | undefined; - /** 让步最小设定值 */ - exemptionValueMin: string | undefined; - /** 备注 */ + modelId: number; + ecsgId: number; + modelCode: string | undefined; + ecsgCode: string | undefined; memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - constructor(data?: IIcsCheckItemEditDto) { + constructor(data?: IIcsModel2EcsgEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -67251,139 +108965,65 @@ export class IcsCheckItemEditDto implements IIcsCheckItemEditDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; this.id = _data["id"]; - this.checkItemStd = _data["checkItemStd"]; - this.checkItemCode = _data["checkItemCode"]; - this.checkItemName = _data["checkItemName"]; - this.checkItemDesc = _data["checkItemDesc"]; - this.unit = _data["unit"]; - this.setValueMax = _data["setValueMax"]; - this.setValueMin = _data["setValueMin"]; - this.exemptionValueMax = _data["exemptionValueMax"]; - this.exemptionValueMin = _data["exemptionValueMin"]; + this.modelId = _data["modelId"]; + this.ecsgId = _data["ecsgId"]; + this.modelCode = _data["modelCode"]; + this.ecsgCode = _data["ecsgCode"]; this.memo = _data["memo"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; } } - static fromJS(data: any): IcsCheckItemEditDto { + static fromJS(data: any): IcsModel2EcsgEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsCheckItemEditDto(); + let result = new IcsModel2EcsgEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; data["id"] = this.id; - data["checkItemStd"] = this.checkItemStd; - data["checkItemCode"] = this.checkItemCode; - data["checkItemName"] = this.checkItemName; - data["checkItemDesc"] = this.checkItemDesc; - data["unit"] = this.unit; - data["setValueMax"] = this.setValueMax; - data["setValueMin"] = this.setValueMin; - data["exemptionValueMax"] = this.exemptionValueMax; - data["exemptionValueMin"] = this.exemptionValueMin; + data["modelId"] = this.modelId; + data["ecsgId"] = this.ecsgId; + data["modelCode"] = this.modelCode; + data["ecsgCode"] = this.ecsgCode; data["memo"] = this.memo; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; return data; } - clone(): IcsCheckItemEditDto { + clone(): IcsModel2EcsgEditDto { const json = this.toJSON(); - let result = new IcsCheckItemEditDto(); + let result = new IcsModel2EcsgEditDto(); result.init(json); return result; } } -export interface IIcsCheckItemEditDto { - key: string | undefined; +export interface IIcsModel2EcsgEditDto { id: number | undefined; - /** 检验项目规格 */ - checkItemStd: string | undefined; - /** 检验项代码 */ - checkItemCode: string | undefined; - /** 检验项名称 */ - checkItemName: string | undefined; - /** 检验项描述 */ - checkItemDesc: string | undefined; - /** 单位 */ - unit: string | undefined; - /** 最大设定值 */ - setValueMax: string | undefined; - /** 最小设定值 */ - setValueMin: string | undefined; - /** 让步最大设定值 */ - exemptionValueMax: string | undefined; - /** 让步最小设定值 */ - exemptionValueMin: string | undefined; - /** 备注 */ + modelId: number; + ecsgId: number; + modelCode: string | undefined; + ecsgCode: string | undefined; memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; } -export class IcsCheckItemImportDto implements IIcsCheckItemImportDto { - /** 检验项代码 */ - checkItemCode: string; - /** 检验项名称 */ - checkItemName: string; - /** 检验项描述 */ - checkItemDesc: string | undefined; - /** 单位 */ - unit: string; - /** 最大设定值 */ - setValueMax: string; - /** 最小设定值 */ - setValueMin: string; - /** 让步最大设定值 */ - exemptionValueMax: string; - /** 让步最小设定值 */ - exemptionValueMin: string; - /** 备注 */ +export class IcsModel2EcsgListDto implements IIcsModel2EcsgListDto { + modelId: number; + ecsgId: number; + modelCode: string | undefined; + ecsgCode: string | undefined; memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IIcsCheckItemImportDto) { + constructor(data?: IIcsModel2EcsgListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -67394,112 +109034,59 @@ export class IcsCheckItemImportDto implements IIcsCheckItemImportDto { init(_data?: any) { if (_data) { - this.checkItemCode = _data["checkItemCode"]; - this.checkItemName = _data["checkItemName"]; - this.checkItemDesc = _data["checkItemDesc"]; - this.unit = _data["unit"]; - this.setValueMax = _data["setValueMax"]; - this.setValueMin = _data["setValueMin"]; - this.exemptionValueMax = _data["exemptionValueMax"]; - this.exemptionValueMin = _data["exemptionValueMin"]; + this.modelId = _data["modelId"]; + this.ecsgId = _data["ecsgId"]; + this.modelCode = _data["modelCode"]; + this.ecsgCode = _data["ecsgCode"]; this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): IcsCheckItemImportDto { + static fromJS(data: any): IcsModel2EcsgListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsCheckItemImportDto(); + let result = new IcsModel2EcsgListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["checkItemCode"] = this.checkItemCode; - data["checkItemName"] = this.checkItemName; - data["checkItemDesc"] = this.checkItemDesc; - data["unit"] = this.unit; - data["setValueMax"] = this.setValueMax; - data["setValueMin"] = this.setValueMin; - data["exemptionValueMax"] = this.exemptionValueMax; - data["exemptionValueMin"] = this.exemptionValueMin; + data["modelId"] = this.modelId; + data["ecsgId"] = this.ecsgId; + data["modelCode"] = this.modelCode; + data["ecsgCode"] = this.ecsgCode; data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): IcsCheckItemImportDto { + clone(): IcsModel2EcsgListDto { const json = this.toJSON(); - let result = new IcsCheckItemImportDto(); + let result = new IcsModel2EcsgListDto(); result.init(json); return result; } } -export interface IIcsCheckItemImportDto { - /** 检验项代码 */ - checkItemCode: string; - /** 检验项名称 */ - checkItemName: string; - /** 检验项描述 */ - checkItemDesc: string | undefined; - /** 单位 */ - unit: string; - /** 最大设定值 */ - setValueMax: string; - /** 最小设定值 */ - setValueMin: string; - /** 让步最大设定值 */ - exemptionValueMax: string; - /** 让步最小设定值 */ - exemptionValueMin: string; - /** 备注 */ - memo: string | undefined; -} - -export class IcsCheckItemListDto implements IIcsCheckItemListDto { - key: string | undefined; - /** 检验项目规格 */ - checkItemStd: string | undefined; - /** 检验项代码 */ - checkItemCode: string | undefined; - /** 检验项名称 */ - checkItemName: string | undefined; - /** 检验项描述 */ - checkItemDesc: string | undefined; - checkGroupCode: string | undefined; - checkGroupName: string | undefined; - /** 单位 */ - unit: string | undefined; - /** 最大设定值 */ - setValueMax: string | undefined; - /** 最小设定值 */ - setValueMin: string | undefined; - /** 让步最大设定值 */ - exemptionValueMax: string | undefined; - /** 让步最小设定值 */ - exemptionValueMin: string | undefined; - /** 备注 */ +export interface IIcsModel2EcsgListDto { + modelId: number; + ecsgId: number; + modelCode: string | undefined; + ecsgCode: string | undefined; memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -67507,8 +109094,17 @@ export class IcsCheckItemListDto implements IIcsCheckItemListDto { creationTime: moment.Moment; creatorUserId: string | undefined; id: number; +} - constructor(data?: IIcsCheckItemListDto) { +export class IcsModel2SolutionEditDto implements IIcsModel2SolutionEditDto { + id: number | undefined; + modelId: number; + solId: number; + modelCode: string | undefined; + solCode: string | undefined; + memo: string | undefined; + + constructor(data?: IIcsModel2SolutionEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -67519,133 +109115,58 @@ export class IcsCheckItemListDto implements IIcsCheckItemListDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.checkItemStd = _data["checkItemStd"]; - this.checkItemCode = _data["checkItemCode"]; - this.checkItemName = _data["checkItemName"]; - this.checkItemDesc = _data["checkItemDesc"]; - this.checkGroupCode = _data["checkGroupCode"]; - this.checkGroupName = _data["checkGroupName"]; - this.unit = _data["unit"]; - this.setValueMax = _data["setValueMax"]; - this.setValueMin = _data["setValueMin"]; - this.exemptionValueMax = _data["exemptionValueMax"]; - this.exemptionValueMin = _data["exemptionValueMin"]; - this.memo = _data["memo"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; this.id = _data["id"]; + this.modelId = _data["modelId"]; + this.solId = _data["solId"]; + this.modelCode = _data["modelCode"]; + this.solCode = _data["solCode"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): IcsCheckItemListDto { - data = typeof data === 'object' ? data : {}; - let result = new IcsCheckItemListDto(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["checkItemStd"] = this.checkItemStd; - data["checkItemCode"] = this.checkItemCode; - data["checkItemName"] = this.checkItemName; - data["checkItemDesc"] = this.checkItemDesc; - data["checkGroupCode"] = this.checkGroupCode; - data["checkGroupName"] = this.checkGroupName; - data["unit"] = this.unit; - data["setValueMax"] = this.setValueMax; - data["setValueMin"] = this.setValueMin; - data["exemptionValueMax"] = this.exemptionValueMax; - data["exemptionValueMin"] = this.exemptionValueMin; - data["memo"] = this.memo; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; + static fromJS(data: any): IcsModel2SolutionEditDto { + data = typeof data === 'object' ? data : {}; + let result = new IcsModel2SolutionEditDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; data["id"] = this.id; + data["modelId"] = this.modelId; + data["solId"] = this.solId; + data["modelCode"] = this.modelCode; + data["solCode"] = this.solCode; + data["memo"] = this.memo; return data; } - clone(): IcsCheckItemListDto { + clone(): IcsModel2SolutionEditDto { const json = this.toJSON(); - let result = new IcsCheckItemListDto(); + let result = new IcsModel2SolutionEditDto(); result.init(json); return result; } } -export interface IIcsCheckItemListDto { - key: string | undefined; - /** 检验项目规格 */ - checkItemStd: string | undefined; - /** 检验项代码 */ - checkItemCode: string | undefined; - /** 检验项名称 */ - checkItemName: string | undefined; - /** 检验项描述 */ - checkItemDesc: string | undefined; - checkGroupCode: string | undefined; - checkGroupName: string | undefined; - /** 单位 */ - unit: string | undefined; - /** 最大设定值 */ - setValueMax: string | undefined; - /** 最小设定值 */ - setValueMin: string | undefined; - /** 让步最大设定值 */ - exemptionValueMax: string | undefined; - /** 让步最小设定值 */ - exemptionValueMin: string | undefined; - /** 备注 */ +export interface IIcsModel2SolutionEditDto { + id: number | undefined; + modelId: number; + solId: number; + modelCode: string | undefined; + solCode: string | undefined; + memo: string | undefined; +} + +export class IcsModel2SolutionListDto implements IIcsModel2SolutionListDto { + modelId: number; + solId: number; + solName: string | undefined; + modelName: string | undefined; + modelCode: string | undefined; + solCode: string | undefined; memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -67653,45 +109174,8 @@ export interface IIcsCheckItemListDto { creationTime: moment.Moment; creatorUserId: string | undefined; id: number; -} - -export class IcsCrew2UserDto implements IIcsCrew2UserDto { - key: string | undefined; - /** 班组 */ - id: number | undefined; - cRewId: number; - /** 班组代码 */ - crewCode: string | undefined; - crewName: string | undefined; - /** 用户ID */ - userId: string | undefined; - /** 用户代码 */ - userCode: string | undefined; - userName: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 备注 */ - memo: string | undefined; - constructor(data?: IIcsCrew2UserDto) { + constructor(data?: IIcsModel2SolutionListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -67702,137 +109186,97 @@ export class IcsCrew2UserDto implements IIcsCrew2UserDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.id = _data["id"]; - this.cRewId = _data["cRewId"]; - this.crewCode = _data["crewCode"]; - this.crewName = _data["crewName"]; - this.userId = _data["userId"]; - this.userCode = _data["userCode"]; - this.userName = _data["userName"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; + this.modelId = _data["modelId"]; + this.solId = _data["solId"]; + this.solName = _data["solName"]; + this.modelName = _data["modelName"]; + this.modelCode = _data["modelCode"]; + this.solCode = _data["solCode"]; this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): IcsCrew2UserDto { + static fromJS(data: any): IcsModel2SolutionListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsCrew2UserDto(); + let result = new IcsModel2SolutionListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["id"] = this.id; - data["cRewId"] = this.cRewId; - data["crewCode"] = this.crewCode; - data["crewName"] = this.crewName; - data["userId"] = this.userId; - data["userCode"] = this.userCode; - data["userName"] = this.userName; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; + data["modelId"] = this.modelId; + data["solId"] = this.solId; + data["solName"] = this.solName; + data["modelName"] = this.modelName; + data["modelCode"] = this.modelCode; + data["solCode"] = this.solCode; data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): IcsCrew2UserDto { + clone(): IcsModel2SolutionListDto { const json = this.toJSON(); - let result = new IcsCrew2UserDto(); + let result = new IcsModel2SolutionListDto(); result.init(json); return result; } } -export interface IIcsCrew2UserDto { - key: string | undefined; - /** 班组 */ - id: number | undefined; - cRewId: number; - /** 班组代码 */ - crewCode: string | undefined; - crewName: string | undefined; - /** 用户ID */ - userId: string | undefined; - /** 用户代码 */ - userCode: string | undefined; - userName: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 备注 */ +export interface IIcsModel2SolutionListDto { + modelId: number; + solId: number; + solName: string | undefined; + modelName: string | undefined; + modelCode: string | undefined; + solCode: string | undefined; memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class IcsCrewEditDto implements IIcsCrewEditDto { +export class IcsNcr2LotDto implements IIcsNcr2LotDto { + key: string | undefined; id: number | undefined; - /** 班组代码 */ - crewCode: string | undefined; - /** 班组名称 */ - crewName: string | undefined; - /** 班组描述 */ - crewDesc: string | undefined; - crew2UserList: IcsCrew2UserDto[] | undefined; - /** 保留字段1 */ + ncrId: number; + ncrDocNo: string | undefined; + lotNo: string | undefined; + lotSeq: number; + lotQty: number; + srcDocNo: string | undefined; + srcDocLineNo: number; + memo: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ - memo: string | undefined; - constructor(data?: IIcsCrewEditDto) { + constructor(data?: IIcsNcr2LotDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -67843,15 +109287,16 @@ export class IcsCrewEditDto implements IIcsCrewEditDto { init(_data?: any) { if (_data) { + this.key = _data["key"]; this.id = _data["id"]; - this.crewCode = _data["crewCode"]; - this.crewName = _data["crewName"]; - this.crewDesc = _data["crewDesc"]; - if (Array.isArray(_data["crew2UserList"])) { - this.crew2UserList = [] as any; - for (let item of _data["crew2UserList"]) - this.crew2UserList.push(IcsCrew2UserDto.fromJS(item)); - } + this.ncrId = _data["ncrId"]; + this.ncrDocNo = _data["ncrDocNo"]; + this.lotNo = _data["lotNo"]; + this.lotSeq = _data["lotSeq"]; + this.lotQty = _data["lotQty"]; + this.srcDocNo = _data["srcDocNo"]; + this.srcDocLineNo = _data["srcDocLineNo"]; + this.memo = _data["memo"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; @@ -67862,28 +109307,28 @@ export class IcsCrewEditDto implements IIcsCrewEditDto { this.default8 = _data["default8"]; this.default9 = _data["default9"]; this.default10 = _data["default10"]; - this.memo = _data["memo"]; } } - static fromJS(data: any): IcsCrewEditDto { + static fromJS(data: any): IcsNcr2LotDto { data = typeof data === 'object' ? data : {}; - let result = new IcsCrewEditDto(); + let result = new IcsNcr2LotDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["key"] = this.key; data["id"] = this.id; - data["crewCode"] = this.crewCode; - data["crewName"] = this.crewName; - data["crewDesc"] = this.crewDesc; - if (Array.isArray(this.crew2UserList)) { - data["crew2UserList"] = []; - for (let item of this.crew2UserList) - data["crew2UserList"].push(item.toJSON()); - } + data["ncrId"] = this.ncrId; + data["ncrDocNo"] = this.ncrDocNo; + data["lotNo"] = this.lotNo; + data["lotSeq"] = this.lotSeq; + data["lotQty"] = this.lotQty; + data["srcDocNo"] = this.srcDocNo; + data["srcDocLineNo"] = this.srcDocLineNo; + data["memo"] = this.memo; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; @@ -67894,89 +109339,127 @@ export class IcsCrewEditDto implements IIcsCrewEditDto { data["default8"] = this.default8; data["default9"] = this.default9; data["default10"] = this.default10; - data["memo"] = this.memo; return data; } - clone(): IcsCrewEditDto { + clone(): IcsNcr2LotDto { const json = this.toJSON(); - let result = new IcsCrewEditDto(); + let result = new IcsNcr2LotDto(); result.init(json); return result; } } -export interface IIcsCrewEditDto { +export interface IIcsNcr2LotDto { + key: string | undefined; id: number | undefined; - /** 班组代码 */ - crewCode: string | undefined; - /** 班组名称 */ - crewName: string | undefined; - /** 班组描述 */ - crewDesc: string | undefined; - crew2UserList: IcsCrew2UserDto[] | undefined; - /** 保留字段1 */ + ncrId: number; + ncrDocNo: string | undefined; + lotNo: string | undefined; + lotSeq: number; + lotQty: number; + srcDocNo: string | undefined; + srcDocLineNo: number; + memo: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ - memo: string | undefined; } -export class IcsCrewListDto implements IIcsCrewListDto { - /** 班组代码 */ - crewCode: string | undefined; - /** 班组名称 */ - crewName: string | undefined; - /** 班组描述 */ - crewDesc: string | undefined; - /** 保留字段1 */ +export class IcsNcrDocEditDto implements IIcsNcrDocEditDto { + key: string | undefined; + id: number | undefined; + ncrDocNo: string | undefined; + lotNoStr: string | undefined; + ncrType: string | undefined; + ncrStatus: string | undefined; + srcDocType: string | undefined; + moCode: string | undefined; + moSeq: number; + errorType: string | undefined; + eqpCode: string | undefined; + projectCode: string | undefined; + timeLimit: number; + contentDesc: string | undefined; + opCode: string | undefined; + treatWay: string | undefined; + reasonDesc: string | undefined; + treatResult: string | undefined; + toPostList: string | undefined; + ccPostList: string | undefined; + toUserList: string | undefined; + okUserList: string | undefined; + ccUserList: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + readUserList: string | undefined; + vendorState: string | undefined; + vendorDesc: string | undefined; + prevention: string | undefined; + rectify: string | undefined; + badReason: string | undefined; + applyUser: string | undefined; + realCauseAnalysis: string | undefined; + isNeedPrevention: string | undefined; + partment: string | undefined; + createDep: string | undefined; + addressPoint: string | undefined; + qty: number; + ngQty: number; + managerConfirm: string | undefined; + furnace: string | undefined; + urgent: string | undefined; + pzljmoCode: string | undefined; + workHourPrice: string | undefined; + materialPrice: string | undefined; + isTuiLiao: string | undefined; + ipAddress: string | undefined; + sendForm: string | undefined; + sendType: string | undefined; + defectType: string | undefined; + defectLocation: string | undefined; + conformUserId: string | undefined; + conformUserName: string | undefined; + conformTime: moment.Moment | undefined; + closeUserId: string | undefined; + closeUserName: string | undefined; + closeTime: moment.Moment | undefined; + memo: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ - memo: string | undefined; + default11: string | undefined; + default12: string | undefined; + default13: string | undefined; + default14: string | undefined; + default15: string | undefined; + default16: string | undefined; + default17: string | undefined; + default18: string | undefined; + default19: string | undefined; + default20: string | undefined; creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; + creationTime: moment.Moment | undefined; + detailList: IcsNcr2LotDto[] | undefined; + fileList: IcsNcrDocFileDto[] | undefined; + fileIdStr: string | undefined; + isAutoSplitLot: boolean; - constructor(data?: IIcsCrewListDto) { + constructor(data?: IIcsNcrDocEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -67987,9 +109470,64 @@ export class IcsCrewListDto implements IIcsCrewListDto { init(_data?: any) { if (_data) { - this.crewCode = _data["crewCode"]; - this.crewName = _data["crewName"]; - this.crewDesc = _data["crewDesc"]; + this.key = _data["key"]; + this.id = _data["id"]; + this.ncrDocNo = _data["ncrDocNo"]; + this.lotNoStr = _data["lotNoStr"]; + this.ncrType = _data["ncrType"]; + this.ncrStatus = _data["ncrStatus"]; + this.srcDocType = _data["srcDocType"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.errorType = _data["errorType"]; + this.eqpCode = _data["eqpCode"]; + this.projectCode = _data["projectCode"]; + this.timeLimit = _data["timeLimit"]; + this.contentDesc = _data["contentDesc"]; + this.opCode = _data["opCode"]; + this.treatWay = _data["treatWay"]; + this.reasonDesc = _data["reasonDesc"]; + this.treatResult = _data["treatResult"]; + this.toPostList = _data["toPostList"]; + this.ccPostList = _data["ccPostList"]; + this.toUserList = _data["toUserList"]; + this.okUserList = _data["okUserList"]; + this.ccUserList = _data["ccUserList"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.readUserList = _data["readUserList"]; + this.vendorState = _data["vendorState"]; + this.vendorDesc = _data["vendorDesc"]; + this.prevention = _data["prevention"]; + this.rectify = _data["rectify"]; + this.badReason = _data["badReason"]; + this.applyUser = _data["applyUser"]; + this.realCauseAnalysis = _data["realCauseAnalysis"]; + this.isNeedPrevention = _data["isNeedPrevention"]; + this.partment = _data["partment"]; + this.createDep = _data["createDep"]; + this.addressPoint = _data["addressPoint"]; + this.qty = _data["qty"]; + this.ngQty = _data["ngQty"]; + this.managerConfirm = _data["managerConfirm"]; + this.furnace = _data["furnace"]; + this.urgent = _data["urgent"]; + this.pzljmoCode = _data["pzljmoCode"]; + this.workHourPrice = _data["workHourPrice"]; + this.materialPrice = _data["materialPrice"]; + this.isTuiLiao = _data["isTuiLiao"]; + this.ipAddress = _data["ipAddress"]; + this.sendForm = _data["sendForm"]; + this.sendType = _data["sendType"]; + this.defectType = _data["defectType"]; + this.defectLocation = _data["defectLocation"]; + this.conformUserId = _data["conformUserId"]; + this.conformUserName = _data["conformUserName"]; + this.conformTime = _data["conformTime"] ? moment(_data["conformTime"].toString()) : undefined; + this.closeUserId = _data["closeUserId"]; + this.closeUserName = _data["closeUserName"]; + this.closeTime = _data["closeTime"] ? moment(_data["closeTime"].toString()) : undefined; + this.memo = _data["memo"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; @@ -68000,29 +109538,100 @@ export class IcsCrewListDto implements IIcsCrewListDto { this.default8 = _data["default8"]; this.default9 = _data["default9"]; this.default10 = _data["default10"]; - this.memo = _data["memo"]; + this.default11 = _data["default11"]; + this.default12 = _data["default12"]; + this.default13 = _data["default13"]; + this.default14 = _data["default14"]; + this.default15 = _data["default15"]; + this.default16 = _data["default16"]; + this.default17 = _data["default17"]; + this.default18 = _data["default18"]; + this.default19 = _data["default19"]; + this.default20 = _data["default20"]; this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + if (Array.isArray(_data["detailList"])) { + this.detailList = [] as any; + for (let item of _data["detailList"]) + this.detailList.push(IcsNcr2LotDto.fromJS(item)); + } + if (Array.isArray(_data["fileList"])) { + this.fileList = [] as any; + for (let item of _data["fileList"]) + this.fileList.push(IcsNcrDocFileDto.fromJS(item)); + } + this.fileIdStr = _data["fileIdStr"]; + this.isAutoSplitLot = _data["isAutoSplitLot"]; } } - static fromJS(data: any): IcsCrewListDto { + static fromJS(data: any): IcsNcrDocEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsCrewListDto(); + let result = new IcsNcrDocEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["crewCode"] = this.crewCode; - data["crewName"] = this.crewName; - data["crewDesc"] = this.crewDesc; + data["key"] = this.key; + data["id"] = this.id; + data["ncrDocNo"] = this.ncrDocNo; + data["lotNoStr"] = this.lotNoStr; + data["ncrType"] = this.ncrType; + data["ncrStatus"] = this.ncrStatus; + data["srcDocType"] = this.srcDocType; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["errorType"] = this.errorType; + data["eqpCode"] = this.eqpCode; + data["projectCode"] = this.projectCode; + data["timeLimit"] = this.timeLimit; + data["contentDesc"] = this.contentDesc; + data["opCode"] = this.opCode; + data["treatWay"] = this.treatWay; + data["reasonDesc"] = this.reasonDesc; + data["treatResult"] = this.treatResult; + data["toPostList"] = this.toPostList; + data["ccPostList"] = this.ccPostList; + data["toUserList"] = this.toUserList; + data["okUserList"] = this.okUserList; + data["ccUserList"] = this.ccUserList; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["readUserList"] = this.readUserList; + data["vendorState"] = this.vendorState; + data["vendorDesc"] = this.vendorDesc; + data["prevention"] = this.prevention; + data["rectify"] = this.rectify; + data["badReason"] = this.badReason; + data["applyUser"] = this.applyUser; + data["realCauseAnalysis"] = this.realCauseAnalysis; + data["isNeedPrevention"] = this.isNeedPrevention; + data["partment"] = this.partment; + data["createDep"] = this.createDep; + data["addressPoint"] = this.addressPoint; + data["qty"] = this.qty; + data["ngQty"] = this.ngQty; + data["managerConfirm"] = this.managerConfirm; + data["furnace"] = this.furnace; + data["urgent"] = this.urgent; + data["pzljmoCode"] = this.pzljmoCode; + data["workHourPrice"] = this.workHourPrice; + data["materialPrice"] = this.materialPrice; + data["isTuiLiao"] = this.isTuiLiao; + data["ipAddress"] = this.ipAddress; + data["sendForm"] = this.sendForm; + data["sendType"] = this.sendType; + data["defectType"] = this.defectType; + data["defectLocation"] = this.defectLocation; + data["conformUserId"] = this.conformUserId; + data["conformUserName"] = this.conformUserName; + data["conformTime"] = this.conformTime ? this.conformTime.toISOString() : undefined; + data["closeUserId"] = this.closeUserId; + data["closeUserName"] = this.closeUserName; + data["closeTime"] = this.closeTime ? this.closeTime.toISOString() : undefined; + data["memo"] = this.memo; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; @@ -68033,95 +109642,147 @@ export class IcsCrewListDto implements IIcsCrewListDto { data["default8"] = this.default8; data["default9"] = this.default9; data["default10"] = this.default10; - data["memo"] = this.memo; + data["default11"] = this.default11; + data["default12"] = this.default12; + data["default13"] = this.default13; + data["default14"] = this.default14; + data["default15"] = this.default15; + data["default16"] = this.default16; + data["default17"] = this.default17; + data["default18"] = this.default18; + data["default19"] = this.default19; + data["default20"] = this.default20; data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + if (Array.isArray(this.detailList)) { + data["detailList"] = []; + for (let item of this.detailList) + data["detailList"].push(item.toJSON()); + } + if (Array.isArray(this.fileList)) { + data["fileList"] = []; + for (let item of this.fileList) + data["fileList"].push(item.toJSON()); + } + data["fileIdStr"] = this.fileIdStr; + data["isAutoSplitLot"] = this.isAutoSplitLot; return data; } - clone(): IcsCrewListDto { + clone(): IcsNcrDocEditDto { const json = this.toJSON(); - let result = new IcsCrewListDto(); + let result = new IcsNcrDocEditDto(); result.init(json); return result; } } -export interface IIcsCrewListDto { - /** 班组代码 */ - crewCode: string | undefined; - /** 班组名称 */ - crewName: string | undefined; - /** 班组描述 */ - crewDesc: string | undefined; - /** 保留字段1 */ +export interface IIcsNcrDocEditDto { + key: string | undefined; + id: number | undefined; + ncrDocNo: string | undefined; + lotNoStr: string | undefined; + ncrType: string | undefined; + ncrStatus: string | undefined; + srcDocType: string | undefined; + moCode: string | undefined; + moSeq: number; + errorType: string | undefined; + eqpCode: string | undefined; + projectCode: string | undefined; + timeLimit: number; + contentDesc: string | undefined; + opCode: string | undefined; + treatWay: string | undefined; + reasonDesc: string | undefined; + treatResult: string | undefined; + toPostList: string | undefined; + ccPostList: string | undefined; + toUserList: string | undefined; + okUserList: string | undefined; + ccUserList: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + readUserList: string | undefined; + vendorState: string | undefined; + vendorDesc: string | undefined; + prevention: string | undefined; + rectify: string | undefined; + badReason: string | undefined; + applyUser: string | undefined; + realCauseAnalysis: string | undefined; + isNeedPrevention: string | undefined; + partment: string | undefined; + createDep: string | undefined; + addressPoint: string | undefined; + qty: number; + ngQty: number; + managerConfirm: string | undefined; + furnace: string | undefined; + urgent: string | undefined; + pzljmoCode: string | undefined; + workHourPrice: string | undefined; + materialPrice: string | undefined; + isTuiLiao: string | undefined; + ipAddress: string | undefined; + sendForm: string | undefined; + sendType: string | undefined; + defectType: string | undefined; + defectLocation: string | undefined; + conformUserId: string | undefined; + conformUserName: string | undefined; + conformTime: moment.Moment | undefined; + closeUserId: string | undefined; + closeUserName: string | undefined; + closeTime: moment.Moment | undefined; + memo: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ - memo: string | undefined; + default11: string | undefined; + default12: string | undefined; + default13: string | undefined; + default14: string | undefined; + default15: string | undefined; + default16: string | undefined; + default17: string | undefined; + default18: string | undefined; + default19: string | undefined; + default20: string | undefined; creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; + creationTime: moment.Moment | undefined; + detailList: IcsNcr2LotDto[] | undefined; + fileList: IcsNcrDocFileDto[] | undefined; + fileIdStr: string | undefined; + isAutoSplitLot: boolean; } -export class IcsDctEditDto implements IIcsDctEditDto { +export class IcsNcrDocFileDto implements IIcsNcrDocFileDto { + key: string | undefined; id: number | undefined; - /** DCT指令 */ - dctCode: string | undefined; - /** DCT指令名称 */ - dctName: string | undefined; - /** DCT指令描述 */ - dctDesc: string | undefined; - /** 保留字段1 */ + ncrId: number; + ncrDocNo: string | undefined; + fileId: string | undefined; + memo: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ - memo: string | undefined; - constructor(data?: IIcsDctEditDto) { + constructor(data?: IIcsNcrDocFileDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -68132,10 +109793,12 @@ export class IcsDctEditDto implements IIcsDctEditDto { init(_data?: any) { if (_data) { + this.key = _data["key"]; this.id = _data["id"]; - this.dctCode = _data["dctCode"]; - this.dctName = _data["dctName"]; - this.dctDesc = _data["dctDesc"]; + this.ncrId = _data["ncrId"]; + this.ncrDocNo = _data["ncrDocNo"]; + this.fileId = _data["fileId"]; + this.memo = _data["memo"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; @@ -68146,23 +109809,24 @@ export class IcsDctEditDto implements IIcsDctEditDto { this.default8 = _data["default8"]; this.default9 = _data["default9"]; this.default10 = _data["default10"]; - this.memo = _data["memo"]; } } - static fromJS(data: any): IcsDctEditDto { + static fromJS(data: any): IcsNcrDocFileDto { data = typeof data === 'object' ? data : {}; - let result = new IcsDctEditDto(); + let result = new IcsNcrDocFileDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["key"] = this.key; data["id"] = this.id; - data["dctCode"] = this.dctCode; - data["dctName"] = this.dctName; - data["dctDesc"] = this.dctDesc; + data["ncrId"] = this.ncrId; + data["ncrDocNo"] = this.ncrDocNo; + data["fileId"] = this.fileId; + data["memo"] = this.memo; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; @@ -68173,79 +109837,116 @@ export class IcsDctEditDto implements IIcsDctEditDto { data["default8"] = this.default8; data["default9"] = this.default9; data["default10"] = this.default10; - data["memo"] = this.memo; return data; } - clone(): IcsDctEditDto { + clone(): IcsNcrDocFileDto { const json = this.toJSON(); - let result = new IcsDctEditDto(); + let result = new IcsNcrDocFileDto(); result.init(json); return result; } } -export interface IIcsDctEditDto { +export interface IIcsNcrDocFileDto { + key: string | undefined; id: number | undefined; - /** DCT指令 */ - dctCode: string | undefined; - /** DCT指令名称 */ - dctName: string | undefined; - /** DCT指令描述 */ - dctDesc: string | undefined; - /** 保留字段1 */ + ncrId: number; + ncrDocNo: string | undefined; + fileId: string | undefined; + memo: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ - memo: string | undefined; } -export class IcsDctListDto implements IIcsDctListDto { - /** DCT指令 */ - dctCode: string | undefined; - /** DCT指令名称 */ - dctName: string | undefined; - /** DCT指令描述 */ - dctDesc: string | undefined; - /** 保留字段1 */ +export class IcsNcrDocListDto implements IIcsNcrDocListDto { + key: string | undefined; + ncrDocNo: string | undefined; + ncrType: string | undefined; + ncrTypeText: string | undefined; + ncrStatus: string | undefined; + ncrStatusText: string | undefined; + srcDocType: string | undefined; + srcDocTypeText: string | undefined; + lotNoStr: string | undefined; + errorType: string | undefined; + eqpCode: string | undefined; + projectCode: string | undefined; + timeLimit: number; + contentDesc: string | undefined; + opCode: string | undefined; + opName: string | undefined; + treatWay: string | undefined; + reasonDesc: string | undefined; + treatResult: string | undefined; + toPostList: string | undefined; + ccPostList: string | undefined; + toUserList: string | undefined; + okUserList: string | undefined; + ccUserList: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + readUserList: string | undefined; + vendorState: string | undefined; + vendorDesc: string | undefined; + prevention: string | undefined; + rectify: string | undefined; + badReason: string | undefined; + applyUser: string | undefined; + realCauseAnalysis: string | undefined; + isNeedPrevention: string | undefined; + partment: string | undefined; + createDep: string | undefined; + addressPoint: string | undefined; + qty: number | undefined; + ngQty: number; + managerConfirm: string | undefined; + furnace: string | undefined; + urgent: string | undefined; + pzljmoCode: string | undefined; + workHourPrice: string | undefined; + materialPrice: string | undefined; + isTuiLiao: string | undefined; + ipAddress: string | undefined; + sendForm: string | undefined; + sendType: string | undefined; + defectType: string | undefined; + defectLocation: string | undefined; + conformUserId: string | undefined; + conformUserName: string | undefined; + conformTime: moment.Moment | undefined; + closeUserId: string | undefined; + closeUserName: string | undefined; + closeTime: moment.Moment | undefined; + memo: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ - memo: string | undefined; + default11: string | undefined; + default12: string | undefined; + default13: string | undefined; + default14: string | undefined; + default15: string | undefined; + default16: string | undefined; + default17: string | undefined; + default18: string | undefined; + default19: string | undefined; + default20: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -68254,7 +109955,7 @@ export class IcsDctListDto implements IIcsDctListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsDctListDto) { + constructor(data?: IIcsNcrDocListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -68265,9 +109966,65 @@ export class IcsDctListDto implements IIcsDctListDto { init(_data?: any) { if (_data) { - this.dctCode = _data["dctCode"]; - this.dctName = _data["dctName"]; - this.dctDesc = _data["dctDesc"]; + this.key = _data["key"]; + this.ncrDocNo = _data["ncrDocNo"]; + this.ncrType = _data["ncrType"]; + this.ncrTypeText = _data["ncrTypeText"]; + this.ncrStatus = _data["ncrStatus"]; + this.ncrStatusText = _data["ncrStatusText"]; + this.srcDocType = _data["srcDocType"]; + this.srcDocTypeText = _data["srcDocTypeText"]; + this.lotNoStr = _data["lotNoStr"]; + this.errorType = _data["errorType"]; + this.eqpCode = _data["eqpCode"]; + this.projectCode = _data["projectCode"]; + this.timeLimit = _data["timeLimit"]; + this.contentDesc = _data["contentDesc"]; + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.treatWay = _data["treatWay"]; + this.reasonDesc = _data["reasonDesc"]; + this.treatResult = _data["treatResult"]; + this.toPostList = _data["toPostList"]; + this.ccPostList = _data["ccPostList"]; + this.toUserList = _data["toUserList"]; + this.okUserList = _data["okUserList"]; + this.ccUserList = _data["ccUserList"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.readUserList = _data["readUserList"]; + this.vendorState = _data["vendorState"]; + this.vendorDesc = _data["vendorDesc"]; + this.prevention = _data["prevention"]; + this.rectify = _data["rectify"]; + this.badReason = _data["badReason"]; + this.applyUser = _data["applyUser"]; + this.realCauseAnalysis = _data["realCauseAnalysis"]; + this.isNeedPrevention = _data["isNeedPrevention"]; + this.partment = _data["partment"]; + this.createDep = _data["createDep"]; + this.addressPoint = _data["addressPoint"]; + this.qty = _data["qty"]; + this.ngQty = _data["ngQty"]; + this.managerConfirm = _data["managerConfirm"]; + this.furnace = _data["furnace"]; + this.urgent = _data["urgent"]; + this.pzljmoCode = _data["pzljmoCode"]; + this.workHourPrice = _data["workHourPrice"]; + this.materialPrice = _data["materialPrice"]; + this.isTuiLiao = _data["isTuiLiao"]; + this.ipAddress = _data["ipAddress"]; + this.sendForm = _data["sendForm"]; + this.sendType = _data["sendType"]; + this.defectType = _data["defectType"]; + this.defectLocation = _data["defectLocation"]; + this.conformUserId = _data["conformUserId"]; + this.conformUserName = _data["conformUserName"]; + this.conformTime = _data["conformTime"] ? moment(_data["conformTime"].toString()) : undefined; + this.closeUserId = _data["closeUserId"]; + this.closeUserName = _data["closeUserName"]; + this.closeTime = _data["closeTime"] ? moment(_data["closeTime"].toString()) : undefined; + this.memo = _data["memo"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; @@ -68278,7 +110035,16 @@ export class IcsDctListDto implements IIcsDctListDto { this.default8 = _data["default8"]; this.default9 = _data["default9"]; this.default10 = _data["default10"]; - this.memo = _data["memo"]; + this.default11 = _data["default11"]; + this.default12 = _data["default12"]; + this.default13 = _data["default13"]; + this.default14 = _data["default14"]; + this.default15 = _data["default15"]; + this.default16 = _data["default16"]; + this.default17 = _data["default17"]; + this.default18 = _data["default18"]; + this.default19 = _data["default19"]; + this.default20 = _data["default20"]; this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; @@ -68289,18 +110055,74 @@ export class IcsDctListDto implements IIcsDctListDto { } } - static fromJS(data: any): IcsDctListDto { + static fromJS(data: any): IcsNcrDocListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsDctListDto(); + let result = new IcsNcrDocListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["dctCode"] = this.dctCode; - data["dctName"] = this.dctName; - data["dctDesc"] = this.dctDesc; + data["key"] = this.key; + data["ncrDocNo"] = this.ncrDocNo; + data["ncrType"] = this.ncrType; + data["ncrTypeText"] = this.ncrTypeText; + data["ncrStatus"] = this.ncrStatus; + data["ncrStatusText"] = this.ncrStatusText; + data["srcDocType"] = this.srcDocType; + data["srcDocTypeText"] = this.srcDocTypeText; + data["lotNoStr"] = this.lotNoStr; + data["errorType"] = this.errorType; + data["eqpCode"] = this.eqpCode; + data["projectCode"] = this.projectCode; + data["timeLimit"] = this.timeLimit; + data["contentDesc"] = this.contentDesc; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["treatWay"] = this.treatWay; + data["reasonDesc"] = this.reasonDesc; + data["treatResult"] = this.treatResult; + data["toPostList"] = this.toPostList; + data["ccPostList"] = this.ccPostList; + data["toUserList"] = this.toUserList; + data["okUserList"] = this.okUserList; + data["ccUserList"] = this.ccUserList; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["readUserList"] = this.readUserList; + data["vendorState"] = this.vendorState; + data["vendorDesc"] = this.vendorDesc; + data["prevention"] = this.prevention; + data["rectify"] = this.rectify; + data["badReason"] = this.badReason; + data["applyUser"] = this.applyUser; + data["realCauseAnalysis"] = this.realCauseAnalysis; + data["isNeedPrevention"] = this.isNeedPrevention; + data["partment"] = this.partment; + data["createDep"] = this.createDep; + data["addressPoint"] = this.addressPoint; + data["qty"] = this.qty; + data["ngQty"] = this.ngQty; + data["managerConfirm"] = this.managerConfirm; + data["furnace"] = this.furnace; + data["urgent"] = this.urgent; + data["pzljmoCode"] = this.pzljmoCode; + data["workHourPrice"] = this.workHourPrice; + data["materialPrice"] = this.materialPrice; + data["isTuiLiao"] = this.isTuiLiao; + data["ipAddress"] = this.ipAddress; + data["sendForm"] = this.sendForm; + data["sendType"] = this.sendType; + data["defectType"] = this.defectType; + data["defectLocation"] = this.defectLocation; + data["conformUserId"] = this.conformUserId; + data["conformUserName"] = this.conformUserName; + data["conformTime"] = this.conformTime ? this.conformTime.toISOString() : undefined; + data["closeUserId"] = this.closeUserId; + data["closeUserName"] = this.closeUserName; + data["closeTime"] = this.closeTime ? this.closeTime.toISOString() : undefined; + data["memo"] = this.memo; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; @@ -68311,7 +110133,16 @@ export class IcsDctListDto implements IIcsDctListDto { data["default8"] = this.default8; data["default9"] = this.default9; data["default10"] = this.default10; - data["memo"] = this.memo; + data["default11"] = this.default11; + data["default12"] = this.default12; + data["default13"] = this.default13; + data["default14"] = this.default14; + data["default15"] = this.default15; + data["default16"] = this.default16; + data["default17"] = this.default17; + data["default18"] = this.default18; + data["default19"] = this.default19; + data["default20"] = this.default20; data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; @@ -68322,43 +110153,94 @@ export class IcsDctListDto implements IIcsDctListDto { return data; } - clone(): IcsDctListDto { + clone(): IcsNcrDocListDto { const json = this.toJSON(); - let result = new IcsDctListDto(); + let result = new IcsNcrDocListDto(); result.init(json); return result; } } -export interface IIcsDctListDto { - /** DCT指令 */ - dctCode: string | undefined; - /** DCT指令名称 */ - dctName: string | undefined; - /** DCT指令描述 */ - dctDesc: string | undefined; - /** 保留字段1 */ +export interface IIcsNcrDocListDto { + key: string | undefined; + ncrDocNo: string | undefined; + ncrType: string | undefined; + ncrTypeText: string | undefined; + ncrStatus: string | undefined; + ncrStatusText: string | undefined; + srcDocType: string | undefined; + srcDocTypeText: string | undefined; + lotNoStr: string | undefined; + errorType: string | undefined; + eqpCode: string | undefined; + projectCode: string | undefined; + timeLimit: number; + contentDesc: string | undefined; + opCode: string | undefined; + opName: string | undefined; + treatWay: string | undefined; + reasonDesc: string | undefined; + treatResult: string | undefined; + toPostList: string | undefined; + ccPostList: string | undefined; + toUserList: string | undefined; + okUserList: string | undefined; + ccUserList: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + readUserList: string | undefined; + vendorState: string | undefined; + vendorDesc: string | undefined; + prevention: string | undefined; + rectify: string | undefined; + badReason: string | undefined; + applyUser: string | undefined; + realCauseAnalysis: string | undefined; + isNeedPrevention: string | undefined; + partment: string | undefined; + createDep: string | undefined; + addressPoint: string | undefined; + qty: number | undefined; + ngQty: number; + managerConfirm: string | undefined; + furnace: string | undefined; + urgent: string | undefined; + pzljmoCode: string | undefined; + workHourPrice: string | undefined; + materialPrice: string | undefined; + isTuiLiao: string | undefined; + ipAddress: string | undefined; + sendForm: string | undefined; + sendType: string | undefined; + defectType: string | undefined; + defectLocation: string | undefined; + conformUserId: string | undefined; + conformUserName: string | undefined; + conformTime: moment.Moment | undefined; + closeUserId: string | undefined; + closeUserName: string | undefined; + closeTime: moment.Moment | undefined; + memo: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ - memo: string | undefined; + default11: string | undefined; + default12: string | undefined; + default13: string | undefined; + default14: string | undefined; + default15: string | undefined; + default16: string | undefined; + default17: string | undefined; + default18: string | undefined; + default19: string | undefined; + default20: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -68368,18 +110250,51 @@ export interface IIcsDctListDto { id: number; } -export class IcsDutyEditDto implements IIcsDutyEditDto { +export class IcsOPBomDetailListDto implements IIcsOPBomDetailListDto { + key: string | undefined; id: number | undefined; - /** 责任别代码 */ - dutyCode: string | undefined; - /** 责任别名称 */ - dutyName: string | undefined; - /** 责任别描述 */ - dutyDesc: string | undefined; - /** 备注 */ + itemID: number | undefined; + itemCode: string | undefined; + itemName: string | undefined; + obCode: string | undefined; + opBomVer: string | undefined; + obItemCode: string | undefined; + obItemName: string | undefined; + obItemStd: string | undefined; + obItemEcn: string | undefined; + obItemUom: string | undefined; + obItemQty: number; + obsItemCode: string | undefined; + obItemVer: string | undefined; + obItemType: string | undefined; + obItemContype: string | undefined; + obItemContypeText: string | undefined; + obItemEfftime: moment.Moment; + obItemInvtime: moment.Moment; + isItemCheck: string | undefined; + itemCheckValue: string | undefined; + actionType: string | undefined; + checkStatus: string | undefined; + obItemSeq: number; + obParseType: string | undefined; + obCheckType: string | undefined; + obValid: string | undefined; + snLength: number | undefined; + needVendor: string | undefined; memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + bomParseBarcode: IcsBomParseBarcodeDto; - constructor(data?: IIcsDutyEditDto) { + constructor(data?: IIcsOPBomDetailListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -68390,156 +110305,186 @@ export class IcsDutyEditDto implements IIcsDutyEditDto { init(_data?: any) { if (_data) { + this.key = _data["key"]; this.id = _data["id"]; - this.dutyCode = _data["dutyCode"]; - this.dutyName = _data["dutyName"]; - this.dutyDesc = _data["dutyDesc"]; - this.memo = _data["memo"]; - } - } - - static fromJS(data: any): IcsDutyEditDto { - data = typeof data === 'object' ? data : {}; - let result = new IcsDutyEditDto(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["dutyCode"] = this.dutyCode; - data["dutyName"] = this.dutyName; - data["dutyDesc"] = this.dutyDesc; - data["memo"] = this.memo; - return data; - } - - clone(): IcsDutyEditDto { - const json = this.toJSON(); - let result = new IcsDutyEditDto(); - result.init(json); - return result; - } -} - -export interface IIcsDutyEditDto { - id: number | undefined; - /** 责任别代码 */ - dutyCode: string | undefined; - /** 责任别名称 */ - dutyName: string | undefined; - /** 责任别描述 */ - dutyDesc: string | undefined; - /** 备注 */ - memo: string | undefined; -} - -export class IcsDutyListDto implements IIcsDutyListDto { - /** 责任别代码 */ - dutyCode: string | undefined; - /** 责任别名称 */ - dutyName: string | undefined; - /** 责任别描述 */ - dutyDesc: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; - - constructor(data?: IIcsDutyListDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } - } - } - - init(_data?: any) { - if (_data) { - this.dutyCode = _data["dutyCode"]; - this.dutyName = _data["dutyName"]; - this.dutyDesc = _data["dutyDesc"]; + this.itemID = _data["itemID"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.obCode = _data["obCode"]; + this.opBomVer = _data["opBomVer"]; + this.obItemCode = _data["obItemCode"]; + this.obItemName = _data["obItemName"]; + this.obItemStd = _data["obItemStd"]; + this.obItemEcn = _data["obItemEcn"]; + this.obItemUom = _data["obItemUom"]; + this.obItemQty = _data["obItemQty"]; + this.obsItemCode = _data["obsItemCode"]; + this.obItemVer = _data["obItemVer"]; + this.obItemType = _data["obItemType"]; + this.obItemContype = _data["obItemContype"]; + this.obItemContypeText = _data["obItemContypeText"]; + this.obItemEfftime = _data["obItemEfftime"] ? moment(_data["obItemEfftime"].toString()) : undefined; + this.obItemInvtime = _data["obItemInvtime"] ? moment(_data["obItemInvtime"].toString()) : undefined; + this.isItemCheck = _data["isItemCheck"]; + this.itemCheckValue = _data["itemCheckValue"]; + this.actionType = _data["actionType"]; + this.checkStatus = _data["checkStatus"]; + this.obItemSeq = _data["obItemSeq"]; + this.obParseType = _data["obParseType"]; + this.obCheckType = _data["obCheckType"]; + this.obValid = _data["obValid"]; + this.snLength = _data["snLength"]; + this.needVendor = _data["needVendor"]; this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.bomParseBarcode = _data["bomParseBarcode"] ? IcsBomParseBarcodeDto.fromJS(_data["bomParseBarcode"]) : undefined; } } - static fromJS(data: any): IcsDutyListDto { + static fromJS(data: any): IcsOPBomDetailListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsDutyListDto(); + let result = new IcsOPBomDetailListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["dutyCode"] = this.dutyCode; - data["dutyName"] = this.dutyName; - data["dutyDesc"] = this.dutyDesc; - data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; + data["key"] = this.key; data["id"] = this.id; + data["itemID"] = this.itemID; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["obCode"] = this.obCode; + data["opBomVer"] = this.opBomVer; + data["obItemCode"] = this.obItemCode; + data["obItemName"] = this.obItemName; + data["obItemStd"] = this.obItemStd; + data["obItemEcn"] = this.obItemEcn; + data["obItemUom"] = this.obItemUom; + data["obItemQty"] = this.obItemQty; + data["obsItemCode"] = this.obsItemCode; + data["obItemVer"] = this.obItemVer; + data["obItemType"] = this.obItemType; + data["obItemContype"] = this.obItemContype; + data["obItemContypeText"] = this.obItemContypeText; + data["obItemEfftime"] = this.obItemEfftime ? this.obItemEfftime.toISOString() : undefined; + data["obItemInvtime"] = this.obItemInvtime ? this.obItemInvtime.toISOString() : undefined; + data["isItemCheck"] = this.isItemCheck; + data["itemCheckValue"] = this.itemCheckValue; + data["actionType"] = this.actionType; + data["checkStatus"] = this.checkStatus; + data["obItemSeq"] = this.obItemSeq; + data["obParseType"] = this.obParseType; + data["obCheckType"] = this.obCheckType; + data["obValid"] = this.obValid; + data["snLength"] = this.snLength; + data["needVendor"] = this.needVendor; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["bomParseBarcode"] = this.bomParseBarcode ? this.bomParseBarcode.toJSON() : undefined; return data; } - clone(): IcsDutyListDto { + clone(): IcsOPBomDetailListDto { const json = this.toJSON(); - let result = new IcsDutyListDto(); + let result = new IcsOPBomDetailListDto(); result.init(json); return result; } } -export interface IIcsDutyListDto { - /** 责任别代码 */ - dutyCode: string | undefined; - /** 责任别名称 */ - dutyName: string | undefined; - /** 责任别描述 */ - dutyDesc: string | undefined; - /** 备注 */ +export interface IIcsOPBomDetailListDto { + key: string | undefined; + id: number | undefined; + itemID: number | undefined; + itemCode: string | undefined; + itemName: string | undefined; + obCode: string | undefined; + opBomVer: string | undefined; + obItemCode: string | undefined; + obItemName: string | undefined; + obItemStd: string | undefined; + obItemEcn: string | undefined; + obItemUom: string | undefined; + obItemQty: number; + obsItemCode: string | undefined; + obItemVer: string | undefined; + obItemType: string | undefined; + obItemContype: string | undefined; + obItemContypeText: string | undefined; + obItemEfftime: moment.Moment; + obItemInvtime: moment.Moment; + isItemCheck: string | undefined; + itemCheckValue: string | undefined; + actionType: string | undefined; + checkStatus: string | undefined; + obItemSeq: number; + obParseType: string | undefined; + obCheckType: string | undefined; + obValid: string | undefined; + snLength: number | undefined; + needVendor: string | undefined; memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + bomParseBarcode: IcsBomParseBarcodeDto; } -export class IcsDynamicColumnConfigEditDto implements IIcsDynamicColumnConfigEditDto { +export class IcsOPBomListDto implements IIcsOPBomListDto { id: number | undefined; - /** 菜单代码 */ - menuCode: string | undefined; - /** 角色 */ - roleID: string | undefined; - /** 列信息 */ - columnInfo: string | undefined; - /** 模型 */ - dtoName: string | undefined; - /** 命名空间 */ - nameSpace: string | undefined; + opid: number; + itemID: number; + itemCode: string | undefined; + itemName: string | undefined; + itemDesc: string | undefined; + itemModel: string | undefined; + obCode: string | undefined; + opBomVer: string | undefined; + obRoute: string | undefined; + opCode: string | undefined; + opDesc: string | undefined; + avaliable: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + opBomDetail: IcsOPBomDetailListDto[] | undefined; - constructor(data?: IIcsDynamicColumnConfigEditDto) { + constructor(data?: IIcsOPBomListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -68551,17 +110496,40 @@ export class IcsDynamicColumnConfigEditDto implements IIcsDynamicColumnConfigEdi init(_data?: any) { if (_data) { this.id = _data["id"]; - this.menuCode = _data["menuCode"]; - this.roleID = _data["roleID"]; - this.columnInfo = _data["columnInfo"]; - this.dtoName = _data["dtoName"]; - this.nameSpace = _data["nameSpace"]; + this.opid = _data["opid"]; + this.itemID = _data["itemID"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.itemDesc = _data["itemDesc"]; + this.itemModel = _data["itemModel"]; + this.obCode = _data["obCode"]; + this.opBomVer = _data["opBomVer"]; + this.obRoute = _data["obRoute"]; + this.opCode = _data["opCode"]; + this.opDesc = _data["opDesc"]; + this.avaliable = _data["avaliable"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + if (Array.isArray(_data["opBomDetail"])) { + this.opBomDetail = [] as any; + for (let item of _data["opBomDetail"]) + this.opBomDetail.push(IcsOPBomDetailListDto.fromJS(item)); + } } } - static fromJS(data: any): IcsDynamicColumnConfigEditDto { + static fromJS(data: any): IcsOPBomListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsDynamicColumnConfigEditDto(); + let result = new IcsOPBomListDto(); result.init(data); return result; } @@ -68569,57 +110537,92 @@ export class IcsDynamicColumnConfigEditDto implements IIcsDynamicColumnConfigEdi toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["id"] = this.id; - data["menuCode"] = this.menuCode; - data["roleID"] = this.roleID; - data["columnInfo"] = this.columnInfo; - data["dtoName"] = this.dtoName; - data["nameSpace"] = this.nameSpace; + data["opid"] = this.opid; + data["itemID"] = this.itemID; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["itemDesc"] = this.itemDesc; + data["itemModel"] = this.itemModel; + data["obCode"] = this.obCode; + data["opBomVer"] = this.opBomVer; + data["obRoute"] = this.obRoute; + data["opCode"] = this.opCode; + data["opDesc"] = this.opDesc; + data["avaliable"] = this.avaliable; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + if (Array.isArray(this.opBomDetail)) { + data["opBomDetail"] = []; + for (let item of this.opBomDetail) + data["opBomDetail"].push(item.toJSON()); + } return data; } - clone(): IcsDynamicColumnConfigEditDto { + clone(): IcsOPBomListDto { const json = this.toJSON(); - let result = new IcsDynamicColumnConfigEditDto(); + let result = new IcsOPBomListDto(); result.init(json); return result; } } -export interface IIcsDynamicColumnConfigEditDto { +export interface IIcsOPBomListDto { id: number | undefined; - /** 菜单代码 */ - menuCode: string | undefined; - /** 角色 */ - roleID: string | undefined; - /** 列信息 */ - columnInfo: string | undefined; - /** 模型 */ - dtoName: string | undefined; - /** 命名空间 */ - nameSpace: string | undefined; + opid: number; + itemID: number; + itemCode: string | undefined; + itemName: string | undefined; + itemDesc: string | undefined; + itemModel: string | undefined; + obCode: string | undefined; + opBomVer: string | undefined; + obRoute: string | undefined; + opCode: string | undefined; + opDesc: string | undefined; + avaliable: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + opBomDetail: IcsOPBomDetailListDto[] | undefined; } -export class IcsDynamicColumnConfigListDto implements IIcsDynamicColumnConfigListDto { - /** 菜单代码 */ - menuCode: string | undefined; - /** 角色 */ - roleID: string | undefined; - roleName: string | undefined; - /** 列信息 */ - columnInfo: string | undefined; - /** 模型 */ - dtoName: string | undefined; - /** 命名空间 */ - nameSpace: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class IcsOPEditDto implements IIcsOPEditDto { + id: number | undefined; + opCode: string | undefined; + opName: string | undefined; + opSeq: number; + opDesc: string | undefined; + segCode: string | undefined; + opCollection: string | undefined; + opControl: string | undefined; + opControlList: string[] | undefined; + isMaterial: string | undefined; + isMerge: string | undefined; + opLevel: string | undefined; + sTime: number | undefined; + rTime: number | undefined; + resId: number[] | undefined; + memo: string | undefined; - constructor(data?: IIcsDynamicColumnConfigListDto) { + constructor(data?: IIcsOPEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -68630,88 +110633,112 @@ export class IcsDynamicColumnConfigListDto implements IIcsDynamicColumnConfigLis init(_data?: any) { if (_data) { - this.menuCode = _data["menuCode"]; - this.roleID = _data["roleID"]; - this.roleName = _data["roleName"]; - this.columnInfo = _data["columnInfo"]; - this.dtoName = _data["dtoName"]; - this.nameSpace = _data["nameSpace"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; this.id = _data["id"]; + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.opSeq = _data["opSeq"]; + this.opDesc = _data["opDesc"]; + this.segCode = _data["segCode"]; + this.opCollection = _data["opCollection"]; + this.opControl = _data["opControl"]; + if (Array.isArray(_data["opControlList"])) { + this.opControlList = [] as any; + for (let item of _data["opControlList"]) + this.opControlList.push(item); + } + this.isMaterial = _data["isMaterial"]; + this.isMerge = _data["isMerge"]; + this.opLevel = _data["opLevel"]; + this.sTime = _data["sTime"]; + this.rTime = _data["rTime"]; + if (Array.isArray(_data["resId"])) { + this.resId = [] as any; + for (let item of _data["resId"]) + this.resId.push(item); + } + this.memo = _data["memo"]; } } - static fromJS(data: any): IcsDynamicColumnConfigListDto { + static fromJS(data: any): IcsOPEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsDynamicColumnConfigListDto(); + let result = new IcsOPEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["menuCode"] = this.menuCode; - data["roleID"] = this.roleID; - data["roleName"] = this.roleName; - data["columnInfo"] = this.columnInfo; - data["dtoName"] = this.dtoName; - data["nameSpace"] = this.nameSpace; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; data["id"] = this.id; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["opSeq"] = this.opSeq; + data["opDesc"] = this.opDesc; + data["segCode"] = this.segCode; + data["opCollection"] = this.opCollection; + data["opControl"] = this.opControl; + if (Array.isArray(this.opControlList)) { + data["opControlList"] = []; + for (let item of this.opControlList) + data["opControlList"].push(item); + } + data["isMaterial"] = this.isMaterial; + data["isMerge"] = this.isMerge; + data["opLevel"] = this.opLevel; + data["sTime"] = this.sTime; + data["rTime"] = this.rTime; + if (Array.isArray(this.resId)) { + data["resId"] = []; + for (let item of this.resId) + data["resId"].push(item); + } + data["memo"] = this.memo; return data; } - clone(): IcsDynamicColumnConfigListDto { + clone(): IcsOPEditDto { const json = this.toJSON(); - let result = new IcsDynamicColumnConfigListDto(); + let result = new IcsOPEditDto(); result.init(json); return result; } } -export interface IIcsDynamicColumnConfigListDto { - /** 菜单代码 */ - menuCode: string | undefined; - /** 角色 */ - roleID: string | undefined; - roleName: string | undefined; - /** 列信息 */ - columnInfo: string | undefined; - /** 模型 */ - dtoName: string | undefined; - /** 命名空间 */ - nameSpace: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export interface IIcsOPEditDto { + id: number | undefined; + opCode: string | undefined; + opName: string | undefined; + opSeq: number; + opDesc: string | undefined; + segCode: string | undefined; + opCollection: string | undefined; + opControl: string | undefined; + opControlList: string[] | undefined; + isMaterial: string | undefined; + isMerge: string | undefined; + opLevel: string | undefined; + sTime: number | undefined; + rTime: number | undefined; + resId: number[] | undefined; + memo: string | undefined; } -export class IcsEcEditDto implements IIcsEcEditDto { - id: number | undefined; - /** 不良代码 */ - ecCode: string | undefined; - /** 不良代码名称 */ - ecName: string | undefined; - /** 不良代码描述 */ - ecDesc: string | undefined; - /** 备注 */ +export class IcsOPImportDto implements IIcsOPImportDto { + opCode: string; + opName: string; + opSeq: string | undefined; + opDesc: string | undefined; + segCode: string | undefined; + opCollection: string; + opControl: string; + isMerge: string | undefined; + opLevel: string | undefined; + sTime: number | undefined; + rTime: number; + resId: string | undefined; memo: string | undefined; - constructor(data?: IIcsEcEditDto) { + constructor(data?: IIcsOPImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -68722,61 +110749,89 @@ export class IcsEcEditDto implements IIcsEcEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.ecCode = _data["ecCode"]; - this.ecName = _data["ecName"]; - this.ecDesc = _data["ecDesc"]; + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.opSeq = _data["opSeq"]; + this.opDesc = _data["opDesc"]; + this.segCode = _data["segCode"]; + this.opCollection = _data["opCollection"]; + this.opControl = _data["opControl"]; + this.isMerge = _data["isMerge"]; + this.opLevel = _data["opLevel"]; + this.sTime = _data["sTime"]; + this.rTime = _data["rTime"]; + this.resId = _data["resId"]; this.memo = _data["memo"]; } } - static fromJS(data: any): IcsEcEditDto { + static fromJS(data: any): IcsOPImportDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEcEditDto(); + let result = new IcsOPImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["ecCode"] = this.ecCode; - data["ecName"] = this.ecName; - data["ecDesc"] = this.ecDesc; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["opSeq"] = this.opSeq; + data["opDesc"] = this.opDesc; + data["segCode"] = this.segCode; + data["opCollection"] = this.opCollection; + data["opControl"] = this.opControl; + data["isMerge"] = this.isMerge; + data["opLevel"] = this.opLevel; + data["sTime"] = this.sTime; + data["rTime"] = this.rTime; + data["resId"] = this.resId; data["memo"] = this.memo; return data; } - clone(): IcsEcEditDto { + clone(): IcsOPImportDto { const json = this.toJSON(); - let result = new IcsEcEditDto(); + let result = new IcsOPImportDto(); result.init(json); return result; } } -export interface IIcsEcEditDto { - id: number | undefined; - /** 不良代码 */ - ecCode: string | undefined; - /** 不良代码名称 */ - ecName: string | undefined; - /** 不良代码描述 */ - ecDesc: string | undefined; - /** 备注 */ +export interface IIcsOPImportDto { + opCode: string; + opName: string; + opSeq: string | undefined; + opDesc: string | undefined; + segCode: string | undefined; + opCollection: string; + opControl: string; + isMerge: string | undefined; + opLevel: string | undefined; + sTime: number | undefined; + rTime: number; + resId: string | undefined; memo: string | undefined; } -export class IcsEcListDto implements IIcsEcListDto { +export class IcsOPListDto implements IIcsOPListDto { key: string | undefined; - /** 不良代码 */ - ecCode: string | undefined; - /** 不良代码名称 */ - ecName: string | undefined; - /** 不良代码描述 */ - ecDesc: string | undefined; - /** 备注 */ + opCode: string | undefined; + opName: string | undefined; + opSeq: number; + opDesc: string | undefined; + segCode: string | undefined; + opCollection: string | undefined; + opControl: string | undefined; + opControlList: string[] | undefined; + isMaterial: string | undefined; + isMerge: string | undefined; + opLevel: string | undefined; + sTime: number | undefined; + rTime: number | undefined; + resId: string | undefined; memo: string | undefined; + opControlSeq: number; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -68785,7 +110840,7 @@ export class IcsEcListDto implements IIcsEcListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsEcListDto) { + constructor(data?: IIcsOPListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -68797,10 +110852,26 @@ export class IcsEcListDto implements IIcsEcListDto { init(_data?: any) { if (_data) { this.key = _data["key"]; - this.ecCode = _data["ecCode"]; - this.ecName = _data["ecName"]; - this.ecDesc = _data["ecDesc"]; + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.opSeq = _data["opSeq"]; + this.opDesc = _data["opDesc"]; + this.segCode = _data["segCode"]; + this.opCollection = _data["opCollection"]; + this.opControl = _data["opControl"]; + if (Array.isArray(_data["opControlList"])) { + this.opControlList = [] as any; + for (let item of _data["opControlList"]) + this.opControlList.push(item); + } + this.isMaterial = _data["isMaterial"]; + this.isMerge = _data["isMerge"]; + this.opLevel = _data["opLevel"]; + this.sTime = _data["sTime"]; + this.rTime = _data["rTime"]; + this.resId = _data["resId"]; this.memo = _data["memo"]; + this.opControlSeq = _data["opControlSeq"]; this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; @@ -68811,9 +110882,9 @@ export class IcsEcListDto implements IIcsEcListDto { } } - static fromJS(data: any): IcsEcListDto { + static fromJS(data: any): IcsOPListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEcListDto(); + let result = new IcsOPListDto(); result.init(data); return result; } @@ -68821,10 +110892,26 @@ export class IcsEcListDto implements IIcsEcListDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["key"] = this.key; - data["ecCode"] = this.ecCode; - data["ecName"] = this.ecName; - data["ecDesc"] = this.ecDesc; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["opSeq"] = this.opSeq; + data["opDesc"] = this.opDesc; + data["segCode"] = this.segCode; + data["opCollection"] = this.opCollection; + data["opControl"] = this.opControl; + if (Array.isArray(this.opControlList)) { + data["opControlList"] = []; + for (let item of this.opControlList) + data["opControlList"].push(item); + } + data["isMaterial"] = this.isMaterial; + data["isMerge"] = this.isMerge; + data["opLevel"] = this.opLevel; + data["sTime"] = this.sTime; + data["rTime"] = this.rTime; + data["resId"] = this.resId; data["memo"] = this.memo; + data["opControlSeq"] = this.opControlSeq; data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; @@ -68835,24 +110922,32 @@ export class IcsEcListDto implements IIcsEcListDto { return data; } - clone(): IcsEcListDto { + clone(): IcsOPListDto { const json = this.toJSON(); - let result = new IcsEcListDto(); + let result = new IcsOPListDto(); result.init(json); return result; } } -export interface IIcsEcListDto { +export interface IIcsOPListDto { key: string | undefined; - /** 不良代码 */ - ecCode: string | undefined; - /** 不良代码名称 */ - ecName: string | undefined; - /** 不良代码描述 */ - ecDesc: string | undefined; - /** 备注 */ + opCode: string | undefined; + opName: string | undefined; + opSeq: number; + opDesc: string | undefined; + segCode: string | undefined; + opCollection: string | undefined; + opControl: string | undefined; + opControlList: string[] | undefined; + isMaterial: string | undefined; + isMerge: string | undefined; + opLevel: string | undefined; + sTime: number | undefined; + rTime: number | undefined; + resId: string | undefined; memo: string | undefined; + opControlSeq: number; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -68862,188 +110957,90 @@ export interface IIcsEcListDto { id: number; } -export class IcsEcg2EcDto implements IIcsEcg2EcDto { - key: string | undefined; +export class IcsOp2ResEditDto implements IIcsOp2ResEditDto { id: number | undefined; - /** 不良代码组ID */ - ecgId: number; - /** 不良代码ID */ - ecId: number[]; - /** 不良代码组代码 */ - ecgCode: string; - ecgName: string | undefined; - /** 不良代码 */ - ecCode: string; - ecName: string | undefined; - /** 备注 */ + opId: number; + resId: number; + opCode: string | undefined; + resCode: string | undefined; + resSeq: number; memo: string | undefined; - /** 租户ID */ - tenantId: string; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - constructor(data?: IIcsEcg2EcDto) { + constructor(data?: IIcsOp2ResEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.ecId = []; - } } init(_data?: any) { if (_data) { - this.key = _data["key"]; this.id = _data["id"]; - this.ecgId = _data["ecgId"]; - if (Array.isArray(_data["ecId"])) { - this.ecId = [] as any; - for (let item of _data["ecId"]) - this.ecId.push(item); - } - this.ecgCode = _data["ecgCode"]; - this.ecgName = _data["ecgName"]; - this.ecCode = _data["ecCode"]; - this.ecName = _data["ecName"]; + this.opId = _data["opId"]; + this.resId = _data["resId"]; + this.opCode = _data["opCode"]; + this.resCode = _data["resCode"]; + this.resSeq = _data["resSeq"]; this.memo = _data["memo"]; - this.tenantId = _data["tenantId"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; } } - static fromJS(data: any): IcsEcg2EcDto { + static fromJS(data: any): IcsOp2ResEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEcg2EcDto(); + let result = new IcsOp2ResEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; data["id"] = this.id; - data["ecgId"] = this.ecgId; - if (Array.isArray(this.ecId)) { - data["ecId"] = []; - for (let item of this.ecId) - data["ecId"].push(item); - } - data["ecgCode"] = this.ecgCode; - data["ecgName"] = this.ecgName; - data["ecCode"] = this.ecCode; - data["ecName"] = this.ecName; + data["opId"] = this.opId; + data["resId"] = this.resId; + data["opCode"] = this.opCode; + data["resCode"] = this.resCode; + data["resSeq"] = this.resSeq; data["memo"] = this.memo; - data["tenantId"] = this.tenantId; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; return data; } - clone(): IcsEcg2EcDto { + clone(): IcsOp2ResEditDto { const json = this.toJSON(); - let result = new IcsEcg2EcDto(); + let result = new IcsOp2ResEditDto(); result.init(json); return result; } } -export interface IIcsEcg2EcDto { - key: string | undefined; +export interface IIcsOp2ResEditDto { id: number | undefined; - /** 不良代码组ID */ - ecgId: number; - /** 不良代码ID */ - ecId: number[]; - /** 不良代码组代码 */ - ecgCode: string; - ecgName: string | undefined; - /** 不良代码 */ - ecCode: string; - ecName: string | undefined; - /** 备注 */ + opId: number; + resId: number; + opCode: string | undefined; + resCode: string | undefined; + resSeq: number; memo: string | undefined; - /** 租户ID */ - tenantId: string; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; } -export class IcsEcgEditDto implements IIcsEcgEditDto { - id: number | undefined; - /** 不良代码组代码 */ - ecgCode: string | undefined; - /** 不良代码组名称 */ - ecgName: string | undefined; - /** 不良代码组描述 */ - ecgDesc: string | undefined; - /** 不良代码id集合 */ - ecId: number[] | undefined; - /** 途程代码 */ - routeCode: string | undefined; - /** 工序代码 */ +export class IcsOp2ResListDto implements IIcsOp2ResListDto { + opId: number; + resId: number; opCode: string | undefined; - /** 资源代码 */ + opName: string | undefined; resCode: string | undefined; - /** 备注 */ + resSeq: number; memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IIcsEcgEditDto) { + constructor(data?: IIcsOp2ResListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -69054,93 +111051,64 @@ export class IcsEcgEditDto implements IIcsEcgEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.ecgCode = _data["ecgCode"]; - this.ecgName = _data["ecgName"]; - this.ecgDesc = _data["ecgDesc"]; - if (Array.isArray(_data["ecId"])) { - this.ecId = [] as any; - for (let item of _data["ecId"]) - this.ecId.push(item); - } - this.routeCode = _data["routeCode"]; + this.opId = _data["opId"]; + this.resId = _data["resId"]; this.opCode = _data["opCode"]; + this.opName = _data["opName"]; this.resCode = _data["resCode"]; + this.resSeq = _data["resSeq"]; this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): IcsEcgEditDto { + static fromJS(data: any): IcsOp2ResListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEcgEditDto(); + let result = new IcsOp2ResListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["ecgCode"] = this.ecgCode; - data["ecgName"] = this.ecgName; - data["ecgDesc"] = this.ecgDesc; - if (Array.isArray(this.ecId)) { - data["ecId"] = []; - for (let item of this.ecId) - data["ecId"].push(item); - } - data["routeCode"] = this.routeCode; + data["opId"] = this.opId; + data["resId"] = this.resId; data["opCode"] = this.opCode; + data["opName"] = this.opName; data["resCode"] = this.resCode; + data["resSeq"] = this.resSeq; data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): IcsEcgEditDto { + clone(): IcsOp2ResListDto { const json = this.toJSON(); - let result = new IcsEcgEditDto(); + let result = new IcsOp2ResListDto(); result.init(json); return result; } } -export interface IIcsEcgEditDto { - id: number | undefined; - /** 不良代码组代码 */ - ecgCode: string | undefined; - /** 不良代码组名称 */ - ecgName: string | undefined; - /** 不良代码组描述 */ - ecgDesc: string | undefined; - /** 不良代码id集合 */ - ecId: number[] | undefined; - /** 途程代码 */ - routeCode: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 资源代码 */ - resCode: string | undefined; - /** 备注 */ - memo: string | undefined; -} - -export class IcsEcgListDto implements IIcsEcgListDto { - /** 不良代码组代码 */ - ecgCode: string | undefined; - /** 不良代码组名称 */ - ecgName: string | undefined; - /** 不良代码组描述 */ - ecgDesc: string | undefined; - /** 不良代码绑定集合 */ - ecList: string | undefined; - /** 不良代码绑定集合 */ - ecIdList: number[] | undefined; - /** 途程代码 */ - routeCode: string | undefined; - /** 工序代码 */ +export interface IIcsOp2ResListDto { + opId: number; + resId: number; opCode: string | undefined; - /** 资源代码 */ + opName: string | undefined; resCode: string | undefined; - /** 备注 */ + resSeq: number; memo: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -69149,8 +111117,16 @@ export class IcsEcgListDto implements IIcsEcgListDto { creationTime: moment.Moment; creatorUserId: string | undefined; id: number; +} - constructor(data?: IIcsEcgListDto) { +export class IcsOutSorecingLotListDto implements IIcsOutSorecingLotListDto { + id: number; + lotNo: string | undefined; + lotQty: number; + ncr: string | undefined; + isCompleteNCR: string | undefined; + + constructor(data?: IIcsOutSorecingLotListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -69161,109 +111137,83 @@ export class IcsEcgListDto implements IIcsEcgListDto { init(_data?: any) { if (_data) { - this.ecgCode = _data["ecgCode"]; - this.ecgName = _data["ecgName"]; - this.ecgDesc = _data["ecgDesc"]; - this.ecList = _data["ecList"]; - if (Array.isArray(_data["ecIdList"])) { - this.ecIdList = [] as any; - for (let item of _data["ecIdList"]) - this.ecIdList.push(item); - } - this.routeCode = _data["routeCode"]; - this.opCode = _data["opCode"]; - this.resCode = _data["resCode"]; - this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; this.id = _data["id"]; + this.lotNo = _data["lotNo"]; + this.lotQty = _data["lotQty"]; + this.ncr = _data["ncr"]; + this.isCompleteNCR = _data["isCompleteNCR"]; } } - static fromJS(data: any): IcsEcgListDto { + static fromJS(data: any): IcsOutSorecingLotListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEcgListDto(); + let result = new IcsOutSorecingLotListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["ecgCode"] = this.ecgCode; - data["ecgName"] = this.ecgName; - data["ecgDesc"] = this.ecgDesc; - data["ecList"] = this.ecList; - if (Array.isArray(this.ecIdList)) { - data["ecIdList"] = []; - for (let item of this.ecIdList) - data["ecIdList"].push(item); - } - data["routeCode"] = this.routeCode; - data["opCode"] = this.opCode; - data["resCode"] = this.resCode; - data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; data["id"] = this.id; + data["lotNo"] = this.lotNo; + data["lotQty"] = this.lotQty; + data["ncr"] = this.ncr; + data["isCompleteNCR"] = this.isCompleteNCR; return data; } - clone(): IcsEcgListDto { + clone(): IcsOutSorecingLotListDto { const json = this.toJSON(); - let result = new IcsEcgListDto(); + let result = new IcsOutSorecingLotListDto(); result.init(json); return result; } } -export interface IIcsEcgListDto { - /** 不良代码组代码 */ - ecgCode: string | undefined; - /** 不良代码组名称 */ - ecgName: string | undefined; - /** 不良代码组描述 */ - ecgDesc: string | undefined; - /** 不良代码绑定集合 */ - ecList: string | undefined; - /** 不良代码绑定集合 */ - ecIdList: number[] | undefined; - /** 途程代码 */ - routeCode: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 资源代码 */ - resCode: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; +export interface IIcsOutSorecingLotListDto { id: number; + lotNo: string | undefined; + lotQty: number; + ncr: string | undefined; + isCompleteNCR: string | undefined; } -export class IcsEcsEditDto implements IIcsEcsEditDto { +export class IcsOutSourcingOrderEditDto implements IIcsOutSourcingOrderEditDto { id: number | undefined; - /** 不良原因代码 */ - ecsCode: string | undefined; - /** 不良原因名称 */ - ecsName: string | undefined; - /** 不良原因描述 */ - ecsDesc: string | undefined; - /** 备注 */ + docNo: string | undefined; + docLineNo: string | undefined; + docType: string | undefined; + moId: number; + moCode: string | undefined; + moSeq: string | undefined; + itemCode: string | undefined; + docQty: number; + status: string | undefined; + deptCode: string | undefined; + requiredDeliveryDate: moment.Moment; memo: string | undefined; + erpFlag: string | undefined; + erpDocNo: string | undefined; + appliedUser: string | undefined; + itemName: string | undefined; + creatorUserName: string | undefined; + creationTime: string | undefined; + opids: number[] | undefined; + opList: SelectItemExt[] | undefined; + lotids: number[] | undefined; + lotList: IcsOutSorecingLotListDto[] | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IIcsEcsEditDto) { + constructor(data?: IIcsOutSourcingOrderEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -69275,16 +111225,60 @@ export class IcsEcsEditDto implements IIcsEcsEditDto { init(_data?: any) { if (_data) { this.id = _data["id"]; - this.ecsCode = _data["ecsCode"]; - this.ecsName = _data["ecsName"]; - this.ecsDesc = _data["ecsDesc"]; + this.docNo = _data["docNo"]; + this.docLineNo = _data["docLineNo"]; + this.docType = _data["docType"]; + this.moId = _data["moId"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.itemCode = _data["itemCode"]; + this.docQty = _data["docQty"]; + this.status = _data["status"]; + this.deptCode = _data["deptCode"]; + this.requiredDeliveryDate = _data["requiredDeliveryDate"] ? moment(_data["requiredDeliveryDate"].toString()) : undefined; this.memo = _data["memo"]; + this.erpFlag = _data["erpFlag"]; + this.erpDocNo = _data["erpDocNo"]; + this.appliedUser = _data["appliedUser"]; + this.itemName = _data["itemName"]; + this.creatorUserName = _data["creatorUserName"]; + this.creationTime = _data["creationTime"]; + if (Array.isArray(_data["opids"])) { + this.opids = [] as any; + for (let item of _data["opids"]) + this.opids.push(item); + } + if (Array.isArray(_data["opList"])) { + this.opList = [] as any; + for (let item of _data["opList"]) + this.opList.push(SelectItemExt.fromJS(item)); + } + if (Array.isArray(_data["lotids"])) { + this.lotids = [] as any; + for (let item of _data["lotids"]) + this.lotids.push(item); + } + if (Array.isArray(_data["lotList"])) { + this.lotList = [] as any; + for (let item of _data["lotList"]) + this.lotList.push(IcsOutSorecingLotListDto.fromJS(item)); + } + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): IcsEcsEditDto { + static fromJS(data: any): IcsOutSourcingOrderEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEcsEditDto(); + let result = new IcsOutSourcingOrderEditDto(); result.init(data); return result; } @@ -69292,43 +111286,130 @@ export class IcsEcsEditDto implements IIcsEcsEditDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["id"] = this.id; - data["ecsCode"] = this.ecsCode; - data["ecsName"] = this.ecsName; - data["ecsDesc"] = this.ecsDesc; + data["docNo"] = this.docNo; + data["docLineNo"] = this.docLineNo; + data["docType"] = this.docType; + data["moId"] = this.moId; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["itemCode"] = this.itemCode; + data["docQty"] = this.docQty; + data["status"] = this.status; + data["deptCode"] = this.deptCode; + data["requiredDeliveryDate"] = this.requiredDeliveryDate ? this.requiredDeliveryDate.toISOString() : undefined; data["memo"] = this.memo; + data["erpFlag"] = this.erpFlag; + data["erpDocNo"] = this.erpDocNo; + data["appliedUser"] = this.appliedUser; + data["itemName"] = this.itemName; + data["creatorUserName"] = this.creatorUserName; + data["creationTime"] = this.creationTime; + if (Array.isArray(this.opids)) { + data["opids"] = []; + for (let item of this.opids) + data["opids"].push(item); + } + if (Array.isArray(this.opList)) { + data["opList"] = []; + for (let item of this.opList) + data["opList"].push(item.toJSON()); + } + if (Array.isArray(this.lotids)) { + data["lotids"] = []; + for (let item of this.lotids) + data["lotids"].push(item); + } + if (Array.isArray(this.lotList)) { + data["lotList"] = []; + for (let item of this.lotList) + data["lotList"].push(item.toJSON()); + } + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): IcsEcsEditDto { + clone(): IcsOutSourcingOrderEditDto { const json = this.toJSON(); - let result = new IcsEcsEditDto(); + let result = new IcsOutSourcingOrderEditDto(); result.init(json); return result; } } -export interface IIcsEcsEditDto { +export interface IIcsOutSourcingOrderEditDto { id: number | undefined; - /** 不良原因代码 */ - ecsCode: string | undefined; - /** 不良原因名称 */ - ecsName: string | undefined; - /** 不良原因描述 */ - ecsDesc: string | undefined; - /** 备注 */ + docNo: string | undefined; + docLineNo: string | undefined; + docType: string | undefined; + moId: number; + moCode: string | undefined; + moSeq: string | undefined; + itemCode: string | undefined; + docQty: number; + status: string | undefined; + deptCode: string | undefined; + requiredDeliveryDate: moment.Moment; memo: string | undefined; + erpFlag: string | undefined; + erpDocNo: string | undefined; + appliedUser: string | undefined; + itemName: string | undefined; + creatorUserName: string | undefined; + creationTime: string | undefined; + opids: number[] | undefined; + opList: SelectItemExt[] | undefined; + lotids: number[] | undefined; + lotList: IcsOutSorecingLotListDto[] | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class IcsEcsListDto implements IIcsEcsListDto { - /** 不良原因代码 */ - ecsCode: string | undefined; - /** 不良原因名称 */ - ecsName: string | undefined; - /** 不良原因描述 */ - ecsDesc: string | undefined; - /** 备注 */ +export class IcsOutSourcingOrderListDto implements IIcsOutSourcingOrderListDto { + docNo: string | undefined; + docLineNo: number; + docType: string | undefined; + moId: number; + moCode: string | undefined; + moSeq: string | undefined; + opId: number; + opName: string | undefined; + opCode: string | undefined; + itemCode: string | undefined; + docQty: number; + status: string | undefined; + deptCode: string | undefined; + requiredDeliveryDate: string | undefined; memo: string | undefined; - key: string | undefined; + erpFlag: string | undefined; + erpDocNo: string | undefined; + appliedUser: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -69337,7 +111418,7 @@ export class IcsEcsListDto implements IIcsEcsListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsEcsListDto) { + constructor(data?: IIcsOutSourcingOrderListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -69348,11 +111429,34 @@ export class IcsEcsListDto implements IIcsEcsListDto { init(_data?: any) { if (_data) { - this.ecsCode = _data["ecsCode"]; - this.ecsName = _data["ecsName"]; - this.ecsDesc = _data["ecsDesc"]; + this.docNo = _data["docNo"]; + this.docLineNo = _data["docLineNo"]; + this.docType = _data["docType"]; + this.moId = _data["moId"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.opId = _data["opId"]; + this.opName = _data["opName"]; + this.opCode = _data["opCode"]; + this.itemCode = _data["itemCode"]; + this.docQty = _data["docQty"]; + this.status = _data["status"]; + this.deptCode = _data["deptCode"]; + this.requiredDeliveryDate = _data["requiredDeliveryDate"]; this.memo = _data["memo"]; - this.key = _data["key"]; + this.erpFlag = _data["erpFlag"]; + this.erpDocNo = _data["erpDocNo"]; + this.appliedUser = _data["appliedUser"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; @@ -69363,20 +111467,43 @@ export class IcsEcsListDto implements IIcsEcsListDto { } } - static fromJS(data: any): IcsEcsListDto { + static fromJS(data: any): IcsOutSourcingOrderListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEcsListDto(); + let result = new IcsOutSourcingOrderListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["ecsCode"] = this.ecsCode; - data["ecsName"] = this.ecsName; - data["ecsDesc"] = this.ecsDesc; + data["docNo"] = this.docNo; + data["docLineNo"] = this.docLineNo; + data["docType"] = this.docType; + data["moId"] = this.moId; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["opId"] = this.opId; + data["opName"] = this.opName; + data["opCode"] = this.opCode; + data["itemCode"] = this.itemCode; + data["docQty"] = this.docQty; + data["status"] = this.status; + data["deptCode"] = this.deptCode; + data["requiredDeliveryDate"] = this.requiredDeliveryDate; data["memo"] = this.memo; - data["key"] = this.key; + data["erpFlag"] = this.erpFlag; + data["erpDocNo"] = this.erpDocNo; + data["appliedUser"] = this.appliedUser; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; @@ -69387,24 +111514,43 @@ export class IcsEcsListDto implements IIcsEcsListDto { return data; } - clone(): IcsEcsListDto { + clone(): IcsOutSourcingOrderListDto { const json = this.toJSON(); - let result = new IcsEcsListDto(); + let result = new IcsOutSourcingOrderListDto(); result.init(json); return result; } } -export interface IIcsEcsListDto { - /** 不良原因代码 */ - ecsCode: string | undefined; - /** 不良原因名称 */ - ecsName: string | undefined; - /** 不良原因描述 */ - ecsDesc: string | undefined; - /** 备注 */ +export interface IIcsOutSourcingOrderListDto { + docNo: string | undefined; + docLineNo: number; + docType: string | undefined; + moId: number; + moCode: string | undefined; + moSeq: string | undefined; + opId: number; + opName: string | undefined; + opCode: string | undefined; + itemCode: string | undefined; + docQty: number; + status: string | undefined; + deptCode: string | undefined; + requiredDeliveryDate: string | undefined; memo: string | undefined; - key: string | undefined; + erpFlag: string | undefined; + erpDocNo: string | undefined; + appliedUser: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -69414,20 +111560,28 @@ export interface IIcsEcsListDto { id: number; } -export class IcsEcsg2EcsEditDto implements IIcsEcsg2EcsEditDto { +export class IcsParam2ParamEditDto implements IIcsParam2ParamEditDto { + key: string | undefined; id: number | undefined; - /** 不良原因组ID */ - ecsgId: number; - /** 不良原因Id */ - ecsId: number; - /** 不良原因组代码 */ - ecsgCode: string | undefined; - /** 不良原因代码 */ - ecsCode: string | undefined; - /** 备注 */ + partModel: string | undefined; + partItemName: string | undefined; + subItemName: string | undefined; + paramFromName: string | undefined; + paramToName: string | undefined; + paramValue: string | undefined; memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IIcsEcsg2EcsEditDto) { + constructor(data?: IIcsParam2ParamEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -69438,174 +111592,109 @@ export class IcsEcsg2EcsEditDto implements IIcsEcsg2EcsEditDto { init(_data?: any) { if (_data) { + this.key = _data["key"]; this.id = _data["id"]; - this.ecsgId = _data["ecsgId"]; - this.ecsId = _data["ecsId"]; - this.ecsgCode = _data["ecsgCode"]; - this.ecsCode = _data["ecsCode"]; + this.partModel = _data["partModel"]; + this.partItemName = _data["partItemName"]; + this.subItemName = _data["subItemName"]; + this.paramFromName = _data["paramFromName"]; + this.paramToName = _data["paramToName"]; + this.paramValue = _data["paramValue"]; this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): IcsEcsg2EcsEditDto { + static fromJS(data: any): IcsParam2ParamEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEcsg2EcsEditDto(); + let result = new IcsParam2ParamEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["key"] = this.key; data["id"] = this.id; - data["ecsgId"] = this.ecsgId; - data["ecsId"] = this.ecsId; - data["ecsgCode"] = this.ecsgCode; - data["ecsCode"] = this.ecsCode; + data["partModel"] = this.partModel; + data["partItemName"] = this.partItemName; + data["subItemName"] = this.subItemName; + data["paramFromName"] = this.paramFromName; + data["paramToName"] = this.paramToName; + data["paramValue"] = this.paramValue; data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): IcsEcsg2EcsEditDto { + clone(): IcsParam2ParamEditDto { const json = this.toJSON(); - let result = new IcsEcsg2EcsEditDto(); + let result = new IcsParam2ParamEditDto(); result.init(json); return result; } } -export interface IIcsEcsg2EcsEditDto { +export interface IIcsParam2ParamEditDto { + key: string | undefined; id: number | undefined; - /** 不良原因组ID */ - ecsgId: number; - /** 不良原因Id */ - ecsId: number; - /** 不良原因组代码 */ - ecsgCode: string | undefined; - /** 不良原因代码 */ - ecsCode: string | undefined; - /** 备注 */ - memo: string | undefined; -} - -export class IcsEcsg2EcsListDto implements IIcsEcsg2EcsListDto { - /** 不良原因组ID */ - ecsgId: number; - /** 不良原因Id */ - ecsId: number[] | undefined; - /** 不良原因组代码 */ - ecsgCode: string | undefined; - /** 不良原因代码 */ - ecsCode: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; - - constructor(data?: IIcsEcsg2EcsListDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } - } - } - - init(_data?: any) { - if (_data) { - this.ecsgId = _data["ecsgId"]; - if (Array.isArray(_data["ecsId"])) { - this.ecsId = [] as any; - for (let item of _data["ecsId"]) - this.ecsId.push(item); - } - this.ecsgCode = _data["ecsgCode"]; - this.ecsCode = _data["ecsCode"]; - this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; - } - } - - static fromJS(data: any): IcsEcsg2EcsListDto { - data = typeof data === 'object' ? data : {}; - let result = new IcsEcsg2EcsListDto(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["ecsgId"] = this.ecsgId; - if (Array.isArray(this.ecsId)) { - data["ecsId"] = []; - for (let item of this.ecsId) - data["ecsId"].push(item); - } - data["ecsgCode"] = this.ecsgCode; - data["ecsCode"] = this.ecsCode; - data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; - return data; - } - - clone(): IcsEcsg2EcsListDto { - const json = this.toJSON(); - let result = new IcsEcsg2EcsListDto(); - result.init(json); - return result; - } -} - -export interface IIcsEcsg2EcsListDto { - /** 不良原因组ID */ - ecsgId: number; - /** 不良原因Id */ - ecsId: number[] | undefined; - /** 不良原因组代码 */ - ecsgCode: string | undefined; - /** 不良原因代码 */ - ecsCode: string | undefined; - /** 备注 */ + partModel: string | undefined; + partItemName: string | undefined; + subItemName: string | undefined; + paramFromName: string | undefined; + paramToName: string | undefined; + paramValue: string | undefined; memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class IcsEcsgEditDto implements IIcsEcsgEditDto { - id: number | undefined; - /** 不良原因组代码 */ - ecsgCode: string | undefined; - /** 不良原因组名称 */ - ecsgName: string | undefined; - /** 不良原因id集合 */ - ecsId: number[] | undefined; - /** 不良原因组描述 */ - ecsgDesc: string | undefined; - /** 备注 */ +export class IcsParam2ParamImportDto implements IIcsParam2ParamImportDto { + partModel: string; + partItemName: string; + subItemName: string; + paramFromName: string; + paramToName: string; + paramValue: string; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; memo: string | undefined; - constructor(data?: IIcsEcsgEditDto) { + constructor(data?: IIcsParam2ParamImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -69616,71 +111705,101 @@ export class IcsEcsgEditDto implements IIcsEcsgEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.ecsgCode = _data["ecsgCode"]; - this.ecsgName = _data["ecsgName"]; - if (Array.isArray(_data["ecsId"])) { - this.ecsId = [] as any; - for (let item of _data["ecsId"]) - this.ecsId.push(item); - } - this.ecsgDesc = _data["ecsgDesc"]; + this.partModel = _data["partModel"]; + this.partItemName = _data["partItemName"]; + this.subItemName = _data["subItemName"]; + this.paramFromName = _data["paramFromName"]; + this.paramToName = _data["paramToName"]; + this.paramValue = _data["paramValue"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; this.memo = _data["memo"]; } } - static fromJS(data: any): IcsEcsgEditDto { + static fromJS(data: any): IcsParam2ParamImportDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEcsgEditDto(); + let result = new IcsParam2ParamImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["ecsgCode"] = this.ecsgCode; - data["ecsgName"] = this.ecsgName; - if (Array.isArray(this.ecsId)) { - data["ecsId"] = []; - for (let item of this.ecsId) - data["ecsId"].push(item); - } - data["ecsgDesc"] = this.ecsgDesc; + data["partModel"] = this.partModel; + data["partItemName"] = this.partItemName; + data["subItemName"] = this.subItemName; + data["paramFromName"] = this.paramFromName; + data["paramToName"] = this.paramToName; + data["paramValue"] = this.paramValue; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; data["memo"] = this.memo; return data; } - clone(): IcsEcsgEditDto { + clone(): IcsParam2ParamImportDto { const json = this.toJSON(); - let result = new IcsEcsgEditDto(); + let result = new IcsParam2ParamImportDto(); result.init(json); return result; } } -export interface IIcsEcsgEditDto { - id: number | undefined; - /** 不良原因组代码 */ - ecsgCode: string | undefined; - /** 不良原因组名称 */ - ecsgName: string | undefined; - /** 不良原因id集合 */ - ecsId: number[] | undefined; - /** 不良原因组描述 */ - ecsgDesc: string | undefined; - /** 备注 */ +export interface IIcsParam2ParamImportDto { + partModel: string; + partItemName: string; + subItemName: string; + paramFromName: string; + paramToName: string; + paramValue: string; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; memo: string | undefined; } -export class IcsEcsgListDto implements IIcsEcsgListDto { - /** 不良原因组代码 */ - ecsgCode: string | undefined; - /** 不良原因组名称 */ - ecsgName: string | undefined; - /** 不良原因组描述 */ - ecsgDesc: string | undefined; - /** 备注 */ +export class IcsParam2ParamListDto implements IIcsParam2ParamListDto { + key: string | undefined; + partModel: string | undefined; + partItemName: string | undefined; + subItemName: string | undefined; + paramFromName: string | undefined; + paramToName: string | undefined; + paramValue: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; memo: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -69690,7 +111809,7 @@ export class IcsEcsgListDto implements IIcsEcsgListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsEcsgListDto) { + constructor(data?: IIcsParam2ParamListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -69701,9 +111820,23 @@ export class IcsEcsgListDto implements IIcsEcsgListDto { init(_data?: any) { if (_data) { - this.ecsgCode = _data["ecsgCode"]; - this.ecsgName = _data["ecsgName"]; - this.ecsgDesc = _data["ecsgDesc"]; + this.key = _data["key"]; + this.partModel = _data["partModel"]; + this.partItemName = _data["partItemName"]; + this.subItemName = _data["subItemName"]; + this.paramFromName = _data["paramFromName"]; + this.paramToName = _data["paramToName"]; + this.paramValue = _data["paramValue"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; this.memo = _data["memo"]; this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; @@ -69715,18 +111848,32 @@ export class IcsEcsgListDto implements IIcsEcsgListDto { } } - static fromJS(data: any): IcsEcsgListDto { + static fromJS(data: any): IcsParam2ParamListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEcsgListDto(); + let result = new IcsParam2ParamListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["ecsgCode"] = this.ecsgCode; - data["ecsgName"] = this.ecsgName; - data["ecsgDesc"] = this.ecsgDesc; + data["key"] = this.key; + data["partModel"] = this.partModel; + data["partItemName"] = this.partItemName; + data["subItemName"] = this.subItemName; + data["paramFromName"] = this.paramFromName; + data["paramToName"] = this.paramToName; + data["paramValue"] = this.paramValue; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; data["memo"] = this.memo; data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; @@ -69738,22 +111885,32 @@ export class IcsEcsgListDto implements IIcsEcsgListDto { return data; } - clone(): IcsEcsgListDto { + clone(): IcsParam2ParamListDto { const json = this.toJSON(); - let result = new IcsEcsgListDto(); + let result = new IcsParam2ParamListDto(); result.init(json); return result; } } -export interface IIcsEcsgListDto { - /** 不良原因组代码 */ - ecsgCode: string | undefined; - /** 不良原因组名称 */ - ecsgName: string | undefined; - /** 不良原因组描述 */ - ecsgDesc: string | undefined; - /** 备注 */ +export interface IIcsParam2ParamListDto { + key: string | undefined; + partModel: string | undefined; + partItemName: string | undefined; + subItemName: string | undefined; + paramFromName: string | undefined; + paramToName: string | undefined; + paramValue: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; memo: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -69764,64 +111921,72 @@ export interface IIcsEcsgListDto { id: number; } -export class IcsEqp2OpEditDto implements IIcsEqp2OpEditDto { +export class IcsParamDetailEditDto implements IIcsParamDetailEditDto { + key: string | undefined; id: number | undefined; - /** 设备ID */ - eqpID: number; - /** 工序ID */ - opId: number; - /** 设备编码 */ - eqpCode: string | undefined; - /** 工序编码 */ - opCode: string | undefined; - /** 熟练程度 */ - level: string | undefined; - /** 备注 */ + paramCode: string | undefined; + paramValue: string | undefined; + bomQty: number; + materialMainCategory: string | undefined; + materialQuality: string | undefined; + materialSpec: string | undefined; + materialAttribute: string | undefined; + isUniversal: string | undefined; + startFlag: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; memo: string | undefined; - /** 保留字段1 */ default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - eqpList: SelectItemExt2[]; - opList: SelectItemExt2[]; - constructor(data?: IIcsEqp2OpEditDto) { + constructor(data?: IIcsParamDetailEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.eqpList = []; - this.opList = []; - } } init(_data?: any) { if (_data) { + this.key = _data["key"]; this.id = _data["id"]; - this.eqpID = _data["eqpID"]; - this.opId = _data["opId"]; - this.eqpCode = _data["eqpCode"]; - this.opCode = _data["opCode"]; - this.level = _data["level"]; + this.paramCode = _data["paramCode"]; + this.paramValue = _data["paramValue"]; + this.bomQty = _data["bomQty"]; + this.materialMainCategory = _data["materialMainCategory"]; + this.materialQuality = _data["materialQuality"]; + this.materialSpec = _data["materialSpec"]; + this.materialAttribute = _data["materialAttribute"]; + this.isUniversal = _data["isUniversal"]; + this.startFlag = _data["startFlag"]; + this.param1 = _data["param1"]; + this.param2 = _data["param2"]; + this.param3 = _data["param3"]; + this.param4 = _data["param4"]; + this.param5 = _data["param5"]; + this.param6 = _data["param6"]; + this.param7 = _data["param7"]; + this.param8 = _data["param8"]; + this.param9 = _data["param9"]; + this.param10 = _data["param10"]; this.memo = _data["memo"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; @@ -69833,34 +111998,39 @@ export class IcsEqp2OpEditDto implements IIcsEqp2OpEditDto { this.default8 = _data["default8"]; this.default9 = _data["default9"]; this.default10 = _data["default10"]; - if (Array.isArray(_data["eqpList"])) { - this.eqpList = [] as any; - for (let item of _data["eqpList"]) - this.eqpList.push(SelectItemExt2.fromJS(item)); - } - if (Array.isArray(_data["opList"])) { - this.opList = [] as any; - for (let item of _data["opList"]) - this.opList.push(SelectItemExt2.fromJS(item)); - } } } - static fromJS(data: any): IcsEqp2OpEditDto { + static fromJS(data: any): IcsParamDetailEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEqp2OpEditDto(); + let result = new IcsParamDetailEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["key"] = this.key; data["id"] = this.id; - data["eqpID"] = this.eqpID; - data["opId"] = this.opId; - data["eqpCode"] = this.eqpCode; - data["opCode"] = this.opCode; - data["level"] = this.level; + data["paramCode"] = this.paramCode; + data["paramValue"] = this.paramValue; + data["bomQty"] = this.bomQty; + data["materialMainCategory"] = this.materialMainCategory; + data["materialQuality"] = this.materialQuality; + data["materialSpec"] = this.materialSpec; + data["materialAttribute"] = this.materialAttribute; + data["isUniversal"] = this.isUniversal; + data["startFlag"] = this.startFlag; + data["param1"] = this.param1; + data["param2"] = this.param2; + data["param3"] = this.param3; + data["param4"] = this.param4; + data["param5"] = this.param5; + data["param6"] = this.param6; + data["param7"] = this.param7; + data["param8"] = this.param8; + data["param9"] = this.param9; + data["param10"] = this.param10; data["memo"] = this.memo; data["default1"] = this.default1; data["default2"] = this.default2; @@ -69870,102 +112040,184 @@ export class IcsEqp2OpEditDto implements IIcsEqp2OpEditDto { data["default6"] = this.default6; data["default7"] = this.default7; data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - if (Array.isArray(this.eqpList)) { - data["eqpList"] = []; - for (let item of this.eqpList) - data["eqpList"].push(item.toJSON()); - } - if (Array.isArray(this.opList)) { - data["opList"] = []; - for (let item of this.opList) - data["opList"].push(item.toJSON()); - } + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): IcsEqp2OpEditDto { + clone(): IcsParamDetailEditDto { const json = this.toJSON(); - let result = new IcsEqp2OpEditDto(); + let result = new IcsParamDetailEditDto(); result.init(json); return result; } } -export interface IIcsEqp2OpEditDto { +export interface IIcsParamDetailEditDto { + key: string | undefined; id: number | undefined; - /** 设备ID */ - eqpID: number; - /** 工序ID */ - opId: number; - /** 设备编码 */ - eqpCode: string | undefined; - /** 工序编码 */ - opCode: string | undefined; - /** 熟练程度 */ - level: string | undefined; - /** 备注 */ + paramCode: string | undefined; + paramValue: string | undefined; + bomQty: number; + materialMainCategory: string | undefined; + materialQuality: string | undefined; + materialSpec: string | undefined; + materialAttribute: string | undefined; + isUniversal: string | undefined; + startFlag: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; memo: string | undefined; - /** 保留字段1 */ default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - eqpList: SelectItemExt2[]; - opList: SelectItemExt2[]; } -export class IcsEqp2OpListDto implements IIcsEqp2OpListDto { - /** 设备ID */ - eqpID: number; - /** 工序ID */ - opId: number; - /** 设备编码 */ - eqpCode: string; - eqpName: string | undefined; - /** 工序编码 */ - opCode: string; - opName: string | undefined; - /** 熟练程度 */ - level: string; - levelName: string | undefined; - /** 备注 */ +export class IcsParamDetailImportDto implements IIcsParamDetailImportDto { + paramCode: string; + paramValue: string; + isUniversal: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; + memo: string | undefined; + startFlag: string | undefined; + + constructor(data?: IIcsParamDetailImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.paramCode = _data["paramCode"]; + this.paramValue = _data["paramValue"]; + this.isUniversal = _data["isUniversal"]; + this.param1 = _data["param1"]; + this.param2 = _data["param2"]; + this.param3 = _data["param3"]; + this.param4 = _data["param4"]; + this.param5 = _data["param5"]; + this.param6 = _data["param6"]; + this.param7 = _data["param7"]; + this.param8 = _data["param8"]; + this.param9 = _data["param9"]; + this.param10 = _data["param10"]; + this.memo = _data["memo"]; + this.startFlag = _data["startFlag"]; + } + } + + static fromJS(data: any): IcsParamDetailImportDto { + data = typeof data === 'object' ? data : {}; + let result = new IcsParamDetailImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["paramCode"] = this.paramCode; + data["paramValue"] = this.paramValue; + data["isUniversal"] = this.isUniversal; + data["param1"] = this.param1; + data["param2"] = this.param2; + data["param3"] = this.param3; + data["param4"] = this.param4; + data["param5"] = this.param5; + data["param6"] = this.param6; + data["param7"] = this.param7; + data["param8"] = this.param8; + data["param9"] = this.param9; + data["param10"] = this.param10; + data["memo"] = this.memo; + data["startFlag"] = this.startFlag; + return data; + } + + clone(): IcsParamDetailImportDto { + const json = this.toJSON(); + let result = new IcsParamDetailImportDto(); + result.init(json); + return result; + } +} + +export interface IIcsParamDetailImportDto { + paramCode: string; + paramValue: string; + isUniversal: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; + memo: string | undefined; + startFlag: string | undefined; +} + +export class IcsParamDetailListDto implements IIcsParamDetailListDto { + key: string | undefined; + paramCode: string | undefined; + paramValue: string | undefined; + bomQty: number; + materialMainCategory: string | undefined; + materialQuality: string | undefined; + materialSpec: string | undefined; + materialAttribute: string | undefined; + isUniversal: string | undefined; + startFlag: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; memo: string | undefined; - /** 保留字段1 */ default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -69975,7 +112227,7 @@ export class IcsEqp2OpListDto implements IIcsEqp2OpListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsEqp2OpListDto) { + constructor(data?: IIcsParamDetailListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -69986,14 +112238,26 @@ export class IcsEqp2OpListDto implements IIcsEqp2OpListDto { init(_data?: any) { if (_data) { - this.eqpID = _data["eqpID"]; - this.opId = _data["opId"]; - this.eqpCode = _data["eqpCode"]; - this.eqpName = _data["eqpName"]; - this.opCode = _data["opCode"]; - this.opName = _data["opName"]; - this.level = _data["level"]; - this.levelName = _data["levelName"]; + this.key = _data["key"]; + this.paramCode = _data["paramCode"]; + this.paramValue = _data["paramValue"]; + this.bomQty = _data["bomQty"]; + this.materialMainCategory = _data["materialMainCategory"]; + this.materialQuality = _data["materialQuality"]; + this.materialSpec = _data["materialSpec"]; + this.materialAttribute = _data["materialAttribute"]; + this.isUniversal = _data["isUniversal"]; + this.startFlag = _data["startFlag"]; + this.param1 = _data["param1"]; + this.param2 = _data["param2"]; + this.param3 = _data["param3"]; + this.param4 = _data["param4"]; + this.param5 = _data["param5"]; + this.param6 = _data["param6"]; + this.param7 = _data["param7"]; + this.param8 = _data["param8"]; + this.param9 = _data["param9"]; + this.param10 = _data["param10"]; this.memo = _data["memo"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; @@ -70015,23 +112279,35 @@ export class IcsEqp2OpListDto implements IIcsEqp2OpListDto { } } - static fromJS(data: any): IcsEqp2OpListDto { + static fromJS(data: any): IcsParamDetailListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEqp2OpListDto(); + let result = new IcsParamDetailListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["eqpID"] = this.eqpID; - data["opId"] = this.opId; - data["eqpCode"] = this.eqpCode; - data["eqpName"] = this.eqpName; - data["opCode"] = this.opCode; - data["opName"] = this.opName; - data["level"] = this.level; - data["levelName"] = this.levelName; + data["key"] = this.key; + data["paramCode"] = this.paramCode; + data["paramValue"] = this.paramValue; + data["bomQty"] = this.bomQty; + data["materialMainCategory"] = this.materialMainCategory; + data["materialQuality"] = this.materialQuality; + data["materialSpec"] = this.materialSpec; + data["materialAttribute"] = this.materialAttribute; + data["isUniversal"] = this.isUniversal; + data["startFlag"] = this.startFlag; + data["param1"] = this.param1; + data["param2"] = this.param2; + data["param3"] = this.param3; + data["param4"] = this.param4; + data["param5"] = this.param5; + data["param6"] = this.param6; + data["param7"] = this.param7; + data["param8"] = this.param8; + data["param9"] = this.param9; + data["param10"] = this.param10; data["memo"] = this.memo; data["default1"] = this.default1; data["default2"] = this.default2; @@ -70053,49 +112329,45 @@ export class IcsEqp2OpListDto implements IIcsEqp2OpListDto { return data; } - clone(): IcsEqp2OpListDto { + clone(): IcsParamDetailListDto { const json = this.toJSON(); - let result = new IcsEqp2OpListDto(); + let result = new IcsParamDetailListDto(); result.init(json); return result; } } -export interface IIcsEqp2OpListDto { - /** 设备ID */ - eqpID: number; - /** 工序ID */ - opId: number; - /** 设备编码 */ - eqpCode: string; - eqpName: string | undefined; - /** 工序编码 */ - opCode: string; - opName: string | undefined; - /** 熟练程度 */ - level: string; - levelName: string | undefined; - /** 备注 */ +export interface IIcsParamDetailListDto { + key: string | undefined; + paramCode: string | undefined; + paramValue: string | undefined; + bomQty: number; + materialMainCategory: string | undefined; + materialQuality: string | undefined; + materialSpec: string | undefined; + materialAttribute: string | undefined; + isUniversal: string | undefined; + startFlag: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; memo: string | undefined; - /** 保留字段1 */ default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -70106,50 +112378,35 @@ export interface IIcsEqp2OpListDto { id: number; } -export class IcsEquipmentEditDto implements IIcsEquipmentEditDto { +export class IcsParamHeadEditDto implements IIcsParamHeadEditDto { id: number | undefined; - /** 设备编码 */ - eqpCode: string | undefined; - /** 设备名称 */ - eqpName: string | undefined; - /** 设备描述 */ - eqpDesc: string | undefined; - /** 设备编号 */ - eqpNo: string | undefined; - /** 设备品牌 */ - eqpBrand: string | undefined; - /** 设备类型 */ - eqpType: string | undefined; - /** 设备型号 */ - eqpModel: string | undefined; - /** 设备状态 */ - eqpStatus: string | undefined; - /** 使用状态 */ - eqpUseStatus: string | undefined; - /** 设备公司 */ - company: string | undefined; - /** 联系地址 */ - address: string | undefined; - /** IP地址 */ - ipAddress: string | undefined; - /** 联系电话 */ - telPhone: string | undefined; - /** 加工单元 */ - mcCode: string | undefined; - /** 产线代码 */ - ssCode: string | undefined; - /** 工厂点阵 */ - pointAddress: string | undefined; - /** X坐标 */ - xAxis: string | undefined; - /** Y坐标 */ - yAxis: string | undefined; - /** 资产编号 */ - assetsNO: string | undefined; - /** 备注 */ + paramCode: string | undefined; + paramType: string | undefined; + paramName: string | undefined; + paramDesc: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IIcsEquipmentEditDto) { + constructor(data?: IIcsParamHeadEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -70161,32 +112418,37 @@ export class IcsEquipmentEditDto implements IIcsEquipmentEditDto { init(_data?: any) { if (_data) { this.id = _data["id"]; - this.eqpCode = _data["eqpCode"]; - this.eqpName = _data["eqpName"]; - this.eqpDesc = _data["eqpDesc"]; - this.eqpNo = _data["eqpNo"]; - this.eqpBrand = _data["eqpBrand"]; - this.eqpType = _data["eqpType"]; - this.eqpModel = _data["eqpModel"]; - this.eqpStatus = _data["eqpStatus"]; - this.eqpUseStatus = _data["eqpUseStatus"]; - this.company = _data["company"]; - this.address = _data["address"]; - this.ipAddress = _data["ipAddress"]; - this.telPhone = _data["telPhone"]; - this.mcCode = _data["mcCode"]; - this.ssCode = _data["ssCode"]; - this.pointAddress = _data["pointAddress"]; - this.xAxis = _data["xAxis"]; - this.yAxis = _data["yAxis"]; - this.assetsNO = _data["assetsNO"]; + this.paramCode = _data["paramCode"]; + this.paramType = _data["paramType"]; + this.paramName = _data["paramName"]; + this.paramDesc = _data["paramDesc"]; + this.param1 = _data["param1"]; + this.param2 = _data["param2"]; + this.param3 = _data["param3"]; + this.param4 = _data["param4"]; + this.param5 = _data["param5"]; + this.param6 = _data["param6"]; + this.param7 = _data["param7"]; + this.param8 = _data["param8"]; + this.param9 = _data["param9"]; + this.param10 = _data["param10"]; this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): IcsEquipmentEditDto { + static fromJS(data: any): IcsParamHeadEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEquipmentEditDto(); + let result = new IcsParamHeadEditDto(); result.init(data); return result; } @@ -70194,131 +112456,89 @@ export class IcsEquipmentEditDto implements IIcsEquipmentEditDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["id"] = this.id; - data["eqpCode"] = this.eqpCode; - data["eqpName"] = this.eqpName; - data["eqpDesc"] = this.eqpDesc; - data["eqpNo"] = this.eqpNo; - data["eqpBrand"] = this.eqpBrand; - data["eqpType"] = this.eqpType; - data["eqpModel"] = this.eqpModel; - data["eqpStatus"] = this.eqpStatus; - data["eqpUseStatus"] = this.eqpUseStatus; - data["company"] = this.company; - data["address"] = this.address; - data["ipAddress"] = this.ipAddress; - data["telPhone"] = this.telPhone; - data["mcCode"] = this.mcCode; - data["ssCode"] = this.ssCode; - data["pointAddress"] = this.pointAddress; - data["xAxis"] = this.xAxis; - data["yAxis"] = this.yAxis; - data["assetsNO"] = this.assetsNO; + data["paramCode"] = this.paramCode; + data["paramType"] = this.paramType; + data["paramName"] = this.paramName; + data["paramDesc"] = this.paramDesc; + data["param1"] = this.param1; + data["param2"] = this.param2; + data["param3"] = this.param3; + data["param4"] = this.param4; + data["param5"] = this.param5; + data["param6"] = this.param6; + data["param7"] = this.param7; + data["param8"] = this.param8; + data["param9"] = this.param9; + data["param10"] = this.param10; data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): IcsEquipmentEditDto { + clone(): IcsParamHeadEditDto { const json = this.toJSON(); - let result = new IcsEquipmentEditDto(); + let result = new IcsParamHeadEditDto(); result.init(json); return result; } } -export interface IIcsEquipmentEditDto { +export interface IIcsParamHeadEditDto { id: number | undefined; - /** 设备编码 */ - eqpCode: string | undefined; - /** 设备名称 */ - eqpName: string | undefined; - /** 设备描述 */ - eqpDesc: string | undefined; - /** 设备编号 */ - eqpNo: string | undefined; - /** 设备品牌 */ - eqpBrand: string | undefined; - /** 设备类型 */ - eqpType: string | undefined; - /** 设备型号 */ - eqpModel: string | undefined; - /** 设备状态 */ - eqpStatus: string | undefined; - /** 使用状态 */ - eqpUseStatus: string | undefined; - /** 设备公司 */ - company: string | undefined; - /** 联系地址 */ - address: string | undefined; - /** IP地址 */ - ipAddress: string | undefined; - /** 联系电话 */ - telPhone: string | undefined; - /** 加工单元 */ - mcCode: string | undefined; - /** 产线代码 */ - ssCode: string | undefined; - /** 工厂点阵 */ - pointAddress: string | undefined; - /** X坐标 */ - xAxis: string | undefined; - /** Y坐标 */ - yAxis: string | undefined; - /** 资产编号 */ - assetsNO: string | undefined; - /** 备注 */ + paramCode: string | undefined; + paramType: string | undefined; + paramName: string | undefined; + paramDesc: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class IcsEquipmentListDto implements IIcsEquipmentListDto { - /** 设备编码 */ - eqpCode: string | undefined; - /** 设备名称 */ - eqpName: string | undefined; - /** 设备描述 */ - eqpDesc: string | undefined; - /** 设备编号 */ - eqpNo: string | undefined; - /** 设备品牌 */ - eqpBrand: string | undefined; - /** 设备类型 */ - eqpType: string | undefined; - /** 设备型号 */ - eqpModel: string | undefined; - /** 设备状态 */ - eqpStatus: string | undefined; - /** 使用状态 */ - eqpUseStatus: string | undefined; - /** 设备公司 */ - company: string | undefined; - /** 联系地址 */ - address: string | undefined; - /** IP地址 */ - ipAddress: string | undefined; - /** 联系电话 */ - telPhone: string | undefined; - /** 加工单元 */ - mcCode: string | undefined; - /** 产线代码 */ - ssCode: string | undefined; - /** 工厂点阵 */ - pointAddress: string | undefined; - /** X坐标 */ - xAxis: string | undefined; - /** Y坐标 */ - yAxis: string | undefined; - /** 资产编号 */ - assetsNO: string | undefined; - /** 备注 */ +export class IcsParamHeadImportDto implements IIcsParamHeadImportDto { + paramCode: string; + paramType: string | undefined; + paramName: string | undefined; + paramDesc: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; - constructor(data?: IIcsEquipmentListDto) { + constructor(data?: IIcsParamHeadImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -70329,124 +112549,103 @@ export class IcsEquipmentListDto implements IIcsEquipmentListDto { init(_data?: any) { if (_data) { - this.eqpCode = _data["eqpCode"]; - this.eqpName = _data["eqpName"]; - this.eqpDesc = _data["eqpDesc"]; - this.eqpNo = _data["eqpNo"]; - this.eqpBrand = _data["eqpBrand"]; - this.eqpType = _data["eqpType"]; - this.eqpModel = _data["eqpModel"]; - this.eqpStatus = _data["eqpStatus"]; - this.eqpUseStatus = _data["eqpUseStatus"]; - this.company = _data["company"]; - this.address = _data["address"]; - this.ipAddress = _data["ipAddress"]; - this.telPhone = _data["telPhone"]; - this.mcCode = _data["mcCode"]; - this.ssCode = _data["ssCode"]; - this.pointAddress = _data["pointAddress"]; - this.xAxis = _data["xAxis"]; - this.yAxis = _data["yAxis"]; - this.assetsNO = _data["assetsNO"]; + this.paramCode = _data["paramCode"]; + this.paramType = _data["paramType"]; + this.paramName = _data["paramName"]; + this.paramDesc = _data["paramDesc"]; + this.param1 = _data["param1"]; + this.param2 = _data["param2"]; + this.param3 = _data["param3"]; + this.param4 = _data["param4"]; + this.param5 = _data["param5"]; + this.param6 = _data["param6"]; + this.param7 = _data["param7"]; + this.param8 = _data["param8"]; + this.param9 = _data["param9"]; + this.param10 = _data["param10"]; this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; } } - static fromJS(data: any): IcsEquipmentListDto { + static fromJS(data: any): IcsParamHeadImportDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEquipmentListDto(); + let result = new IcsParamHeadImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["eqpCode"] = this.eqpCode; - data["eqpName"] = this.eqpName; - data["eqpDesc"] = this.eqpDesc; - data["eqpNo"] = this.eqpNo; - data["eqpBrand"] = this.eqpBrand; - data["eqpType"] = this.eqpType; - data["eqpModel"] = this.eqpModel; - data["eqpStatus"] = this.eqpStatus; - data["eqpUseStatus"] = this.eqpUseStatus; - data["company"] = this.company; - data["address"] = this.address; - data["ipAddress"] = this.ipAddress; - data["telPhone"] = this.telPhone; - data["mcCode"] = this.mcCode; - data["ssCode"] = this.ssCode; - data["pointAddress"] = this.pointAddress; - data["xAxis"] = this.xAxis; - data["yAxis"] = this.yAxis; - data["assetsNO"] = this.assetsNO; + data["paramCode"] = this.paramCode; + data["paramType"] = this.paramType; + data["paramName"] = this.paramName; + data["paramDesc"] = this.paramDesc; + data["param1"] = this.param1; + data["param2"] = this.param2; + data["param3"] = this.param3; + data["param4"] = this.param4; + data["param5"] = this.param5; + data["param6"] = this.param6; + data["param7"] = this.param7; + data["param8"] = this.param8; + data["param9"] = this.param9; + data["param10"] = this.param10; data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; return data; } - clone(): IcsEquipmentListDto { + clone(): IcsParamHeadImportDto { const json = this.toJSON(); - let result = new IcsEquipmentListDto(); + let result = new IcsParamHeadImportDto(); result.init(json); return result; } } -export interface IIcsEquipmentListDto { - /** 设备编码 */ - eqpCode: string | undefined; - /** 设备名称 */ - eqpName: string | undefined; - /** 设备描述 */ - eqpDesc: string | undefined; - /** 设备编号 */ - eqpNo: string | undefined; - /** 设备品牌 */ - eqpBrand: string | undefined; - /** 设备类型 */ - eqpType: string | undefined; - /** 设备型号 */ - eqpModel: string | undefined; - /** 设备状态 */ - eqpStatus: string | undefined; - /** 使用状态 */ - eqpUseStatus: string | undefined; - /** 设备公司 */ - company: string | undefined; - /** 联系地址 */ - address: string | undefined; - /** IP地址 */ - ipAddress: string | undefined; - /** 联系电话 */ - telPhone: string | undefined; - /** 加工单元 */ - mcCode: string | undefined; - /** 产线代码 */ - ssCode: string | undefined; - /** 工厂点阵 */ - pointAddress: string | undefined; - /** X坐标 */ - xAxis: string | undefined; - /** Y坐标 */ - yAxis: string | undefined; - /** 资产编号 */ - assetsNO: string | undefined; - /** 备注 */ +export interface IIcsParamHeadImportDto { + paramCode: string; + paramType: string | undefined; + paramName: string | undefined; + paramDesc: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; + memo: string | undefined; +} + +export class IcsParamHeadListDto implements IIcsParamHeadListDto { + paramCode: string; + paramType: string; + paramName: string; + paramDesc: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -70454,28 +112653,8 @@ export interface IIcsEquipmentListDto { creationTime: moment.Moment; creatorUserId: string | undefined; id: number; -} -export class IcsEquipmentMaintainItemEditDto implements IIcsEquipmentMaintainItemEditDto { - id: number | undefined; - /** 保养编码 */ - maintainCode: string | undefined; - /** 保养内容 */ - maintainContent: string | undefined; - /** 保养方法 */ - maintainMethod: string | undefined; - /** 保养标准 */ - maintainStandard: string | undefined; - /** 保养位置 */ - maintainLoacation: string | undefined; - /** 保养示意图 */ - maintainImage: string | undefined; - /** 保养描述 */ - maintainDesc: string | undefined; - /** 备注 */ - memo: string | undefined; - - constructor(data?: IIcsEquipmentMaintainItemEditDto) { + constructor(data?: IIcsParamHeadListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -70486,86 +112665,119 @@ export class IcsEquipmentMaintainItemEditDto implements IIcsEquipmentMaintainIte init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.maintainCode = _data["maintainCode"]; - this.maintainContent = _data["maintainContent"]; - this.maintainMethod = _data["maintainMethod"]; - this.maintainStandard = _data["maintainStandard"]; - this.maintainLoacation = _data["maintainLoacation"]; - this.maintainImage = _data["maintainImage"]; - this.maintainDesc = _data["maintainDesc"]; + this.paramCode = _data["paramCode"]; + this.paramType = _data["paramType"]; + this.paramName = _data["paramName"]; + this.paramDesc = _data["paramDesc"]; + this.param1 = _data["param1"]; + this.param2 = _data["param2"]; + this.param3 = _data["param3"]; + this.param4 = _data["param4"]; + this.param5 = _data["param5"]; + this.param6 = _data["param6"]; + this.param7 = _data["param7"]; + this.param8 = _data["param8"]; + this.param9 = _data["param9"]; + this.param10 = _data["param10"]; this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): IcsEquipmentMaintainItemEditDto { + static fromJS(data: any): IcsParamHeadListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEquipmentMaintainItemEditDto(); + let result = new IcsParamHeadListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["maintainCode"] = this.maintainCode; - data["maintainContent"] = this.maintainContent; - data["maintainMethod"] = this.maintainMethod; - data["maintainStandard"] = this.maintainStandard; - data["maintainLoacation"] = this.maintainLoacation; - data["maintainImage"] = this.maintainImage; - data["maintainDesc"] = this.maintainDesc; + data["paramCode"] = this.paramCode; + data["paramType"] = this.paramType; + data["paramName"] = this.paramName; + data["paramDesc"] = this.paramDesc; + data["param1"] = this.param1; + data["param2"] = this.param2; + data["param3"] = this.param3; + data["param4"] = this.param4; + data["param5"] = this.param5; + data["param6"] = this.param6; + data["param7"] = this.param7; + data["param8"] = this.param8; + data["param9"] = this.param9; + data["param10"] = this.param10; data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): IcsEquipmentMaintainItemEditDto { + clone(): IcsParamHeadListDto { const json = this.toJSON(); - let result = new IcsEquipmentMaintainItemEditDto(); + let result = new IcsParamHeadListDto(); result.init(json); return result; } } -export interface IIcsEquipmentMaintainItemEditDto { - id: number | undefined; - /** 保养编码 */ - maintainCode: string | undefined; - /** 保养内容 */ - maintainContent: string | undefined; - /** 保养方法 */ - maintainMethod: string | undefined; - /** 保养标准 */ - maintainStandard: string | undefined; - /** 保养位置 */ - maintainLoacation: string | undefined; - /** 保养示意图 */ - maintainImage: string | undefined; - /** 保养描述 */ - maintainDesc: string | undefined; - /** 备注 */ - memo: string | undefined; -} - -export class IcsEquipmentMaintainItemListDto implements IIcsEquipmentMaintainItemListDto { - /** 保养编码 */ - maintainCode: string | undefined; - /** 保养内容 */ - maintainContent: string | undefined; - /** 保养方法 */ - maintainMethod: string | undefined; - /** 保养标准 */ - maintainStandard: string | undefined; - /** 保养位置 */ - maintainLoacation: string | undefined; - /** 保养示意图 */ - maintainImage: string | undefined; - /** 保养描述 */ - maintainDesc: string | undefined; - /** 备注 */ +export interface IIcsParamHeadListDto { + paramCode: string; + paramType: string; + paramName: string; + paramDesc: string | undefined; + param1: string | undefined; + param2: string | undefined; + param3: string | undefined; + param4: string | undefined; + param5: string | undefined; + param6: string | undefined; + param7: string | undefined; + param8: string | undefined; + param9: string | undefined; + param10: string | undefined; memo: string | undefined; - /** 图片路径(前端拼接/File/GetFile?filePath=获取真实路径) */ - imagePath: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -70573,131 +112785,128 @@ export class IcsEquipmentMaintainItemListDto implements IIcsEquipmentMaintainIte creationTime: moment.Moment; creatorUserId: string | undefined; id: number; +} - constructor(data?: IIcsEquipmentMaintainItemListDto) { +export class IcsPart2SubItemEditDto implements IIcsPart2SubItemEditDto { + key: string | undefined; + id: number | undefined; + partModel: string | undefined; + bomModelCode: string | undefined; + partItemName: string | undefined; + subItemName: string | undefined; + subItemSeq: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + + constructor(data?: IIcsPart2SubItemEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } - } - } - - init(_data?: any) { - if (_data) { - this.maintainCode = _data["maintainCode"]; - this.maintainContent = _data["maintainContent"]; - this.maintainMethod = _data["maintainMethod"]; - this.maintainStandard = _data["maintainStandard"]; - this.maintainLoacation = _data["maintainLoacation"]; - this.maintainImage = _data["maintainImage"]; - this.maintainDesc = _data["maintainDesc"]; - this.memo = _data["memo"]; - this.imagePath = _data["imagePath"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.key = _data["key"]; this.id = _data["id"]; + this.partModel = _data["partModel"]; + this.bomModelCode = _data["bomModelCode"]; + this.partItemName = _data["partItemName"]; + this.subItemName = _data["subItemName"]; + this.subItemSeq = _data["subItemSeq"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): IcsEquipmentMaintainItemListDto { + static fromJS(data: any): IcsPart2SubItemEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEquipmentMaintainItemListDto(); + let result = new IcsPart2SubItemEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["maintainCode"] = this.maintainCode; - data["maintainContent"] = this.maintainContent; - data["maintainMethod"] = this.maintainMethod; - data["maintainStandard"] = this.maintainStandard; - data["maintainLoacation"] = this.maintainLoacation; - data["maintainImage"] = this.maintainImage; - data["maintainDesc"] = this.maintainDesc; - data["memo"] = this.memo; - data["imagePath"] = this.imagePath; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; + data["key"] = this.key; data["id"] = this.id; + data["partModel"] = this.partModel; + data["bomModelCode"] = this.bomModelCode; + data["partItemName"] = this.partItemName; + data["subItemName"] = this.subItemName; + data["subItemSeq"] = this.subItemSeq; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): IcsEquipmentMaintainItemListDto { + clone(): IcsPart2SubItemEditDto { const json = this.toJSON(); - let result = new IcsEquipmentMaintainItemListDto(); + let result = new IcsPart2SubItemEditDto(); result.init(json); return result; } } -export interface IIcsEquipmentMaintainItemListDto { - /** 保养编码 */ - maintainCode: string | undefined; - /** 保养内容 */ - maintainContent: string | undefined; - /** 保养方法 */ - maintainMethod: string | undefined; - /** 保养标准 */ - maintainStandard: string | undefined; - /** 保养位置 */ - maintainLoacation: string | undefined; - /** 保养示意图 */ - maintainImage: string | undefined; - /** 保养描述 */ - maintainDesc: string | undefined; - /** 备注 */ +export interface IIcsPart2SubItemEditDto { + key: string | undefined; + id: number | undefined; + partModel: string | undefined; + bomModelCode: string | undefined; + partItemName: string | undefined; + subItemName: string | undefined; + subItemSeq: string | undefined; memo: string | undefined; - /** 图片路径(前端拼接/File/GetFile?filePath=获取真实路径) */ - imagePath: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; } -export class IcsEquipmentMaintainLogEditDto implements IIcsEquipmentMaintainLogEditDto { - id: number | undefined; - /** 设备Id */ - eqpId: number | undefined; - /** 设备编码 */ - eqpCode: string | undefined; - /** 保养内容 */ - maintainItemId: number | undefined; - /** 首次维护日期 */ - firstDate: moment.Moment; - /** 频次 */ - frequency: number; - /** 保养备注 */ - maintainMemo: string | undefined; - /** 保养日期 */ - maintainDate: moment.Moment | undefined; - /** 保养人员 */ - maintainUserId: number | undefined; - /** 保养人员 */ - maintainUser: string | undefined; - /** 是否逾期 */ - overdue: string | undefined; - /** 保养结果 */ - result: string | undefined; - /** 备注 */ +export class IcsPart2SubItemImportDto implements IIcsPart2SubItemImportDto { + partModel: string; + bomModelCode: string; + partItemName: string; + subItemName: string; + subItemSeq: string; memo: string | undefined; - /** 周期类型 */ - cycleType: string | undefined; - constructor(data?: IIcsEquipmentMaintainLogEditDto) { + constructor(data?: IIcsPart2SubItemImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -70708,122 +112917,68 @@ export class IcsEquipmentMaintainLogEditDto implements IIcsEquipmentMaintainLogE init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.eqpId = _data["eqpId"]; - this.eqpCode = _data["eqpCode"]; - this.maintainItemId = _data["maintainItemId"]; - this.firstDate = _data["firstDate"] ? moment(_data["firstDate"].toString()) : undefined; - this.frequency = _data["frequency"]; - this.maintainMemo = _data["maintainMemo"]; - this.maintainDate = _data["maintainDate"] ? moment(_data["maintainDate"].toString()) : undefined; - this.maintainUserId = _data["maintainUserId"]; - this.maintainUser = _data["maintainUser"]; - this.overdue = _data["overdue"]; - this.result = _data["result"]; + this.partModel = _data["partModel"]; + this.bomModelCode = _data["bomModelCode"]; + this.partItemName = _data["partItemName"]; + this.subItemName = _data["subItemName"]; + this.subItemSeq = _data["subItemSeq"]; this.memo = _data["memo"]; - this.cycleType = _data["cycleType"]; } } - static fromJS(data: any): IcsEquipmentMaintainLogEditDto { + static fromJS(data: any): IcsPart2SubItemImportDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEquipmentMaintainLogEditDto(); + let result = new IcsPart2SubItemImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["eqpId"] = this.eqpId; - data["eqpCode"] = this.eqpCode; - data["maintainItemId"] = this.maintainItemId; - data["firstDate"] = this.firstDate ? this.firstDate.toISOString() : undefined; - data["frequency"] = this.frequency; - data["maintainMemo"] = this.maintainMemo; - data["maintainDate"] = this.maintainDate ? this.maintainDate.toISOString() : undefined; - data["maintainUserId"] = this.maintainUserId; - data["maintainUser"] = this.maintainUser; - data["overdue"] = this.overdue; - data["result"] = this.result; + data["partModel"] = this.partModel; + data["bomModelCode"] = this.bomModelCode; + data["partItemName"] = this.partItemName; + data["subItemName"] = this.subItemName; + data["subItemSeq"] = this.subItemSeq; data["memo"] = this.memo; - data["cycleType"] = this.cycleType; return data; } - clone(): IcsEquipmentMaintainLogEditDto { + clone(): IcsPart2SubItemImportDto { const json = this.toJSON(); - let result = new IcsEquipmentMaintainLogEditDto(); + let result = new IcsPart2SubItemImportDto(); result.init(json); return result; } } -export interface IIcsEquipmentMaintainLogEditDto { - id: number | undefined; - /** 设备Id */ - eqpId: number | undefined; - /** 设备编码 */ - eqpCode: string | undefined; - /** 保养内容 */ - maintainItemId: number | undefined; - /** 首次维护日期 */ - firstDate: moment.Moment; - /** 频次 */ - frequency: number; - /** 保养备注 */ - maintainMemo: string | undefined; - /** 保养日期 */ - maintainDate: moment.Moment | undefined; - /** 保养人员 */ - maintainUserId: number | undefined; - /** 保养人员 */ - maintainUser: string | undefined; - /** 是否逾期 */ - overdue: string | undefined; - /** 保养结果 */ - result: string | undefined; - /** 备注 */ +export interface IIcsPart2SubItemImportDto { + partModel: string; + bomModelCode: string; + partItemName: string; + subItemName: string; + subItemSeq: string; memo: string | undefined; - /** 周期类型 */ - cycleType: string | undefined; } -export class IcsEquipmentMaintainLogListDto implements IIcsEquipmentMaintainLogListDto { - /** 设备Id */ - eqpId: number; - /** 设备名称 */ - eqpName: string | undefined; - /** 设备编码 */ - eqpCode: string | undefined; - /** 保养内容 */ - maintainItemId: number; - /** 保养内容 */ - maintainItemContent: string | undefined; - /** 保养备注 */ - maintainMemo: string | undefined; - /** 保养日期 */ - maintainDate: moment.Moment | undefined; - /** 下次保养日期 */ - nextMaintainDate: moment.Moment; - /** 是否逾期 */ - overdue: string | undefined; - /** 上次保养人员 */ - maintainUserId: string | undefined; - /** 保养人员 */ - maintainUser: string | undefined; - /** 周期类型 */ - cycleType: string | undefined; - /** 首次保养日期 */ - firstDate: moment.Moment; - /** 频率周期 */ - cycle: string | undefined; - /** 频率 */ - frequency: number; - /** 保养结果 */ - result: string | undefined; - /** 备注 */ +export class IcsPart2SubItemListDto implements IIcsPart2SubItemListDto { + key: string | undefined; + partModel: string | undefined; + bomModelCode: string | undefined; + partItemName: string | undefined; + subItemName: string | undefined; + subItemSeq: string | undefined; memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -70832,7 +112987,7 @@ export class IcsEquipmentMaintainLogListDto implements IIcsEquipmentMaintainLogL creatorUserId: string | undefined; id: number; - constructor(data?: IIcsEquipmentMaintainLogListDto) { + constructor(data?: IIcsPart2SubItemListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -70843,23 +112998,23 @@ export class IcsEquipmentMaintainLogListDto implements IIcsEquipmentMaintainLogL init(_data?: any) { if (_data) { - this.eqpId = _data["eqpId"]; - this.eqpName = _data["eqpName"]; - this.eqpCode = _data["eqpCode"]; - this.maintainItemId = _data["maintainItemId"]; - this.maintainItemContent = _data["maintainItemContent"]; - this.maintainMemo = _data["maintainMemo"]; - this.maintainDate = _data["maintainDate"] ? moment(_data["maintainDate"].toString()) : undefined; - this.nextMaintainDate = _data["nextMaintainDate"] ? moment(_data["nextMaintainDate"].toString()) : undefined; - this.overdue = _data["overdue"]; - this.maintainUserId = _data["maintainUserId"]; - this.maintainUser = _data["maintainUser"]; - this.cycleType = _data["cycleType"]; - this.firstDate = _data["firstDate"] ? moment(_data["firstDate"].toString()) : undefined; - this.cycle = _data["cycle"]; - this.frequency = _data["frequency"]; - this.result = _data["result"]; + this.key = _data["key"]; + this.partModel = _data["partModel"]; + this.bomModelCode = _data["bomModelCode"]; + this.partItemName = _data["partItemName"]; + this.subItemName = _data["subItemName"]; + this.subItemSeq = _data["subItemSeq"]; this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; @@ -70870,32 +113025,32 @@ export class IcsEquipmentMaintainLogListDto implements IIcsEquipmentMaintainLogL } } - static fromJS(data: any): IcsEquipmentMaintainLogListDto { + static fromJS(data: any): IcsPart2SubItemListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEquipmentMaintainLogListDto(); + let result = new IcsPart2SubItemListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["eqpId"] = this.eqpId; - data["eqpName"] = this.eqpName; - data["eqpCode"] = this.eqpCode; - data["maintainItemId"] = this.maintainItemId; - data["maintainItemContent"] = this.maintainItemContent; - data["maintainMemo"] = this.maintainMemo; - data["maintainDate"] = this.maintainDate ? this.maintainDate.toISOString() : undefined; - data["nextMaintainDate"] = this.nextMaintainDate ? this.nextMaintainDate.toISOString() : undefined; - data["overdue"] = this.overdue; - data["maintainUserId"] = this.maintainUserId; - data["maintainUser"] = this.maintainUser; - data["cycleType"] = this.cycleType; - data["firstDate"] = this.firstDate ? this.firstDate.toISOString() : undefined; - data["cycle"] = this.cycle; - data["frequency"] = this.frequency; - data["result"] = this.result; + data["key"] = this.key; + data["partModel"] = this.partModel; + data["bomModelCode"] = this.bomModelCode; + data["partItemName"] = this.partItemName; + data["subItemName"] = this.subItemName; + data["subItemSeq"] = this.subItemSeq; data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; @@ -70906,49 +113061,32 @@ export class IcsEquipmentMaintainLogListDto implements IIcsEquipmentMaintainLogL return data; } - clone(): IcsEquipmentMaintainLogListDto { + clone(): IcsPart2SubItemListDto { const json = this.toJSON(); - let result = new IcsEquipmentMaintainLogListDto(); + let result = new IcsPart2SubItemListDto(); result.init(json); return result; } } -export interface IIcsEquipmentMaintainLogListDto { - /** 设备Id */ - eqpId: number; - /** 设备名称 */ - eqpName: string | undefined; - /** 设备编码 */ - eqpCode: string | undefined; - /** 保养内容 */ - maintainItemId: number; - /** 保养内容 */ - maintainItemContent: string | undefined; - /** 保养备注 */ - maintainMemo: string | undefined; - /** 保养日期 */ - maintainDate: moment.Moment | undefined; - /** 下次保养日期 */ - nextMaintainDate: moment.Moment; - /** 是否逾期 */ - overdue: string | undefined; - /** 上次保养人员 */ - maintainUserId: string | undefined; - /** 保养人员 */ - maintainUser: string | undefined; - /** 周期类型 */ - cycleType: string | undefined; - /** 首次保养日期 */ - firstDate: moment.Moment; - /** 频率周期 */ - cycle: string | undefined; - /** 频率 */ - frequency: number; - /** 保养结果 */ - result: string | undefined; - /** 备注 */ +export interface IIcsPart2SubItemListDto { + key: string | undefined; + partModel: string | undefined; + bomModelCode: string | undefined; + partItemName: string | undefined; + subItemName: string | undefined; + subItemSeq: string | undefined; memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -70958,26 +113096,14 @@ export interface IIcsEquipmentMaintainLogListDto { id: number; } -export class IcsEquipmentMaintainPlanEditDto implements IIcsEquipmentMaintainPlanEditDto { +export class IcsPartEditDto implements IIcsPartEditDto { id: number | undefined; - /** 设备Id */ - eqpId: number; - /** 设备编号 */ - eqpCode: string | undefined; - /** 保养内容 */ - maintainId: number; - /** 保养编码 */ - maintainCode: string | undefined; - /** 周期类型 */ - cycleType: string | undefined; - /** 频率 */ - frequency: number; - /** 首次保养日期 */ - firstDate: moment.Moment; - /** 备注 */ + partCode: string | undefined; + partName: string | undefined; + partDesc: string | undefined; memo: string | undefined; - constructor(data?: IIcsEquipmentMaintainPlanEditDto) { + constructor(data?: IIcsPartEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -70989,20 +113115,16 @@ export class IcsEquipmentMaintainPlanEditDto implements IIcsEquipmentMaintainPla init(_data?: any) { if (_data) { this.id = _data["id"]; - this.eqpId = _data["eqpId"]; - this.eqpCode = _data["eqpCode"]; - this.maintainId = _data["maintainId"]; - this.maintainCode = _data["maintainCode"]; - this.cycleType = _data["cycleType"]; - this.frequency = _data["frequency"]; - this.firstDate = _data["firstDate"] ? moment(_data["firstDate"].toString()) : undefined; + this.partCode = _data["partCode"]; + this.partName = _data["partName"]; + this.partDesc = _data["partDesc"]; this.memo = _data["memo"]; } } - static fromJS(data: any): IcsEquipmentMaintainPlanEditDto { + static fromJS(data: any): IcsPartEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEquipmentMaintainPlanEditDto(); + let result = new IcsPartEditDto(); result.init(data); return result; } @@ -71010,67 +113132,88 @@ export class IcsEquipmentMaintainPlanEditDto implements IIcsEquipmentMaintainPla toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["id"] = this.id; - data["eqpId"] = this.eqpId; - data["eqpCode"] = this.eqpCode; - data["maintainId"] = this.maintainId; - data["maintainCode"] = this.maintainCode; - data["cycleType"] = this.cycleType; - data["frequency"] = this.frequency; - data["firstDate"] = this.firstDate ? this.firstDate.toISOString() : undefined; + data["partCode"] = this.partCode; + data["partName"] = this.partName; + data["partDesc"] = this.partDesc; data["memo"] = this.memo; return data; } - clone(): IcsEquipmentMaintainPlanEditDto { + clone(): IcsPartEditDto { const json = this.toJSON(); - let result = new IcsEquipmentMaintainPlanEditDto(); + let result = new IcsPartEditDto(); result.init(json); return result; } } -export interface IIcsEquipmentMaintainPlanEditDto { +export interface IIcsPartEditDto { id: number | undefined; - /** 设备Id */ - eqpId: number; - /** 设备编号 */ - eqpCode: string | undefined; - /** 保养内容 */ - maintainId: number; - /** 保养编码 */ - maintainCode: string | undefined; - /** 周期类型 */ - cycleType: string | undefined; - /** 频率 */ - frequency: number; - /** 首次保养日期 */ - firstDate: moment.Moment; - /** 备注 */ + partCode: string | undefined; + partName: string | undefined; + partDesc: string | undefined; memo: string | undefined; } -export class IcsEquipmentMaintainPlanListDto implements IIcsEquipmentMaintainPlanListDto { - /** 设备Id */ - eqpId: number; - /** 设备编号 */ - eqpCode: string | undefined; - /** 设备名称 */ - eqpName: string | undefined; - /** 保养内容 */ - maintainId: number; - /** 保养内容 */ - maintainContent: string | undefined; - /** 保养编码 */ - maintainCode: string | undefined; - /** 周期类型 */ - cycleType: string | undefined; - /** 频率周期 */ - cycle: string | undefined; - /** 频率 */ - frequency: number; - /** 首次保养日期 */ - firstDate: moment.Moment; - /** 备注 */ +export class IcsPartImportDto implements IIcsPartImportDto { + partCode: string; + partName: string; + partDesc: string | undefined; + memo: string | undefined; + + constructor(data?: IIcsPartImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.partCode = _data["partCode"]; + this.partName = _data["partName"]; + this.partDesc = _data["partDesc"]; + this.memo = _data["memo"]; + } + } + + static fromJS(data: any): IcsPartImportDto { + data = typeof data === 'object' ? data : {}; + let result = new IcsPartImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["partCode"] = this.partCode; + data["partName"] = this.partName; + data["partDesc"] = this.partDesc; + data["memo"] = this.memo; + return data; + } + + clone(): IcsPartImportDto { + const json = this.toJSON(); + let result = new IcsPartImportDto(); + result.init(json); + return result; + } +} + +export interface IIcsPartImportDto { + partCode: string; + partName: string; + partDesc: string | undefined; + memo: string | undefined; +} + +export class IcsPartListDto implements IIcsPartListDto { + partCode: string | undefined; + partName: string | undefined; + partDesc: string | undefined; memo: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -71080,7 +113223,7 @@ export class IcsEquipmentMaintainPlanListDto implements IIcsEquipmentMaintainPla creatorUserId: string | undefined; id: number; - constructor(data?: IIcsEquipmentMaintainPlanListDto) { + constructor(data?: IIcsPartListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -71091,16 +113234,9 @@ export class IcsEquipmentMaintainPlanListDto implements IIcsEquipmentMaintainPla init(_data?: any) { if (_data) { - this.eqpId = _data["eqpId"]; - this.eqpCode = _data["eqpCode"]; - this.eqpName = _data["eqpName"]; - this.maintainId = _data["maintainId"]; - this.maintainContent = _data["maintainContent"]; - this.maintainCode = _data["maintainCode"]; - this.cycleType = _data["cycleType"]; - this.cycle = _data["cycle"]; - this.frequency = _data["frequency"]; - this.firstDate = _data["firstDate"] ? moment(_data["firstDate"].toString()) : undefined; + this.partCode = _data["partCode"]; + this.partName = _data["partName"]; + this.partDesc = _data["partDesc"]; this.memo = _data["memo"]; this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; @@ -71112,25 +113248,18 @@ export class IcsEquipmentMaintainPlanListDto implements IIcsEquipmentMaintainPla } } - static fromJS(data: any): IcsEquipmentMaintainPlanListDto { + static fromJS(data: any): IcsPartListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEquipmentMaintainPlanListDto(); + let result = new IcsPartListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["eqpId"] = this.eqpId; - data["eqpCode"] = this.eqpCode; - data["eqpName"] = this.eqpName; - data["maintainId"] = this.maintainId; - data["maintainContent"] = this.maintainContent; - data["maintainCode"] = this.maintainCode; - data["cycleType"] = this.cycleType; - data["cycle"] = this.cycle; - data["frequency"] = this.frequency; - data["firstDate"] = this.firstDate ? this.firstDate.toISOString() : undefined; + data["partCode"] = this.partCode; + data["partName"] = this.partName; + data["partDesc"] = this.partDesc; data["memo"] = this.memo; data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; @@ -71142,36 +113271,18 @@ export class IcsEquipmentMaintainPlanListDto implements IIcsEquipmentMaintainPla return data; } - clone(): IcsEquipmentMaintainPlanListDto { + clone(): IcsPartListDto { const json = this.toJSON(); - let result = new IcsEquipmentMaintainPlanListDto(); + let result = new IcsPartListDto(); result.init(json); return result; } } -export interface IIcsEquipmentMaintainPlanListDto { - /** 设备Id */ - eqpId: number; - /** 设备编号 */ - eqpCode: string | undefined; - /** 设备名称 */ - eqpName: string | undefined; - /** 保养内容 */ - maintainId: number; - /** 保养内容 */ - maintainContent: string | undefined; - /** 保养编码 */ - maintainCode: string | undefined; - /** 周期类型 */ - cycleType: string | undefined; - /** 频率周期 */ - cycle: string | undefined; - /** 频率 */ - frequency: number; - /** 首次保养日期 */ - firstDate: moment.Moment; - /** 备注 */ +export interface IIcsPartListDto { + partCode: string | undefined; + partName: string | undefined; + partDesc: string | undefined; memo: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -71182,26 +113293,34 @@ export interface IIcsEquipmentMaintainPlanListDto { id: number; } -export class IcsEquipmentPartCheckDataEditDto implements IIcsEquipmentPartCheckDataEditDto { +export class IcsReelEditDto implements IIcsReelEditDto { + key: string | undefined; id: number | undefined; - /** 设备编码 */ - eqpCode: string | undefined; - /** 点检部件 */ - partId: number; - /** 设备点检项 */ - partCheckItemId: number; - /** 点检日期 */ - checkDate: moment.Moment; - /** 点检结果 Y、N */ - checkResult: string | undefined; - /** 点检结果图片 */ - checkResultImage: string | undefined; - /** 点检描述 */ - checkDesc: string | undefined; - /** 备注 */ + reelNo: string | undefined; + materialCode: string | undefined; + reelQty: number; + usedQty: number; + reelLotNo: string | undefined; + productDate: moment.Moment | undefined; + usedFlag: string | undefined; + moCode: string | undefined; + moSeq: number | undefined; + ssCode: string | undefined; + isSpecial: string | undefined; + checkDiffqty: number | undefined; memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: IIcsEquipmentPartCheckDataEditDto) { + constructor(data?: IIcsReelEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -71212,82 +113331,132 @@ export class IcsEquipmentPartCheckDataEditDto implements IIcsEquipmentPartCheckD init(_data?: any) { if (_data) { + this.key = _data["key"]; this.id = _data["id"]; - this.eqpCode = _data["eqpCode"]; - this.partId = _data["partId"]; - this.partCheckItemId = _data["partCheckItemId"]; - this.checkDate = _data["checkDate"] ? moment(_data["checkDate"].toString()) : undefined; - this.checkResult = _data["checkResult"]; - this.checkResultImage = _data["checkResultImage"]; - this.checkDesc = _data["checkDesc"]; + this.reelNo = _data["reelNo"]; + this.materialCode = _data["materialCode"]; + this.reelQty = _data["reelQty"]; + this.usedQty = _data["usedQty"]; + this.reelLotNo = _data["reelLotNo"]; + this.productDate = _data["productDate"] ? moment(_data["productDate"].toString()) : undefined; + this.usedFlag = _data["usedFlag"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.ssCode = _data["ssCode"]; + this.isSpecial = _data["isSpecial"]; + this.checkDiffqty = _data["checkDiffqty"]; this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): IcsEquipmentPartCheckDataEditDto { + static fromJS(data: any): IcsReelEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEquipmentPartCheckDataEditDto(); + let result = new IcsReelEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["key"] = this.key; data["id"] = this.id; - data["eqpCode"] = this.eqpCode; - data["partId"] = this.partId; - data["partCheckItemId"] = this.partCheckItemId; - data["checkDate"] = this.checkDate ? this.checkDate.toISOString() : undefined; - data["checkResult"] = this.checkResult; - data["checkResultImage"] = this.checkResultImage; - data["checkDesc"] = this.checkDesc; + data["reelNo"] = this.reelNo; + data["materialCode"] = this.materialCode; + data["reelQty"] = this.reelQty; + data["usedQty"] = this.usedQty; + data["reelLotNo"] = this.reelLotNo; + data["productDate"] = this.productDate ? this.productDate.toISOString() : undefined; + data["usedFlag"] = this.usedFlag; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["ssCode"] = this.ssCode; + data["isSpecial"] = this.isSpecial; + data["checkDiffqty"] = this.checkDiffqty; data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): IcsEquipmentPartCheckDataEditDto { + clone(): IcsReelEditDto { const json = this.toJSON(); - let result = new IcsEquipmentPartCheckDataEditDto(); + let result = new IcsReelEditDto(); result.init(json); return result; } } -export interface IIcsEquipmentPartCheckDataEditDto { +export interface IIcsReelEditDto { + key: string | undefined; id: number | undefined; - /** 设备编码 */ - eqpCode: string | undefined; - /** 点检部件 */ - partId: number; - /** 设备点检项 */ - partCheckItemId: number; - /** 点检日期 */ - checkDate: moment.Moment; - /** 点检结果 Y、N */ - checkResult: string | undefined; - /** 点检结果图片 */ - checkResultImage: string | undefined; - /** 点检描述 */ - checkDesc: string | undefined; - /** 备注 */ + reelNo: string | undefined; + materialCode: string | undefined; + reelQty: number; + usedQty: number; + reelLotNo: string | undefined; + productDate: moment.Moment | undefined; + usedFlag: string | undefined; + moCode: string | undefined; + moSeq: number | undefined; + ssCode: string | undefined; + isSpecial: string | undefined; + checkDiffqty: number | undefined; memo: string | undefined; -} - -export class IcsEquipmentPartCheckDataListDto implements IIcsEquipmentPartCheckDataListDto { - /** 设备编码 */ - eqpCode: string | undefined; - /** 点检部件id */ - partId: number; - /** 设备点检项id */ - partCheckItemId: number; - /** 点检日期 */ - checkDate: moment.Moment; - /** 点检结果 Y、N */ - checkResult: string | undefined; - /** 点检结果图片 */ - checkResultImage: string | undefined; - /** 备注 */ + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; +} + +export class IcsReelListDto implements IIcsReelListDto { + key: string | undefined; + reelNo: string | undefined; + materialCode: string | undefined; + reelQty: number; + usedQty: number; + reelLotNo: string | undefined; + productDate: moment.Moment | undefined; + usedFlag: string | undefined; + moCode: string | undefined; + moSeq: number | undefined; + ssCode: string | undefined; + isSpecial: string | undefined; + checkDiffqty: number | undefined; memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -71296,7 +113465,7 @@ export class IcsEquipmentPartCheckDataListDto implements IIcsEquipmentPartCheckD creatorUserId: string | undefined; id: number; - constructor(data?: IIcsEquipmentPartCheckDataListDto) { + constructor(data?: IIcsReelListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -71307,13 +113476,30 @@ export class IcsEquipmentPartCheckDataListDto implements IIcsEquipmentPartCheckD init(_data?: any) { if (_data) { - this.eqpCode = _data["eqpCode"]; - this.partId = _data["partId"]; - this.partCheckItemId = _data["partCheckItemId"]; - this.checkDate = _data["checkDate"] ? moment(_data["checkDate"].toString()) : undefined; - this.checkResult = _data["checkResult"]; - this.checkResultImage = _data["checkResultImage"]; + this.key = _data["key"]; + this.reelNo = _data["reelNo"]; + this.materialCode = _data["materialCode"]; + this.reelQty = _data["reelQty"]; + this.usedQty = _data["usedQty"]; + this.reelLotNo = _data["reelLotNo"]; + this.productDate = _data["productDate"] ? moment(_data["productDate"].toString()) : undefined; + this.usedFlag = _data["usedFlag"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.ssCode = _data["ssCode"]; + this.isSpecial = _data["isSpecial"]; + this.checkDiffqty = _data["checkDiffqty"]; this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; @@ -71324,22 +113510,39 @@ export class IcsEquipmentPartCheckDataListDto implements IIcsEquipmentPartCheckD } } - static fromJS(data: any): IcsEquipmentPartCheckDataListDto { + static fromJS(data: any): IcsReelListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEquipmentPartCheckDataListDto(); + let result = new IcsReelListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["eqpCode"] = this.eqpCode; - data["partId"] = this.partId; - data["partCheckItemId"] = this.partCheckItemId; - data["checkDate"] = this.checkDate ? this.checkDate.toISOString() : undefined; - data["checkResult"] = this.checkResult; - data["checkResultImage"] = this.checkResultImage; + data["key"] = this.key; + data["reelNo"] = this.reelNo; + data["materialCode"] = this.materialCode; + data["reelQty"] = this.reelQty; + data["usedQty"] = this.usedQty; + data["reelLotNo"] = this.reelLotNo; + data["productDate"] = this.productDate ? this.productDate.toISOString() : undefined; + data["usedFlag"] = this.usedFlag; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["ssCode"] = this.ssCode; + data["isSpecial"] = this.isSpecial; + data["checkDiffqty"] = this.checkDiffqty; data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; @@ -71350,29 +113553,39 @@ export class IcsEquipmentPartCheckDataListDto implements IIcsEquipmentPartCheckD return data; } - clone(): IcsEquipmentPartCheckDataListDto { + clone(): IcsReelListDto { const json = this.toJSON(); - let result = new IcsEquipmentPartCheckDataListDto(); + let result = new IcsReelListDto(); result.init(json); return result; } } -export interface IIcsEquipmentPartCheckDataListDto { - /** 设备编码 */ - eqpCode: string | undefined; - /** 点检部件id */ - partId: number; - /** 设备点检项id */ - partCheckItemId: number; - /** 点检日期 */ - checkDate: moment.Moment; - /** 点检结果 Y、N */ - checkResult: string | undefined; - /** 点检结果图片 */ - checkResultImage: string | undefined; - /** 备注 */ +export interface IIcsReelListDto { + key: string | undefined; + reelNo: string | undefined; + materialCode: string | undefined; + reelQty: number; + usedQty: number; + reelLotNo: string | undefined; + productDate: moment.Moment | undefined; + usedFlag: string | undefined; + moCode: string | undefined; + moSeq: number | undefined; + ssCode: string | undefined; + isSpecial: string | undefined; + checkDiffqty: number | undefined; memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -71382,43 +113595,181 @@ export interface IIcsEquipmentPartCheckDataListDto { id: number; } -export class IcsEquipmentPartCheckInputListDto implements IIcsEquipmentPartCheckInputListDto { - /** 设备编码 */ - eqpId: number; - /** 设备编码 */ +export class IcsResEditDto implements IIcsResEditDto { + id: number | undefined; + resCode: string | undefined; + resName: string | undefined; + resDesc: string | undefined; + resGroup: string | undefined; + resType: string | undefined; + segID: number | undefined; + ssid: number | undefined; + mcid: number | undefined; + shiftTypeID: number | undefined; + dctID: number | undefined; + eqpID: number | undefined; + crewID: number; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; + + constructor(data?: IIcsResEditDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.id = _data["id"]; + this.resCode = _data["resCode"]; + this.resName = _data["resName"]; + this.resDesc = _data["resDesc"]; + this.resGroup = _data["resGroup"]; + this.resType = _data["resType"]; + this.segID = _data["segID"]; + this.ssid = _data["ssid"]; + this.mcid = _data["mcid"]; + this.shiftTypeID = _data["shiftTypeID"]; + this.dctID = _data["dctID"]; + this.eqpID = _data["eqpID"]; + this.crewID = _data["crewID"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.memo = _data["memo"]; + } + } + + static fromJS(data: any): IcsResEditDto { + data = typeof data === 'object' ? data : {}; + let result = new IcsResEditDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["id"] = this.id; + data["resCode"] = this.resCode; + data["resName"] = this.resName; + data["resDesc"] = this.resDesc; + data["resGroup"] = this.resGroup; + data["resType"] = this.resType; + data["segID"] = this.segID; + data["ssid"] = this.ssid; + data["mcid"] = this.mcid; + data["shiftTypeID"] = this.shiftTypeID; + data["dctID"] = this.dctID; + data["eqpID"] = this.eqpID; + data["crewID"] = this.crewID; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["memo"] = this.memo; + return data; + } + + clone(): IcsResEditDto { + const json = this.toJSON(); + let result = new IcsResEditDto(); + result.init(json); + return result; + } +} + +export interface IIcsResEditDto { + id: number | undefined; + resCode: string | undefined; + resName: string | undefined; + resDesc: string | undefined; + resGroup: string | undefined; + resType: string | undefined; + segID: number | undefined; + ssid: number | undefined; + mcid: number | undefined; + shiftTypeID: number | undefined; + dctID: number | undefined; + eqpID: number | undefined; + crewID: number; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; +} + +export class IcsResListDto implements IIcsResListDto { + resCode: string | undefined; + resName: string | undefined; + resDesc: string | undefined; + resGroup: string | undefined; + resType: string | undefined; + resTypeName: string | undefined; + segID: number | undefined; + segCode: string | undefined; + segName: string | undefined; + ssid: number | undefined; + ssName: string | undefined; + ssCode: string | undefined; + mcID: number | undefined; + mcName: string | undefined; + mcCode: string | undefined; + shiftTypeID: number | undefined; + shiftTypeName: string | undefined; + dctID: number | undefined; + dctName: string | undefined; + dctCode: string | undefined; + crewID: number; + crewName: string | undefined; + crewCode: string | undefined; + eqpID: number | undefined; + eqpName: string | undefined; eqpCode: string | undefined; - /** 点检部件id */ - partId: number; - /** 点检部件名称 */ - eqpPartName: string | undefined; - /** 设备点检项id */ - partCheckItemId: number; - /** 点检日期(当前日期) */ - checkDate: string | undefined; - /** 检验内容 */ - checkContent: string | undefined; - /** 检验方法 */ - checkMethod: string | undefined; - /** 检验标准 */ - checkStandard: string | undefined; - /** 检验位置 */ - checkLocation: string | undefined; - /** 检验周期(天,周,月,年) */ - checkPeriod: string | undefined; - /** 检验频率 */ - checkRate: number; - /** 检验示意图 */ - checkImage: string | undefined; - /** 图片路径(前端拼接/File/GetFile?filePath=获取真实路径) */ - checkImagePath: string | undefined; - /** 点检结果 Y、N */ - checkResult: string | undefined; - /** 点检结果图片 */ - checkResultImage: string | undefined; - /** 备注 */ + opCode: string | undefined; + opName: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; memo: string | undefined; - /** 结果结合 */ - resultList: SelectItemExt[] | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -71427,7 +113778,7 @@ export class IcsEquipmentPartCheckInputListDto implements IIcsEquipmentPartCheck creatorUserId: string | undefined; id: number; - constructor(data?: IIcsEquipmentPartCheckInputListDto) { + constructor(data?: IIcsResListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -71438,28 +113789,45 @@ export class IcsEquipmentPartCheckInputListDto implements IIcsEquipmentPartCheck init(_data?: any) { if (_data) { - this.eqpId = _data["eqpId"]; + this.resCode = _data["resCode"]; + this.resName = _data["resName"]; + this.resDesc = _data["resDesc"]; + this.resGroup = _data["resGroup"]; + this.resType = _data["resType"]; + this.resTypeName = _data["resTypeName"]; + this.segID = _data["segID"]; + this.segCode = _data["segCode"]; + this.segName = _data["segName"]; + this.ssid = _data["ssid"]; + this.ssName = _data["ssName"]; + this.ssCode = _data["ssCode"]; + this.mcID = _data["mcID"]; + this.mcName = _data["mcName"]; + this.mcCode = _data["mcCode"]; + this.shiftTypeID = _data["shiftTypeID"]; + this.shiftTypeName = _data["shiftTypeName"]; + this.dctID = _data["dctID"]; + this.dctName = _data["dctName"]; + this.dctCode = _data["dctCode"]; + this.crewID = _data["crewID"]; + this.crewName = _data["crewName"]; + this.crewCode = _data["crewCode"]; + this.eqpID = _data["eqpID"]; + this.eqpName = _data["eqpName"]; this.eqpCode = _data["eqpCode"]; - this.partId = _data["partId"]; - this.eqpPartName = _data["eqpPartName"]; - this.partCheckItemId = _data["partCheckItemId"]; - this.checkDate = _data["checkDate"]; - this.checkContent = _data["checkContent"]; - this.checkMethod = _data["checkMethod"]; - this.checkStandard = _data["checkStandard"]; - this.checkLocation = _data["checkLocation"]; - this.checkPeriod = _data["checkPeriod"]; - this.checkRate = _data["checkRate"]; - this.checkImage = _data["checkImage"]; - this.checkImagePath = _data["checkImagePath"]; - this.checkResult = _data["checkResult"]; - this.checkResultImage = _data["checkResultImage"]; + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; this.memo = _data["memo"]; - if (Array.isArray(_data["resultList"])) { - this.resultList = [] as any; - for (let item of _data["resultList"]) - this.resultList.push(SelectItemExt.fromJS(item)); - } this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; @@ -71470,37 +113838,54 @@ export class IcsEquipmentPartCheckInputListDto implements IIcsEquipmentPartCheck } } - static fromJS(data: any): IcsEquipmentPartCheckInputListDto { + static fromJS(data: any): IcsResListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEquipmentPartCheckInputListDto(); + let result = new IcsResListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["eqpId"] = this.eqpId; + data["resCode"] = this.resCode; + data["resName"] = this.resName; + data["resDesc"] = this.resDesc; + data["resGroup"] = this.resGroup; + data["resType"] = this.resType; + data["resTypeName"] = this.resTypeName; + data["segID"] = this.segID; + data["segCode"] = this.segCode; + data["segName"] = this.segName; + data["ssid"] = this.ssid; + data["ssName"] = this.ssName; + data["ssCode"] = this.ssCode; + data["mcID"] = this.mcID; + data["mcName"] = this.mcName; + data["mcCode"] = this.mcCode; + data["shiftTypeID"] = this.shiftTypeID; + data["shiftTypeName"] = this.shiftTypeName; + data["dctID"] = this.dctID; + data["dctName"] = this.dctName; + data["dctCode"] = this.dctCode; + data["crewID"] = this.crewID; + data["crewName"] = this.crewName; + data["crewCode"] = this.crewCode; + data["eqpID"] = this.eqpID; + data["eqpName"] = this.eqpName; data["eqpCode"] = this.eqpCode; - data["partId"] = this.partId; - data["eqpPartName"] = this.eqpPartName; - data["partCheckItemId"] = this.partCheckItemId; - data["checkDate"] = this.checkDate; - data["checkContent"] = this.checkContent; - data["checkMethod"] = this.checkMethod; - data["checkStandard"] = this.checkStandard; - data["checkLocation"] = this.checkLocation; - data["checkPeriod"] = this.checkPeriod; - data["checkRate"] = this.checkRate; - data["checkImage"] = this.checkImage; - data["checkImagePath"] = this.checkImagePath; - data["checkResult"] = this.checkResult; - data["checkResultImage"] = this.checkResultImage; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; data["memo"] = this.memo; - if (Array.isArray(this.resultList)) { - data["resultList"] = []; - for (let item of this.resultList) - data["resultList"].push(item.toJSON()); - } data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; @@ -71511,51 +113896,54 @@ export class IcsEquipmentPartCheckInputListDto implements IIcsEquipmentPartCheck return data; } - clone(): IcsEquipmentPartCheckInputListDto { + clone(): IcsResListDto { const json = this.toJSON(); - let result = new IcsEquipmentPartCheckInputListDto(); + let result = new IcsResListDto(); result.init(json); return result; } } -export interface IIcsEquipmentPartCheckInputListDto { - /** 设备编码 */ - eqpId: number; - /** 设备编码 */ +export interface IIcsResListDto { + resCode: string | undefined; + resName: string | undefined; + resDesc: string | undefined; + resGroup: string | undefined; + resType: string | undefined; + resTypeName: string | undefined; + segID: number | undefined; + segCode: string | undefined; + segName: string | undefined; + ssid: number | undefined; + ssName: string | undefined; + ssCode: string | undefined; + mcID: number | undefined; + mcName: string | undefined; + mcCode: string | undefined; + shiftTypeID: number | undefined; + shiftTypeName: string | undefined; + dctID: number | undefined; + dctName: string | undefined; + dctCode: string | undefined; + crewID: number; + crewName: string | undefined; + crewCode: string | undefined; + eqpID: number | undefined; + eqpName: string | undefined; eqpCode: string | undefined; - /** 点检部件id */ - partId: number; - /** 点检部件名称 */ - eqpPartName: string | undefined; - /** 设备点检项id */ - partCheckItemId: number; - /** 点检日期(当前日期) */ - checkDate: string | undefined; - /** 检验内容 */ - checkContent: string | undefined; - /** 检验方法 */ - checkMethod: string | undefined; - /** 检验标准 */ - checkStandard: string | undefined; - /** 检验位置 */ - checkLocation: string | undefined; - /** 检验周期(天,周,月,年) */ - checkPeriod: string | undefined; - /** 检验频率 */ - checkRate: number; - /** 检验示意图 */ - checkImage: string | undefined; - /** 图片路径(前端拼接/File/GetFile?filePath=获取真实路径) */ - checkImagePath: string | undefined; - /** 点检结果 Y、N */ - checkResult: string | undefined; - /** 点检结果图片 */ - checkResultImage: string | undefined; - /** 备注 */ + opCode: string | undefined; + opName: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; memo: string | undefined; - /** 结果结合 */ - resultList: SelectItemExt[] | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -71565,34 +113953,34 @@ export interface IIcsEquipmentPartCheckInputListDto { id: number; } -export class IcsEquipmentPartCheckItemEditDto implements IIcsEquipmentPartCheckItemEditDto { +export class IcsRoute2OpDto implements IIcsRoute2OpDto { id: number | undefined; - /** 部件ID */ - eqpPartId: string | undefined; - /** 部件编码 */ - eqpPartCode: string | undefined; - /** 检验序号 */ - checkSeq: number; - /** 检验内容 */ - checkContent: string | undefined; - /** 检验方法 */ - checkMethod: string | undefined; - /** 检验标准 */ - checkStandard: string | undefined; - /** 检验位置 */ - checkLocation: string | undefined; - /** 检验周期(天,周,月,年) */ - checkPeriod: string | undefined; - /** 检验频率 */ - checkRate: number; - /** 检验示意图 */ - checkImage: string | undefined; - /** 检验描述 */ - checkDesc: string | undefined; - /** 备注 */ + routeId: number; + opId: number; + routeCode: string; + opName: string | undefined; + opCode: string; + opSeq: number; + isMaterial: string; + opControlSeq: number; + isMerge: string; + opLevel: string; memo: string | undefined; + tenantId: string; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + opControl: string | undefined; + opControlList: string[] | undefined; - constructor(data?: IIcsEquipmentPartCheckItemEditDto) { + constructor(data?: IIcsRoute2OpDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -71604,24 +113992,40 @@ export class IcsEquipmentPartCheckItemEditDto implements IIcsEquipmentPartCheckI init(_data?: any) { if (_data) { this.id = _data["id"]; - this.eqpPartId = _data["eqpPartId"]; - this.eqpPartCode = _data["eqpPartCode"]; - this.checkSeq = _data["checkSeq"]; - this.checkContent = _data["checkContent"]; - this.checkMethod = _data["checkMethod"]; - this.checkStandard = _data["checkStandard"]; - this.checkLocation = _data["checkLocation"]; - this.checkPeriod = _data["checkPeriod"]; - this.checkRate = _data["checkRate"]; - this.checkImage = _data["checkImage"]; - this.checkDesc = _data["checkDesc"]; + this.routeId = _data["routeId"]; + this.opId = _data["opId"]; + this.routeCode = _data["routeCode"]; + this.opName = _data["opName"]; + this.opCode = _data["opCode"]; + this.opSeq = _data["opSeq"]; + this.isMaterial = _data["isMaterial"]; + this.opControlSeq = _data["opControlSeq"]; + this.isMerge = _data["isMerge"]; + this.opLevel = _data["opLevel"]; this.memo = _data["memo"]; + this.tenantId = _data["tenantId"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.opControl = _data["opControl"]; + if (Array.isArray(_data["opControlList"])) { + this.opControlList = [] as any; + for (let item of _data["opControlList"]) + this.opControlList.push(item); + } } } - static fromJS(data: any): IcsEquipmentPartCheckItemEditDto { + static fromJS(data: any): IcsRoute2OpDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEquipmentPartCheckItemEditDto(); + let result = new IcsRoute2OpDto(); result.init(data); return result; } @@ -71629,93 +114033,89 @@ export class IcsEquipmentPartCheckItemEditDto implements IIcsEquipmentPartCheckI toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["id"] = this.id; - data["eqpPartId"] = this.eqpPartId; - data["eqpPartCode"] = this.eqpPartCode; - data["checkSeq"] = this.checkSeq; - data["checkContent"] = this.checkContent; - data["checkMethod"] = this.checkMethod; - data["checkStandard"] = this.checkStandard; - data["checkLocation"] = this.checkLocation; - data["checkPeriod"] = this.checkPeriod; - data["checkRate"] = this.checkRate; - data["checkImage"] = this.checkImage; - data["checkDesc"] = this.checkDesc; + data["routeId"] = this.routeId; + data["opId"] = this.opId; + data["routeCode"] = this.routeCode; + data["opName"] = this.opName; + data["opCode"] = this.opCode; + data["opSeq"] = this.opSeq; + data["isMaterial"] = this.isMaterial; + data["opControlSeq"] = this.opControlSeq; + data["isMerge"] = this.isMerge; + data["opLevel"] = this.opLevel; data["memo"] = this.memo; + data["tenantId"] = this.tenantId; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["opControl"] = this.opControl; + if (Array.isArray(this.opControlList)) { + data["opControlList"] = []; + for (let item of this.opControlList) + data["opControlList"].push(item); + } return data; } - clone(): IcsEquipmentPartCheckItemEditDto { + clone(): IcsRoute2OpDto { const json = this.toJSON(); - let result = new IcsEquipmentPartCheckItemEditDto(); + let result = new IcsRoute2OpDto(); result.init(json); return result; } } -export interface IIcsEquipmentPartCheckItemEditDto { +export interface IIcsRoute2OpDto { id: number | undefined; - /** 部件ID */ - eqpPartId: string | undefined; - /** 部件编码 */ - eqpPartCode: string | undefined; - /** 检验序号 */ - checkSeq: number; - /** 检验内容 */ - checkContent: string | undefined; - /** 检验方法 */ - checkMethod: string | undefined; - /** 检验标准 */ - checkStandard: string | undefined; - /** 检验位置 */ - checkLocation: string | undefined; - /** 检验周期(天,周,月,年) */ - checkPeriod: string | undefined; - /** 检验频率 */ - checkRate: number; - /** 检验示意图 */ - checkImage: string | undefined; - /** 检验描述 */ - checkDesc: string | undefined; - /** 备注 */ + routeId: number; + opId: number; + routeCode: string; + opName: string | undefined; + opCode: string; + opSeq: number; + isMaterial: string; + opControlSeq: number; + isMerge: string; + opLevel: string; memo: string | undefined; + tenantId: string; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + opControl: string | undefined; + opControlList: string[] | undefined; } -export class IcsEquipmentPartCheckItemListDto implements IIcsEquipmentPartCheckItemListDto { - /** 部件ID */ - eqpPartId: string | undefined; - /** 部件编码 */ - eqpPartCode: string | undefined; - /** 检验序号 */ - checkSeq: number; - /** 检验内容 */ - checkContent: string | undefined; - /** 检验方法 */ - checkMethod: string | undefined; - /** 检验标准 */ - checkStandard: string | undefined; - /** 检验位置 */ - checkLocation: string | undefined; - /** 检验周期(天,周,月,年) */ - checkPeriod: string | undefined; - /** 检验频率 */ - checkRate: number; - /** 检验示意图 */ - checkImage: string | undefined; - /** 检验描述 */ - checkDesc: string | undefined; - /** 备注 */ +export class IcsRouteEditDto implements IIcsRouteEditDto { + id: number | undefined; + routeCode: string | undefined; + routeName: string | undefined; + routeDesc: string | undefined; + opList: IcsOPListDto[] | undefined; + routeType: string | undefined; + effDate: moment.Moment; + ivlDate: moment.Moment; + enabled: string | undefined; memo: string | undefined; - /** 图片路径(前端拼接/File/GetFile?filePath=获取真实路径) */ - imagePath: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; + checkUserId: string | undefined; + checkUserName: string | undefined; + checkTime: moment.Moment | undefined; - constructor(data?: IIcsEquipmentPartCheckItemListDto) { + constructor(data?: IIcsRouteEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -71726,125 +114126,91 @@ export class IcsEquipmentPartCheckItemListDto implements IIcsEquipmentPartCheckI init(_data?: any) { if (_data) { - this.eqpPartId = _data["eqpPartId"]; - this.eqpPartCode = _data["eqpPartCode"]; - this.checkSeq = _data["checkSeq"]; - this.checkContent = _data["checkContent"]; - this.checkMethod = _data["checkMethod"]; - this.checkStandard = _data["checkStandard"]; - this.checkLocation = _data["checkLocation"]; - this.checkPeriod = _data["checkPeriod"]; - this.checkRate = _data["checkRate"]; - this.checkImage = _data["checkImage"]; - this.checkDesc = _data["checkDesc"]; - this.memo = _data["memo"]; - this.imagePath = _data["imagePath"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; this.id = _data["id"]; + this.routeCode = _data["routeCode"]; + this.routeName = _data["routeName"]; + this.routeDesc = _data["routeDesc"]; + if (Array.isArray(_data["opList"])) { + this.opList = [] as any; + for (let item of _data["opList"]) + this.opList.push(IcsOPListDto.fromJS(item)); + } + this.routeType = _data["routeType"]; + this.effDate = _data["effDate"] ? moment(_data["effDate"].toString()) : undefined; + this.ivlDate = _data["ivlDate"] ? moment(_data["ivlDate"].toString()) : undefined; + this.enabled = _data["enabled"]; + this.memo = _data["memo"]; + this.checkUserId = _data["checkUserId"]; + this.checkUserName = _data["checkUserName"]; + this.checkTime = _data["checkTime"] ? moment(_data["checkTime"].toString()) : undefined; } } - static fromJS(data: any): IcsEquipmentPartCheckItemListDto { + static fromJS(data: any): IcsRouteEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEquipmentPartCheckItemListDto(); + let result = new IcsRouteEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["eqpPartId"] = this.eqpPartId; - data["eqpPartCode"] = this.eqpPartCode; - data["checkSeq"] = this.checkSeq; - data["checkContent"] = this.checkContent; - data["checkMethod"] = this.checkMethod; - data["checkStandard"] = this.checkStandard; - data["checkLocation"] = this.checkLocation; - data["checkPeriod"] = this.checkPeriod; - data["checkRate"] = this.checkRate; - data["checkImage"] = this.checkImage; - data["checkDesc"] = this.checkDesc; - data["memo"] = this.memo; - data["imagePath"] = this.imagePath; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; data["id"] = this.id; + data["routeCode"] = this.routeCode; + data["routeName"] = this.routeName; + data["routeDesc"] = this.routeDesc; + if (Array.isArray(this.opList)) { + data["opList"] = []; + for (let item of this.opList) + data["opList"].push(item.toJSON()); + } + data["routeType"] = this.routeType; + data["effDate"] = this.effDate ? this.effDate.toISOString() : undefined; + data["ivlDate"] = this.ivlDate ? this.ivlDate.toISOString() : undefined; + data["enabled"] = this.enabled; + data["memo"] = this.memo; + data["checkUserId"] = this.checkUserId; + data["checkUserName"] = this.checkUserName; + data["checkTime"] = this.checkTime ? this.checkTime.toISOString() : undefined; return data; } - clone(): IcsEquipmentPartCheckItemListDto { + clone(): IcsRouteEditDto { const json = this.toJSON(); - let result = new IcsEquipmentPartCheckItemListDto(); + let result = new IcsRouteEditDto(); result.init(json); return result; } } -export interface IIcsEquipmentPartCheckItemListDto { - /** 部件ID */ - eqpPartId: string | undefined; - /** 部件编码 */ - eqpPartCode: string | undefined; - /** 检验序号 */ - checkSeq: number; - /** 检验内容 */ - checkContent: string | undefined; - /** 检验方法 */ - checkMethod: string | undefined; - /** 检验标准 */ - checkStandard: string | undefined; - /** 检验位置 */ - checkLocation: string | undefined; - /** 检验周期(天,周,月,年) */ - checkPeriod: string | undefined; - /** 检验频率 */ - checkRate: number; - /** 检验示意图 */ - checkImage: string | undefined; - /** 检验描述 */ - checkDesc: string | undefined; - /** 备注 */ +export interface IIcsRouteEditDto { + id: number | undefined; + routeCode: string | undefined; + routeName: string | undefined; + routeDesc: string | undefined; + opList: IcsOPListDto[] | undefined; + routeType: string | undefined; + effDate: moment.Moment; + ivlDate: moment.Moment; + enabled: string | undefined; memo: string | undefined; - /** 图片路径(前端拼接/File/GetFile?filePath=获取真实路径) */ - imagePath: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; + checkUserId: string | undefined; + checkUserName: string | undefined; + checkTime: moment.Moment | undefined; } -export class IcsEquipmentPartsEditDto implements IIcsEquipmentPartsEditDto { - id: number | undefined; - /** 设备类型 */ - eqpType: string | undefined; - /** 设备型号 */ - eqpModel: string | undefined; - /** 部件序号 */ - eqpPartSeq: string | undefined; - /** 部件名称 */ - eqpPartName: string | undefined; - /** 部件编码 */ - eqpPartCode: string | undefined; - /** 部件图片 */ - eqpPartImage: string | undefined; - /** 部件描述 */ - eqpPartDesc: string | undefined; - /** 备注 */ +export class IcsRouteImportDto implements IIcsRouteImportDto { + routeCode: string; + routeName: string; + routeDesc: string | undefined; + routeType: string | undefined; + opList: string | undefined; + effDate: string | undefined; + ivlDate: string | undefined; + enabled: string | undefined; memo: string | undefined; - constructor(data?: IIcsEquipmentPartsEditDto) { + constructor(data?: IIcsRouteImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -71855,86 +114221,73 @@ export class IcsEquipmentPartsEditDto implements IIcsEquipmentPartsEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.eqpType = _data["eqpType"]; - this.eqpModel = _data["eqpModel"]; - this.eqpPartSeq = _data["eqpPartSeq"]; - this.eqpPartName = _data["eqpPartName"]; - this.eqpPartCode = _data["eqpPartCode"]; - this.eqpPartImage = _data["eqpPartImage"]; - this.eqpPartDesc = _data["eqpPartDesc"]; + this.routeCode = _data["routeCode"]; + this.routeName = _data["routeName"]; + this.routeDesc = _data["routeDesc"]; + this.routeType = _data["routeType"]; + this.opList = _data["opList"]; + this.effDate = _data["effDate"]; + this.ivlDate = _data["ivlDate"]; + this.enabled = _data["enabled"]; this.memo = _data["memo"]; } } - static fromJS(data: any): IcsEquipmentPartsEditDto { + static fromJS(data: any): IcsRouteImportDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEquipmentPartsEditDto(); + let result = new IcsRouteImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["eqpType"] = this.eqpType; - data["eqpModel"] = this.eqpModel; - data["eqpPartSeq"] = this.eqpPartSeq; - data["eqpPartName"] = this.eqpPartName; - data["eqpPartCode"] = this.eqpPartCode; - data["eqpPartImage"] = this.eqpPartImage; - data["eqpPartDesc"] = this.eqpPartDesc; + data["routeCode"] = this.routeCode; + data["routeName"] = this.routeName; + data["routeDesc"] = this.routeDesc; + data["routeType"] = this.routeType; + data["opList"] = this.opList; + data["effDate"] = this.effDate; + data["ivlDate"] = this.ivlDate; + data["enabled"] = this.enabled; data["memo"] = this.memo; return data; } - clone(): IcsEquipmentPartsEditDto { + clone(): IcsRouteImportDto { const json = this.toJSON(); - let result = new IcsEquipmentPartsEditDto(); + let result = new IcsRouteImportDto(); result.init(json); return result; } } -export interface IIcsEquipmentPartsEditDto { - id: number | undefined; - /** 设备类型 */ - eqpType: string | undefined; - /** 设备型号 */ - eqpModel: string | undefined; - /** 部件序号 */ - eqpPartSeq: string | undefined; - /** 部件名称 */ - eqpPartName: string | undefined; - /** 部件编码 */ - eqpPartCode: string | undefined; - /** 部件图片 */ - eqpPartImage: string | undefined; - /** 部件描述 */ - eqpPartDesc: string | undefined; - /** 备注 */ +export interface IIcsRouteImportDto { + routeCode: string; + routeName: string; + routeDesc: string | undefined; + routeType: string | undefined; + opList: string | undefined; + effDate: string | undefined; + ivlDate: string | undefined; + enabled: string | undefined; memo: string | undefined; } -export class IcsEquipmentPartsListDto implements IIcsEquipmentPartsListDto { - /** 设备类型 */ - eqpType: string | undefined; - /** 设备型号 */ - eqpModel: string | undefined; - /** 部件序号 */ - eqpPartSeq: string | undefined; - /** 部件名称 */ - eqpPartName: string | undefined; - /** 部件编码 */ - eqpPartCode: string | undefined; - /** 部件图片 */ - eqpPartImage: string | undefined; - /** 部件描述 */ - eqpPartDesc: string | undefined; - /** 备注 */ +export class IcsRouteListDto implements IIcsRouteListDto { + routeCode: string | undefined; + routeName: string | undefined; + routeDesc: string | undefined; + routeType: string; + effDate: moment.Moment; + ivlDate: moment.Moment; + enabled: string | undefined; + opNameList: string | undefined; + opIds: number[] | undefined; memo: string | undefined; - /** 图片路径(前端拼接/File/GetFile?filePath=获取真实路径) */ - imagePath: string | undefined; + checkUserId: string | undefined; + checkUserName: string | undefined; + checkTime: moment.Moment | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -71943,7 +114296,7 @@ export class IcsEquipmentPartsListDto implements IIcsEquipmentPartsListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsEquipmentPartsListDto) { + constructor(data?: IIcsRouteListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -71954,15 +114307,23 @@ export class IcsEquipmentPartsListDto implements IIcsEquipmentPartsListDto { init(_data?: any) { if (_data) { - this.eqpType = _data["eqpType"]; - this.eqpModel = _data["eqpModel"]; - this.eqpPartSeq = _data["eqpPartSeq"]; - this.eqpPartName = _data["eqpPartName"]; - this.eqpPartCode = _data["eqpPartCode"]; - this.eqpPartImage = _data["eqpPartImage"]; - this.eqpPartDesc = _data["eqpPartDesc"]; + this.routeCode = _data["routeCode"]; + this.routeName = _data["routeName"]; + this.routeDesc = _data["routeDesc"]; + this.routeType = _data["routeType"]; + this.effDate = _data["effDate"] ? moment(_data["effDate"].toString()) : undefined; + this.ivlDate = _data["ivlDate"] ? moment(_data["ivlDate"].toString()) : undefined; + this.enabled = _data["enabled"]; + this.opNameList = _data["opNameList"]; + if (Array.isArray(_data["opIds"])) { + this.opIds = [] as any; + for (let item of _data["opIds"]) + this.opIds.push(item); + } this.memo = _data["memo"]; - this.imagePath = _data["imagePath"]; + this.checkUserId = _data["checkUserId"]; + this.checkUserName = _data["checkUserName"]; + this.checkTime = _data["checkTime"] ? moment(_data["checkTime"].toString()) : undefined; this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; @@ -71973,24 +114334,32 @@ export class IcsEquipmentPartsListDto implements IIcsEquipmentPartsListDto { } } - static fromJS(data: any): IcsEquipmentPartsListDto { + static fromJS(data: any): IcsRouteListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEquipmentPartsListDto(); + let result = new IcsRouteListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["eqpType"] = this.eqpType; - data["eqpModel"] = this.eqpModel; - data["eqpPartSeq"] = this.eqpPartSeq; - data["eqpPartName"] = this.eqpPartName; - data["eqpPartCode"] = this.eqpPartCode; - data["eqpPartImage"] = this.eqpPartImage; - data["eqpPartDesc"] = this.eqpPartDesc; + data["routeCode"] = this.routeCode; + data["routeName"] = this.routeName; + data["routeDesc"] = this.routeDesc; + data["routeType"] = this.routeType; + data["effDate"] = this.effDate ? this.effDate.toISOString() : undefined; + data["ivlDate"] = this.ivlDate ? this.ivlDate.toISOString() : undefined; + data["enabled"] = this.enabled; + data["opNameList"] = this.opNameList; + if (Array.isArray(this.opIds)) { + data["opIds"] = []; + for (let item of this.opIds) + data["opIds"].push(item); + } data["memo"] = this.memo; - data["imagePath"] = this.imagePath; + data["checkUserId"] = this.checkUserId; + data["checkUserName"] = this.checkUserName; + data["checkTime"] = this.checkTime ? this.checkTime.toISOString() : undefined; data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; @@ -72001,33 +114370,28 @@ export class IcsEquipmentPartsListDto implements IIcsEquipmentPartsListDto { return data; } - clone(): IcsEquipmentPartsListDto { + clone(): IcsRouteListDto { const json = this.toJSON(); - let result = new IcsEquipmentPartsListDto(); + let result = new IcsRouteListDto(); result.init(json); return result; } } -export interface IIcsEquipmentPartsListDto { - /** 设备类型 */ - eqpType: string | undefined; - /** 设备型号 */ - eqpModel: string | undefined; - /** 部件序号 */ - eqpPartSeq: string | undefined; - /** 部件名称 */ - eqpPartName: string | undefined; - /** 部件编码 */ - eqpPartCode: string | undefined; - /** 部件图片 */ - eqpPartImage: string | undefined; - /** 部件描述 */ - eqpPartDesc: string | undefined; - /** 备注 */ +export interface IIcsRouteListDto { + routeCode: string | undefined; + routeName: string | undefined; + routeDesc: string | undefined; + routeType: string; + effDate: moment.Moment; + ivlDate: moment.Moment; + enabled: string | undefined; + opNameList: string | undefined; + opIds: number[] | undefined; memo: string | undefined; - /** 图片路径(前端拼接/File/GetFile?filePath=获取真实路径) */ - imagePath: string | undefined; + checkUserId: string | undefined; + checkUserName: string | undefined; + checkTime: moment.Moment | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -72037,38 +114401,50 @@ export interface IIcsEquipmentPartsListDto { id: number; } -export class IcsEquipmentTSEditDto implements IIcsEquipmentTSEditDto { +export class IcsSBomEditDto implements IIcsSBomEditDto { id: number | undefined; - /** 设备ID */ - eqpId: string | undefined; - /** 设备编码 */ - eqpCode: string | undefined; - /** 报修人Id */ - findUserId: string | undefined; - /** 报修人 */ - findUserName: string | undefined; - /** 报修时间 */ - findTime: moment.Moment | undefined; - /** 故障现象 */ - tsInfo: string | undefined; - /** 故障原因 */ - tsReason: string | undefined; - /** 维修措施 */ - tsSolution: string | undefined; - /** 维修结果 */ - tsResult: string | undefined; - /** 维修类型 */ - tsType: string | undefined; - /** 维修描述 */ - tsDesc: string | undefined; - /** 状态 */ - tsStatus: string | undefined; - /** 维修时长(分钟) */ - duration: number | undefined; - /** 备注 */ + itemID: number; + sbItemID: number; + sbsItemID: number; + itemCode: string | undefined; + sbItemCode: string | undefined; + sbsItemCode: string | undefined; + sbItemQty: number; + sbwh: string | undefined; + seq: number | undefined; + sbItemECN: string | undefined; + sbItemName: string | undefined; + sbItemDesc: string | undefined; + sbItemStatus: string | undefined; + sbItemLocation: string | undefined; + sbItemEfftime: moment.Moment; + sbItemInvtime: moment.Moment; + sbItemUom: string | undefined; + sbItemVer: string | undefined; + sbItemContype: string | undefined; + sbpItemCode: string | undefined; + alpgr: string | undefined; + sBomVer: string | undefined; + itemDesc: string | undefined; + sbFactory: string | undefined; + sbUseage: string | undefined; + sbItemProject: string | undefined; + sbItemSeq: number; + location: string | undefined; memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + detailList: IcsSBomListDto[] | undefined; - constructor(data?: IIcsEquipmentTSEditDto) { + constructor(data?: IIcsSBomEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -72080,26 +114456,56 @@ export class IcsEquipmentTSEditDto implements IIcsEquipmentTSEditDto { init(_data?: any) { if (_data) { this.id = _data["id"]; - this.eqpId = _data["eqpId"]; - this.eqpCode = _data["eqpCode"]; - this.findUserId = _data["findUserId"]; - this.findUserName = _data["findUserName"]; - this.findTime = _data["findTime"] ? moment(_data["findTime"].toString()) : undefined; - this.tsInfo = _data["tsInfo"]; - this.tsReason = _data["tsReason"]; - this.tsSolution = _data["tsSolution"]; - this.tsResult = _data["tsResult"]; - this.tsType = _data["tsType"]; - this.tsDesc = _data["tsDesc"]; - this.tsStatus = _data["tsStatus"]; - this.duration = _data["duration"]; + this.itemID = _data["itemID"]; + this.sbItemID = _data["sbItemID"]; + this.sbsItemID = _data["sbsItemID"]; + this.itemCode = _data["itemCode"]; + this.sbItemCode = _data["sbItemCode"]; + this.sbsItemCode = _data["sbsItemCode"]; + this.sbItemQty = _data["sbItemQty"]; + this.sbwh = _data["sbwh"]; + this.seq = _data["seq"]; + this.sbItemECN = _data["sbItemECN"]; + this.sbItemName = _data["sbItemName"]; + this.sbItemDesc = _data["sbItemDesc"]; + this.sbItemStatus = _data["sbItemStatus"]; + this.sbItemLocation = _data["sbItemLocation"]; + this.sbItemEfftime = _data["sbItemEfftime"] ? moment(_data["sbItemEfftime"].toString()) : undefined; + this.sbItemInvtime = _data["sbItemInvtime"] ? moment(_data["sbItemInvtime"].toString()) : undefined; + this.sbItemUom = _data["sbItemUom"]; + this.sbItemVer = _data["sbItemVer"]; + this.sbItemContype = _data["sbItemContype"]; + this.sbpItemCode = _data["sbpItemCode"]; + this.alpgr = _data["alpgr"]; + this.sBomVer = _data["sBomVer"]; + this.itemDesc = _data["itemDesc"]; + this.sbFactory = _data["sbFactory"]; + this.sbUseage = _data["sbUseage"]; + this.sbItemProject = _data["sbItemProject"]; + this.sbItemSeq = _data["sbItemSeq"]; + this.location = _data["location"]; this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + if (Array.isArray(_data["detailList"])) { + this.detailList = [] as any; + for (let item of _data["detailList"]) + this.detailList.push(IcsSBomListDto.fromJS(item)); + } } } - static fromJS(data: any): IcsEquipmentTSEditDto { + static fromJS(data: any): IcsSBomEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEquipmentTSEditDto(); + let result = new IcsSBomEditDto(); result.init(data); return result; } @@ -72107,104 +114513,160 @@ export class IcsEquipmentTSEditDto implements IIcsEquipmentTSEditDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["id"] = this.id; - data["eqpId"] = this.eqpId; - data["eqpCode"] = this.eqpCode; - data["findUserId"] = this.findUserId; - data["findUserName"] = this.findUserName; - data["findTime"] = this.findTime ? this.findTime.toISOString() : undefined; - data["tsInfo"] = this.tsInfo; - data["tsReason"] = this.tsReason; - data["tsSolution"] = this.tsSolution; - data["tsResult"] = this.tsResult; - data["tsType"] = this.tsType; - data["tsDesc"] = this.tsDesc; - data["tsStatus"] = this.tsStatus; - data["duration"] = this.duration; + data["itemID"] = this.itemID; + data["sbItemID"] = this.sbItemID; + data["sbsItemID"] = this.sbsItemID; + data["itemCode"] = this.itemCode; + data["sbItemCode"] = this.sbItemCode; + data["sbsItemCode"] = this.sbsItemCode; + data["sbItemQty"] = this.sbItemQty; + data["sbwh"] = this.sbwh; + data["seq"] = this.seq; + data["sbItemECN"] = this.sbItemECN; + data["sbItemName"] = this.sbItemName; + data["sbItemDesc"] = this.sbItemDesc; + data["sbItemStatus"] = this.sbItemStatus; + data["sbItemLocation"] = this.sbItemLocation; + data["sbItemEfftime"] = this.sbItemEfftime ? this.sbItemEfftime.toISOString() : undefined; + data["sbItemInvtime"] = this.sbItemInvtime ? this.sbItemInvtime.toISOString() : undefined; + data["sbItemUom"] = this.sbItemUom; + data["sbItemVer"] = this.sbItemVer; + data["sbItemContype"] = this.sbItemContype; + data["sbpItemCode"] = this.sbpItemCode; + data["alpgr"] = this.alpgr; + data["sBomVer"] = this.sBomVer; + data["itemDesc"] = this.itemDesc; + data["sbFactory"] = this.sbFactory; + data["sbUseage"] = this.sbUseage; + data["sbItemProject"] = this.sbItemProject; + data["sbItemSeq"] = this.sbItemSeq; + data["location"] = this.location; data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + if (Array.isArray(this.detailList)) { + data["detailList"] = []; + for (let item of this.detailList) + data["detailList"].push(item.toJSON()); + } return data; } - clone(): IcsEquipmentTSEditDto { + clone(): IcsSBomEditDto { const json = this.toJSON(); - let result = new IcsEquipmentTSEditDto(); + let result = new IcsSBomEditDto(); result.init(json); return result; } } -export interface IIcsEquipmentTSEditDto { +export interface IIcsSBomEditDto { id: number | undefined; - /** 设备ID */ - eqpId: string | undefined; - /** 设备编码 */ - eqpCode: string | undefined; - /** 报修人Id */ - findUserId: string | undefined; - /** 报修人 */ - findUserName: string | undefined; - /** 报修时间 */ - findTime: moment.Moment | undefined; - /** 故障现象 */ - tsInfo: string | undefined; - /** 故障原因 */ - tsReason: string | undefined; - /** 维修措施 */ - tsSolution: string | undefined; - /** 维修结果 */ - tsResult: string | undefined; - /** 维修类型 */ - tsType: string | undefined; - /** 维修描述 */ - tsDesc: string | undefined; - /** 状态 */ - tsStatus: string | undefined; - /** 维修时长(分钟) */ - duration: number | undefined; - /** 备注 */ + itemID: number; + sbItemID: number; + sbsItemID: number; + itemCode: string | undefined; + sbItemCode: string | undefined; + sbsItemCode: string | undefined; + sbItemQty: number; + sbwh: string | undefined; + seq: number | undefined; + sbItemECN: string | undefined; + sbItemName: string | undefined; + sbItemDesc: string | undefined; + sbItemStatus: string | undefined; + sbItemLocation: string | undefined; + sbItemEfftime: moment.Moment; + sbItemInvtime: moment.Moment; + sbItemUom: string | undefined; + sbItemVer: string | undefined; + sbItemContype: string | undefined; + sbpItemCode: string | undefined; + alpgr: string | undefined; + sBomVer: string | undefined; + itemDesc: string | undefined; + sbFactory: string | undefined; + sbUseage: string | undefined; + sbItemProject: string | undefined; + sbItemSeq: number; + location: string | undefined; memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + detailList: IcsSBomListDto[] | undefined; } -export class IcsEquipmentTSListDto implements IIcsEquipmentTSListDto { - /** 设备ID */ - eqpId: string | undefined; - /** 设备编码 */ - eqpCode: string | undefined; - /** 报修人Id */ - findUserId: string | undefined; - /** 报修人 */ - findUserName: string | undefined; - /** 报修时间 */ - findTime: moment.Moment; - /** 故障现象 */ - tsInfo: string | undefined; - /** 故障原因 */ - tsReason: string | undefined; - /** 维修措施 */ - tsSolution: string | undefined; - /** 维修结果 */ - tsResult: string | undefined; - /** 维修类型 */ - tsType: string | undefined; - /** 维修描述 */ - tsDesc: string | undefined; - /** 状态 */ - tsStatus: string | undefined; - /** 状态文本 */ - tsStatusTitle: string | undefined; - /** 维修时长 */ - duration: number | undefined; - /** 维修时长(分钟) */ - durationTime: string | undefined; - /** 备注 */ +export class IcsSBomListDto implements IIcsSBomListDto { + key: string | undefined; + itemID: number; + sbItemID: number; + sbsItemID: number; + mainTableInfo: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemStd: string | undefined; + itemUnit1: string | undefined; + itemUnit2: string | undefined; + itemUnit3: string | undefined; + itemType: string | undefined; + itemTypeText: string | undefined; + itemModel: string | undefined; + itemUom: string | undefined; + sbItemCode: string | undefined; + sbsItemCode: string | undefined; + sbsItemName: string | undefined; + sbItemQty: number; + sbwh: string | undefined; + seq: number | undefined; + sbItemECN: string | undefined; + sbItemName: string | undefined; + sbItemDesc: string | undefined; + sbItemStatus: string | undefined; + sbItemStatusText: string | undefined; + sbItemLocation: string | undefined; + sbItemEfftime: moment.Moment; + sbItemInvtime: moment.Moment; + sbItemUom: string | undefined; + sbItemVer: string | undefined; + sbItemContype: string | undefined; + sbItemContypeText: string | undefined; + sbpItemCode: string | undefined; + alpgr: string | undefined; + sBomVer: string | undefined; + itemDesc: string | undefined; + sbFactory: string | undefined; + sbUseage: string | undefined; + sbItemProject: string | undefined; + sbItemSeq: number; + location: string | undefined; memo: string | undefined; - /** 维修完成时间 */ - tsTime: moment.Moment | undefined; - /** 维修人 */ - tsUserName: string | undefined; - /** 确认人 */ - conformUserName: string | undefined; - /** 确认时间 */ - conformTime: moment.Moment | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + detailList: IcsSBomListDto[] | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -72213,7 +114675,7 @@ export class IcsEquipmentTSListDto implements IIcsEquipmentTSListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsEquipmentTSListDto) { + constructor(data?: IIcsSBomListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -72224,26 +114686,64 @@ export class IcsEquipmentTSListDto implements IIcsEquipmentTSListDto { init(_data?: any) { if (_data) { - this.eqpId = _data["eqpId"]; - this.eqpCode = _data["eqpCode"]; - this.findUserId = _data["findUserId"]; - this.findUserName = _data["findUserName"]; - this.findTime = _data["findTime"] ? moment(_data["findTime"].toString()) : undefined; - this.tsInfo = _data["tsInfo"]; - this.tsReason = _data["tsReason"]; - this.tsSolution = _data["tsSolution"]; - this.tsResult = _data["tsResult"]; - this.tsType = _data["tsType"]; - this.tsDesc = _data["tsDesc"]; - this.tsStatus = _data["tsStatus"]; - this.tsStatusTitle = _data["tsStatusTitle"]; - this.duration = _data["duration"]; - this.durationTime = _data["durationTime"]; + this.key = _data["key"]; + this.itemID = _data["itemID"]; + this.sbItemID = _data["sbItemID"]; + this.sbsItemID = _data["sbsItemID"]; + this.mainTableInfo = _data["mainTableInfo"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.itemStd = _data["itemStd"]; + this.itemUnit1 = _data["itemUnit1"]; + this.itemUnit2 = _data["itemUnit2"]; + this.itemUnit3 = _data["itemUnit3"]; + this.itemType = _data["itemType"]; + this.itemTypeText = _data["itemTypeText"]; + this.itemModel = _data["itemModel"]; + this.itemUom = _data["itemUom"]; + this.sbItemCode = _data["sbItemCode"]; + this.sbsItemCode = _data["sbsItemCode"]; + this.sbsItemName = _data["sbsItemName"]; + this.sbItemQty = _data["sbItemQty"]; + this.sbwh = _data["sbwh"]; + this.seq = _data["seq"]; + this.sbItemECN = _data["sbItemECN"]; + this.sbItemName = _data["sbItemName"]; + this.sbItemDesc = _data["sbItemDesc"]; + this.sbItemStatus = _data["sbItemStatus"]; + this.sbItemStatusText = _data["sbItemStatusText"]; + this.sbItemLocation = _data["sbItemLocation"]; + this.sbItemEfftime = _data["sbItemEfftime"] ? moment(_data["sbItemEfftime"].toString()) : undefined; + this.sbItemInvtime = _data["sbItemInvtime"] ? moment(_data["sbItemInvtime"].toString()) : undefined; + this.sbItemUom = _data["sbItemUom"]; + this.sbItemVer = _data["sbItemVer"]; + this.sbItemContype = _data["sbItemContype"]; + this.sbItemContypeText = _data["sbItemContypeText"]; + this.sbpItemCode = _data["sbpItemCode"]; + this.alpgr = _data["alpgr"]; + this.sBomVer = _data["sBomVer"]; + this.itemDesc = _data["itemDesc"]; + this.sbFactory = _data["sbFactory"]; + this.sbUseage = _data["sbUseage"]; + this.sbItemProject = _data["sbItemProject"]; + this.sbItemSeq = _data["sbItemSeq"]; + this.location = _data["location"]; this.memo = _data["memo"]; - this.tsTime = _data["tsTime"] ? moment(_data["tsTime"].toString()) : undefined; - this.tsUserName = _data["tsUserName"]; - this.conformUserName = _data["conformUserName"]; - this.conformTime = _data["conformTime"] ? moment(_data["conformTime"].toString()) : undefined; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + if (Array.isArray(_data["detailList"])) { + this.detailList = [] as any; + for (let item of _data["detailList"]) + this.detailList.push(IcsSBomListDto.fromJS(item)); + } this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; @@ -72254,35 +114754,73 @@ export class IcsEquipmentTSListDto implements IIcsEquipmentTSListDto { } } - static fromJS(data: any): IcsEquipmentTSListDto { + static fromJS(data: any): IcsSBomListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsEquipmentTSListDto(); + let result = new IcsSBomListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["eqpId"] = this.eqpId; - data["eqpCode"] = this.eqpCode; - data["findUserId"] = this.findUserId; - data["findUserName"] = this.findUserName; - data["findTime"] = this.findTime ? this.findTime.toISOString() : undefined; - data["tsInfo"] = this.tsInfo; - data["tsReason"] = this.tsReason; - data["tsSolution"] = this.tsSolution; - data["tsResult"] = this.tsResult; - data["tsType"] = this.tsType; - data["tsDesc"] = this.tsDesc; - data["tsStatus"] = this.tsStatus; - data["tsStatusTitle"] = this.tsStatusTitle; - data["duration"] = this.duration; - data["durationTime"] = this.durationTime; + data["key"] = this.key; + data["itemID"] = this.itemID; + data["sbItemID"] = this.sbItemID; + data["sbsItemID"] = this.sbsItemID; + data["mainTableInfo"] = this.mainTableInfo; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["itemStd"] = this.itemStd; + data["itemUnit1"] = this.itemUnit1; + data["itemUnit2"] = this.itemUnit2; + data["itemUnit3"] = this.itemUnit3; + data["itemType"] = this.itemType; + data["itemTypeText"] = this.itemTypeText; + data["itemModel"] = this.itemModel; + data["itemUom"] = this.itemUom; + data["sbItemCode"] = this.sbItemCode; + data["sbsItemCode"] = this.sbsItemCode; + data["sbsItemName"] = this.sbsItemName; + data["sbItemQty"] = this.sbItemQty; + data["sbwh"] = this.sbwh; + data["seq"] = this.seq; + data["sbItemECN"] = this.sbItemECN; + data["sbItemName"] = this.sbItemName; + data["sbItemDesc"] = this.sbItemDesc; + data["sbItemStatus"] = this.sbItemStatus; + data["sbItemStatusText"] = this.sbItemStatusText; + data["sbItemLocation"] = this.sbItemLocation; + data["sbItemEfftime"] = this.sbItemEfftime ? this.sbItemEfftime.toISOString() : undefined; + data["sbItemInvtime"] = this.sbItemInvtime ? this.sbItemInvtime.toISOString() : undefined; + data["sbItemUom"] = this.sbItemUom; + data["sbItemVer"] = this.sbItemVer; + data["sbItemContype"] = this.sbItemContype; + data["sbItemContypeText"] = this.sbItemContypeText; + data["sbpItemCode"] = this.sbpItemCode; + data["alpgr"] = this.alpgr; + data["sBomVer"] = this.sBomVer; + data["itemDesc"] = this.itemDesc; + data["sbFactory"] = this.sbFactory; + data["sbUseage"] = this.sbUseage; + data["sbItemProject"] = this.sbItemProject; + data["sbItemSeq"] = this.sbItemSeq; + data["location"] = this.location; data["memo"] = this.memo; - data["tsTime"] = this.tsTime ? this.tsTime.toISOString() : undefined; - data["tsUserName"] = this.tsUserName; - data["conformUserName"] = this.conformUserName; - data["conformTime"] = this.conformTime ? this.conformTime.toISOString() : undefined; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + if (Array.isArray(this.detailList)) { + data["detailList"] = []; + for (let item of this.detailList) + data["detailList"].push(item.toJSON()); + } data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; @@ -72293,55 +114831,69 @@ export class IcsEquipmentTSListDto implements IIcsEquipmentTSListDto { return data; } - clone(): IcsEquipmentTSListDto { + clone(): IcsSBomListDto { const json = this.toJSON(); - let result = new IcsEquipmentTSListDto(); + let result = new IcsSBomListDto(); result.init(json); return result; } } -export interface IIcsEquipmentTSListDto { - /** 设备ID */ - eqpId: string | undefined; - /** 设备编码 */ - eqpCode: string | undefined; - /** 报修人Id */ - findUserId: string | undefined; - /** 报修人 */ - findUserName: string | undefined; - /** 报修时间 */ - findTime: moment.Moment; - /** 故障现象 */ - tsInfo: string | undefined; - /** 故障原因 */ - tsReason: string | undefined; - /** 维修措施 */ - tsSolution: string | undefined; - /** 维修结果 */ - tsResult: string | undefined; - /** 维修类型 */ - tsType: string | undefined; - /** 维修描述 */ - tsDesc: string | undefined; - /** 状态 */ - tsStatus: string | undefined; - /** 状态文本 */ - tsStatusTitle: string | undefined; - /** 维修时长 */ - duration: number | undefined; - /** 维修时长(分钟) */ - durationTime: string | undefined; - /** 备注 */ +export interface IIcsSBomListDto { + key: string | undefined; + itemID: number; + sbItemID: number; + sbsItemID: number; + mainTableInfo: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemStd: string | undefined; + itemUnit1: string | undefined; + itemUnit2: string | undefined; + itemUnit3: string | undefined; + itemType: string | undefined; + itemTypeText: string | undefined; + itemModel: string | undefined; + itemUom: string | undefined; + sbItemCode: string | undefined; + sbsItemCode: string | undefined; + sbsItemName: string | undefined; + sbItemQty: number; + sbwh: string | undefined; + seq: number | undefined; + sbItemECN: string | undefined; + sbItemName: string | undefined; + sbItemDesc: string | undefined; + sbItemStatus: string | undefined; + sbItemStatusText: string | undefined; + sbItemLocation: string | undefined; + sbItemEfftime: moment.Moment; + sbItemInvtime: moment.Moment; + sbItemUom: string | undefined; + sbItemVer: string | undefined; + sbItemContype: string | undefined; + sbItemContypeText: string | undefined; + sbpItemCode: string | undefined; + alpgr: string | undefined; + sBomVer: string | undefined; + itemDesc: string | undefined; + sbFactory: string | undefined; + sbUseage: string | undefined; + sbItemProject: string | undefined; + sbItemSeq: number; + location: string | undefined; memo: string | undefined; - /** 维修完成时间 */ - tsTime: moment.Moment | undefined; - /** 维修人 */ - tsUserName: string | undefined; - /** 确认人 */ - conformUserName: string | undefined; - /** 确认时间 */ - conformTime: moment.Moment | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + detailList: IcsSBomListDto[] | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -72351,38 +114903,27 @@ export interface IIcsEquipmentTSListDto { id: number; } -export class IcsFactoryEditDto implements IIcsFactoryEditDto { +export class IcsSSEditDto implements IIcsSSEditDto { id: number | undefined; - /** 工厂代码 */ - facCode: string | undefined; - /** 工厂名称 */ - facName: string | undefined; - /** 工厂描述 */ - facDesc: string | undefined; - /** 保留字段1 */ + ssCode: string | undefined; + ssName: string | undefined; + ssDesc: string | undefined; + segID: number; + ssType: string | undefined; + shiftTypeID: number; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ memo: string | undefined; - constructor(data?: IIcsFactoryEditDto) { + constructor(data?: IIcsSSEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -72394,9 +114935,12 @@ export class IcsFactoryEditDto implements IIcsFactoryEditDto { init(_data?: any) { if (_data) { this.id = _data["id"]; - this.facCode = _data["facCode"]; - this.facName = _data["facName"]; - this.facDesc = _data["facDesc"]; + this.ssCode = _data["ssCode"]; + this.ssName = _data["ssName"]; + this.ssDesc = _data["ssDesc"]; + this.segID = _data["segID"]; + this.ssType = _data["ssType"]; + this.shiftTypeID = _data["shiftTypeID"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; @@ -72411,9 +114955,9 @@ export class IcsFactoryEditDto implements IIcsFactoryEditDto { } } - static fromJS(data: any): IcsFactoryEditDto { + static fromJS(data: any): IcsSSEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsFactoryEditDto(); + let result = new IcsSSEditDto(); result.init(data); return result; } @@ -72421,9 +114965,12 @@ export class IcsFactoryEditDto implements IIcsFactoryEditDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["id"] = this.id; - data["facCode"] = this.facCode; - data["facName"] = this.facName; - data["facDesc"] = this.facDesc; + data["ssCode"] = this.ssCode; + data["ssName"] = this.ssName; + data["ssDesc"] = this.ssDesc; + data["segID"] = this.segID; + data["ssType"] = this.ssType; + data["shiftTypeID"] = this.shiftTypeID; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; @@ -72438,75 +114985,54 @@ export class IcsFactoryEditDto implements IIcsFactoryEditDto { return data; } - clone(): IcsFactoryEditDto { + clone(): IcsSSEditDto { const json = this.toJSON(); - let result = new IcsFactoryEditDto(); + let result = new IcsSSEditDto(); result.init(json); return result; } } -export interface IIcsFactoryEditDto { +export interface IIcsSSEditDto { id: number | undefined; - /** 工厂代码 */ - facCode: string | undefined; - /** 工厂名称 */ - facName: string | undefined; - /** 工厂描述 */ - facDesc: string | undefined; - /** 保留字段1 */ + ssCode: string | undefined; + ssName: string | undefined; + ssDesc: string | undefined; + segID: number; + ssType: string | undefined; + shiftTypeID: number; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ memo: string | undefined; } -export class IcsFactoryListDto implements IIcsFactoryListDto { - key: string | undefined; - /** 工厂代码 */ - facCode: string | undefined; - /** 工厂名称 */ - facName: string | undefined; - /** 工厂描述 */ - facDesc: string | undefined; - /** 保留字段1 */ +export class IcsSSListDto implements IIcsSSListDto { + ssCode: string | undefined; + ssName: string | undefined; + ssDesc: string | undefined; + segID: number; + segName: string | undefined; + ssType: string | undefined; + shiftTypeID: number | undefined; + shiftTypeName: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ memo: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -72516,7 +115042,7 @@ export class IcsFactoryListDto implements IIcsFactoryListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsFactoryListDto) { + constructor(data?: IIcsSSListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -72527,10 +115053,14 @@ export class IcsFactoryListDto implements IIcsFactoryListDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.facCode = _data["facCode"]; - this.facName = _data["facName"]; - this.facDesc = _data["facDesc"]; + this.ssCode = _data["ssCode"]; + this.ssName = _data["ssName"]; + this.ssDesc = _data["ssDesc"]; + this.segID = _data["segID"]; + this.segName = _data["segName"]; + this.ssType = _data["ssType"]; + this.shiftTypeID = _data["shiftTypeID"]; + this.shiftTypeName = _data["shiftTypeName"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; @@ -72552,19 +115082,23 @@ export class IcsFactoryListDto implements IIcsFactoryListDto { } } - static fromJS(data: any): IcsFactoryListDto { + static fromJS(data: any): IcsSSListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsFactoryListDto(); + let result = new IcsSSListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["facCode"] = this.facCode; - data["facName"] = this.facName; - data["facDesc"] = this.facDesc; + data["ssCode"] = this.ssCode; + data["ssName"] = this.ssName; + data["ssDesc"] = this.ssDesc; + data["segID"] = this.segID; + data["segName"] = this.segName; + data["ssType"] = this.ssType; + data["shiftTypeID"] = this.shiftTypeID; + data["shiftTypeName"] = this.shiftTypeName; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; @@ -72586,43 +115120,33 @@ export class IcsFactoryListDto implements IIcsFactoryListDto { return data; } - clone(): IcsFactoryListDto { + clone(): IcsSSListDto { const json = this.toJSON(); - let result = new IcsFactoryListDto(); + let result = new IcsSSListDto(); result.init(json); return result; } } -export interface IIcsFactoryListDto { - key: string | undefined; - /** 工厂代码 */ - facCode: string | undefined; - /** 工厂名称 */ - facName: string | undefined; - /** 工厂描述 */ - facDesc: string | undefined; - /** 保留字段1 */ +export interface IIcsSSListDto { + ssCode: string | undefined; + ssName: string | undefined; + ssDesc: string | undefined; + segID: number; + segName: string | undefined; + ssType: string | undefined; + shiftTypeID: number | undefined; + shiftTypeName: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ memo: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -72633,80 +115157,20 @@ export interface IIcsFactoryListDto { id: number; } -export class IcsInventoryEditDto implements IIcsInventoryEditDto { - id: number | undefined; - /** 物料编码 */ - itemCode: string | undefined; - /** 物料名称 */ - itemName: string | undefined; - /** 物料描述 */ - itemDesc: string | undefined; - /** 物料规格 */ - itemStd: string | undefined; - /** 物料属性 */ - itemAttribute: string | undefined; - /** 物料代码 */ - itemAddCode: string | undefined; - /** 单位1 */ - itemUnit: string | undefined; - /** 单位2 */ - amountUnit1: string | undefined; - /** 单位3 */ - amountUnit2: string | undefined; - /** 固定换算率 */ - itemRate: number; - /** 物料主分类 */ - itemMainCategoryCode: string | undefined; - /** 物料类型 */ - itemType: string | undefined; - /** 物料类别 */ - itemModel: string | undefined; - /** 机芯 */ - itemMachineType: string | undefined; - /** 体积 */ - itemVolume: string | undefined; - /** 机种类型 */ - itemModelCode: string | undefined; - /** 出口/进口 */ - itemExportImport: string | undefined; - /** 机种组别 */ - itemModelGroup: string | undefined; - /** 物料组 */ - itemGroup: string | undefined; - /** 物料组描述 */ - itemGroupDesc: string | undefined; - /** 控管类型 */ - itemControlType: string | undefined; - /** 解析方式 */ - parseType: string | undefined; - /** 是否检查物料完工状态 */ - checkStatus: string | undefined; - /** 检查类型 */ - itemCheckType: string | undefined; - /** 序列号长度 */ - snLength: number; - /** ROHS标志 */ - rohs: string | undefined; - /** 保质期 */ - shelfLife: number; - /** 分批数量 */ - lotQty: number; - /** 装箱数量 */ - cartonQty: number; - /** 老化装车数量 */ - itemBurninQty: number; - /** PCBA拼版数量 */ - pcbaCount: number; - /** 产生送检批工序 */ - chkItemOp: string | undefined; - /** 是否SMT料卷料 */ - isSmt: string | undefined; - /** FIFO管控时间 */ - fifoRange: number; - /** 备注 */ - memo: string | undefined; +export class IcsSeg2SysParameter implements IIcsSeg2SysParameter { + tenantId: string; + segCode: string; + name: string; + value: string; + lastModifierUserName: string | undefined; + creatorUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IIcsInventoryEditDto) { + constructor(data?: IIcsSeg2SysParameter) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -72717,311 +115181,72 @@ export class IcsInventoryEditDto implements IIcsInventoryEditDto { init(_data?: any) { if (_data) { + this.tenantId = _data["tenantId"]; + this.segCode = _data["segCode"]; + this.name = _data["name"]; + this.value = _data["value"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; this.id = _data["id"]; - this.itemCode = _data["itemCode"]; - this.itemName = _data["itemName"]; - this.itemDesc = _data["itemDesc"]; - this.itemStd = _data["itemStd"]; - this.itemAttribute = _data["itemAttribute"]; - this.itemAddCode = _data["itemAddCode"]; - this.itemUnit = _data["itemUnit"]; - this.amountUnit1 = _data["amountUnit1"]; - this.amountUnit2 = _data["amountUnit2"]; - this.itemRate = _data["itemRate"]; - this.itemMainCategoryCode = _data["itemMainCategoryCode"]; - this.itemType = _data["itemType"]; - this.itemModel = _data["itemModel"]; - this.itemMachineType = _data["itemMachineType"]; - this.itemVolume = _data["itemVolume"]; - this.itemModelCode = _data["itemModelCode"]; - this.itemExportImport = _data["itemExportImport"]; - this.itemModelGroup = _data["itemModelGroup"]; - this.itemGroup = _data["itemGroup"]; - this.itemGroupDesc = _data["itemGroupDesc"]; - this.itemControlType = _data["itemControlType"]; - this.parseType = _data["parseType"]; - this.checkStatus = _data["checkStatus"]; - this.itemCheckType = _data["itemCheckType"]; - this.snLength = _data["snLength"]; - this.rohs = _data["rohs"]; - this.shelfLife = _data["shelfLife"]; - this.lotQty = _data["lotQty"]; - this.cartonQty = _data["cartonQty"]; - this.itemBurninQty = _data["itemBurninQty"]; - this.pcbaCount = _data["pcbaCount"]; - this.chkItemOp = _data["chkItemOp"]; - this.isSmt = _data["isSmt"]; - this.fifoRange = _data["fifoRange"]; - this.memo = _data["memo"]; } } - static fromJS(data: any): IcsInventoryEditDto { + static fromJS(data: any): IcsSeg2SysParameter { data = typeof data === 'object' ? data : {}; - let result = new IcsInventoryEditDto(); + let result = new IcsSeg2SysParameter(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["tenantId"] = this.tenantId; + data["segCode"] = this.segCode; + data["name"] = this.name; + data["value"] = this.value; + data["lastModifierUserName"] = this.lastModifierUserName; + data["creatorUserName"] = this.creatorUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; data["id"] = this.id; - data["itemCode"] = this.itemCode; - data["itemName"] = this.itemName; - data["itemDesc"] = this.itemDesc; - data["itemStd"] = this.itemStd; - data["itemAttribute"] = this.itemAttribute; - data["itemAddCode"] = this.itemAddCode; - data["itemUnit"] = this.itemUnit; - data["amountUnit1"] = this.amountUnit1; - data["amountUnit2"] = this.amountUnit2; - data["itemRate"] = this.itemRate; - data["itemMainCategoryCode"] = this.itemMainCategoryCode; - data["itemType"] = this.itemType; - data["itemModel"] = this.itemModel; - data["itemMachineType"] = this.itemMachineType; - data["itemVolume"] = this.itemVolume; - data["itemModelCode"] = this.itemModelCode; - data["itemExportImport"] = this.itemExportImport; - data["itemModelGroup"] = this.itemModelGroup; - data["itemGroup"] = this.itemGroup; - data["itemGroupDesc"] = this.itemGroupDesc; - data["itemControlType"] = this.itemControlType; - data["parseType"] = this.parseType; - data["checkStatus"] = this.checkStatus; - data["itemCheckType"] = this.itemCheckType; - data["snLength"] = this.snLength; - data["rohs"] = this.rohs; - data["shelfLife"] = this.shelfLife; - data["lotQty"] = this.lotQty; - data["cartonQty"] = this.cartonQty; - data["itemBurninQty"] = this.itemBurninQty; - data["pcbaCount"] = this.pcbaCount; - data["chkItemOp"] = this.chkItemOp; - data["isSmt"] = this.isSmt; - data["fifoRange"] = this.fifoRange; - data["memo"] = this.memo; - return data; - } - - clone(): IcsInventoryEditDto { - const json = this.toJSON(); - let result = new IcsInventoryEditDto(); - result.init(json); - return result; - } -} - -export interface IIcsInventoryEditDto { - id: number | undefined; - /** 物料编码 */ - itemCode: string | undefined; - /** 物料名称 */ - itemName: string | undefined; - /** 物料描述 */ - itemDesc: string | undefined; - /** 物料规格 */ - itemStd: string | undefined; - /** 物料属性 */ - itemAttribute: string | undefined; - /** 物料代码 */ - itemAddCode: string | undefined; - /** 单位1 */ - itemUnit: string | undefined; - /** 单位2 */ - amountUnit1: string | undefined; - /** 单位3 */ - amountUnit2: string | undefined; - /** 固定换算率 */ - itemRate: number; - /** 物料主分类 */ - itemMainCategoryCode: string | undefined; - /** 物料类型 */ - itemType: string | undefined; - /** 物料类别 */ - itemModel: string | undefined; - /** 机芯 */ - itemMachineType: string | undefined; - /** 体积 */ - itemVolume: string | undefined; - /** 机种类型 */ - itemModelCode: string | undefined; - /** 出口/进口 */ - itemExportImport: string | undefined; - /** 机种组别 */ - itemModelGroup: string | undefined; - /** 物料组 */ - itemGroup: string | undefined; - /** 物料组描述 */ - itemGroupDesc: string | undefined; - /** 控管类型 */ - itemControlType: string | undefined; - /** 解析方式 */ - parseType: string | undefined; - /** 是否检查物料完工状态 */ - checkStatus: string | undefined; - /** 检查类型 */ - itemCheckType: string | undefined; - /** 序列号长度 */ - snLength: number; - /** ROHS标志 */ - rohs: string | undefined; - /** 保质期 */ - shelfLife: number; - /** 分批数量 */ - lotQty: number; - /** 装箱数量 */ - cartonQty: number; - /** 老化装车数量 */ - itemBurninQty: number; - /** PCBA拼版数量 */ - pcbaCount: number; - /** 产生送检批工序 */ - chkItemOp: string | undefined; - /** 是否SMT料卷料 */ - isSmt: string | undefined; - /** FIFO管控时间 */ - fifoRange: number; - /** 备注 */ - memo: string | undefined; -} - -export class IcsInventoryImportDto implements IIcsInventoryImportDto { - /** 物料代码 */ - itemCode: string; - /** 物料名称 */ - itemName: string; - /** 物料描述 */ - itemDesc: string | undefined; - - constructor(data?: IIcsInventoryImportDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } - } - } - - init(_data?: any) { - if (_data) { - this.itemCode = _data["itemCode"]; - this.itemName = _data["itemName"]; - this.itemDesc = _data["itemDesc"]; - } - } - - static fromJS(data: any): IcsInventoryImportDto { - data = typeof data === 'object' ? data : {}; - let result = new IcsInventoryImportDto(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["itemCode"] = this.itemCode; - data["itemName"] = this.itemName; - data["itemDesc"] = this.itemDesc; return data; } - clone(): IcsInventoryImportDto { + clone(): IcsSeg2SysParameter { const json = this.toJSON(); - let result = new IcsInventoryImportDto(); + let result = new IcsSeg2SysParameter(); result.init(json); return result; } } -export interface IIcsInventoryImportDto { - /** 物料代码 */ - itemCode: string; - /** 物料名称 */ - itemName: string; - /** 物料描述 */ - itemDesc: string | undefined; -} - -export class IcsInventoryListDto implements IIcsInventoryListDto { - /** 物料编码 */ - itemCode: string | undefined; - key: string | undefined; - /** 物料名称 */ - itemName: string | undefined; - /** 物料描述 */ - itemDesc: string | undefined; - /** 物料规格 */ - itemStd: string | undefined; - /** 物料属性 */ - itemAttribute: string | undefined; - /** 物料代码 */ - itemAddCode: string | undefined; - /** 单位1 */ - itemUnit: string | undefined; - /** 单位2 */ - amountUnit1: string | undefined; - /** 单位3 */ - amountUnit2: string | undefined; - /** 物料主分类 */ - itemMainCategoryCode: string | undefined; - /** 物料类型 */ - itemType: string | undefined; - /** 固定换算率 */ - itemRate: number; - /** 机芯 */ - itemMachineType: string | undefined; - /** 体积 */ - itemVolume: string | undefined; - /** 机种类型 */ - itemModelCode: string | undefined; - /** 出口/进口 */ - itemExportImport: string | undefined; - /** 机种组别 */ - itemModelGroup: string | undefined; - /** 物料组 */ - itemGroup: string | undefined; - /** 物料组描述 */ - itemGroupDesc: string | undefined; - /** 控管类型 */ - itemControlType: string | undefined; - /** 解析方式 */ - parseType: string | undefined; - /** 是否检查物料完工状态 */ - checkStatus: string | undefined; - /** 检查类型 */ - itemCheckType: string | undefined; - /** 序列号长度 */ - snLength: number; - /** ROHS标志 */ - rohs: string | undefined; - /** 保质期 */ - shelfLife: number; - /** 分批数量 */ - lotQty: number; - /** 装箱数量 */ - cartonQty: number; - /** 老化装车数量 */ - itemBurninQty: number; - /** PCBA拼版数量 */ - pcbaCount: number; - /** 产生送检批工序 */ - chkItemOp: string | undefined; - /** 是否SMT料卷料 */ - isSmt: string | undefined; - /** FIFO管控时间 */ - fifoRange: number; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; +export interface IIcsSeg2SysParameter { + tenantId: string; + segCode: string; + name: string; + value: string; lastModifierUserName: string | undefined; + creatorUserName: string | undefined; lastModificationTime: moment.Moment | undefined; lastModifierUserId: string | undefined; creationTime: moment.Moment; creatorUserId: string | undefined; id: number; +} - constructor(data?: IIcsInventoryListDto) { +export class IcsSeg2SysParameterDto implements IIcsSeg2SysParameterDto { + id: number | undefined; + segCode: string | undefined; + name: string | undefined; + value: string | undefined; + + constructor(data?: IIcsSeg2SysParameterDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -73032,207 +115257,66 @@ export class IcsInventoryListDto implements IIcsInventoryListDto { init(_data?: any) { if (_data) { - this.itemCode = _data["itemCode"]; - this.key = _data["key"]; - this.itemName = _data["itemName"]; - this.itemDesc = _data["itemDesc"]; - this.itemStd = _data["itemStd"]; - this.itemAttribute = _data["itemAttribute"]; - this.itemAddCode = _data["itemAddCode"]; - this.itemUnit = _data["itemUnit"]; - this.amountUnit1 = _data["amountUnit1"]; - this.amountUnit2 = _data["amountUnit2"]; - this.itemMainCategoryCode = _data["itemMainCategoryCode"]; - this.itemType = _data["itemType"]; - this.itemRate = _data["itemRate"]; - this.itemMachineType = _data["itemMachineType"]; - this.itemVolume = _data["itemVolume"]; - this.itemModelCode = _data["itemModelCode"]; - this.itemExportImport = _data["itemExportImport"]; - this.itemModelGroup = _data["itemModelGroup"]; - this.itemGroup = _data["itemGroup"]; - this.itemGroupDesc = _data["itemGroupDesc"]; - this.itemControlType = _data["itemControlType"]; - this.parseType = _data["parseType"]; - this.checkStatus = _data["checkStatus"]; - this.itemCheckType = _data["itemCheckType"]; - this.snLength = _data["snLength"]; - this.rohs = _data["rohs"]; - this.shelfLife = _data["shelfLife"]; - this.lotQty = _data["lotQty"]; - this.cartonQty = _data["cartonQty"]; - this.itemBurninQty = _data["itemBurninQty"]; - this.pcbaCount = _data["pcbaCount"]; - this.chkItemOp = _data["chkItemOp"]; - this.isSmt = _data["isSmt"]; - this.fifoRange = _data["fifoRange"]; - this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; this.id = _data["id"]; + this.segCode = _data["segCode"]; + this.name = _data["name"]; + this.value = _data["value"]; } } - static fromJS(data: any): IcsInventoryListDto { + static fromJS(data: any): IcsSeg2SysParameterDto { data = typeof data === 'object' ? data : {}; - let result = new IcsInventoryListDto(); + let result = new IcsSeg2SysParameterDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["itemCode"] = this.itemCode; - data["key"] = this.key; - data["itemName"] = this.itemName; - data["itemDesc"] = this.itemDesc; - data["itemStd"] = this.itemStd; - data["itemAttribute"] = this.itemAttribute; - data["itemAddCode"] = this.itemAddCode; - data["itemUnit"] = this.itemUnit; - data["amountUnit1"] = this.amountUnit1; - data["amountUnit2"] = this.amountUnit2; - data["itemMainCategoryCode"] = this.itemMainCategoryCode; - data["itemType"] = this.itemType; - data["itemRate"] = this.itemRate; - data["itemMachineType"] = this.itemMachineType; - data["itemVolume"] = this.itemVolume; - data["itemModelCode"] = this.itemModelCode; - data["itemExportImport"] = this.itemExportImport; - data["itemModelGroup"] = this.itemModelGroup; - data["itemGroup"] = this.itemGroup; - data["itemGroupDesc"] = this.itemGroupDesc; - data["itemControlType"] = this.itemControlType; - data["parseType"] = this.parseType; - data["checkStatus"] = this.checkStatus; - data["itemCheckType"] = this.itemCheckType; - data["snLength"] = this.snLength; - data["rohs"] = this.rohs; - data["shelfLife"] = this.shelfLife; - data["lotQty"] = this.lotQty; - data["cartonQty"] = this.cartonQty; - data["itemBurninQty"] = this.itemBurninQty; - data["pcbaCount"] = this.pcbaCount; - data["chkItemOp"] = this.chkItemOp; - data["isSmt"] = this.isSmt; - data["fifoRange"] = this.fifoRange; - data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; data["id"] = this.id; + data["segCode"] = this.segCode; + data["name"] = this.name; + data["value"] = this.value; return data; } - clone(): IcsInventoryListDto { + clone(): IcsSeg2SysParameterDto { const json = this.toJSON(); - let result = new IcsInventoryListDto(); + let result = new IcsSeg2SysParameterDto(); result.init(json); return result; } } -export interface IIcsInventoryListDto { - /** 物料编码 */ - itemCode: string | undefined; - key: string | undefined; - /** 物料名称 */ - itemName: string | undefined; - /** 物料描述 */ - itemDesc: string | undefined; - /** 物料规格 */ - itemStd: string | undefined; - /** 物料属性 */ - itemAttribute: string | undefined; - /** 物料代码 */ - itemAddCode: string | undefined; - /** 单位1 */ - itemUnit: string | undefined; - /** 单位2 */ - amountUnit1: string | undefined; - /** 单位3 */ - amountUnit2: string | undefined; - /** 物料主分类 */ - itemMainCategoryCode: string | undefined; - /** 物料类型 */ - itemType: string | undefined; - /** 固定换算率 */ - itemRate: number; - /** 机芯 */ - itemMachineType: string | undefined; - /** 体积 */ - itemVolume: string | undefined; - /** 机种类型 */ - itemModelCode: string | undefined; - /** 出口/进口 */ - itemExportImport: string | undefined; - /** 机种组别 */ - itemModelGroup: string | undefined; - /** 物料组 */ - itemGroup: string | undefined; - /** 物料组描述 */ - itemGroupDesc: string | undefined; - /** 控管类型 */ - itemControlType: string | undefined; - /** 解析方式 */ - parseType: string | undefined; - /** 是否检查物料完工状态 */ - checkStatus: string | undefined; - /** 检查类型 */ - itemCheckType: string | undefined; - /** 序列号长度 */ - snLength: number; - /** ROHS标志 */ - rohs: string | undefined; - /** 保质期 */ - shelfLife: number; - /** 分批数量 */ - lotQty: number; - /** 装箱数量 */ - cartonQty: number; - /** 老化装车数量 */ - itemBurninQty: number; - /** PCBA拼版数量 */ - pcbaCount: number; - /** 产生送检批工序 */ - chkItemOp: string | undefined; - /** 是否SMT料卷料 */ - isSmt: string | undefined; - /** FIFO管控时间 */ - fifoRange: number; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export interface IIcsSeg2SysParameterDto { + id: number | undefined; + segCode: string | undefined; + name: string | undefined; + value: string | undefined; } -export class IcsItem2RouteEditDto implements IIcsItem2RouteEditDto { +export class IcsSegEditDto implements IIcsSegEditDto { id: number | undefined; - /** 产品Id */ - itemId: number; - /** 途程Id */ - routeID: number; - /** 产品代码 */ - itemCode: string; - /** 途程代码 */ - routeCode: string; - /** 是否默认(Y:默认 , N:不默认) */ - isRef: string | undefined; - opList: IcsOPListDto[] | undefined; + segCode: string | undefined; + segSeq: number; + segName: string | undefined; + segDesc: string | undefined; + shiftTypeID: number; + facID: number; + checkGroup4Appearance: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; - constructor(data?: IIcsItem2RouteEditDto) { + constructor(data?: IIcsSegEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -73244,22 +115328,30 @@ export class IcsItem2RouteEditDto implements IIcsItem2RouteEditDto { init(_data?: any) { if (_data) { this.id = _data["id"]; - this.itemId = _data["itemId"]; - this.routeID = _data["routeID"]; - this.itemCode = _data["itemCode"]; - this.routeCode = _data["routeCode"]; - this.isRef = _data["isRef"]; - if (Array.isArray(_data["opList"])) { - this.opList = [] as any; - for (let item of _data["opList"]) - this.opList.push(IcsOPListDto.fromJS(item)); - } + this.segCode = _data["segCode"]; + this.segSeq = _data["segSeq"]; + this.segName = _data["segName"]; + this.segDesc = _data["segDesc"]; + this.shiftTypeID = _data["shiftTypeID"]; + this.facID = _data["facID"]; + this.checkGroup4Appearance = _data["checkGroup4Appearance"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): IcsItem2RouteEditDto { + static fromJS(data: any): IcsSegEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsItem2RouteEditDto(); + let result = new IcsSegEditDto(); result.init(data); return result; } @@ -73267,59 +115359,79 @@ export class IcsItem2RouteEditDto implements IIcsItem2RouteEditDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["id"] = this.id; - data["itemId"] = this.itemId; - data["routeID"] = this.routeID; - data["itemCode"] = this.itemCode; - data["routeCode"] = this.routeCode; - data["isRef"] = this.isRef; - if (Array.isArray(this.opList)) { - data["opList"] = []; - for (let item of this.opList) - data["opList"].push(item.toJSON()); - } + data["segCode"] = this.segCode; + data["segSeq"] = this.segSeq; + data["segName"] = this.segName; + data["segDesc"] = this.segDesc; + data["shiftTypeID"] = this.shiftTypeID; + data["facID"] = this.facID; + data["checkGroup4Appearance"] = this.checkGroup4Appearance; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["memo"] = this.memo; return data; } - clone(): IcsItem2RouteEditDto { + clone(): IcsSegEditDto { const json = this.toJSON(); - let result = new IcsItem2RouteEditDto(); + let result = new IcsSegEditDto(); result.init(json); return result; } } -export interface IIcsItem2RouteEditDto { +export interface IIcsSegEditDto { id: number | undefined; - /** 产品Id */ - itemId: number; - /** 途程Id */ - routeID: number; - /** 产品代码 */ - itemCode: string; - /** 途程代码 */ - routeCode: string; - /** 是否默认(Y:默认 , N:不默认) */ - isRef: string | undefined; - opList: IcsOPListDto[] | undefined; + segCode: string | undefined; + segSeq: number; + segName: string | undefined; + segDesc: string | undefined; + shiftTypeID: number; + facID: number; + checkGroup4Appearance: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; } -export class IcsItem2RouteListDto implements IIcsItem2RouteListDto { +export class IcsSegListDto implements IIcsSegListDto { key: string | undefined; - /** 产品Id */ - itemId: number; - /** 产品Id */ - routeName: string | undefined; - /** 工艺路线Id */ - routeID: number; - /** 产品代码 */ - itemName: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 工艺路线代码 */ - routeCode: string | undefined; - /** 是否默认(Y:默认 , N:不默认) */ - isRef: string | undefined; - itemRoute2OpList: IcsItemRoute2OpListDto[] | undefined; + segCode: string | undefined; + segSeq: number; + segName: string | undefined; + segDesc: string | undefined; + shiftTypeID: number; + shiftTypeName: string | undefined; + facID: number; + facName: string | undefined; + checkGroup4Appearance: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -73328,7 +115440,7 @@ export class IcsItem2RouteListDto implements IIcsItem2RouteListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsItem2RouteListDto) { + constructor(data?: IIcsSegListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -73340,18 +115452,26 @@ export class IcsItem2RouteListDto implements IIcsItem2RouteListDto { init(_data?: any) { if (_data) { this.key = _data["key"]; - this.itemId = _data["itemId"]; - this.routeName = _data["routeName"]; - this.routeID = _data["routeID"]; - this.itemName = _data["itemName"]; - this.itemCode = _data["itemCode"]; - this.routeCode = _data["routeCode"]; - this.isRef = _data["isRef"]; - if (Array.isArray(_data["itemRoute2OpList"])) { - this.itemRoute2OpList = [] as any; - for (let item of _data["itemRoute2OpList"]) - this.itemRoute2OpList.push(IcsItemRoute2OpListDto.fromJS(item)); - } + this.segCode = _data["segCode"]; + this.segSeq = _data["segSeq"]; + this.segName = _data["segName"]; + this.segDesc = _data["segDesc"]; + this.shiftTypeID = _data["shiftTypeID"]; + this.shiftTypeName = _data["shiftTypeName"]; + this.facID = _data["facID"]; + this.facName = _data["facName"]; + this.checkGroup4Appearance = _data["checkGroup4Appearance"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.memo = _data["memo"]; this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; @@ -73362,9 +115482,9 @@ export class IcsItem2RouteListDto implements IIcsItem2RouteListDto { } } - static fromJS(data: any): IcsItem2RouteListDto { + static fromJS(data: any): IcsSegListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsItem2RouteListDto(); + let result = new IcsSegListDto(); result.init(data); return result; } @@ -73372,18 +115492,26 @@ export class IcsItem2RouteListDto implements IIcsItem2RouteListDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["key"] = this.key; - data["itemId"] = this.itemId; - data["routeName"] = this.routeName; - data["routeID"] = this.routeID; - data["itemName"] = this.itemName; - data["itemCode"] = this.itemCode; - data["routeCode"] = this.routeCode; - data["isRef"] = this.isRef; - if (Array.isArray(this.itemRoute2OpList)) { - data["itemRoute2OpList"] = []; - for (let item of this.itemRoute2OpList) - data["itemRoute2OpList"].push(item.toJSON()); - } + data["segCode"] = this.segCode; + data["segSeq"] = this.segSeq; + data["segName"] = this.segName; + data["segDesc"] = this.segDesc; + data["shiftTypeID"] = this.shiftTypeID; + data["shiftTypeName"] = this.shiftTypeName; + data["facID"] = this.facID; + data["facName"] = this.facName; + data["checkGroup4Appearance"] = this.checkGroup4Appearance; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["memo"] = this.memo; data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; @@ -73394,31 +115522,36 @@ export class IcsItem2RouteListDto implements IIcsItem2RouteListDto { return data; } - clone(): IcsItem2RouteListDto { + clone(): IcsSegListDto { const json = this.toJSON(); - let result = new IcsItem2RouteListDto(); + let result = new IcsSegListDto(); result.init(json); return result; } } -export interface IIcsItem2RouteListDto { +export interface IIcsSegListDto { key: string | undefined; - /** 产品Id */ - itemId: number; - /** 产品Id */ - routeName: string | undefined; - /** 工艺路线Id */ - routeID: number; - /** 产品代码 */ - itemName: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 工艺路线代码 */ - routeCode: string | undefined; - /** 是否默认(Y:默认 , N:不默认) */ - isRef: string | undefined; - itemRoute2OpList: IcsItemRoute2OpListDto[] | undefined; + segCode: string | undefined; + segSeq: number; + segName: string | undefined; + segDesc: string | undefined; + shiftTypeID: number; + shiftTypeName: string | undefined; + facID: number; + facName: string | undefined; + checkGroup4Appearance: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -73428,44 +115561,29 @@ export interface IIcsItem2RouteListDto { id: number; } -export class IcsItemModel2CheckGroupEditDto implements IIcsItemModel2CheckGroupEditDto { - key: string | undefined; +export class IcsShiftEditDto implements IIcsShiftEditDto { id: number | undefined; - /** 检验项目组 */ - checkGroupID: number; - /** 型号编号 */ - itemModelCode: string | undefined; - /** 检验类型编码 */ - checkGroupCode: string | undefined; - /** 类型维度 */ - itemModelType: string | undefined; - /** 次序 */ - seq: number; - /** 备注 */ + shiftCode: string; + shiftTypeId: number; + shiftSeq: number; + shiftName: string | undefined; + shiftDesc: string | undefined; + shiftBTime: string; + shiftETime: string; + isOverDay: string; memo: string | undefined; - /** 保留字段1 */ default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - listDtos: IcsItemModel2CheckGroupListDto[] | undefined; - constructor(data?: IIcsItemModel2CheckGroupEditDto) { + constructor(data?: IIcsShiftEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -73476,13 +115594,15 @@ export class IcsItemModel2CheckGroupEditDto implements IIcsItemModel2CheckGroupE init(_data?: any) { if (_data) { - this.key = _data["key"]; this.id = _data["id"]; - this.checkGroupID = _data["checkGroupID"]; - this.itemModelCode = _data["itemModelCode"]; - this.checkGroupCode = _data["checkGroupCode"]; - this.itemModelType = _data["itemModelType"]; - this.seq = _data["seq"]; + this.shiftCode = _data["shiftCode"]; + this.shiftTypeId = _data["shiftTypeId"]; + this.shiftSeq = _data["shiftSeq"]; + this.shiftName = _data["shiftName"]; + this.shiftDesc = _data["shiftDesc"]; + this.shiftBTime = _data["shiftBTime"]; + this.shiftETime = _data["shiftETime"]; + this.isOverDay = _data["isOverDay"]; this.memo = _data["memo"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; @@ -73494,30 +115614,27 @@ export class IcsItemModel2CheckGroupEditDto implements IIcsItemModel2CheckGroupE this.default8 = _data["default8"]; this.default9 = _data["default9"]; this.default10 = _data["default10"]; - if (Array.isArray(_data["listDtos"])) { - this.listDtos = [] as any; - for (let item of _data["listDtos"]) - this.listDtos.push(IcsItemModel2CheckGroupListDto.fromJS(item)); - } } } - static fromJS(data: any): IcsItemModel2CheckGroupEditDto { + static fromJS(data: any): IcsShiftEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsItemModel2CheckGroupEditDto(); + let result = new IcsShiftEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; data["id"] = this.id; - data["checkGroupID"] = this.checkGroupID; - data["itemModelCode"] = this.itemModelCode; - data["checkGroupCode"] = this.checkGroupCode; - data["itemModelType"] = this.itemModelType; - data["seq"] = this.seq; + data["shiftCode"] = this.shiftCode; + data["shiftTypeId"] = this.shiftTypeId; + data["shiftSeq"] = this.shiftSeq; + data["shiftName"] = this.shiftName; + data["shiftDesc"] = this.shiftDesc; + data["shiftBTime"] = this.shiftBTime; + data["shiftETime"] = this.shiftETime; + data["isOverDay"] = this.isOverDay; data["memo"] = this.memo; data["default1"] = this.default1; data["default2"] = this.default2; @@ -73529,96 +115646,132 @@ export class IcsItemModel2CheckGroupEditDto implements IIcsItemModel2CheckGroupE data["default8"] = this.default8; data["default9"] = this.default9; data["default10"] = this.default10; - if (Array.isArray(this.listDtos)) { - data["listDtos"] = []; - for (let item of this.listDtos) - data["listDtos"].push(item.toJSON()); - } return data; } - clone(): IcsItemModel2CheckGroupEditDto { + clone(): IcsShiftEditDto { const json = this.toJSON(); - let result = new IcsItemModel2CheckGroupEditDto(); + let result = new IcsShiftEditDto(); result.init(json); return result; } } -export interface IIcsItemModel2CheckGroupEditDto { - key: string | undefined; +export interface IIcsShiftEditDto { id: number | undefined; - /** 检验项目组 */ - checkGroupID: number; - /** 型号编号 */ - itemModelCode: string | undefined; - /** 检验类型编码 */ - checkGroupCode: string | undefined; - /** 类型维度 */ - itemModelType: string | undefined; - /** 次序 */ - seq: number; - /** 备注 */ + shiftCode: string; + shiftTypeId: number; + shiftSeq: number; + shiftName: string | undefined; + shiftDesc: string | undefined; + shiftBTime: string; + shiftETime: string; + isOverDay: string; memo: string | undefined; - /** 保留字段1 */ default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - listDtos: IcsItemModel2CheckGroupListDto[] | undefined; } -export class IcsItemModel2CheckGroupListDto implements IIcsItemModel2CheckGroupListDto { - key: string | undefined; - /** 检验项目组 */ - checkGroupID: number; - /** 型号编号 */ - itemModelCode: string | undefined; - /** 检验类型编码 */ - checkGroupCode: string | undefined; - checkGroupName: string | undefined; - checkGroupDesc: string | undefined; - /** 类型维度 */ - itemModelType: string | undefined; - itemModelTypeText: string | undefined; - /** 次序 */ - seq: number; - /** 备注 */ +export class IcsShiftImportDto implements IIcsShiftImportDto { + shiftCode: string; + shiftName: string; + shiftTypeCode: string; + shiftSeq: number; + shiftBTime: string; + shiftETime: string; + isOverDay: string; + shiftDesc: string | undefined; + + constructor(data?: IIcsShiftImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.shiftCode = _data["shiftCode"]; + this.shiftName = _data["shiftName"]; + this.shiftTypeCode = _data["shiftTypeCode"]; + this.shiftSeq = _data["shiftSeq"]; + this.shiftBTime = _data["shiftBTime"]; + this.shiftETime = _data["shiftETime"]; + this.isOverDay = _data["isOverDay"]; + this.shiftDesc = _data["shiftDesc"]; + } + } + + static fromJS(data: any): IcsShiftImportDto { + data = typeof data === 'object' ? data : {}; + let result = new IcsShiftImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["shiftCode"] = this.shiftCode; + data["shiftName"] = this.shiftName; + data["shiftTypeCode"] = this.shiftTypeCode; + data["shiftSeq"] = this.shiftSeq; + data["shiftBTime"] = this.shiftBTime; + data["shiftETime"] = this.shiftETime; + data["isOverDay"] = this.isOverDay; + data["shiftDesc"] = this.shiftDesc; + return data; + } + + clone(): IcsShiftImportDto { + const json = this.toJSON(); + let result = new IcsShiftImportDto(); + result.init(json); + return result; + } +} + +export interface IIcsShiftImportDto { + shiftCode: string; + shiftName: string; + shiftTypeCode: string; + shiftSeq: number; + shiftBTime: string; + shiftETime: string; + isOverDay: string; + shiftDesc: string | undefined; +} + +export class IcsShiftListDto implements IIcsShiftListDto { + shiftTypeCode: string | undefined; + shiftTypeDesc: string | undefined; + shiftCode: string | undefined; + shiftTypeId: number; + shiftSeq: number; + shiftName: string | undefined; + shiftDesc: string | undefined; + shiftBTime: string | undefined; + shiftETime: string | undefined; + isOverDay: string | undefined; memo: string | undefined; - /** 保留字段1 */ default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -73628,7 +115781,7 @@ export class IcsItemModel2CheckGroupListDto implements IIcsItemModel2CheckGroupL creatorUserId: string | undefined; id: number; - constructor(data?: IIcsItemModel2CheckGroupListDto) { + constructor(data?: IIcsShiftListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -73639,15 +115792,16 @@ export class IcsItemModel2CheckGroupListDto implements IIcsItemModel2CheckGroupL init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.checkGroupID = _data["checkGroupID"]; - this.itemModelCode = _data["itemModelCode"]; - this.checkGroupCode = _data["checkGroupCode"]; - this.checkGroupName = _data["checkGroupName"]; - this.checkGroupDesc = _data["checkGroupDesc"]; - this.itemModelType = _data["itemModelType"]; - this.itemModelTypeText = _data["itemModelTypeText"]; - this.seq = _data["seq"]; + this.shiftTypeCode = _data["shiftTypeCode"]; + this.shiftTypeDesc = _data["shiftTypeDesc"]; + this.shiftCode = _data["shiftCode"]; + this.shiftTypeId = _data["shiftTypeId"]; + this.shiftSeq = _data["shiftSeq"]; + this.shiftName = _data["shiftName"]; + this.shiftDesc = _data["shiftDesc"]; + this.shiftBTime = _data["shiftBTime"]; + this.shiftETime = _data["shiftETime"]; + this.isOverDay = _data["isOverDay"]; this.memo = _data["memo"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; @@ -73669,24 +115823,25 @@ export class IcsItemModel2CheckGroupListDto implements IIcsItemModel2CheckGroupL } } - static fromJS(data: any): IcsItemModel2CheckGroupListDto { + static fromJS(data: any): IcsShiftListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsItemModel2CheckGroupListDto(); + let result = new IcsShiftListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["checkGroupID"] = this.checkGroupID; - data["itemModelCode"] = this.itemModelCode; - data["checkGroupCode"] = this.checkGroupCode; - data["checkGroupName"] = this.checkGroupName; - data["checkGroupDesc"] = this.checkGroupDesc; - data["itemModelType"] = this.itemModelType; - data["itemModelTypeText"] = this.itemModelTypeText; - data["seq"] = this.seq; + data["shiftTypeCode"] = this.shiftTypeCode; + data["shiftTypeDesc"] = this.shiftTypeDesc; + data["shiftCode"] = this.shiftCode; + data["shiftTypeId"] = this.shiftTypeId; + data["shiftSeq"] = this.shiftSeq; + data["shiftName"] = this.shiftName; + data["shiftDesc"] = this.shiftDesc; + data["shiftBTime"] = this.shiftBTime; + data["shiftETime"] = this.shiftETime; + data["isOverDay"] = this.isOverDay; data["memo"] = this.memo; data["default1"] = this.default1; data["default2"] = this.default2; @@ -73708,112 +115863,160 @@ export class IcsItemModel2CheckGroupListDto implements IIcsItemModel2CheckGroupL return data; } - clone(): IcsItemModel2CheckGroupListDto { + clone(): IcsShiftListDto { + const json = this.toJSON(); + let result = new IcsShiftListDto(); + result.init(json); + return result; + } +} + +export interface IIcsShiftListDto { + shiftTypeCode: string | undefined; + shiftTypeDesc: string | undefined; + shiftCode: string | undefined; + shiftTypeId: number; + shiftSeq: number; + shiftName: string | undefined; + shiftDesc: string | undefined; + shiftBTime: string | undefined; + shiftETime: string | undefined; + isOverDay: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; +} + +export class IcsShiftTypeEditDto implements IIcsShiftTypeEditDto { + id: number | undefined; + shiftTypeCode: string; + shiftTypeName: string; + shiftTypeDesc: string | undefined; + effDate: moment.Moment; + ivlDate: moment.Moment; + memo: string | undefined; + defaulT1: string | undefined; + defaulT2: string | undefined; + defaulT3: string | undefined; + defaulT4: string | undefined; + defaulT5: string | undefined; + defaulT6: string | undefined; + defaulT7: string | undefined; + defaulT8: string | undefined; + defaulT9: string | undefined; + defaulT10: string | undefined; + + constructor(data?: IIcsShiftTypeEditDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.id = _data["id"]; + this.shiftTypeCode = _data["shiftTypeCode"]; + this.shiftTypeName = _data["shiftTypeName"]; + this.shiftTypeDesc = _data["shiftTypeDesc"]; + this.effDate = _data["effDate"] ? moment(_data["effDate"].toString()) : undefined; + this.ivlDate = _data["ivlDate"] ? moment(_data["ivlDate"].toString()) : undefined; + this.memo = _data["memo"]; + this.defaulT1 = _data["defaulT1"]; + this.defaulT2 = _data["defaulT2"]; + this.defaulT3 = _data["defaulT3"]; + this.defaulT4 = _data["defaulT4"]; + this.defaulT5 = _data["defaulT5"]; + this.defaulT6 = _data["defaulT6"]; + this.defaulT7 = _data["defaulT7"]; + this.defaulT8 = _data["defaulT8"]; + this.defaulT9 = _data["defaulT9"]; + this.defaulT10 = _data["defaulT10"]; + } + } + + static fromJS(data: any): IcsShiftTypeEditDto { + data = typeof data === 'object' ? data : {}; + let result = new IcsShiftTypeEditDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["id"] = this.id; + data["shiftTypeCode"] = this.shiftTypeCode; + data["shiftTypeName"] = this.shiftTypeName; + data["shiftTypeDesc"] = this.shiftTypeDesc; + data["effDate"] = this.effDate ? this.effDate.toISOString() : undefined; + data["ivlDate"] = this.ivlDate ? this.ivlDate.toISOString() : undefined; + data["memo"] = this.memo; + data["defaulT1"] = this.defaulT1; + data["defaulT2"] = this.defaulT2; + data["defaulT3"] = this.defaulT3; + data["defaulT4"] = this.defaulT4; + data["defaulT5"] = this.defaulT5; + data["defaulT6"] = this.defaulT6; + data["defaulT7"] = this.defaulT7; + data["defaulT8"] = this.defaulT8; + data["defaulT9"] = this.defaulT9; + data["defaulT10"] = this.defaulT10; + return data; + } + + clone(): IcsShiftTypeEditDto { const json = this.toJSON(); - let result = new IcsItemModel2CheckGroupListDto(); + let result = new IcsShiftTypeEditDto(); result.init(json); return result; } } -export interface IIcsItemModel2CheckGroupListDto { - key: string | undefined; - /** 检验项目组 */ - checkGroupID: number; - /** 型号编号 */ - itemModelCode: string | undefined; - /** 检验类型编码 */ - checkGroupCode: string | undefined; - checkGroupName: string | undefined; - checkGroupDesc: string | undefined; - /** 类型维度 */ - itemModelType: string | undefined; - itemModelTypeText: string | undefined; - /** 次序 */ - seq: number; - /** 备注 */ +export interface IIcsShiftTypeEditDto { + id: number | undefined; + shiftTypeCode: string; + shiftTypeName: string; + shiftTypeDesc: string | undefined; + effDate: moment.Moment; + ivlDate: moment.Moment; memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; + defaulT1: string | undefined; + defaulT2: string | undefined; + defaulT3: string | undefined; + defaulT4: string | undefined; + defaulT5: string | undefined; + defaulT6: string | undefined; + defaulT7: string | undefined; + defaulT8: string | undefined; + defaulT9: string | undefined; + defaulT10: string | undefined; } -export class IcsItemOp2CheckItemEditDto implements IIcsItemOp2CheckItemEditDto { - key: string | undefined; - id: number | undefined; - /** 产品 */ - itemId: number; - /** 工序 */ - opId: number; - /** 产品编码 */ - itemCode: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 检验项目代码 */ - checkItemCode: string | undefined; - /** 检验项目规格 */ - checkItemStd: string | undefined; - checkItemListDtos: IcsCheckItemListDto[] | undefined; - /** 检验次序 */ - seq: number; - /** 单位 */ - unit: string | undefined; - /** 最大设定值 */ - setValueMax: string | undefined; - /** 最小设定值 */ - setValueMin: string | undefined; - /** 让步最大设定值 */ - exemptionValueMax: string | undefined; - /** 让步最小设定值 */ - exemptionValueMin: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; +export class IcsShiftTypeImportDto implements IIcsShiftTypeImportDto { + shiftTypeCode: string; + shiftTypeName: string; + shiftTypeDesc: string; + effDate: moment.Moment; + ivlDate: moment.Moment; - constructor(data?: IIcsItemOp2CheckItemEditDto) { + constructor(data?: IIcsShiftTypeImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -73824,191 +116027,63 @@ export class IcsItemOp2CheckItemEditDto implements IIcsItemOp2CheckItemEditDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.id = _data["id"]; - this.itemId = _data["itemId"]; - this.opId = _data["opId"]; - this.itemCode = _data["itemCode"]; - this.opCode = _data["opCode"]; - this.checkItemCode = _data["checkItemCode"]; - this.checkItemStd = _data["checkItemStd"]; - if (Array.isArray(_data["checkItemListDtos"])) { - this.checkItemListDtos = [] as any; - for (let item of _data["checkItemListDtos"]) - this.checkItemListDtos.push(IcsCheckItemListDto.fromJS(item)); - } - this.seq = _data["seq"]; - this.unit = _data["unit"]; - this.setValueMax = _data["setValueMax"]; - this.setValueMin = _data["setValueMin"]; - this.exemptionValueMax = _data["exemptionValueMax"]; - this.exemptionValueMin = _data["exemptionValueMin"]; - this.memo = _data["memo"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; + this.shiftTypeCode = _data["shiftTypeCode"]; + this.shiftTypeName = _data["shiftTypeName"]; + this.shiftTypeDesc = _data["shiftTypeDesc"]; + this.effDate = _data["effDate"] ? moment(_data["effDate"].toString()) : undefined; + this.ivlDate = _data["ivlDate"] ? moment(_data["ivlDate"].toString()) : undefined; } } - static fromJS(data: any): IcsItemOp2CheckItemEditDto { + static fromJS(data: any): IcsShiftTypeImportDto { data = typeof data === 'object' ? data : {}; - let result = new IcsItemOp2CheckItemEditDto(); + let result = new IcsShiftTypeImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["id"] = this.id; - data["itemId"] = this.itemId; - data["opId"] = this.opId; - data["itemCode"] = this.itemCode; - data["opCode"] = this.opCode; - data["checkItemCode"] = this.checkItemCode; - data["checkItemStd"] = this.checkItemStd; - if (Array.isArray(this.checkItemListDtos)) { - data["checkItemListDtos"] = []; - for (let item of this.checkItemListDtos) - data["checkItemListDtos"].push(item.toJSON()); - } - data["seq"] = this.seq; - data["unit"] = this.unit; - data["setValueMax"] = this.setValueMax; - data["setValueMin"] = this.setValueMin; - data["exemptionValueMax"] = this.exemptionValueMax; - data["exemptionValueMin"] = this.exemptionValueMin; - data["memo"] = this.memo; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; + data["shiftTypeCode"] = this.shiftTypeCode; + data["shiftTypeName"] = this.shiftTypeName; + data["shiftTypeDesc"] = this.shiftTypeDesc; + data["effDate"] = this.effDate ? this.effDate.toISOString() : undefined; + data["ivlDate"] = this.ivlDate ? this.ivlDate.toISOString() : undefined; return data; } - clone(): IcsItemOp2CheckItemEditDto { + clone(): IcsShiftTypeImportDto { const json = this.toJSON(); - let result = new IcsItemOp2CheckItemEditDto(); + let result = new IcsShiftTypeImportDto(); result.init(json); return result; } } -export interface IIcsItemOp2CheckItemEditDto { - key: string | undefined; - id: number | undefined; - /** 产品 */ - itemId: number; - /** 工序 */ - opId: number; - /** 产品编码 */ - itemCode: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 检验项目代码 */ - checkItemCode: string | undefined; - /** 检验项目规格 */ - checkItemStd: string | undefined; - checkItemListDtos: IcsCheckItemListDto[] | undefined; - /** 检验次序 */ - seq: number; - /** 单位 */ - unit: string | undefined; - /** 最大设定值 */ - setValueMax: string | undefined; - /** 最小设定值 */ - setValueMin: string | undefined; - /** 让步最大设定值 */ - exemptionValueMax: string | undefined; - /** 让步最小设定值 */ - exemptionValueMin: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; +export interface IIcsShiftTypeImportDto { + shiftTypeCode: string; + shiftTypeName: string; + shiftTypeDesc: string; + effDate: moment.Moment; + ivlDate: moment.Moment; } -export class IcsItemOp2CheckItemListDto implements IIcsItemOp2CheckItemListDto { - key: string | undefined; - /** 产品 */ - itemId: number; - /** 工序 */ - opId: number; - /** 产品编码 */ - itemCode: string | undefined; - itemName: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - opName: string | undefined; - /** 检验项目代码 */ - checkItemCode: string | undefined; - checkItemName: string | undefined; - /** 检验项目规格 */ - checkItemStd: string | undefined; - /** 检验次序 */ - seq: number; - /** 单位 */ - unit: string | undefined; - /** 最大设定值 */ - setValueMax: string | undefined; - /** 最小设定值 */ - setValueMin: string | undefined; - /** 让步最大设定值 */ - exemptionValueMax: string | undefined; - /** 让步最小设定值 */ - exemptionValueMin: string | undefined; - /** 备注 */ +export class IcsShiftTypeListDto implements IIcsShiftTypeListDto { + shiftTypeCode: string | undefined; + shiftTypeName: string | undefined; + shiftTypeDesc: string | undefined; + effDate: moment.Moment; + ivlDate: moment.Moment; memo: string | undefined; - /** 保留字段1 */ default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -74018,7 +116093,7 @@ export class IcsItemOp2CheckItemListDto implements IIcsItemOp2CheckItemListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsItemOp2CheckItemListDto) { + constructor(data?: IIcsShiftTypeListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -74029,22 +116104,11 @@ export class IcsItemOp2CheckItemListDto implements IIcsItemOp2CheckItemListDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.itemId = _data["itemId"]; - this.opId = _data["opId"]; - this.itemCode = _data["itemCode"]; - this.itemName = _data["itemName"]; - this.opCode = _data["opCode"]; - this.opName = _data["opName"]; - this.checkItemCode = _data["checkItemCode"]; - this.checkItemName = _data["checkItemName"]; - this.checkItemStd = _data["checkItemStd"]; - this.seq = _data["seq"]; - this.unit = _data["unit"]; - this.setValueMax = _data["setValueMax"]; - this.setValueMin = _data["setValueMin"]; - this.exemptionValueMax = _data["exemptionValueMax"]; - this.exemptionValueMin = _data["exemptionValueMin"]; + this.shiftTypeCode = _data["shiftTypeCode"]; + this.shiftTypeName = _data["shiftTypeName"]; + this.shiftTypeDesc = _data["shiftTypeDesc"]; + this.effDate = _data["effDate"] ? moment(_data["effDate"].toString()) : undefined; + this.ivlDate = _data["ivlDate"] ? moment(_data["ivlDate"].toString()) : undefined; this.memo = _data["memo"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; @@ -74066,31 +116130,20 @@ export class IcsItemOp2CheckItemListDto implements IIcsItemOp2CheckItemListDto { } } - static fromJS(data: any): IcsItemOp2CheckItemListDto { + static fromJS(data: any): IcsShiftTypeListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsItemOp2CheckItemListDto(); + let result = new IcsShiftTypeListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["itemId"] = this.itemId; - data["opId"] = this.opId; - data["itemCode"] = this.itemCode; - data["itemName"] = this.itemName; - data["opCode"] = this.opCode; - data["opName"] = this.opName; - data["checkItemCode"] = this.checkItemCode; - data["checkItemName"] = this.checkItemName; - data["checkItemStd"] = this.checkItemStd; - data["seq"] = this.seq; - data["unit"] = this.unit; - data["setValueMax"] = this.setValueMax; - data["setValueMin"] = this.setValueMin; - data["exemptionValueMax"] = this.exemptionValueMax; - data["exemptionValueMin"] = this.exemptionValueMin; + data["shiftTypeCode"] = this.shiftTypeCode; + data["shiftTypeName"] = this.shiftTypeName; + data["shiftTypeDesc"] = this.shiftTypeDesc; + data["effDate"] = this.effDate ? this.effDate.toISOString() : undefined; + data["ivlDate"] = this.ivlDate ? this.ivlDate.toISOString() : undefined; data["memo"] = this.memo; data["default1"] = this.default1; data["default2"] = this.default2; @@ -74112,64 +116165,30 @@ export class IcsItemOp2CheckItemListDto implements IIcsItemOp2CheckItemListDto { return data; } - clone(): IcsItemOp2CheckItemListDto { + clone(): IcsShiftTypeListDto { const json = this.toJSON(); - let result = new IcsItemOp2CheckItemListDto(); + let result = new IcsShiftTypeListDto(); result.init(json); return result; } } -export interface IIcsItemOp2CheckItemListDto { - key: string | undefined; - /** 产品 */ - itemId: number; - /** 工序 */ - opId: number; - /** 产品编码 */ - itemCode: string | undefined; - itemName: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - opName: string | undefined; - /** 检验项目代码 */ - checkItemCode: string | undefined; - checkItemName: string | undefined; - /** 检验项目规格 */ - checkItemStd: string | undefined; - /** 检验次序 */ - seq: number; - /** 单位 */ - unit: string | undefined; - /** 最大设定值 */ - setValueMax: string | undefined; - /** 最小设定值 */ - setValueMin: string | undefined; - /** 让步最大设定值 */ - exemptionValueMax: string | undefined; - /** 让步最小设定值 */ - exemptionValueMin: string | undefined; - /** 备注 */ +export interface IIcsShiftTypeListDto { + shiftTypeCode: string | undefined; + shiftTypeName: string | undefined; + shiftTypeDesc: string | undefined; + effDate: moment.Moment; + ivlDate: moment.Moment; memo: string | undefined; - /** 保留字段1 */ default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -74180,35 +116199,15 @@ export interface IIcsItemOp2CheckItemListDto { id: number; } -export class IcsItemRoute2OpEditDto implements IIcsItemRoute2OpEditDto { +export class IcsSolutionEditDto implements IIcsSolutionEditDto { id: number | undefined; - /** 产品 */ - itemId: number; - /** 途程 */ - routeId: number; - /** 工序 */ - opId: number; - /** 产品代码 */ - itemCode: string | undefined; - /** 途程代码 */ - routeCode: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 工序在途程中的次序 */ - opSeq: number; - /** 工序类型记录,15位长的字符串记录工序类型,每一位中: 1: 是, 0: 否 */ - opControl: string | undefined; - /** 可选线外工序(可扫可不扫) */ - optionalOp: string | undefined; - /** 序列号转换类型 idmergetype_idmerge: 序列号转换, idmergetype_router: 分板 */ - idMergeType: string | undefined; - /** 分板比例 */ - idMergeRule: number; - /** 工序等级(A,B,C,D,E) */ - opLevel: string | undefined; - opControlSeq: number; + solCode: string | undefined; + solName: string | undefined; + solDesc: string | undefined; + solImp: string | undefined; + memo: string | undefined; - constructor(data?: IIcsItemRoute2OpEditDto) { + constructor(data?: IIcsSolutionEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -74220,25 +116219,17 @@ export class IcsItemRoute2OpEditDto implements IIcsItemRoute2OpEditDto { init(_data?: any) { if (_data) { this.id = _data["id"]; - this.itemId = _data["itemId"]; - this.routeId = _data["routeId"]; - this.opId = _data["opId"]; - this.itemCode = _data["itemCode"]; - this.routeCode = _data["routeCode"]; - this.opCode = _data["opCode"]; - this.opSeq = _data["opSeq"]; - this.opControl = _data["opControl"]; - this.optionalOp = _data["optionalOp"]; - this.idMergeType = _data["idMergeType"]; - this.idMergeRule = _data["idMergeRule"]; - this.opLevel = _data["opLevel"]; - this.opControlSeq = _data["opControlSeq"]; + this.solCode = _data["solCode"]; + this.solName = _data["solName"]; + this.solDesc = _data["solDesc"]; + this.solImp = _data["solImp"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): IcsItemRoute2OpEditDto { + static fromJS(data: any): IcsSolutionEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsItemRoute2OpEditDto(); + let result = new IcsSolutionEditDto(); result.init(data); return result; } @@ -74246,85 +116237,96 @@ export class IcsItemRoute2OpEditDto implements IIcsItemRoute2OpEditDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["id"] = this.id; - data["itemId"] = this.itemId; - data["routeId"] = this.routeId; - data["opId"] = this.opId; - data["itemCode"] = this.itemCode; - data["routeCode"] = this.routeCode; - data["opCode"] = this.opCode; - data["opSeq"] = this.opSeq; - data["opControl"] = this.opControl; - data["optionalOp"] = this.optionalOp; - data["idMergeType"] = this.idMergeType; - data["idMergeRule"] = this.idMergeRule; - data["opLevel"] = this.opLevel; - data["opControlSeq"] = this.opControlSeq; + data["solCode"] = this.solCode; + data["solName"] = this.solName; + data["solDesc"] = this.solDesc; + data["solImp"] = this.solImp; + data["memo"] = this.memo; return data; } - clone(): IcsItemRoute2OpEditDto { + clone(): IcsSolutionEditDto { const json = this.toJSON(); - let result = new IcsItemRoute2OpEditDto(); + let result = new IcsSolutionEditDto(); result.init(json); return result; } } -export interface IIcsItemRoute2OpEditDto { +export interface IIcsSolutionEditDto { id: number | undefined; - /** 产品 */ - itemId: number; - /** 途程 */ - routeId: number; - /** 工序 */ - opId: number; - /** 产品代码 */ - itemCode: string | undefined; - /** 途程代码 */ - routeCode: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 工序在途程中的次序 */ - opSeq: number; - /** 工序类型记录,15位长的字符串记录工序类型,每一位中: 1: 是, 0: 否 */ - opControl: string | undefined; - /** 可选线外工序(可扫可不扫) */ - optionalOp: string | undefined; - /** 序列号转换类型 idmergetype_idmerge: 序列号转换, idmergetype_router: 分板 */ - idMergeType: string | undefined; - /** 分板比例 */ - idMergeRule: number; - /** 工序等级(A,B,C,D,E) */ - opLevel: string | undefined; - opControlSeq: number; + solCode: string | undefined; + solName: string | undefined; + solDesc: string | undefined; + solImp: string | undefined; + memo: string | undefined; } -export class IcsItemRoute2OpListDto implements IIcsItemRoute2OpListDto { - key: string | undefined; - /** 产品 */ - itemId: number; - /** 途程 */ - routeId: number; - /** 工序 */ - opId: number; - /** 产品代码 */ - itemCode: string | undefined; - /** 途程代码 */ - routeCode: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 工序在途程中的次序 */ - opSeq: number; - /** 工序类型记录,15位长的字符串记录工序类型,每一位中: 1: 是, 0: 否 */ - opControl: string | undefined; - /** 可选线外工序(可扫可不扫) */ - optionalOp: string | undefined; - /** 序列号转换类型 idmergetype_idmerge: 序列号转换, idmergetype_router: 分板 */ - idMergeType: string | undefined; - /** 分板比例 */ - idMergeRule: number; - /** 工序等级(A,B,C,D,E) */ - opLevel: string | undefined; +export class IcsSolutionImportDto implements IIcsSolutionImportDto { + solCode: string; + solName: string; + solDesc: string | undefined; + solImp: string | undefined; + memo: string | undefined; + + constructor(data?: IIcsSolutionImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.solCode = _data["solCode"]; + this.solName = _data["solName"]; + this.solDesc = _data["solDesc"]; + this.solImp = _data["solImp"]; + this.memo = _data["memo"]; + } + } + + static fromJS(data: any): IcsSolutionImportDto { + data = typeof data === 'object' ? data : {}; + let result = new IcsSolutionImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["solCode"] = this.solCode; + data["solName"] = this.solName; + data["solDesc"] = this.solDesc; + data["solImp"] = this.solImp; + data["memo"] = this.memo; + return data; + } + + clone(): IcsSolutionImportDto { + const json = this.toJSON(); + let result = new IcsSolutionImportDto(); + result.init(json); + return result; + } +} + +export interface IIcsSolutionImportDto { + solCode: string; + solName: string; + solDesc: string | undefined; + solImp: string | undefined; + memo: string | undefined; +} + +export class IcsSolutionListDto implements IIcsSolutionListDto { + solCode: string | undefined; + solName: string | undefined; + solDesc: string | undefined; + solImp: string | undefined; + memo: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -74333,7 +116335,7 @@ export class IcsItemRoute2OpListDto implements IIcsItemRoute2OpListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsItemRoute2OpListDto) { + constructor(data?: IIcsSolutionListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -74344,19 +116346,11 @@ export class IcsItemRoute2OpListDto implements IIcsItemRoute2OpListDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.itemId = _data["itemId"]; - this.routeId = _data["routeId"]; - this.opId = _data["opId"]; - this.itemCode = _data["itemCode"]; - this.routeCode = _data["routeCode"]; - this.opCode = _data["opCode"]; - this.opSeq = _data["opSeq"]; - this.opControl = _data["opControl"]; - this.optionalOp = _data["optionalOp"]; - this.idMergeType = _data["idMergeType"]; - this.idMergeRule = _data["idMergeRule"]; - this.opLevel = _data["opLevel"]; + this.solCode = _data["solCode"]; + this.solName = _data["solName"]; + this.solDesc = _data["solDesc"]; + this.solImp = _data["solImp"]; + this.memo = _data["memo"]; this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; @@ -74367,28 +116361,20 @@ export class IcsItemRoute2OpListDto implements IIcsItemRoute2OpListDto { } } - static fromJS(data: any): IcsItemRoute2OpListDto { + static fromJS(data: any): IcsSolutionListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsItemRoute2OpListDto(); + let result = new IcsSolutionListDto(); result.init(data); return result; } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["itemId"] = this.itemId; - data["routeId"] = this.routeId; - data["opId"] = this.opId; - data["itemCode"] = this.itemCode; - data["routeCode"] = this.routeCode; - data["opCode"] = this.opCode; - data["opSeq"] = this.opSeq; - data["opControl"] = this.opControl; - data["optionalOp"] = this.optionalOp; - data["idMergeType"] = this.idMergeType; - data["idMergeRule"] = this.idMergeRule; - data["opLevel"] = this.opLevel; + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["solCode"] = this.solCode; + data["solName"] = this.solName; + data["solDesc"] = this.solDesc; + data["solImp"] = this.solImp; + data["memo"] = this.memo; data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; @@ -74399,40 +116385,20 @@ export class IcsItemRoute2OpListDto implements IIcsItemRoute2OpListDto { return data; } - clone(): IcsItemRoute2OpListDto { + clone(): IcsSolutionListDto { const json = this.toJSON(); - let result = new IcsItemRoute2OpListDto(); + let result = new IcsSolutionListDto(); result.init(json); return result; } } -export interface IIcsItemRoute2OpListDto { - key: string | undefined; - /** 产品 */ - itemId: number; - /** 途程 */ - routeId: number; - /** 工序 */ - opId: number; - /** 产品代码 */ - itemCode: string | undefined; - /** 途程代码 */ - routeCode: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 工序在途程中的次序 */ - opSeq: number; - /** 工序类型记录,15位长的字符串记录工序类型,每一位中: 1: 是, 0: 否 */ - opControl: string | undefined; - /** 可选线外工序(可扫可不扫) */ - optionalOp: string | undefined; - /** 序列号转换类型 idmergetype_idmerge: 序列号转换, idmergetype_router: 分板 */ - idMergeType: string | undefined; - /** 分板比例 */ - idMergeRule: number; - /** 工序等级(A,B,C,D,E) */ - opLevel: string | undefined; +export interface IIcsSolutionListDto { + solCode: string | undefined; + solName: string | undefined; + solDesc: string | undefined; + solImp: string | undefined; + memo: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -74442,108 +116408,34 @@ export interface IIcsItemRoute2OpListDto { id: number; } -export class IcsLotOnWipDto implements IIcsLotOnWipDto { - key: string | undefined; +export class IcsStandardWhoursEditDto implements IIcsStandardWhoursEditDto { id: number | undefined; - onWipID: number | undefined; - onWipDetailID: number | undefined; - /** 序列号 */ - lotNo: string | undefined; - /** 产品序列号流水号 */ - lotSeq: number | undefined; - /** 工单代码 */ - moCode: string | undefined; - /** 工单流水号 */ - moSeq: number | undefined; - /** 转换前的产品序列号 */ - tLotNo: string | undefined; - /** 转换前的产品序列号流水号 */ - tLotSeq: number | undefined; - /** 第一个产品序列号 */ - sLotNo: string | undefined; - /** 第一个产品序列号流水号 */ - sLotSeq: number | undefined; - /** 采集流水号 */ - seq: number | undefined; - /** 产品别代码 */ - modelCode: string | undefined; - /** 产品编码 */ itemCode: string | undefined; - itemName: string | undefined; - itemDesc: string | undefined; - /** 当前Lot数量 */ - lotQty: number; - /** 流转数量 */ - collectQty: number; - /** 当前Lot中良品数量 */ - goodQty: number; - /** 当前Lot中不良数量 */ - ngQty: number; - /** 途程代码 */ - routeCode: string | undefined; - resCode: string | undefined; - resName: string | undefined; - /** 工序代码 */ opCode: string | undefined; - opSeq: number; - opName: string | undefined; - /** 车间代码 */ - segCode: string | undefined; - /** 车间代码 */ - ssCode: string | undefined; - crewCode: string | undefined; - mcCode: string | undefined; - mcName: string | undefined; - ssName: string | undefined; - eqpCode: string | undefined; - eqpName: string | undefined; - dispatchEqpCode: string | undefined; - dispatchEqpName: string | undefined; - /** 过帐事件代码 */ - action: string | undefined; - /** 过帐事件结果 */ - actionResult: string | undefined; - /** NG总次数 */ - ngTimes: number | undefined; - /** 采集状态 */ - collectStatus: string | undefined; - /** 老化车号 */ - shelfNo: string | undefined; - /** RMA代码 */ - rmaBillCode: string | undefined; - /** 是否做过产量计算 */ - processed: string | undefined; - userCode: string | undefined; - userName: string | undefined; - needFirstCheck: boolean; - /** 备注 */ + eqpTypeCode: string | undefined; + eqpModelCode: string | undefined; + sTime: number; + rTime: number; + effectDate: moment.Moment; + expriyDate: moment.Moment; + status: string | undefined; memo: string | undefined; - /** 保留字段1 */ + isRef: string | undefined; + checkUserId: string | undefined; + checkUserName: string | undefined; + checkTime: moment.Moment | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 完工测试数据(机架行业) */ - testDataList: IcsLotTestDataDto[] | undefined; - /** 完工外观检验项(机架行业) */ - checkItemList: IcsLotTestDataDto[] | undefined; - constructor(data?: IIcsLotOnWipDto) { + constructor(data?: IIcsStandardWhoursEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -74554,54 +116446,21 @@ export class IcsLotOnWipDto implements IIcsLotOnWipDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; this.id = _data["id"]; - this.onWipID = _data["onWipID"]; - this.onWipDetailID = _data["onWipDetailID"]; - this.lotNo = _data["lotNo"]; - this.lotSeq = _data["lotSeq"]; - this.moCode = _data["moCode"]; - this.moSeq = _data["moSeq"]; - this.tLotNo = _data["tLotNo"]; - this.tLotSeq = _data["tLotSeq"]; - this.sLotNo = _data["sLotNo"]; - this.sLotSeq = _data["sLotSeq"]; - this.seq = _data["seq"]; - this.modelCode = _data["modelCode"]; this.itemCode = _data["itemCode"]; - this.itemName = _data["itemName"]; - this.itemDesc = _data["itemDesc"]; - this.lotQty = _data["lotQty"]; - this.collectQty = _data["collectQty"]; - this.goodQty = _data["goodQty"]; - this.ngQty = _data["ngQty"]; - this.routeCode = _data["routeCode"]; - this.resCode = _data["resCode"]; - this.resName = _data["resName"]; this.opCode = _data["opCode"]; - this.opSeq = _data["opSeq"]; - this.opName = _data["opName"]; - this.segCode = _data["segCode"]; - this.ssCode = _data["ssCode"]; - this.crewCode = _data["crewCode"]; - this.mcCode = _data["mcCode"]; - this.mcName = _data["mcName"]; - this.ssName = _data["ssName"]; - this.eqpCode = _data["eqpCode"]; - this.eqpName = _data["eqpName"]; - this.dispatchEqpCode = _data["dispatchEqpCode"]; - this.dispatchEqpName = _data["dispatchEqpName"]; - this.action = _data["action"]; - this.actionResult = _data["actionResult"]; - this.ngTimes = _data["ngTimes"]; - this.collectStatus = _data["collectStatus"]; - this.shelfNo = _data["shelfNo"]; - this.rmaBillCode = _data["rmaBillCode"]; - this.processed = _data["processed"]; - this.userCode = _data["userCode"]; - this.userName = _data["userName"]; - this.needFirstCheck = _data["needFirstCheck"]; + this.eqpTypeCode = _data["eqpTypeCode"]; + this.eqpModelCode = _data["eqpModelCode"]; + this.sTime = _data["sTime"]; + this.rTime = _data["rTime"]; + this.effectDate = _data["effectDate"] ? moment(_data["effectDate"].toString()) : undefined; + this.expriyDate = _data["expriyDate"] ? moment(_data["expriyDate"].toString()) : undefined; + this.status = _data["status"]; this.memo = _data["memo"]; + this.isRef = _data["isRef"]; + this.checkUserId = _data["checkUserId"]; + this.checkUserName = _data["checkUserName"]; + this.checkTime = _data["checkTime"] ? moment(_data["checkTime"].toString()) : undefined; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; @@ -74612,76 +116471,33 @@ export class IcsLotOnWipDto implements IIcsLotOnWipDto { this.default8 = _data["default8"]; this.default9 = _data["default9"]; this.default10 = _data["default10"]; - if (Array.isArray(_data["testDataList"])) { - this.testDataList = [] as any; - for (let item of _data["testDataList"]) - this.testDataList.push(IcsLotTestDataDto.fromJS(item)); - } - if (Array.isArray(_data["checkItemList"])) { - this.checkItemList = [] as any; - for (let item of _data["checkItemList"]) - this.checkItemList.push(IcsLotTestDataDto.fromJS(item)); - } } } - static fromJS(data: any): IcsLotOnWipDto { + static fromJS(data: any): IcsStandardWhoursEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsLotOnWipDto(); + let result = new IcsStandardWhoursEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; data["id"] = this.id; - data["onWipID"] = this.onWipID; - data["onWipDetailID"] = this.onWipDetailID; - data["lotNo"] = this.lotNo; - data["lotSeq"] = this.lotSeq; - data["moCode"] = this.moCode; - data["moSeq"] = this.moSeq; - data["tLotNo"] = this.tLotNo; - data["tLotSeq"] = this.tLotSeq; - data["sLotNo"] = this.sLotNo; - data["sLotSeq"] = this.sLotSeq; - data["seq"] = this.seq; - data["modelCode"] = this.modelCode; data["itemCode"] = this.itemCode; - data["itemName"] = this.itemName; - data["itemDesc"] = this.itemDesc; - data["lotQty"] = this.lotQty; - data["collectQty"] = this.collectQty; - data["goodQty"] = this.goodQty; - data["ngQty"] = this.ngQty; - data["routeCode"] = this.routeCode; - data["resCode"] = this.resCode; - data["resName"] = this.resName; data["opCode"] = this.opCode; - data["opSeq"] = this.opSeq; - data["opName"] = this.opName; - data["segCode"] = this.segCode; - data["ssCode"] = this.ssCode; - data["crewCode"] = this.crewCode; - data["mcCode"] = this.mcCode; - data["mcName"] = this.mcName; - data["ssName"] = this.ssName; - data["eqpCode"] = this.eqpCode; - data["eqpName"] = this.eqpName; - data["dispatchEqpCode"] = this.dispatchEqpCode; - data["dispatchEqpName"] = this.dispatchEqpName; - data["action"] = this.action; - data["actionResult"] = this.actionResult; - data["ngTimes"] = this.ngTimes; - data["collectStatus"] = this.collectStatus; - data["shelfNo"] = this.shelfNo; - data["rmaBillCode"] = this.rmaBillCode; - data["processed"] = this.processed; - data["userCode"] = this.userCode; - data["userName"] = this.userName; - data["needFirstCheck"] = this.needFirstCheck; + data["eqpTypeCode"] = this.eqpTypeCode; + data["eqpModelCode"] = this.eqpModelCode; + data["sTime"] = this.sTime; + data["rTime"] = this.rTime; + data["effectDate"] = this.effectDate ? this.effectDate.toISOString() : undefined; + data["expriyDate"] = this.expriyDate ? this.expriyDate.toISOString() : undefined; + data["status"] = this.status; data["memo"] = this.memo; + data["isRef"] = this.isRef; + data["checkUserId"] = this.checkUserId; + data["checkUserName"] = this.checkUserName; + data["checkTime"] = this.checkTime ? this.checkTime.toISOString() : undefined; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; @@ -74692,158 +116508,58 @@ export class IcsLotOnWipDto implements IIcsLotOnWipDto { data["default8"] = this.default8; data["default9"] = this.default9; data["default10"] = this.default10; - if (Array.isArray(this.testDataList)) { - data["testDataList"] = []; - for (let item of this.testDataList) - data["testDataList"].push(item.toJSON()); - } - if (Array.isArray(this.checkItemList)) { - data["checkItemList"] = []; - for (let item of this.checkItemList) - data["checkItemList"].push(item.toJSON()); - } return data; } - clone(): IcsLotOnWipDto { + clone(): IcsStandardWhoursEditDto { const json = this.toJSON(); - let result = new IcsLotOnWipDto(); + let result = new IcsStandardWhoursEditDto(); result.init(json); return result; } } -export interface IIcsLotOnWipDto { - key: string | undefined; +export interface IIcsStandardWhoursEditDto { id: number | undefined; - onWipID: number | undefined; - onWipDetailID: number | undefined; - /** 序列号 */ - lotNo: string | undefined; - /** 产品序列号流水号 */ - lotSeq: number | undefined; - /** 工单代码 */ - moCode: string | undefined; - /** 工单流水号 */ - moSeq: number | undefined; - /** 转换前的产品序列号 */ - tLotNo: string | undefined; - /** 转换前的产品序列号流水号 */ - tLotSeq: number | undefined; - /** 第一个产品序列号 */ - sLotNo: string | undefined; - /** 第一个产品序列号流水号 */ - sLotSeq: number | undefined; - /** 采集流水号 */ - seq: number | undefined; - /** 产品别代码 */ - modelCode: string | undefined; - /** 产品编码 */ itemCode: string | undefined; - itemName: string | undefined; - itemDesc: string | undefined; - /** 当前Lot数量 */ - lotQty: number; - /** 流转数量 */ - collectQty: number; - /** 当前Lot中良品数量 */ - goodQty: number; - /** 当前Lot中不良数量 */ - ngQty: number; - /** 途程代码 */ - routeCode: string | undefined; - resCode: string | undefined; - resName: string | undefined; - /** 工序代码 */ opCode: string | undefined; - opSeq: number; - opName: string | undefined; - /** 车间代码 */ - segCode: string | undefined; - /** 车间代码 */ - ssCode: string | undefined; - crewCode: string | undefined; - mcCode: string | undefined; - mcName: string | undefined; - ssName: string | undefined; - eqpCode: string | undefined; - eqpName: string | undefined; - dispatchEqpCode: string | undefined; - dispatchEqpName: string | undefined; - /** 过帐事件代码 */ - action: string | undefined; - /** 过帐事件结果 */ - actionResult: string | undefined; - /** NG总次数 */ - ngTimes: number | undefined; - /** 采集状态 */ - collectStatus: string | undefined; - /** 老化车号 */ - shelfNo: string | undefined; - /** RMA代码 */ - rmaBillCode: string | undefined; - /** 是否做过产量计算 */ - processed: string | undefined; - userCode: string | undefined; - userName: string | undefined; - needFirstCheck: boolean; - /** 备注 */ + eqpTypeCode: string | undefined; + eqpModelCode: string | undefined; + sTime: number; + rTime: number; + effectDate: moment.Moment; + expriyDate: moment.Moment; + status: string | undefined; memo: string | undefined; - /** 保留字段1 */ + isRef: string | undefined; + checkUserId: string | undefined; + checkUserName: string | undefined; + checkTime: moment.Moment | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 完工测试数据(机架行业) */ - testDataList: IcsLotTestDataDto[] | undefined; - /** 完工外观检验项(机架行业) */ - checkItemList: IcsLotTestDataDto[] | undefined; } -export class IcsLotRoute2OpEditDto implements IIcsLotRoute2OpEditDto { - id: number | undefined; - /** 批次 */ - lotId: number; - /** 途程 */ - routeId: number; - /** 工序 */ - opId: number; - /** 批次序列号 */ - lotNo: string | undefined; - /** 途程代码 */ - routeCode: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - opName: string | undefined; - /** 工序在途程中的次序 */ - opSeq: number; - /** 工序类型记录,15位长的字符串记录工序类型,每一位中: 1: 是, 0: 否 */ - opControl: string | undefined; - /** 可选线外工序 */ - optionalOp: string | undefined; - /** 序列号转换类型 idmergetype_idmerge: 序列号转换, idmergetype_router: 分板 */ - idMergeType: string | undefined; - /** 分板比例 */ - idMergeRule: number; - /** 工序等级(A,B,C,D,E) */ - opLevel: string | undefined; +export class IcsStandardWhoursImportDto implements IIcsStandardWhoursImportDto { + itemCode: string; + opCode: string; + eqpTypeCode: string; + eqpModelCode: string; + sTime: number; + rTime: number; + effectDate: moment.Moment; + expriyDate: moment.Moment; + memo: string | undefined; + isRef: string; - constructor(data?: IIcsLotRoute2OpEditDto) { + constructor(data?: IIcsStandardWhoursImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -74854,111 +116570,92 @@ export class IcsLotRoute2OpEditDto implements IIcsLotRoute2OpEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.lotId = _data["lotId"]; - this.routeId = _data["routeId"]; - this.opId = _data["opId"]; - this.lotNo = _data["lotNo"]; - this.routeCode = _data["routeCode"]; + this.itemCode = _data["itemCode"]; this.opCode = _data["opCode"]; - this.opName = _data["opName"]; - this.opSeq = _data["opSeq"]; - this.opControl = _data["opControl"]; - this.optionalOp = _data["optionalOp"]; - this.idMergeType = _data["idMergeType"]; - this.idMergeRule = _data["idMergeRule"]; - this.opLevel = _data["opLevel"]; + this.eqpTypeCode = _data["eqpTypeCode"]; + this.eqpModelCode = _data["eqpModelCode"]; + this.sTime = _data["sTime"]; + this.rTime = _data["rTime"]; + this.effectDate = _data["effectDate"] ? moment(_data["effectDate"].toString()) : undefined; + this.expriyDate = _data["expriyDate"] ? moment(_data["expriyDate"].toString()) : undefined; + this.memo = _data["memo"]; + this.isRef = _data["isRef"]; } } - static fromJS(data: any): IcsLotRoute2OpEditDto { + static fromJS(data: any): IcsStandardWhoursImportDto { data = typeof data === 'object' ? data : {}; - let result = new IcsLotRoute2OpEditDto(); + let result = new IcsStandardWhoursImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["lotId"] = this.lotId; - data["routeId"] = this.routeId; - data["opId"] = this.opId; - data["lotNo"] = this.lotNo; - data["routeCode"] = this.routeCode; + data["itemCode"] = this.itemCode; data["opCode"] = this.opCode; - data["opName"] = this.opName; - data["opSeq"] = this.opSeq; - data["opControl"] = this.opControl; - data["optionalOp"] = this.optionalOp; - data["idMergeType"] = this.idMergeType; - data["idMergeRule"] = this.idMergeRule; - data["opLevel"] = this.opLevel; + data["eqpTypeCode"] = this.eqpTypeCode; + data["eqpModelCode"] = this.eqpModelCode; + data["sTime"] = this.sTime; + data["rTime"] = this.rTime; + data["effectDate"] = this.effectDate ? this.effectDate.toISOString() : undefined; + data["expriyDate"] = this.expriyDate ? this.expriyDate.toISOString() : undefined; + data["memo"] = this.memo; + data["isRef"] = this.isRef; return data; } - clone(): IcsLotRoute2OpEditDto { + clone(): IcsStandardWhoursImportDto { const json = this.toJSON(); - let result = new IcsLotRoute2OpEditDto(); + let result = new IcsStandardWhoursImportDto(); result.init(json); return result; } } -export interface IIcsLotRoute2OpEditDto { - id: number | undefined; - /** 批次 */ - lotId: number; - /** 途程 */ - routeId: number; - /** 工序 */ - opId: number; - /** 批次序列号 */ - lotNo: string | undefined; - /** 途程代码 */ - routeCode: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - opName: string | undefined; - /** 工序在途程中的次序 */ - opSeq: number; - /** 工序类型记录,15位长的字符串记录工序类型,每一位中: 1: 是, 0: 否 */ - opControl: string | undefined; - /** 可选线外工序 */ - optionalOp: string | undefined; - /** 序列号转换类型 idmergetype_idmerge: 序列号转换, idmergetype_router: 分板 */ - idMergeType: string | undefined; - /** 分板比例 */ - idMergeRule: number; - /** 工序等级(A,B,C,D,E) */ - opLevel: string | undefined; +export interface IIcsStandardWhoursImportDto { + itemCode: string; + opCode: string; + eqpTypeCode: string; + eqpModelCode: string; + sTime: number; + rTime: number; + effectDate: moment.Moment; + expriyDate: moment.Moment; + memo: string | undefined; + isRef: string; } -export class IcsLotRoute2OpListDto implements IIcsLotRoute2OpListDto { - /** 批次 */ - lotId: number; - /** 途程 */ - routeId: number; - /** 工序 */ - opId: number; - /** 批次序列号 */ - lotNo: string | undefined; - /** 途程代码 */ - routeCode: string | undefined; - /** 工序代码 */ +export class IcsStandardWhoursListDto implements IIcsStandardWhoursListDto { + itemCode: string | undefined; + itemName: string | undefined; opCode: string | undefined; - /** 工序在途程中的次序 */ - opSeq: number; - /** 工序类型记录,15位长的字符串记录工序类型,每一位中: 1: 是, 0: 否 */ - opControl: string | undefined; - /** 可选线外工序 */ - optionalOp: string | undefined; - /** 序列号转换类型 idmergetype_idmerge: 序列号转换, idmergetype_router: 分板 */ - idMergeType: string | undefined; - /** 分板比例 */ - idMergeRule: number; - /** 工序等级(A,B,C,D,E) */ - opLevel: string | undefined; + opName: string | undefined; + eqpTypeCode: string | undefined; + eqpTypeCodeText: string | undefined; + eqpModelCode: string | undefined; + sTime: number; + rTime: number; + effectDate: moment.Moment; + expriyDate: moment.Moment; + status: string | undefined; + statusText: string | undefined; + memo: string | undefined; + isRef: string | undefined; + isRefText: string | undefined; + checkUserId: string | undefined; + checkUserName: string | undefined; + checkTime: moment.Moment | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -74967,7 +116664,7 @@ export class IcsLotRoute2OpListDto implements IIcsLotRoute2OpListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsLotRoute2OpListDto) { + constructor(data?: IIcsStandardWhoursListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -74978,18 +116675,35 @@ export class IcsLotRoute2OpListDto implements IIcsLotRoute2OpListDto { init(_data?: any) { if (_data) { - this.lotId = _data["lotId"]; - this.routeId = _data["routeId"]; - this.opId = _data["opId"]; - this.lotNo = _data["lotNo"]; - this.routeCode = _data["routeCode"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; this.opCode = _data["opCode"]; - this.opSeq = _data["opSeq"]; - this.opControl = _data["opControl"]; - this.optionalOp = _data["optionalOp"]; - this.idMergeType = _data["idMergeType"]; - this.idMergeRule = _data["idMergeRule"]; - this.opLevel = _data["opLevel"]; + this.opName = _data["opName"]; + this.eqpTypeCode = _data["eqpTypeCode"]; + this.eqpTypeCodeText = _data["eqpTypeCodeText"]; + this.eqpModelCode = _data["eqpModelCode"]; + this.sTime = _data["sTime"]; + this.rTime = _data["rTime"]; + this.effectDate = _data["effectDate"] ? moment(_data["effectDate"].toString()) : undefined; + this.expriyDate = _data["expriyDate"] ? moment(_data["expriyDate"].toString()) : undefined; + this.status = _data["status"]; + this.statusText = _data["statusText"]; + this.memo = _data["memo"]; + this.isRef = _data["isRef"]; + this.isRefText = _data["isRefText"]; + this.checkUserId = _data["checkUserId"]; + this.checkUserName = _data["checkUserName"]; + this.checkTime = _data["checkTime"] ? moment(_data["checkTime"].toString()) : undefined; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; @@ -75000,27 +116714,44 @@ export class IcsLotRoute2OpListDto implements IIcsLotRoute2OpListDto { } } - static fromJS(data: any): IcsLotRoute2OpListDto { + static fromJS(data: any): IcsStandardWhoursListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsLotRoute2OpListDto(); + let result = new IcsStandardWhoursListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["lotId"] = this.lotId; - data["routeId"] = this.routeId; - data["opId"] = this.opId; - data["lotNo"] = this.lotNo; - data["routeCode"] = this.routeCode; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; data["opCode"] = this.opCode; - data["opSeq"] = this.opSeq; - data["opControl"] = this.opControl; - data["optionalOp"] = this.optionalOp; - data["idMergeType"] = this.idMergeType; - data["idMergeRule"] = this.idMergeRule; - data["opLevel"] = this.opLevel; + data["opName"] = this.opName; + data["eqpTypeCode"] = this.eqpTypeCode; + data["eqpTypeCodeText"] = this.eqpTypeCodeText; + data["eqpModelCode"] = this.eqpModelCode; + data["sTime"] = this.sTime; + data["rTime"] = this.rTime; + data["effectDate"] = this.effectDate ? this.effectDate.toISOString() : undefined; + data["expriyDate"] = this.expriyDate ? this.expriyDate.toISOString() : undefined; + data["status"] = this.status; + data["statusText"] = this.statusText; + data["memo"] = this.memo; + data["isRef"] = this.isRef; + data["isRefText"] = this.isRefText; + data["checkUserId"] = this.checkUserId; + data["checkUserName"] = this.checkUserName; + data["checkTime"] = this.checkTime ? this.checkTime.toISOString() : undefined; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; @@ -75031,39 +116762,44 @@ export class IcsLotRoute2OpListDto implements IIcsLotRoute2OpListDto { return data; } - clone(): IcsLotRoute2OpListDto { + clone(): IcsStandardWhoursListDto { const json = this.toJSON(); - let result = new IcsLotRoute2OpListDto(); + let result = new IcsStandardWhoursListDto(); result.init(json); return result; } } -export interface IIcsLotRoute2OpListDto { - /** 批次 */ - lotId: number; - /** 途程 */ - routeId: number; - /** 工序 */ - opId: number; - /** 批次序列号 */ - lotNo: string | undefined; - /** 途程代码 */ - routeCode: string | undefined; - /** 工序代码 */ +export interface IIcsStandardWhoursListDto { + itemCode: string | undefined; + itemName: string | undefined; opCode: string | undefined; - /** 工序在途程中的次序 */ - opSeq: number; - /** 工序类型记录,15位长的字符串记录工序类型,每一位中: 1: 是, 0: 否 */ - opControl: string | undefined; - /** 可选线外工序 */ - optionalOp: string | undefined; - /** 序列号转换类型 idmergetype_idmerge: 序列号转换, idmergetype_router: 分板 */ - idMergeType: string | undefined; - /** 分板比例 */ - idMergeRule: number; - /** 工序等级(A,B,C,D,E) */ - opLevel: string | undefined; + opName: string | undefined; + eqpTypeCode: string | undefined; + eqpTypeCodeText: string | undefined; + eqpModelCode: string | undefined; + sTime: number; + rTime: number; + effectDate: moment.Moment; + expriyDate: moment.Moment; + status: string | undefined; + statusText: string | undefined; + memo: string | undefined; + isRef: string | undefined; + isRefText: string | undefined; + checkUserId: string | undefined; + checkUserName: string | undefined; + checkTime: moment.Moment | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -75073,73 +116809,24 @@ export interface IIcsLotRoute2OpListDto { id: number; } -export class IcsLotTestDataDto implements IIcsLotTestDataDto { - key: string | undefined; +export class IcsTestEditDto implements IIcsTestEditDto { id: number | undefined; - /** 序列号 */ - lotNo: string | undefined; - /** 批次行号 */ - lotSeq: number; - /** 序号 */ - seq: number; - /** 工单代码 */ - moCode: string | undefined; - /** 工单行号 */ - moSeq: number; - /** 工作天 */ - shiftDay: moment.Moment | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 设备代码 */ - eqpCode: string | undefined; - /** 检验项目组 */ - ckGroup: string | undefined; - ckGroupName: string | undefined; - /** 检验项目代码 */ - ckItemCode: string | undefined; - ckItemName: string | undefined; - /** 参数 */ - parameter: string | undefined; - /** 最大设定值 */ - setValueMax: string | undefined; - /** 最小设定值 */ - setValueMin: string | undefined; - /** 让步最大设定值 */ - exemptionValueMax: string | undefined; - /** 让步最小设定值 */ - exemptionValueMin: string | undefined; - a1: boolean; - a2: boolean; - /** 实际测试值 */ - testValue: string | undefined; - /** 测试结果 */ - testResult: string | undefined; - /** 测试时间 */ - testTime: moment.Moment | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ + testCode: string | undefined; + testSQL: string | undefined; + testName: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; + memo: string | undefined; - constructor(data?: IIcsLotTestDataDto) { + constructor(data?: IIcsTestEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -75150,31 +116837,10 @@ export class IcsLotTestDataDto implements IIcsLotTestDataDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; this.id = _data["id"]; - this.lotNo = _data["lotNo"]; - this.lotSeq = _data["lotSeq"]; - this.seq = _data["seq"]; - this.moCode = _data["moCode"]; - this.moSeq = _data["moSeq"]; - this.shiftDay = _data["shiftDay"] ? moment(_data["shiftDay"].toString()) : undefined; - this.itemCode = _data["itemCode"]; - this.eqpCode = _data["eqpCode"]; - this.ckGroup = _data["ckGroup"]; - this.ckGroupName = _data["ckGroupName"]; - this.ckItemCode = _data["ckItemCode"]; - this.ckItemName = _data["ckItemName"]; - this.parameter = _data["parameter"]; - this.setValueMax = _data["setValueMax"]; - this.setValueMin = _data["setValueMin"]; - this.exemptionValueMax = _data["exemptionValueMax"]; - this.exemptionValueMin = _data["exemptionValueMin"]; - this.a1 = _data["a1"]; - this.a2 = _data["a2"]; - this.testValue = _data["testValue"]; - this.testResult = _data["testResult"]; - this.testTime = _data["testTime"] ? moment(_data["testTime"].toString()) : undefined; - this.memo = _data["memo"]; + this.testCode = _data["testCode"]; + this.testSQL = _data["testSQL"]; + this.testName = _data["testName"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; @@ -75185,43 +116851,23 @@ export class IcsLotTestDataDto implements IIcsLotTestDataDto { this.default8 = _data["default8"]; this.default9 = _data["default9"]; this.default10 = _data["default10"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): IcsLotTestDataDto { + static fromJS(data: any): IcsTestEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsLotTestDataDto(); + let result = new IcsTestEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; data["id"] = this.id; - data["lotNo"] = this.lotNo; - data["lotSeq"] = this.lotSeq; - data["seq"] = this.seq; - data["moCode"] = this.moCode; - data["moSeq"] = this.moSeq; - data["shiftDay"] = this.shiftDay ? this.shiftDay.toISOString() : undefined; - data["itemCode"] = this.itemCode; - data["eqpCode"] = this.eqpCode; - data["ckGroup"] = this.ckGroup; - data["ckGroupName"] = this.ckGroupName; - data["ckItemCode"] = this.ckItemCode; - data["ckItemName"] = this.ckItemName; - data["parameter"] = this.parameter; - data["setValueMax"] = this.setValueMax; - data["setValueMin"] = this.setValueMin; - data["exemptionValueMax"] = this.exemptionValueMax; - data["exemptionValueMin"] = this.exemptionValueMin; - data["a1"] = this.a1; - data["a2"] = this.a2; - data["testValue"] = this.testValue; - data["testResult"] = this.testResult; - data["testTime"] = this.testTime ? this.testTime.toISOString() : undefined; - data["memo"] = this.memo; + data["testCode"] = this.testCode; + data["testSQL"] = this.testSQL; + data["testName"] = this.testName; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; @@ -75232,120 +116878,60 @@ export class IcsLotTestDataDto implements IIcsLotTestDataDto { data["default8"] = this.default8; data["default9"] = this.default9; data["default10"] = this.default10; + data["memo"] = this.memo; return data; } - clone(): IcsLotTestDataDto { + clone(): IcsTestEditDto { const json = this.toJSON(); - let result = new IcsLotTestDataDto(); + let result = new IcsTestEditDto(); result.init(json); return result; } } -export interface IIcsLotTestDataDto { - key: string | undefined; +export interface IIcsTestEditDto { id: number | undefined; - /** 序列号 */ - lotNo: string | undefined; - /** 批次行号 */ - lotSeq: number; - /** 序号 */ - seq: number; - /** 工单代码 */ - moCode: string | undefined; - /** 工单行号 */ - moSeq: number; - /** 工作天 */ - shiftDay: moment.Moment | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 设备代码 */ - eqpCode: string | undefined; - /** 检验项目组 */ - ckGroup: string | undefined; - ckGroupName: string | undefined; - /** 检验项目代码 */ - ckItemCode: string | undefined; - ckItemName: string | undefined; - /** 参数 */ - parameter: string | undefined; - /** 最大设定值 */ - setValueMax: string | undefined; - /** 最小设定值 */ - setValueMin: string | undefined; - /** 让步最大设定值 */ - exemptionValueMax: string | undefined; - /** 让步最小设定值 */ - exemptionValueMin: string | undefined; - a1: boolean; - a2: boolean; - /** 实际测试值 */ - testValue: string | undefined; - /** 测试结果 */ - testResult: string | undefined; - /** 测试时间 */ - testTime: moment.Moment | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ + testCode: string | undefined; + testSQL: string | undefined; + testName: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; + memo: string | undefined; } -export class IcsMachineCellEditDto implements IIcsMachineCellEditDto { - id: number | undefined; - /** 加工单元代码 */ - mcCode: string | undefined; - /** 加工单元名称 */ - mcName: string | undefined; - /** 加工单元描述 */ - mcDesc: string | undefined; - /** 产线ID */ - ssid: number | undefined; - /** 车间ID */ - segId: number | undefined; - /** 保留字段1 */ +export class IcsTestListDto implements IIcsTestListDto { + testCode: string | undefined; + testSQL: string | undefined; + testName: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IIcsMachineCellEditDto) { + constructor(data?: IIcsTestListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -75356,12 +116942,9 @@ export class IcsMachineCellEditDto implements IIcsMachineCellEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.mcCode = _data["mcCode"]; - this.mcName = _data["mcName"]; - this.mcDesc = _data["mcDesc"]; - this.ssid = _data["ssid"]; - this.segId = _data["segId"]; + this.testCode = _data["testCode"]; + this.testSQL = _data["testSQL"]; + this.testName = _data["testName"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; @@ -75373,24 +116956,28 @@ export class IcsMachineCellEditDto implements IIcsMachineCellEditDto { this.default9 = _data["default9"]; this.default10 = _data["default10"]; this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): IcsMachineCellEditDto { + static fromJS(data: any): IcsTestListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsMachineCellEditDto(); + let result = new IcsTestListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["mcCode"] = this.mcCode; - data["mcName"] = this.mcName; - data["mcDesc"] = this.mcDesc; - data["ssid"] = this.ssid; - data["segId"] = this.segId; + data["testCode"] = this.testCode; + data["testSQL"] = this.testSQL; + data["testName"] = this.testName; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; @@ -75402,97 +116989,429 @@ export class IcsMachineCellEditDto implements IIcsMachineCellEditDto { data["default9"] = this.default9; data["default10"] = this.default10; data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): IcsMachineCellEditDto { + clone(): IcsTestListDto { const json = this.toJSON(); - let result = new IcsMachineCellEditDto(); + let result = new IcsTestListDto(); result.init(json); return result; } } -export interface IIcsMachineCellEditDto { - id: number | undefined; - /** 加工单元代码 */ - mcCode: string | undefined; - /** 加工单元名称 */ - mcName: string | undefined; - /** 加工单元描述 */ - mcDesc: string | undefined; - /** 产线ID */ - ssid: number | undefined; - /** 车间ID */ - segId: number | undefined; - /** 保留字段1 */ +export interface IIcsTestListDto { + testCode: string | undefined; + testSQL: string | undefined; + testName: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; +} + +export class IcsTpEditDto implements IIcsTpEditDto { + id: number | undefined; + tpCode: string; + shiftTypeId: number; + shiftId: number; + tpName: string | undefined; + tpDesc: string | undefined; + tpSeq: number; + tpType: string; + tpBTime: string; + tpETime: string; + isOverDate: string; + memo: string | undefined; + + constructor(data?: IIcsTpEditDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.id = _data["id"]; + this.tpCode = _data["tpCode"]; + this.shiftTypeId = _data["shiftTypeId"]; + this.shiftId = _data["shiftId"]; + this.tpName = _data["tpName"]; + this.tpDesc = _data["tpDesc"]; + this.tpSeq = _data["tpSeq"]; + this.tpType = _data["tpType"]; + this.tpBTime = _data["tpBTime"]; + this.tpETime = _data["tpETime"]; + this.isOverDate = _data["isOverDate"]; + this.memo = _data["memo"]; + } + } + + static fromJS(data: any): IcsTpEditDto { + data = typeof data === 'object' ? data : {}; + let result = new IcsTpEditDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["id"] = this.id; + data["tpCode"] = this.tpCode; + data["shiftTypeId"] = this.shiftTypeId; + data["shiftId"] = this.shiftId; + data["tpName"] = this.tpName; + data["tpDesc"] = this.tpDesc; + data["tpSeq"] = this.tpSeq; + data["tpType"] = this.tpType; + data["tpBTime"] = this.tpBTime; + data["tpETime"] = this.tpETime; + data["isOverDate"] = this.isOverDate; + data["memo"] = this.memo; + return data; + } + + clone(): IcsTpEditDto { + const json = this.toJSON(); + let result = new IcsTpEditDto(); + result.init(json); + return result; + } +} + +export interface IIcsTpEditDto { + id: number | undefined; + tpCode: string; + shiftTypeId: number; + shiftId: number; + tpName: string | undefined; + tpDesc: string | undefined; + tpSeq: number; + tpType: string; + tpBTime: string; + tpETime: string; + isOverDate: string; + memo: string | undefined; +} + +export class IcsTpImportDto implements IIcsTpImportDto { + tpCode: string; + tpName: string; + shiftCode: string; + isOverDate: string; + tpBTime: string; + tpETime: string; + tpSeq: number; + tpType: string | undefined; + tpDesc: string | undefined; + + constructor(data?: IIcsTpImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.tpCode = _data["tpCode"]; + this.tpName = _data["tpName"]; + this.shiftCode = _data["shiftCode"]; + this.isOverDate = _data["isOverDate"]; + this.tpBTime = _data["tpBTime"]; + this.tpETime = _data["tpETime"]; + this.tpSeq = _data["tpSeq"]; + this.tpType = _data["tpType"]; + this.tpDesc = _data["tpDesc"]; + } + } + + static fromJS(data: any): IcsTpImportDto { + data = typeof data === 'object' ? data : {}; + let result = new IcsTpImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["tpCode"] = this.tpCode; + data["tpName"] = this.tpName; + data["shiftCode"] = this.shiftCode; + data["isOverDate"] = this.isOverDate; + data["tpBTime"] = this.tpBTime; + data["tpETime"] = this.tpETime; + data["tpSeq"] = this.tpSeq; + data["tpType"] = this.tpType; + data["tpDesc"] = this.tpDesc; + return data; + } + + clone(): IcsTpImportDto { + const json = this.toJSON(); + let result = new IcsTpImportDto(); + result.init(json); + return result; + } +} + +export interface IIcsTpImportDto { + tpCode: string; + tpName: string; + shiftCode: string; + isOverDate: string; + tpBTime: string; + tpETime: string; + tpSeq: number; + tpType: string | undefined; + tpDesc: string | undefined; +} + +export class IcsTpListDto implements IIcsTpListDto { + tpCode: string | undefined; + shiftTypeId: string | undefined; + shiftId: string | undefined; + tpName: string | undefined; + tpDesc: string | undefined; + tpSeq: number; + tpType: string | undefined; + tpBTime: string | undefined; + tpETime: string | undefined; + isOverDate: string | undefined; + memo: string | undefined; + shiftCode: string | undefined; + shiftName: string | undefined; + shiftDesc: string | undefined; + shiftTypeCode: string | undefined; + shiftTypeName: string | undefined; + shiftTypeDesc: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; + + constructor(data?: IIcsTpListDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.tpCode = _data["tpCode"]; + this.shiftTypeId = _data["shiftTypeId"]; + this.shiftId = _data["shiftId"]; + this.tpName = _data["tpName"]; + this.tpDesc = _data["tpDesc"]; + this.tpSeq = _data["tpSeq"]; + this.tpType = _data["tpType"]; + this.tpBTime = _data["tpBTime"]; + this.tpETime = _data["tpETime"]; + this.isOverDate = _data["isOverDate"]; + this.memo = _data["memo"]; + this.shiftCode = _data["shiftCode"]; + this.shiftName = _data["shiftName"]; + this.shiftDesc = _data["shiftDesc"]; + this.shiftTypeCode = _data["shiftTypeCode"]; + this.shiftTypeName = _data["shiftTypeName"]; + this.shiftTypeDesc = _data["shiftTypeDesc"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; + } + } + + static fromJS(data: any): IcsTpListDto { + data = typeof data === 'object' ? data : {}; + let result = new IcsTpListDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["tpCode"] = this.tpCode; + data["shiftTypeId"] = this.shiftTypeId; + data["shiftId"] = this.shiftId; + data["tpName"] = this.tpName; + data["tpDesc"] = this.tpDesc; + data["tpSeq"] = this.tpSeq; + data["tpType"] = this.tpType; + data["tpBTime"] = this.tpBTime; + data["tpETime"] = this.tpETime; + data["isOverDate"] = this.isOverDate; + data["memo"] = this.memo; + data["shiftCode"] = this.shiftCode; + data["shiftName"] = this.shiftName; + data["shiftDesc"] = this.shiftDesc; + data["shiftTypeCode"] = this.shiftTypeCode; + data["shiftTypeName"] = this.shiftTypeName; + data["shiftTypeDesc"] = this.shiftTypeDesc; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; + return data; + } + + clone(): IcsTpListDto { + const json = this.toJSON(); + let result = new IcsTpListDto(); + result.init(json); + return result; + } +} + +export interface IIcsTpListDto { + tpCode: string | undefined; + shiftTypeId: string | undefined; + shiftId: string | undefined; + tpName: string | undefined; + tpDesc: string | undefined; + tpSeq: number; + tpType: string | undefined; + tpBTime: string | undefined; + tpETime: string | undefined; + isOverDate: string | undefined; + memo: string | undefined; + shiftCode: string | undefined; + shiftName: string | undefined; + shiftDesc: string | undefined; + shiftTypeCode: string | undefined; + shiftTypeName: string | undefined; + shiftTypeDesc: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class IcsMachineCellListDto implements IIcsMachineCellListDto { - /** 加工单元代码 */ - mcCode: string | undefined; - /** 加工单元名称 */ - mcName: string | undefined; - /** 加工单元描述 */ - mcDesc: string | undefined; - /** 产线ID */ - ssid: number | undefined; - /** 车间ID */ - segId: number | undefined; - segName: string | undefined; - ssName: string | undefined; - /** 保留字段1 */ +export class IcsTsEditDto implements IIcsTsEditDto { + key: string | undefined; + id: number | undefined; + lotNo: string | undefined; + lotSeq: number; + moCode: string | undefined; + moSeq: number; + tLotNo: string | undefined; + tLotSeq: number | undefined; + sLotNo: string | undefined; + sLotSeq: number | undefined; + cardType: string | undefined; + rrCard: string | undefined; + modelCode: string | undefined; + itemCode: string | undefined; + frmRouteCode: string | undefined; + frmOpCode: string | undefined; + frmSegCode: string | undefined; + frmSsCode: string | undefined; + frmResCode: string | undefined; + shiftTypeCode: string | undefined; + shiftCode: string | undefined; + tpCode: string | undefined; + shiftDay: moment.Moment | undefined; + frmUser: string | undefined; + frmMemo: string | undefined; + frmTime: moment.Moment | undefined; + frmInputType: string | undefined; + tsTimes: number | undefined; + tsStatus: string | undefined; + tsStatusDesc: string | undefined; + tsUser: string | undefined; + tsDate: moment.Moment | undefined; + tsTime: string | undefined; + tsMemo: string | undefined; + cResCode: string | undefined; + cOpCode: string | undefined; + confirmUser: string | undefined; + confirmTime: moment.Moment | undefined; + refMoCode: string | undefined; + refRouteCode: string | undefined; + refOpCode: string | undefined; + transStatus: string | undefined; + tfFullPath: string | undefined; + tsResCode: string | undefined; + scrapCause: string | undefined; + frmMonth: number | undefined; + frmWeek: number | undefined; + rmaBillCode: string | undefined; + frmOutRouteCode: string | undefined; + tsType: string | undefined; + tsRepairUser: string | undefined; + tsRepairTime: moment.Moment | undefined; + memo: string | undefined; + refResCode: string | undefined; + ecgId: number; + ecgCode: string | undefined; + ecId: number; + ecCode: string | undefined; + ecsgId: number; + ecsgCode: string | undefined; + ecsId: number; + ecsCode: string | undefined; + solutionId: number; + solutionCode: string | undefined; + duty: string | undefined; + partId: number | undefined; + partCode: string | undefined; + eLoc: string | undefined; + subELoc: string | undefined; + ab: string | undefined; + operation: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; - constructor(data?: IIcsMachineCellListDto) { + constructor(data?: IIcsTsEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -75503,13 +117422,77 @@ export class IcsMachineCellListDto implements IIcsMachineCellListDto { init(_data?: any) { if (_data) { - this.mcCode = _data["mcCode"]; - this.mcName = _data["mcName"]; - this.mcDesc = _data["mcDesc"]; - this.ssid = _data["ssid"]; - this.segId = _data["segId"]; - this.segName = _data["segName"]; - this.ssName = _data["ssName"]; + this.key = _data["key"]; + this.id = _data["id"]; + this.lotNo = _data["lotNo"]; + this.lotSeq = _data["lotSeq"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.tLotNo = _data["tLotNo"]; + this.tLotSeq = _data["tLotSeq"]; + this.sLotNo = _data["sLotNo"]; + this.sLotSeq = _data["sLotSeq"]; + this.cardType = _data["cardType"]; + this.rrCard = _data["rrCard"]; + this.modelCode = _data["modelCode"]; + this.itemCode = _data["itemCode"]; + this.frmRouteCode = _data["frmRouteCode"]; + this.frmOpCode = _data["frmOpCode"]; + this.frmSegCode = _data["frmSegCode"]; + this.frmSsCode = _data["frmSsCode"]; + this.frmResCode = _data["frmResCode"]; + this.shiftTypeCode = _data["shiftTypeCode"]; + this.shiftCode = _data["shiftCode"]; + this.tpCode = _data["tpCode"]; + this.shiftDay = _data["shiftDay"] ? moment(_data["shiftDay"].toString()) : undefined; + this.frmUser = _data["frmUser"]; + this.frmMemo = _data["frmMemo"]; + this.frmTime = _data["frmTime"] ? moment(_data["frmTime"].toString()) : undefined; + this.frmInputType = _data["frmInputType"]; + this.tsTimes = _data["tsTimes"]; + this.tsStatus = _data["tsStatus"]; + this.tsStatusDesc = _data["tsStatusDesc"]; + this.tsUser = _data["tsUser"]; + this.tsDate = _data["tsDate"] ? moment(_data["tsDate"].toString()) : undefined; + this.tsTime = _data["tsTime"]; + this.tsMemo = _data["tsMemo"]; + this.cResCode = _data["cResCode"]; + this.cOpCode = _data["cOpCode"]; + this.confirmUser = _data["confirmUser"]; + this.confirmTime = _data["confirmTime"] ? moment(_data["confirmTime"].toString()) : undefined; + this.refMoCode = _data["refMoCode"]; + this.refRouteCode = _data["refRouteCode"]; + this.refOpCode = _data["refOpCode"]; + this.transStatus = _data["transStatus"]; + this.tfFullPath = _data["tfFullPath"]; + this.tsResCode = _data["tsResCode"]; + this.scrapCause = _data["scrapCause"]; + this.frmMonth = _data["frmMonth"]; + this.frmWeek = _data["frmWeek"]; + this.rmaBillCode = _data["rmaBillCode"]; + this.frmOutRouteCode = _data["frmOutRouteCode"]; + this.tsType = _data["tsType"]; + this.tsRepairUser = _data["tsRepairUser"]; + this.tsRepairTime = _data["tsRepairTime"] ? moment(_data["tsRepairTime"].toString()) : undefined; + this.memo = _data["memo"]; + this.refResCode = _data["refResCode"]; + this.ecgId = _data["ecgId"]; + this.ecgCode = _data["ecgCode"]; + this.ecId = _data["ecId"]; + this.ecCode = _data["ecCode"]; + this.ecsgId = _data["ecsgId"]; + this.ecsgCode = _data["ecsgCode"]; + this.ecsId = _data["ecsId"]; + this.ecsCode = _data["ecsCode"]; + this.solutionId = _data["solutionId"]; + this.solutionCode = _data["solutionCode"]; + this.duty = _data["duty"]; + this.partId = _data["partId"]; + this.partCode = _data["partCode"]; + this.eLoc = _data["eLoc"]; + this.subELoc = _data["subELoc"]; + this.ab = _data["ab"]; + this.operation = _data["operation"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; @@ -75520,33 +117503,89 @@ export class IcsMachineCellListDto implements IIcsMachineCellListDto { this.default8 = _data["default8"]; this.default9 = _data["default9"]; this.default10 = _data["default10"]; - this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; } } - static fromJS(data: any): IcsMachineCellListDto { + static fromJS(data: any): IcsTsEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsMachineCellListDto(); + let result = new IcsTsEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["mcCode"] = this.mcCode; - data["mcName"] = this.mcName; - data["mcDesc"] = this.mcDesc; - data["ssid"] = this.ssid; - data["segId"] = this.segId; - data["segName"] = this.segName; - data["ssName"] = this.ssName; + data["key"] = this.key; + data["id"] = this.id; + data["lotNo"] = this.lotNo; + data["lotSeq"] = this.lotSeq; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["tLotNo"] = this.tLotNo; + data["tLotSeq"] = this.tLotSeq; + data["sLotNo"] = this.sLotNo; + data["sLotSeq"] = this.sLotSeq; + data["cardType"] = this.cardType; + data["rrCard"] = this.rrCard; + data["modelCode"] = this.modelCode; + data["itemCode"] = this.itemCode; + data["frmRouteCode"] = this.frmRouteCode; + data["frmOpCode"] = this.frmOpCode; + data["frmSegCode"] = this.frmSegCode; + data["frmSsCode"] = this.frmSsCode; + data["frmResCode"] = this.frmResCode; + data["shiftTypeCode"] = this.shiftTypeCode; + data["shiftCode"] = this.shiftCode; + data["tpCode"] = this.tpCode; + data["shiftDay"] = this.shiftDay ? this.shiftDay.toISOString() : undefined; + data["frmUser"] = this.frmUser; + data["frmMemo"] = this.frmMemo; + data["frmTime"] = this.frmTime ? this.frmTime.toISOString() : undefined; + data["frmInputType"] = this.frmInputType; + data["tsTimes"] = this.tsTimes; + data["tsStatus"] = this.tsStatus; + data["tsStatusDesc"] = this.tsStatusDesc; + data["tsUser"] = this.tsUser; + data["tsDate"] = this.tsDate ? this.tsDate.toISOString() : undefined; + data["tsTime"] = this.tsTime; + data["tsMemo"] = this.tsMemo; + data["cResCode"] = this.cResCode; + data["cOpCode"] = this.cOpCode; + data["confirmUser"] = this.confirmUser; + data["confirmTime"] = this.confirmTime ? this.confirmTime.toISOString() : undefined; + data["refMoCode"] = this.refMoCode; + data["refRouteCode"] = this.refRouteCode; + data["refOpCode"] = this.refOpCode; + data["transStatus"] = this.transStatus; + data["tfFullPath"] = this.tfFullPath; + data["tsResCode"] = this.tsResCode; + data["scrapCause"] = this.scrapCause; + data["frmMonth"] = this.frmMonth; + data["frmWeek"] = this.frmWeek; + data["rmaBillCode"] = this.rmaBillCode; + data["frmOutRouteCode"] = this.frmOutRouteCode; + data["tsType"] = this.tsType; + data["tsRepairUser"] = this.tsRepairUser; + data["tsRepairTime"] = this.tsRepairTime ? this.tsRepairTime.toISOString() : undefined; + data["memo"] = this.memo; + data["refResCode"] = this.refResCode; + data["ecgId"] = this.ecgId; + data["ecgCode"] = this.ecgCode; + data["ecId"] = this.ecId; + data["ecCode"] = this.ecCode; + data["ecsgId"] = this.ecsgId; + data["ecsgCode"] = this.ecsgCode; + data["ecsId"] = this.ecsId; + data["ecsCode"] = this.ecsCode; + data["solutionId"] = this.solutionId; + data["solutionCode"] = this.solutionCode; + data["duty"] = this.duty; + data["partId"] = this.partId; + data["partCode"] = this.partCode; + data["eLoc"] = this.eLoc; + data["subELoc"] = this.subELoc; + data["ab"] = this.ab; + data["operation"] = this.operation; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; @@ -75557,83 +117596,124 @@ export class IcsMachineCellListDto implements IIcsMachineCellListDto { data["default8"] = this.default8; data["default9"] = this.default9; data["default10"] = this.default10; - data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; return data; } - clone(): IcsMachineCellListDto { + clone(): IcsTsEditDto { const json = this.toJSON(); - let result = new IcsMachineCellListDto(); + let result = new IcsTsEditDto(); result.init(json); return result; } } -export interface IIcsMachineCellListDto { - /** 加工单元代码 */ - mcCode: string | undefined; - /** 加工单元名称 */ - mcName: string | undefined; - /** 加工单元描述 */ - mcDesc: string | undefined; - /** 产线ID */ - ssid: number | undefined; - /** 车间ID */ - segId: number | undefined; - segName: string | undefined; - ssName: string | undefined; - /** 保留字段1 */ +export interface IIcsTsEditDto { + key: string | undefined; + id: number | undefined; + lotNo: string | undefined; + lotSeq: number; + moCode: string | undefined; + moSeq: number; + tLotNo: string | undefined; + tLotSeq: number | undefined; + sLotNo: string | undefined; + sLotSeq: number | undefined; + cardType: string | undefined; + rrCard: string | undefined; + modelCode: string | undefined; + itemCode: string | undefined; + frmRouteCode: string | undefined; + frmOpCode: string | undefined; + frmSegCode: string | undefined; + frmSsCode: string | undefined; + frmResCode: string | undefined; + shiftTypeCode: string | undefined; + shiftCode: string | undefined; + tpCode: string | undefined; + shiftDay: moment.Moment | undefined; + frmUser: string | undefined; + frmMemo: string | undefined; + frmTime: moment.Moment | undefined; + frmInputType: string | undefined; + tsTimes: number | undefined; + tsStatus: string | undefined; + tsStatusDesc: string | undefined; + tsUser: string | undefined; + tsDate: moment.Moment | undefined; + tsTime: string | undefined; + tsMemo: string | undefined; + cResCode: string | undefined; + cOpCode: string | undefined; + confirmUser: string | undefined; + confirmTime: moment.Moment | undefined; + refMoCode: string | undefined; + refRouteCode: string | undefined; + refOpCode: string | undefined; + transStatus: string | undefined; + tfFullPath: string | undefined; + tsResCode: string | undefined; + scrapCause: string | undefined; + frmMonth: number | undefined; + frmWeek: number | undefined; + rmaBillCode: string | undefined; + frmOutRouteCode: string | undefined; + tsType: string | undefined; + tsRepairUser: string | undefined; + tsRepairTime: moment.Moment | undefined; + memo: string | undefined; + refResCode: string | undefined; + ecgId: number; + ecgCode: string | undefined; + ecId: number; + ecCode: string | undefined; + ecsgId: number; + ecsgCode: string | undefined; + ecsId: number; + ecsCode: string | undefined; + solutionId: number; + solutionCode: string | undefined; + duty: string | undefined; + partId: number | undefined; + partCode: string | undefined; + eLoc: string | undefined; + subELoc: string | undefined; + ab: string | undefined; + operation: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; } -export class IcsMainCategoryCodeEditDto implements IIcsMainCategoryCodeEditDto { +export class IcsTsErrorCauseEditDto implements IIcsTsErrorCauseEditDto { + key: string | undefined; id: number | undefined; - /** 物料主分类代码 */ - itemMainCategoryCode: string | undefined; - /** 物料主分类名称 */ - itemMainCategoryName: string | undefined; - /** 物料主分类描述 */ - itemMainCategoryDesc: string | undefined; - /** 上级分类(0 为顶级) */ - pid: number; - /** 备注 */ + eCode: string | undefined; + ecsCode: string | undefined; + ecgCode: string | undefined; + ecsgCode: string | undefined; + tsId: number; + lotNo: string | undefined; + lotNoSeq: number; + modelCode: string | undefined; + itemCode: string | undefined; + moCode: string | undefined; + shiftDay: moment.Moment; + moSeq: number; + rResCode: string | undefined; + rOpCode: number; + solCode: string | undefined; + dutyCode: string | undefined; + solMemo: string | undefined; memo: string | undefined; - constructor(data?: IIcsMainCategoryCodeEditDto) { + constructor(data?: IIcsTsErrorCauseEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -75644,123 +117724,111 @@ export class IcsMainCategoryCodeEditDto implements IIcsMainCategoryCodeEditDto { init(_data?: any) { if (_data) { + this.key = _data["key"]; this.id = _data["id"]; - this.itemMainCategoryCode = _data["itemMainCategoryCode"]; - this.itemMainCategoryName = _data["itemMainCategoryName"]; - this.itemMainCategoryDesc = _data["itemMainCategoryDesc"]; - this.pid = _data["pid"]; + this.eCode = _data["eCode"]; + this.ecsCode = _data["ecsCode"]; + this.ecgCode = _data["ecgCode"]; + this.ecsgCode = _data["ecsgCode"]; + this.tsId = _data["tsId"]; + this.lotNo = _data["lotNo"]; + this.lotNoSeq = _data["lotNoSeq"]; + this.modelCode = _data["modelCode"]; + this.itemCode = _data["itemCode"]; + this.moCode = _data["moCode"]; + this.shiftDay = _data["shiftDay"] ? moment(_data["shiftDay"].toString()) : undefined; + this.moSeq = _data["moSeq"]; + this.rResCode = _data["rResCode"]; + this.rOpCode = _data["rOpCode"]; + this.solCode = _data["solCode"]; + this.dutyCode = _data["dutyCode"]; + this.solMemo = _data["solMemo"]; this.memo = _data["memo"]; } } - static fromJS(data: any): IcsMainCategoryCodeEditDto { + static fromJS(data: any): IcsTsErrorCauseEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsMainCategoryCodeEditDto(); + let result = new IcsTsErrorCauseEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["key"] = this.key; data["id"] = this.id; - data["itemMainCategoryCode"] = this.itemMainCategoryCode; - data["itemMainCategoryName"] = this.itemMainCategoryName; - data["itemMainCategoryDesc"] = this.itemMainCategoryDesc; - data["pid"] = this.pid; + data["eCode"] = this.eCode; + data["ecsCode"] = this.ecsCode; + data["ecgCode"] = this.ecgCode; + data["ecsgCode"] = this.ecsgCode; + data["tsId"] = this.tsId; + data["lotNo"] = this.lotNo; + data["lotNoSeq"] = this.lotNoSeq; + data["modelCode"] = this.modelCode; + data["itemCode"] = this.itemCode; + data["moCode"] = this.moCode; + data["shiftDay"] = this.shiftDay ? this.shiftDay.toISOString() : undefined; + data["moSeq"] = this.moSeq; + data["rResCode"] = this.rResCode; + data["rOpCode"] = this.rOpCode; + data["solCode"] = this.solCode; + data["dutyCode"] = this.dutyCode; + data["solMemo"] = this.solMemo; data["memo"] = this.memo; return data; } - clone(): IcsMainCategoryCodeEditDto { + clone(): IcsTsErrorCauseEditDto { const json = this.toJSON(); - let result = new IcsMainCategoryCodeEditDto(); + let result = new IcsTsErrorCauseEditDto(); result.init(json); return result; } } -export interface IIcsMainCategoryCodeEditDto { +export interface IIcsTsErrorCauseEditDto { + key: string | undefined; id: number | undefined; - /** 物料主分类代码 */ - itemMainCategoryCode: string | undefined; - /** 物料主分类名称 */ - itemMainCategoryName: string | undefined; - /** 物料主分类描述 */ - itemMainCategoryDesc: string | undefined; - /** 上级分类(0 为顶级) */ - pid: number; - /** 备注 */ + eCode: string | undefined; + ecsCode: string | undefined; + ecgCode: string | undefined; + ecsgCode: string | undefined; + tsId: number; + lotNo: string | undefined; + lotNoSeq: number; + modelCode: string | undefined; + itemCode: string | undefined; + moCode: string | undefined; + shiftDay: moment.Moment; + moSeq: number; + rResCode: string | undefined; + rOpCode: number; + solCode: string | undefined; + dutyCode: string | undefined; + solMemo: string | undefined; memo: string | undefined; } -export class IcsMainCategoryCodeImportDto implements IIcsMainCategoryCodeImportDto { - /** 物料主分类代码 */ - itemMainCategoryCode: string; - /** 物料主分类名称 */ - itemMainCategoryName: string; - /** 物料主分类描述 */ - itemMainCategoryDesc: string | undefined; - - constructor(data?: IIcsMainCategoryCodeImportDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } - } - } - - init(_data?: any) { - if (_data) { - this.itemMainCategoryCode = _data["itemMainCategoryCode"]; - this.itemMainCategoryName = _data["itemMainCategoryName"]; - this.itemMainCategoryDesc = _data["itemMainCategoryDesc"]; - } - } - - static fromJS(data: any): IcsMainCategoryCodeImportDto { - data = typeof data === 'object' ? data : {}; - let result = new IcsMainCategoryCodeImportDto(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["itemMainCategoryCode"] = this.itemMainCategoryCode; - data["itemMainCategoryName"] = this.itemMainCategoryName; - data["itemMainCategoryDesc"] = this.itemMainCategoryDesc; - return data; - } - - clone(): IcsMainCategoryCodeImportDto { - const json = this.toJSON(); - let result = new IcsMainCategoryCodeImportDto(); - result.init(json); - return result; - } -} - -export interface IIcsMainCategoryCodeImportDto { - /** 物料主分类代码 */ - itemMainCategoryCode: string; - /** 物料主分类名称 */ - itemMainCategoryName: string; - /** 物料主分类描述 */ - itemMainCategoryDesc: string | undefined; -} - -export class IcsMainCategoryCodeListDto implements IIcsMainCategoryCodeListDto { +export class IcsTsErrorCauseListDto implements IIcsTsErrorCauseListDto { key: string | undefined; - /** 物料主分类代码 */ - itemMainCategoryCode: string | undefined; - /** 物料主分类名称 */ - itemMainCategoryName: string | undefined; - /** 物料主分类描述 */ - itemMainCategoryDesc: string | undefined; - /** 上级分类(0 为顶级) */ - pid: number; - /** 备注 */ + eCode: string | undefined; + ecsCode: string | undefined; + ecgCode: string | undefined; + ecsgCode: string | undefined; + tsId: number; + lotNo: string | undefined; + lotNoSeq: number; + modelCode: string | undefined; + itemCode: string | undefined; + moCode: string | undefined; + shiftDay: moment.Moment; + moSeq: number; + rResCode: string | undefined; + rOpCode: number; + solCode: string | undefined; + dutyCode: string | undefined; + solMemo: string | undefined; memo: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -75770,7 +117838,7 @@ export class IcsMainCategoryCodeListDto implements IIcsMainCategoryCodeListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsMainCategoryCodeListDto) { + constructor(data?: IIcsTsErrorCauseListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -75782,10 +117850,23 @@ export class IcsMainCategoryCodeListDto implements IIcsMainCategoryCodeListDto { init(_data?: any) { if (_data) { this.key = _data["key"]; - this.itemMainCategoryCode = _data["itemMainCategoryCode"]; - this.itemMainCategoryName = _data["itemMainCategoryName"]; - this.itemMainCategoryDesc = _data["itemMainCategoryDesc"]; - this.pid = _data["pid"]; + this.eCode = _data["eCode"]; + this.ecsCode = _data["ecsCode"]; + this.ecgCode = _data["ecgCode"]; + this.ecsgCode = _data["ecsgCode"]; + this.tsId = _data["tsId"]; + this.lotNo = _data["lotNo"]; + this.lotNoSeq = _data["lotNoSeq"]; + this.modelCode = _data["modelCode"]; + this.itemCode = _data["itemCode"]; + this.moCode = _data["moCode"]; + this.shiftDay = _data["shiftDay"] ? moment(_data["shiftDay"].toString()) : undefined; + this.moSeq = _data["moSeq"]; + this.rResCode = _data["rResCode"]; + this.rOpCode = _data["rOpCode"]; + this.solCode = _data["solCode"]; + this.dutyCode = _data["dutyCode"]; + this.solMemo = _data["solMemo"]; this.memo = _data["memo"]; this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; @@ -75797,20 +117878,33 @@ export class IcsMainCategoryCodeListDto implements IIcsMainCategoryCodeListDto { } } - static fromJS(data: any): IcsMainCategoryCodeListDto { + static fromJS(data: any): IcsTsErrorCauseListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsMainCategoryCodeListDto(); + let result = new IcsTsErrorCauseListDto(); result.init(data); return result; } toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["itemMainCategoryCode"] = this.itemMainCategoryCode; - data["itemMainCategoryName"] = this.itemMainCategoryName; - data["itemMainCategoryDesc"] = this.itemMainCategoryDesc; - data["pid"] = this.pid; + data = typeof data === 'object' ? data : {}; + data["key"] = this.key; + data["eCode"] = this.eCode; + data["ecsCode"] = this.ecsCode; + data["ecgCode"] = this.ecgCode; + data["ecsgCode"] = this.ecsgCode; + data["tsId"] = this.tsId; + data["lotNo"] = this.lotNo; + data["lotNoSeq"] = this.lotNoSeq; + data["modelCode"] = this.modelCode; + data["itemCode"] = this.itemCode; + data["moCode"] = this.moCode; + data["shiftDay"] = this.shiftDay ? this.shiftDay.toISOString() : undefined; + data["moSeq"] = this.moSeq; + data["rResCode"] = this.rResCode; + data["rOpCode"] = this.rOpCode; + data["solCode"] = this.solCode; + data["dutyCode"] = this.dutyCode; + data["solMemo"] = this.solMemo; data["memo"] = this.memo; data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; @@ -75822,25 +117916,33 @@ export class IcsMainCategoryCodeListDto implements IIcsMainCategoryCodeListDto { return data; } - clone(): IcsMainCategoryCodeListDto { + clone(): IcsTsErrorCauseListDto { const json = this.toJSON(); - let result = new IcsMainCategoryCodeListDto(); + let result = new IcsTsErrorCauseListDto(); result.init(json); return result; } } -export interface IIcsMainCategoryCodeListDto { +export interface IIcsTsErrorCauseListDto { key: string | undefined; - /** 物料主分类代码 */ - itemMainCategoryCode: string | undefined; - /** 物料主分类名称 */ - itemMainCategoryName: string | undefined; - /** 物料主分类描述 */ - itemMainCategoryDesc: string | undefined; - /** 上级分类(0 为顶级) */ - pid: number; - /** 备注 */ + eCode: string | undefined; + ecsCode: string | undefined; + ecgCode: string | undefined; + ecsgCode: string | undefined; + tsId: number; + lotNo: string | undefined; + lotNoSeq: number; + modelCode: string | undefined; + itemCode: string | undefined; + moCode: string | undefined; + shiftDay: moment.Moment; + moSeq: number; + rResCode: string | undefined; + rOpCode: number; + solCode: string | undefined; + dutyCode: string | undefined; + solMemo: string | undefined; memo: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -75851,69 +117953,21 @@ export interface IIcsMainCategoryCodeListDto { id: number; } -export class IcsManualRecordingEditDto implements IIcsManualRecordingEditDto { +export class IcsTsErrorCodeEditDto implements IIcsTsErrorCodeEditDto { key: string | undefined; id: number | undefined; - /** 项目号 */ - projectCode: string | undefined; - /** 当前序列号 */ + eCode: string | undefined; + ecgCode: string | undefined; + tsId: number; lotNo: string | undefined; - /** 序列号流水号 */ - lotSeq: number | undefined; - /** 工单代码 */ - moCode: string | undefined; - /** 工单流水号 */ - moSeq: number | undefined; - /** 产品编码 */ + lotNoSeq: number; + modelCode: string | undefined; itemCode: string | undefined; - /** 加工日期 */ - recordingDate: moment.Moment; - /** 加工数量 */ - recordingQty: number; - /** 工序代码 */ - opCode: string | undefined; - /** 设备编号 */ - eqpCode: string | undefined; - /** 工时(分钟) */ - recordingHours: number; - /** 加工人员 */ - recordingUserCode: string | undefined; - /** 状态 */ - status: string | undefined; - /** 类型 */ - recordingType: string | undefined; - /** 描述 */ - recordingDesc: string | undefined; - /** 备注 */ + moCode: string | undefined; + moSeq: number; memo: string | undefined; - /** 审核人 */ - checkUserId: string | undefined; - /** 审核人名称 */ - checkUserName: string | undefined; - /** 审核时间 */ - checkTime: moment.Moment; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - constructor(data?: IIcsManualRecordingEditDto) { + constructor(data?: IIcsTsErrorCodeEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -75926,41 +117980,22 @@ export class IcsManualRecordingEditDto implements IIcsManualRecordingEditDto { if (_data) { this.key = _data["key"]; this.id = _data["id"]; - this.projectCode = _data["projectCode"]; + this.eCode = _data["eCode"]; + this.ecgCode = _data["ecgCode"]; + this.tsId = _data["tsId"]; this.lotNo = _data["lotNo"]; - this.lotSeq = _data["lotSeq"]; + this.lotNoSeq = _data["lotNoSeq"]; + this.modelCode = _data["modelCode"]; + this.itemCode = _data["itemCode"]; this.moCode = _data["moCode"]; this.moSeq = _data["moSeq"]; - this.itemCode = _data["itemCode"]; - this.recordingDate = _data["recordingDate"] ? moment(_data["recordingDate"].toString()) : undefined; - this.recordingQty = _data["recordingQty"]; - this.opCode = _data["opCode"]; - this.eqpCode = _data["eqpCode"]; - this.recordingHours = _data["recordingHours"]; - this.recordingUserCode = _data["recordingUserCode"]; - this.status = _data["status"]; - this.recordingType = _data["recordingType"]; - this.recordingDesc = _data["recordingDesc"]; this.memo = _data["memo"]; - this.checkUserId = _data["checkUserId"]; - this.checkUserName = _data["checkUserName"]; - this.checkTime = _data["checkTime"] ? moment(_data["checkTime"].toString()) : undefined; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; } } - static fromJS(data: any): IcsManualRecordingEditDto { + static fromJS(data: any): IcsTsErrorCodeEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsManualRecordingEditDto(); + let result = new IcsTsErrorCodeEditDto(); result.init(data); return result; } @@ -75969,174 +118004,54 @@ export class IcsManualRecordingEditDto implements IIcsManualRecordingEditDto { data = typeof data === 'object' ? data : {}; data["key"] = this.key; data["id"] = this.id; - data["projectCode"] = this.projectCode; + data["eCode"] = this.eCode; + data["ecgCode"] = this.ecgCode; + data["tsId"] = this.tsId; data["lotNo"] = this.lotNo; - data["lotSeq"] = this.lotSeq; + data["lotNoSeq"] = this.lotNoSeq; + data["modelCode"] = this.modelCode; + data["itemCode"] = this.itemCode; data["moCode"] = this.moCode; data["moSeq"] = this.moSeq; - data["itemCode"] = this.itemCode; - data["recordingDate"] = this.recordingDate ? this.recordingDate.toISOString() : undefined; - data["recordingQty"] = this.recordingQty; - data["opCode"] = this.opCode; - data["eqpCode"] = this.eqpCode; - data["recordingHours"] = this.recordingHours; - data["recordingUserCode"] = this.recordingUserCode; - data["status"] = this.status; - data["recordingType"] = this.recordingType; - data["recordingDesc"] = this.recordingDesc; data["memo"] = this.memo; - data["checkUserId"] = this.checkUserId; - data["checkUserName"] = this.checkUserName; - data["checkTime"] = this.checkTime ? this.checkTime.toISOString() : undefined; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; return data; } - clone(): IcsManualRecordingEditDto { + clone(): IcsTsErrorCodeEditDto { const json = this.toJSON(); - let result = new IcsManualRecordingEditDto(); + let result = new IcsTsErrorCodeEditDto(); result.init(json); return result; } } -export interface IIcsManualRecordingEditDto { +export interface IIcsTsErrorCodeEditDto { key: string | undefined; id: number | undefined; - /** 项目号 */ - projectCode: string | undefined; - /** 当前序列号 */ + eCode: string | undefined; + ecgCode: string | undefined; + tsId: number; lotNo: string | undefined; - /** 序列号流水号 */ - lotSeq: number | undefined; - /** 工单代码 */ - moCode: string | undefined; - /** 工单流水号 */ - moSeq: number | undefined; - /** 产品编码 */ + lotNoSeq: number; + modelCode: string | undefined; itemCode: string | undefined; - /** 加工日期 */ - recordingDate: moment.Moment; - /** 加工数量 */ - recordingQty: number; - /** 工序代码 */ - opCode: string | undefined; - /** 设备编号 */ - eqpCode: string | undefined; - /** 工时(分钟) */ - recordingHours: number; - /** 加工人员 */ - recordingUserCode: string | undefined; - /** 状态 */ - status: string | undefined; - /** 类型 */ - recordingType: string | undefined; - /** 描述 */ - recordingDesc: string | undefined; - /** 备注 */ + moCode: string | undefined; + moSeq: number; memo: string | undefined; - /** 审核人 */ - checkUserId: string | undefined; - /** 审核人名称 */ - checkUserName: string | undefined; - /** 审核时间 */ - checkTime: moment.Moment; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; } -export class IcsManualRecordingListDto implements IIcsManualRecordingListDto { +export class IcsTsErrorCodeListDto implements IIcsTsErrorCodeListDto { key: string | undefined; - /** 项目号 */ - projectCode: string | undefined; - /** 当前序列号 */ + eCode: string | undefined; + ecgCode: string | undefined; + tsId: number; lotNo: string | undefined; - /** 序列号流水号 */ - lotSeq: number | undefined; - /** 工单代码 */ - moCode: string | undefined; - /** 工单流水号 */ - moSeq: number | undefined; - /** 产品编码 */ + lotNoSeq: number; + modelCode: string | undefined; itemCode: string | undefined; - itemName: string | undefined; - /** 加工日期 */ - recordingDate: moment.Moment; - /** 加工数量 */ - recordingQty: number; - /** 工序代码 */ - opCode: string | undefined; - opName: string | undefined; - /** 设备编号 */ - eqpCode: string | undefined; - eqpName: string | undefined; - /** 工时(分钟) */ - recordingHours: number; - /** 加工人员 */ - recordingUserCode: string | undefined; - /** 状态 */ - status: string | undefined; - statusText: string | undefined; - /** 类型 */ - recordingType: string | undefined; - recordingTypeText: string | undefined; - /** 描述 */ - recordingDesc: string | undefined; - /** 备注 */ + moCode: string | undefined; + moSeq: number; memo: string | undefined; - /** 审核人 */ - checkUserId: string | undefined; - /** 审核人名称 */ - checkUserName: string | undefined; - /** 审核时间 */ - checkTime: moment.Moment; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -76145,7 +118060,7 @@ export class IcsManualRecordingListDto implements IIcsManualRecordingListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsManualRecordingListDto) { + constructor(data?: IIcsTsErrorCodeListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -76157,40 +118072,16 @@ export class IcsManualRecordingListDto implements IIcsManualRecordingListDto { init(_data?: any) { if (_data) { this.key = _data["key"]; - this.projectCode = _data["projectCode"]; + this.eCode = _data["eCode"]; + this.ecgCode = _data["ecgCode"]; + this.tsId = _data["tsId"]; this.lotNo = _data["lotNo"]; - this.lotSeq = _data["lotSeq"]; + this.lotNoSeq = _data["lotNoSeq"]; + this.modelCode = _data["modelCode"]; + this.itemCode = _data["itemCode"]; this.moCode = _data["moCode"]; this.moSeq = _data["moSeq"]; - this.itemCode = _data["itemCode"]; - this.itemName = _data["itemName"]; - this.recordingDate = _data["recordingDate"] ? moment(_data["recordingDate"].toString()) : undefined; - this.recordingQty = _data["recordingQty"]; - this.opCode = _data["opCode"]; - this.opName = _data["opName"]; - this.eqpCode = _data["eqpCode"]; - this.eqpName = _data["eqpName"]; - this.recordingHours = _data["recordingHours"]; - this.recordingUserCode = _data["recordingUserCode"]; - this.status = _data["status"]; - this.statusText = _data["statusText"]; - this.recordingType = _data["recordingType"]; - this.recordingTypeText = _data["recordingTypeText"]; - this.recordingDesc = _data["recordingDesc"]; this.memo = _data["memo"]; - this.checkUserId = _data["checkUserId"]; - this.checkUserName = _data["checkUserName"]; - this.checkTime = _data["checkTime"] ? moment(_data["checkTime"].toString()) : undefined; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; @@ -76201,9 +118092,9 @@ export class IcsManualRecordingListDto implements IIcsManualRecordingListDto { } } - static fromJS(data: any): IcsManualRecordingListDto { + static fromJS(data: any): IcsTsErrorCodeListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsManualRecordingListDto(); + let result = new IcsTsErrorCodeListDto(); result.init(data); return result; } @@ -76211,40 +118102,16 @@ export class IcsManualRecordingListDto implements IIcsManualRecordingListDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["key"] = this.key; - data["projectCode"] = this.projectCode; + data["eCode"] = this.eCode; + data["ecgCode"] = this.ecgCode; + data["tsId"] = this.tsId; data["lotNo"] = this.lotNo; - data["lotSeq"] = this.lotSeq; + data["lotNoSeq"] = this.lotNoSeq; + data["modelCode"] = this.modelCode; + data["itemCode"] = this.itemCode; data["moCode"] = this.moCode; data["moSeq"] = this.moSeq; - data["itemCode"] = this.itemCode; - data["itemName"] = this.itemName; - data["recordingDate"] = this.recordingDate ? this.recordingDate.toISOString() : undefined; - data["recordingQty"] = this.recordingQty; - data["opCode"] = this.opCode; - data["opName"] = this.opName; - data["eqpCode"] = this.eqpCode; - data["eqpName"] = this.eqpName; - data["recordingHours"] = this.recordingHours; - data["recordingUserCode"] = this.recordingUserCode; - data["status"] = this.status; - data["statusText"] = this.statusText; - data["recordingType"] = this.recordingType; - data["recordingTypeText"] = this.recordingTypeText; - data["recordingDesc"] = this.recordingDesc; data["memo"] = this.memo; - data["checkUserId"] = this.checkUserId; - data["checkUserName"] = this.checkUserName; - data["checkTime"] = this.checkTime ? this.checkTime.toISOString() : undefined; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; @@ -76255,353 +118122,98 @@ export class IcsManualRecordingListDto implements IIcsManualRecordingListDto { return data; } - clone(): IcsManualRecordingListDto { + clone(): IcsTsErrorCodeListDto { const json = this.toJSON(); - let result = new IcsManualRecordingListDto(); + let result = new IcsTsErrorCodeListDto(); result.init(json); return result; } } -export interface IIcsManualRecordingListDto { +export interface IIcsTsErrorCodeListDto { key: string | undefined; - /** 项目号 */ - projectCode: string | undefined; - /** 当前序列号 */ + eCode: string | undefined; + ecgCode: string | undefined; + tsId: number; lotNo: string | undefined; - /** 序列号流水号 */ - lotSeq: number | undefined; - /** 工单代码 */ - moCode: string | undefined; - /** 工单流水号 */ - moSeq: number | undefined; - /** 产品编码 */ + lotNoSeq: number; + modelCode: string | undefined; itemCode: string | undefined; - itemName: string | undefined; - /** 加工日期 */ - recordingDate: moment.Moment; - /** 加工数量 */ - recordingQty: number; - /** 工序代码 */ - opCode: string | undefined; - opName: string | undefined; - /** 设备编号 */ - eqpCode: string | undefined; - eqpName: string | undefined; - /** 工时(分钟) */ - recordingHours: number; - /** 加工人员 */ - recordingUserCode: string | undefined; - /** 状态 */ - status: string | undefined; - statusText: string | undefined; - /** 类型 */ - recordingType: string | undefined; - recordingTypeText: string | undefined; - /** 描述 */ - recordingDesc: string | undefined; - /** 备注 */ + moCode: string | undefined; + moSeq: number; memo: string | undefined; - /** 审核人 */ - checkUserId: string | undefined; - /** 审核人名称 */ - checkUserName: string | undefined; - /** 审核时间 */ - checkTime: moment.Moment; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; -} - -export class IcsMo2LotEditDto implements IIcsMo2LotEditDto { - id: number | undefined; - /** 工单ID */ - moID: number; - /** 工单代码 */ - moCode: string | undefined; - /** 工单行号 */ - moSeq: number; - /** 计划数量 */ - moPlanQty: number | undefined; - /** 已分批数量 */ - moHasLotQty: number | undefined; - /** 产品序列号 */ - lotno: string | undefined; - /** 序号 */ - lotSeq: number; - /** 批次数量 */ - lotQty: number; - /** 本次数量 */ - lotSumQty: number | undefined; - /** 批次状态 */ - lotStatus: string | undefined; - /** 打印次数 */ - printTimes: number | undefined; - /** 最后打印人 */ - lastPrintUser: string | undefined; - /** 最后打印日期 */ - lastPrintTime: moment.Moment | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - itemCode: string | undefined; - itemName: string | undefined; - lotList: IcsMo2LotEditDto[] | undefined; - - constructor(data?: IIcsMo2LotEditDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } - } - } - - init(_data?: any) { - if (_data) { - this.id = _data["id"]; - this.moID = _data["moID"]; - this.moCode = _data["moCode"]; - this.moSeq = _data["moSeq"]; - this.moPlanQty = _data["moPlanQty"]; - this.moHasLotQty = _data["moHasLotQty"]; - this.lotno = _data["lotno"]; - this.lotSeq = _data["lotSeq"]; - this.lotQty = _data["lotQty"]; - this.lotSumQty = _data["lotSumQty"]; - this.lotStatus = _data["lotStatus"]; - this.printTimes = _data["printTimes"]; - this.lastPrintUser = _data["lastPrintUser"]; - this.lastPrintTime = _data["lastPrintTime"] ? moment(_data["lastPrintTime"].toString()) : undefined; - this.memo = _data["memo"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - this.itemCode = _data["itemCode"]; - this.itemName = _data["itemName"]; - if (Array.isArray(_data["lotList"])) { - this.lotList = [] as any; - for (let item of _data["lotList"]) - this.lotList.push(IcsMo2LotEditDto.fromJS(item)); - } - } - } - - static fromJS(data: any): IcsMo2LotEditDto { - data = typeof data === 'object' ? data : {}; - let result = new IcsMo2LotEditDto(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["moID"] = this.moID; - data["moCode"] = this.moCode; - data["moSeq"] = this.moSeq; - data["moPlanQty"] = this.moPlanQty; - data["moHasLotQty"] = this.moHasLotQty; - data["lotno"] = this.lotno; - data["lotSeq"] = this.lotSeq; - data["lotQty"] = this.lotQty; - data["lotSumQty"] = this.lotSumQty; - data["lotStatus"] = this.lotStatus; - data["printTimes"] = this.printTimes; - data["lastPrintUser"] = this.lastPrintUser; - data["lastPrintTime"] = this.lastPrintTime ? this.lastPrintTime.toISOString() : undefined; - data["memo"] = this.memo; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - data["itemCode"] = this.itemCode; - data["itemName"] = this.itemName; - if (Array.isArray(this.lotList)) { - data["lotList"] = []; - for (let item of this.lotList) - data["lotList"].push(item.toJSON()); - } - return data; - } - - clone(): IcsMo2LotEditDto { - const json = this.toJSON(); - let result = new IcsMo2LotEditDto(); - result.init(json); - return result; - } -} - -export interface IIcsMo2LotEditDto { - id: number | undefined; - /** 工单ID */ - moID: number; - /** 工单代码 */ - moCode: string | undefined; - /** 工单行号 */ - moSeq: number; - /** 计划数量 */ - moPlanQty: number | undefined; - /** 已分批数量 */ - moHasLotQty: number | undefined; - /** 产品序列号 */ - lotno: string | undefined; - /** 序号 */ - lotSeq: number; - /** 批次数量 */ - lotQty: number; - /** 本次数量 */ - lotSumQty: number | undefined; - /** 批次状态 */ - lotStatus: string | undefined; - /** 打印次数 */ - printTimes: number | undefined; - /** 最后打印人 */ - lastPrintUser: string | undefined; - /** 最后打印日期 */ - lastPrintTime: moment.Moment | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - itemCode: string | undefined; - itemName: string | undefined; - lotList: IcsMo2LotEditDto[] | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class IcsMo2LotListDto implements IIcsMo2LotListDto { +export class IcsTsListDto implements IIcsTsListDto { key: string | undefined; - /** 工单ID */ - moID: number; - /** 工单代码 */ + lotNo: string | undefined; + lotSeq: number | undefined; moCode: string | undefined; + moSeq: number | undefined; + tLotNo: string | undefined; + tLotSeq: number | undefined; + sLotNo: string | undefined; + sLotSeq: number | undefined; + cardType: string | undefined; + rrCard: string | undefined; + modelCode: string | undefined; itemCode: string | undefined; - itemName: string | undefined; - routeCode: string | undefined; - projectCode: string | undefined; - moPlanQty: number; - opID: number | undefined; - opCode: string | undefined; - opName: string | undefined; - opSeq: number; - /** 预计开工日期 */ - moPlanStartDate: moment.Moment; - /** 预计完工日期 */ - moPlanEndDate: moment.Moment; - /** 工单行号 */ - moSeq: number; - /** 产品序列号 */ - lotno: string | undefined; - /** 序号 */ - lotSeq: number; - /** 批次数量 */ - lotQty: number; - /** 批次状态 */ - lotStatus: string | undefined; - lotStatusName: string | undefined; - /** 打印次数 */ - printTimes: number | undefined; - /** 最后打印人 */ - lastPrintUser: string | undefined; - /** 最后打印日期 */ - lastPrintTime: moment.Moment | undefined; - /** 备注 */ + frmRouteCode: string | undefined; + frmOpCode: string | undefined; + frmSegCode: string | undefined; + frmSsCode: string | undefined; + frmResCode: string | undefined; + shiftTypeCode: string | undefined; + shiftCode: string | undefined; + tpCode: string | undefined; + shiftDay: moment.Moment | undefined; + frmUser: string | undefined; + frmMemo: string | undefined; + frmTime: moment.Moment | undefined; + frmInputType: string | undefined; + tsTimes: number | undefined; + tsStatus: string | undefined; + tsStatusDesc: string | undefined; + tsUser: string | undefined; + tsDate: moment.Moment | undefined; + tsTime: string | undefined; + tsMemo: string | undefined; + cResCode: string | undefined; + cOpCode: string | undefined; + confirmUser: string | undefined; + confirmTime: moment.Moment | undefined; + refMoCode: string | undefined; + refRouteCode: string | undefined; + refOpCode: string | undefined; + transStatus: string | undefined; + tfFullPath: string | undefined; + tsResCode: string | undefined; + scrapCause: string | undefined; + frmMonth: number | undefined; + frmWeek: number | undefined; + rmaBillCode: string | undefined; + frmOutRouteCode: string | undefined; + tsType: string | undefined; + tsRepairUser: string | undefined; + tsRepairTime: moment.Moment | undefined; memo: string | undefined; - dispatchingType: string | undefined; - /** 保留字段1 */ + refResCode: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -76611,7 +118223,7 @@ export class IcsMo2LotListDto implements IIcsMo2LotListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsMo2LotListDto) { + constructor(data?: IIcsTsListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -76623,30 +118235,58 @@ export class IcsMo2LotListDto implements IIcsMo2LotListDto { init(_data?: any) { if (_data) { this.key = _data["key"]; - this.moID = _data["moID"]; + this.lotNo = _data["lotNo"]; + this.lotSeq = _data["lotSeq"]; this.moCode = _data["moCode"]; - this.itemCode = _data["itemCode"]; - this.itemName = _data["itemName"]; - this.routeCode = _data["routeCode"]; - this.projectCode = _data["projectCode"]; - this.moPlanQty = _data["moPlanQty"]; - this.opID = _data["opID"]; - this.opCode = _data["opCode"]; - this.opName = _data["opName"]; - this.opSeq = _data["opSeq"]; - this.moPlanStartDate = _data["moPlanStartDate"] ? moment(_data["moPlanStartDate"].toString()) : undefined; - this.moPlanEndDate = _data["moPlanEndDate"] ? moment(_data["moPlanEndDate"].toString()) : undefined; this.moSeq = _data["moSeq"]; - this.lotno = _data["lotno"]; - this.lotSeq = _data["lotSeq"]; - this.lotQty = _data["lotQty"]; - this.lotStatus = _data["lotStatus"]; - this.lotStatusName = _data["lotStatusName"]; - this.printTimes = _data["printTimes"]; - this.lastPrintUser = _data["lastPrintUser"]; - this.lastPrintTime = _data["lastPrintTime"] ? moment(_data["lastPrintTime"].toString()) : undefined; + this.tLotNo = _data["tLotNo"]; + this.tLotSeq = _data["tLotSeq"]; + this.sLotNo = _data["sLotNo"]; + this.sLotSeq = _data["sLotSeq"]; + this.cardType = _data["cardType"]; + this.rrCard = _data["rrCard"]; + this.modelCode = _data["modelCode"]; + this.itemCode = _data["itemCode"]; + this.frmRouteCode = _data["frmRouteCode"]; + this.frmOpCode = _data["frmOpCode"]; + this.frmSegCode = _data["frmSegCode"]; + this.frmSsCode = _data["frmSsCode"]; + this.frmResCode = _data["frmResCode"]; + this.shiftTypeCode = _data["shiftTypeCode"]; + this.shiftCode = _data["shiftCode"]; + this.tpCode = _data["tpCode"]; + this.shiftDay = _data["shiftDay"] ? moment(_data["shiftDay"].toString()) : undefined; + this.frmUser = _data["frmUser"]; + this.frmMemo = _data["frmMemo"]; + this.frmTime = _data["frmTime"] ? moment(_data["frmTime"].toString()) : undefined; + this.frmInputType = _data["frmInputType"]; + this.tsTimes = _data["tsTimes"]; + this.tsStatus = _data["tsStatus"]; + this.tsStatusDesc = _data["tsStatusDesc"]; + this.tsUser = _data["tsUser"]; + this.tsDate = _data["tsDate"] ? moment(_data["tsDate"].toString()) : undefined; + this.tsTime = _data["tsTime"]; + this.tsMemo = _data["tsMemo"]; + this.cResCode = _data["cResCode"]; + this.cOpCode = _data["cOpCode"]; + this.confirmUser = _data["confirmUser"]; + this.confirmTime = _data["confirmTime"] ? moment(_data["confirmTime"].toString()) : undefined; + this.refMoCode = _data["refMoCode"]; + this.refRouteCode = _data["refRouteCode"]; + this.refOpCode = _data["refOpCode"]; + this.transStatus = _data["transStatus"]; + this.tfFullPath = _data["tfFullPath"]; + this.tsResCode = _data["tsResCode"]; + this.scrapCause = _data["scrapCause"]; + this.frmMonth = _data["frmMonth"]; + this.frmWeek = _data["frmWeek"]; + this.rmaBillCode = _data["rmaBillCode"]; + this.frmOutRouteCode = _data["frmOutRouteCode"]; + this.tsType = _data["tsType"]; + this.tsRepairUser = _data["tsRepairUser"]; + this.tsRepairTime = _data["tsRepairTime"] ? moment(_data["tsRepairTime"].toString()) : undefined; this.memo = _data["memo"]; - this.dispatchingType = _data["dispatchingType"]; + this.refResCode = _data["refResCode"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; @@ -76667,9 +118307,9 @@ export class IcsMo2LotListDto implements IIcsMo2LotListDto { } } - static fromJS(data: any): IcsMo2LotListDto { + static fromJS(data: any): IcsTsListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsMo2LotListDto(); + let result = new IcsTsListDto(); result.init(data); return result; } @@ -76677,30 +118317,58 @@ export class IcsMo2LotListDto implements IIcsMo2LotListDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["key"] = this.key; - data["moID"] = this.moID; + data["lotNo"] = this.lotNo; + data["lotSeq"] = this.lotSeq; data["moCode"] = this.moCode; - data["itemCode"] = this.itemCode; - data["itemName"] = this.itemName; - data["routeCode"] = this.routeCode; - data["projectCode"] = this.projectCode; - data["moPlanQty"] = this.moPlanQty; - data["opID"] = this.opID; - data["opCode"] = this.opCode; - data["opName"] = this.opName; - data["opSeq"] = this.opSeq; - data["moPlanStartDate"] = this.moPlanStartDate ? this.moPlanStartDate.toISOString() : undefined; - data["moPlanEndDate"] = this.moPlanEndDate ? this.moPlanEndDate.toISOString() : undefined; data["moSeq"] = this.moSeq; - data["lotno"] = this.lotno; - data["lotSeq"] = this.lotSeq; - data["lotQty"] = this.lotQty; - data["lotStatus"] = this.lotStatus; - data["lotStatusName"] = this.lotStatusName; - data["printTimes"] = this.printTimes; - data["lastPrintUser"] = this.lastPrintUser; - data["lastPrintTime"] = this.lastPrintTime ? this.lastPrintTime.toISOString() : undefined; + data["tLotNo"] = this.tLotNo; + data["tLotSeq"] = this.tLotSeq; + data["sLotNo"] = this.sLotNo; + data["sLotSeq"] = this.sLotSeq; + data["cardType"] = this.cardType; + data["rrCard"] = this.rrCard; + data["modelCode"] = this.modelCode; + data["itemCode"] = this.itemCode; + data["frmRouteCode"] = this.frmRouteCode; + data["frmOpCode"] = this.frmOpCode; + data["frmSegCode"] = this.frmSegCode; + data["frmSsCode"] = this.frmSsCode; + data["frmResCode"] = this.frmResCode; + data["shiftTypeCode"] = this.shiftTypeCode; + data["shiftCode"] = this.shiftCode; + data["tpCode"] = this.tpCode; + data["shiftDay"] = this.shiftDay ? this.shiftDay.toISOString() : undefined; + data["frmUser"] = this.frmUser; + data["frmMemo"] = this.frmMemo; + data["frmTime"] = this.frmTime ? this.frmTime.toISOString() : undefined; + data["frmInputType"] = this.frmInputType; + data["tsTimes"] = this.tsTimes; + data["tsStatus"] = this.tsStatus; + data["tsStatusDesc"] = this.tsStatusDesc; + data["tsUser"] = this.tsUser; + data["tsDate"] = this.tsDate ? this.tsDate.toISOString() : undefined; + data["tsTime"] = this.tsTime; + data["tsMemo"] = this.tsMemo; + data["cResCode"] = this.cResCode; + data["cOpCode"] = this.cOpCode; + data["confirmUser"] = this.confirmUser; + data["confirmTime"] = this.confirmTime ? this.confirmTime.toISOString() : undefined; + data["refMoCode"] = this.refMoCode; + data["refRouteCode"] = this.refRouteCode; + data["refOpCode"] = this.refOpCode; + data["transStatus"] = this.transStatus; + data["tfFullPath"] = this.tfFullPath; + data["tsResCode"] = this.tsResCode; + data["scrapCause"] = this.scrapCause; + data["frmMonth"] = this.frmMonth; + data["frmWeek"] = this.frmWeek; + data["rmaBillCode"] = this.rmaBillCode; + data["frmOutRouteCode"] = this.frmOutRouteCode; + data["tsType"] = this.tsType; + data["tsRepairUser"] = this.tsRepairUser; + data["tsRepairTime"] = this.tsRepairTime ? this.tsRepairTime.toISOString() : undefined; data["memo"] = this.memo; - data["dispatchingType"] = this.dispatchingType; + data["refResCode"] = this.refResCode; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; @@ -76721,72 +118389,77 @@ export class IcsMo2LotListDto implements IIcsMo2LotListDto { return data; } - clone(): IcsMo2LotListDto { + clone(): IcsTsListDto { const json = this.toJSON(); - let result = new IcsMo2LotListDto(); + let result = new IcsTsListDto(); result.init(json); return result; } } -export interface IIcsMo2LotListDto { +export interface IIcsTsListDto { key: string | undefined; - /** 工单ID */ - moID: number; - /** 工单代码 */ + lotNo: string | undefined; + lotSeq: number | undefined; moCode: string | undefined; + moSeq: number | undefined; + tLotNo: string | undefined; + tLotSeq: number | undefined; + sLotNo: string | undefined; + sLotSeq: number | undefined; + cardType: string | undefined; + rrCard: string | undefined; + modelCode: string | undefined; itemCode: string | undefined; - itemName: string | undefined; - routeCode: string | undefined; - projectCode: string | undefined; - moPlanQty: number; - opID: number | undefined; - opCode: string | undefined; - opName: string | undefined; - opSeq: number; - /** 预计开工日期 */ - moPlanStartDate: moment.Moment; - /** 预计完工日期 */ - moPlanEndDate: moment.Moment; - /** 工单行号 */ - moSeq: number; - /** 产品序列号 */ - lotno: string | undefined; - /** 序号 */ - lotSeq: number; - /** 批次数量 */ - lotQty: number; - /** 批次状态 */ - lotStatus: string | undefined; - lotStatusName: string | undefined; - /** 打印次数 */ - printTimes: number | undefined; - /** 最后打印人 */ - lastPrintUser: string | undefined; - /** 最后打印日期 */ - lastPrintTime: moment.Moment | undefined; - /** 备注 */ + frmRouteCode: string | undefined; + frmOpCode: string | undefined; + frmSegCode: string | undefined; + frmSsCode: string | undefined; + frmResCode: string | undefined; + shiftTypeCode: string | undefined; + shiftCode: string | undefined; + tpCode: string | undefined; + shiftDay: moment.Moment | undefined; + frmUser: string | undefined; + frmMemo: string | undefined; + frmTime: moment.Moment | undefined; + frmInputType: string | undefined; + tsTimes: number | undefined; + tsStatus: string | undefined; + tsStatusDesc: string | undefined; + tsUser: string | undefined; + tsDate: moment.Moment | undefined; + tsTime: string | undefined; + tsMemo: string | undefined; + cResCode: string | undefined; + cOpCode: string | undefined; + confirmUser: string | undefined; + confirmTime: moment.Moment | undefined; + refMoCode: string | undefined; + refRouteCode: string | undefined; + refOpCode: string | undefined; + transStatus: string | undefined; + tfFullPath: string | undefined; + tsResCode: string | undefined; + scrapCause: string | undefined; + frmMonth: number | undefined; + frmWeek: number | undefined; + rmaBillCode: string | undefined; + frmOutRouteCode: string | undefined; + tsType: string | undefined; + tsRepairUser: string | undefined; + tsRepairTime: moment.Moment | undefined; memo: string | undefined; - dispatchingType: string | undefined; - /** 保留字段1 */ + refResCode: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -76797,117 +118470,49 @@ export interface IIcsMo2LotListDto { id: number; } -export class IcsMoDispatchingEditDto implements IIcsMoDispatchingEditDto { - key: string | undefined; +export class IcsUser2OpEditDto implements IIcsUser2OpEditDto { id: number | undefined; - /** 工单ID */ - moId: number; - /** MoCode */ - moCode: string | undefined; - itemCode: string | undefined; - itemName: string | undefined; - routeCode: string | undefined; - projectCode: string | undefined; - moPlanQty: number; - moPlanStartDate: moment.Moment; - moPlanEndDate: moment.Moment; - /** 工单行号 */ - moSeq: number; - /** 产品序列号 */ - lotno: string | undefined; - /** 序号 */ - lotSeq: number; - /** 接收人ID */ - dispatchUserId: string | undefined; - /** 接收人名称 */ - dispatchUserName: string | undefined; - /** 设备ID */ - dispatchEqpId: number | undefined; - /** 设备编码 */ - dispatchEqpCode: string | undefined; - /** 工序ID */ - dispatchOpId: number | undefined; - /** 工序代码 */ - dispatchOpCode: string | undefined; - /** 派工日期 */ - dispatchDate: moment.Moment; - /** 派工时间 */ - dispatchTime: string | undefined; - /** 派工结束日期 */ - dispatchEndDate: moment.Moment; - /** 派工结束时间 */ - dispatchEndTime: string | undefined; - /** 备注 */ + userID: string | undefined; + opId: number; + userCode: string | undefined; + opCode: string | undefined; + level: string; memo: string | undefined; - /** 产线 */ - dispatchSSID: number | undefined; - /** 产线 */ - dispatchSSCode: string | undefined; - dispatchSSName: string | undefined; - /** 数量 */ - dispatchQty: number | undefined; - /** 保留字段1 */ default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - list: IcsMoDispatchingEditDto[] | undefined; + userList: SelectItemExt[]; + opList: SelectItemExt[]; - constructor(data?: IIcsMoDispatchingEditDto) { + constructor(data?: IIcsUser2OpEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } + if (!data) { + this.userList = []; + this.opList = []; + } } init(_data?: any) { if (_data) { - this.key = _data["key"]; this.id = _data["id"]; - this.moId = _data["moId"]; - this.moCode = _data["moCode"]; - this.itemCode = _data["itemCode"]; - this.itemName = _data["itemName"]; - this.routeCode = _data["routeCode"]; - this.projectCode = _data["projectCode"]; - this.moPlanQty = _data["moPlanQty"]; - this.moPlanStartDate = _data["moPlanStartDate"] ? moment(_data["moPlanStartDate"].toString()) : undefined; - this.moPlanEndDate = _data["moPlanEndDate"] ? moment(_data["moPlanEndDate"].toString()) : undefined; - this.moSeq = _data["moSeq"]; - this.lotno = _data["lotno"]; - this.lotSeq = _data["lotSeq"]; - this.dispatchUserId = _data["dispatchUserId"]; - this.dispatchUserName = _data["dispatchUserName"]; - this.dispatchEqpId = _data["dispatchEqpId"]; - this.dispatchEqpCode = _data["dispatchEqpCode"]; - this.dispatchOpId = _data["dispatchOpId"]; - this.dispatchOpCode = _data["dispatchOpCode"]; - this.dispatchDate = _data["dispatchDate"] ? moment(_data["dispatchDate"].toString()) : undefined; - this.dispatchTime = _data["dispatchTime"]; - this.dispatchEndDate = _data["dispatchEndDate"] ? moment(_data["dispatchEndDate"].toString()) : undefined; - this.dispatchEndTime = _data["dispatchEndTime"]; + this.userID = _data["userID"]; + this.opId = _data["opId"]; + this.userCode = _data["userCode"]; + this.opCode = _data["opCode"]; + this.level = _data["level"]; this.memo = _data["memo"]; - this.dispatchSSID = _data["dispatchSSID"]; - this.dispatchSSCode = _data["dispatchSSCode"]; - this.dispatchSSName = _data["dispatchSSName"]; - this.dispatchQty = _data["dispatchQty"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; @@ -76918,52 +118523,35 @@ export class IcsMoDispatchingEditDto implements IIcsMoDispatchingEditDto { this.default8 = _data["default8"]; this.default9 = _data["default9"]; this.default10 = _data["default10"]; - if (Array.isArray(_data["list"])) { - this.list = [] as any; - for (let item of _data["list"]) - this.list.push(IcsMoDispatchingEditDto.fromJS(item)); + if (Array.isArray(_data["userList"])) { + this.userList = [] as any; + for (let item of _data["userList"]) + this.userList.push(SelectItemExt.fromJS(item)); + } + if (Array.isArray(_data["opList"])) { + this.opList = [] as any; + for (let item of _data["opList"]) + this.opList.push(SelectItemExt.fromJS(item)); } } } - static fromJS(data: any): IcsMoDispatchingEditDto { + static fromJS(data: any): IcsUser2OpEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsMoDispatchingEditDto(); + let result = new IcsUser2OpEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; data["id"] = this.id; - data["moId"] = this.moId; - data["moCode"] = this.moCode; - data["itemCode"] = this.itemCode; - data["itemName"] = this.itemName; - data["routeCode"] = this.routeCode; - data["projectCode"] = this.projectCode; - data["moPlanQty"] = this.moPlanQty; - data["moPlanStartDate"] = this.moPlanStartDate ? this.moPlanStartDate.toISOString() : undefined; - data["moPlanEndDate"] = this.moPlanEndDate ? this.moPlanEndDate.toISOString() : undefined; - data["moSeq"] = this.moSeq; - data["lotno"] = this.lotno; - data["lotSeq"] = this.lotSeq; - data["dispatchUserId"] = this.dispatchUserId; - data["dispatchUserName"] = this.dispatchUserName; - data["dispatchEqpId"] = this.dispatchEqpId; - data["dispatchEqpCode"] = this.dispatchEqpCode; - data["dispatchOpId"] = this.dispatchOpId; - data["dispatchOpCode"] = this.dispatchOpCode; - data["dispatchDate"] = this.dispatchDate ? this.dispatchDate.toISOString() : undefined; - data["dispatchTime"] = this.dispatchTime; - data["dispatchEndDate"] = this.dispatchEndDate ? this.dispatchEndDate.toISOString() : undefined; - data["dispatchEndTime"] = this.dispatchEndTime; + data["userID"] = this.userID; + data["opId"] = this.opId; + data["userCode"] = this.userCode; + data["opCode"] = this.opCode; + data["level"] = this.level; data["memo"] = this.memo; - data["dispatchSSID"] = this.dispatchSSID; - data["dispatchSSCode"] = this.dispatchSSCode; - data["dispatchSSName"] = this.dispatchSSName; - data["dispatchQty"] = this.dispatchQty; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; @@ -76974,161 +118562,69 @@ export class IcsMoDispatchingEditDto implements IIcsMoDispatchingEditDto { data["default8"] = this.default8; data["default9"] = this.default9; data["default10"] = this.default10; - if (Array.isArray(this.list)) { - data["list"] = []; - for (let item of this.list) - data["list"].push(item.toJSON()); + if (Array.isArray(this.userList)) { + data["userList"] = []; + for (let item of this.userList) + data["userList"].push(item.toJSON()); + } + if (Array.isArray(this.opList)) { + data["opList"] = []; + for (let item of this.opList) + data["opList"].push(item.toJSON()); } return data; } - clone(): IcsMoDispatchingEditDto { + clone(): IcsUser2OpEditDto { const json = this.toJSON(); - let result = new IcsMoDispatchingEditDto(); + let result = new IcsUser2OpEditDto(); result.init(json); return result; } } -export interface IIcsMoDispatchingEditDto { - key: string | undefined; +export interface IIcsUser2OpEditDto { id: number | undefined; - /** 工单ID */ - moId: number; - /** MoCode */ - moCode: string | undefined; - itemCode: string | undefined; - itemName: string | undefined; - routeCode: string | undefined; - projectCode: string | undefined; - moPlanQty: number; - moPlanStartDate: moment.Moment; - moPlanEndDate: moment.Moment; - /** 工单行号 */ - moSeq: number; - /** 产品序列号 */ - lotno: string | undefined; - /** 序号 */ - lotSeq: number; - /** 接收人ID */ - dispatchUserId: string | undefined; - /** 接收人名称 */ - dispatchUserName: string | undefined; - /** 设备ID */ - dispatchEqpId: number | undefined; - /** 设备编码 */ - dispatchEqpCode: string | undefined; - /** 工序ID */ - dispatchOpId: number | undefined; - /** 工序代码 */ - dispatchOpCode: string | undefined; - /** 派工日期 */ - dispatchDate: moment.Moment; - /** 派工时间 */ - dispatchTime: string | undefined; - /** 派工结束日期 */ - dispatchEndDate: moment.Moment; - /** 派工结束时间 */ - dispatchEndTime: string | undefined; - /** 备注 */ + userID: string | undefined; + opId: number; + userCode: string | undefined; + opCode: string | undefined; + level: string; memo: string | undefined; - /** 产线 */ - dispatchSSID: number | undefined; - /** 产线 */ - dispatchSSCode: string | undefined; - dispatchSSName: string | undefined; - /** 数量 */ - dispatchQty: number | undefined; - /** 保留字段1 */ default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - list: IcsMoDispatchingEditDto[] | undefined; + userList: SelectItemExt[]; + opList: SelectItemExt[]; } -export class IcsMoDispatchingListDto implements IIcsMoDispatchingListDto { +export class IcsUser2OpListDto implements IIcsUser2OpListDto { + userID: string | undefined; key: string | undefined; - /** 工单ID */ - moId: number; - /** MoCode */ - moCode: string | undefined; - /** 工单行号 */ - moSeq: number; - itemCode: string | undefined; - itemName: string | undefined; - /** 产品序列号 */ - lotno: string | undefined; - /** 序号 */ - lotSeq: number; - /** 接收人ID */ - dispatchUserId: string | undefined; - /** 接收人 */ - dispatchUserCode: string | undefined; - /** 接收人名称 */ - dispatchUserName: string | undefined; - /** 设备ID */ - dispatchEqpId: number | undefined; - /** 设备编码 */ - dispatchEqpCode: string | undefined; - dispatchEqpName: string | undefined; - /** 工序ID */ - dispatchOpId: number | undefined; - /** 工序代码 */ - dispatchOpCode: string | undefined; - dispatchOpName: string | undefined; - opSeq: number; - /** 派工日期 */ - dispatchDate: moment.Moment; - /** 派工时间 */ - dispatchTime: string | undefined; - /** 派工结束日期 */ - dispatchEndDate: moment.Moment; - /** 派工结束时间 */ - dispatchEndTime: string | undefined; - /** 备注 */ + opId: number; + userCode: string | undefined; + userName: string | undefined; + opCode: string | undefined; + opName: string | undefined; + level: string | undefined; + levelName: string | undefined; memo: string | undefined; - /** 产线 */ - dispatchSSID: number | undefined; - /** 产线 */ - dispatchSSCode: string | undefined; - dispatchSSName: string | undefined; - /** 数量 */ - dispatchQty: number | undefined; - /** 保留字段1 */ default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -77138,7 +118634,7 @@ export class IcsMoDispatchingListDto implements IIcsMoDispatchingListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsMoDispatchingListDto) { + constructor(data?: IIcsUser2OpListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -77148,34 +118644,17 @@ export class IcsMoDispatchingListDto implements IIcsMoDispatchingListDto { } init(_data?: any) { - if (_data) { - this.key = _data["key"]; - this.moId = _data["moId"]; - this.moCode = _data["moCode"]; - this.moSeq = _data["moSeq"]; - this.itemCode = _data["itemCode"]; - this.itemName = _data["itemName"]; - this.lotno = _data["lotno"]; - this.lotSeq = _data["lotSeq"]; - this.dispatchUserId = _data["dispatchUserId"]; - this.dispatchUserCode = _data["dispatchUserCode"]; - this.dispatchUserName = _data["dispatchUserName"]; - this.dispatchEqpId = _data["dispatchEqpId"]; - this.dispatchEqpCode = _data["dispatchEqpCode"]; - this.dispatchEqpName = _data["dispatchEqpName"]; - this.dispatchOpId = _data["dispatchOpId"]; - this.dispatchOpCode = _data["dispatchOpCode"]; - this.dispatchOpName = _data["dispatchOpName"]; - this.opSeq = _data["opSeq"]; - this.dispatchDate = _data["dispatchDate"] ? moment(_data["dispatchDate"].toString()) : undefined; - this.dispatchTime = _data["dispatchTime"]; - this.dispatchEndDate = _data["dispatchEndDate"] ? moment(_data["dispatchEndDate"].toString()) : undefined; - this.dispatchEndTime = _data["dispatchEndTime"]; + if (_data) { + this.userID = _data["userID"]; + this.key = _data["key"]; + this.opId = _data["opId"]; + this.userCode = _data["userCode"]; + this.userName = _data["userName"]; + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.level = _data["level"]; + this.levelName = _data["levelName"]; this.memo = _data["memo"]; - this.dispatchSSID = _data["dispatchSSID"]; - this.dispatchSSCode = _data["dispatchSSCode"]; - this.dispatchSSName = _data["dispatchSSName"]; - this.dispatchQty = _data["dispatchQty"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; @@ -77196,42 +118675,25 @@ export class IcsMoDispatchingListDto implements IIcsMoDispatchingListDto { } } - static fromJS(data: any): IcsMoDispatchingListDto { + static fromJS(data: any): IcsUser2OpListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsMoDispatchingListDto(); + let result = new IcsUser2OpListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["userID"] = this.userID; data["key"] = this.key; - data["moId"] = this.moId; - data["moCode"] = this.moCode; - data["moSeq"] = this.moSeq; - data["itemCode"] = this.itemCode; - data["itemName"] = this.itemName; - data["lotno"] = this.lotno; - data["lotSeq"] = this.lotSeq; - data["dispatchUserId"] = this.dispatchUserId; - data["dispatchUserCode"] = this.dispatchUserCode; - data["dispatchUserName"] = this.dispatchUserName; - data["dispatchEqpId"] = this.dispatchEqpId; - data["dispatchEqpCode"] = this.dispatchEqpCode; - data["dispatchEqpName"] = this.dispatchEqpName; - data["dispatchOpId"] = this.dispatchOpId; - data["dispatchOpCode"] = this.dispatchOpCode; - data["dispatchOpName"] = this.dispatchOpName; - data["opSeq"] = this.opSeq; - data["dispatchDate"] = this.dispatchDate ? this.dispatchDate.toISOString() : undefined; - data["dispatchTime"] = this.dispatchTime; - data["dispatchEndDate"] = this.dispatchEndDate ? this.dispatchEndDate.toISOString() : undefined; - data["dispatchEndTime"] = this.dispatchEndTime; + data["opId"] = this.opId; + data["userCode"] = this.userCode; + data["userName"] = this.userName; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["level"] = this.level; + data["levelName"] = this.levelName; data["memo"] = this.memo; - data["dispatchSSID"] = this.dispatchSSID; - data["dispatchSSCode"] = this.dispatchSSCode; - data["dispatchSSName"] = this.dispatchSSName; - data["dispatchQty"] = this.dispatchQty; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; @@ -77252,81 +118714,34 @@ export class IcsMoDispatchingListDto implements IIcsMoDispatchingListDto { return data; } - clone(): IcsMoDispatchingListDto { + clone(): IcsUser2OpListDto { const json = this.toJSON(); - let result = new IcsMoDispatchingListDto(); + let result = new IcsUser2OpListDto(); result.init(json); return result; } } -export interface IIcsMoDispatchingListDto { +export interface IIcsUser2OpListDto { + userID: string | undefined; key: string | undefined; - /** 工单ID */ - moId: number; - /** MoCode */ - moCode: string | undefined; - /** 工单行号 */ - moSeq: number; - itemCode: string | undefined; - itemName: string | undefined; - /** 产品序列号 */ - lotno: string | undefined; - /** 序号 */ - lotSeq: number; - /** 接收人ID */ - dispatchUserId: string | undefined; - /** 接收人 */ - dispatchUserCode: string | undefined; - /** 接收人名称 */ - dispatchUserName: string | undefined; - /** 设备ID */ - dispatchEqpId: number | undefined; - /** 设备编码 */ - dispatchEqpCode: string | undefined; - dispatchEqpName: string | undefined; - /** 工序ID */ - dispatchOpId: number | undefined; - /** 工序代码 */ - dispatchOpCode: string | undefined; - dispatchOpName: string | undefined; - opSeq: number; - /** 派工日期 */ - dispatchDate: moment.Moment; - /** 派工时间 */ - dispatchTime: string | undefined; - /** 派工结束日期 */ - dispatchEndDate: moment.Moment; - /** 派工结束时间 */ - dispatchEndTime: string | undefined; - /** 备注 */ + opId: number; + userCode: string | undefined; + userName: string | undefined; + opCode: string | undefined; + opName: string | undefined; + level: string | undefined; + levelName: string | undefined; memo: string | undefined; - /** 产线 */ - dispatchSSID: number | undefined; - /** 产线 */ - dispatchSSCode: string | undefined; - dispatchSSName: string | undefined; - /** 数量 */ - dispatchQty: number | undefined; - /** 保留字段1 */ default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; @@ -77337,136 +118752,20 @@ export interface IIcsMoDispatchingListDto { id: number; } -export class IcsMoEditDto implements IIcsMoEditDto { - id: number | undefined; - /** 工单代码 */ - moCode: string | undefined; - /** 工单流水号 */ - moSeq: number; - /** 工单备注(工单别) */ - moMemo: string | undefined; - /** 工单类型 */ - moType: string | undefined; - /** 工单描述 */ - moDesc: string | undefined; - /** 工单途程 */ - moRoute: string | undefined; - /** BIOS版本 */ - moBiosVer: string | undefined; - /** PCBA版本 */ - moPcbaVer: string | undefined; - /** 计划产出量 */ - moPlanQty: number; - /** 实际投入数 */ - moInputQty: number; - /** 实际报废量 */ - moScrapQty: number; - /** 实际产出量 */ - moActQty: number; - /** 预计开工日期 */ - moPlanStartDate: moment.Moment; - /** 预计完工日期 */ - moPlanEndDate: moment.Moment; - /** 实际开工日期 */ - moActStartDate: moment.Moment; - /** 实际完工日期 */ - moActEndDate: moment.Moment; - /** 工厂代码 */ - facCode: string | undefined; - /** 车间 */ - segCode: string | undefined; - /** 客户代码 */ - cusCode: string | undefined; - /** 客户名称 */ - cusName: string | undefined; - /** 客户订单号 */ - cusOrderNo: string | undefined; - /** 客户物料代码 */ - cusItemCode: string | undefined; - /** 订单号 */ - orderNo: string | undefined; - /** 订单序号 */ - orderSeq: number | undefined; - /** 开立人员 */ - moUser: string | undefined; - /** 开立日期 */ - moDownDate: moment.Moment; - /** 生产状态 */ - moStatus: string | undefined; - /** 工单版本 */ - moVer: string | undefined; - /** 是否限制工单投入 */ - isConInput: string | undefined; - /** 是否比对BOM通过 */ - isBomPass: string | undefined; - /** 换算比率 */ - idMergeRule: number | undefined; - /** 产品料号 */ - itemCode: string | undefined; - /** 工单下发时间 */ - moReleaseTime: moment.Moment | undefined; - /** 工单暂停原因 */ - moPendingCause: string | undefined; - /** 工单导入时间 */ - moImportTime: moment.Moment | undefined; - /** 脱离工单数量 */ - offMoQty: number | undefined; - /** 是否比较软件版本 */ - isCompareSoft: string | undefined; - /** RMA代码 */ - rmaBillcode: string | undefined; - /** 返工工单代码 */ - reMoCode: string | undefined; - /** 返工工单产品代码 */ - reMoItemCode: string | undefined; - /** 返工工单产品描述 */ - reMoItemDesc: string | undefined; - /** 返工工单批号 */ - reMoLotno: string | undefined; - /** 返工工单是否有效 */ - reMoEnabled: string | undefined; - /** 工单BOM版本 */ - moBom: string | undefined; - /** 工序控制码 */ - moOp: string | undefined; - /** 计划生产产线 */ - moPlanLine: string | undefined; - /** 倒冲库存地 */ - backflushStorage: string | undefined; - /** 预警停线标志 */ - warningStopLine: string | undefined; - /** 采集模式 */ - collectModel: string | undefined; - /** 采集方式 */ - collectType: string | undefined; - /** 项目号 */ - projectCode: string | undefined; - /** 生产批号 */ - productLotNo: string | undefined; - /** 备注 */ +export class IcsVendorEditDto implements IIcsVendorEditDto { + vendorCode: string | undefined; + vendorName: string | undefined; + vendorShortName: string | undefined; + vendorDesc: string | undefined; memo: string | undefined; - /** 保留字段1 */ default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; + id: number | undefined; - constructor(data?: IIcsMoEditDto) { + constructor(data?: IIcsVendorEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -77477,766 +118776,155 @@ export class IcsMoEditDto implements IIcsMoEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.moCode = _data["moCode"]; - this.moSeq = _data["moSeq"]; - this.moMemo = _data["moMemo"]; - this.moType = _data["moType"]; - this.moDesc = _data["moDesc"]; - this.moRoute = _data["moRoute"]; - this.moBiosVer = _data["moBiosVer"]; - this.moPcbaVer = _data["moPcbaVer"]; - this.moPlanQty = _data["moPlanQty"]; - this.moInputQty = _data["moInputQty"]; - this.moScrapQty = _data["moScrapQty"]; - this.moActQty = _data["moActQty"]; - this.moPlanStartDate = _data["moPlanStartDate"] ? moment(_data["moPlanStartDate"].toString()) : undefined; - this.moPlanEndDate = _data["moPlanEndDate"] ? moment(_data["moPlanEndDate"].toString()) : undefined; - this.moActStartDate = _data["moActStartDate"] ? moment(_data["moActStartDate"].toString()) : undefined; - this.moActEndDate = _data["moActEndDate"] ? moment(_data["moActEndDate"].toString()) : undefined; - this.facCode = _data["facCode"]; - this.segCode = _data["segCode"]; - this.cusCode = _data["cusCode"]; - this.cusName = _data["cusName"]; - this.cusOrderNo = _data["cusOrderNo"]; - this.cusItemCode = _data["cusItemCode"]; - this.orderNo = _data["orderNo"]; - this.orderSeq = _data["orderSeq"]; - this.moUser = _data["moUser"]; - this.moDownDate = _data["moDownDate"] ? moment(_data["moDownDate"].toString()) : undefined; - this.moStatus = _data["moStatus"]; - this.moVer = _data["moVer"]; - this.isConInput = _data["isConInput"]; - this.isBomPass = _data["isBomPass"]; - this.idMergeRule = _data["idMergeRule"]; - this.itemCode = _data["itemCode"]; - this.moReleaseTime = _data["moReleaseTime"] ? moment(_data["moReleaseTime"].toString()) : undefined; - this.moPendingCause = _data["moPendingCause"]; - this.moImportTime = _data["moImportTime"] ? moment(_data["moImportTime"].toString()) : undefined; - this.offMoQty = _data["offMoQty"]; - this.isCompareSoft = _data["isCompareSoft"]; - this.rmaBillcode = _data["rmaBillcode"]; - this.reMoCode = _data["reMoCode"]; - this.reMoItemCode = _data["reMoItemCode"]; - this.reMoItemDesc = _data["reMoItemDesc"]; - this.reMoLotno = _data["reMoLotno"]; - this.reMoEnabled = _data["reMoEnabled"]; - this.moBom = _data["moBom"]; - this.moOp = _data["moOp"]; - this.moPlanLine = _data["moPlanLine"]; - this.backflushStorage = _data["backflushStorage"]; - this.warningStopLine = _data["warningStopLine"]; - this.collectModel = _data["collectModel"]; - this.collectType = _data["collectType"]; - this.projectCode = _data["projectCode"]; - this.productLotNo = _data["productLotNo"]; + this.vendorCode = _data["vendorCode"]; + this.vendorName = _data["vendorName"]; + this.vendorShortName = _data["vendorShortName"]; + this.vendorDesc = _data["vendorDesc"]; this.memo = _data["memo"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; this.default4 = _data["default4"]; this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; + this.id = _data["id"]; } } - static fromJS(data: any): IcsMoEditDto { + static fromJS(data: any): IcsVendorEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsMoEditDto(); + let result = new IcsVendorEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["moCode"] = this.moCode; - data["moSeq"] = this.moSeq; - data["moMemo"] = this.moMemo; - data["moType"] = this.moType; - data["moDesc"] = this.moDesc; - data["moRoute"] = this.moRoute; - data["moBiosVer"] = this.moBiosVer; - data["moPcbaVer"] = this.moPcbaVer; - data["moPlanQty"] = this.moPlanQty; - data["moInputQty"] = this.moInputQty; - data["moScrapQty"] = this.moScrapQty; - data["moActQty"] = this.moActQty; - data["moPlanStartDate"] = this.moPlanStartDate ? this.moPlanStartDate.toISOString() : undefined; - data["moPlanEndDate"] = this.moPlanEndDate ? this.moPlanEndDate.toISOString() : undefined; - data["moActStartDate"] = this.moActStartDate ? this.moActStartDate.toISOString() : undefined; - data["moActEndDate"] = this.moActEndDate ? this.moActEndDate.toISOString() : undefined; - data["facCode"] = this.facCode; - data["segCode"] = this.segCode; - data["cusCode"] = this.cusCode; - data["cusName"] = this.cusName; - data["cusOrderNo"] = this.cusOrderNo; - data["cusItemCode"] = this.cusItemCode; - data["orderNo"] = this.orderNo; - data["orderSeq"] = this.orderSeq; - data["moUser"] = this.moUser; - data["moDownDate"] = this.moDownDate ? this.moDownDate.toISOString() : undefined; - data["moStatus"] = this.moStatus; - data["moVer"] = this.moVer; - data["isConInput"] = this.isConInput; - data["isBomPass"] = this.isBomPass; - data["idMergeRule"] = this.idMergeRule; - data["itemCode"] = this.itemCode; - data["moReleaseTime"] = this.moReleaseTime ? this.moReleaseTime.toISOString() : undefined; - data["moPendingCause"] = this.moPendingCause; - data["moImportTime"] = this.moImportTime ? this.moImportTime.toISOString() : undefined; - data["offMoQty"] = this.offMoQty; - data["isCompareSoft"] = this.isCompareSoft; - data["rmaBillcode"] = this.rmaBillcode; - data["reMoCode"] = this.reMoCode; - data["reMoItemCode"] = this.reMoItemCode; - data["reMoItemDesc"] = this.reMoItemDesc; - data["reMoLotno"] = this.reMoLotno; - data["reMoEnabled"] = this.reMoEnabled; - data["moBom"] = this.moBom; - data["moOp"] = this.moOp; - data["moPlanLine"] = this.moPlanLine; - data["backflushStorage"] = this.backflushStorage; - data["warningStopLine"] = this.warningStopLine; - data["collectModel"] = this.collectModel; - data["collectType"] = this.collectType; - data["projectCode"] = this.projectCode; - data["productLotNo"] = this.productLotNo; + data["vendorCode"] = this.vendorCode; + data["vendorName"] = this.vendorName; + data["vendorShortName"] = this.vendorShortName; + data["vendorDesc"] = this.vendorDesc; data["memo"] = this.memo; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; data["default4"] = this.default4; data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; + data["id"] = this.id; return data; } - clone(): IcsMoEditDto { + clone(): IcsVendorEditDto { const json = this.toJSON(); - let result = new IcsMoEditDto(); + let result = new IcsVendorEditDto(); result.init(json); return result; } } -export interface IIcsMoEditDto { - id: number | undefined; - /** 工单代码 */ - moCode: string | undefined; - /** 工单流水号 */ - moSeq: number; - /** 工单备注(工单别) */ - moMemo: string | undefined; - /** 工单类型 */ - moType: string | undefined; - /** 工单描述 */ - moDesc: string | undefined; - /** 工单途程 */ - moRoute: string | undefined; - /** BIOS版本 */ - moBiosVer: string | undefined; - /** PCBA版本 */ - moPcbaVer: string | undefined; - /** 计划产出量 */ - moPlanQty: number; - /** 实际投入数 */ - moInputQty: number; - /** 实际报废量 */ - moScrapQty: number; - /** 实际产出量 */ - moActQty: number; - /** 预计开工日期 */ - moPlanStartDate: moment.Moment; - /** 预计完工日期 */ - moPlanEndDate: moment.Moment; - /** 实际开工日期 */ - moActStartDate: moment.Moment; - /** 实际完工日期 */ - moActEndDate: moment.Moment; - /** 工厂代码 */ - facCode: string | undefined; - /** 车间 */ - segCode: string | undefined; - /** 客户代码 */ - cusCode: string | undefined; - /** 客户名称 */ - cusName: string | undefined; - /** 客户订单号 */ - cusOrderNo: string | undefined; - /** 客户物料代码 */ - cusItemCode: string | undefined; - /** 订单号 */ - orderNo: string | undefined; - /** 订单序号 */ - orderSeq: number | undefined; - /** 开立人员 */ - moUser: string | undefined; - /** 开立日期 */ - moDownDate: moment.Moment; - /** 生产状态 */ - moStatus: string | undefined; - /** 工单版本 */ - moVer: string | undefined; - /** 是否限制工单投入 */ - isConInput: string | undefined; - /** 是否比对BOM通过 */ - isBomPass: string | undefined; - /** 换算比率 */ - idMergeRule: number | undefined; - /** 产品料号 */ - itemCode: string | undefined; - /** 工单下发时间 */ - moReleaseTime: moment.Moment | undefined; - /** 工单暂停原因 */ - moPendingCause: string | undefined; - /** 工单导入时间 */ - moImportTime: moment.Moment | undefined; - /** 脱离工单数量 */ - offMoQty: number | undefined; - /** 是否比较软件版本 */ - isCompareSoft: string | undefined; - /** RMA代码 */ - rmaBillcode: string | undefined; - /** 返工工单代码 */ - reMoCode: string | undefined; - /** 返工工单产品代码 */ - reMoItemCode: string | undefined; - /** 返工工单产品描述 */ - reMoItemDesc: string | undefined; - /** 返工工单批号 */ - reMoLotno: string | undefined; - /** 返工工单是否有效 */ - reMoEnabled: string | undefined; - /** 工单BOM版本 */ - moBom: string | undefined; - /** 工序控制码 */ - moOp: string | undefined; - /** 计划生产产线 */ - moPlanLine: string | undefined; - /** 倒冲库存地 */ - backflushStorage: string | undefined; - /** 预警停线标志 */ - warningStopLine: string | undefined; - /** 采集模式 */ - collectModel: string | undefined; - /** 采集方式 */ - collectType: string | undefined; - /** 项目号 */ - projectCode: string | undefined; - /** 生产批号 */ - productLotNo: string | undefined; - /** 备注 */ +export interface IIcsVendorEditDto { + vendorCode: string | undefined; + vendorName: string | undefined; + vendorShortName: string | undefined; + vendorDesc: string | undefined; memo: string | undefined; - /** 保留字段1 */ default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; -} - -export class IcsMoImportDto implements IIcsMoImportDto { - /** 工单代码 */ - moCode: string; - /** 工单流水号 */ - moSeq: number; - /** 工单备注(工单别) */ - moMemo: string | undefined; - /** 工单类型 */ - moType: string; - /** 工单描述 */ - moDesc: string | undefined; - /** BIOS版本 */ - moBiosVer: string | undefined; - /** PCBA版本 */ - moPcbaVer: string | undefined; - /** 计划产出量 */ - moPlanQty: number; - /** 实际投入数 */ - moInputQty: number; - /** 实际报废量 */ - moScrapQty: number; - /** 实际产出量 */ - moActQty: number; - /** 预计开工日期 */ - moPlanStartDate: moment.Moment; - /** 预计完工日期 */ - moPlanEndDate: moment.Moment; - /** 实际开工日期 */ - moActStartDate: moment.Moment; - /** 实际完工日期 */ - moActEndDate: moment.Moment; - /** 工厂代码 */ - facCode: string | undefined; - /** 车间 */ - segCode: string | undefined; - /** 客户代码 */ - cusCode: string | undefined; - /** 客户名称 */ - cusName: string | undefined; - /** 客户订单号 */ - cusOrderNo: string | undefined; - /** 客户物料代码 */ - cusItemCode: string | undefined; - /** 订单号 */ - orderNo: string | undefined; - /** 订单序号 */ - orderSeq: number; - /** 开立人员 */ - moUser: string | undefined; - /** 开立日期 */ - moDownDate: moment.Moment; - /** 生产状态 */ - moStatus: string | undefined; - /** 工单版本 */ - moVer: string | undefined; - /** 是否限制工单投入 */ - isConInput: string | undefined; - /** 是否比对BOM通过 */ - isBomPass: string | undefined; - /** 换算比率 */ - idMergeRule: number | undefined; - /** 产品料号 */ - itemCode: string; - /** 工单下发时间 */ - moReleaseTime: moment.Moment | undefined; - /** 工单暂停原因 */ - moPendingCause: string | undefined; - /** 工单导入时间 */ - moImportTime: moment.Moment | undefined; - /** 脱离工单数量 */ - offMoQty: number; - /** 是否比较软件版本 */ - isCompareSoft: string | undefined; - /** RMA代码 */ - rmaBillcode: string | undefined; - /** 返工工单代码 */ - reMoCode: string | undefined; - /** 返工工单产品代码 */ - reMoItemCode: string | undefined; - /** 返工工单产品描述 */ - reMoItemDesc: string | undefined; - /** 返工工单批号 */ - reMoLotno: string | undefined; - /** 返工工单是否有效 */ - reMoEnabled: string | undefined; - /** 工单BOM版本 */ - moBom: string; - /** 工序控制码 */ - moOp: string | undefined; - /** 计划完工时间 */ - moPlanEndTime: moment.Moment; - /** 计划生产产线 */ - moPlanLine: string | undefined; - /** 倒冲库存地 */ - backflushStorage: string | undefined; - /** 预警停线标志 */ - warningStopLine: string | undefined; - /** 采集模式 */ - collectModel: string; - /** 备注 */ - memo: string | undefined; - - constructor(data?: IIcsMoImportDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } - } - } - - init(_data?: any) { - if (_data) { - this.moCode = _data["moCode"]; - this.moSeq = _data["moSeq"]; - this.moMemo = _data["moMemo"]; - this.moType = _data["moType"]; - this.moDesc = _data["moDesc"]; - this.moBiosVer = _data["moBiosVer"]; - this.moPcbaVer = _data["moPcbaVer"]; - this.moPlanQty = _data["moPlanQty"]; - this.moInputQty = _data["moInputQty"]; - this.moScrapQty = _data["moScrapQty"]; - this.moActQty = _data["moActQty"]; - this.moPlanStartDate = _data["moPlanStartDate"] ? moment(_data["moPlanStartDate"].toString()) : undefined; - this.moPlanEndDate = _data["moPlanEndDate"] ? moment(_data["moPlanEndDate"].toString()) : undefined; - this.moActStartDate = _data["moActStartDate"] ? moment(_data["moActStartDate"].toString()) : undefined; - this.moActEndDate = _data["moActEndDate"] ? moment(_data["moActEndDate"].toString()) : undefined; - this.facCode = _data["facCode"]; - this.segCode = _data["segCode"]; - this.cusCode = _data["cusCode"]; - this.cusName = _data["cusName"]; - this.cusOrderNo = _data["cusOrderNo"]; - this.cusItemCode = _data["cusItemCode"]; - this.orderNo = _data["orderNo"]; - this.orderSeq = _data["orderSeq"]; - this.moUser = _data["moUser"]; - this.moDownDate = _data["moDownDate"] ? moment(_data["moDownDate"].toString()) : undefined; - this.moStatus = _data["moStatus"]; - this.moVer = _data["moVer"]; - this.isConInput = _data["isConInput"]; - this.isBomPass = _data["isBomPass"]; - this.idMergeRule = _data["idMergeRule"]; - this.itemCode = _data["itemCode"]; - this.moReleaseTime = _data["moReleaseTime"] ? moment(_data["moReleaseTime"].toString()) : undefined; - this.moPendingCause = _data["moPendingCause"]; - this.moImportTime = _data["moImportTime"] ? moment(_data["moImportTime"].toString()) : undefined; - this.offMoQty = _data["offMoQty"]; - this.isCompareSoft = _data["isCompareSoft"]; - this.rmaBillcode = _data["rmaBillcode"]; - this.reMoCode = _data["reMoCode"]; - this.reMoItemCode = _data["reMoItemCode"]; - this.reMoItemDesc = _data["reMoItemDesc"]; - this.reMoLotno = _data["reMoLotno"]; - this.reMoEnabled = _data["reMoEnabled"]; - this.moBom = _data["moBom"]; - this.moOp = _data["moOp"]; - this.moPlanEndTime = _data["moPlanEndTime"] ? moment(_data["moPlanEndTime"].toString()) : undefined; - this.moPlanLine = _data["moPlanLine"]; - this.backflushStorage = _data["backflushStorage"]; - this.warningStopLine = _data["warningStopLine"]; - this.collectModel = _data["collectModel"]; - this.memo = _data["memo"]; - } - } - - static fromJS(data: any): IcsMoImportDto { - data = typeof data === 'object' ? data : {}; - let result = new IcsMoImportDto(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["moCode"] = this.moCode; - data["moSeq"] = this.moSeq; - data["moMemo"] = this.moMemo; - data["moType"] = this.moType; - data["moDesc"] = this.moDesc; - data["moBiosVer"] = this.moBiosVer; - data["moPcbaVer"] = this.moPcbaVer; - data["moPlanQty"] = this.moPlanQty; - data["moInputQty"] = this.moInputQty; - data["moScrapQty"] = this.moScrapQty; - data["moActQty"] = this.moActQty; - data["moPlanStartDate"] = this.moPlanStartDate ? this.moPlanStartDate.toISOString() : undefined; - data["moPlanEndDate"] = this.moPlanEndDate ? this.moPlanEndDate.toISOString() : undefined; - data["moActStartDate"] = this.moActStartDate ? this.moActStartDate.toISOString() : undefined; - data["moActEndDate"] = this.moActEndDate ? this.moActEndDate.toISOString() : undefined; - data["facCode"] = this.facCode; - data["segCode"] = this.segCode; - data["cusCode"] = this.cusCode; - data["cusName"] = this.cusName; - data["cusOrderNo"] = this.cusOrderNo; - data["cusItemCode"] = this.cusItemCode; - data["orderNo"] = this.orderNo; - data["orderSeq"] = this.orderSeq; - data["moUser"] = this.moUser; - data["moDownDate"] = this.moDownDate ? this.moDownDate.toISOString() : undefined; - data["moStatus"] = this.moStatus; - data["moVer"] = this.moVer; - data["isConInput"] = this.isConInput; - data["isBomPass"] = this.isBomPass; - data["idMergeRule"] = this.idMergeRule; - data["itemCode"] = this.itemCode; - data["moReleaseTime"] = this.moReleaseTime ? this.moReleaseTime.toISOString() : undefined; - data["moPendingCause"] = this.moPendingCause; - data["moImportTime"] = this.moImportTime ? this.moImportTime.toISOString() : undefined; - data["offMoQty"] = this.offMoQty; - data["isCompareSoft"] = this.isCompareSoft; - data["rmaBillcode"] = this.rmaBillcode; - data["reMoCode"] = this.reMoCode; - data["reMoItemCode"] = this.reMoItemCode; - data["reMoItemDesc"] = this.reMoItemDesc; - data["reMoLotno"] = this.reMoLotno; - data["reMoEnabled"] = this.reMoEnabled; - data["moBom"] = this.moBom; - data["moOp"] = this.moOp; - data["moPlanEndTime"] = this.moPlanEndTime ? this.moPlanEndTime.toISOString() : undefined; - data["moPlanLine"] = this.moPlanLine; - data["backflushStorage"] = this.backflushStorage; - data["warningStopLine"] = this.warningStopLine; - data["collectModel"] = this.collectModel; + id: number | undefined; +} + +export class IcsVendorImportDto implements IIcsVendorImportDto { + vendorCode: string; + vendorName: string; + vendorShortName: string; + vendorDesc: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + + constructor(data?: IIcsVendorImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.vendorCode = _data["vendorCode"]; + this.vendorName = _data["vendorName"]; + this.vendorShortName = _data["vendorShortName"]; + this.vendorDesc = _data["vendorDesc"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + } + } + + static fromJS(data: any): IcsVendorImportDto { + data = typeof data === 'object' ? data : {}; + let result = new IcsVendorImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["vendorCode"] = this.vendorCode; + data["vendorName"] = this.vendorName; + data["vendorShortName"] = this.vendorShortName; + data["vendorDesc"] = this.vendorDesc; data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; return data; } - clone(): IcsMoImportDto { + clone(): IcsVendorImportDto { const json = this.toJSON(); - let result = new IcsMoImportDto(); + let result = new IcsVendorImportDto(); result.init(json); return result; } } -export interface IIcsMoImportDto { - /** 工单代码 */ - moCode: string; - /** 工单流水号 */ - moSeq: number; - /** 工单备注(工单别) */ - moMemo: string | undefined; - /** 工单类型 */ - moType: string; - /** 工单描述 */ - moDesc: string | undefined; - /** BIOS版本 */ - moBiosVer: string | undefined; - /** PCBA版本 */ - moPcbaVer: string | undefined; - /** 计划产出量 */ - moPlanQty: number; - /** 实际投入数 */ - moInputQty: number; - /** 实际报废量 */ - moScrapQty: number; - /** 实际产出量 */ - moActQty: number; - /** 预计开工日期 */ - moPlanStartDate: moment.Moment; - /** 预计完工日期 */ - moPlanEndDate: moment.Moment; - /** 实际开工日期 */ - moActStartDate: moment.Moment; - /** 实际完工日期 */ - moActEndDate: moment.Moment; - /** 工厂代码 */ - facCode: string | undefined; - /** 车间 */ - segCode: string | undefined; - /** 客户代码 */ - cusCode: string | undefined; - /** 客户名称 */ - cusName: string | undefined; - /** 客户订单号 */ - cusOrderNo: string | undefined; - /** 客户物料代码 */ - cusItemCode: string | undefined; - /** 订单号 */ - orderNo: string | undefined; - /** 订单序号 */ - orderSeq: number; - /** 开立人员 */ - moUser: string | undefined; - /** 开立日期 */ - moDownDate: moment.Moment; - /** 生产状态 */ - moStatus: string | undefined; - /** 工单版本 */ - moVer: string | undefined; - /** 是否限制工单投入 */ - isConInput: string | undefined; - /** 是否比对BOM通过 */ - isBomPass: string | undefined; - /** 换算比率 */ - idMergeRule: number | undefined; - /** 产品料号 */ - itemCode: string; - /** 工单下发时间 */ - moReleaseTime: moment.Moment | undefined; - /** 工单暂停原因 */ - moPendingCause: string | undefined; - /** 工单导入时间 */ - moImportTime: moment.Moment | undefined; - /** 脱离工单数量 */ - offMoQty: number; - /** 是否比较软件版本 */ - isCompareSoft: string | undefined; - /** RMA代码 */ - rmaBillcode: string | undefined; - /** 返工工单代码 */ - reMoCode: string | undefined; - /** 返工工单产品代码 */ - reMoItemCode: string | undefined; - /** 返工工单产品描述 */ - reMoItemDesc: string | undefined; - /** 返工工单批号 */ - reMoLotno: string | undefined; - /** 返工工单是否有效 */ - reMoEnabled: string | undefined; - /** 工单BOM版本 */ - moBom: string; - /** 工序控制码 */ - moOp: string | undefined; - /** 计划完工时间 */ - moPlanEndTime: moment.Moment; - /** 计划生产产线 */ - moPlanLine: string | undefined; - /** 倒冲库存地 */ - backflushStorage: string | undefined; - /** 预警停线标志 */ - warningStopLine: string | undefined; - /** 采集模式 */ - collectModel: string; - /** 备注 */ +export interface IIcsVendorImportDto { + vendorCode: string; + vendorName: string; + vendorShortName: string; + vendorDesc: string | undefined; memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; } -export class IcsMoListDto implements IIcsMoListDto { - /** 工单代码 */ - moCode: string | undefined; - key: string | undefined; - /** 工单流水号 */ - moSeq: number; - /** 工单备注(工单别) */ - moMemo: string | undefined; - /** 工单类型 */ - moType: string | undefined; - moTypeText: string | undefined; - /** 工单描述 */ - moDesc: string | undefined; - /** 工单途程 */ - moRoute: string | undefined; - moRouteTypeText: string | undefined; - /** BIOS版本 */ - moBiosVer: string | undefined; - /** PCBA版本 */ - moPcbaVer: string | undefined; - /** 计划产出量 */ - moPlanQty: number; - /** 实际投入数 */ - moInputQty: number; - /** 实际报废量 */ - moScrapQty: number; - /** 实际产出量 */ - moActQty: number; - /** 预计开工日期 */ - moPlanStartDate: moment.Moment; - /** 预计完工日期 */ - moPlanEndDate: moment.Moment; - /** 实际开工日期 */ - moActStartDate: moment.Moment; - /** 实际完工日期 */ - moActEndDate: moment.Moment; - /** 工厂代码 */ - facCode: string | undefined; - /** 车间 */ - segCode: string | undefined; - /** 客户代码 */ - cusCode: string | undefined; - /** 客户名称 */ - cusName: string | undefined; - /** 客户订单号 */ - cusOrderNo: string | undefined; - /** 客户物料代码 */ - cusItemCode: string | undefined; - /** 订单号 */ - orderNo: string | undefined; - /** 订单序号 */ - orderSeq: number | undefined; - /** 开立人员 */ - moUser: string | undefined; - /** 开立日期 */ - moDownDate: moment.Moment; - /** 生产状态 */ - moStatus: string | undefined; - moStatusText: string | undefined; - /** 工单版本 */ - moVer: string | undefined; - /** 是否限制工单投入 */ - isConInput: string | undefined; - isConInputText: string | undefined; - /** 是否比对BOM通过 */ - isBomPass: string | undefined; - isBomPassText: string | undefined; - /** 换算比率 */ - idMergeRule: number | undefined; - /** 产品料号 */ - itemCode: string | undefined; - itemName: string | undefined; - itemDesc: string | undefined; - /** 工单下发时间 */ - moReleaseTime: moment.Moment | undefined; - /** 工单暂停原因 */ - moPendingCause: string | undefined; - /** 工单导入时间 */ - moImportTime: moment.Moment | undefined; - /** 脱离工单数量 */ - offMoQty: number | undefined; - /** 是否比较软件版本 */ - isCompareSoft: string | undefined; - isCompareSoftText: string | undefined; - /** RMA代码 */ - rmaBillcode: string | undefined; - /** 返工工单代码 */ - reMoCode: string | undefined; - /** 返工工单产品代码 */ - reMoItemCode: string | undefined; - /** 返工工单产品描述 */ - reMoItemDesc: string | undefined; - /** 返工工单批号 */ - reMoLotno: string | undefined; - /** 返工工单是否有效 */ - reMoEnabled: string | undefined; - /** 工单BOM版本 */ - moBom: string | undefined; - /** 工序控制码 */ - moOp: string | undefined; - /** 计划生产产线 */ - moPlanLine: string | undefined; - /** 倒冲库存地 */ - backflushStorage: string | undefined; - /** 预警停线标志 */ - warningStopLine: string | undefined; - /** 采集模式 */ - collectModel: string | undefined; - collectModelText: string | undefined; - /** 采集模式 */ - collectType: string | undefined; - collectTypeText: string | undefined; - /** 项目号 */ - projectCode: string | undefined; - /** 生产批号 */ - productLotNo: string | undefined; - /** 备注 */ +export class IcsVendorListDto implements IIcsVendorListDto { + vendorCode: string | undefined; + vendorName: string | undefined; + vendorShortName: string | undefined; + vendorDesc: string | undefined; memo: string | undefined; - /** 保留字段1 */ default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 工单绑定工序下拉框集合 */ - opList: SelectItemExt2[] | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -78245,7 +118933,7 @@ export class IcsMoListDto implements IIcsMoListDto { creatorUserId: string | undefined; id: number; - constructor(data?: IIcsMoListDto) { + constructor(data?: IIcsVendorListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -78256,85 +118944,16 @@ export class IcsMoListDto implements IIcsMoListDto { init(_data?: any) { if (_data) { - this.moCode = _data["moCode"]; - this.key = _data["key"]; - this.moSeq = _data["moSeq"]; - this.moMemo = _data["moMemo"]; - this.moType = _data["moType"]; - this.moTypeText = _data["moTypeText"]; - this.moDesc = _data["moDesc"]; - this.moRoute = _data["moRoute"]; - this.moRouteTypeText = _data["moRouteTypeText"]; - this.moBiosVer = _data["moBiosVer"]; - this.moPcbaVer = _data["moPcbaVer"]; - this.moPlanQty = _data["moPlanQty"]; - this.moInputQty = _data["moInputQty"]; - this.moScrapQty = _data["moScrapQty"]; - this.moActQty = _data["moActQty"]; - this.moPlanStartDate = _data["moPlanStartDate"] ? moment(_data["moPlanStartDate"].toString()) : undefined; - this.moPlanEndDate = _data["moPlanEndDate"] ? moment(_data["moPlanEndDate"].toString()) : undefined; - this.moActStartDate = _data["moActStartDate"] ? moment(_data["moActStartDate"].toString()) : undefined; - this.moActEndDate = _data["moActEndDate"] ? moment(_data["moActEndDate"].toString()) : undefined; - this.facCode = _data["facCode"]; - this.segCode = _data["segCode"]; - this.cusCode = _data["cusCode"]; - this.cusName = _data["cusName"]; - this.cusOrderNo = _data["cusOrderNo"]; - this.cusItemCode = _data["cusItemCode"]; - this.orderNo = _data["orderNo"]; - this.orderSeq = _data["orderSeq"]; - this.moUser = _data["moUser"]; - this.moDownDate = _data["moDownDate"] ? moment(_data["moDownDate"].toString()) : undefined; - this.moStatus = _data["moStatus"]; - this.moStatusText = _data["moStatusText"]; - this.moVer = _data["moVer"]; - this.isConInput = _data["isConInput"]; - this.isConInputText = _data["isConInputText"]; - this.isBomPass = _data["isBomPass"]; - this.isBomPassText = _data["isBomPassText"]; - this.idMergeRule = _data["idMergeRule"]; - this.itemCode = _data["itemCode"]; - this.itemName = _data["itemName"]; - this.itemDesc = _data["itemDesc"]; - this.moReleaseTime = _data["moReleaseTime"] ? moment(_data["moReleaseTime"].toString()) : undefined; - this.moPendingCause = _data["moPendingCause"]; - this.moImportTime = _data["moImportTime"] ? moment(_data["moImportTime"].toString()) : undefined; - this.offMoQty = _data["offMoQty"]; - this.isCompareSoft = _data["isCompareSoft"]; - this.isCompareSoftText = _data["isCompareSoftText"]; - this.rmaBillcode = _data["rmaBillcode"]; - this.reMoCode = _data["reMoCode"]; - this.reMoItemCode = _data["reMoItemCode"]; - this.reMoItemDesc = _data["reMoItemDesc"]; - this.reMoLotno = _data["reMoLotno"]; - this.reMoEnabled = _data["reMoEnabled"]; - this.moBom = _data["moBom"]; - this.moOp = _data["moOp"]; - this.moPlanLine = _data["moPlanLine"]; - this.backflushStorage = _data["backflushStorage"]; - this.warningStopLine = _data["warningStopLine"]; - this.collectModel = _data["collectModel"]; - this.collectModelText = _data["collectModelText"]; - this.collectType = _data["collectType"]; - this.collectTypeText = _data["collectTypeText"]; - this.projectCode = _data["projectCode"]; - this.productLotNo = _data["productLotNo"]; + this.vendorCode = _data["vendorCode"]; + this.vendorName = _data["vendorName"]; + this.vendorShortName = _data["vendorShortName"]; + this.vendorDesc = _data["vendorDesc"]; this.memo = _data["memo"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; this.default4 = _data["default4"]; this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - if (Array.isArray(_data["opList"])) { - this.opList = [] as any; - for (let item of _data["opList"]) - this.opList.push(SelectItemExt2.fromJS(item)); - } this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; @@ -78345,94 +118964,25 @@ export class IcsMoListDto implements IIcsMoListDto { } } - static fromJS(data: any): IcsMoListDto { + static fromJS(data: any): IcsVendorListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsMoListDto(); + let result = new IcsVendorListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["moCode"] = this.moCode; - data["key"] = this.key; - data["moSeq"] = this.moSeq; - data["moMemo"] = this.moMemo; - data["moType"] = this.moType; - data["moTypeText"] = this.moTypeText; - data["moDesc"] = this.moDesc; - data["moRoute"] = this.moRoute; - data["moRouteTypeText"] = this.moRouteTypeText; - data["moBiosVer"] = this.moBiosVer; - data["moPcbaVer"] = this.moPcbaVer; - data["moPlanQty"] = this.moPlanQty; - data["moInputQty"] = this.moInputQty; - data["moScrapQty"] = this.moScrapQty; - data["moActQty"] = this.moActQty; - data["moPlanStartDate"] = this.moPlanStartDate ? this.moPlanStartDate.toISOString() : undefined; - data["moPlanEndDate"] = this.moPlanEndDate ? this.moPlanEndDate.toISOString() : undefined; - data["moActStartDate"] = this.moActStartDate ? this.moActStartDate.toISOString() : undefined; - data["moActEndDate"] = this.moActEndDate ? this.moActEndDate.toISOString() : undefined; - data["facCode"] = this.facCode; - data["segCode"] = this.segCode; - data["cusCode"] = this.cusCode; - data["cusName"] = this.cusName; - data["cusOrderNo"] = this.cusOrderNo; - data["cusItemCode"] = this.cusItemCode; - data["orderNo"] = this.orderNo; - data["orderSeq"] = this.orderSeq; - data["moUser"] = this.moUser; - data["moDownDate"] = this.moDownDate ? this.moDownDate.toISOString() : undefined; - data["moStatus"] = this.moStatus; - data["moStatusText"] = this.moStatusText; - data["moVer"] = this.moVer; - data["isConInput"] = this.isConInput; - data["isConInputText"] = this.isConInputText; - data["isBomPass"] = this.isBomPass; - data["isBomPassText"] = this.isBomPassText; - data["idMergeRule"] = this.idMergeRule; - data["itemCode"] = this.itemCode; - data["itemName"] = this.itemName; - data["itemDesc"] = this.itemDesc; - data["moReleaseTime"] = this.moReleaseTime ? this.moReleaseTime.toISOString() : undefined; - data["moPendingCause"] = this.moPendingCause; - data["moImportTime"] = this.moImportTime ? this.moImportTime.toISOString() : undefined; - data["offMoQty"] = this.offMoQty; - data["isCompareSoft"] = this.isCompareSoft; - data["isCompareSoftText"] = this.isCompareSoftText; - data["rmaBillcode"] = this.rmaBillcode; - data["reMoCode"] = this.reMoCode; - data["reMoItemCode"] = this.reMoItemCode; - data["reMoItemDesc"] = this.reMoItemDesc; - data["reMoLotno"] = this.reMoLotno; - data["reMoEnabled"] = this.reMoEnabled; - data["moBom"] = this.moBom; - data["moOp"] = this.moOp; - data["moPlanLine"] = this.moPlanLine; - data["backflushStorage"] = this.backflushStorage; - data["warningStopLine"] = this.warningStopLine; - data["collectModel"] = this.collectModel; - data["collectModelText"] = this.collectModelText; - data["collectType"] = this.collectType; - data["collectTypeText"] = this.collectTypeText; - data["projectCode"] = this.projectCode; - data["productLotNo"] = this.productLotNo; + data["vendorCode"] = this.vendorCode; + data["vendorName"] = this.vendorName; + data["vendorShortName"] = this.vendorShortName; + data["vendorDesc"] = this.vendorDesc; data["memo"] = this.memo; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; data["default4"] = this.default4; data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - if (Array.isArray(this.opList)) { - data["opList"] = []; - for (let item of this.opList) - data["opList"].push(item.toJSON()); - } data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; @@ -78443,154 +118993,25 @@ export class IcsMoListDto implements IIcsMoListDto { return data; } - clone(): IcsMoListDto { + clone(): IcsVendorListDto { const json = this.toJSON(); - let result = new IcsMoListDto(); + let result = new IcsVendorListDto(); result.init(json); return result; } } -export interface IIcsMoListDto { - /** 工单代码 */ - moCode: string | undefined; - key: string | undefined; - /** 工单流水号 */ - moSeq: number; - /** 工单备注(工单别) */ - moMemo: string | undefined; - /** 工单类型 */ - moType: string | undefined; - moTypeText: string | undefined; - /** 工单描述 */ - moDesc: string | undefined; - /** 工单途程 */ - moRoute: string | undefined; - moRouteTypeText: string | undefined; - /** BIOS版本 */ - moBiosVer: string | undefined; - /** PCBA版本 */ - moPcbaVer: string | undefined; - /** 计划产出量 */ - moPlanQty: number; - /** 实际投入数 */ - moInputQty: number; - /** 实际报废量 */ - moScrapQty: number; - /** 实际产出量 */ - moActQty: number; - /** 预计开工日期 */ - moPlanStartDate: moment.Moment; - /** 预计完工日期 */ - moPlanEndDate: moment.Moment; - /** 实际开工日期 */ - moActStartDate: moment.Moment; - /** 实际完工日期 */ - moActEndDate: moment.Moment; - /** 工厂代码 */ - facCode: string | undefined; - /** 车间 */ - segCode: string | undefined; - /** 客户代码 */ - cusCode: string | undefined; - /** 客户名称 */ - cusName: string | undefined; - /** 客户订单号 */ - cusOrderNo: string | undefined; - /** 客户物料代码 */ - cusItemCode: string | undefined; - /** 订单号 */ - orderNo: string | undefined; - /** 订单序号 */ - orderSeq: number | undefined; - /** 开立人员 */ - moUser: string | undefined; - /** 开立日期 */ - moDownDate: moment.Moment; - /** 生产状态 */ - moStatus: string | undefined; - moStatusText: string | undefined; - /** 工单版本 */ - moVer: string | undefined; - /** 是否限制工单投入 */ - isConInput: string | undefined; - isConInputText: string | undefined; - /** 是否比对BOM通过 */ - isBomPass: string | undefined; - isBomPassText: string | undefined; - /** 换算比率 */ - idMergeRule: number | undefined; - /** 产品料号 */ - itemCode: string | undefined; - itemName: string | undefined; - itemDesc: string | undefined; - /** 工单下发时间 */ - moReleaseTime: moment.Moment | undefined; - /** 工单暂停原因 */ - moPendingCause: string | undefined; - /** 工单导入时间 */ - moImportTime: moment.Moment | undefined; - /** 脱离工单数量 */ - offMoQty: number | undefined; - /** 是否比较软件版本 */ - isCompareSoft: string | undefined; - isCompareSoftText: string | undefined; - /** RMA代码 */ - rmaBillcode: string | undefined; - /** 返工工单代码 */ - reMoCode: string | undefined; - /** 返工工单产品代码 */ - reMoItemCode: string | undefined; - /** 返工工单产品描述 */ - reMoItemDesc: string | undefined; - /** 返工工单批号 */ - reMoLotno: string | undefined; - /** 返工工单是否有效 */ - reMoEnabled: string | undefined; - /** 工单BOM版本 */ - moBom: string | undefined; - /** 工序控制码 */ - moOp: string | undefined; - /** 计划生产产线 */ - moPlanLine: string | undefined; - /** 倒冲库存地 */ - backflushStorage: string | undefined; - /** 预警停线标志 */ - warningStopLine: string | undefined; - /** 采集模式 */ - collectModel: string | undefined; - collectModelText: string | undefined; - /** 采集模式 */ - collectType: string | undefined; - collectTypeText: string | undefined; - /** 项目号 */ - projectCode: string | undefined; - /** 生产批号 */ - productLotNo: string | undefined; - /** 备注 */ +export interface IIcsVendorListDto { + vendorCode: string | undefined; + vendorName: string | undefined; + vendorShortName: string | undefined; + vendorDesc: string | undefined; memo: string | undefined; - /** 保留字段1 */ default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 工单绑定工序下拉框集合 */ - opList: SelectItemExt2[] | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -78600,30 +119021,11 @@ export interface IIcsMoListDto { id: number; } -export class IcsModel2EcgEditDto implements IIcsModel2EcgEditDto { - id: number | undefined; - /** 产品分类Id */ - modelId: number; - /** 不良代码组Id */ - ecgId: number[] | undefined; - /** 产品分类代码 */ - modelCode: string | undefined; - /** 不良原因组ids */ - ecsgId: number; - /** 不良原因ids */ - ecsId: number[] | undefined; - /** 解决方案ids */ - solId: number[] | undefined; - /** 工艺路线代码 */ - routeCode: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 资源代码 */ - resCode: string | undefined; - /** 备注 */ - memo: string | undefined; +export class ImpersonateInput implements IImpersonateInput { + tenantId: string | undefined; + userId: string | undefined; - constructor(data?: IIcsModel2EcgEditDto) { + constructor(data?: IImpersonateInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -78634,129 +119036,93 @@ export class IcsModel2EcgEditDto implements IIcsModel2EcgEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.modelId = _data["modelId"]; - if (Array.isArray(_data["ecgId"])) { - this.ecgId = [] as any; - for (let item of _data["ecgId"]) - this.ecgId.push(item); - } - this.modelCode = _data["modelCode"]; - this.ecsgId = _data["ecsgId"]; - if (Array.isArray(_data["ecsId"])) { - this.ecsId = [] as any; - for (let item of _data["ecsId"]) - this.ecsId.push(item); - } - if (Array.isArray(_data["solId"])) { - this.solId = [] as any; - for (let item of _data["solId"]) - this.solId.push(item); - } - this.routeCode = _data["routeCode"]; - this.opCode = _data["opCode"]; - this.resCode = _data["resCode"]; - this.memo = _data["memo"]; + this.tenantId = _data["tenantId"]; + this.userId = _data["userId"]; } } - static fromJS(data: any): IcsModel2EcgEditDto { + static fromJS(data: any): ImpersonateInput { data = typeof data === 'object' ? data : {}; - let result = new IcsModel2EcgEditDto(); + let result = new ImpersonateInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["modelId"] = this.modelId; - if (Array.isArray(this.ecgId)) { - data["ecgId"] = []; - for (let item of this.ecgId) - data["ecgId"].push(item); - } - data["modelCode"] = this.modelCode; - data["ecsgId"] = this.ecsgId; - if (Array.isArray(this.ecsId)) { - data["ecsId"] = []; - for (let item of this.ecsId) - data["ecsId"].push(item); + data["tenantId"] = this.tenantId; + data["userId"] = this.userId; + return data; + } + + clone(): ImpersonateInput { + const json = this.toJSON(); + let result = new ImpersonateInput(); + result.init(json); + return result; + } +} + +export interface IImpersonateInput { + tenantId: string | undefined; + userId: string | undefined; +} + +export class ImpersonateOutput implements IImpersonateOutput { + impersonationToken: string | undefined; + tenancyName: string | undefined; + + constructor(data?: IImpersonateOutput) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } } - if (Array.isArray(this.solId)) { - data["solId"] = []; - for (let item of this.solId) - data["solId"].push(item); + } + + init(_data?: any) { + if (_data) { + this.impersonationToken = _data["impersonationToken"]; + this.tenancyName = _data["tenancyName"]; } - data["routeCode"] = this.routeCode; - data["opCode"] = this.opCode; - data["resCode"] = this.resCode; - data["memo"] = this.memo; + } + + static fromJS(data: any): ImpersonateOutput { + data = typeof data === 'object' ? data : {}; + let result = new ImpersonateOutput(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["impersonationToken"] = this.impersonationToken; + data["tenancyName"] = this.tenancyName; return data; } - clone(): IcsModel2EcgEditDto { + clone(): ImpersonateOutput { const json = this.toJSON(); - let result = new IcsModel2EcgEditDto(); + let result = new ImpersonateOutput(); result.init(json); return result; } } -export interface IIcsModel2EcgEditDto { - id: number | undefined; - /** 产品分类Id */ - modelId: number; - /** 不良代码组Id */ - ecgId: number[] | undefined; - /** 产品分类代码 */ - modelCode: string | undefined; - /** 不良原因组ids */ - ecsgId: number; - /** 不良原因ids */ - ecsId: number[] | undefined; - /** 解决方案ids */ - solId: number[] | undefined; - /** 工艺路线代码 */ - routeCode: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 资源代码 */ - resCode: string | undefined; - /** 备注 */ - memo: string | undefined; +export interface IImpersonateOutput { + impersonationToken: string | undefined; + tenancyName: string | undefined; } -export class IcsModel2EcgListDto implements IIcsModel2EcgListDto { - /** 产品分类Id */ - modelId: number; - /** 产品分类名称 */ - modelName: string | undefined; - /** 产品分类编码 */ - modelCode: string | undefined; - /** 不良代码组Id */ - ecgId: number; - /** 不良代码组名称 */ - ecgName: string | undefined; - /** 不良代码组代码 */ - ecgCode: string | undefined; - /** 工艺路线代码 */ - routeCode: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 资源代码 */ - resCode: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class ImpersonatedAuthenticateResultModel implements IImpersonatedAuthenticateResultModel { + accessToken: string | undefined; + encryptedAccessToken: string | undefined; + expireInSeconds: number; + refreshToken: string | undefined; + refreshTokenExpireInSeconds: number; - constructor(data?: IIcsModel2EcgListDto) { + constructor(data?: IImpersonatedAuthenticateResultModel) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -78767,107 +119133,53 @@ export class IcsModel2EcgListDto implements IIcsModel2EcgListDto { init(_data?: any) { if (_data) { - this.modelId = _data["modelId"]; - this.modelName = _data["modelName"]; - this.modelCode = _data["modelCode"]; - this.ecgId = _data["ecgId"]; - this.ecgName = _data["ecgName"]; - this.ecgCode = _data["ecgCode"]; - this.routeCode = _data["routeCode"]; - this.opCode = _data["opCode"]; - this.resCode = _data["resCode"]; - this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + this.accessToken = _data["accessToken"]; + this.encryptedAccessToken = _data["encryptedAccessToken"]; + this.expireInSeconds = _data["expireInSeconds"]; + this.refreshToken = _data["refreshToken"]; + this.refreshTokenExpireInSeconds = _data["refreshTokenExpireInSeconds"]; } } - static fromJS(data: any): IcsModel2EcgListDto { + static fromJS(data: any): ImpersonatedAuthenticateResultModel { data = typeof data === 'object' ? data : {}; - let result = new IcsModel2EcgListDto(); + let result = new ImpersonatedAuthenticateResultModel(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["modelId"] = this.modelId; - data["modelName"] = this.modelName; - data["modelCode"] = this.modelCode; - data["ecgId"] = this.ecgId; - data["ecgName"] = this.ecgName; - data["ecgCode"] = this.ecgCode; - data["routeCode"] = this.routeCode; - data["opCode"] = this.opCode; - data["resCode"] = this.resCode; - data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + data["accessToken"] = this.accessToken; + data["encryptedAccessToken"] = this.encryptedAccessToken; + data["expireInSeconds"] = this.expireInSeconds; + data["refreshToken"] = this.refreshToken; + data["refreshTokenExpireInSeconds"] = this.refreshTokenExpireInSeconds; return data; } - clone(): IcsModel2EcgListDto { + clone(): ImpersonatedAuthenticateResultModel { const json = this.toJSON(); - let result = new IcsModel2EcgListDto(); + let result = new ImpersonatedAuthenticateResultModel(); result.init(json); return result; } } -export interface IIcsModel2EcgListDto { - /** 产品分类Id */ - modelId: number; - /** 产品分类名称 */ - modelName: string | undefined; - /** 产品分类编码 */ - modelCode: string | undefined; - /** 不良代码组Id */ - ecgId: number; - /** 不良代码组名称 */ - ecgName: string | undefined; - /** 不良代码组代码 */ - ecgCode: string | undefined; - /** 工艺路线代码 */ - routeCode: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 资源代码 */ - resCode: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export interface IImpersonatedAuthenticateResultModel { + accessToken: string | undefined; + encryptedAccessToken: string | undefined; + expireInSeconds: number; + refreshToken: string | undefined; + refreshTokenExpireInSeconds: number; } -export class IcsModel2EcsEditDto implements IIcsModel2EcsEditDto { - id: number | undefined; - /** 产品别Id */ - modelId: number; - /** 不良代码组Id */ - ecsId: number; - /** 产品别代码 */ - modelCode: string | undefined; - /** 不良原因代码 */ - ecsCode: string | undefined; - /** 备注 */ - memo: string | undefined; +export class IncomeStastistic implements IIncomeStastistic { + label: string | undefined; + date: moment.Moment; + amount: number; - constructor(data?: IIcsModel2EcsEditDto) { + constructor(data?: IIncomeStastistic) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -78878,85 +119190,45 @@ export class IcsModel2EcsEditDto implements IIcsModel2EcsEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.modelId = _data["modelId"]; - this.ecsId = _data["ecsId"]; - this.modelCode = _data["modelCode"]; - this.ecsCode = _data["ecsCode"]; - this.memo = _data["memo"]; + this.label = _data["label"]; + this.date = _data["date"] ? moment(_data["date"].toString()) : undefined; + this.amount = _data["amount"]; } } - static fromJS(data: any): IcsModel2EcsEditDto { + static fromJS(data: any): IncomeStastistic { data = typeof data === 'object' ? data : {}; - let result = new IcsModel2EcsEditDto(); + let result = new IncomeStastistic(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["modelId"] = this.modelId; - data["ecsId"] = this.ecsId; - data["modelCode"] = this.modelCode; - data["ecsCode"] = this.ecsCode; - data["memo"] = this.memo; + data["label"] = this.label; + data["date"] = this.date ? this.date.toISOString() : undefined; + data["amount"] = this.amount; return data; } - clone(): IcsModel2EcsEditDto { + clone(): IncomeStastistic { const json = this.toJSON(); - let result = new IcsModel2EcsEditDto(); + let result = new IncomeStastistic(); result.init(json); return result; } } -export interface IIcsModel2EcsEditDto { - id: number | undefined; - /** 产品别Id */ - modelId: number; - /** 不良代码组Id */ - ecsId: number; - /** 产品别代码 */ - modelCode: string | undefined; - /** 不良原因代码 */ - ecsCode: string | undefined; - /** 备注 */ - memo: string | undefined; +export interface IIncomeStastistic { + label: string | undefined; + date: moment.Moment; + amount: number; } -export class IcsModel2EcsListDto implements IIcsModel2EcsListDto { - /** 产品别Id */ - modelId: number; - /** 产品别名称 */ - modelName: string | undefined; - /** 不良原因组Id */ - ecsgId: number; - /** 不良原因Id */ - ecsId: number; - /** 不良原因组名称 */ - ecsgName: string | undefined; - /** 不良原因名称 */ - ecsName: string | undefined; - /** 不良原因组名称 */ - ecsgCode: string | undefined; - /** 不良原因名称 */ - ecsCode: string | undefined; - /** 产品别代码 */ - modelCode: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class IsTenantAvailableInput implements IIsTenantAvailableInput { + tenancyName: string; - constructor(data?: IIcsModel2EcsListDto) { + constructor(data?: IIsTenantAvailableInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -78967,107 +119239,40 @@ export class IcsModel2EcsListDto implements IIcsModel2EcsListDto { init(_data?: any) { if (_data) { - this.modelId = _data["modelId"]; - this.modelName = _data["modelName"]; - this.ecsgId = _data["ecsgId"]; - this.ecsId = _data["ecsId"]; - this.ecsgName = _data["ecsgName"]; - this.ecsName = _data["ecsName"]; - this.ecsgCode = _data["ecsgCode"]; - this.ecsCode = _data["ecsCode"]; - this.modelCode = _data["modelCode"]; - this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + this.tenancyName = _data["tenancyName"]; } } - static fromJS(data: any): IcsModel2EcsListDto { + static fromJS(data: any): IsTenantAvailableInput { data = typeof data === 'object' ? data : {}; - let result = new IcsModel2EcsListDto(); + let result = new IsTenantAvailableInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["modelId"] = this.modelId; - data["modelName"] = this.modelName; - data["ecsgId"] = this.ecsgId; - data["ecsId"] = this.ecsId; - data["ecsgName"] = this.ecsgName; - data["ecsName"] = this.ecsName; - data["ecsgCode"] = this.ecsgCode; - data["ecsCode"] = this.ecsCode; - data["modelCode"] = this.modelCode; - data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + data["tenancyName"] = this.tenancyName; return data; } - clone(): IcsModel2EcsListDto { + clone(): IsTenantAvailableInput { const json = this.toJSON(); - let result = new IcsModel2EcsListDto(); + let result = new IsTenantAvailableInput(); result.init(json); return result; } } -export interface IIcsModel2EcsListDto { - /** 产品别Id */ - modelId: number; - /** 产品别名称 */ - modelName: string | undefined; - /** 不良原因组Id */ - ecsgId: number; - /** 不良原因Id */ - ecsId: number; - /** 不良原因组名称 */ - ecsgName: string | undefined; - /** 不良原因名称 */ - ecsName: string | undefined; - /** 不良原因组名称 */ - ecsgCode: string | undefined; - /** 不良原因名称 */ - ecsCode: string | undefined; - /** 产品别代码 */ - modelCode: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export interface IIsTenantAvailableInput { + tenancyName: string; } -export class IcsModel2EcsgEditDto implements IIcsModel2EcsgEditDto { - id: number | undefined; - /** 产品别Id */ - modelId: number; - /** 不良代码组Id */ - ecsgId: number; - /** 产品别代码 */ - modelCode: string | undefined; - /** 不良代码组代码 */ - ecsgCode: string | undefined; - /** 备注 */ - memo: string | undefined; +export class IsTenantAvailableOutput implements IIsTenantAvailableOutput { + state: TenantAvailabilityState; + tenantId: string | undefined; - constructor(data?: IIcsModel2EcsgEditDto) { + constructor(data?: IIsTenantAvailableOutput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -79078,75 +119283,46 @@ export class IcsModel2EcsgEditDto implements IIcsModel2EcsgEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.modelId = _data["modelId"]; - this.ecsgId = _data["ecsgId"]; - this.modelCode = _data["modelCode"]; - this.ecsgCode = _data["ecsgCode"]; - this.memo = _data["memo"]; + this.state = _data["state"]; + this.tenantId = _data["tenantId"]; } } - static fromJS(data: any): IcsModel2EcsgEditDto { + static fromJS(data: any): IsTenantAvailableOutput { data = typeof data === 'object' ? data : {}; - let result = new IcsModel2EcsgEditDto(); + let result = new IsTenantAvailableOutput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["modelId"] = this.modelId; - data["ecsgId"] = this.ecsgId; - data["modelCode"] = this.modelCode; - data["ecsgCode"] = this.ecsgCode; - data["memo"] = this.memo; + data["state"] = this.state; + data["tenantId"] = this.tenantId; return data; } - clone(): IcsModel2EcsgEditDto { + clone(): IsTenantAvailableOutput { const json = this.toJSON(); - let result = new IcsModel2EcsgEditDto(); + let result = new IsTenantAvailableOutput(); result.init(json); return result; } } -export interface IIcsModel2EcsgEditDto { - id: number | undefined; - /** 产品别Id */ - modelId: number; - /** 不良代码组Id */ - ecsgId: number; - /** 产品别代码 */ - modelCode: string | undefined; - /** 不良代码组代码 */ - ecsgCode: string | undefined; - /** 备注 */ - memo: string | undefined; +export interface IIsTenantAvailableOutput { + state: TenantAvailabilityState; + tenantId: string | undefined; } -export class IcsModel2EcsgListDto implements IIcsModel2EcsgListDto { - /** 产品别Id */ - modelId: number; - /** 不良代码组Id */ - ecsgId: number; - /** 产品别代码 */ - modelCode: string | undefined; - /** 不良代码组代码 */ - ecsgCode: string | undefined; - /** 备注 */ +export class ItemModel2CheckGroupImportDto implements IItemModel2CheckGroupImportDto { + itemModelCode: string; + checkGroupCode: string; + itemModelType: string; + seq: number; memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; - constructor(data?: IIcsModel2EcsgListDto) { + constructor(data?: IItemModel2CheckGroupImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -79157,87 +119333,66 @@ export class IcsModel2EcsgListDto implements IIcsModel2EcsgListDto { init(_data?: any) { if (_data) { - this.modelId = _data["modelId"]; - this.ecsgId = _data["ecsgId"]; - this.modelCode = _data["modelCode"]; - this.ecsgCode = _data["ecsgCode"]; + this.itemModelCode = _data["itemModelCode"]; + this.checkGroupCode = _data["checkGroupCode"]; + this.itemModelType = _data["itemModelType"]; + this.seq = _data["seq"]; this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; } } - static fromJS(data: any): IcsModel2EcsgListDto { + static fromJS(data: any): ItemModel2CheckGroupImportDto { data = typeof data === 'object' ? data : {}; - let result = new IcsModel2EcsgListDto(); + let result = new ItemModel2CheckGroupImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["modelId"] = this.modelId; - data["ecsgId"] = this.ecsgId; - data["modelCode"] = this.modelCode; - data["ecsgCode"] = this.ecsgCode; + data["itemModelCode"] = this.itemModelCode; + data["checkGroupCode"] = this.checkGroupCode; + data["itemModelType"] = this.itemModelType; + data["seq"] = this.seq; data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; return data; } - clone(): IcsModel2EcsgListDto { + clone(): ItemModel2CheckGroupImportDto { const json = this.toJSON(); - let result = new IcsModel2EcsgListDto(); + let result = new ItemModel2CheckGroupImportDto(); result.init(json); return result; } } -export interface IIcsModel2EcsgListDto { - /** 产品别Id */ - modelId: number; - /** 不良代码组Id */ - ecsgId: number; - /** 产品别代码 */ - modelCode: string | undefined; - /** 不良代码组代码 */ - ecsgCode: string | undefined; - /** 备注 */ +export interface IItemModel2CheckGroupImportDto { + itemModelCode: string; + checkGroupCode: string; + itemModelType: string; + seq: number; memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; } -export class IcsModel2SolutionEditDto implements IIcsModel2SolutionEditDto { - id: number | undefined; - /** 产品别Id */ - modelId: number; - /** 不良代码组Id */ - solId: number; - /** 产品别代码 */ - modelCode: string | undefined; - /** 解决方案代码 */ - solCode: string | undefined; - /** 备注 */ - memo: string | undefined; +export class ItemRouteHourCountDto implements IItemRouteHourCountDto { + key: string | undefined; + id: number; + itemCode: string | undefined; + itemName: string | undefined; + routeCode: string | undefined; + routeName: string | undefined; + isRef: string | undefined; + sumRTime: number; + sumSTime: number; + sumTime: number; + opCode: string | undefined; + opName: string | undefined; + opSeq: number; + eqpModelCode: string | undefined; + sTime: number; + rTime: number; - constructor(data?: IIcsModel2SolutionEditDto) { + constructor(data?: IItemRouteHourCountDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -79248,79 +119403,85 @@ export class IcsModel2SolutionEditDto implements IIcsModel2SolutionEditDto { init(_data?: any) { if (_data) { + this.key = _data["key"]; this.id = _data["id"]; - this.modelId = _data["modelId"]; - this.solId = _data["solId"]; - this.modelCode = _data["modelCode"]; - this.solCode = _data["solCode"]; - this.memo = _data["memo"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.routeCode = _data["routeCode"]; + this.routeName = _data["routeName"]; + this.isRef = _data["isRef"]; + this.sumRTime = _data["sumRTime"]; + this.sumSTime = _data["sumSTime"]; + this.sumTime = _data["sumTime"]; + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.opSeq = _data["opSeq"]; + this.eqpModelCode = _data["eqpModelCode"]; + this.sTime = _data["sTime"]; + this.rTime = _data["rTime"]; } } - static fromJS(data: any): IcsModel2SolutionEditDto { + static fromJS(data: any): ItemRouteHourCountDto { data = typeof data === 'object' ? data : {}; - let result = new IcsModel2SolutionEditDto(); + let result = new ItemRouteHourCountDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["key"] = this.key; data["id"] = this.id; - data["modelId"] = this.modelId; - data["solId"] = this.solId; - data["modelCode"] = this.modelCode; - data["solCode"] = this.solCode; - data["memo"] = this.memo; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["routeCode"] = this.routeCode; + data["routeName"] = this.routeName; + data["isRef"] = this.isRef; + data["sumRTime"] = this.sumRTime; + data["sumSTime"] = this.sumSTime; + data["sumTime"] = this.sumTime; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["opSeq"] = this.opSeq; + data["eqpModelCode"] = this.eqpModelCode; + data["sTime"] = this.sTime; + data["rTime"] = this.rTime; return data; } - clone(): IcsModel2SolutionEditDto { + clone(): ItemRouteHourCountDto { const json = this.toJSON(); - let result = new IcsModel2SolutionEditDto(); + let result = new ItemRouteHourCountDto(); result.init(json); return result; } } -export interface IIcsModel2SolutionEditDto { - id: number | undefined; - /** 产品别Id */ - modelId: number; - /** 不良代码组Id */ - solId: number; - /** 产品别代码 */ - modelCode: string | undefined; - /** 解决方案代码 */ - solCode: string | undefined; - /** 备注 */ - memo: string | undefined; +export interface IItemRouteHourCountDto { + key: string | undefined; + id: number; + itemCode: string | undefined; + itemName: string | undefined; + routeCode: string | undefined; + routeName: string | undefined; + isRef: string | undefined; + sumRTime: number; + sumSTime: number; + sumTime: number; + opCode: string | undefined; + opName: string | undefined; + opSeq: number; + eqpModelCode: string | undefined; + sTime: number; + rTime: number; } -export class IcsModel2SolutionListDto implements IIcsModel2SolutionListDto { - /** 产品分类Id */ - modelId: number; - /** 解决方案id */ - solId: number; - /** 解决方案名称 */ - solName: string | undefined; - /** 产品别名称 */ - modelName: string | undefined; - /** 产品别代码 */ - modelCode: string | undefined; - /** 解决方案代码 */ - solCode: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class KeyValuePairOfStringIEnumerableOfString implements IKeyValuePairOfStringIEnumerableOfString { + key: string | undefined; + value: string[] | undefined; - constructor(data?: IIcsModel2SolutionListDto) { + constructor(data?: IKeyValuePairOfStringIEnumerableOfString) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -79331,224 +119492,51 @@ export class IcsModel2SolutionListDto implements IIcsModel2SolutionListDto { init(_data?: any) { if (_data) { - this.modelId = _data["modelId"]; - this.solId = _data["solId"]; - this.solName = _data["solName"]; - this.modelName = _data["modelName"]; - this.modelCode = _data["modelCode"]; - this.solCode = _data["solCode"]; - this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + this.key = _data["key"]; + if (Array.isArray(_data["value"])) { + this.value = [] as any; + for (let item of _data["value"]) + this.value.push(item); + } } } - static fromJS(data: any): IcsModel2SolutionListDto { + static fromJS(data: any): KeyValuePairOfStringIEnumerableOfString { data = typeof data === 'object' ? data : {}; - let result = new IcsModel2SolutionListDto(); + let result = new KeyValuePairOfStringIEnumerableOfString(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["modelId"] = this.modelId; - data["solId"] = this.solId; - data["solName"] = this.solName; - data["modelName"] = this.modelName; - data["modelCode"] = this.modelCode; - data["solCode"] = this.solCode; - data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + data["key"] = this.key; + if (Array.isArray(this.value)) { + data["value"] = []; + for (let item of this.value) + data["value"].push(item); + } return data; } - clone(): IcsModel2SolutionListDto { + clone(): KeyValuePairOfStringIEnumerableOfString { const json = this.toJSON(); - let result = new IcsModel2SolutionListDto(); + let result = new KeyValuePairOfStringIEnumerableOfString(); result.init(json); return result; } } -export interface IIcsModel2SolutionListDto { - /** 产品分类Id */ - modelId: number; - /** 解决方案id */ - solId: number; - /** 解决方案名称 */ - solName: string | undefined; - /** 产品别名称 */ - modelName: string | undefined; - /** 产品别代码 */ - modelCode: string | undefined; - /** 解决方案代码 */ - solCode: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export interface IKeyValuePairOfStringIEnumerableOfString { + key: string | undefined; + value: string[] | undefined; } -export class IcsNcrDocEditDto implements IIcsNcrDocEditDto { +export class KeyValuePairOfStringInt32 implements IKeyValuePairOfStringInt32 { key: string | undefined; - id: number | undefined; - /** 单号 */ - ncrDocNo: string | undefined; - /** NCR类型 */ - ncrType: string | undefined; - /** 状态 */ - ncrStatus: string | undefined; - /** 来源类型 */ - srcDocType: string | undefined; - /** 错误类型 */ - errorType: string | undefined; - /** 设备编码 */ - eqpCode: string | undefined; - /** 项目号 */ - projectCode: string | undefined; - /** 要求处理时效 */ - timeLimit: number; - /** 内容 */ - contentDesc: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 处理方式 */ - treatWay: string | undefined; - /** 原因 */ - reasonDesc: string | undefined; - /** 处理结果 */ - treatResult: string | undefined; - /** 质量工程师邮件 */ - toPostList: string | undefined; - /** 抄送人邮件 */ - ccPostList: string | undefined; - /** 处理人员列表 */ - toUserList: string | undefined; - /** 确认人员列表 */ - okUserList: string | undefined; - /** 料品 */ - itemCode: string | undefined; - /** 浏览过的人员编码 */ - readUserList: string | undefined; - /** 供应商状态 */ - vendorState: string | undefined; - /** 供应商描述 */ - vendorDesc: string | undefined; - /** 预防 */ - prevention: string | undefined; - /** 纠正 */ - rectify: string | undefined; - /** 不良原因 */ - badReason: string | undefined; - /** 申请人 */ - defectType: string | undefined; - /** 不良根本原因 */ - realCauseAnalysis: string | undefined; - /** 是否需要预防 */ - isNeedPrevention: string | undefined; - /** 部件 */ - partment: string | undefined; - /** 创建部门 */ - createDep: string | undefined; - /** 点阵 */ - addressPoint: string | undefined; - /** 数量 */ - qty: number; - /** 不良数量 */ - ngQty: number; - /** 经理确认 */ - managerConfirm: string | undefined; - /** 炉号 */ - furnace: string | undefined; - /** 紧急程度 */ - urgent: string | undefined; - /** 配做零件工单号 */ - pzljmoCode: string | undefined; - /** 工时费 */ - workHourPrice: string | undefined; - /** 材料费 */ - materialPrice: string | undefined; - /** 是否是退料 */ - isTuiLiao: string | undefined; - /** IP地址 */ - ipAddress: string | undefined; - /** 发送界面 */ - sendForm: string | undefined; - /** 发送类型 */ - sendType: string | undefined; - /** 确认人 */ - conformUserId: string | undefined; - /** 确认人名称 */ - conformUserName: string | undefined; - /** 审核时间 */ - conformTime: moment.Moment | undefined; - /** 关闭人 */ - closeUserId: string | undefined; - /** 关闭人名称 */ - closeUserName: string | undefined; - /** 关闭时间 */ - closeTime: moment.Moment | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 保留字段1 */ - default11: string | undefined; - /** 保留字段2 */ - default12: string | undefined; - /** 保留字段3 */ - default13: string | undefined; - /** 保留字段4 */ - default14: string | undefined; - /** 保留字段5 */ - default15: string | undefined; - /** 保留字段6 */ - default16: string | undefined; - /** 保留字段7 */ - default17: string | undefined; - /** 保留字段8 */ - default18: string | undefined; - /** 保留字段9 */ - default19: string | undefined; - /** 保留字段10 */ - default20: string | undefined; + value: number; - constructor(data?: IIcsNcrDocEditDto) { + constructor(data?: IKeyValuePairOfStringInt32) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -79560,82 +119548,13 @@ export class IcsNcrDocEditDto implements IIcsNcrDocEditDto { init(_data?: any) { if (_data) { this.key = _data["key"]; - this.id = _data["id"]; - this.ncrDocNo = _data["ncrDocNo"]; - this.ncrType = _data["ncrType"]; - this.ncrStatus = _data["ncrStatus"]; - this.srcDocType = _data["srcDocType"]; - this.errorType = _data["errorType"]; - this.eqpCode = _data["eqpCode"]; - this.projectCode = _data["projectCode"]; - this.timeLimit = _data["timeLimit"]; - this.contentDesc = _data["contentDesc"]; - this.opCode = _data["opCode"]; - this.treatWay = _data["treatWay"]; - this.reasonDesc = _data["reasonDesc"]; - this.treatResult = _data["treatResult"]; - this.toPostList = _data["toPostList"]; - this.ccPostList = _data["ccPostList"]; - this.toUserList = _data["toUserList"]; - this.okUserList = _data["okUserList"]; - this.itemCode = _data["itemCode"]; - this.readUserList = _data["readUserList"]; - this.vendorState = _data["vendorState"]; - this.vendorDesc = _data["vendorDesc"]; - this.prevention = _data["prevention"]; - this.rectify = _data["rectify"]; - this.badReason = _data["badReason"]; - this.defectType = _data["defectType"]; - this.realCauseAnalysis = _data["realCauseAnalysis"]; - this.isNeedPrevention = _data["isNeedPrevention"]; - this.partment = _data["partment"]; - this.createDep = _data["createDep"]; - this.addressPoint = _data["addressPoint"]; - this.qty = _data["qty"]; - this.ngQty = _data["ngQty"]; - this.managerConfirm = _data["managerConfirm"]; - this.furnace = _data["furnace"]; - this.urgent = _data["urgent"]; - this.pzljmoCode = _data["pzljmoCode"]; - this.workHourPrice = _data["workHourPrice"]; - this.materialPrice = _data["materialPrice"]; - this.isTuiLiao = _data["isTuiLiao"]; - this.ipAddress = _data["ipAddress"]; - this.sendForm = _data["sendForm"]; - this.sendType = _data["sendType"]; - this.conformUserId = _data["conformUserId"]; - this.conformUserName = _data["conformUserName"]; - this.conformTime = _data["conformTime"] ? moment(_data["conformTime"].toString()) : undefined; - this.closeUserId = _data["closeUserId"]; - this.closeUserName = _data["closeUserName"]; - this.closeTime = _data["closeTime"] ? moment(_data["closeTime"].toString()) : undefined; - this.memo = _data["memo"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - this.default11 = _data["default11"]; - this.default12 = _data["default12"]; - this.default13 = _data["default13"]; - this.default14 = _data["default14"]; - this.default15 = _data["default15"]; - this.default16 = _data["default16"]; - this.default17 = _data["default17"]; - this.default18 = _data["default18"]; - this.default19 = _data["default19"]; - this.default20 = _data["default20"]; + this.value = _data["value"]; } } - static fromJS(data: any): IcsNcrDocEditDto { + static fromJS(data: any): KeyValuePairOfStringInt32 { data = typeof data === 'object' ? data : {}; - let result = new IcsNcrDocEditDto(); + let result = new KeyValuePairOfStringInt32(); result.init(data); return result; } @@ -79643,381 +119562,28 @@ export class IcsNcrDocEditDto implements IIcsNcrDocEditDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["key"] = this.key; - data["id"] = this.id; - data["ncrDocNo"] = this.ncrDocNo; - data["ncrType"] = this.ncrType; - data["ncrStatus"] = this.ncrStatus; - data["srcDocType"] = this.srcDocType; - data["errorType"] = this.errorType; - data["eqpCode"] = this.eqpCode; - data["projectCode"] = this.projectCode; - data["timeLimit"] = this.timeLimit; - data["contentDesc"] = this.contentDesc; - data["opCode"] = this.opCode; - data["treatWay"] = this.treatWay; - data["reasonDesc"] = this.reasonDesc; - data["treatResult"] = this.treatResult; - data["toPostList"] = this.toPostList; - data["ccPostList"] = this.ccPostList; - data["toUserList"] = this.toUserList; - data["okUserList"] = this.okUserList; - data["itemCode"] = this.itemCode; - data["readUserList"] = this.readUserList; - data["vendorState"] = this.vendorState; - data["vendorDesc"] = this.vendorDesc; - data["prevention"] = this.prevention; - data["rectify"] = this.rectify; - data["badReason"] = this.badReason; - data["defectType"] = this.defectType; - data["realCauseAnalysis"] = this.realCauseAnalysis; - data["isNeedPrevention"] = this.isNeedPrevention; - data["partment"] = this.partment; - data["createDep"] = this.createDep; - data["addressPoint"] = this.addressPoint; - data["qty"] = this.qty; - data["ngQty"] = this.ngQty; - data["managerConfirm"] = this.managerConfirm; - data["furnace"] = this.furnace; - data["urgent"] = this.urgent; - data["pzljmoCode"] = this.pzljmoCode; - data["workHourPrice"] = this.workHourPrice; - data["materialPrice"] = this.materialPrice; - data["isTuiLiao"] = this.isTuiLiao; - data["ipAddress"] = this.ipAddress; - data["sendForm"] = this.sendForm; - data["sendType"] = this.sendType; - data["conformUserId"] = this.conformUserId; - data["conformUserName"] = this.conformUserName; - data["conformTime"] = this.conformTime ? this.conformTime.toISOString() : undefined; - data["closeUserId"] = this.closeUserId; - data["closeUserName"] = this.closeUserName; - data["closeTime"] = this.closeTime ? this.closeTime.toISOString() : undefined; - data["memo"] = this.memo; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - data["default11"] = this.default11; - data["default12"] = this.default12; - data["default13"] = this.default13; - data["default14"] = this.default14; - data["default15"] = this.default15; - data["default16"] = this.default16; - data["default17"] = this.default17; - data["default18"] = this.default18; - data["default19"] = this.default19; - data["default20"] = this.default20; + data["value"] = this.value; return data; } - clone(): IcsNcrDocEditDto { + clone(): KeyValuePairOfStringInt32 { const json = this.toJSON(); - let result = new IcsNcrDocEditDto(); + let result = new KeyValuePairOfStringInt32(); result.init(json); return result; } } -export interface IIcsNcrDocEditDto { +export interface IKeyValuePairOfStringInt32 { key: string | undefined; - id: number | undefined; - /** 单号 */ - ncrDocNo: string | undefined; - /** NCR类型 */ - ncrType: string | undefined; - /** 状态 */ - ncrStatus: string | undefined; - /** 来源类型 */ - srcDocType: string | undefined; - /** 错误类型 */ - errorType: string | undefined; - /** 设备编码 */ - eqpCode: string | undefined; - /** 项目号 */ - projectCode: string | undefined; - /** 要求处理时效 */ - timeLimit: number; - /** 内容 */ - contentDesc: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 处理方式 */ - treatWay: string | undefined; - /** 原因 */ - reasonDesc: string | undefined; - /** 处理结果 */ - treatResult: string | undefined; - /** 质量工程师邮件 */ - toPostList: string | undefined; - /** 抄送人邮件 */ - ccPostList: string | undefined; - /** 处理人员列表 */ - toUserList: string | undefined; - /** 确认人员列表 */ - okUserList: string | undefined; - /** 料品 */ - itemCode: string | undefined; - /** 浏览过的人员编码 */ - readUserList: string | undefined; - /** 供应商状态 */ - vendorState: string | undefined; - /** 供应商描述 */ - vendorDesc: string | undefined; - /** 预防 */ - prevention: string | undefined; - /** 纠正 */ - rectify: string | undefined; - /** 不良原因 */ - badReason: string | undefined; - /** 申请人 */ - defectType: string | undefined; - /** 不良根本原因 */ - realCauseAnalysis: string | undefined; - /** 是否需要预防 */ - isNeedPrevention: string | undefined; - /** 部件 */ - partment: string | undefined; - /** 创建部门 */ - createDep: string | undefined; - /** 点阵 */ - addressPoint: string | undefined; - /** 数量 */ - qty: number; - /** 不良数量 */ - ngQty: number; - /** 经理确认 */ - managerConfirm: string | undefined; - /** 炉号 */ - furnace: string | undefined; - /** 紧急程度 */ - urgent: string | undefined; - /** 配做零件工单号 */ - pzljmoCode: string | undefined; - /** 工时费 */ - workHourPrice: string | undefined; - /** 材料费 */ - materialPrice: string | undefined; - /** 是否是退料 */ - isTuiLiao: string | undefined; - /** IP地址 */ - ipAddress: string | undefined; - /** 发送界面 */ - sendForm: string | undefined; - /** 发送类型 */ - sendType: string | undefined; - /** 确认人 */ - conformUserId: string | undefined; - /** 确认人名称 */ - conformUserName: string | undefined; - /** 审核时间 */ - conformTime: moment.Moment | undefined; - /** 关闭人 */ - closeUserId: string | undefined; - /** 关闭人名称 */ - closeUserName: string | undefined; - /** 关闭时间 */ - closeTime: moment.Moment | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 保留字段1 */ - default11: string | undefined; - /** 保留字段2 */ - default12: string | undefined; - /** 保留字段3 */ - default13: string | undefined; - /** 保留字段4 */ - default14: string | undefined; - /** 保留字段5 */ - default15: string | undefined; - /** 保留字段6 */ - default16: string | undefined; - /** 保留字段7 */ - default17: string | undefined; - /** 保留字段8 */ - default18: string | undefined; - /** 保留字段9 */ - default19: string | undefined; - /** 保留字段10 */ - default20: string | undefined; + value: number; } -export class IcsNcrDocListDto implements IIcsNcrDocListDto { +export class KeyValuePairOfStringString implements IKeyValuePairOfStringString { key: string | undefined; - /** 单号 */ - ncrDocNo: string | undefined; - /** NCR类型 */ - ncrType: string | undefined; - /** 状态 */ - ncrStatus: string | undefined; - ncrStatusText: string | undefined; - /** 来源类型 */ - srcDocType: string | undefined; - srcDocTypeText: string | undefined; - /** 错误类型 */ - errorType: string | undefined; - /** 设备编码 */ - eqpCode: string | undefined; - /** 项目号 */ - projectCode: string | undefined; - /** 要求处理时效 */ - timeLimit: number; - /** 内容 */ - contentDesc: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 处理方式 */ - treatWay: string | undefined; - /** 原因 */ - reasonDesc: string | undefined; - /** 处理结果 */ - treatResult: string | undefined; - /** 质量工程师邮件 */ - toPostList: string | undefined; - /** 抄送人邮件 */ - ccPostList: string | undefined; - /** 处理人员列表 */ - toUserList: string | undefined; - /** 确认人员列表 */ - okUserList: string | undefined; - /** 料品 */ - itemCode: string | undefined; - /** 浏览过的人员编码 */ - readUserList: string | undefined; - /** 供应商状态 */ - vendorState: string | undefined; - /** 供应商描述 */ - vendorDesc: string | undefined; - /** 预防 */ - prevention: string | undefined; - /** 纠正 */ - rectify: string | undefined; - /** 不良原因 */ - badReason: string | undefined; - /** 申请人 */ - defectType: string | undefined; - /** 不良根本原因 */ - realCauseAnalysis: string | undefined; - /** 是否需要预防 */ - isNeedPrevention: string | undefined; - /** 部件 */ - partment: string | undefined; - /** 创建部门 */ - createDep: string | undefined; - /** 点阵 */ - addressPoint: string | undefined; - /** 数量 */ - qty: number; - /** 不良数量 */ - ngQty: number; - /** 经理确认 */ - managerConfirm: string | undefined; - /** 炉号 */ - furnace: string | undefined; - /** 紧急程度 */ - urgent: string | undefined; - /** 配做零件工单号 */ - pzljmoCode: string | undefined; - /** 工时费 */ - workHourPrice: string | undefined; - /** 材料费 */ - materialPrice: string | undefined; - /** 是否是退料 */ - isTuiLiao: string | undefined; - /** IP地址 */ - ipAddress: string | undefined; - /** 发送界面 */ - sendForm: string | undefined; - /** 发送类型 */ - sendType: string | undefined; - /** 确认人 */ - conformUserId: string | undefined; - /** 确认人名称 */ - conformUserName: string | undefined; - /** 审核时间 */ - conformTime: moment.Moment | undefined; - /** 关闭人 */ - closeUserId: string | undefined; - /** 关闭人名称 */ - closeUserName: string | undefined; - /** 关闭时间 */ - closeTime: moment.Moment | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 保留字段1 */ - default11: string | undefined; - /** 保留字段2 */ - default12: string | undefined; - /** 保留字段3 */ - default13: string | undefined; - /** 保留字段4 */ - default14: string | undefined; - /** 保留字段5 */ - default15: string | undefined; - /** 保留字段6 */ - default16: string | undefined; - /** 保留字段7 */ - default17: string | undefined; - /** 保留字段8 */ - default18: string | undefined; - /** 保留字段9 */ - default19: string | undefined; - /** 保留字段10 */ - default20: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; + value: string | undefined; - constructor(data?: IIcsNcrDocListDto) { + constructor(data?: IKeyValuePairOfStringString) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -80029,90 +119595,64 @@ export class IcsNcrDocListDto implements IIcsNcrDocListDto { init(_data?: any) { if (_data) { this.key = _data["key"]; - this.ncrDocNo = _data["ncrDocNo"]; - this.ncrType = _data["ncrType"]; - this.ncrStatus = _data["ncrStatus"]; - this.ncrStatusText = _data["ncrStatusText"]; - this.srcDocType = _data["srcDocType"]; - this.srcDocTypeText = _data["srcDocTypeText"]; - this.errorType = _data["errorType"]; - this.eqpCode = _data["eqpCode"]; - this.projectCode = _data["projectCode"]; - this.timeLimit = _data["timeLimit"]; - this.contentDesc = _data["contentDesc"]; - this.opCode = _data["opCode"]; - this.treatWay = _data["treatWay"]; - this.reasonDesc = _data["reasonDesc"]; - this.treatResult = _data["treatResult"]; - this.toPostList = _data["toPostList"]; - this.ccPostList = _data["ccPostList"]; - this.toUserList = _data["toUserList"]; - this.okUserList = _data["okUserList"]; - this.itemCode = _data["itemCode"]; - this.readUserList = _data["readUserList"]; - this.vendorState = _data["vendorState"]; - this.vendorDesc = _data["vendorDesc"]; - this.prevention = _data["prevention"]; - this.rectify = _data["rectify"]; - this.badReason = _data["badReason"]; - this.defectType = _data["defectType"]; - this.realCauseAnalysis = _data["realCauseAnalysis"]; - this.isNeedPrevention = _data["isNeedPrevention"]; - this.partment = _data["partment"]; - this.createDep = _data["createDep"]; - this.addressPoint = _data["addressPoint"]; - this.qty = _data["qty"]; - this.ngQty = _data["ngQty"]; - this.managerConfirm = _data["managerConfirm"]; - this.furnace = _data["furnace"]; - this.urgent = _data["urgent"]; - this.pzljmoCode = _data["pzljmoCode"]; - this.workHourPrice = _data["workHourPrice"]; - this.materialPrice = _data["materialPrice"]; - this.isTuiLiao = _data["isTuiLiao"]; - this.ipAddress = _data["ipAddress"]; - this.sendForm = _data["sendForm"]; - this.sendType = _data["sendType"]; - this.conformUserId = _data["conformUserId"]; - this.conformUserName = _data["conformUserName"]; - this.conformTime = _data["conformTime"] ? moment(_data["conformTime"].toString()) : undefined; - this.closeUserId = _data["closeUserId"]; - this.closeUserName = _data["closeUserName"]; - this.closeTime = _data["closeTime"] ? moment(_data["closeTime"].toString()) : undefined; - this.memo = _data["memo"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - this.default11 = _data["default11"]; - this.default12 = _data["default12"]; - this.default13 = _data["default13"]; - this.default14 = _data["default14"]; - this.default15 = _data["default15"]; - this.default16 = _data["default16"]; - this.default17 = _data["default17"]; - this.default18 = _data["default18"]; - this.default19 = _data["default19"]; - this.default20 = _data["default20"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + this.value = _data["value"]; + } + } + + static fromJS(data: any): KeyValuePairOfStringString { + data = typeof data === 'object' ? data : {}; + let result = new KeyValuePairOfStringString(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["key"] = this.key; + data["value"] = this.value; + return data; + } + + clone(): KeyValuePairOfStringString { + const json = this.toJSON(); + let result = new KeyValuePairOfStringString(); + result.init(json); + return result; + } +} + +export interface IKeyValuePairOfStringString { + key: string | undefined; + value: string | undefined; +} + +export class KeyValuePairOfStringStringValues implements IKeyValuePairOfStringStringValues { + key: string | undefined; + value: string[]; + + constructor(data?: IKeyValuePairOfStringStringValues) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } } } - static fromJS(data: any): IcsNcrDocListDto { + init(_data?: any) { + if (_data) { + this.key = _data["key"]; + if (Array.isArray(_data["value"])) { + this.value = [] as any; + for (let item of _data["value"]) + this.value.push(item); + } + } + } + + static fromJS(data: any): KeyValuePairOfStringStringValues { data = typeof data === 'object' ? data : {}; - let result = new IcsNcrDocListDto(); + let result = new KeyValuePairOfStringStringValues(); result.init(data); return result; } @@ -80120,331 +119660,32 @@ export class IcsNcrDocListDto implements IIcsNcrDocListDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["key"] = this.key; - data["ncrDocNo"] = this.ncrDocNo; - data["ncrType"] = this.ncrType; - data["ncrStatus"] = this.ncrStatus; - data["ncrStatusText"] = this.ncrStatusText; - data["srcDocType"] = this.srcDocType; - data["srcDocTypeText"] = this.srcDocTypeText; - data["errorType"] = this.errorType; - data["eqpCode"] = this.eqpCode; - data["projectCode"] = this.projectCode; - data["timeLimit"] = this.timeLimit; - data["contentDesc"] = this.contentDesc; - data["opCode"] = this.opCode; - data["treatWay"] = this.treatWay; - data["reasonDesc"] = this.reasonDesc; - data["treatResult"] = this.treatResult; - data["toPostList"] = this.toPostList; - data["ccPostList"] = this.ccPostList; - data["toUserList"] = this.toUserList; - data["okUserList"] = this.okUserList; - data["itemCode"] = this.itemCode; - data["readUserList"] = this.readUserList; - data["vendorState"] = this.vendorState; - data["vendorDesc"] = this.vendorDesc; - data["prevention"] = this.prevention; - data["rectify"] = this.rectify; - data["badReason"] = this.badReason; - data["defectType"] = this.defectType; - data["realCauseAnalysis"] = this.realCauseAnalysis; - data["isNeedPrevention"] = this.isNeedPrevention; - data["partment"] = this.partment; - data["createDep"] = this.createDep; - data["addressPoint"] = this.addressPoint; - data["qty"] = this.qty; - data["ngQty"] = this.ngQty; - data["managerConfirm"] = this.managerConfirm; - data["furnace"] = this.furnace; - data["urgent"] = this.urgent; - data["pzljmoCode"] = this.pzljmoCode; - data["workHourPrice"] = this.workHourPrice; - data["materialPrice"] = this.materialPrice; - data["isTuiLiao"] = this.isTuiLiao; - data["ipAddress"] = this.ipAddress; - data["sendForm"] = this.sendForm; - data["sendType"] = this.sendType; - data["conformUserId"] = this.conformUserId; - data["conformUserName"] = this.conformUserName; - data["conformTime"] = this.conformTime ? this.conformTime.toISOString() : undefined; - data["closeUserId"] = this.closeUserId; - data["closeUserName"] = this.closeUserName; - data["closeTime"] = this.closeTime ? this.closeTime.toISOString() : undefined; - data["memo"] = this.memo; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - data["default11"] = this.default11; - data["default12"] = this.default12; - data["default13"] = this.default13; - data["default14"] = this.default14; - data["default15"] = this.default15; - data["default16"] = this.default16; - data["default17"] = this.default17; - data["default18"] = this.default18; - data["default19"] = this.default19; - data["default20"] = this.default20; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + if (Array.isArray(this.value)) { + data["value"] = []; + for (let item of this.value) + data["value"].push(item); + } return data; } - clone(): IcsNcrDocListDto { + clone(): KeyValuePairOfStringStringValues { const json = this.toJSON(); - let result = new IcsNcrDocListDto(); + let result = new KeyValuePairOfStringStringValues(); result.init(json); return result; } } -export interface IIcsNcrDocListDto { +export interface IKeyValuePairOfStringStringValues { key: string | undefined; - /** 单号 */ - ncrDocNo: string | undefined; - /** NCR类型 */ - ncrType: string | undefined; - /** 状态 */ - ncrStatus: string | undefined; - ncrStatusText: string | undefined; - /** 来源类型 */ - srcDocType: string | undefined; - srcDocTypeText: string | undefined; - /** 错误类型 */ - errorType: string | undefined; - /** 设备编码 */ - eqpCode: string | undefined; - /** 项目号 */ - projectCode: string | undefined; - /** 要求处理时效 */ - timeLimit: number; - /** 内容 */ - contentDesc: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 处理方式 */ - treatWay: string | undefined; - /** 原因 */ - reasonDesc: string | undefined; - /** 处理结果 */ - treatResult: string | undefined; - /** 质量工程师邮件 */ - toPostList: string | undefined; - /** 抄送人邮件 */ - ccPostList: string | undefined; - /** 处理人员列表 */ - toUserList: string | undefined; - /** 确认人员列表 */ - okUserList: string | undefined; - /** 料品 */ - itemCode: string | undefined; - /** 浏览过的人员编码 */ - readUserList: string | undefined; - /** 供应商状态 */ - vendorState: string | undefined; - /** 供应商描述 */ - vendorDesc: string | undefined; - /** 预防 */ - prevention: string | undefined; - /** 纠正 */ - rectify: string | undefined; - /** 不良原因 */ - badReason: string | undefined; - /** 申请人 */ - defectType: string | undefined; - /** 不良根本原因 */ - realCauseAnalysis: string | undefined; - /** 是否需要预防 */ - isNeedPrevention: string | undefined; - /** 部件 */ - partment: string | undefined; - /** 创建部门 */ - createDep: string | undefined; - /** 点阵 */ - addressPoint: string | undefined; - /** 数量 */ - qty: number; - /** 不良数量 */ - ngQty: number; - /** 经理确认 */ - managerConfirm: string | undefined; - /** 炉号 */ - furnace: string | undefined; - /** 紧急程度 */ - urgent: string | undefined; - /** 配做零件工单号 */ - pzljmoCode: string | undefined; - /** 工时费 */ - workHourPrice: string | undefined; - /** 材料费 */ - materialPrice: string | undefined; - /** 是否是退料 */ - isTuiLiao: string | undefined; - /** IP地址 */ - ipAddress: string | undefined; - /** 发送界面 */ - sendForm: string | undefined; - /** 发送类型 */ - sendType: string | undefined; - /** 确认人 */ - conformUserId: string | undefined; - /** 确认人名称 */ - conformUserName: string | undefined; - /** 审核时间 */ - conformTime: moment.Moment | undefined; - /** 关闭人 */ - closeUserId: string | undefined; - /** 关闭人名称 */ - closeUserName: string | undefined; - /** 关闭时间 */ - closeTime: moment.Moment | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 保留字段1 */ - default11: string | undefined; - /** 保留字段2 */ - default12: string | undefined; - /** 保留字段3 */ - default13: string | undefined; - /** 保留字段4 */ - default14: string | undefined; - /** 保留字段5 */ - default15: string | undefined; - /** 保留字段6 */ - default16: string | undefined; - /** 保留字段7 */ - default17: string | undefined; - /** 保留字段8 */ - default18: string | undefined; - /** 保留字段9 */ - default19: string | undefined; - /** 保留字段10 */ - default20: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; + value: string[]; } -export class IcsOPBomDetailListDto implements IIcsOPBomDetailListDto { +export class KeyValuePairOfTypeObject implements IKeyValuePairOfTypeObject { key: string | undefined; - /** 产品ID */ - itemID: number; - /** 产品代码 */ - itemCode: string | undefined; - itemName: string | undefined; - /** 工序BOM代码 */ - obCode: string | undefined; - /** 工序BOM版本 */ - opBomVer: string | undefined; - /** 子阶料物料代码 */ - obItemCode: string | undefined; - /** 子阶料物料名称 */ - obItemName: string | undefined; - /** 子阶料工程变更号 */ - obItemEcn: string | undefined; - /** 物料单位 */ - obItemUom: string | undefined; - /** 计量数量 */ - obItemQty: number; - /** 首选料物料代码 */ - obsItemCode: string | undefined; - /** 子阶料物料版本 */ - obItemVer: string | undefined; - /** 子阶料物料类型 */ - obItemType: string | undefined; - /** 管控类型 */ - obItemContype: string | undefined; - obItemContypeText: string | undefined; - /** 生效时间 */ - obItemEfftime: moment.Moment; - /** 失效时间 */ - obItemInvtime: moment.Moment; - /** 是否检查厂内物料 */ - isItemCheck: string | undefined; - /** 检查内容 */ - itemCheckValue: string | undefined; - /** ACTION类型 */ - actionType: string | undefined; - /** 检查内容 */ - checkStatus: string | undefined; - /** 子阶料次序 */ - obItemSeq: number; - /** 解析方式 */ - obParseType: string | undefined; - /** 检查类型 */ - obCheckType: string | undefined; - /** 是否有效 */ - obValid: string | undefined; - /** 序列号长度 */ - snLength: number | undefined; - /** 资料供应商 */ - needVendor: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; + value: any | undefined; - constructor(data?: IIcsOPBomDetailListDto) { + constructor(data?: IKeyValuePairOfTypeObject) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -80456,57 +119697,13 @@ export class IcsOPBomDetailListDto implements IIcsOPBomDetailListDto { init(_data?: any) { if (_data) { this.key = _data["key"]; - this.itemID = _data["itemID"]; - this.itemCode = _data["itemCode"]; - this.itemName = _data["itemName"]; - this.obCode = _data["obCode"]; - this.opBomVer = _data["opBomVer"]; - this.obItemCode = _data["obItemCode"]; - this.obItemName = _data["obItemName"]; - this.obItemEcn = _data["obItemEcn"]; - this.obItemUom = _data["obItemUom"]; - this.obItemQty = _data["obItemQty"]; - this.obsItemCode = _data["obsItemCode"]; - this.obItemVer = _data["obItemVer"]; - this.obItemType = _data["obItemType"]; - this.obItemContype = _data["obItemContype"]; - this.obItemContypeText = _data["obItemContypeText"]; - this.obItemEfftime = _data["obItemEfftime"] ? moment(_data["obItemEfftime"].toString()) : undefined; - this.obItemInvtime = _data["obItemInvtime"] ? moment(_data["obItemInvtime"].toString()) : undefined; - this.isItemCheck = _data["isItemCheck"]; - this.itemCheckValue = _data["itemCheckValue"]; - this.actionType = _data["actionType"]; - this.checkStatus = _data["checkStatus"]; - this.obItemSeq = _data["obItemSeq"]; - this.obParseType = _data["obParseType"]; - this.obCheckType = _data["obCheckType"]; - this.obValid = _data["obValid"]; - this.snLength = _data["snLength"]; - this.needVendor = _data["needVendor"]; - this.memo = _data["memo"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + this.value = _data["value"]; } } - static fromJS(data: any): IcsOPBomDetailListDto { + static fromJS(data: any): KeyValuePairOfTypeObject { data = typeof data === 'object' ? data : {}; - let result = new IcsOPBomDetailListDto(); + let result = new KeyValuePairOfTypeObject(); result.init(data); return result; } @@ -80514,201 +119711,30 @@ export class IcsOPBomDetailListDto implements IIcsOPBomDetailListDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["key"] = this.key; - data["itemID"] = this.itemID; - data["itemCode"] = this.itemCode; - data["itemName"] = this.itemName; - data["obCode"] = this.obCode; - data["opBomVer"] = this.opBomVer; - data["obItemCode"] = this.obItemCode; - data["obItemName"] = this.obItemName; - data["obItemEcn"] = this.obItemEcn; - data["obItemUom"] = this.obItemUom; - data["obItemQty"] = this.obItemQty; - data["obsItemCode"] = this.obsItemCode; - data["obItemVer"] = this.obItemVer; - data["obItemType"] = this.obItemType; - data["obItemContype"] = this.obItemContype; - data["obItemContypeText"] = this.obItemContypeText; - data["obItemEfftime"] = this.obItemEfftime ? this.obItemEfftime.toISOString() : undefined; - data["obItemInvtime"] = this.obItemInvtime ? this.obItemInvtime.toISOString() : undefined; - data["isItemCheck"] = this.isItemCheck; - data["itemCheckValue"] = this.itemCheckValue; - data["actionType"] = this.actionType; - data["checkStatus"] = this.checkStatus; - data["obItemSeq"] = this.obItemSeq; - data["obParseType"] = this.obParseType; - data["obCheckType"] = this.obCheckType; - data["obValid"] = this.obValid; - data["snLength"] = this.snLength; - data["needVendor"] = this.needVendor; - data["memo"] = this.memo; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + data["value"] = this.value; return data; } - clone(): IcsOPBomDetailListDto { + clone(): KeyValuePairOfTypeObject { const json = this.toJSON(); - let result = new IcsOPBomDetailListDto(); + let result = new KeyValuePairOfTypeObject(); result.init(json); return result; } } -export interface IIcsOPBomDetailListDto { +export interface IKeyValuePairOfTypeObject { key: string | undefined; - /** 产品ID */ - itemID: number; - /** 产品代码 */ - itemCode: string | undefined; - itemName: string | undefined; - /** 工序BOM代码 */ - obCode: string | undefined; - /** 工序BOM版本 */ - opBomVer: string | undefined; - /** 子阶料物料代码 */ - obItemCode: string | undefined; - /** 子阶料物料名称 */ - obItemName: string | undefined; - /** 子阶料工程变更号 */ - obItemEcn: string | undefined; - /** 物料单位 */ - obItemUom: string | undefined; - /** 计量数量 */ - obItemQty: number; - /** 首选料物料代码 */ - obsItemCode: string | undefined; - /** 子阶料物料版本 */ - obItemVer: string | undefined; - /** 子阶料物料类型 */ - obItemType: string | undefined; - /** 管控类型 */ - obItemContype: string | undefined; - obItemContypeText: string | undefined; - /** 生效时间 */ - obItemEfftime: moment.Moment; - /** 失效时间 */ - obItemInvtime: moment.Moment; - /** 是否检查厂内物料 */ - isItemCheck: string | undefined; - /** 检查内容 */ - itemCheckValue: string | undefined; - /** ACTION类型 */ - actionType: string | undefined; - /** 检查内容 */ - checkStatus: string | undefined; - /** 子阶料次序 */ - obItemSeq: number; - /** 解析方式 */ - obParseType: string | undefined; - /** 检查类型 */ - obCheckType: string | undefined; - /** 是否有效 */ - obValid: string | undefined; - /** 序列号长度 */ - snLength: number | undefined; - /** 资料供应商 */ - needVendor: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; + value: any | undefined; } -export class IcsOPBomListDto implements IIcsOPBomListDto { - /** 连接关键字,由途程代码+工序代码+产品代码组成 */ - opid: number; - /** 产品ID */ - itemID: number; - /** 产品代码 */ - itemCode: string | undefined; - itemName: string | undefined; - itemDesc: string | undefined; - itemModel: string | undefined; - /** 工序BOM代码 */ - obCode: string | undefined; - /** 工序BOM版本 */ - opBomVer: string | undefined; - /** 途程代码 */ - obRoute: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 工序BOM描述 */ - opDesc: string | undefined; - /** 是否有效 */ - avaliable: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - opBomDetail: IcsOPBomDetailListDto[] | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class LanguageEditDto implements ILanguageEditDto { + id: string | undefined; + name: string; + icon: string | undefined; + isEnabled: boolean; - constructor(data?: IIcsOPBomListDto) { + constructor(data?: ILanguageEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -80719,187 +119745,123 @@ export class IcsOPBomListDto implements IIcsOPBomListDto { init(_data?: any) { if (_data) { - this.opid = _data["opid"]; - this.itemID = _data["itemID"]; - this.itemCode = _data["itemCode"]; - this.itemName = _data["itemName"]; - this.itemDesc = _data["itemDesc"]; - this.itemModel = _data["itemModel"]; - this.obCode = _data["obCode"]; - this.opBomVer = _data["opBomVer"]; - this.obRoute = _data["obRoute"]; - this.opCode = _data["opCode"]; - this.opDesc = _data["opDesc"]; - this.avaliable = _data["avaliable"]; - this.memo = _data["memo"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - if (Array.isArray(_data["opBomDetail"])) { - this.opBomDetail = [] as any; - for (let item of _data["opBomDetail"]) - this.opBomDetail.push(IcsOPBomDetailListDto.fromJS(item)); - } - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; this.id = _data["id"]; + this.name = _data["name"]; + this.icon = _data["icon"]; + this.isEnabled = _data["isEnabled"]; + } + } + + static fromJS(data: any): LanguageEditDto { + data = typeof data === 'object' ? data : {}; + let result = new LanguageEditDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["id"] = this.id; + data["name"] = this.name; + data["icon"] = this.icon; + data["isEnabled"] = this.isEnabled; + return data; + } + + clone(): LanguageEditDto { + const json = this.toJSON(); + let result = new LanguageEditDto(); + result.init(json); + return result; + } +} + +export interface ILanguageEditDto { + id: string | undefined; + name: string; + icon: string | undefined; + isEnabled: boolean; +} + +export class LanguageInfo implements ILanguageInfo { + name: string | undefined; + displayName: string | undefined; + icon: string | undefined; + isDefault: boolean; + isDisabled: boolean; + readonly isRightToLeft: boolean; + + constructor(data?: ILanguageInfo) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.name = _data["name"]; + this.displayName = _data["displayName"]; + this.icon = _data["icon"]; + this.isDefault = _data["isDefault"]; + this.isDisabled = _data["isDisabled"]; + (this).isRightToLeft = _data["isRightToLeft"]; } } - static fromJS(data: any): IcsOPBomListDto { + static fromJS(data: any): LanguageInfo { data = typeof data === 'object' ? data : {}; - let result = new IcsOPBomListDto(); + let result = new LanguageInfo(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["opid"] = this.opid; - data["itemID"] = this.itemID; - data["itemCode"] = this.itemCode; - data["itemName"] = this.itemName; - data["itemDesc"] = this.itemDesc; - data["itemModel"] = this.itemModel; - data["obCode"] = this.obCode; - data["opBomVer"] = this.opBomVer; - data["obRoute"] = this.obRoute; - data["opCode"] = this.opCode; - data["opDesc"] = this.opDesc; - data["avaliable"] = this.avaliable; - data["memo"] = this.memo; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - if (Array.isArray(this.opBomDetail)) { - data["opBomDetail"] = []; - for (let item of this.opBomDetail) - data["opBomDetail"].push(item.toJSON()); - } - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + data["name"] = this.name; + data["displayName"] = this.displayName; + data["icon"] = this.icon; + data["isDefault"] = this.isDefault; + data["isDisabled"] = this.isDisabled; + data["isRightToLeft"] = this.isRightToLeft; return data; } - clone(): IcsOPBomListDto { + clone(): LanguageInfo { const json = this.toJSON(); - let result = new IcsOPBomListDto(); + let result = new LanguageInfo(); result.init(json); return result; } } -export interface IIcsOPBomListDto { - /** 连接关键字,由途程代码+工序代码+产品代码组成 */ - opid: number; - /** 产品ID */ - itemID: number; - /** 产品代码 */ - itemCode: string | undefined; - itemName: string | undefined; - itemDesc: string | undefined; - itemModel: string | undefined; - /** 工序BOM代码 */ - obCode: string | undefined; - /** 工序BOM版本 */ - opBomVer: string | undefined; - /** 途程代码 */ - obRoute: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 工序BOM描述 */ - opDesc: string | undefined; - /** 是否有效 */ - avaliable: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - opBomDetail: IcsOPBomDetailListDto[] | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; +export interface ILanguageInfo { + name: string | undefined; + displayName: string | undefined; + icon: string | undefined; + isDefault: boolean; + isDisabled: boolean; + isRightToLeft: boolean; +} + +export class LanguageListDto implements ILanguageListDto { + tenantId: string | undefined; + name: string | undefined; + displayName: string | undefined; + icon: string | undefined; + isDisabled: boolean; + isDeleted: boolean; + deleterUserId: string | undefined; + deletionTime: moment.Moment | undefined; lastModificationTime: moment.Moment | undefined; lastModifierUserId: string | undefined; creationTime: moment.Moment; creatorUserId: string | undefined; - id: number; -} - -export class IcsOPEditDto implements IIcsOPEditDto { - id: number | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 工序名称 */ - opName: string | undefined; - /** 工序序号 */ - opSeq: string | undefined; - /** 工序描述 */ - opDesc: string | undefined; - /** 车间代码 */ - segCode: string | undefined; - /** 数据收集方式 AUTO: 自动收集, MANUAL: 人工收集 */ - opCollection: string | undefined; - /** 工序类型记录(装配,试压。。。。) */ - opControl: string | undefined; - /** 工序类型记录(装配,试压。。。。) */ - opControlList: string[] | undefined; - /** 是否上料 */ - isMaterial: string | undefined; - /** 是否合并 */ - isMerge: string | undefined; - /** 工序等级(A,B,C,D,E) , E:固定委外工序 */ - opLevel: string | undefined; - /** 标准工时(某些工序工时和工艺路线没关系) */ - sTime: number; - /** 准备工时(某些工序工时和工艺路线没关系) */ - rTime: number; - /** 工序和资源的绑定 一(工序)对多(资源) */ - resId: number[] | undefined; - /** 备注 */ - memo: string | undefined; + id: string | undefined; - constructor(data?: IIcsOPEditDto) { + constructor(data?: ILanguageListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -80910,120 +119872,77 @@ export class IcsOPEditDto implements IIcsOPEditDto { init(_data?: any) { if (_data) { + this.tenantId = _data["tenantId"]; + this.name = _data["name"]; + this.displayName = _data["displayName"]; + this.icon = _data["icon"]; + this.isDisabled = _data["isDisabled"]; + this.isDeleted = _data["isDeleted"]; + this.deleterUserId = _data["deleterUserId"]; + this.deletionTime = _data["deletionTime"] ? moment(_data["deletionTime"].toString()) : undefined; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; this.id = _data["id"]; - this.opCode = _data["opCode"]; - this.opName = _data["opName"]; - this.opSeq = _data["opSeq"]; - this.opDesc = _data["opDesc"]; - this.segCode = _data["segCode"]; - this.opCollection = _data["opCollection"]; - this.opControl = _data["opControl"]; - if (Array.isArray(_data["opControlList"])) { - this.opControlList = [] as any; - for (let item of _data["opControlList"]) - this.opControlList.push(item); - } - this.isMaterial = _data["isMaterial"]; - this.isMerge = _data["isMerge"]; - this.opLevel = _data["opLevel"]; - this.sTime = _data["sTime"]; - this.rTime = _data["rTime"]; - if (Array.isArray(_data["resId"])) { - this.resId = [] as any; - for (let item of _data["resId"]) - this.resId.push(item); - } - this.memo = _data["memo"]; } } - static fromJS(data: any): IcsOPEditDto { + static fromJS(data: any): LanguageListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsOPEditDto(); + let result = new LanguageListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["tenantId"] = this.tenantId; + data["name"] = this.name; + data["displayName"] = this.displayName; + data["icon"] = this.icon; + data["isDisabled"] = this.isDisabled; + data["isDeleted"] = this.isDeleted; + data["deleterUserId"] = this.deleterUserId; + data["deletionTime"] = this.deletionTime ? this.deletionTime.toISOString() : undefined; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; data["id"] = this.id; - data["opCode"] = this.opCode; - data["opName"] = this.opName; - data["opSeq"] = this.opSeq; - data["opDesc"] = this.opDesc; - data["segCode"] = this.segCode; - data["opCollection"] = this.opCollection; - data["opControl"] = this.opControl; - if (Array.isArray(this.opControlList)) { - data["opControlList"] = []; - for (let item of this.opControlList) - data["opControlList"].push(item); - } - data["isMaterial"] = this.isMaterial; - data["isMerge"] = this.isMerge; - data["opLevel"] = this.opLevel; - data["sTime"] = this.sTime; - data["rTime"] = this.rTime; - if (Array.isArray(this.resId)) { - data["resId"] = []; - for (let item of this.resId) - data["resId"].push(item); - } - data["memo"] = this.memo; return data; } - clone(): IcsOPEditDto { + clone(): LanguageListDto { const json = this.toJSON(); - let result = new IcsOPEditDto(); + let result = new LanguageListDto(); result.init(json); return result; } } -export interface IIcsOPEditDto { - id: number | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 工序名称 */ - opName: string | undefined; - /** 工序序号 */ - opSeq: string | undefined; - /** 工序描述 */ - opDesc: string | undefined; - /** 车间代码 */ - segCode: string | undefined; - /** 数据收集方式 AUTO: 自动收集, MANUAL: 人工收集 */ - opCollection: string | undefined; - /** 工序类型记录(装配,试压。。。。) */ - opControl: string | undefined; - /** 工序类型记录(装配,试压。。。。) */ - opControlList: string[] | undefined; - /** 是否上料 */ - isMaterial: string | undefined; - /** 是否合并 */ - isMerge: string | undefined; - /** 工序等级(A,B,C,D,E) , E:固定委外工序 */ - opLevel: string | undefined; - /** 标准工时(某些工序工时和工艺路线没关系) */ - sTime: number; - /** 准备工时(某些工序工时和工艺路线没关系) */ - rTime: number; - /** 工序和资源的绑定 一(工序)对多(资源) */ - resId: number[] | undefined; - /** 备注 */ - memo: string | undefined; +export interface ILanguageListDto { + tenantId: string | undefined; + name: string | undefined; + displayName: string | undefined; + icon: string | undefined; + isDisabled: boolean; + isDeleted: boolean; + deleterUserId: string | undefined; + deletionTime: moment.Moment | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: string | undefined; } -export class IcsOPImportDto implements IIcsOPImportDto { - /** 工序代码 */ - opCode: string; - /** 工序名称 */ - opName: string; - /** 工序描述 */ - opDesc: string | undefined; +export class LanguageTextListDto implements ILanguageTextListDto { + key: string | undefined; + baseValue: string | undefined; + targetValue: string | undefined; - constructor(data?: IIcsOPImportDto) { + constructor(data?: ILanguageTextListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -81034,86 +119953,49 @@ export class IcsOPImportDto implements IIcsOPImportDto { init(_data?: any) { if (_data) { - this.opCode = _data["opCode"]; - this.opName = _data["opName"]; - this.opDesc = _data["opDesc"]; + this.key = _data["key"]; + this.baseValue = _data["baseValue"]; + this.targetValue = _data["targetValue"]; } } - static fromJS(data: any): IcsOPImportDto { + static fromJS(data: any): LanguageTextListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsOPImportDto(); + let result = new LanguageTextListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["opCode"] = this.opCode; - data["opName"] = this.opName; - data["opDesc"] = this.opDesc; + data["key"] = this.key; + data["baseValue"] = this.baseValue; + data["targetValue"] = this.targetValue; return data; } - clone(): IcsOPImportDto { + clone(): LanguageTextListDto { const json = this.toJSON(); - let result = new IcsOPImportDto(); + let result = new LanguageTextListDto(); result.init(json); return result; } } -export interface IIcsOPImportDto { - /** 工序代码 */ - opCode: string; - /** 工序名称 */ - opName: string; - /** 工序描述 */ - opDesc: string | undefined; +export interface ILanguageTextListDto { + key: string | undefined; + baseValue: string | undefined; + targetValue: string | undefined; } -export class IcsOPListDto implements IIcsOPListDto { - key: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 工序名称 */ - opName: string | undefined; - /** 工序序号 */ - opSeq: string | undefined; - /** 工序描述 */ - opDesc: string | undefined; - /** 车间代码 */ - segCode: string | undefined; - /** 数据收集方式 AUTO: 自动收集, MANUAL: 人工收集 */ - opCollection: string | undefined; - /** 工序类型记录(装配,试压。。。。) */ - opControl: string | undefined; - /** 工序类型记录集合 */ - opControlList: string[] | undefined; - /** 是否上料 */ - isMaterial: string | undefined; - /** 是否合并 */ - isMerge: string | undefined; - /** 工序等级(A,B,C,D,E) , E:固定委外工序 */ - opLevel: string | undefined; - /** 标准工时(某些工序工时和工艺路线没关系) */ - sTime: number; - /** 准备工时(某些工序工时和工艺路线没关系) */ - rTime: number; - /** 资源 */ - resId: string | undefined; - /** 备注 */ - memo: string | undefined; - opControlSeq: number; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class LdapSettingsEditDto implements ILdapSettingsEditDto { + isModuleEnabled: boolean; + isEnabled: boolean; + domain: string | undefined; + userName: string | undefined; + password: string | undefined; - constructor(data?: IIcsOPListDto) { + constructor(data?: ILdapSettingsEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -81124,143 +120006,53 @@ export class IcsOPListDto implements IIcsOPListDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.opCode = _data["opCode"]; - this.opName = _data["opName"]; - this.opSeq = _data["opSeq"]; - this.opDesc = _data["opDesc"]; - this.segCode = _data["segCode"]; - this.opCollection = _data["opCollection"]; - this.opControl = _data["opControl"]; - if (Array.isArray(_data["opControlList"])) { - this.opControlList = [] as any; - for (let item of _data["opControlList"]) - this.opControlList.push(item); - } - this.isMaterial = _data["isMaterial"]; - this.isMerge = _data["isMerge"]; - this.opLevel = _data["opLevel"]; - this.sTime = _data["sTime"]; - this.rTime = _data["rTime"]; - this.resId = _data["resId"]; - this.memo = _data["memo"]; - this.opControlSeq = _data["opControlSeq"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + this.isModuleEnabled = _data["isModuleEnabled"]; + this.isEnabled = _data["isEnabled"]; + this.domain = _data["domain"]; + this.userName = _data["userName"]; + this.password = _data["password"]; } } - static fromJS(data: any): IcsOPListDto { + static fromJS(data: any): LdapSettingsEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsOPListDto(); + let result = new LdapSettingsEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["opCode"] = this.opCode; - data["opName"] = this.opName; - data["opSeq"] = this.opSeq; - data["opDesc"] = this.opDesc; - data["segCode"] = this.segCode; - data["opCollection"] = this.opCollection; - data["opControl"] = this.opControl; - if (Array.isArray(this.opControlList)) { - data["opControlList"] = []; - for (let item of this.opControlList) - data["opControlList"].push(item); - } - data["isMaterial"] = this.isMaterial; - data["isMerge"] = this.isMerge; - data["opLevel"] = this.opLevel; - data["sTime"] = this.sTime; - data["rTime"] = this.rTime; - data["resId"] = this.resId; - data["memo"] = this.memo; - data["opControlSeq"] = this.opControlSeq; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + data["isModuleEnabled"] = this.isModuleEnabled; + data["isEnabled"] = this.isEnabled; + data["domain"] = this.domain; + data["userName"] = this.userName; + data["password"] = this.password; return data; } - clone(): IcsOPListDto { + clone(): LdapSettingsEditDto { const json = this.toJSON(); - let result = new IcsOPListDto(); + let result = new LdapSettingsEditDto(); result.init(json); return result; } } -export interface IIcsOPListDto { - key: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 工序名称 */ - opName: string | undefined; - /** 工序序号 */ - opSeq: string | undefined; - /** 工序描述 */ - opDesc: string | undefined; - /** 车间代码 */ - segCode: string | undefined; - /** 数据收集方式 AUTO: 自动收集, MANUAL: 人工收集 */ - opCollection: string | undefined; - /** 工序类型记录(装配,试压。。。。) */ - opControl: string | undefined; - /** 工序类型记录集合 */ - opControlList: string[] | undefined; - /** 是否上料 */ - isMaterial: string | undefined; - /** 是否合并 */ - isMerge: string | undefined; - /** 工序等级(A,B,C,D,E) , E:固定委外工序 */ - opLevel: string | undefined; - /** 标准工时(某些工序工时和工艺路线没关系) */ - sTime: number; - /** 准备工时(某些工序工时和工艺路线没关系) */ - rTime: number; - /** 资源 */ - resId: string | undefined; - /** 备注 */ - memo: string | undefined; - opControlSeq: number; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export interface ILdapSettingsEditDto { + isModuleEnabled: boolean; + isEnabled: boolean; + domain: string | undefined; + userName: string | undefined; + password: string | undefined; } -export class IcsOp2ResEditDto implements IIcsOp2ResEditDto { - id: number | undefined; - /** GUID */ - opId: number; - /** GUID */ - resId: number; - /** 工序代码 */ - opCode: string | undefined; - /** 资源代码 */ - resCode: string | undefined; - /** 资源次序 */ - resSeq: number; - /** 备注 */ - memo: string | undefined; +export class LinkToUserInput implements ILinkToUserInput { + tenancyName: string | undefined; + usernameOrEmailAddress: string; + password: string; - constructor(data?: IIcsOp2ResEditDto) { + constructor(data?: ILinkToUserInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -81271,81 +120063,48 @@ export class IcsOp2ResEditDto implements IIcsOp2ResEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.opId = _data["opId"]; - this.resId = _data["resId"]; - this.opCode = _data["opCode"]; - this.resCode = _data["resCode"]; - this.resSeq = _data["resSeq"]; - this.memo = _data["memo"]; + this.tenancyName = _data["tenancyName"]; + this.usernameOrEmailAddress = _data["usernameOrEmailAddress"]; + this.password = _data["password"]; } } - static fromJS(data: any): IcsOp2ResEditDto { + static fromJS(data: any): LinkToUserInput { data = typeof data === 'object' ? data : {}; - let result = new IcsOp2ResEditDto(); + let result = new LinkToUserInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["opId"] = this.opId; - data["resId"] = this.resId; - data["opCode"] = this.opCode; - data["resCode"] = this.resCode; - data["resSeq"] = this.resSeq; - data["memo"] = this.memo; + data["tenancyName"] = this.tenancyName; + data["usernameOrEmailAddress"] = this.usernameOrEmailAddress; + data["password"] = this.password; return data; } - clone(): IcsOp2ResEditDto { + clone(): LinkToUserInput { const json = this.toJSON(); - let result = new IcsOp2ResEditDto(); + let result = new LinkToUserInput(); result.init(json); return result; } } -export interface IIcsOp2ResEditDto { - id: number | undefined; - /** GUID */ - opId: number; - /** GUID */ - resId: number; - /** 工序代码 */ - opCode: string | undefined; - /** 资源代码 */ - resCode: string | undefined; - /** 资源次序 */ - resSeq: number; - /** 备注 */ - memo: string | undefined; +export interface ILinkToUserInput { + tenancyName: string | undefined; + usernameOrEmailAddress: string; + password: string; } -export class IcsOp2ResListDto implements IIcsOp2ResListDto { - /** GUID */ - opId: number; - /** GUID */ - resId: number; - /** 工序代码 */ - opCode: string | undefined; - /** 资源代码 */ - resCode: string | undefined; - /** 资源次序 */ - resSeq: number; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class LinkedUserDto implements ILinkedUserDto { + tenantId: string | undefined; + tenancyName: string | undefined; + username: string | undefined; + id: string | undefined; - constructor(data?: IIcsOp2ResListDto) { + constructor(data?: ILinkedUserDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -81356,89 +120115,48 @@ export class IcsOp2ResListDto implements IIcsOp2ResListDto { init(_data?: any) { if (_data) { - this.opId = _data["opId"]; - this.resId = _data["resId"]; - this.opCode = _data["opCode"]; - this.resCode = _data["resCode"]; - this.resSeq = _data["resSeq"]; - this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; + this.tenantId = _data["tenantId"]; + this.tenancyName = _data["tenancyName"]; + this.username = _data["username"]; this.id = _data["id"]; } } - static fromJS(data: any): IcsOp2ResListDto { + static fromJS(data: any): LinkedUserDto { data = typeof data === 'object' ? data : {}; - let result = new IcsOp2ResListDto(); + let result = new LinkedUserDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["opId"] = this.opId; - data["resId"] = this.resId; - data["opCode"] = this.opCode; - data["resCode"] = this.resCode; - data["resSeq"] = this.resSeq; - data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; + data["tenantId"] = this.tenantId; + data["tenancyName"] = this.tenancyName; + data["username"] = this.username; data["id"] = this.id; return data; } - clone(): IcsOp2ResListDto { + clone(): LinkedUserDto { const json = this.toJSON(); - let result = new IcsOp2ResListDto(); + let result = new LinkedUserDto(); result.init(json); return result; } } -export interface IIcsOp2ResListDto { - /** GUID */ - opId: number; - /** GUID */ - resId: number; - /** 工序代码 */ - opCode: string | undefined; - /** 资源代码 */ - resCode: string | undefined; - /** 资源次序 */ - resSeq: number; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export interface ILinkedUserDto { + tenantId: string | undefined; + tenancyName: string | undefined; + username: string | undefined; + id: string | undefined; } -export class IcsOutSorecingLotListDto implements IIcsOutSorecingLotListDto { - id: number; - /** 批次号 */ - lotNo: string | undefined; - /** 批次数量 */ - lotQty: number; - /** NCR */ - ncr: string | undefined; - /** NCR是否处理完 */ - isCompleteNCR: string | undefined; +export class ListResultDtoOfChatMessageDto implements IListResultDtoOfChatMessageDto { + items: ChatMessageDto[] | undefined; - constructor(data?: IIcsOutSorecingLotListDto) { + constructor(data?: IListResultDtoOfChatMessageDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -81449,97 +120167,47 @@ export class IcsOutSorecingLotListDto implements IIcsOutSorecingLotListDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.lotNo = _data["lotNo"]; - this.lotQty = _data["lotQty"]; - this.ncr = _data["ncr"]; - this.isCompleteNCR = _data["isCompleteNCR"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(ChatMessageDto.fromJS(item)); + } } } - static fromJS(data: any): IcsOutSorecingLotListDto { + static fromJS(data: any): ListResultDtoOfChatMessageDto { data = typeof data === 'object' ? data : {}; - let result = new IcsOutSorecingLotListDto(); + let result = new ListResultDtoOfChatMessageDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["lotNo"] = this.lotNo; - data["lotQty"] = this.lotQty; - data["ncr"] = this.ncr; - data["isCompleteNCR"] = this.isCompleteNCR; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): IcsOutSorecingLotListDto { + clone(): ListResultDtoOfChatMessageDto { const json = this.toJSON(); - let result = new IcsOutSorecingLotListDto(); + let result = new ListResultDtoOfChatMessageDto(); result.init(json); return result; } } -export interface IIcsOutSorecingLotListDto { - id: number; - /** 批次号 */ - lotNo: string | undefined; - /** 批次数量 */ - lotQty: number; - /** NCR */ - ncr: string | undefined; - /** NCR是否处理完 */ - isCompleteNCR: string | undefined; +export interface IListResultDtoOfChatMessageDto { + items: ChatMessageDto[] | undefined; } -export class IcsOutSourcingOrderEditDto implements IIcsOutSourcingOrderEditDto { - id: number | undefined; - /** 委外请购单号 */ - docNo: string | undefined; - /** 委外请购单行号 */ - docLineNo: string | undefined; - /** 请购单类型 */ - docType: string | undefined; - /** 工单Id */ - moId: number; - /** 工单代码 */ - moCode: string | undefined; - /** 工单行号 */ - moSeq: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 委外数量 */ - docQty: number; - /** 状态(新增、审核、关闭、短缺关闭) */ - status: string | undefined; - /** 部门编码 */ - deptCode: string | undefined; - /** 要求交期 */ - requiredDeliveryDate: moment.Moment; - /** 备注 */ - memo: string | undefined; - /** 同步erp标记(Y、N) */ - erpFlag: string | undefined; - /** Erp回写单号 */ - erpDocNo: string | undefined; - /** 申请人 */ - appliedUser: string | undefined; - /** 产品名称 */ - itemName: string | undefined; - /** 维护人 */ - creatorUserName: string | undefined; - /** 维护时间 */ - creationTime: string | undefined; - /** 工序选中ids */ - opids: number[] | undefined; - opList: SelectItemExt2[] | undefined; - /** 批次选中ids */ - lotids: number[] | undefined; - lotList: IcsOutSorecingLotListDto[] | undefined; +export class ListResultDtoOfColumnItemDto implements IListResultDtoOfColumnItemDto { + items: ColumnItemDto[] | undefined; - constructor(data?: IIcsOutSourcingOrderEditDto) { + constructor(data?: IListResultDtoOfColumnItemDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -81550,199 +120218,47 @@ export class IcsOutSourcingOrderEditDto implements IIcsOutSourcingOrderEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.docNo = _data["docNo"]; - this.docLineNo = _data["docLineNo"]; - this.docType = _data["docType"]; - this.moId = _data["moId"]; - this.moCode = _data["moCode"]; - this.moSeq = _data["moSeq"]; - this.itemCode = _data["itemCode"]; - this.docQty = _data["docQty"]; - this.status = _data["status"]; - this.deptCode = _data["deptCode"]; - this.requiredDeliveryDate = _data["requiredDeliveryDate"] ? moment(_data["requiredDeliveryDate"].toString()) : undefined; - this.memo = _data["memo"]; - this.erpFlag = _data["erpFlag"]; - this.erpDocNo = _data["erpDocNo"]; - this.appliedUser = _data["appliedUser"]; - this.itemName = _data["itemName"]; - this.creatorUserName = _data["creatorUserName"]; - this.creationTime = _data["creationTime"]; - if (Array.isArray(_data["opids"])) { - this.opids = [] as any; - for (let item of _data["opids"]) - this.opids.push(item); - } - if (Array.isArray(_data["opList"])) { - this.opList = [] as any; - for (let item of _data["opList"]) - this.opList.push(SelectItemExt2.fromJS(item)); - } - if (Array.isArray(_data["lotids"])) { - this.lotids = [] as any; - for (let item of _data["lotids"]) - this.lotids.push(item); - } - if (Array.isArray(_data["lotList"])) { - this.lotList = [] as any; - for (let item of _data["lotList"]) - this.lotList.push(IcsOutSorecingLotListDto.fromJS(item)); + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(ColumnItemDto.fromJS(item)); } } } - static fromJS(data: any): IcsOutSourcingOrderEditDto { + static fromJS(data: any): ListResultDtoOfColumnItemDto { data = typeof data === 'object' ? data : {}; - let result = new IcsOutSourcingOrderEditDto(); + let result = new ListResultDtoOfColumnItemDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["docNo"] = this.docNo; - data["docLineNo"] = this.docLineNo; - data["docType"] = this.docType; - data["moId"] = this.moId; - data["moCode"] = this.moCode; - data["moSeq"] = this.moSeq; - data["itemCode"] = this.itemCode; - data["docQty"] = this.docQty; - data["status"] = this.status; - data["deptCode"] = this.deptCode; - data["requiredDeliveryDate"] = this.requiredDeliveryDate ? this.requiredDeliveryDate.toISOString() : undefined; - data["memo"] = this.memo; - data["erpFlag"] = this.erpFlag; - data["erpDocNo"] = this.erpDocNo; - data["appliedUser"] = this.appliedUser; - data["itemName"] = this.itemName; - data["creatorUserName"] = this.creatorUserName; - data["creationTime"] = this.creationTime; - if (Array.isArray(this.opids)) { - data["opids"] = []; - for (let item of this.opids) - data["opids"].push(item); - } - if (Array.isArray(this.opList)) { - data["opList"] = []; - for (let item of this.opList) - data["opList"].push(item.toJSON()); - } - if (Array.isArray(this.lotids)) { - data["lotids"] = []; - for (let item of this.lotids) - data["lotids"].push(item); - } - if (Array.isArray(this.lotList)) { - data["lotList"] = []; - for (let item of this.lotList) - data["lotList"].push(item.toJSON()); + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } return data; } - clone(): IcsOutSourcingOrderEditDto { + clone(): ListResultDtoOfColumnItemDto { const json = this.toJSON(); - let result = new IcsOutSourcingOrderEditDto(); + let result = new ListResultDtoOfColumnItemDto(); result.init(json); return result; } } -export interface IIcsOutSourcingOrderEditDto { - id: number | undefined; - /** 委外请购单号 */ - docNo: string | undefined; - /** 委外请购单行号 */ - docLineNo: string | undefined; - /** 请购单类型 */ - docType: string | undefined; - /** 工单Id */ - moId: number; - /** 工单代码 */ - moCode: string | undefined; - /** 工单行号 */ - moSeq: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 委外数量 */ - docQty: number; - /** 状态(新增、审核、关闭、短缺关闭) */ - status: string | undefined; - /** 部门编码 */ - deptCode: string | undefined; - /** 要求交期 */ - requiredDeliveryDate: moment.Moment; - /** 备注 */ - memo: string | undefined; - /** 同步erp标记(Y、N) */ - erpFlag: string | undefined; - /** Erp回写单号 */ - erpDocNo: string | undefined; - /** 申请人 */ - appliedUser: string | undefined; - /** 产品名称 */ - itemName: string | undefined; - /** 维护人 */ - creatorUserName: string | undefined; - /** 维护时间 */ - creationTime: string | undefined; - /** 工序选中ids */ - opids: number[] | undefined; - opList: SelectItemExt2[] | undefined; - /** 批次选中ids */ - lotids: number[] | undefined; - lotList: IcsOutSorecingLotListDto[] | undefined; +export interface IListResultDtoOfColumnItemDto { + items: ColumnItemDto[] | undefined; } -export class IcsOutSourcingOrderListDto implements IIcsOutSourcingOrderListDto { - /** 委外请购单号 */ - docNo: string | undefined; - /** 委外请购单行号 */ - docLineNo: number; - /** 请购单类型 */ - docType: string | undefined; - /** 工单Id */ - moId: number; - /** 工单代码 */ - moCode: string | undefined; - /** 工单行号 */ - moSeq: string | undefined; - /** 工序Id */ - opId: number; - /** 工序名称 */ - opName: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 委外数量 */ - docQty: number; - /** 状态(新增、审核、关闭、短缺关闭) */ - status: string | undefined; - /** 部门编码 */ - deptCode: string | undefined; - /** 要求交期 */ - requiredDeliveryDate: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 同步erp标记(Y、N) */ - erpFlag: string | undefined; - /** Erp回写单号 */ - erpDocNo: string | undefined; - /** 申请人 */ - appliedUser: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class ListResultDtoOfComboboxItemDtoTOfInt32 implements IListResultDtoOfComboboxItemDtoTOfInt32 { + items: ComboboxItemDtoTOfInt32[] | undefined; - constructor(data?: IIcsOutSourcingOrderListDto) { + constructor(data?: IListResultDtoOfComboboxItemDtoTOfInt32) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -81753,137 +120269,47 @@ export class IcsOutSourcingOrderListDto implements IIcsOutSourcingOrderListDto { init(_data?: any) { if (_data) { - this.docNo = _data["docNo"]; - this.docLineNo = _data["docLineNo"]; - this.docType = _data["docType"]; - this.moId = _data["moId"]; - this.moCode = _data["moCode"]; - this.moSeq = _data["moSeq"]; - this.opId = _data["opId"]; - this.opName = _data["opName"]; - this.opCode = _data["opCode"]; - this.itemCode = _data["itemCode"]; - this.docQty = _data["docQty"]; - this.status = _data["status"]; - this.deptCode = _data["deptCode"]; - this.requiredDeliveryDate = _data["requiredDeliveryDate"]; - this.memo = _data["memo"]; - this.erpFlag = _data["erpFlag"]; - this.erpDocNo = _data["erpDocNo"]; - this.appliedUser = _data["appliedUser"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(ComboboxItemDtoTOfInt32.fromJS(item)); + } } } - static fromJS(data: any): IcsOutSourcingOrderListDto { + static fromJS(data: any): ListResultDtoOfComboboxItemDtoTOfInt32 { data = typeof data === 'object' ? data : {}; - let result = new IcsOutSourcingOrderListDto(); + let result = new ListResultDtoOfComboboxItemDtoTOfInt32(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["docNo"] = this.docNo; - data["docLineNo"] = this.docLineNo; - data["docType"] = this.docType; - data["moId"] = this.moId; - data["moCode"] = this.moCode; - data["moSeq"] = this.moSeq; - data["opId"] = this.opId; - data["opName"] = this.opName; - data["opCode"] = this.opCode; - data["itemCode"] = this.itemCode; - data["docQty"] = this.docQty; - data["status"] = this.status; - data["deptCode"] = this.deptCode; - data["requiredDeliveryDate"] = this.requiredDeliveryDate; - data["memo"] = this.memo; - data["erpFlag"] = this.erpFlag; - data["erpDocNo"] = this.erpDocNo; - data["appliedUser"] = this.appliedUser; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): IcsOutSourcingOrderListDto { + clone(): ListResultDtoOfComboboxItemDtoTOfInt32 { const json = this.toJSON(); - let result = new IcsOutSourcingOrderListDto(); + let result = new ListResultDtoOfComboboxItemDtoTOfInt32(); result.init(json); return result; } } -export interface IIcsOutSourcingOrderListDto { - /** 委外请购单号 */ - docNo: string | undefined; - /** 委外请购单行号 */ - docLineNo: number; - /** 请购单类型 */ - docType: string | undefined; - /** 工单Id */ - moId: number; - /** 工单代码 */ - moCode: string | undefined; - /** 工单行号 */ - moSeq: string | undefined; - /** 工序Id */ - opId: number; - /** 工序名称 */ - opName: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 委外数量 */ - docQty: number; - /** 状态(新增、审核、关闭、短缺关闭) */ - status: string | undefined; - /** 部门编码 */ - deptCode: string | undefined; - /** 要求交期 */ - requiredDeliveryDate: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 同步erp标记(Y、N) */ - erpFlag: string | undefined; - /** Erp回写单号 */ - erpDocNo: string | undefined; - /** 申请人 */ - appliedUser: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export interface IListResultDtoOfComboboxItemDtoTOfInt32 { + items: ComboboxItemDtoTOfInt32[] | undefined; } -export class IcsPartEditDto implements IIcsPartEditDto { - id: number | undefined; - /** 组件代码 */ - partCode: string | undefined; - /** 组件名称 */ - partName: string | undefined; - /** 组件别描述 */ - partDesc: string | undefined; - /** 备注 */ - memo: string | undefined; +export class ListResultDtoOfComboboxItemDtoTOfString implements IListResultDtoOfComboboxItemDtoTOfString { + items: ComboboxItemDtoTOfString[] | undefined; - constructor(data?: IIcsPartEditDto) { + constructor(data?: IListResultDtoOfComboboxItemDtoTOfString) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -81894,69 +120320,47 @@ export class IcsPartEditDto implements IIcsPartEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.partCode = _data["partCode"]; - this.partName = _data["partName"]; - this.partDesc = _data["partDesc"]; - this.memo = _data["memo"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(ComboboxItemDtoTOfString.fromJS(item)); + } } } - static fromJS(data: any): IcsPartEditDto { + static fromJS(data: any): ListResultDtoOfComboboxItemDtoTOfString { data = typeof data === 'object' ? data : {}; - let result = new IcsPartEditDto(); + let result = new ListResultDtoOfComboboxItemDtoTOfString(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["partCode"] = this.partCode; - data["partName"] = this.partName; - data["partDesc"] = this.partDesc; - data["memo"] = this.memo; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): IcsPartEditDto { + clone(): ListResultDtoOfComboboxItemDtoTOfString { const json = this.toJSON(); - let result = new IcsPartEditDto(); + let result = new ListResultDtoOfComboboxItemDtoTOfString(); result.init(json); return result; } } -export interface IIcsPartEditDto { - id: number | undefined; - /** 组件代码 */ - partCode: string | undefined; - /** 组件名称 */ - partName: string | undefined; - /** 组件别描述 */ - partDesc: string | undefined; - /** 备注 */ - memo: string | undefined; +export interface IListResultDtoOfComboboxItemDtoTOfString { + items: ComboboxItemDtoTOfString[] | undefined; } -export class IcsPartListDto implements IIcsPartListDto { - /** 组件代码 */ - partCode: string | undefined; - /** 组件名称 */ - partName: string | undefined; - /** 组件别描述 */ - partDesc: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class ListResultDtoOfEditionListDto implements IListResultDtoOfEditionListDto { + items: EditionListDto[] | undefined; - constructor(data?: IIcsPartListDto) { + constructor(data?: IListResultDtoOfEditionListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -81967,321 +120371,98 @@ export class IcsPartListDto implements IIcsPartListDto { init(_data?: any) { if (_data) { - this.partCode = _data["partCode"]; - this.partName = _data["partName"]; - this.partDesc = _data["partDesc"]; - this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(EditionListDto.fromJS(item)); + } } } - static fromJS(data: any): IcsPartListDto { + static fromJS(data: any): ListResultDtoOfEditionListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsPartListDto(); + let result = new ListResultDtoOfEditionListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["partCode"] = this.partCode; - data["partName"] = this.partName; - data["partDesc"] = this.partDesc; - data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): IcsPartListDto { + clone(): ListResultDtoOfEditionListDto { const json = this.toJSON(); - let result = new IcsPartListDto(); + let result = new ListResultDtoOfEditionListDto(); result.init(json); return result; } } -export interface IIcsPartListDto { - /** 组件代码 */ - partCode: string | undefined; - /** 组件名称 */ - partName: string | undefined; - /** 组件别描述 */ - partDesc: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export interface IListResultDtoOfEditionListDto { + items: EditionListDto[] | undefined; } -export class IcsResEditDto implements IIcsResEditDto { - id: number | undefined; - /** 资源代码 */ - resCode: string | undefined; - /** 资源名称 */ - resName: string | undefined; - /** 资源描述 */ - resDesc: string | undefined; - /** 资源归属 */ - resGroup: string | undefined; - /** 资源类别 */ - resType: string | undefined; - /** 车间ID */ - segID: number | undefined; - /** 产线ID */ - ssid: number | undefined; - /** 加工单元ID */ - mcid: number | undefined; - /** 班制ID */ - shiftTypeID: number | undefined; - /** DCT指令 */ - dctID: number | undefined; - /** 设备 */ - eqpID: number | undefined; - /** 班组ID */ - crewID: number; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 备注 */ - memo: string | undefined; +export class ListResultDtoOfFlatPermissionWithLevelDto implements IListResultDtoOfFlatPermissionWithLevelDto { + items: FlatPermissionWithLevelDto[] | undefined; - constructor(data?: IIcsResEditDto) { + constructor(data?: IListResultDtoOfFlatPermissionWithLevelDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - } - - init(_data?: any) { - if (_data) { - this.id = _data["id"]; - this.resCode = _data["resCode"]; - this.resName = _data["resName"]; - this.resDesc = _data["resDesc"]; - this.resGroup = _data["resGroup"]; - this.resType = _data["resType"]; - this.segID = _data["segID"]; - this.ssid = _data["ssid"]; - this.mcid = _data["mcid"]; - this.shiftTypeID = _data["shiftTypeID"]; - this.dctID = _data["dctID"]; - this.eqpID = _data["eqpID"]; - this.crewID = _data["crewID"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - this.memo = _data["memo"]; + } + + init(_data?: any) { + if (_data) { + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(FlatPermissionWithLevelDto.fromJS(item)); + } } } - static fromJS(data: any): IcsResEditDto { + static fromJS(data: any): ListResultDtoOfFlatPermissionWithLevelDto { data = typeof data === 'object' ? data : {}; - let result = new IcsResEditDto(); + let result = new ListResultDtoOfFlatPermissionWithLevelDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["resCode"] = this.resCode; - data["resName"] = this.resName; - data["resDesc"] = this.resDesc; - data["resGroup"] = this.resGroup; - data["resType"] = this.resType; - data["segID"] = this.segID; - data["ssid"] = this.ssid; - data["mcid"] = this.mcid; - data["shiftTypeID"] = this.shiftTypeID; - data["dctID"] = this.dctID; - data["eqpID"] = this.eqpID; - data["crewID"] = this.crewID; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - data["memo"] = this.memo; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): IcsResEditDto { + clone(): ListResultDtoOfFlatPermissionWithLevelDto { const json = this.toJSON(); - let result = new IcsResEditDto(); + let result = new ListResultDtoOfFlatPermissionWithLevelDto(); result.init(json); return result; } } -export interface IIcsResEditDto { - id: number | undefined; - /** 资源代码 */ - resCode: string | undefined; - /** 资源名称 */ - resName: string | undefined; - /** 资源描述 */ - resDesc: string | undefined; - /** 资源归属 */ - resGroup: string | undefined; - /** 资源类别 */ - resType: string | undefined; - /** 车间ID */ - segID: number | undefined; - /** 产线ID */ - ssid: number | undefined; - /** 加工单元ID */ - mcid: number | undefined; - /** 班制ID */ - shiftTypeID: number | undefined; - /** DCT指令 */ - dctID: number | undefined; - /** 设备 */ - eqpID: number | undefined; - /** 班组ID */ - crewID: number; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 备注 */ - memo: string | undefined; +export interface IListResultDtoOfFlatPermissionWithLevelDto { + items: FlatPermissionWithLevelDto[] | undefined; } -export class IcsResListDto implements IIcsResListDto { - /** 资源代码 */ - resCode: string | undefined; - /** 资源名称 */ - resName: string | undefined; - /** 资源描述 */ - resDesc: string | undefined; - /** 资源归属 */ - resGroup: string | undefined; - /** 资源类别 */ - resType: string | undefined; - resTypeName: string | undefined; - /** 车间ID */ - segID: number | undefined; - segCode: string | undefined; - segName: string | undefined; - /** 产线ID */ - ssid: number | undefined; - ssName: string | undefined; - ssCode: string | undefined; - /** 加工单元ID */ - mcID: number | undefined; - mcName: string | undefined; - mcCode: string | undefined; - /** 班制ID */ - shiftTypeID: number | undefined; - shiftTypeName: string | undefined; - /** DCT指令 */ - dctID: number | undefined; - dctName: string | undefined; - dctCode: string | undefined; - /** 班组ID */ - crewID: number; - crewName: string | undefined; - crewCode: string | undefined; - /** 设备 */ - eqpID: number | undefined; - /** 设备 */ - eqpName: string | undefined; - eqpCode: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class ListResultDtoOfHostCacheDto implements IListResultDtoOfHostCacheDto { + items: HostCacheDto[] | undefined; - constructor(data?: IIcsResListDto) { + constructor(data?: IListResultDtoOfHostCacheDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -82292,240 +120473,47 @@ export class IcsResListDto implements IIcsResListDto { init(_data?: any) { if (_data) { - this.resCode = _data["resCode"]; - this.resName = _data["resName"]; - this.resDesc = _data["resDesc"]; - this.resGroup = _data["resGroup"]; - this.resType = _data["resType"]; - this.resTypeName = _data["resTypeName"]; - this.segID = _data["segID"]; - this.segCode = _data["segCode"]; - this.segName = _data["segName"]; - this.ssid = _data["ssid"]; - this.ssName = _data["ssName"]; - this.ssCode = _data["ssCode"]; - this.mcID = _data["mcID"]; - this.mcName = _data["mcName"]; - this.mcCode = _data["mcCode"]; - this.shiftTypeID = _data["shiftTypeID"]; - this.shiftTypeName = _data["shiftTypeName"]; - this.dctID = _data["dctID"]; - this.dctName = _data["dctName"]; - this.dctCode = _data["dctCode"]; - this.crewID = _data["crewID"]; - this.crewName = _data["crewName"]; - this.crewCode = _data["crewCode"]; - this.eqpID = _data["eqpID"]; - this.eqpName = _data["eqpName"]; - this.eqpCode = _data["eqpCode"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(HostCacheDto.fromJS(item)); + } } } - static fromJS(data: any): IcsResListDto { + static fromJS(data: any): ListResultDtoOfHostCacheDto { data = typeof data === 'object' ? data : {}; - let result = new IcsResListDto(); + let result = new ListResultDtoOfHostCacheDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["resCode"] = this.resCode; - data["resName"] = this.resName; - data["resDesc"] = this.resDesc; - data["resGroup"] = this.resGroup; - data["resType"] = this.resType; - data["resTypeName"] = this.resTypeName; - data["segID"] = this.segID; - data["segCode"] = this.segCode; - data["segName"] = this.segName; - data["ssid"] = this.ssid; - data["ssName"] = this.ssName; - data["ssCode"] = this.ssCode; - data["mcID"] = this.mcID; - data["mcName"] = this.mcName; - data["mcCode"] = this.mcCode; - data["shiftTypeID"] = this.shiftTypeID; - data["shiftTypeName"] = this.shiftTypeName; - data["dctID"] = this.dctID; - data["dctName"] = this.dctName; - data["dctCode"] = this.dctCode; - data["crewID"] = this.crewID; - data["crewName"] = this.crewName; - data["crewCode"] = this.crewCode; - data["eqpID"] = this.eqpID; - data["eqpName"] = this.eqpName; - data["eqpCode"] = this.eqpCode; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): IcsResListDto { + clone(): ListResultDtoOfHostCacheDto { const json = this.toJSON(); - let result = new IcsResListDto(); + let result = new ListResultDtoOfHostCacheDto(); result.init(json); return result; } } -export interface IIcsResListDto { - /** 资源代码 */ - resCode: string | undefined; - /** 资源名称 */ - resName: string | undefined; - /** 资源描述 */ - resDesc: string | undefined; - /** 资源归属 */ - resGroup: string | undefined; - /** 资源类别 */ - resType: string | undefined; - resTypeName: string | undefined; - /** 车间ID */ - segID: number | undefined; - segCode: string | undefined; - segName: string | undefined; - /** 产线ID */ - ssid: number | undefined; - ssName: string | undefined; - ssCode: string | undefined; - /** 加工单元ID */ - mcID: number | undefined; - mcName: string | undefined; - mcCode: string | undefined; - /** 班制ID */ - shiftTypeID: number | undefined; - shiftTypeName: string | undefined; - /** DCT指令 */ - dctID: number | undefined; - dctName: string | undefined; - dctCode: string | undefined; - /** 班组ID */ - crewID: number; - crewName: string | undefined; - crewCode: string | undefined; - /** 设备 */ - eqpID: number | undefined; - /** 设备 */ - eqpName: string | undefined; - eqpCode: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export interface IListResultDtoOfHostCacheDto { + items: HostCacheDto[] | undefined; } -export class IcsRoute2OpDto implements IIcsRoute2OpDto { - id: number | undefined; - /** MoId */ - routeId: number; - /** GUID */ - opId: number; - /** 工艺路径代码 */ - routeCode: string; - /** 工艺路径代码 */ - opName: string | undefined; - /** 工序代码 */ - opCode: string; - /** 工序在工艺路径的次序 */ - opSeq: number; - /** 是否上料 */ - isMaterial: string; - /** 工序控制序号(实际加工序号,并行工序设置序号一样) */ - opControlSeq: number; - /** 是否合并 */ - isMerge: string; - /** 工序等级(A,B,C,D,E) */ - opLevel: string; - /** 备注 */ - memo: string | undefined; - /** 租户ID */ - tenantId: string; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 工序类型记录 */ - opControl: string | undefined; - /** 工序类型记录 */ - opControlList: string[] | undefined; +export class ListResultDtoOfLinkedUserDto implements IListResultDtoOfLinkedUserDto { + items: LinkedUserDto[] | undefined; - constructor(data?: IIcsRoute2OpDto) { + constructor(data?: IListResultDtoOfLinkedUserDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -82536,168 +120524,47 @@ export class IcsRoute2OpDto implements IIcsRoute2OpDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.routeId = _data["routeId"]; - this.opId = _data["opId"]; - this.routeCode = _data["routeCode"]; - this.opName = _data["opName"]; - this.opCode = _data["opCode"]; - this.opSeq = _data["opSeq"]; - this.isMaterial = _data["isMaterial"]; - this.opControlSeq = _data["opControlSeq"]; - this.isMerge = _data["isMerge"]; - this.opLevel = _data["opLevel"]; - this.memo = _data["memo"]; - this.tenantId = _data["tenantId"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - this.opControl = _data["opControl"]; - if (Array.isArray(_data["opControlList"])) { - this.opControlList = [] as any; - for (let item of _data["opControlList"]) - this.opControlList.push(item); + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(LinkedUserDto.fromJS(item)); } } } - static fromJS(data: any): IcsRoute2OpDto { + static fromJS(data: any): ListResultDtoOfLinkedUserDto { data = typeof data === 'object' ? data : {}; - let result = new IcsRoute2OpDto(); + let result = new ListResultDtoOfLinkedUserDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["routeId"] = this.routeId; - data["opId"] = this.opId; - data["routeCode"] = this.routeCode; - data["opName"] = this.opName; - data["opCode"] = this.opCode; - data["opSeq"] = this.opSeq; - data["isMaterial"] = this.isMaterial; - data["opControlSeq"] = this.opControlSeq; - data["isMerge"] = this.isMerge; - data["opLevel"] = this.opLevel; - data["memo"] = this.memo; - data["tenantId"] = this.tenantId; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - data["opControl"] = this.opControl; - if (Array.isArray(this.opControlList)) { - data["opControlList"] = []; - for (let item of this.opControlList) - data["opControlList"].push(item); + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } return data; } - clone(): IcsRoute2OpDto { + clone(): ListResultDtoOfLinkedUserDto { const json = this.toJSON(); - let result = new IcsRoute2OpDto(); + let result = new ListResultDtoOfLinkedUserDto(); result.init(json); return result; } } -export interface IIcsRoute2OpDto { - id: number | undefined; - /** MoId */ - routeId: number; - /** GUID */ - opId: number; - /** 工艺路径代码 */ - routeCode: string; - /** 工艺路径代码 */ - opName: string | undefined; - /** 工序代码 */ - opCode: string; - /** 工序在工艺路径的次序 */ - opSeq: number; - /** 是否上料 */ - isMaterial: string; - /** 工序控制序号(实际加工序号,并行工序设置序号一样) */ - opControlSeq: number; - /** 是否合并 */ - isMerge: string; - /** 工序等级(A,B,C,D,E) */ - opLevel: string; - /** 备注 */ - memo: string | undefined; - /** 租户ID */ - tenantId: string; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 工序类型记录 */ - opControl: string | undefined; - /** 工序类型记录 */ - opControlList: string[] | undefined; +export interface IListResultDtoOfLinkedUserDto { + items: LinkedUserDto[] | undefined; } -export class IcsRouteEditDto implements IIcsRouteEditDto { - id: number | undefined; - /** 工艺路径代码 */ - routeCode: string | undefined; - /** 工艺路径名称 */ - routeName: string | undefined; - /** 工艺路径描述 */ - routeDesc: string | undefined; - /** 绑定工序Id集合 */ - opList: IcsOPListDto[] | undefined; - /** 工艺路径类别 -RouteType Rework, Scrap, Normal, Refllow */ - routeType: string | undefined; - /** 生效日期 */ - effDate: moment.Moment; - /** 失效日期 */ - ivlDate: moment.Moment; - /** 生效/失效 */ - enabled: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 审核人 */ - checkUserId: string | undefined; - /** 审核人名称 */ - checkUserName: string | undefined; - /** 审核时间 */ - checkTime: moment.Moment | undefined; +export class ListResultDtoOfNameValueDto implements IListResultDtoOfNameValueDto { + items: NameValueDto[] | undefined; - constructor(data?: IIcsRouteEditDto) { + constructor(data?: IListResultDtoOfNameValueDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -82708,101 +120575,47 @@ RouteType Rework, Scrap, Normal, Refllow */ init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.routeCode = _data["routeCode"]; - this.routeName = _data["routeName"]; - this.routeDesc = _data["routeDesc"]; - if (Array.isArray(_data["opList"])) { - this.opList = [] as any; - for (let item of _data["opList"]) - this.opList.push(IcsOPListDto.fromJS(item)); + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(NameValueDto.fromJS(item)); } - this.routeType = _data["routeType"]; - this.effDate = _data["effDate"] ? moment(_data["effDate"].toString()) : undefined; - this.ivlDate = _data["ivlDate"] ? moment(_data["ivlDate"].toString()) : undefined; - this.enabled = _data["enabled"]; - this.memo = _data["memo"]; - this.checkUserId = _data["checkUserId"]; - this.checkUserName = _data["checkUserName"]; - this.checkTime = _data["checkTime"] ? moment(_data["checkTime"].toString()) : undefined; } } - static fromJS(data: any): IcsRouteEditDto { + static fromJS(data: any): ListResultDtoOfNameValueDto { data = typeof data === 'object' ? data : {}; - let result = new IcsRouteEditDto(); + let result = new ListResultDtoOfNameValueDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["routeCode"] = this.routeCode; - data["routeName"] = this.routeName; - data["routeDesc"] = this.routeDesc; - if (Array.isArray(this.opList)) { - data["opList"] = []; - for (let item of this.opList) - data["opList"].push(item.toJSON()); + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } - data["routeType"] = this.routeType; - data["effDate"] = this.effDate ? this.effDate.toISOString() : undefined; - data["ivlDate"] = this.ivlDate ? this.ivlDate.toISOString() : undefined; - data["enabled"] = this.enabled; - data["memo"] = this.memo; - data["checkUserId"] = this.checkUserId; - data["checkUserName"] = this.checkUserName; - data["checkTime"] = this.checkTime ? this.checkTime.toISOString() : undefined; return data; } - clone(): IcsRouteEditDto { + clone(): ListResultDtoOfNameValueDto { const json = this.toJSON(); - let result = new IcsRouteEditDto(); + let result = new ListResultDtoOfNameValueDto(); result.init(json); return result; } } -export interface IIcsRouteEditDto { - id: number | undefined; - /** 工艺路径代码 */ - routeCode: string | undefined; - /** 工艺路径名称 */ - routeName: string | undefined; - /** 工艺路径描述 */ - routeDesc: string | undefined; - /** 绑定工序Id集合 */ - opList: IcsOPListDto[] | undefined; - /** 工艺路径类别 -RouteType Rework, Scrap, Normal, Refllow */ - routeType: string | undefined; - /** 生效日期 */ - effDate: moment.Moment; - /** 失效日期 */ - ivlDate: moment.Moment; - /** 生效/失效 */ - enabled: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 审核人 */ - checkUserId: string | undefined; - /** 审核人名称 */ - checkUserName: string | undefined; - /** 审核时间 */ - checkTime: moment.Moment | undefined; +export interface IListResultDtoOfNameValueDto { + items: NameValueDto[] | undefined; } -export class IcsRouteImportDto implements IIcsRouteImportDto { - /** 途程代码 */ - routeCode: string; - /** 途程名称 */ - routeName: string; - /** 途程描述 */ - routeDesc: string | undefined; +export class ListResultDtoOfOrganizationUnitListDto implements IListResultDtoOfOrganizationUnitListDto { + items: OrganizationUnitListDto[] | undefined; - constructor(data?: IIcsRouteImportDto) { + constructor(data?: IListResultDtoOfOrganizationUnitListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -82813,81 +120626,47 @@ export class IcsRouteImportDto implements IIcsRouteImportDto { init(_data?: any) { if (_data) { - this.routeCode = _data["routeCode"]; - this.routeName = _data["routeName"]; - this.routeDesc = _data["routeDesc"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(OrganizationUnitListDto.fromJS(item)); + } } } - static fromJS(data: any): IcsRouteImportDto { + static fromJS(data: any): ListResultDtoOfOrganizationUnitListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsRouteImportDto(); + let result = new ListResultDtoOfOrganizationUnitListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["routeCode"] = this.routeCode; - data["routeName"] = this.routeName; - data["routeDesc"] = this.routeDesc; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): IcsRouteImportDto { + clone(): ListResultDtoOfOrganizationUnitListDto { const json = this.toJSON(); - let result = new IcsRouteImportDto(); + let result = new ListResultDtoOfOrganizationUnitListDto(); result.init(json); return result; } } -export interface IIcsRouteImportDto { - /** 途程代码 */ - routeCode: string; - /** 途程名称 */ - routeName: string; - /** 途程描述 */ - routeDesc: string | undefined; +export interface IListResultDtoOfOrganizationUnitListDto { + items: OrganizationUnitListDto[] | undefined; } -export class IcsRouteListDto implements IIcsRouteListDto { - /** 途程代码 */ - routeCode: string | undefined; - /** 途程名称 */ - routeName: string | undefined; - /** 途程描述 */ - routeDesc: string | undefined; - /** 途程类别 -RouteType Rework, Scrap, Normal, Refllow */ - routeType: string; - /** 生效日期 */ - effDate: moment.Moment; - /** 失效日期 */ - ivlDate: moment.Moment; - /** 生效/失效 */ - enabled: string | undefined; - /** 绑定工序 */ - opNameList: string | undefined; - /** 绑定工序id集合 */ - opIds: number[] | undefined; - /** 备注 */ - memo: string | undefined; - /** 审核人 */ - checkUserId: string | undefined; - /** 审核人名称 */ - checkUserName: string | undefined; - /** 审核时间 */ - checkTime: moment.Moment | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class ListResultDtoOfPageFilterItemDto implements IListResultDtoOfPageFilterItemDto { + items: PageFilterItemDto[] | undefined; - constructor(data?: IIcsRouteListDto) { + constructor(data?: IListResultDtoOfPageFilterItemDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -82898,198 +120677,47 @@ RouteType Rework, Scrap, Normal, Refllow */ init(_data?: any) { if (_data) { - this.routeCode = _data["routeCode"]; - this.routeName = _data["routeName"]; - this.routeDesc = _data["routeDesc"]; - this.routeType = _data["routeType"]; - this.effDate = _data["effDate"] ? moment(_data["effDate"].toString()) : undefined; - this.ivlDate = _data["ivlDate"] ? moment(_data["ivlDate"].toString()) : undefined; - this.enabled = _data["enabled"]; - this.opNameList = _data["opNameList"]; - if (Array.isArray(_data["opIds"])) { - this.opIds = [] as any; - for (let item of _data["opIds"]) - this.opIds.push(item); + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(PageFilterItemDto.fromJS(item)); } - this.memo = _data["memo"]; - this.checkUserId = _data["checkUserId"]; - this.checkUserName = _data["checkUserName"]; - this.checkTime = _data["checkTime"] ? moment(_data["checkTime"].toString()) : undefined; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; } } - static fromJS(data: any): IcsRouteListDto { + static fromJS(data: any): ListResultDtoOfPageFilterItemDto { data = typeof data === 'object' ? data : {}; - let result = new IcsRouteListDto(); + let result = new ListResultDtoOfPageFilterItemDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["routeCode"] = this.routeCode; - data["routeName"] = this.routeName; - data["routeDesc"] = this.routeDesc; - data["routeType"] = this.routeType; - data["effDate"] = this.effDate ? this.effDate.toISOString() : undefined; - data["ivlDate"] = this.ivlDate ? this.ivlDate.toISOString() : undefined; - data["enabled"] = this.enabled; - data["opNameList"] = this.opNameList; - if (Array.isArray(this.opIds)) { - data["opIds"] = []; - for (let item of this.opIds) - data["opIds"].push(item); + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } - data["memo"] = this.memo; - data["checkUserId"] = this.checkUserId; - data["checkUserName"] = this.checkUserName; - data["checkTime"] = this.checkTime ? this.checkTime.toISOString() : undefined; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; return data; } - clone(): IcsRouteListDto { + clone(): ListResultDtoOfPageFilterItemDto { const json = this.toJSON(); - let result = new IcsRouteListDto(); + let result = new ListResultDtoOfPageFilterItemDto(); result.init(json); return result; } } -export interface IIcsRouteListDto { - /** 途程代码 */ - routeCode: string | undefined; - /** 途程名称 */ - routeName: string | undefined; - /** 途程描述 */ - routeDesc: string | undefined; - /** 途程类别 -RouteType Rework, Scrap, Normal, Refllow */ - routeType: string; - /** 生效日期 */ - effDate: moment.Moment; - /** 失效日期 */ - ivlDate: moment.Moment; - /** 生效/失效 */ - enabled: string | undefined; - /** 绑定工序 */ - opNameList: string | undefined; - /** 绑定工序id集合 */ - opIds: number[] | undefined; - /** 备注 */ - memo: string | undefined; - /** 审核人 */ - checkUserId: string | undefined; - /** 审核人名称 */ - checkUserName: string | undefined; - /** 审核时间 */ - checkTime: moment.Moment | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export interface IListResultDtoOfPageFilterItemDto { + items: PageFilterItemDto[] | undefined; } -export class IcsSBomEditDto implements IIcsSBomEditDto { - id: number | undefined; - /** 产品ID */ - itemID: number; - /** 子阶料ID */ - sbItemID: number; - /** 首选料物料ID */ - sbsItemID: number; - /** 产品代码 */ - itemCode: string | undefined; - /** 子阶料物料代码 */ - sbItemCode: string | undefined; - /** 首选料物料代码 */ - sbsItemCode: string | undefined; - /** 单机用量 */ - sbItemQty: number; - /** 所在仓库 */ - sbwh: string | undefined; - /** 次序 */ - seq: number | undefined; - /** 子阶料工程变更号 */ - sbItemECN: string | undefined; - /** 子阶料物料名称 */ - sbItemName: string | undefined; - /** 子阶料物料描述 */ - sbItemDesc: string | undefined; - /** 料号状态 */ - sbItemStatus: string | undefined; - /** 位号 */ - sbItemLocation: string | undefined; - /** 生效时间 */ - sbItemEfftime: moment.Moment; - /** 失效时间 */ - sbItemInvtime: moment.Moment; - /** 计量单位 */ - sbItemUom: string | undefined; - /** 子阶料物料版本 */ - sbItemVer: string | undefined; - /** 子阶料管控类型 */ - sbItemContype: string | undefined; - /** 父阶料物料代码 */ - sbpItemCode: string | undefined; - /** 保留 */ - alpgr: string | undefined; - /** 标准BOM版本 */ - sBomVer: string | undefined; - /** 产品描述 */ - itemDesc: string | undefined; - /** 工厂 */ - sbFactory: string | undefined; - /** 标准BOM用途 */ - sbUseage: string | undefined; - /** 项目 */ - sbItemProject: string | undefined; - /** 子阶料次序 */ - sbItemSeq: number; - /** 位号 */ - location: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 明细行 */ - detailList: IcsSBomListDto[] | undefined; +export class ListResultDtoOfRoleListDto implements IListResultDtoOfRoleListDto { + items: RoleListDto[] | undefined; - constructor(data?: IIcsSBomEditDto) { + constructor(data?: IListResultDtoOfRoleListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -83100,304 +120728,47 @@ export class IcsSBomEditDto implements IIcsSBomEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.itemID = _data["itemID"]; - this.sbItemID = _data["sbItemID"]; - this.sbsItemID = _data["sbsItemID"]; - this.itemCode = _data["itemCode"]; - this.sbItemCode = _data["sbItemCode"]; - this.sbsItemCode = _data["sbsItemCode"]; - this.sbItemQty = _data["sbItemQty"]; - this.sbwh = _data["sbwh"]; - this.seq = _data["seq"]; - this.sbItemECN = _data["sbItemECN"]; - this.sbItemName = _data["sbItemName"]; - this.sbItemDesc = _data["sbItemDesc"]; - this.sbItemStatus = _data["sbItemStatus"]; - this.sbItemLocation = _data["sbItemLocation"]; - this.sbItemEfftime = _data["sbItemEfftime"] ? moment(_data["sbItemEfftime"].toString()) : undefined; - this.sbItemInvtime = _data["sbItemInvtime"] ? moment(_data["sbItemInvtime"].toString()) : undefined; - this.sbItemUom = _data["sbItemUom"]; - this.sbItemVer = _data["sbItemVer"]; - this.sbItemContype = _data["sbItemContype"]; - this.sbpItemCode = _data["sbpItemCode"]; - this.alpgr = _data["alpgr"]; - this.sBomVer = _data["sBomVer"]; - this.itemDesc = _data["itemDesc"]; - this.sbFactory = _data["sbFactory"]; - this.sbUseage = _data["sbUseage"]; - this.sbItemProject = _data["sbItemProject"]; - this.sbItemSeq = _data["sbItemSeq"]; - this.location = _data["location"]; - this.memo = _data["memo"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - if (Array.isArray(_data["detailList"])) { - this.detailList = [] as any; - for (let item of _data["detailList"]) - this.detailList.push(IcsSBomListDto.fromJS(item)); + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(RoleListDto.fromJS(item)); } } } - static fromJS(data: any): IcsSBomEditDto { + static fromJS(data: any): ListResultDtoOfRoleListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsSBomEditDto(); + let result = new ListResultDtoOfRoleListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["itemID"] = this.itemID; - data["sbItemID"] = this.sbItemID; - data["sbsItemID"] = this.sbsItemID; - data["itemCode"] = this.itemCode; - data["sbItemCode"] = this.sbItemCode; - data["sbsItemCode"] = this.sbsItemCode; - data["sbItemQty"] = this.sbItemQty; - data["sbwh"] = this.sbwh; - data["seq"] = this.seq; - data["sbItemECN"] = this.sbItemECN; - data["sbItemName"] = this.sbItemName; - data["sbItemDesc"] = this.sbItemDesc; - data["sbItemStatus"] = this.sbItemStatus; - data["sbItemLocation"] = this.sbItemLocation; - data["sbItemEfftime"] = this.sbItemEfftime ? this.sbItemEfftime.toISOString() : undefined; - data["sbItemInvtime"] = this.sbItemInvtime ? this.sbItemInvtime.toISOString() : undefined; - data["sbItemUom"] = this.sbItemUom; - data["sbItemVer"] = this.sbItemVer; - data["sbItemContype"] = this.sbItemContype; - data["sbpItemCode"] = this.sbpItemCode; - data["alpgr"] = this.alpgr; - data["sBomVer"] = this.sBomVer; - data["itemDesc"] = this.itemDesc; - data["sbFactory"] = this.sbFactory; - data["sbUseage"] = this.sbUseage; - data["sbItemProject"] = this.sbItemProject; - data["sbItemSeq"] = this.sbItemSeq; - data["location"] = this.location; - data["memo"] = this.memo; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - if (Array.isArray(this.detailList)) { - data["detailList"] = []; - for (let item of this.detailList) - data["detailList"].push(item.toJSON()); + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } return data; } - clone(): IcsSBomEditDto { + clone(): ListResultDtoOfRoleListDto { const json = this.toJSON(); - let result = new IcsSBomEditDto(); + let result = new ListResultDtoOfRoleListDto(); result.init(json); return result; } } -export interface IIcsSBomEditDto { - id: number | undefined; - /** 产品ID */ - itemID: number; - /** 子阶料ID */ - sbItemID: number; - /** 首选料物料ID */ - sbsItemID: number; - /** 产品代码 */ - itemCode: string | undefined; - /** 子阶料物料代码 */ - sbItemCode: string | undefined; - /** 首选料物料代码 */ - sbsItemCode: string | undefined; - /** 单机用量 */ - sbItemQty: number; - /** 所在仓库 */ - sbwh: string | undefined; - /** 次序 */ - seq: number | undefined; - /** 子阶料工程变更号 */ - sbItemECN: string | undefined; - /** 子阶料物料名称 */ - sbItemName: string | undefined; - /** 子阶料物料描述 */ - sbItemDesc: string | undefined; - /** 料号状态 */ - sbItemStatus: string | undefined; - /** 位号 */ - sbItemLocation: string | undefined; - /** 生效时间 */ - sbItemEfftime: moment.Moment; - /** 失效时间 */ - sbItemInvtime: moment.Moment; - /** 计量单位 */ - sbItemUom: string | undefined; - /** 子阶料物料版本 */ - sbItemVer: string | undefined; - /** 子阶料管控类型 */ - sbItemContype: string | undefined; - /** 父阶料物料代码 */ - sbpItemCode: string | undefined; - /** 保留 */ - alpgr: string | undefined; - /** 标准BOM版本 */ - sBomVer: string | undefined; - /** 产品描述 */ - itemDesc: string | undefined; - /** 工厂 */ - sbFactory: string | undefined; - /** 标准BOM用途 */ - sbUseage: string | undefined; - /** 项目 */ - sbItemProject: string | undefined; - /** 子阶料次序 */ - sbItemSeq: number; - /** 位号 */ - location: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 明细行 */ - detailList: IcsSBomListDto[] | undefined; +export interface IListResultDtoOfRoleListDto { + items: RoleListDto[] | undefined; } -export class IcsSBomListDto implements IIcsSBomListDto { - key: string | undefined; - /** 产品ID */ - itemID: number; - /** 子阶料ID */ - sbItemID: number; - /** 首选料物料ID */ - sbsItemID: number; - /** 产品代码 */ - itemCode: string | undefined; - itemName: string | undefined; - itemStd: string | undefined; - itemUnit1: string | undefined; - itemUnit2: string | undefined; - itemUnit3: string | undefined; - itemType: string | undefined; - itemModel: string | undefined; - itemUom: string | undefined; - /** 子阶料物料代码 */ - sbItemCode: string | undefined; - /** 首选料物料代码 */ - sbsItemCode: string | undefined; - sbsItemName: string | undefined; - /** 单机用量 */ - sbItemQty: number; - /** 所在仓库 */ - sbwh: string | undefined; - /** 次序 */ - seq: number | undefined; - /** 子阶料工程变更号 */ - sbItemECN: string | undefined; - /** 子阶料物料名称 */ - sbItemName: string | undefined; - /** 子阶料物料描述 */ - sbItemDesc: string | undefined; - /** 料号状态 */ - sbItemStatus: string | undefined; - sbItemStatusText: string | undefined; - /** 位号 */ - sbItemLocation: string | undefined; - /** 生效时间 */ - sbItemEfftime: moment.Moment; - /** 失效时间 */ - sbItemInvtime: moment.Moment; - /** 计量单位 */ - sbItemUom: string | undefined; - /** 子阶料物料版本 */ - sbItemVer: string | undefined; - /** 子阶料管控类型 */ - sbItemContype: string | undefined; - sbItemContypeText: string | undefined; - /** 父阶料物料代码 */ - sbpItemCode: string | undefined; - /** 保留 */ - alpgr: string | undefined; - /** 标准BOM版本 */ - sBomVer: string | undefined; - /** 产品描述 */ - itemDesc: string | undefined; - /** 工厂 */ - sbFactory: string | undefined; - /** 标准BOM用途 */ - sbUseage: string | undefined; - /** 项目 */ - sbItemProject: string | undefined; - /** 子阶料次序 */ - sbItemSeq: number; - /** 位号 */ - location: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - detailList: IcsSBomListDto[] | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class ListResultDtoOfSubscribableEditionComboboxItemDto implements IListResultDtoOfSubscribableEditionComboboxItemDto { + items: SubscribableEditionComboboxItemDto[] | undefined; - constructor(data?: IIcsSBomListDto) { + constructor(data?: IListResultDtoOfSubscribableEditionComboboxItemDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -83408,294 +120779,47 @@ export class IcsSBomListDto implements IIcsSBomListDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.itemID = _data["itemID"]; - this.sbItemID = _data["sbItemID"]; - this.sbsItemID = _data["sbsItemID"]; - this.itemCode = _data["itemCode"]; - this.itemName = _data["itemName"]; - this.itemStd = _data["itemStd"]; - this.itemUnit1 = _data["itemUnit1"]; - this.itemUnit2 = _data["itemUnit2"]; - this.itemUnit3 = _data["itemUnit3"]; - this.itemType = _data["itemType"]; - this.itemModel = _data["itemModel"]; - this.itemUom = _data["itemUom"]; - this.sbItemCode = _data["sbItemCode"]; - this.sbsItemCode = _data["sbsItemCode"]; - this.sbsItemName = _data["sbsItemName"]; - this.sbItemQty = _data["sbItemQty"]; - this.sbwh = _data["sbwh"]; - this.seq = _data["seq"]; - this.sbItemECN = _data["sbItemECN"]; - this.sbItemName = _data["sbItemName"]; - this.sbItemDesc = _data["sbItemDesc"]; - this.sbItemStatus = _data["sbItemStatus"]; - this.sbItemStatusText = _data["sbItemStatusText"]; - this.sbItemLocation = _data["sbItemLocation"]; - this.sbItemEfftime = _data["sbItemEfftime"] ? moment(_data["sbItemEfftime"].toString()) : undefined; - this.sbItemInvtime = _data["sbItemInvtime"] ? moment(_data["sbItemInvtime"].toString()) : undefined; - this.sbItemUom = _data["sbItemUom"]; - this.sbItemVer = _data["sbItemVer"]; - this.sbItemContype = _data["sbItemContype"]; - this.sbItemContypeText = _data["sbItemContypeText"]; - this.sbpItemCode = _data["sbpItemCode"]; - this.alpgr = _data["alpgr"]; - this.sBomVer = _data["sBomVer"]; - this.itemDesc = _data["itemDesc"]; - this.sbFactory = _data["sbFactory"]; - this.sbUseage = _data["sbUseage"]; - this.sbItemProject = _data["sbItemProject"]; - this.sbItemSeq = _data["sbItemSeq"]; - this.location = _data["location"]; - this.memo = _data["memo"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - if (Array.isArray(_data["detailList"])) { - this.detailList = [] as any; - for (let item of _data["detailList"]) - this.detailList.push(IcsSBomListDto.fromJS(item)); + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(SubscribableEditionComboboxItemDto.fromJS(item)); } - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; } } - static fromJS(data: any): IcsSBomListDto { - data = typeof data === 'object' ? data : {}; - let result = new IcsSBomListDto(); - result.init(data); - return result; - } - - toJSON(data?: any) { + static fromJS(data: any): ListResultDtoOfSubscribableEditionComboboxItemDto { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["itemID"] = this.itemID; - data["sbItemID"] = this.sbItemID; - data["sbsItemID"] = this.sbsItemID; - data["itemCode"] = this.itemCode; - data["itemName"] = this.itemName; - data["itemStd"] = this.itemStd; - data["itemUnit1"] = this.itemUnit1; - data["itemUnit2"] = this.itemUnit2; - data["itemUnit3"] = this.itemUnit3; - data["itemType"] = this.itemType; - data["itemModel"] = this.itemModel; - data["itemUom"] = this.itemUom; - data["sbItemCode"] = this.sbItemCode; - data["sbsItemCode"] = this.sbsItemCode; - data["sbsItemName"] = this.sbsItemName; - data["sbItemQty"] = this.sbItemQty; - data["sbwh"] = this.sbwh; - data["seq"] = this.seq; - data["sbItemECN"] = this.sbItemECN; - data["sbItemName"] = this.sbItemName; - data["sbItemDesc"] = this.sbItemDesc; - data["sbItemStatus"] = this.sbItemStatus; - data["sbItemStatusText"] = this.sbItemStatusText; - data["sbItemLocation"] = this.sbItemLocation; - data["sbItemEfftime"] = this.sbItemEfftime ? this.sbItemEfftime.toISOString() : undefined; - data["sbItemInvtime"] = this.sbItemInvtime ? this.sbItemInvtime.toISOString() : undefined; - data["sbItemUom"] = this.sbItemUom; - data["sbItemVer"] = this.sbItemVer; - data["sbItemContype"] = this.sbItemContype; - data["sbItemContypeText"] = this.sbItemContypeText; - data["sbpItemCode"] = this.sbpItemCode; - data["alpgr"] = this.alpgr; - data["sBomVer"] = this.sBomVer; - data["itemDesc"] = this.itemDesc; - data["sbFactory"] = this.sbFactory; - data["sbUseage"] = this.sbUseage; - data["sbItemProject"] = this.sbItemProject; - data["sbItemSeq"] = this.sbItemSeq; - data["location"] = this.location; - data["memo"] = this.memo; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - if (Array.isArray(this.detailList)) { - data["detailList"] = []; - for (let item of this.detailList) - data["detailList"].push(item.toJSON()); + let result = new ListResultDtoOfSubscribableEditionComboboxItemDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; return data; } - clone(): IcsSBomListDto { + clone(): ListResultDtoOfSubscribableEditionComboboxItemDto { const json = this.toJSON(); - let result = new IcsSBomListDto(); + let result = new ListResultDtoOfSubscribableEditionComboboxItemDto(); result.init(json); return result; } } -export interface IIcsSBomListDto { - key: string | undefined; - /** 产品ID */ - itemID: number; - /** 子阶料ID */ - sbItemID: number; - /** 首选料物料ID */ - sbsItemID: number; - /** 产品代码 */ - itemCode: string | undefined; - itemName: string | undefined; - itemStd: string | undefined; - itemUnit1: string | undefined; - itemUnit2: string | undefined; - itemUnit3: string | undefined; - itemType: string | undefined; - itemModel: string | undefined; - itemUom: string | undefined; - /** 子阶料物料代码 */ - sbItemCode: string | undefined; - /** 首选料物料代码 */ - sbsItemCode: string | undefined; - sbsItemName: string | undefined; - /** 单机用量 */ - sbItemQty: number; - /** 所在仓库 */ - sbwh: string | undefined; - /** 次序 */ - seq: number | undefined; - /** 子阶料工程变更号 */ - sbItemECN: string | undefined; - /** 子阶料物料名称 */ - sbItemName: string | undefined; - /** 子阶料物料描述 */ - sbItemDesc: string | undefined; - /** 料号状态 */ - sbItemStatus: string | undefined; - sbItemStatusText: string | undefined; - /** 位号 */ - sbItemLocation: string | undefined; - /** 生效时间 */ - sbItemEfftime: moment.Moment; - /** 失效时间 */ - sbItemInvtime: moment.Moment; - /** 计量单位 */ - sbItemUom: string | undefined; - /** 子阶料物料版本 */ - sbItemVer: string | undefined; - /** 子阶料管控类型 */ - sbItemContype: string | undefined; - sbItemContypeText: string | undefined; - /** 父阶料物料代码 */ - sbpItemCode: string | undefined; - /** 保留 */ - alpgr: string | undefined; - /** 标准BOM版本 */ - sBomVer: string | undefined; - /** 产品描述 */ - itemDesc: string | undefined; - /** 工厂 */ - sbFactory: string | undefined; - /** 标准BOM用途 */ - sbUseage: string | undefined; - /** 项目 */ - sbItemProject: string | undefined; - /** 子阶料次序 */ - sbItemSeq: number; - /** 位号 */ - location: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - detailList: IcsSBomListDto[] | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export interface IListResultDtoOfSubscribableEditionComboboxItemDto { + items: SubscribableEditionComboboxItemDto[] | undefined; } -export class IcsSSEditDto implements IIcsSSEditDto { - id: number | undefined; - /** 产线代码 */ - ssCode: string | undefined; - /** 产线名称 */ - ssName: string | undefined; - /** 产线描述 */ - ssDesc: string | undefined; - /** 车间ID */ - segID: number; - /** 产线类型 */ - ssType: string | undefined; - /** 班制ID */ - shiftTypeID: number; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 备注 */ - memo: string | undefined; +export class ListResultDtoOfTreePermissionDto implements IListResultDtoOfTreePermissionDto { + items: TreePermissionDto[] | undefined; - constructor(data?: IIcsSSEditDto) { + constructor(data?: IListResultDtoOfTreePermissionDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -83706,149 +120830,47 @@ export class IcsSSEditDto implements IIcsSSEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.ssCode = _data["ssCode"]; - this.ssName = _data["ssName"]; - this.ssDesc = _data["ssDesc"]; - this.segID = _data["segID"]; - this.ssType = _data["ssType"]; - this.shiftTypeID = _data["shiftTypeID"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - this.memo = _data["memo"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(TreePermissionDto.fromJS(item)); + } } } - static fromJS(data: any): IcsSSEditDto { + static fromJS(data: any): ListResultDtoOfTreePermissionDto { data = typeof data === 'object' ? data : {}; - let result = new IcsSSEditDto(); + let result = new ListResultDtoOfTreePermissionDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["ssCode"] = this.ssCode; - data["ssName"] = this.ssName; - data["ssDesc"] = this.ssDesc; - data["segID"] = this.segID; - data["ssType"] = this.ssType; - data["shiftTypeID"] = this.shiftTypeID; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - data["memo"] = this.memo; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): IcsSSEditDto { + clone(): ListResultDtoOfTreePermissionDto { const json = this.toJSON(); - let result = new IcsSSEditDto(); + let result = new ListResultDtoOfTreePermissionDto(); result.init(json); return result; } } -export interface IIcsSSEditDto { - id: number | undefined; - /** 产线代码 */ - ssCode: string | undefined; - /** 产线名称 */ - ssName: string | undefined; - /** 产线描述 */ - ssDesc: string | undefined; - /** 车间ID */ - segID: number; - /** 产线类型 */ - ssType: string | undefined; - /** 班制ID */ - shiftTypeID: number; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 备注 */ - memo: string | undefined; +export interface IListResultDtoOfTreePermissionDto { + items: TreePermissionDto[] | undefined; } -export class IcsSSListDto implements IIcsSSListDto { - /** 产线代码 */ - ssCode: string | undefined; - /** 产线名称 */ - ssName: string | undefined; - /** 产线描述 */ - ssDesc: string | undefined; - /** 车间ID */ - segID: number; - segName: string | undefined; - /** 产线类型 */ - ssType: string | undefined; - /** 班制ID */ - shiftTypeID: number | undefined; - shiftTypeName: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class ListResultDtoOfUserLoginAttemptDto implements IListResultDtoOfUserLoginAttemptDto { + items: UserLoginAttemptDto[] | undefined; - constructor(data?: IIcsSSListDto) { + constructor(data?: IListResultDtoOfUserLoginAttemptDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -83859,137 +120881,52 @@ export class IcsSSListDto implements IIcsSSListDto { init(_data?: any) { if (_data) { - this.ssCode = _data["ssCode"]; - this.ssName = _data["ssName"]; - this.ssDesc = _data["ssDesc"]; - this.segID = _data["segID"]; - this.segName = _data["segName"]; - this.ssType = _data["ssType"]; - this.shiftTypeID = _data["shiftTypeID"]; - this.shiftTypeName = _data["shiftTypeName"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(UserLoginAttemptDto.fromJS(item)); + } } } - static fromJS(data: any): IcsSSListDto { + static fromJS(data: any): ListResultDtoOfUserLoginAttemptDto { data = typeof data === 'object' ? data : {}; - let result = new IcsSSListDto(); + let result = new ListResultDtoOfUserLoginAttemptDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["ssCode"] = this.ssCode; - data["ssName"] = this.ssName; - data["ssDesc"] = this.ssDesc; - data["segID"] = this.segID; - data["segName"] = this.segName; - data["ssType"] = this.ssType; - data["shiftTypeID"] = this.shiftTypeID; - data["shiftTypeName"] = this.shiftTypeName; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): IcsSSListDto { + clone(): ListResultDtoOfUserLoginAttemptDto { const json = this.toJSON(); - let result = new IcsSSListDto(); + let result = new ListResultDtoOfUserLoginAttemptDto(); result.init(json); return result; } } -export interface IIcsSSListDto { - /** 产线代码 */ - ssCode: string | undefined; - /** 产线名称 */ - ssName: string | undefined; - /** 产线描述 */ - ssDesc: string | undefined; - /** 车间ID */ - segID: number; - segName: string | undefined; - /** 产线类型 */ - ssType: string | undefined; - /** 班制ID */ - shiftTypeID: number | undefined; - shiftTypeName: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export interface IListResultDtoOfUserLoginAttemptDto { + items: UserLoginAttemptDto[] | undefined; } -export class IcsSeg2SysParameterDto implements IIcsSeg2SysParameterDto { - id: number | undefined; - /** 车间代码 */ - segCode: string | undefined; - /** 表单编号 */ - name: string | undefined; - /** 表单类型 */ +export class ListViewColumnColorDto implements IListViewColumnColorDto { + id: string | undefined; + listViewColumnsId: string | undefined; + colFieldName: string | undefined; + determineType: string | undefined; value: string | undefined; + color: string | undefined; - constructor(data?: IIcsSeg2SysParameterDto) { + constructor(data?: IListViewColumnColorDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -84001,15 +120938,17 @@ export class IcsSeg2SysParameterDto implements IIcsSeg2SysParameterDto { init(_data?: any) { if (_data) { this.id = _data["id"]; - this.segCode = _data["segCode"]; - this.name = _data["name"]; + this.listViewColumnsId = _data["listViewColumnsId"]; + this.colFieldName = _data["colFieldName"]; + this.determineType = _data["determineType"]; this.value = _data["value"]; + this.color = _data["color"]; } } - static fromJS(data: any): IcsSeg2SysParameterDto { + static fromJS(data: any): ListViewColumnColorDto { data = typeof data === 'object' ? data : {}; - let result = new IcsSeg2SysParameterDto(); + let result = new ListViewColumnColorDto(); result.init(data); return result; } @@ -84017,70 +120956,42 @@ export class IcsSeg2SysParameterDto implements IIcsSeg2SysParameterDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["id"] = this.id; - data["segCode"] = this.segCode; - data["name"] = this.name; + data["listViewColumnsId"] = this.listViewColumnsId; + data["colFieldName"] = this.colFieldName; + data["determineType"] = this.determineType; data["value"] = this.value; + data["color"] = this.color; return data; } - clone(): IcsSeg2SysParameterDto { + clone(): ListViewColumnColorDto { const json = this.toJSON(); - let result = new IcsSeg2SysParameterDto(); + let result = new ListViewColumnColorDto(); result.init(json); return result; } } -export interface IIcsSeg2SysParameterDto { - id: number | undefined; - /** 车间代码 */ - segCode: string | undefined; - /** 表单编号 */ - name: string | undefined; - /** 表单类型 */ +export interface IListViewColumnColorDto { + id: string | undefined; + listViewColumnsId: string | undefined; + colFieldName: string | undefined; + determineType: string | undefined; value: string | undefined; + color: string | undefined; } -export class IcsSegEditDto implements IIcsSegEditDto { - id: number | undefined; - /** 车间代码 */ - segCode: string | undefined; - /** 车间次序 */ - segSeq: number; - /** 车间名称 */ - segName: string | undefined; - /** 车间描述 */ - segDesc: string | undefined; - /** 班制ID */ - shiftTypeID: number; - /** 工厂ID */ - facID: number; - /** 外观检验类型 */ - checkGroup4Appearance: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 备注 */ - memo: string | undefined; +export class ListViewColumnsActionItemDto implements IListViewColumnsActionItemDto { + id: string | undefined; + name: string | undefined; + label: string | undefined; + icon: string | undefined; + type: string | undefined; + acl: string | undefined; + color: string | undefined; + buttons: ListViewColumnsActionItemDto[] | undefined; - constructor(data?: IIcsSegEditDto) { + constructor(data?: IListViewColumnsActionItemDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -84092,30 +121003,23 @@ export class IcsSegEditDto implements IIcsSegEditDto { init(_data?: any) { if (_data) { this.id = _data["id"]; - this.segCode = _data["segCode"]; - this.segSeq = _data["segSeq"]; - this.segName = _data["segName"]; - this.segDesc = _data["segDesc"]; - this.shiftTypeID = _data["shiftTypeID"]; - this.facID = _data["facID"]; - this.checkGroup4Appearance = _data["checkGroup4Appearance"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - this.memo = _data["memo"]; + this.name = _data["name"]; + this.label = _data["label"]; + this.icon = _data["icon"]; + this.type = _data["type"]; + this.acl = _data["acl"]; + this.color = _data["color"]; + if (Array.isArray(_data["buttons"])) { + this.buttons = [] as any; + for (let item of _data["buttons"]) + this.buttons.push(ListViewColumnsActionItemDto.fromJS(item)); + } } } - static fromJS(data: any): IcsSegEditDto { + static fromJS(data: any): ListViewColumnsActionItemDto { data = typeof data === 'object' ? data : {}; - let result = new IcsSegEditDto(); + let result = new ListViewColumnsActionItemDto(); result.init(data); return result; } @@ -84123,124 +121027,63 @@ export class IcsSegEditDto implements IIcsSegEditDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["id"] = this.id; - data["segCode"] = this.segCode; - data["segSeq"] = this.segSeq; - data["segName"] = this.segName; - data["segDesc"] = this.segDesc; - data["shiftTypeID"] = this.shiftTypeID; - data["facID"] = this.facID; - data["checkGroup4Appearance"] = this.checkGroup4Appearance; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - data["memo"] = this.memo; + data["name"] = this.name; + data["label"] = this.label; + data["icon"] = this.icon; + data["type"] = this.type; + data["acl"] = this.acl; + data["color"] = this.color; + if (Array.isArray(this.buttons)) { + data["buttons"] = []; + for (let item of this.buttons) + data["buttons"].push(item.toJSON()); + } return data; } - clone(): IcsSegEditDto { + clone(): ListViewColumnsActionItemDto { const json = this.toJSON(); - let result = new IcsSegEditDto(); + let result = new ListViewColumnsActionItemDto(); result.init(json); return result; } } -export interface IIcsSegEditDto { - id: number | undefined; - /** 车间代码 */ - segCode: string | undefined; - /** 车间次序 */ - segSeq: number; - /** 车间名称 */ - segName: string | undefined; - /** 车间描述 */ - segDesc: string | undefined; - /** 班制ID */ - shiftTypeID: number; - /** 工厂ID */ - facID: number; - /** 外观检验类型 */ - checkGroup4Appearance: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 备注 */ - memo: string | undefined; +export interface IListViewColumnsActionItemDto { + id: string | undefined; + name: string | undefined; + label: string | undefined; + icon: string | undefined; + type: string | undefined; + acl: string | undefined; + color: string | undefined; + buttons: ListViewColumnsActionItemDto[] | undefined; } -export class IcsSegListDto implements IIcsSegListDto { - key: string | undefined; - /** 车间代码 */ - segCode: string | undefined; - /** 车间次序 */ - segSeq: number; - /** 车间名称 */ - segName: string | undefined; - /** 车间描述 */ - segDesc: string | undefined; - /** 班制ID */ - shiftTypeID: number; - shiftTypeName: string | undefined; - /** 工厂ID */ - facID: number; - facName: string | undefined; - /** 外观检验类型 */ - checkGroup4Appearance: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class ListViewColumnsDto implements IListViewColumnsDto { + id: string | undefined; + listViewId: string | undefined; + listViewColumnColor: ListViewColumnColorDto; + listViewColumnColorId: string | undefined; + actions: ListViewColumnsActionItemDto[] | undefined; + ifShow: boolean | undefined; + sortNum: number | undefined; + type: string | undefined; + field: string | undefined; + title: string | undefined; + width: number | undefined; + fixed: string | undefined; + sortable: boolean | undefined; + sorting: string | undefined; + position: string | undefined; + numberDigits: string | undefined; + dateFormat: string | undefined; + linkType: string | undefined; + linkPath: string | undefined; + linkParam: string | undefined; + merge: boolean; - constructor(data?: IIcsSegListDto) { + constructor(data?: IListViewColumnsDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -84251,176 +121094,111 @@ export class IcsSegListDto implements IIcsSegListDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.segCode = _data["segCode"]; - this.segSeq = _data["segSeq"]; - this.segName = _data["segName"]; - this.segDesc = _data["segDesc"]; - this.shiftTypeID = _data["shiftTypeID"]; - this.shiftTypeName = _data["shiftTypeName"]; - this.facID = _data["facID"]; - this.facName = _data["facName"]; - this.checkGroup4Appearance = _data["checkGroup4Appearance"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; this.id = _data["id"]; + this.listViewId = _data["listViewId"]; + this.listViewColumnColor = _data["listViewColumnColor"] ? ListViewColumnColorDto.fromJS(_data["listViewColumnColor"]) : undefined; + this.listViewColumnColorId = _data["listViewColumnColorId"]; + if (Array.isArray(_data["actions"])) { + this.actions = [] as any; + for (let item of _data["actions"]) + this.actions.push(ListViewColumnsActionItemDto.fromJS(item)); + } + this.ifShow = _data["ifShow"]; + this.sortNum = _data["sortNum"]; + this.type = _data["type"]; + this.field = _data["field"]; + this.title = _data["title"]; + this.width = _data["width"]; + this.fixed = _data["fixed"]; + this.sortable = _data["sortable"]; + this.sorting = _data["sorting"]; + this.position = _data["position"]; + this.numberDigits = _data["numberDigits"]; + this.dateFormat = _data["dateFormat"]; + this.linkType = _data["linkType"]; + this.linkPath = _data["linkPath"]; + this.linkParam = _data["linkParam"]; + this.merge = _data["merge"]; } } - static fromJS(data: any): IcsSegListDto { + static fromJS(data: any): ListViewColumnsDto { data = typeof data === 'object' ? data : {}; - let result = new IcsSegListDto(); + let result = new ListViewColumnsDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["segCode"] = this.segCode; - data["segSeq"] = this.segSeq; - data["segName"] = this.segName; - data["segDesc"] = this.segDesc; - data["shiftTypeID"] = this.shiftTypeID; - data["shiftTypeName"] = this.shiftTypeName; - data["facID"] = this.facID; - data["facName"] = this.facName; - data["checkGroup4Appearance"] = this.checkGroup4Appearance; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; data["id"] = this.id; + data["listViewId"] = this.listViewId; + data["listViewColumnColor"] = this.listViewColumnColor ? this.listViewColumnColor.toJSON() : undefined; + data["listViewColumnColorId"] = this.listViewColumnColorId; + if (Array.isArray(this.actions)) { + data["actions"] = []; + for (let item of this.actions) + data["actions"].push(item.toJSON()); + } + data["ifShow"] = this.ifShow; + data["sortNum"] = this.sortNum; + data["type"] = this.type; + data["field"] = this.field; + data["title"] = this.title; + data["width"] = this.width; + data["fixed"] = this.fixed; + data["sortable"] = this.sortable; + data["sorting"] = this.sorting; + data["position"] = this.position; + data["numberDigits"] = this.numberDigits; + data["dateFormat"] = this.dateFormat; + data["linkType"] = this.linkType; + data["linkPath"] = this.linkPath; + data["linkParam"] = this.linkParam; + data["merge"] = this.merge; return data; } - clone(): IcsSegListDto { + clone(): ListViewColumnsDto { const json = this.toJSON(); - let result = new IcsSegListDto(); + let result = new ListViewColumnsDto(); result.init(json); return result; } } -export interface IIcsSegListDto { - key: string | undefined; - /** 车间代码 */ - segCode: string | undefined; - /** 车间次序 */ - segSeq: number; - /** 车间名称 */ - segName: string | undefined; - /** 车间描述 */ - segDesc: string | undefined; - /** 班制ID */ - shiftTypeID: number; - shiftTypeName: string | undefined; - /** 工厂ID */ - facID: number; - facName: string | undefined; - /** 外观检验类型 */ - checkGroup4Appearance: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export interface IListViewColumnsDto { + id: string | undefined; + listViewId: string | undefined; + listViewColumnColor: ListViewColumnColorDto; + listViewColumnColorId: string | undefined; + actions: ListViewColumnsActionItemDto[] | undefined; + ifShow: boolean | undefined; + sortNum: number | undefined; + type: string | undefined; + field: string | undefined; + title: string | undefined; + width: number | undefined; + fixed: string | undefined; + sortable: boolean | undefined; + sorting: string | undefined; + position: string | undefined; + numberDigits: string | undefined; + dateFormat: string | undefined; + linkType: string | undefined; + linkPath: string | undefined; + linkParam: string | undefined; + merge: boolean; } -export class IcsShiftEditDto implements IIcsShiftEditDto { - id: number | undefined; - /** 班次代码 */ - shiftCode: string; - /** 班制ID */ - shiftTypeId: number; - /** 班次次序 */ - shiftSeq: number; - /** 班次名称 */ - shiftName: string | undefined; - /** 班次描述 */ - shiftDesc: string | undefined; - /** 班次的起始时间 */ - shiftBTime: string; - /** 班次的结束时间 */ - shiftETime: string; - /** 是否是跨天 1: 跨天, 0: 不跨天 */ - isOverDay: string; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; +export class ListViewDto implements IListViewDto { + id: string | undefined; + listViewName: string | undefined; + ifShowPersonalization: boolean | undefined; + rowSelection: string | undefined; + listViewColumns: ListViewColumnsDto[] | undefined; - constructor(data?: IIcsShiftEditDto) { + constructor(data?: IListViewDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -84432,31 +121210,20 @@ export class IcsShiftEditDto implements IIcsShiftEditDto { init(_data?: any) { if (_data) { this.id = _data["id"]; - this.shiftCode = _data["shiftCode"]; - this.shiftTypeId = _data["shiftTypeId"]; - this.shiftSeq = _data["shiftSeq"]; - this.shiftName = _data["shiftName"]; - this.shiftDesc = _data["shiftDesc"]; - this.shiftBTime = _data["shiftBTime"]; - this.shiftETime = _data["shiftETime"]; - this.isOverDay = _data["isOverDay"]; - this.memo = _data["memo"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; + this.listViewName = _data["listViewName"]; + this.ifShowPersonalization = _data["ifShowPersonalization"]; + this.rowSelection = _data["rowSelection"]; + if (Array.isArray(_data["listViewColumns"])) { + this.listViewColumns = [] as any; + for (let item of _data["listViewColumns"]) + this.listViewColumns.push(ListViewColumnsDto.fromJS(item)); + } } } - static fromJS(data: any): IcsShiftEditDto { + static fromJS(data: any): ListViewDto { data = typeof data === 'object' ? data : {}; - let result = new IcsShiftEditDto(); + let result = new ListViewDto(); result.init(data); return result; } @@ -84464,97 +121231,38 @@ export class IcsShiftEditDto implements IIcsShiftEditDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["id"] = this.id; - data["shiftCode"] = this.shiftCode; - data["shiftTypeId"] = this.shiftTypeId; - data["shiftSeq"] = this.shiftSeq; - data["shiftName"] = this.shiftName; - data["shiftDesc"] = this.shiftDesc; - data["shiftBTime"] = this.shiftBTime; - data["shiftETime"] = this.shiftETime; - data["isOverDay"] = this.isOverDay; - data["memo"] = this.memo; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; + data["listViewName"] = this.listViewName; + data["ifShowPersonalization"] = this.ifShowPersonalization; + data["rowSelection"] = this.rowSelection; + if (Array.isArray(this.listViewColumns)) { + data["listViewColumns"] = []; + for (let item of this.listViewColumns) + data["listViewColumns"].push(item.toJSON()); + } return data; } - clone(): IcsShiftEditDto { + clone(): ListViewDto { const json = this.toJSON(); - let result = new IcsShiftEditDto(); + let result = new ListViewDto(); result.init(json); return result; } } -export interface IIcsShiftEditDto { - id: number | undefined; - /** 班次代码 */ - shiftCode: string; - /** 班制ID */ - shiftTypeId: number; - /** 班次次序 */ - shiftSeq: number; - /** 班次名称 */ - shiftName: string | undefined; - /** 班次描述 */ - shiftDesc: string | undefined; - /** 班次的起始时间 */ - shiftBTime: string; - /** 班次的结束时间 */ - shiftETime: string; - /** 是否是跨天 1: 跨天, 0: 不跨天 */ - isOverDay: string; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; +export interface IListViewDto { + id: string | undefined; + listViewName: string | undefined; + ifShowPersonalization: boolean | undefined; + rowSelection: string | undefined; + listViewColumns: ListViewColumnsDto[] | undefined; } -export class IcsShiftImportDto implements IIcsShiftImportDto { - /** 班组代码 */ - shiftCode: string; - /** 班制代码 */ - shiftTypeCode: string; - /** 班次名称 */ - shiftName: string; - /** 班次次序 */ - shiftSeq: number; - /** 班次的起始时间 */ - shiftBTime: string; - /** 班次的结束时间 */ - shiftETime: string; - /** 是否是跨天 */ - isOverDay: string; - /** 班次描述 */ - shiftDesc: string | undefined; +export class LocalizableComboboxItemDto implements ILocalizableComboboxItemDto { + value: string | undefined; + displayText: string | undefined; - constructor(data?: IIcsShiftImportDto) { + constructor(data?: ILocalizableComboboxItemDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -84565,116 +121273,42 @@ export class IcsShiftImportDto implements IIcsShiftImportDto { init(_data?: any) { if (_data) { - this.shiftCode = _data["shiftCode"]; - this.shiftTypeCode = _data["shiftTypeCode"]; - this.shiftName = _data["shiftName"]; - this.shiftSeq = _data["shiftSeq"]; - this.shiftBTime = _data["shiftBTime"]; - this.shiftETime = _data["shiftETime"]; - this.isOverDay = _data["isOverDay"]; - this.shiftDesc = _data["shiftDesc"]; + this.value = _data["value"]; + this.displayText = _data["displayText"]; } } - static fromJS(data: any): IcsShiftImportDto { + static fromJS(data: any): LocalizableComboboxItemDto { data = typeof data === 'object' ? data : {}; - let result = new IcsShiftImportDto(); + let result = new LocalizableComboboxItemDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["shiftCode"] = this.shiftCode; - data["shiftTypeCode"] = this.shiftTypeCode; - data["shiftName"] = this.shiftName; - data["shiftSeq"] = this.shiftSeq; - data["shiftBTime"] = this.shiftBTime; - data["shiftETime"] = this.shiftETime; - data["isOverDay"] = this.isOverDay; - data["shiftDesc"] = this.shiftDesc; + data["value"] = this.value; + data["displayText"] = this.displayText; return data; } - clone(): IcsShiftImportDto { + clone(): LocalizableComboboxItemDto { const json = this.toJSON(); - let result = new IcsShiftImportDto(); + let result = new LocalizableComboboxItemDto(); result.init(json); return result; } } -export interface IIcsShiftImportDto { - /** 班组代码 */ - shiftCode: string; - /** 班制代码 */ - shiftTypeCode: string; - /** 班次名称 */ - shiftName: string; - /** 班次次序 */ - shiftSeq: number; - /** 班次的起始时间 */ - shiftBTime: string; - /** 班次的结束时间 */ - shiftETime: string; - /** 是否是跨天 */ - isOverDay: string; - /** 班次描述 */ - shiftDesc: string | undefined; +export interface ILocalizableComboboxItemDto { + value: string | undefined; + displayText: string | undefined; } -export class IcsShiftListDto implements IIcsShiftListDto { - /** 班制代码 */ - shiftTypeCode: string | undefined; - /** 班制描述 */ - shiftTypeDesc: string | undefined; - /** 班次代码 */ - shiftCode: string | undefined; - /** 班制ID */ - shiftTypeId: number; - /** 班次次序 */ - shiftSeq: number; - /** 班次名称 */ - shiftName: string | undefined; - /** 班次描述 */ - shiftDesc: string | undefined; - /** 班次的起始时间 */ - shiftBTime: string | undefined; - /** 班次的结束时间 */ - shiftETime: string | undefined; - /** 是否是跨天 1: 跨天, 0: 不跨天 */ - isOverDay: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class LocalizableComboboxItemSourceDto implements ILocalizableComboboxItemSourceDto { + items: LocalizableComboboxItemDto[] | undefined; - constructor(data?: IIcsShiftListDto) { + constructor(data?: ILocalizableComboboxItemSourceDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -84685,173 +121319,49 @@ export class IcsShiftListDto implements IIcsShiftListDto { init(_data?: any) { if (_data) { - this.shiftTypeCode = _data["shiftTypeCode"]; - this.shiftTypeDesc = _data["shiftTypeDesc"]; - this.shiftCode = _data["shiftCode"]; - this.shiftTypeId = _data["shiftTypeId"]; - this.shiftSeq = _data["shiftSeq"]; - this.shiftName = _data["shiftName"]; - this.shiftDesc = _data["shiftDesc"]; - this.shiftBTime = _data["shiftBTime"]; - this.shiftETime = _data["shiftETime"]; - this.isOverDay = _data["isOverDay"]; - this.memo = _data["memo"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(LocalizableComboboxItemDto.fromJS(item)); + } } } - static fromJS(data: any): IcsShiftListDto { + static fromJS(data: any): LocalizableComboboxItemSourceDto { data = typeof data === 'object' ? data : {}; - let result = new IcsShiftListDto(); + let result = new LocalizableComboboxItemSourceDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["shiftTypeCode"] = this.shiftTypeCode; - data["shiftTypeDesc"] = this.shiftTypeDesc; - data["shiftCode"] = this.shiftCode; - data["shiftTypeId"] = this.shiftTypeId; - data["shiftSeq"] = this.shiftSeq; - data["shiftName"] = this.shiftName; - data["shiftDesc"] = this.shiftDesc; - data["shiftBTime"] = this.shiftBTime; - data["shiftETime"] = this.shiftETime; - data["isOverDay"] = this.isOverDay; - data["memo"] = this.memo; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): IcsShiftListDto { + clone(): LocalizableComboboxItemSourceDto { const json = this.toJSON(); - let result = new IcsShiftListDto(); + let result = new LocalizableComboboxItemSourceDto(); result.init(json); return result; } } -export interface IIcsShiftListDto { - /** 班制代码 */ - shiftTypeCode: string | undefined; - /** 班制描述 */ - shiftTypeDesc: string | undefined; - /** 班次代码 */ - shiftCode: string | undefined; - /** 班制ID */ - shiftTypeId: number; - /** 班次次序 */ - shiftSeq: number; - /** 班次名称 */ - shiftName: string | undefined; - /** 班次描述 */ - shiftDesc: string | undefined; - /** 班次的起始时间 */ - shiftBTime: string | undefined; - /** 班次的结束时间 */ - shiftETime: string | undefined; - /** 是否是跨天 1: 跨天, 0: 不跨天 */ - isOverDay: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export interface ILocalizableComboboxItemSourceDto { + items: LocalizableComboboxItemDto[] | undefined; } -export class IcsShiftTypeEditDto implements IIcsShiftTypeEditDto { - id: number | undefined; - /** 班制代码 */ - shiftTypeCode: string; - /** 班制名称 */ - shiftTypeName: string; - /** 班制描述 */ - shiftTypeDesc: string | undefined; - /** 生效时间 */ - effDate: moment.Moment; - /** 失效时间 */ - ivlDate: moment.Moment; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - defaulT1: string | undefined; - /** 保留字段2 */ - defaulT2: string | undefined; - /** 保留字段3 */ - defaulT3: string | undefined; - /** 保留字段4 */ - defaulT4: string | undefined; - /** 保留字段5 */ - defaulT5: string | undefined; - /** 保留字段6 */ - defaulT6: string | undefined; - /** 保留字段7 */ - defaulT7: string | undefined; - /** 保留字段8 */ - defaulT8: string | undefined; - /** 保留字段9 */ - defaulT9: string | undefined; - /** 保留字段10 */ - defaulT10: string | undefined; +export class LogEchartDto implements ILogEchartDto { + xdata: moment.Moment[] | undefined; + success: EchartItemDto[] | undefined; + failure: EchartItemDto[] | undefined; - constructor(data?: IIcsShiftTypeEditDto) { + constructor(data?: ILogEchartDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -84862,112 +121372,76 @@ export class IcsShiftTypeEditDto implements IIcsShiftTypeEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.shiftTypeCode = _data["shiftTypeCode"]; - this.shiftTypeName = _data["shiftTypeName"]; - this.shiftTypeDesc = _data["shiftTypeDesc"]; - this.effDate = _data["effDate"] ? moment(_data["effDate"].toString()) : undefined; - this.ivlDate = _data["ivlDate"] ? moment(_data["ivlDate"].toString()) : undefined; - this.memo = _data["memo"]; - this.defaulT1 = _data["defaulT1"]; - this.defaulT2 = _data["defaulT2"]; - this.defaulT3 = _data["defaulT3"]; - this.defaulT4 = _data["defaulT4"]; - this.defaulT5 = _data["defaulT5"]; - this.defaulT6 = _data["defaulT6"]; - this.defaulT7 = _data["defaulT7"]; - this.defaulT8 = _data["defaulT8"]; - this.defaulT9 = _data["defaulT9"]; - this.defaulT10 = _data["defaulT10"]; + if (Array.isArray(_data["xdata"])) { + this.xdata = [] as any; + for (let item of _data["xdata"]) + this.xdata.push(moment(item)); + } + if (Array.isArray(_data["success"])) { + this.success = [] as any; + for (let item of _data["success"]) + this.success.push(EchartItemDto.fromJS(item)); + } + if (Array.isArray(_data["failure"])) { + this.failure = [] as any; + for (let item of _data["failure"]) + this.failure.push(EchartItemDto.fromJS(item)); + } } } - static fromJS(data: any): IcsShiftTypeEditDto { + static fromJS(data: any): LogEchartDto { data = typeof data === 'object' ? data : {}; - let result = new IcsShiftTypeEditDto(); + let result = new LogEchartDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["shiftTypeCode"] = this.shiftTypeCode; - data["shiftTypeName"] = this.shiftTypeName; - data["shiftTypeDesc"] = this.shiftTypeDesc; - data["effDate"] = this.effDate ? this.effDate.toISOString() : undefined; - data["ivlDate"] = this.ivlDate ? this.ivlDate.toISOString() : undefined; - data["memo"] = this.memo; - data["defaulT1"] = this.defaulT1; - data["defaulT2"] = this.defaulT2; - data["defaulT3"] = this.defaulT3; - data["defaulT4"] = this.defaulT4; - data["defaulT5"] = this.defaulT5; - data["defaulT6"] = this.defaulT6; - data["defaulT7"] = this.defaulT7; - data["defaulT8"] = this.defaulT8; - data["defaulT9"] = this.defaulT9; - data["defaulT10"] = this.defaulT10; + if (Array.isArray(this.xdata)) { + data["xdata"] = []; + for (let item of this.xdata) + data["xdata"].push(item.toISOString()); + } + if (Array.isArray(this.success)) { + data["success"] = []; + for (let item of this.success) + data["success"].push(item.toJSON()); + } + if (Array.isArray(this.failure)) { + data["failure"] = []; + for (let item of this.failure) + data["failure"].push(item.toJSON()); + } return data; } - clone(): IcsShiftTypeEditDto { + clone(): LogEchartDto { const json = this.toJSON(); - let result = new IcsShiftTypeEditDto(); + let result = new LogEchartDto(); result.init(json); return result; } } -export interface IIcsShiftTypeEditDto { - id: number | undefined; - /** 班制代码 */ - shiftTypeCode: string; - /** 班制名称 */ - shiftTypeName: string; - /** 班制描述 */ - shiftTypeDesc: string | undefined; - /** 生效时间 */ - effDate: moment.Moment; - /** 失效时间 */ - ivlDate: moment.Moment; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - defaulT1: string | undefined; - /** 保留字段2 */ - defaulT2: string | undefined; - /** 保留字段3 */ - defaulT3: string | undefined; - /** 保留字段4 */ - defaulT4: string | undefined; - /** 保留字段5 */ - defaulT5: string | undefined; - /** 保留字段6 */ - defaulT6: string | undefined; - /** 保留字段7 */ - defaulT7: string | undefined; - /** 保留字段8 */ - defaulT8: string | undefined; - /** 保留字段9 */ - defaulT9: string | undefined; - /** 保留字段10 */ - defaulT10: string | undefined; +export interface ILogEchartDto { + xdata: moment.Moment[] | undefined; + success: EchartItemDto[] | undefined; + failure: EchartItemDto[] | undefined; } -export class IcsShiftTypeImportDto implements IIcsShiftTypeImportDto { - /** 班制代码 */ - shiftTypeCode: string; - /** 班制名称 */ - shiftTypeName: string; - /** 班制描述 */ - shiftTypeDesc: string; - /** 生效时间 */ - effDate: moment.Moment; - /** 失效时间 */ - ivlDate: moment.Moment; +export class LoginLogsDto implements ILoginLogsDto { + userName: string | undefined; + userId: string | undefined; + teanancyName: string | undefined; + userNameOrEmailAddress: string | undefined; + clientIpAddress: string | undefined; + clientName: string | undefined; + result: string | undefined; + creationTime: moment.Moment; - constructor(data?: IIcsShiftTypeImportDto) { + constructor(data?: ILoginLogsDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -84978,94 +121452,97 @@ export class IcsShiftTypeImportDto implements IIcsShiftTypeImportDto { init(_data?: any) { if (_data) { - this.shiftTypeCode = _data["shiftTypeCode"]; - this.shiftTypeName = _data["shiftTypeName"]; - this.shiftTypeDesc = _data["shiftTypeDesc"]; - this.effDate = _data["effDate"] ? moment(_data["effDate"].toString()) : undefined; - this.ivlDate = _data["ivlDate"] ? moment(_data["ivlDate"].toString()) : undefined; + this.userName = _data["userName"]; + this.userId = _data["userId"]; + this.teanancyName = _data["teanancyName"]; + this.userNameOrEmailAddress = _data["userNameOrEmailAddress"]; + this.clientIpAddress = _data["clientIpAddress"]; + this.clientName = _data["clientName"]; + this.result = _data["result"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; } } - static fromJS(data: any): IcsShiftTypeImportDto { + static fromJS(data: any): LoginLogsDto { data = typeof data === 'object' ? data : {}; - let result = new IcsShiftTypeImportDto(); + let result = new LoginLogsDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["shiftTypeCode"] = this.shiftTypeCode; - data["shiftTypeName"] = this.shiftTypeName; - data["shiftTypeDesc"] = this.shiftTypeDesc; - data["effDate"] = this.effDate ? this.effDate.toISOString() : undefined; - data["ivlDate"] = this.ivlDate ? this.ivlDate.toISOString() : undefined; + data["userName"] = this.userName; + data["userId"] = this.userId; + data["teanancyName"] = this.teanancyName; + data["userNameOrEmailAddress"] = this.userNameOrEmailAddress; + data["clientIpAddress"] = this.clientIpAddress; + data["clientName"] = this.clientName; + data["result"] = this.result; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; return data; } - clone(): IcsShiftTypeImportDto { + clone(): LoginLogsDto { const json = this.toJSON(); - let result = new IcsShiftTypeImportDto(); + let result = new LoginLogsDto(); result.init(json); return result; } } -export interface IIcsShiftTypeImportDto { - /** 班制代码 */ - shiftTypeCode: string; - /** 班制名称 */ - shiftTypeName: string; - /** 班制描述 */ - shiftTypeDesc: string; - /** 生效时间 */ - effDate: moment.Moment; - /** 失效时间 */ - ivlDate: moment.Moment; +export interface ILoginLogsDto { + userName: string | undefined; + userId: string | undefined; + teanancyName: string | undefined; + userNameOrEmailAddress: string | undefined; + clientIpAddress: string | undefined; + clientName: string | undefined; + result: string | undefined; + creationTime: moment.Moment; } -export class IcsShiftTypeListDto implements IIcsShiftTypeListDto { - /** 班制代码 */ - shiftTypeCode: string | undefined; - /** 班制名称 */ - shiftTypeName: string | undefined; - /** 班制描述 */ - shiftTypeDesc: string | undefined; - /** 生效时间 */ - effDate: moment.Moment; - /** 失效时间 */ - ivlDate: moment.Moment; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - defaulT1: string | undefined; - /** 保留字段2 */ - defaulT2: string | undefined; - /** 保留字段3 */ - defaulT3: string | undefined; - /** 保留字段4 */ - defaulT4: string | undefined; - /** 保留字段5 */ - defaulT5: string | undefined; - /** 保留字段6 */ - defaulT6: string | undefined; - /** 保留字段7 */ - defaulT7: string | undefined; - /** 保留字段8 */ - defaulT8: string | undefined; - /** 保留字段9 */ - defaulT9: string | undefined; - /** 保留字段10 */ - defaulT10: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; +export class LotOnWipDetailReportDto implements ILotOnWipDetailReportDto { + key: string | undefined; id: number; + lotNo: string | undefined; + moCode: string | undefined; + moSeq: number; + moMemo: string | undefined; + routeCode: string | undefined; + routeName: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + lotQty: number; + goodQty: number; + ngQty: number; + ngTimes: number | undefined; + currentOpCode: string | undefined; + currentOpName: string | undefined; + nextOpCode: string | undefined; + nextOpName: string | undefined; + isCom: string | undefined; + opCode: string | undefined; + opName: string | undefined; + segCode: string | undefined; + segName: string | undefined; + ssCode: string | undefined; + ssName: string | undefined; + eqpCode: string | undefined; + eqpName: string | undefined; + collectStatus: string | undefined; + actionResult: string | undefined; + opGoodQty: number; + opNgQty: number; + beginTime: moment.Moment | undefined; + endTime: moment.Moment | undefined; + useHourQty: number | undefined; + beginUserId: string | undefined; + beginUser: string | undefined; + endUserId: string | undefined; + endUser: string | undefined; - constructor(data?: IIcsShiftTypeListDto) { + constructor(data?: ILotOnWipDetailReportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -85076,131 +121553,154 @@ export class IcsShiftTypeListDto implements IIcsShiftTypeListDto { init(_data?: any) { if (_data) { - this.shiftTypeCode = _data["shiftTypeCode"]; - this.shiftTypeName = _data["shiftTypeName"]; - this.shiftTypeDesc = _data["shiftTypeDesc"]; - this.effDate = _data["effDate"] ? moment(_data["effDate"].toString()) : undefined; - this.ivlDate = _data["ivlDate"] ? moment(_data["ivlDate"].toString()) : undefined; - this.memo = _data["memo"]; - this.defaulT1 = _data["defaulT1"]; - this.defaulT2 = _data["defaulT2"]; - this.defaulT3 = _data["defaulT3"]; - this.defaulT4 = _data["defaulT4"]; - this.defaulT5 = _data["defaulT5"]; - this.defaulT6 = _data["defaulT6"]; - this.defaulT7 = _data["defaulT7"]; - this.defaulT8 = _data["defaulT8"]; - this.defaulT9 = _data["defaulT9"]; - this.defaulT10 = _data["defaulT10"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; + this.key = _data["key"]; this.id = _data["id"]; + this.lotNo = _data["lotNo"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.moMemo = _data["moMemo"]; + this.routeCode = _data["routeCode"]; + this.routeName = _data["routeName"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.lotQty = _data["lotQty"]; + this.goodQty = _data["goodQty"]; + this.ngQty = _data["ngQty"]; + this.ngTimes = _data["ngTimes"]; + this.currentOpCode = _data["currentOpCode"]; + this.currentOpName = _data["currentOpName"]; + this.nextOpCode = _data["nextOpCode"]; + this.nextOpName = _data["nextOpName"]; + this.isCom = _data["isCom"]; + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.segCode = _data["segCode"]; + this.segName = _data["segName"]; + this.ssCode = _data["ssCode"]; + this.ssName = _data["ssName"]; + this.eqpCode = _data["eqpCode"]; + this.eqpName = _data["eqpName"]; + this.collectStatus = _data["collectStatus"]; + this.actionResult = _data["actionResult"]; + this.opGoodQty = _data["opGoodQty"]; + this.opNgQty = _data["opNgQty"]; + this.beginTime = _data["beginTime"] ? moment(_data["beginTime"].toString()) : undefined; + this.endTime = _data["endTime"] ? moment(_data["endTime"].toString()) : undefined; + this.useHourQty = _data["useHourQty"]; + this.beginUserId = _data["beginUserId"]; + this.beginUser = _data["beginUser"]; + this.endUserId = _data["endUserId"]; + this.endUser = _data["endUser"]; } } - static fromJS(data: any): IcsShiftTypeListDto { + static fromJS(data: any): LotOnWipDetailReportDto { data = typeof data === 'object' ? data : {}; - let result = new IcsShiftTypeListDto(); + let result = new LotOnWipDetailReportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["shiftTypeCode"] = this.shiftTypeCode; - data["shiftTypeName"] = this.shiftTypeName; - data["shiftTypeDesc"] = this.shiftTypeDesc; - data["effDate"] = this.effDate ? this.effDate.toISOString() : undefined; - data["ivlDate"] = this.ivlDate ? this.ivlDate.toISOString() : undefined; - data["memo"] = this.memo; - data["defaulT1"] = this.defaulT1; - data["defaulT2"] = this.defaulT2; - data["defaulT3"] = this.defaulT3; - data["defaulT4"] = this.defaulT4; - data["defaulT5"] = this.defaulT5; - data["defaulT6"] = this.defaulT6; - data["defaulT7"] = this.defaulT7; - data["defaulT8"] = this.defaulT8; - data["defaulT9"] = this.defaulT9; - data["defaulT10"] = this.defaulT10; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; + data["key"] = this.key; data["id"] = this.id; + data["lotNo"] = this.lotNo; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["moMemo"] = this.moMemo; + data["routeCode"] = this.routeCode; + data["routeName"] = this.routeName; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["lotQty"] = this.lotQty; + data["goodQty"] = this.goodQty; + data["ngQty"] = this.ngQty; + data["ngTimes"] = this.ngTimes; + data["currentOpCode"] = this.currentOpCode; + data["currentOpName"] = this.currentOpName; + data["nextOpCode"] = this.nextOpCode; + data["nextOpName"] = this.nextOpName; + data["isCom"] = this.isCom; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["segCode"] = this.segCode; + data["segName"] = this.segName; + data["ssCode"] = this.ssCode; + data["ssName"] = this.ssName; + data["eqpCode"] = this.eqpCode; + data["eqpName"] = this.eqpName; + data["collectStatus"] = this.collectStatus; + data["actionResult"] = this.actionResult; + data["opGoodQty"] = this.opGoodQty; + data["opNgQty"] = this.opNgQty; + data["beginTime"] = this.beginTime ? this.beginTime.toISOString() : undefined; + data["endTime"] = this.endTime ? this.endTime.toISOString() : undefined; + data["useHourQty"] = this.useHourQty; + data["beginUserId"] = this.beginUserId; + data["beginUser"] = this.beginUser; + data["endUserId"] = this.endUserId; + data["endUser"] = this.endUser; return data; } - clone(): IcsShiftTypeListDto { + clone(): LotOnWipDetailReportDto { const json = this.toJSON(); - let result = new IcsShiftTypeListDto(); + let result = new LotOnWipDetailReportDto(); result.init(json); return result; } } -export interface IIcsShiftTypeListDto { - /** 班制代码 */ - shiftTypeCode: string | undefined; - /** 班制名称 */ - shiftTypeName: string | undefined; - /** 班制描述 */ - shiftTypeDesc: string | undefined; - /** 生效时间 */ - effDate: moment.Moment; - /** 失效时间 */ - ivlDate: moment.Moment; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - defaulT1: string | undefined; - /** 保留字段2 */ - defaulT2: string | undefined; - /** 保留字段3 */ - defaulT3: string | undefined; - /** 保留字段4 */ - defaulT4: string | undefined; - /** 保留字段5 */ - defaulT5: string | undefined; - /** 保留字段6 */ - defaulT6: string | undefined; - /** 保留字段7 */ - defaulT7: string | undefined; - /** 保留字段8 */ - defaulT8: string | undefined; - /** 保留字段9 */ - defaulT9: string | undefined; - /** 保留字段10 */ - defaulT10: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; +export interface ILotOnWipDetailReportDto { + key: string | undefined; id: number; + lotNo: string | undefined; + moCode: string | undefined; + moSeq: number; + moMemo: string | undefined; + routeCode: string | undefined; + routeName: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + lotQty: number; + goodQty: number; + ngQty: number; + ngTimes: number | undefined; + currentOpCode: string | undefined; + currentOpName: string | undefined; + nextOpCode: string | undefined; + nextOpName: string | undefined; + isCom: string | undefined; + opCode: string | undefined; + opName: string | undefined; + segCode: string | undefined; + segName: string | undefined; + ssCode: string | undefined; + ssName: string | undefined; + eqpCode: string | undefined; + eqpName: string | undefined; + collectStatus: string | undefined; + actionResult: string | undefined; + opGoodQty: number; + opNgQty: number; + beginTime: moment.Moment | undefined; + endTime: moment.Moment | undefined; + useHourQty: number | undefined; + beginUserId: string | undefined; + beginUser: string | undefined; + endUserId: string | undefined; + endUser: string | undefined; } -export class IcsSolutionEditDto implements IIcsSolutionEditDto { - id: number | undefined; - /** 解决方案代码 */ - solCode: string | undefined; - /** 解决方案名称 */ - solName: string | undefined; - /** 解决方案描述 */ - solDesc: string | undefined; - /** Solution Improve */ - solImp: string | undefined; - /** 备注 */ - memo: string | undefined; +export class MCImportDto implements IMCImportDto { + mcCode: string; + mcName: string; + mcDesc: string | undefined; + ssName: string | undefined; + segName: string | undefined; - constructor(data?: IIcsSolutionEditDto) { + constructor(data?: IMCImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -85211,75 +121711,52 @@ export class IcsSolutionEditDto implements IIcsSolutionEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.solCode = _data["solCode"]; - this.solName = _data["solName"]; - this.solDesc = _data["solDesc"]; - this.solImp = _data["solImp"]; - this.memo = _data["memo"]; + this.mcCode = _data["mcCode"]; + this.mcName = _data["mcName"]; + this.mcDesc = _data["mcDesc"]; + this.ssName = _data["ssName"]; + this.segName = _data["segName"]; } } - static fromJS(data: any): IcsSolutionEditDto { + static fromJS(data: any): MCImportDto { data = typeof data === 'object' ? data : {}; - let result = new IcsSolutionEditDto(); + let result = new MCImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["solCode"] = this.solCode; - data["solName"] = this.solName; - data["solDesc"] = this.solDesc; - data["solImp"] = this.solImp; - data["memo"] = this.memo; + data["mcCode"] = this.mcCode; + data["mcName"] = this.mcName; + data["mcDesc"] = this.mcDesc; + data["ssName"] = this.ssName; + data["segName"] = this.segName; return data; } - clone(): IcsSolutionEditDto { + clone(): MCImportDto { const json = this.toJSON(); - let result = new IcsSolutionEditDto(); + let result = new MCImportDto(); result.init(json); return result; } } -export interface IIcsSolutionEditDto { - id: number | undefined; - /** 解决方案代码 */ - solCode: string | undefined; - /** 解决方案名称 */ - solName: string | undefined; - /** 解决方案描述 */ - solDesc: string | undefined; - /** Solution Improve */ - solImp: string | undefined; - /** 备注 */ - memo: string | undefined; +export interface IMCImportDto { + mcCode: string; + mcName: string; + mcDesc: string | undefined; + ssName: string | undefined; + segName: string | undefined; } -export class IcsSolutionListDto implements IIcsSolutionListDto { - /** 解决方案代码 */ - solCode: string | undefined; - /** 解决方案名称 */ - solName: string | undefined; - /** 解决方案描述 */ - solDesc: string | undefined; - /** Solution Improve */ - solImp: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class MarkAllUnreadMessagesOfUserAsReadInput implements IMarkAllUnreadMessagesOfUserAsReadInput { + tenantId: string | undefined; + userId: string | undefined; - constructor(data?: IIcsSolutionListDto) { + constructor(data?: IMarkAllUnreadMessagesOfUserAsReadInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -85290,125 +121767,44 @@ export class IcsSolutionListDto implements IIcsSolutionListDto { init(_data?: any) { if (_data) { - this.solCode = _data["solCode"]; - this.solName = _data["solName"]; - this.solDesc = _data["solDesc"]; - this.solImp = _data["solImp"]; - this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + this.tenantId = _data["tenantId"]; + this.userId = _data["userId"]; } } - static fromJS(data: any): IcsSolutionListDto { + static fromJS(data: any): MarkAllUnreadMessagesOfUserAsReadInput { data = typeof data === 'object' ? data : {}; - let result = new IcsSolutionListDto(); + let result = new MarkAllUnreadMessagesOfUserAsReadInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["solCode"] = this.solCode; - data["solName"] = this.solName; - data["solDesc"] = this.solDesc; - data["solImp"] = this.solImp; - data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + data["tenantId"] = this.tenantId; + data["userId"] = this.userId; return data; } - clone(): IcsSolutionListDto { + clone(): MarkAllUnreadMessagesOfUserAsReadInput { const json = this.toJSON(); - let result = new IcsSolutionListDto(); - result.init(json); - return result; - } -} - -export interface IIcsSolutionListDto { - /** 解决方案代码 */ - solCode: string | undefined; - /** 解决方案名称 */ - solName: string | undefined; - /** 解决方案描述 */ - solDesc: string | undefined; - /** Solution Improve */ - solImp: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; -} - -export class IcsStandardWhoursEditDto implements IIcsStandardWhoursEditDto { - id: number | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 设备类型 */ - eqpTypeCode: string | undefined; - /** 设备型号 */ - eqpModelCode: string | undefined; - /** 标准工时 */ - sTime: number; - /** 准备工时 */ - rTime: number; - /** 生效日期 */ - effectDate: moment.Moment; - /** 失效日期 */ - expriyDate: moment.Moment; - /** 状态 */ - status: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 是否默认 */ - isRef: string | undefined; - /** 审核人 */ - checkUserId: string | undefined; - /** 审核人名称 */ - checkUserName: string | undefined; - /** 审核时间 */ - checkTime: moment.Moment | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; + let result = new MarkAllUnreadMessagesOfUserAsReadInput(); + result.init(json); + return result; + } +} - constructor(data?: IIcsStandardWhoursEditDto) { +export interface IMarkAllUnreadMessagesOfUserAsReadInput { + tenantId: string | undefined; + userId: string | undefined; +} + +export class MediaList_News_Item implements IMediaList_News_Item { + media_id: string | undefined; + content: Media_News_Content; + update_time: number; + + constructor(data?: IMediaList_News_Item) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -85419,182 +121815,48 @@ export class IcsStandardWhoursEditDto implements IIcsStandardWhoursEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.itemCode = _data["itemCode"]; - this.opCode = _data["opCode"]; - this.eqpTypeCode = _data["eqpTypeCode"]; - this.eqpModelCode = _data["eqpModelCode"]; - this.sTime = _data["sTime"]; - this.rTime = _data["rTime"]; - this.effectDate = _data["effectDate"] ? moment(_data["effectDate"].toString()) : undefined; - this.expriyDate = _data["expriyDate"] ? moment(_data["expriyDate"].toString()) : undefined; - this.status = _data["status"]; - this.memo = _data["memo"]; - this.isRef = _data["isRef"]; - this.checkUserId = _data["checkUserId"]; - this.checkUserName = _data["checkUserName"]; - this.checkTime = _data["checkTime"] ? moment(_data["checkTime"].toString()) : undefined; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; + this.media_id = _data["media_id"]; + this.content = _data["content"] ? Media_News_Content.fromJS(_data["content"]) : undefined; + this.update_time = _data["update_time"]; } } - static fromJS(data: any): IcsStandardWhoursEditDto { + static fromJS(data: any): MediaList_News_Item { data = typeof data === 'object' ? data : {}; - let result = new IcsStandardWhoursEditDto(); + let result = new MediaList_News_Item(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["itemCode"] = this.itemCode; - data["opCode"] = this.opCode; - data["eqpTypeCode"] = this.eqpTypeCode; - data["eqpModelCode"] = this.eqpModelCode; - data["sTime"] = this.sTime; - data["rTime"] = this.rTime; - data["effectDate"] = this.effectDate ? this.effectDate.toISOString() : undefined; - data["expriyDate"] = this.expriyDate ? this.expriyDate.toISOString() : undefined; - data["status"] = this.status; - data["memo"] = this.memo; - data["isRef"] = this.isRef; - data["checkUserId"] = this.checkUserId; - data["checkUserName"] = this.checkUserName; - data["checkTime"] = this.checkTime ? this.checkTime.toISOString() : undefined; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; + data["media_id"] = this.media_id; + data["content"] = this.content ? this.content.toJSON() : undefined; + data["update_time"] = this.update_time; return data; } - clone(): IcsStandardWhoursEditDto { + clone(): MediaList_News_Item { const json = this.toJSON(); - let result = new IcsStandardWhoursEditDto(); + let result = new MediaList_News_Item(); result.init(json); return result; } } -export interface IIcsStandardWhoursEditDto { - id: number | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - /** 设备类型 */ - eqpTypeCode: string | undefined; - /** 设备型号 */ - eqpModelCode: string | undefined; - /** 标准工时 */ - sTime: number; - /** 准备工时 */ - rTime: number; - /** 生效日期 */ - effectDate: moment.Moment; - /** 失效日期 */ - expriyDate: moment.Moment; - /** 状态 */ - status: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 是否默认 */ - isRef: string | undefined; - /** 审核人 */ - checkUserId: string | undefined; - /** 审核人名称 */ - checkUserName: string | undefined; - /** 审核时间 */ - checkTime: moment.Moment | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; +export interface IMediaList_News_Item { + media_id: string | undefined; + content: Media_News_Content; + update_time: number; } -export class IcsStandardWhoursImportDto implements IIcsStandardWhoursImportDto { - /** 产品代码 */ - itemCode: string; - /** 工序代码 */ - opCode: string; - /** 设备类型 */ - eqpTypeCode: string; - /** 设备型号 */ - eqpModelCode: string; - /** 标准工时 */ - sTime: number; - /** 标准工时 */ - rTime: number; - /** 生效日期 */ - effectDate: moment.Moment; - /** 失效日期 */ - expriyDate: moment.Moment; - /** 状态 */ - status: string; - /** 备注 */ - memo: string | undefined; - /** 是否默认 */ - isRef: string; - /** 审核人 */ - checkUserId: string | undefined; - /** 审核人名称 */ - checkUserName: string | undefined; - /** 审核时间 */ - checkTime: moment.Moment; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; +export class MediaList_Others_Item implements IMediaList_Others_Item { + media_id: string | undefined; + name: string | undefined; + update_time: number; + url: string | undefined; - constructor(data?: IIcsStandardWhoursImportDto) { + constructor(data?: IMediaList_Others_Item) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -85605,191 +121867,48 @@ export class IcsStandardWhoursImportDto implements IIcsStandardWhoursImportDto { init(_data?: any) { if (_data) { - this.itemCode = _data["itemCode"]; - this.opCode = _data["opCode"]; - this.eqpTypeCode = _data["eqpTypeCode"]; - this.eqpModelCode = _data["eqpModelCode"]; - this.sTime = _data["sTime"]; - this.rTime = _data["rTime"]; - this.effectDate = _data["effectDate"] ? moment(_data["effectDate"].toString()) : undefined; - this.expriyDate = _data["expriyDate"] ? moment(_data["expriyDate"].toString()) : undefined; - this.status = _data["status"]; - this.memo = _data["memo"]; - this.isRef = _data["isRef"]; - this.checkUserId = _data["checkUserId"]; - this.checkUserName = _data["checkUserName"]; - this.checkTime = _data["checkTime"] ? moment(_data["checkTime"].toString()) : undefined; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; + this.media_id = _data["media_id"]; + this.name = _data["name"]; + this.update_time = _data["update_time"]; + this.url = _data["url"]; } } - static fromJS(data: any): IcsStandardWhoursImportDto { + static fromJS(data: any): MediaList_Others_Item { data = typeof data === 'object' ? data : {}; - let result = new IcsStandardWhoursImportDto(); + let result = new MediaList_Others_Item(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["itemCode"] = this.itemCode; - data["opCode"] = this.opCode; - data["eqpTypeCode"] = this.eqpTypeCode; - data["eqpModelCode"] = this.eqpModelCode; - data["sTime"] = this.sTime; - data["rTime"] = this.rTime; - data["effectDate"] = this.effectDate ? this.effectDate.toISOString() : undefined; - data["expriyDate"] = this.expriyDate ? this.expriyDate.toISOString() : undefined; - data["status"] = this.status; - data["memo"] = this.memo; - data["isRef"] = this.isRef; - data["checkUserId"] = this.checkUserId; - data["checkUserName"] = this.checkUserName; - data["checkTime"] = this.checkTime ? this.checkTime.toISOString() : undefined; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; + data["media_id"] = this.media_id; + data["name"] = this.name; + data["update_time"] = this.update_time; + data["url"] = this.url; return data; } - clone(): IcsStandardWhoursImportDto { + clone(): MediaList_Others_Item { const json = this.toJSON(); - let result = new IcsStandardWhoursImportDto(); + let result = new MediaList_Others_Item(); result.init(json); return result; } } -export interface IIcsStandardWhoursImportDto { - /** 产品代码 */ - itemCode: string; - /** 工序代码 */ - opCode: string; - /** 设备类型 */ - eqpTypeCode: string; - /** 设备型号 */ - eqpModelCode: string; - /** 标准工时 */ - sTime: number; - /** 标准工时 */ - rTime: number; - /** 生效日期 */ - effectDate: moment.Moment; - /** 失效日期 */ - expriyDate: moment.Moment; - /** 状态 */ - status: string; - /** 备注 */ - memo: string | undefined; - /** 是否默认 */ - isRef: string; - /** 审核人 */ - checkUserId: string | undefined; - /** 审核人名称 */ - checkUserName: string | undefined; - /** 审核时间 */ - checkTime: moment.Moment; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; +export interface IMediaList_Others_Item { + media_id: string | undefined; + name: string | undefined; + update_time: number; + url: string | undefined; } -export class IcsStandardWhoursListDto implements IIcsStandardWhoursListDto { - /** 产品代码 */ - itemCode: string | undefined; - itemName: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - opName: string | undefined; - /** 设备类型 */ - eqpTypeCode: string | undefined; - eqpTypeCodeText: string | undefined; - /** 设备型号 */ - eqpModelCode: string | undefined; - /** 标准工时 */ - sTime: number; - /** 准备工时 */ - rTime: number; - /** 生效日期 */ - effectDate: moment.Moment; - /** 失效日期 */ - expriyDate: moment.Moment; - /** 状态 */ - status: string | undefined; - statusText: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 是否默认 */ - isRef: string | undefined; - isRefText: string | undefined; - /** 审核人 */ - checkUserId: string | undefined; - /** 审核人名称 */ - checkUserName: string | undefined; - /** 审核时间 */ - checkTime: moment.Moment | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class Media_News_Content implements IMedia_News_Content { + news_item: Media_News_Content_Item[] | undefined; - constructor(data?: IIcsStandardWhoursListDto) { + constructor(data?: IMedia_News_Content) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -85800,190 +121919,57 @@ export class IcsStandardWhoursListDto implements IIcsStandardWhoursListDto { init(_data?: any) { if (_data) { - this.itemCode = _data["itemCode"]; - this.itemName = _data["itemName"]; - this.opCode = _data["opCode"]; - this.opName = _data["opName"]; - this.eqpTypeCode = _data["eqpTypeCode"]; - this.eqpTypeCodeText = _data["eqpTypeCodeText"]; - this.eqpModelCode = _data["eqpModelCode"]; - this.sTime = _data["sTime"]; - this.rTime = _data["rTime"]; - this.effectDate = _data["effectDate"] ? moment(_data["effectDate"].toString()) : undefined; - this.expriyDate = _data["expriyDate"] ? moment(_data["expriyDate"].toString()) : undefined; - this.status = _data["status"]; - this.statusText = _data["statusText"]; - this.memo = _data["memo"]; - this.isRef = _data["isRef"]; - this.isRefText = _data["isRefText"]; - this.checkUserId = _data["checkUserId"]; - this.checkUserName = _data["checkUserName"]; - this.checkTime = _data["checkTime"] ? moment(_data["checkTime"].toString()) : undefined; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + if (Array.isArray(_data["news_item"])) { + this.news_item = [] as any; + for (let item of _data["news_item"]) + this.news_item.push(Media_News_Content_Item.fromJS(item)); + } } } - static fromJS(data: any): IcsStandardWhoursListDto { + static fromJS(data: any): Media_News_Content { data = typeof data === 'object' ? data : {}; - let result = new IcsStandardWhoursListDto(); + let result = new Media_News_Content(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["itemCode"] = this.itemCode; - data["itemName"] = this.itemName; - data["opCode"] = this.opCode; - data["opName"] = this.opName; - data["eqpTypeCode"] = this.eqpTypeCode; - data["eqpTypeCodeText"] = this.eqpTypeCodeText; - data["eqpModelCode"] = this.eqpModelCode; - data["sTime"] = this.sTime; - data["rTime"] = this.rTime; - data["effectDate"] = this.effectDate ? this.effectDate.toISOString() : undefined; - data["expriyDate"] = this.expriyDate ? this.expriyDate.toISOString() : undefined; - data["status"] = this.status; - data["statusText"] = this.statusText; - data["memo"] = this.memo; - data["isRef"] = this.isRef; - data["isRefText"] = this.isRefText; - data["checkUserId"] = this.checkUserId; - data["checkUserName"] = this.checkUserName; - data["checkTime"] = this.checkTime ? this.checkTime.toISOString() : undefined; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + if (Array.isArray(this.news_item)) { + data["news_item"] = []; + for (let item of this.news_item) + data["news_item"].push(item.toJSON()); + } return data; } - clone(): IcsStandardWhoursListDto { + clone(): Media_News_Content { const json = this.toJSON(); - let result = new IcsStandardWhoursListDto(); + let result = new Media_News_Content(); result.init(json); return result; } } -export interface IIcsStandardWhoursListDto { - /** 产品代码 */ - itemCode: string | undefined; - itemName: string | undefined; - /** 工序代码 */ - opCode: string | undefined; - opName: string | undefined; - /** 设备类型 */ - eqpTypeCode: string | undefined; - eqpTypeCodeText: string | undefined; - /** 设备型号 */ - eqpModelCode: string | undefined; - /** 标准工时 */ - sTime: number; - /** 准备工时 */ - rTime: number; - /** 生效日期 */ - effectDate: moment.Moment; - /** 失效日期 */ - expriyDate: moment.Moment; - /** 状态 */ - status: string | undefined; - statusText: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 是否默认 */ - isRef: string | undefined; - isRefText: string | undefined; - /** 审核人 */ - checkUserId: string | undefined; - /** 审核人名称 */ - checkUserName: string | undefined; - /** 审核时间 */ - checkTime: moment.Moment | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export interface IMedia_News_Content { + news_item: Media_News_Content_Item[] | undefined; } -export class IcsTpEditDto implements IIcsTpEditDto { - id: number | undefined; - /** 时段代码 */ - tpCode: string; - /** 班制ID */ - shiftTypeId: number; - /** 班次ID */ - shiftId: number; - /** 时段名称 */ - tpName: string | undefined; - /** 时段描述 */ - tpDesc: string | undefined; - /** 时段次序 */ - tpSeq: number; - /** 正常班/加班 */ - tpType: string; - /** 时段的开始时间 */ - tpBTime: string; - /** 时段的结束时间 */ - tpETime: string; - /** 是否是跨天 */ - isOverDate: string; - /** 备注 */ - memo: string | undefined; +export class Media_News_Content_Item implements IMedia_News_Content_Item { + url: string | undefined; + thumb_url: string | undefined; + thumb_media_id: string | undefined; + author: string | undefined; + title: string | undefined; + content_source_url: string | undefined; + content: string | undefined; + digest: string | undefined; + show_cover_pic: string | undefined; + need_open_comment: number; + only_fans_can_comment: number; - constructor(data?: IIcsTpEditDto) { + constructor(data?: IMedia_News_Content_Item) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -85994,102 +121980,73 @@ export class IcsTpEditDto implements IIcsTpEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.tpCode = _data["tpCode"]; - this.shiftTypeId = _data["shiftTypeId"]; - this.shiftId = _data["shiftId"]; - this.tpName = _data["tpName"]; - this.tpDesc = _data["tpDesc"]; - this.tpSeq = _data["tpSeq"]; - this.tpType = _data["tpType"]; - this.tpBTime = _data["tpBTime"]; - this.tpETime = _data["tpETime"]; - this.isOverDate = _data["isOverDate"]; - this.memo = _data["memo"]; + this.url = _data["url"]; + this.thumb_url = _data["thumb_url"]; + this.thumb_media_id = _data["thumb_media_id"]; + this.author = _data["author"]; + this.title = _data["title"]; + this.content_source_url = _data["content_source_url"]; + this.content = _data["content"]; + this.digest = _data["digest"]; + this.show_cover_pic = _data["show_cover_pic"]; + this.need_open_comment = _data["need_open_comment"]; + this.only_fans_can_comment = _data["only_fans_can_comment"]; } } - static fromJS(data: any): IcsTpEditDto { + static fromJS(data: any): Media_News_Content_Item { data = typeof data === 'object' ? data : {}; - let result = new IcsTpEditDto(); + let result = new Media_News_Content_Item(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["tpCode"] = this.tpCode; - data["shiftTypeId"] = this.shiftTypeId; - data["shiftId"] = this.shiftId; - data["tpName"] = this.tpName; - data["tpDesc"] = this.tpDesc; - data["tpSeq"] = this.tpSeq; - data["tpType"] = this.tpType; - data["tpBTime"] = this.tpBTime; - data["tpETime"] = this.tpETime; - data["isOverDate"] = this.isOverDate; - data["memo"] = this.memo; + data["url"] = this.url; + data["thumb_url"] = this.thumb_url; + data["thumb_media_id"] = this.thumb_media_id; + data["author"] = this.author; + data["title"] = this.title; + data["content_source_url"] = this.content_source_url; + data["content"] = this.content; + data["digest"] = this.digest; + data["show_cover_pic"] = this.show_cover_pic; + data["need_open_comment"] = this.need_open_comment; + data["only_fans_can_comment"] = this.only_fans_can_comment; return data; } - clone(): IcsTpEditDto { + clone(): Media_News_Content_Item { const json = this.toJSON(); - let result = new IcsTpEditDto(); + let result = new Media_News_Content_Item(); result.init(json); return result; } } -export interface IIcsTpEditDto { - id: number | undefined; - /** 时段代码 */ - tpCode: string; - /** 班制ID */ - shiftTypeId: number; - /** 班次ID */ - shiftId: number; - /** 时段名称 */ - tpName: string | undefined; - /** 时段描述 */ - tpDesc: string | undefined; - /** 时段次序 */ - tpSeq: number; - /** 正常班/加班 */ - tpType: string; - /** 时段的开始时间 */ - tpBTime: string; - /** 时段的结束时间 */ - tpETime: string; - /** 是否是跨天 */ - isOverDate: string; - /** 备注 */ - memo: string | undefined; +export interface IMedia_News_Content_Item { + url: string | undefined; + thumb_url: string | undefined; + thumb_media_id: string | undefined; + author: string | undefined; + title: string | undefined; + content_source_url: string | undefined; + content: string | undefined; + digest: string | undefined; + show_cover_pic: string | undefined; + need_open_comment: number; + only_fans_can_comment: number; } -export class IcsTpImportDto implements IIcsTpImportDto { - /** 时段代码 */ - tpCode: string; - /** 时段名称 */ - tpName: string; - /** 班制代码 */ - shiftTypeCode: string; - /** 班次代码 */ - shiftCode: string; - /** 是否是跨天 */ - isOverDay: string; - /** 时段的开始时间 */ - tpBTime: moment.Moment; - /** 时段的结束时间 */ - tpETime: moment.Moment; - /** 时段次序 */ - tpSeq: number; - /** 时段类型 */ - tpType: string | undefined; - /** 时段描述 */ - tpDesc: string | undefined; +export class MemberActivity implements IMemberActivity { + name: string | undefined; + earnings: string | undefined; + cases: number; + closed: number; + rate: string | undefined; - constructor(data?: IIcsTpImportDto) { + constructor(data?: IMemberActivity) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -86100,116 +122057,75 @@ export class IcsTpImportDto implements IIcsTpImportDto { init(_data?: any) { if (_data) { - this.tpCode = _data["tpCode"]; - this.tpName = _data["tpName"]; - this.shiftTypeCode = _data["shiftTypeCode"]; - this.shiftCode = _data["shiftCode"]; - this.isOverDay = _data["isOverDay"]; - this.tpBTime = _data["tpBTime"] ? moment(_data["tpBTime"].toString()) : undefined; - this.tpETime = _data["tpETime"] ? moment(_data["tpETime"].toString()) : undefined; - this.tpSeq = _data["tpSeq"]; - this.tpType = _data["tpType"]; - this.tpDesc = _data["tpDesc"]; + this.name = _data["name"]; + this.earnings = _data["earnings"]; + this.cases = _data["cases"]; + this.closed = _data["closed"]; + this.rate = _data["rate"]; } } - static fromJS(data: any): IcsTpImportDto { + static fromJS(data: any): MemberActivity { data = typeof data === 'object' ? data : {}; - let result = new IcsTpImportDto(); + let result = new MemberActivity(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["tpCode"] = this.tpCode; - data["tpName"] = this.tpName; - data["shiftTypeCode"] = this.shiftTypeCode; - data["shiftCode"] = this.shiftCode; - data["isOverDay"] = this.isOverDay; - data["tpBTime"] = this.tpBTime ? this.tpBTime.toISOString() : undefined; - data["tpETime"] = this.tpETime ? this.tpETime.toISOString() : undefined; - data["tpSeq"] = this.tpSeq; - data["tpType"] = this.tpType; - data["tpDesc"] = this.tpDesc; + data["name"] = this.name; + data["earnings"] = this.earnings; + data["cases"] = this.cases; + data["closed"] = this.closed; + data["rate"] = this.rate; return data; } - clone(): IcsTpImportDto { + clone(): MemberActivity { const json = this.toJSON(); - let result = new IcsTpImportDto(); + let result = new MemberActivity(); result.init(json); return result; } } -export interface IIcsTpImportDto { - /** 时段代码 */ - tpCode: string; - /** 时段名称 */ - tpName: string; - /** 班制代码 */ - shiftTypeCode: string; - /** 班次代码 */ - shiftCode: string; - /** 是否是跨天 */ - isOverDay: string; - /** 时段的开始时间 */ - tpBTime: moment.Moment; - /** 时段的结束时间 */ - tpETime: moment.Moment; - /** 时段次序 */ - tpSeq: number; - /** 时段类型 */ - tpType: string | undefined; - /** 时段描述 */ - tpDesc: string | undefined; +export interface IMemberActivity { + name: string | undefined; + earnings: string | undefined; + cases: number; + closed: number; + rate: string | undefined; } -export class IcsTpListDto implements IIcsTpListDto { - /** 时段代码 */ - tpCode: string | undefined; - /** 班制ID */ - shiftTypeId: string | undefined; - /** 班次ID */ - shiftId: string | undefined; - /** 时段名称 */ - tpName: string | undefined; - /** 时段描述 */ - tpDesc: string | undefined; - /** 时段次序 */ - tpSeq: number; - /** 正常班/加班 */ - tpType: string | undefined; - /** 时段的开始时间 */ - tpBTime: string | undefined; - /** 时段的结束时间 */ - tpETime: string | undefined; - /** 是否是跨天 */ - isOverDate: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 班次代码 */ - shiftCode: string | undefined; - /** 班次名称 */ - shiftName: string | undefined; - /** 班次描述 */ - shiftDesc: string | undefined; - /** 班制代码 */ - shiftTypeCode: string | undefined; - /** 班制名称 */ - shiftTypeName: string | undefined; - /** 班制描述 */ - shiftTypeDesc: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export class MenuArgs implements IMenuArgs { + id: string | undefined; + parentId: string | undefined; + name: string | undefined; + title: string | undefined; + path: string | undefined; + parentPath: string | undefined; + component: string | undefined; + layoutComponent: string | undefined; + layout: MenuLayoutEnum; + openEnum: OpenTypeEnum; + icon: string | undefined; + permissionCode: string | undefined; + ignoreKeepAlive: boolean; + affix: boolean; + isSystem: boolean; + frameSrc: string | undefined; + transitionName: string | undefined; + hideBreadcrumb: boolean; + carryParam: boolean; + hideTab: boolean; + hideMenu: boolean; + hideChildrenInMenu: boolean; + orderNo: number; + waterMarkEnabled: boolean; + extensionData: { [key: string]: any; } | undefined; - constructor(data?: IIcsTpListDto) { + constructor(data?: IMenuArgs) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -86220,228 +122136,127 @@ export class IcsTpListDto implements IIcsTpListDto { init(_data?: any) { if (_data) { - this.tpCode = _data["tpCode"]; - this.shiftTypeId = _data["shiftTypeId"]; - this.shiftId = _data["shiftId"]; - this.tpName = _data["tpName"]; - this.tpDesc = _data["tpDesc"]; - this.tpSeq = _data["tpSeq"]; - this.tpType = _data["tpType"]; - this.tpBTime = _data["tpBTime"]; - this.tpETime = _data["tpETime"]; - this.isOverDate = _data["isOverDate"]; - this.memo = _data["memo"]; - this.shiftCode = _data["shiftCode"]; - this.shiftName = _data["shiftName"]; - this.shiftDesc = _data["shiftDesc"]; - this.shiftTypeCode = _data["shiftTypeCode"]; - this.shiftTypeName = _data["shiftTypeName"]; - this.shiftTypeDesc = _data["shiftTypeDesc"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; this.id = _data["id"]; + this.parentId = _data["parentId"]; + this.name = _data["name"]; + this.title = _data["title"]; + this.path = _data["path"]; + this.parentPath = _data["parentPath"]; + this.component = _data["component"]; + this.layoutComponent = _data["layoutComponent"]; + this.layout = _data["layout"]; + this.openEnum = _data["openEnum"]; + this.icon = _data["icon"]; + this.permissionCode = _data["permissionCode"]; + this.ignoreKeepAlive = _data["ignoreKeepAlive"]; + this.affix = _data["affix"]; + this.isSystem = _data["isSystem"]; + this.frameSrc = _data["frameSrc"]; + this.transitionName = _data["transitionName"]; + this.hideBreadcrumb = _data["hideBreadcrumb"]; + this.carryParam = _data["carryParam"]; + this.hideTab = _data["hideTab"]; + this.hideMenu = _data["hideMenu"]; + this.hideChildrenInMenu = _data["hideChildrenInMenu"]; + this.orderNo = _data["orderNo"]; + this.waterMarkEnabled = _data["waterMarkEnabled"]; + if (_data["extensionData"]) { + this.extensionData = {} as any; + for (let key in _data["extensionData"]) { + if (_data["extensionData"].hasOwnProperty(key)) + (this.extensionData)[key] = _data["extensionData"][key]; + } + } } } - static fromJS(data: any): IcsTpListDto { + static fromJS(data: any): MenuArgs { data = typeof data === 'object' ? data : {}; - let result = new IcsTpListDto(); + let result = new MenuArgs(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["tpCode"] = this.tpCode; - data["shiftTypeId"] = this.shiftTypeId; - data["shiftId"] = this.shiftId; - data["tpName"] = this.tpName; - data["tpDesc"] = this.tpDesc; - data["tpSeq"] = this.tpSeq; - data["tpType"] = this.tpType; - data["tpBTime"] = this.tpBTime; - data["tpETime"] = this.tpETime; - data["isOverDate"] = this.isOverDate; - data["memo"] = this.memo; - data["shiftCode"] = this.shiftCode; - data["shiftName"] = this.shiftName; - data["shiftDesc"] = this.shiftDesc; - data["shiftTypeCode"] = this.shiftTypeCode; - data["shiftTypeName"] = this.shiftTypeName; - data["shiftTypeDesc"] = this.shiftTypeDesc; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; data["id"] = this.id; + data["parentId"] = this.parentId; + data["name"] = this.name; + data["title"] = this.title; + data["path"] = this.path; + data["parentPath"] = this.parentPath; + data["component"] = this.component; + data["layoutComponent"] = this.layoutComponent; + data["layout"] = this.layout; + data["openEnum"] = this.openEnum; + data["icon"] = this.icon; + data["permissionCode"] = this.permissionCode; + data["ignoreKeepAlive"] = this.ignoreKeepAlive; + data["affix"] = this.affix; + data["isSystem"] = this.isSystem; + data["frameSrc"] = this.frameSrc; + data["transitionName"] = this.transitionName; + data["hideBreadcrumb"] = this.hideBreadcrumb; + data["carryParam"] = this.carryParam; + data["hideTab"] = this.hideTab; + data["hideMenu"] = this.hideMenu; + data["hideChildrenInMenu"] = this.hideChildrenInMenu; + data["orderNo"] = this.orderNo; + data["waterMarkEnabled"] = this.waterMarkEnabled; + if (this.extensionData) { + data["extensionData"] = {}; + for (let key in this.extensionData) { + if (this.extensionData.hasOwnProperty(key)) + (data["extensionData"])[key] = (this.extensionData)[key]; + } + } return data; } - clone(): IcsTpListDto { + clone(): MenuArgs { const json = this.toJSON(); - let result = new IcsTpListDto(); + let result = new MenuArgs(); result.init(json); return result; } } -export interface IIcsTpListDto { - /** 时段代码 */ - tpCode: string | undefined; - /** 班制ID */ - shiftTypeId: string | undefined; - /** 班次ID */ - shiftId: string | undefined; - /** 时段名称 */ - tpName: string | undefined; - /** 时段描述 */ - tpDesc: string | undefined; - /** 时段次序 */ - tpSeq: number; - /** 正常班/加班 */ - tpType: string | undefined; - /** 时段的开始时间 */ - tpBTime: string | undefined; - /** 时段的结束时间 */ - tpETime: string | undefined; - /** 是否是跨天 */ - isOverDate: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 班次代码 */ - shiftCode: string | undefined; - /** 班次名称 */ - shiftName: string | undefined; - /** 班次描述 */ - shiftDesc: string | undefined; - /** 班制代码 */ - shiftTypeCode: string | undefined; - /** 班制名称 */ - shiftTypeName: string | undefined; - /** 班制描述 */ - shiftTypeDesc: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: number; +export interface IMenuArgs { + id: string | undefined; + parentId: string | undefined; + name: string | undefined; + title: string | undefined; + path: string | undefined; + parentPath: string | undefined; + component: string | undefined; + layoutComponent: string | undefined; + layout: MenuLayoutEnum; + openEnum: OpenTypeEnum; + icon: string | undefined; + permissionCode: string | undefined; + ignoreKeepAlive: boolean; + affix: boolean; + isSystem: boolean; + frameSrc: string | undefined; + transitionName: string | undefined; + hideBreadcrumb: boolean; + carryParam: boolean; + hideTab: boolean; + hideMenu: boolean; + hideChildrenInMenu: boolean; + orderNo: number; + waterMarkEnabled: boolean; + extensionData: { [key: string]: any; } | undefined; } -export class IcsTsEditDto implements IIcsTsEditDto { - key: string | undefined; - id: number | undefined; - /** 产品当前序列号 */ - lotNo: string | undefined; - /** 产品序列号流水号 */ - lotSeq: number; - /** 工单代码 */ - moCode: string | undefined; - /** 工单流水号 */ - moSeq: number; - /** 转换前的产品序列号 */ - tLotNo: string | undefined; - /** 转换前的产品序列号流水号 */ - tLotSeq: number; - /** 第一个产品序列号 */ - sLotNo: string | undefined; - /** 第一个产品序列号流水号 */ - sLotSeq: number; - /** Card类型 */ - cardType: string | undefined; - /** 替换的产品序列号 */ - rrCard: string | undefined; - /** 产品主分类代码 */ - modelCode: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 送修工艺路线代码 */ - frmRouteCode: string | undefined; - /** 送修工序代码 */ - frmOpCode: string | undefined; - /** 送修工段代码 */ - frmSegCode: string | undefined; - /** 送修产线代码 */ - frmSsCode: string | undefined; - /** 送修资源代码 */ - frmResCode: string | undefined; - /** 班制代码 */ - shiftTypeCode: string | undefined; - /** 班次代码 */ - shiftCode: string | undefined; - /** 时段代码 */ - tpCode: string | undefined; - /** 工作天 */ - shiftDay: moment.Moment; - /** 送修人 */ - frmUser: string | undefined; - /** 送修备注 */ - frmMemo: string | undefined; - /** 送修时间 */ - frmTime: moment.Moment; - /** 送修来源类型 */ - frmInputType: string | undefined; - /** NG次数 */ - tsTimes: number; - /** 维修状态 */ - tsStatus: string | undefined; - /** 维修完成人 */ - tsUser: string | undefined; - /** 维修完成日期 */ - tsDate: moment.Moment; - /** 维修完成时间 */ - tsTime: string | undefined; - /** 维修备注 */ - tsMemo: string | undefined; - /** 确认资源代码 */ - cResCode: string | undefined; - /** 确认工序代码 */ - cOpCode: string | undefined; - /** 确认时间 */ - confirmUser: string | undefined; - /** 确认时间 */ - confirmTime: moment.Moment; - /** 回流工单代码 */ - refMoCode: string | undefined; - /** 回流工艺路线代码 */ - refRouteCode: string | undefined; - /** 回流工序代码 */ - refOpCode: string | undefined; - /** 交易状态 */ - transStatus: string | undefined; - /** 测试文件全路径 */ - tfFullPath: string | undefined; - /** 维修资源代码 */ - tsResCode: string | undefined; - /** 报废原因 */ - scrapCause: string | undefined; - /** 送修月份 */ - frmMonth: number; - /** 送修周 */ - frmWeek: number; - /** RMA单号 */ - rmaBillCode: string | undefined; - /** 普通工序和线外工序的工艺路线 */ - frmOutRouteCode: string | undefined; - /** 维修类型 */ - tsType: string | undefined; - /** 维修人 */ - tsRepairUser: string | undefined; - /** 维修时间 */ - tsRepairTime: moment.Moment; - /** 备注 */ - memo: string | undefined; - /** 回流资源代码 */ - refResCode: string | undefined; +export class MenuEditDto implements IMenuEditDto { + id: string | undefined; + menuName: string; + isDefault: boolean; + isEnable: boolean; + menuTrees: MenuTree[] | undefined; - constructor(data?: IIcsTsEditDto) { + constructor(data?: IMenuEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -86452,283 +122267,68 @@ export class IcsTsEditDto implements IIcsTsEditDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; this.id = _data["id"]; - this.lotNo = _data["lotNo"]; - this.lotSeq = _data["lotSeq"]; - this.moCode = _data["moCode"]; - this.moSeq = _data["moSeq"]; - this.tLotNo = _data["tLotNo"]; - this.tLotSeq = _data["tLotSeq"]; - this.sLotNo = _data["sLotNo"]; - this.sLotSeq = _data["sLotSeq"]; - this.cardType = _data["cardType"]; - this.rrCard = _data["rrCard"]; - this.modelCode = _data["modelCode"]; - this.itemCode = _data["itemCode"]; - this.frmRouteCode = _data["frmRouteCode"]; - this.frmOpCode = _data["frmOpCode"]; - this.frmSegCode = _data["frmSegCode"]; - this.frmSsCode = _data["frmSsCode"]; - this.frmResCode = _data["frmResCode"]; - this.shiftTypeCode = _data["shiftTypeCode"]; - this.shiftCode = _data["shiftCode"]; - this.tpCode = _data["tpCode"]; - this.shiftDay = _data["shiftDay"] ? moment(_data["shiftDay"].toString()) : undefined; - this.frmUser = _data["frmUser"]; - this.frmMemo = _data["frmMemo"]; - this.frmTime = _data["frmTime"] ? moment(_data["frmTime"].toString()) : undefined; - this.frmInputType = _data["frmInputType"]; - this.tsTimes = _data["tsTimes"]; - this.tsStatus = _data["tsStatus"]; - this.tsUser = _data["tsUser"]; - this.tsDate = _data["tsDate"] ? moment(_data["tsDate"].toString()) : undefined; - this.tsTime = _data["tsTime"]; - this.tsMemo = _data["tsMemo"]; - this.cResCode = _data["cResCode"]; - this.cOpCode = _data["cOpCode"]; - this.confirmUser = _data["confirmUser"]; - this.confirmTime = _data["confirmTime"] ? moment(_data["confirmTime"].toString()) : undefined; - this.refMoCode = _data["refMoCode"]; - this.refRouteCode = _data["refRouteCode"]; - this.refOpCode = _data["refOpCode"]; - this.transStatus = _data["transStatus"]; - this.tfFullPath = _data["tfFullPath"]; - this.tsResCode = _data["tsResCode"]; - this.scrapCause = _data["scrapCause"]; - this.frmMonth = _data["frmMonth"]; - this.frmWeek = _data["frmWeek"]; - this.rmaBillCode = _data["rmaBillCode"]; - this.frmOutRouteCode = _data["frmOutRouteCode"]; - this.tsType = _data["tsType"]; - this.tsRepairUser = _data["tsRepairUser"]; - this.tsRepairTime = _data["tsRepairTime"] ? moment(_data["tsRepairTime"].toString()) : undefined; - this.memo = _data["memo"]; - this.refResCode = _data["refResCode"]; + this.menuName = _data["menuName"]; + this.isDefault = _data["isDefault"]; + this.isEnable = _data["isEnable"]; + if (Array.isArray(_data["menuTrees"])) { + this.menuTrees = [] as any; + for (let item of _data["menuTrees"]) + this.menuTrees.push(MenuTree.fromJS(item)); + } } } - static fromJS(data: any): IcsTsEditDto { + static fromJS(data: any): MenuEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsTsEditDto(); + let result = new MenuEditDto(); result.init(data); return result; } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["id"] = this.id; - data["lotNo"] = this.lotNo; - data["lotSeq"] = this.lotSeq; - data["moCode"] = this.moCode; - data["moSeq"] = this.moSeq; - data["tLotNo"] = this.tLotNo; - data["tLotSeq"] = this.tLotSeq; - data["sLotNo"] = this.sLotNo; - data["sLotSeq"] = this.sLotSeq; - data["cardType"] = this.cardType; - data["rrCard"] = this.rrCard; - data["modelCode"] = this.modelCode; - data["itemCode"] = this.itemCode; - data["frmRouteCode"] = this.frmRouteCode; - data["frmOpCode"] = this.frmOpCode; - data["frmSegCode"] = this.frmSegCode; - data["frmSsCode"] = this.frmSsCode; - data["frmResCode"] = this.frmResCode; - data["shiftTypeCode"] = this.shiftTypeCode; - data["shiftCode"] = this.shiftCode; - data["tpCode"] = this.tpCode; - data["shiftDay"] = this.shiftDay ? this.shiftDay.toISOString() : undefined; - data["frmUser"] = this.frmUser; - data["frmMemo"] = this.frmMemo; - data["frmTime"] = this.frmTime ? this.frmTime.toISOString() : undefined; - data["frmInputType"] = this.frmInputType; - data["tsTimes"] = this.tsTimes; - data["tsStatus"] = this.tsStatus; - data["tsUser"] = this.tsUser; - data["tsDate"] = this.tsDate ? this.tsDate.toISOString() : undefined; - data["tsTime"] = this.tsTime; - data["tsMemo"] = this.tsMemo; - data["cResCode"] = this.cResCode; - data["cOpCode"] = this.cOpCode; - data["confirmUser"] = this.confirmUser; - data["confirmTime"] = this.confirmTime ? this.confirmTime.toISOString() : undefined; - data["refMoCode"] = this.refMoCode; - data["refRouteCode"] = this.refRouteCode; - data["refOpCode"] = this.refOpCode; - data["transStatus"] = this.transStatus; - data["tfFullPath"] = this.tfFullPath; - data["tsResCode"] = this.tsResCode; - data["scrapCause"] = this.scrapCause; - data["frmMonth"] = this.frmMonth; - data["frmWeek"] = this.frmWeek; - data["rmaBillCode"] = this.rmaBillCode; - data["frmOutRouteCode"] = this.frmOutRouteCode; - data["tsType"] = this.tsType; - data["tsRepairUser"] = this.tsRepairUser; - data["tsRepairTime"] = this.tsRepairTime ? this.tsRepairTime.toISOString() : undefined; - data["memo"] = this.memo; - data["refResCode"] = this.refResCode; - return data; - } - - clone(): IcsTsEditDto { - const json = this.toJSON(); - let result = new IcsTsEditDto(); - result.init(json); - return result; - } -} - -export interface IIcsTsEditDto { - key: string | undefined; - id: number | undefined; - /** 产品当前序列号 */ - lotNo: string | undefined; - /** 产品序列号流水号 */ - lotSeq: number; - /** 工单代码 */ - moCode: string | undefined; - /** 工单流水号 */ - moSeq: number; - /** 转换前的产品序列号 */ - tLotNo: string | undefined; - /** 转换前的产品序列号流水号 */ - tLotSeq: number; - /** 第一个产品序列号 */ - sLotNo: string | undefined; - /** 第一个产品序列号流水号 */ - sLotSeq: number; - /** Card类型 */ - cardType: string | undefined; - /** 替换的产品序列号 */ - rrCard: string | undefined; - /** 产品主分类代码 */ - modelCode: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 送修工艺路线代码 */ - frmRouteCode: string | undefined; - /** 送修工序代码 */ - frmOpCode: string | undefined; - /** 送修工段代码 */ - frmSegCode: string | undefined; - /** 送修产线代码 */ - frmSsCode: string | undefined; - /** 送修资源代码 */ - frmResCode: string | undefined; - /** 班制代码 */ - shiftTypeCode: string | undefined; - /** 班次代码 */ - shiftCode: string | undefined; - /** 时段代码 */ - tpCode: string | undefined; - /** 工作天 */ - shiftDay: moment.Moment; - /** 送修人 */ - frmUser: string | undefined; - /** 送修备注 */ - frmMemo: string | undefined; - /** 送修时间 */ - frmTime: moment.Moment; - /** 送修来源类型 */ - frmInputType: string | undefined; - /** NG次数 */ - tsTimes: number; - /** 维修状态 */ - tsStatus: string | undefined; - /** 维修完成人 */ - tsUser: string | undefined; - /** 维修完成日期 */ - tsDate: moment.Moment; - /** 维修完成时间 */ - tsTime: string | undefined; - /** 维修备注 */ - tsMemo: string | undefined; - /** 确认资源代码 */ - cResCode: string | undefined; - /** 确认工序代码 */ - cOpCode: string | undefined; - /** 确认时间 */ - confirmUser: string | undefined; - /** 确认时间 */ - confirmTime: moment.Moment; - /** 回流工单代码 */ - refMoCode: string | undefined; - /** 回流工艺路线代码 */ - refRouteCode: string | undefined; - /** 回流工序代码 */ - refOpCode: string | undefined; - /** 交易状态 */ - transStatus: string | undefined; - /** 测试文件全路径 */ - tfFullPath: string | undefined; - /** 维修资源代码 */ - tsResCode: string | undefined; - /** 报废原因 */ - scrapCause: string | undefined; - /** 送修月份 */ - frmMonth: number; - /** 送修周 */ - frmWeek: number; - /** RMA单号 */ - rmaBillCode: string | undefined; - /** 普通工序和线外工序的工艺路线 */ - frmOutRouteCode: string | undefined; - /** 维修类型 */ - tsType: string | undefined; - /** 维修人 */ - tsRepairUser: string | undefined; - /** 维修时间 */ - tsRepairTime: moment.Moment; - /** 备注 */ - memo: string | undefined; - /** 回流资源代码 */ - refResCode: string | undefined; + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["id"] = this.id; + data["menuName"] = this.menuName; + data["isDefault"] = this.isDefault; + data["isEnable"] = this.isEnable; + if (Array.isArray(this.menuTrees)) { + data["menuTrees"] = []; + for (let item of this.menuTrees) + data["menuTrees"].push(item.toJSON()); + } + return data; + } + + clone(): MenuEditDto { + const json = this.toJSON(); + let result = new MenuEditDto(); + result.init(json); + return result; + } } -export class IcsTsErrorCauseEditDto implements IIcsTsErrorCauseEditDto { +export interface IMenuEditDto { + id: string | undefined; + menuName: string; + isDefault: boolean; + isEnable: boolean; + menuTrees: MenuTree[] | undefined; +} + +export class MenuFull_RootButton implements IMenuFull_RootButton { + type: string | undefined; key: string | undefined; - id: number | undefined; - /** 不良代码 */ - eCode: string | undefined; - /** 不良原因代码 */ - ecsCode: string | undefined; - /** 不良代码组代码 */ - ecgCode: string | undefined; - /** 不良原因组代码 */ - ecsgCode: string | undefined; - /** TsId */ - tsId: number; - /** 产品序列号 */ - lotNo: string | undefined; - /** 产品序列号流水号 */ - lotNoSeq: number; - /** 产品主分类代码 */ - modelCode: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 工单代码 */ - moCode: string | undefined; - /** 工厂日 */ - shiftDay: moment.Moment; - /** 工单流水号 */ - moSeq: number; - /** 维修资源代码 */ - rResCode: string | undefined; - /** 维修工序代码 */ - rOpCode: number; - /** 解决方案代码 */ - solCode: string | undefined; - /** 责任别代码 */ - dutyCode: string | undefined; - /** 解决方案备注 */ - solMemo: string | undefined; - /** 备注 */ - memo: string | undefined; + name: string | undefined; + url: string | undefined; + news_info: NewsInfo; + appid: string | undefined; + pagepath: string | undefined; + media_id: string | undefined; + article_id: string | undefined; + sub_button: MenuFull_RootButton[] | undefined; - constructor(data?: IIcsTsErrorCauseEditDto) { + constructor(data?: IMenuFull_RootButton) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -86739,157 +122339,90 @@ export class IcsTsErrorCauseEditDto implements IIcsTsErrorCauseEditDto { init(_data?: any) { if (_data) { + this.type = _data["type"]; this.key = _data["key"]; - this.id = _data["id"]; - this.eCode = _data["eCode"]; - this.ecsCode = _data["ecsCode"]; - this.ecgCode = _data["ecgCode"]; - this.ecsgCode = _data["ecsgCode"]; - this.tsId = _data["tsId"]; - this.lotNo = _data["lotNo"]; - this.lotNoSeq = _data["lotNoSeq"]; - this.modelCode = _data["modelCode"]; - this.itemCode = _data["itemCode"]; - this.moCode = _data["moCode"]; - this.shiftDay = _data["shiftDay"] ? moment(_data["shiftDay"].toString()) : undefined; - this.moSeq = _data["moSeq"]; - this.rResCode = _data["rResCode"]; - this.rOpCode = _data["rOpCode"]; - this.solCode = _data["solCode"]; - this.dutyCode = _data["dutyCode"]; - this.solMemo = _data["solMemo"]; - this.memo = _data["memo"]; + this.name = _data["name"]; + this.url = _data["url"]; + this.news_info = _data["news_info"] ? NewsInfo.fromJS(_data["news_info"]) : undefined; + this.appid = _data["appid"]; + this.pagepath = _data["pagepath"]; + this.media_id = _data["media_id"]; + this.article_id = _data["article_id"]; + if (Array.isArray(_data["sub_button"])) { + this.sub_button = [] as any; + for (let item of _data["sub_button"]) + this.sub_button.push(MenuFull_RootButton.fromJS(item)); + } } } - static fromJS(data: any): IcsTsErrorCauseEditDto { + static fromJS(data: any): MenuFull_RootButton { data = typeof data === 'object' ? data : {}; - let result = new IcsTsErrorCauseEditDto(); + let result = new MenuFull_RootButton(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["type"] = this.type; data["key"] = this.key; - data["id"] = this.id; - data["eCode"] = this.eCode; - data["ecsCode"] = this.ecsCode; - data["ecgCode"] = this.ecgCode; - data["ecsgCode"] = this.ecsgCode; - data["tsId"] = this.tsId; - data["lotNo"] = this.lotNo; - data["lotNoSeq"] = this.lotNoSeq; - data["modelCode"] = this.modelCode; - data["itemCode"] = this.itemCode; - data["moCode"] = this.moCode; - data["shiftDay"] = this.shiftDay ? this.shiftDay.toISOString() : undefined; - data["moSeq"] = this.moSeq; - data["rResCode"] = this.rResCode; - data["rOpCode"] = this.rOpCode; - data["solCode"] = this.solCode; - data["dutyCode"] = this.dutyCode; - data["solMemo"] = this.solMemo; - data["memo"] = this.memo; + data["name"] = this.name; + data["url"] = this.url; + data["news_info"] = this.news_info ? this.news_info.toJSON() : undefined; + data["appid"] = this.appid; + data["pagepath"] = this.pagepath; + data["media_id"] = this.media_id; + data["article_id"] = this.article_id; + if (Array.isArray(this.sub_button)) { + data["sub_button"] = []; + for (let item of this.sub_button) + data["sub_button"].push(item.toJSON()); + } return data; } - clone(): IcsTsErrorCauseEditDto { + clone(): MenuFull_RootButton { const json = this.toJSON(); - let result = new IcsTsErrorCauseEditDto(); + let result = new MenuFull_RootButton(); result.init(json); return result; } } -export interface IIcsTsErrorCauseEditDto { +export interface IMenuFull_RootButton { + type: string | undefined; key: string | undefined; - id: number | undefined; - /** 不良代码 */ - eCode: string | undefined; - /** 不良原因代码 */ - ecsCode: string | undefined; - /** 不良代码组代码 */ - ecgCode: string | undefined; - /** 不良原因组代码 */ - ecsgCode: string | undefined; - /** TsId */ - tsId: number; - /** 产品序列号 */ - lotNo: string | undefined; - /** 产品序列号流水号 */ - lotNoSeq: number; - /** 产品主分类代码 */ - modelCode: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 工单代码 */ - moCode: string | undefined; - /** 工厂日 */ - shiftDay: moment.Moment; - /** 工单流水号 */ - moSeq: number; - /** 维修资源代码 */ - rResCode: string | undefined; - /** 维修工序代码 */ - rOpCode: number; - /** 解决方案代码 */ - solCode: string | undefined; - /** 责任别代码 */ - dutyCode: string | undefined; - /** 解决方案备注 */ - solMemo: string | undefined; - /** 备注 */ - memo: string | undefined; + name: string | undefined; + url: string | undefined; + news_info: NewsInfo; + appid: string | undefined; + pagepath: string | undefined; + media_id: string | undefined; + article_id: string | undefined; + sub_button: MenuFull_RootButton[] | undefined; } -export class IcsTsErrorCauseListDto implements IIcsTsErrorCauseListDto { - key: string | undefined; - /** 不良代码 */ - eCode: string | undefined; - /** 不良原因代码 */ - ecsCode: string | undefined; - /** 不良代码组代码 */ - ecgCode: string | undefined; - /** 不良原因组代码 */ - ecsgCode: string | undefined; - /** TsId */ - tsId: number; - /** 产品序列号 */ - lotNo: string | undefined; - /** 产品序列号流水号 */ - lotNoSeq: number; - /** 产品主分类代码 */ - modelCode: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 工单代码 */ - moCode: string | undefined; - /** 工厂日 */ - shiftDay: moment.Moment; - /** 工单流水号 */ - moSeq: number; - /** 维修资源代码 */ - rResCode: string | undefined; - /** 维修工序代码 */ - rOpCode: number; - /** 解决方案代码 */ - solCode: string | undefined; - /** 责任别代码 */ - dutyCode: string | undefined; - /** 解决方案备注 */ - solMemo: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; +export enum MenuLayoutEnum { + LAYOUT = "LAYOUT", + IFrame = "IFrame", +} + +export class MenuListDto implements IMenuListDto { + menuName: string | undefined; + isDefault: boolean; + isEnable: boolean; + isSystem: boolean; + isDeleted: boolean; + deleterUserId: string | undefined; + deletionTime: moment.Moment | undefined; lastModificationTime: moment.Moment | undefined; lastModifierUserId: string | undefined; creationTime: moment.Moment; creatorUserId: string | undefined; - id: number; + id: string; - constructor(data?: IIcsTsErrorCauseListDto) { + constructor(data?: IMenuListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -86900,27 +122433,13 @@ export class IcsTsErrorCauseListDto implements IIcsTsErrorCauseListDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.eCode = _data["eCode"]; - this.ecsCode = _data["ecsCode"]; - this.ecgCode = _data["ecgCode"]; - this.ecsgCode = _data["ecsgCode"]; - this.tsId = _data["tsId"]; - this.lotNo = _data["lotNo"]; - this.lotNoSeq = _data["lotNoSeq"]; - this.modelCode = _data["modelCode"]; - this.itemCode = _data["itemCode"]; - this.moCode = _data["moCode"]; - this.shiftDay = _data["shiftDay"] ? moment(_data["shiftDay"].toString()) : undefined; - this.moSeq = _data["moSeq"]; - this.rResCode = _data["rResCode"]; - this.rOpCode = _data["rOpCode"]; - this.solCode = _data["solCode"]; - this.dutyCode = _data["dutyCode"]; - this.solMemo = _data["solMemo"]; - this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; + this.menuName = _data["menuName"]; + this.isDefault = _data["isDefault"]; + this.isEnable = _data["isEnable"]; + this.isSystem = _data["isSystem"]; + this.isDeleted = _data["isDeleted"]; + this.deleterUserId = _data["deleterUserId"]; + this.deletionTime = _data["deletionTime"] ? moment(_data["deletionTime"].toString()) : undefined; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; this.lastModifierUserId = _data["lastModifierUserId"]; this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; @@ -86929,36 +122448,22 @@ export class IcsTsErrorCauseListDto implements IIcsTsErrorCauseListDto { } } - static fromJS(data: any): IcsTsErrorCauseListDto { + static fromJS(data: any): MenuListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsTsErrorCauseListDto(); + let result = new MenuListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["eCode"] = this.eCode; - data["ecsCode"] = this.ecsCode; - data["ecgCode"] = this.ecgCode; - data["ecsgCode"] = this.ecsgCode; - data["tsId"] = this.tsId; - data["lotNo"] = this.lotNo; - data["lotNoSeq"] = this.lotNoSeq; - data["modelCode"] = this.modelCode; - data["itemCode"] = this.itemCode; - data["moCode"] = this.moCode; - data["shiftDay"] = this.shiftDay ? this.shiftDay.toISOString() : undefined; - data["moSeq"] = this.moSeq; - data["rResCode"] = this.rResCode; - data["rOpCode"] = this.rOpCode; - data["solCode"] = this.solCode; - data["dutyCode"] = this.dutyCode; - data["solMemo"] = this.solMemo; - data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; + data["menuName"] = this.menuName; + data["isDefault"] = this.isDefault; + data["isEnable"] = this.isEnable; + data["isSystem"] = this.isSystem; + data["isDeleted"] = this.isDeleted; + data["deleterUserId"] = this.deleterUserId; + data["deletionTime"] = this.deletionTime ? this.deletionTime.toISOString() : undefined; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; data["lastModifierUserId"] = this.lastModifierUserId; data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; @@ -86967,86 +122472,40 @@ export class IcsTsErrorCauseListDto implements IIcsTsErrorCauseListDto { return data; } - clone(): IcsTsErrorCauseListDto { + clone(): MenuListDto { const json = this.toJSON(); - let result = new IcsTsErrorCauseListDto(); + let result = new MenuListDto(); result.init(json); return result; } } -export interface IIcsTsErrorCauseListDto { - key: string | undefined; - /** 不良代码 */ - eCode: string | undefined; - /** 不良原因代码 */ - ecsCode: string | undefined; - /** 不良代码组代码 */ - ecgCode: string | undefined; - /** 不良原因组代码 */ - ecsgCode: string | undefined; - /** TsId */ - tsId: number; - /** 产品序列号 */ - lotNo: string | undefined; - /** 产品序列号流水号 */ - lotNoSeq: number; - /** 产品主分类代码 */ - modelCode: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 工单代码 */ - moCode: string | undefined; - /** 工厂日 */ - shiftDay: moment.Moment; - /** 工单流水号 */ - moSeq: number; - /** 维修资源代码 */ - rResCode: string | undefined; - /** 维修工序代码 */ - rOpCode: number; - /** 解决方案代码 */ - solCode: string | undefined; - /** 责任别代码 */ - dutyCode: string | undefined; - /** 解决方案备注 */ - solMemo: string | undefined; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; +export interface IMenuListDto { + menuName: string | undefined; + isDefault: boolean; + isEnable: boolean; + isSystem: boolean; + isDeleted: boolean; + deleterUserId: string | undefined; + deletionTime: moment.Moment | undefined; lastModificationTime: moment.Moment | undefined; lastModifierUserId: string | undefined; creationTime: moment.Moment; creatorUserId: string | undefined; - id: number; + id: string; } -export class IcsTsErrorCodeEditDto implements IIcsTsErrorCodeEditDto { - key: string | undefined; - id: number | undefined; - /** 不良代码 */ - eCode: string | undefined; - /** 不良代码组代码 */ - ecgCode: string | undefined; - /** 维修主资料Id */ - tsId: number; - /** 产品序列号 */ - lotNo: string | undefined; - /** 产品序列号流水号 */ - lotNoSeq: number; - /** 产品主分类代码 */ - modelCode: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 工单代码 */ - moCode: string | undefined; - /** 工单流水号 */ - moSeq: number; - /** 备注 */ - memo: string | undefined; +export class MenuMatchRule implements IMenuMatchRule { + tag_id: string | undefined; + group_id: string | undefined; + sex: string | undefined; + country: string | undefined; + province: string | undefined; + city: string | undefined; + client_platform_type: string | undefined; + language: string | undefined; - constructor(data?: IIcsTsErrorCodeEditDto) { + constructor(data?: IMenuMatchRule) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -87057,109 +122516,198 @@ export class IcsTsErrorCodeEditDto implements IIcsTsErrorCodeEditDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; + this.tag_id = _data["tag_id"]; + this.group_id = _data["group_id"]; + this.sex = _data["sex"]; + this.country = _data["country"]; + this.province = _data["province"]; + this.city = _data["city"]; + this.client_platform_type = _data["client_platform_type"]; + this.language = _data["language"]; + } + } + + static fromJS(data: any): MenuMatchRule { + data = typeof data === 'object' ? data : {}; + let result = new MenuMatchRule(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["tag_id"] = this.tag_id; + data["group_id"] = this.group_id; + data["sex"] = this.sex; + data["country"] = this.country; + data["province"] = this.province; + data["city"] = this.city; + data["client_platform_type"] = this.client_platform_type; + data["language"] = this.language; + return data; + } + + clone(): MenuMatchRule { + const json = this.toJSON(); + let result = new MenuMatchRule(); + result.init(json); + return result; + } +} + +export interface IMenuMatchRule { + tag_id: string | undefined; + group_id: string | undefined; + sex: string | undefined; + country: string | undefined; + province: string | undefined; + city: string | undefined; + client_platform_type: string | undefined; + language: string | undefined; +} + +export class MenuTree implements IMenuTree { + parentId: string | undefined; + displayName: string | undefined; + sort: number; + menuArgs: MenuArgs; + type: MenuTypeEnum; + id: string; + + constructor(data?: IMenuTree) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.parentId = _data["parentId"]; + this.displayName = _data["displayName"]; + this.sort = _data["sort"]; + this.menuArgs = _data["menuArgs"] ? MenuArgs.fromJS(_data["menuArgs"]) : undefined; + this.type = _data["type"]; this.id = _data["id"]; - this.eCode = _data["eCode"]; - this.ecgCode = _data["ecgCode"]; - this.tsId = _data["tsId"]; - this.lotNo = _data["lotNo"]; - this.lotNoSeq = _data["lotNoSeq"]; - this.modelCode = _data["modelCode"]; - this.itemCode = _data["itemCode"]; - this.moCode = _data["moCode"]; - this.moSeq = _data["moSeq"]; - this.memo = _data["memo"]; } } - static fromJS(data: any): IcsTsErrorCodeEditDto { + static fromJS(data: any): MenuTree { data = typeof data === 'object' ? data : {}; - let result = new IcsTsErrorCodeEditDto(); + let result = new MenuTree(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; + data["parentId"] = this.parentId; + data["displayName"] = this.displayName; + data["sort"] = this.sort; + data["menuArgs"] = this.menuArgs ? this.menuArgs.toJSON() : undefined; + data["type"] = this.type; data["id"] = this.id; - data["eCode"] = this.eCode; - data["ecgCode"] = this.ecgCode; - data["tsId"] = this.tsId; - data["lotNo"] = this.lotNo; - data["lotNoSeq"] = this.lotNoSeq; - data["modelCode"] = this.modelCode; - data["itemCode"] = this.itemCode; - data["moCode"] = this.moCode; - data["moSeq"] = this.moSeq; - data["memo"] = this.memo; return data; } - clone(): IcsTsErrorCodeEditDto { + clone(): MenuTree { const json = this.toJSON(); - let result = new IcsTsErrorCodeEditDto(); + let result = new MenuTree(); result.init(json); return result; } } -export interface IIcsTsErrorCodeEditDto { - key: string | undefined; - id: number | undefined; - /** 不良代码 */ - eCode: string | undefined; - /** 不良代码组代码 */ - ecgCode: string | undefined; - /** 维修主资料Id */ - tsId: number; - /** 产品序列号 */ - lotNo: string | undefined; - /** 产品序列号流水号 */ - lotNoSeq: number; - /** 产品主分类代码 */ - modelCode: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 工单代码 */ - moCode: string | undefined; - /** 工单流水号 */ - moSeq: number; - /** 备注 */ - memo: string | undefined; +export interface IMenuTree { + parentId: string | undefined; + displayName: string | undefined; + sort: number; + menuArgs: MenuArgs; + type: MenuTypeEnum; + id: string; +} + +export enum MenuTypeEnum { + Group = "Group", + Item = "Item", +} + +export class MessageConfigEditDto implements IMessageConfigEditDto { + id: string | undefined; + tenantId: string | undefined; + configName: string | undefined; + pushChannelType: _definitions_PushChannelType; + configItem: string | undefined; + + constructor(data?: IMessageConfigEditDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.id = _data["id"]; + this.tenantId = _data["tenantId"]; + this.configName = _data["configName"]; + this.pushChannelType = _data["pushChannelType"]; + this.configItem = _data["configItem"]; + } + } + + static fromJS(data: any): MessageConfigEditDto { + data = typeof data === 'object' ? data : {}; + let result = new MessageConfigEditDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["id"] = this.id; + data["tenantId"] = this.tenantId; + data["configName"] = this.configName; + data["pushChannelType"] = this.pushChannelType; + data["configItem"] = this.configItem; + return data; + } + + clone(): MessageConfigEditDto { + const json = this.toJSON(); + let result = new MessageConfigEditDto(); + result.init(json); + return result; + } +} + +export interface IMessageConfigEditDto { + id: string | undefined; + tenantId: string | undefined; + configName: string | undefined; + pushChannelType: _definitions_PushChannelType; + configItem: string | undefined; } -export class IcsTsErrorCodeListDto implements IIcsTsErrorCodeListDto { - key: string | undefined; - /** 不良代码 */ - eCode: string | undefined; - /** 不良代码组代码 */ - ecgCode: string | undefined; - /** 维修主资料Id */ - tsId: number; - /** 产品序列号 */ - lotNo: string | undefined; - /** 产品序列号流水号 */ - lotNoSeq: number; - /** 产品主分类代码 */ - modelCode: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 工单代码 */ - moCode: string | undefined; - /** 工单流水号 */ - moSeq: number; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; +export class MessageConfigListDto implements IMessageConfigListDto { + tenantId: string | undefined; + configName: string | undefined; + pushChannelType: _definitions_PushChannelType; + configItem: string | undefined; + isDeleted: boolean; + deleterUserId: string | undefined; + deletionTime: moment.Moment | undefined; lastModificationTime: moment.Moment | undefined; lastModifierUserId: string | undefined; creationTime: moment.Moment; creatorUserId: string | undefined; - id: number; + id: string; - constructor(data?: IIcsTsErrorCodeListDto) { + constructor(data?: IMessageConfigListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -87170,19 +122718,13 @@ export class IcsTsErrorCodeListDto implements IIcsTsErrorCodeListDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.eCode = _data["eCode"]; - this.ecgCode = _data["ecgCode"]; - this.tsId = _data["tsId"]; - this.lotNo = _data["lotNo"]; - this.lotNoSeq = _data["lotNoSeq"]; - this.modelCode = _data["modelCode"]; - this.itemCode = _data["itemCode"]; - this.moCode = _data["moCode"]; - this.moSeq = _data["moSeq"]; - this.memo = _data["memo"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; + this.tenantId = _data["tenantId"]; + this.configName = _data["configName"]; + this.pushChannelType = _data["pushChannelType"]; + this.configItem = _data["configItem"]; + this.isDeleted = _data["isDeleted"]; + this.deleterUserId = _data["deleterUserId"]; + this.deletionTime = _data["deletionTime"] ? moment(_data["deletionTime"].toString()) : undefined; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; this.lastModifierUserId = _data["lastModifierUserId"]; this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; @@ -87191,28 +122733,22 @@ export class IcsTsErrorCodeListDto implements IIcsTsErrorCodeListDto { } } - static fromJS(data: any): IcsTsErrorCodeListDto { + static fromJS(data: any): MessageConfigListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsTsErrorCodeListDto(); + let result = new MessageConfigListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["eCode"] = this.eCode; - data["ecgCode"] = this.ecgCode; - data["tsId"] = this.tsId; - data["lotNo"] = this.lotNo; - data["lotNoSeq"] = this.lotNoSeq; - data["modelCode"] = this.modelCode; - data["itemCode"] = this.itemCode; - data["moCode"] = this.moCode; - data["moSeq"] = this.moSeq; - data["memo"] = this.memo; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; + data["tenantId"] = this.tenantId; + data["configName"] = this.configName; + data["pushChannelType"] = this.pushChannelType; + data["configItem"] = this.configItem; + data["isDeleted"] = this.isDeleted; + data["deleterUserId"] = this.deleterUserId; + data["deletionTime"] = this.deletionTime ? this.deletionTime.toISOString() : undefined; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; data["lastModifierUserId"] = this.lastModifierUserId; data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; @@ -87221,158 +122757,39 @@ export class IcsTsErrorCodeListDto implements IIcsTsErrorCodeListDto { return data; } - clone(): IcsTsErrorCodeListDto { + clone(): MessageConfigListDto { const json = this.toJSON(); - let result = new IcsTsErrorCodeListDto(); + let result = new MessageConfigListDto(); result.init(json); return result; } } -export interface IIcsTsErrorCodeListDto { - key: string | undefined; - /** 不良代码 */ - eCode: string | undefined; - /** 不良代码组代码 */ - ecgCode: string | undefined; - /** 维修主资料Id */ - tsId: number; - /** 产品序列号 */ - lotNo: string | undefined; - /** 产品序列号流水号 */ - lotNoSeq: number; - /** 产品主分类代码 */ - modelCode: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 工单代码 */ - moCode: string | undefined; - /** 工单流水号 */ - moSeq: number; - /** 备注 */ - memo: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; +export interface IMessageConfigListDto { + tenantId: string | undefined; + configName: string | undefined; + pushChannelType: _definitions_PushChannelType; + configItem: string | undefined; + isDeleted: boolean; + deleterUserId: string | undefined; + deletionTime: moment.Moment | undefined; lastModificationTime: moment.Moment | undefined; lastModifierUserId: string | undefined; creationTime: moment.Moment; creatorUserId: string | undefined; - id: number; + id: string; } -export class IcsTsListDto implements IIcsTsListDto { - key: string | undefined; - /** 产品当前序列号 */ - lotNo: string | undefined; - /** 产品序列号流水号 */ - lotSeq: number; - /** 工单代码 */ - moCode: string | undefined; - /** 工单流水号 */ - moSeq: number; - /** 转换前的产品序列号 */ - tLotNo: string | undefined; - /** 转换前的产品序列号流水号 */ - tLotSeq: number; - /** 第一个产品序列号 */ - sLotNo: string | undefined; - /** 第一个产品序列号流水号 */ - sLotSeq: number; - /** Card类型 */ - cardType: string | undefined; - /** 替换的产品序列号 */ - rrCard: string | undefined; - /** 产品主分类代码 */ - modelCode: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 送修工艺路线代码 */ - frmRouteCode: string | undefined; - /** 送修工序代码 */ - frmOpCode: string | undefined; - /** 送修工段代码 */ - frmSegCode: string | undefined; - /** 送修产线代码 */ - frmSsCode: string | undefined; - /** 送修资源代码 */ - frmResCode: string | undefined; - /** 班制代码 */ - shiftTypeCode: string | undefined; - /** 班次代码 */ - shiftCode: string | undefined; - /** 时段代码 */ - tpCode: string | undefined; - /** 工作天 */ - shiftDay: moment.Moment; - /** 送修人 */ - frmUser: string | undefined; - /** 送修备注 */ - frmMemo: string | undefined; - /** 送修时间 */ - frmTime: moment.Moment; - /** 送修来源类型 */ - frmInputType: string | undefined; - /** NG次数 */ - tsTimes: number; - /** 维修状态 */ - tsStatus: string | undefined; - /** 维修完成人 */ - tsUser: string | undefined; - /** 维修完成日期 */ - tsDate: moment.Moment; - /** 维修完成时间 */ - tsTime: string | undefined; - /** 维修备注 */ - tsMemo: string | undefined; - /** 确认资源代码 */ - cResCode: string | undefined; - /** 确认工序代码 */ - cOpCode: string | undefined; - /** 确认时间 */ - confirmUser: string | undefined; - /** 确认时间 */ - confirmTime: moment.Moment; - /** 回流工单代码 */ - refMoCode: string | undefined; - /** 回流工艺路线代码 */ - refRouteCode: string | undefined; - /** 回流工序代码 */ - refOpCode: string | undefined; - /** 交易状态 */ - transStatus: string | undefined; - /** 测试文件全路径 */ - tfFullPath: string | undefined; - /** 维修资源代码 */ - tsResCode: string | undefined; - /** 报废原因 */ - scrapCause: string | undefined; - /** 送修月份 */ - frmMonth: number; - /** 送修周 */ - frmWeek: number; - /** RMA单号 */ - rmaBillCode: string | undefined; - /** 普通工序和线外工序的工艺路线 */ - frmOutRouteCode: string | undefined; - /** 维修类型 */ - tsType: string | undefined; - /** 维修人 */ - tsRepairUser: string | undefined; - /** 维修时间 */ - tsRepairTime: moment.Moment; - /** 备注 */ - memo: string | undefined; - /** 回流资源代码 */ - refResCode: string | undefined; +export class MessageRecordListDto implements IMessageRecordListDto { + ruleName: string | undefined; + pushChannelType: string | undefined; + messageDetails: string | undefined; creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; creationTime: moment.Moment; creatorUserId: string | undefined; - id: number; + id: string; - constructor(data?: IIcsTsListDto) { + constructor(data?: IMessageRecordListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -87383,345 +122800,84 @@ export class IcsTsListDto implements IIcsTsListDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.lotNo = _data["lotNo"]; - this.lotSeq = _data["lotSeq"]; - this.moCode = _data["moCode"]; - this.moSeq = _data["moSeq"]; - this.tLotNo = _data["tLotNo"]; - this.tLotSeq = _data["tLotSeq"]; - this.sLotNo = _data["sLotNo"]; - this.sLotSeq = _data["sLotSeq"]; - this.cardType = _data["cardType"]; - this.rrCard = _data["rrCard"]; - this.modelCode = _data["modelCode"]; - this.itemCode = _data["itemCode"]; - this.frmRouteCode = _data["frmRouteCode"]; - this.frmOpCode = _data["frmOpCode"]; - this.frmSegCode = _data["frmSegCode"]; - this.frmSsCode = _data["frmSsCode"]; - this.frmResCode = _data["frmResCode"]; - this.shiftTypeCode = _data["shiftTypeCode"]; - this.shiftCode = _data["shiftCode"]; - this.tpCode = _data["tpCode"]; - this.shiftDay = _data["shiftDay"] ? moment(_data["shiftDay"].toString()) : undefined; - this.frmUser = _data["frmUser"]; - this.frmMemo = _data["frmMemo"]; - this.frmTime = _data["frmTime"] ? moment(_data["frmTime"].toString()) : undefined; - this.frmInputType = _data["frmInputType"]; - this.tsTimes = _data["tsTimes"]; - this.tsStatus = _data["tsStatus"]; - this.tsUser = _data["tsUser"]; - this.tsDate = _data["tsDate"] ? moment(_data["tsDate"].toString()) : undefined; - this.tsTime = _data["tsTime"]; - this.tsMemo = _data["tsMemo"]; - this.cResCode = _data["cResCode"]; - this.cOpCode = _data["cOpCode"]; - this.confirmUser = _data["confirmUser"]; - this.confirmTime = _data["confirmTime"] ? moment(_data["confirmTime"].toString()) : undefined; - this.refMoCode = _data["refMoCode"]; - this.refRouteCode = _data["refRouteCode"]; - this.refOpCode = _data["refOpCode"]; - this.transStatus = _data["transStatus"]; - this.tfFullPath = _data["tfFullPath"]; - this.tsResCode = _data["tsResCode"]; - this.scrapCause = _data["scrapCause"]; - this.frmMonth = _data["frmMonth"]; - this.frmWeek = _data["frmWeek"]; - this.rmaBillCode = _data["rmaBillCode"]; - this.frmOutRouteCode = _data["frmOutRouteCode"]; - this.tsType = _data["tsType"]; - this.tsRepairUser = _data["tsRepairUser"]; - this.tsRepairTime = _data["tsRepairTime"] ? moment(_data["tsRepairTime"].toString()) : undefined; - this.memo = _data["memo"]; - this.refResCode = _data["refResCode"]; + this.ruleName = _data["ruleName"]; + this.pushChannelType = _data["pushChannelType"]; + this.messageDetails = _data["messageDetails"]; this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; this.creatorUserId = _data["creatorUserId"]; this.id = _data["id"]; } } - static fromJS(data: any): IcsTsListDto { + static fromJS(data: any): MessageRecordListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsTsListDto(); + let result = new MessageRecordListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["lotNo"] = this.lotNo; - data["lotSeq"] = this.lotSeq; - data["moCode"] = this.moCode; - data["moSeq"] = this.moSeq; - data["tLotNo"] = this.tLotNo; - data["tLotSeq"] = this.tLotSeq; - data["sLotNo"] = this.sLotNo; - data["sLotSeq"] = this.sLotSeq; - data["cardType"] = this.cardType; - data["rrCard"] = this.rrCard; - data["modelCode"] = this.modelCode; - data["itemCode"] = this.itemCode; - data["frmRouteCode"] = this.frmRouteCode; - data["frmOpCode"] = this.frmOpCode; - data["frmSegCode"] = this.frmSegCode; - data["frmSsCode"] = this.frmSsCode; - data["frmResCode"] = this.frmResCode; - data["shiftTypeCode"] = this.shiftTypeCode; - data["shiftCode"] = this.shiftCode; - data["tpCode"] = this.tpCode; - data["shiftDay"] = this.shiftDay ? this.shiftDay.toISOString() : undefined; - data["frmUser"] = this.frmUser; - data["frmMemo"] = this.frmMemo; - data["frmTime"] = this.frmTime ? this.frmTime.toISOString() : undefined; - data["frmInputType"] = this.frmInputType; - data["tsTimes"] = this.tsTimes; - data["tsStatus"] = this.tsStatus; - data["tsUser"] = this.tsUser; - data["tsDate"] = this.tsDate ? this.tsDate.toISOString() : undefined; - data["tsTime"] = this.tsTime; - data["tsMemo"] = this.tsMemo; - data["cResCode"] = this.cResCode; - data["cOpCode"] = this.cOpCode; - data["confirmUser"] = this.confirmUser; - data["confirmTime"] = this.confirmTime ? this.confirmTime.toISOString() : undefined; - data["refMoCode"] = this.refMoCode; - data["refRouteCode"] = this.refRouteCode; - data["refOpCode"] = this.refOpCode; - data["transStatus"] = this.transStatus; - data["tfFullPath"] = this.tfFullPath; - data["tsResCode"] = this.tsResCode; - data["scrapCause"] = this.scrapCause; - data["frmMonth"] = this.frmMonth; - data["frmWeek"] = this.frmWeek; - data["rmaBillCode"] = this.rmaBillCode; - data["frmOutRouteCode"] = this.frmOutRouteCode; - data["tsType"] = this.tsType; - data["tsRepairUser"] = this.tsRepairUser; - data["tsRepairTime"] = this.tsRepairTime ? this.tsRepairTime.toISOString() : undefined; - data["memo"] = this.memo; - data["refResCode"] = this.refResCode; + data["ruleName"] = this.ruleName; + data["pushChannelType"] = this.pushChannelType; + data["messageDetails"] = this.messageDetails; data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; data["creatorUserId"] = this.creatorUserId; data["id"] = this.id; return data; } - clone(): IcsTsListDto { + clone(): MessageRecordListDto { const json = this.toJSON(); - let result = new IcsTsListDto(); + let result = new MessageRecordListDto(); result.init(json); return result; } } -export interface IIcsTsListDto { - key: string | undefined; - /** 产品当前序列号 */ - lotNo: string | undefined; - /** 产品序列号流水号 */ - lotSeq: number; - /** 工单代码 */ - moCode: string | undefined; - /** 工单流水号 */ - moSeq: number; - /** 转换前的产品序列号 */ - tLotNo: string | undefined; - /** 转换前的产品序列号流水号 */ - tLotSeq: number; - /** 第一个产品序列号 */ - sLotNo: string | undefined; - /** 第一个产品序列号流水号 */ - sLotSeq: number; - /** Card类型 */ - cardType: string | undefined; - /** 替换的产品序列号 */ - rrCard: string | undefined; - /** 产品主分类代码 */ - modelCode: string | undefined; - /** 产品代码 */ - itemCode: string | undefined; - /** 送修工艺路线代码 */ - frmRouteCode: string | undefined; - /** 送修工序代码 */ - frmOpCode: string | undefined; - /** 送修工段代码 */ - frmSegCode: string | undefined; - /** 送修产线代码 */ - frmSsCode: string | undefined; - /** 送修资源代码 */ - frmResCode: string | undefined; - /** 班制代码 */ - shiftTypeCode: string | undefined; - /** 班次代码 */ - shiftCode: string | undefined; - /** 时段代码 */ - tpCode: string | undefined; - /** 工作天 */ - shiftDay: moment.Moment; - /** 送修人 */ - frmUser: string | undefined; - /** 送修备注 */ - frmMemo: string | undefined; - /** 送修时间 */ - frmTime: moment.Moment; - /** 送修来源类型 */ - frmInputType: string | undefined; - /** NG次数 */ - tsTimes: number; - /** 维修状态 */ - tsStatus: string | undefined; - /** 维修完成人 */ - tsUser: string | undefined; - /** 维修完成日期 */ - tsDate: moment.Moment; - /** 维修完成时间 */ - tsTime: string | undefined; - /** 维修备注 */ - tsMemo: string | undefined; - /** 确认资源代码 */ - cResCode: string | undefined; - /** 确认工序代码 */ - cOpCode: string | undefined; - /** 确认时间 */ - confirmUser: string | undefined; - /** 确认时间 */ - confirmTime: moment.Moment; - /** 回流工单代码 */ - refMoCode: string | undefined; - /** 回流工艺路线代码 */ - refRouteCode: string | undefined; - /** 回流工序代码 */ - refOpCode: string | undefined; - /** 交易状态 */ - transStatus: string | undefined; - /** 测试文件全路径 */ - tfFullPath: string | undefined; - /** 维修资源代码 */ - tsResCode: string | undefined; - /** 报废原因 */ - scrapCause: string | undefined; - /** 送修月份 */ - frmMonth: number; - /** 送修周 */ - frmWeek: number; - /** RMA单号 */ - rmaBillCode: string | undefined; - /** 普通工序和线外工序的工艺路线 */ - frmOutRouteCode: string | undefined; - /** 维修类型 */ - tsType: string | undefined; - /** 维修人 */ - tsRepairUser: string | undefined; - /** 维修时间 */ - tsRepairTime: moment.Moment; - /** 备注 */ - memo: string | undefined; - /** 回流资源代码 */ - refResCode: string | undefined; +export interface IMessageRecordListDto { + ruleName: string | undefined; + pushChannelType: string | undefined; + messageDetails: string | undefined; creatorUserName: string | undefined; - lastModifierUserName: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; creationTime: moment.Moment; creatorUserId: string | undefined; - id: number; + id: string; } -export class IcsUser2OpEditDto implements IIcsUser2OpEditDto { - id: number | undefined; - /** 人员ID */ - userID: string | undefined; - /** 工序ID */ - opId: number; - /** 人员编码 */ - userCode: string | undefined; - /** 工序编码 */ - opCode: string | undefined; - /** 熟练程度 */ - level: string; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - userList: SelectItemExt2[]; - opList: SelectItemExt2[]; +export class MessageRuleEditDto implements IMessageRuleEditDto { + id: string | undefined; + tenantId: string | undefined; + ruleName: string | undefined; + messageRuleSettings: MessageRuleSettingsEditDto[] | undefined; - constructor(data?: IIcsUser2OpEditDto) { + constructor(data?: IMessageRuleEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) (this)[property] = (data)[property]; } } - if (!data) { - this.userList = []; - this.opList = []; - } } init(_data?: any) { if (_data) { this.id = _data["id"]; - this.userID = _data["userID"]; - this.opId = _data["opId"]; - this.userCode = _data["userCode"]; - this.opCode = _data["opCode"]; - this.level = _data["level"]; - this.memo = _data["memo"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - if (Array.isArray(_data["userList"])) { - this.userList = [] as any; - for (let item of _data["userList"]) - this.userList.push(SelectItemExt2.fromJS(item)); - } - if (Array.isArray(_data["opList"])) { - this.opList = [] as any; - for (let item of _data["opList"]) - this.opList.push(SelectItemExt2.fromJS(item)); + this.tenantId = _data["tenantId"]; + this.ruleName = _data["ruleName"]; + if (Array.isArray(_data["messageRuleSettings"])) { + this.messageRuleSettings = [] as any; + for (let item of _data["messageRuleSettings"]) + this.messageRuleSettings.push(MessageRuleSettingsEditDto.fromJS(item)); } } } - static fromJS(data: any): IcsUser2OpEditDto { + static fromJS(data: any): MessageRuleEditDto { data = typeof data === 'object' ? data : {}; - let result = new IcsUser2OpEditDto(); + let result = new MessageRuleEditDto(); result.init(data); return result; } @@ -87729,157 +122885,65 @@ export class IcsUser2OpEditDto implements IIcsUser2OpEditDto { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["id"] = this.id; - data["userID"] = this.userID; - data["opId"] = this.opId; - data["userCode"] = this.userCode; - data["opCode"] = this.opCode; - data["level"] = this.level; - data["memo"] = this.memo; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - if (Array.isArray(this.userList)) { - data["userList"] = []; - for (let item of this.userList) - data["userList"].push(item.toJSON()); - } - if (Array.isArray(this.opList)) { - data["opList"] = []; - for (let item of this.opList) - data["opList"].push(item.toJSON()); + data["tenantId"] = this.tenantId; + data["ruleName"] = this.ruleName; + if (Array.isArray(this.messageRuleSettings)) { + data["messageRuleSettings"] = []; + for (let item of this.messageRuleSettings) + data["messageRuleSettings"].push(item.toJSON()); } return data; } - clone(): IcsUser2OpEditDto { + clone(): MessageRuleEditDto { const json = this.toJSON(); - let result = new IcsUser2OpEditDto(); + let result = new MessageRuleEditDto(); result.init(json); return result; } } -export interface IIcsUser2OpEditDto { - id: number | undefined; - /** 人员ID */ - userID: string | undefined; - /** 工序ID */ - opId: number; - /** 人员编码 */ - userCode: string | undefined; - /** 工序编码 */ - opCode: string | undefined; - /** 熟练程度 */ - level: string; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - userList: SelectItemExt2[]; - opList: SelectItemExt2[]; +export interface IMessageRuleEditDto { + id: string | undefined; + tenantId: string | undefined; + ruleName: string | undefined; + messageRuleSettings: MessageRuleSettingsEditDto[] | undefined; } -export class IcsUser2OpListDto implements IIcsUser2OpListDto { - /** 人员ID */ - userID: string; - /** 工序ID */ - opId: number; - /** 人员编码 */ - userCode: string; - userName: string | undefined; - /** 工序编码 */ - opCode: string; - opName: string | undefined; - /** 熟练程度 */ - level: string; - levelName: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; +export class MessageRuleListDto implements IMessageRuleListDto { + tenantId: string | undefined; + ruleName: string | undefined; + messageRuleSettings: MessageRuleSettingsEditDto[] | undefined; + isDeleted: boolean; + deleterUserId: string | undefined; + deletionTime: moment.Moment | undefined; lastModificationTime: moment.Moment | undefined; lastModifierUserId: string | undefined; creationTime: moment.Moment; creatorUserId: string | undefined; - id: number; + id: string; - constructor(data?: IIcsUser2OpListDto) { + constructor(data?: IMessageRuleListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } - } - } - - init(_data?: any) { - if (_data) { - this.userID = _data["userID"]; - this.opId = _data["opId"]; - this.userCode = _data["userCode"]; - this.userName = _data["userName"]; - this.opCode = _data["opCode"]; - this.opName = _data["opName"]; - this.level = _data["level"]; - this.levelName = _data["levelName"]; - this.memo = _data["memo"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.tenantId = _data["tenantId"]; + this.ruleName = _data["ruleName"]; + if (Array.isArray(_data["messageRuleSettings"])) { + this.messageRuleSettings = [] as any; + for (let item of _data["messageRuleSettings"]) + this.messageRuleSettings.push(MessageRuleSettingsEditDto.fromJS(item)); + } + this.isDeleted = _data["isDeleted"]; + this.deleterUserId = _data["deleterUserId"]; + this.deletionTime = _data["deletionTime"] ? moment(_data["deletionTime"].toString()) : undefined; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; this.lastModifierUserId = _data["lastModifierUserId"]; this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; @@ -87888,36 +122952,25 @@ export class IcsUser2OpListDto implements IIcsUser2OpListDto { } } - static fromJS(data: any): IcsUser2OpListDto { + static fromJS(data: any): MessageRuleListDto { data = typeof data === 'object' ? data : {}; - let result = new IcsUser2OpListDto(); + let result = new MessageRuleListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["userID"] = this.userID; - data["opId"] = this.opId; - data["userCode"] = this.userCode; - data["userName"] = this.userName; - data["opCode"] = this.opCode; - data["opName"] = this.opName; - data["level"] = this.level; - data["levelName"] = this.levelName; - data["memo"] = this.memo; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; + data["tenantId"] = this.tenantId; + data["ruleName"] = this.ruleName; + if (Array.isArray(this.messageRuleSettings)) { + data["messageRuleSettings"] = []; + for (let item of this.messageRuleSettings) + data["messageRuleSettings"].push(item.toJSON()); + } + data["isDeleted"] = this.isDeleted; + data["deleterUserId"] = this.deleterUserId; + data["deletionTime"] = this.deletionTime ? this.deletionTime.toISOString() : undefined; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; data["lastModifierUserId"] = this.lastModifierUserId; data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; @@ -87926,67 +122979,35 @@ export class IcsUser2OpListDto implements IIcsUser2OpListDto { return data; } - clone(): IcsUser2OpListDto { + clone(): MessageRuleListDto { const json = this.toJSON(); - let result = new IcsUser2OpListDto(); + let result = new MessageRuleListDto(); result.init(json); return result; } } -export interface IIcsUser2OpListDto { - /** 人员ID */ - userID: string; - /** 工序ID */ - opId: number; - /** 人员编码 */ - userCode: string; - userName: string | undefined; - /** 工序编码 */ - opCode: string; - opName: string | undefined; - /** 熟练程度 */ - level: string; - levelName: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; - creatorUserName: string | undefined; - lastModifierUserName: string | undefined; +export interface IMessageRuleListDto { + tenantId: string | undefined; + ruleName: string | undefined; + messageRuleSettings: MessageRuleSettingsEditDto[] | undefined; + isDeleted: boolean; + deleterUserId: string | undefined; + deletionTime: moment.Moment | undefined; lastModificationTime: moment.Moment | undefined; lastModifierUserId: string | undefined; creationTime: moment.Moment; creatorUserId: string | undefined; - id: number; + id: string; } -/** 模拟登录输入 */ -export class ImpersonateInput implements IImpersonateInput { - /** 租户Id */ - tenantId: string | undefined; - /** 用户Id */ - userId: string | undefined; +export class MessageRuleSettingsEditDto implements IMessageRuleSettingsEditDto { + id: string | undefined; + pushChannelType: _definitions_PushChannelType; + messageTemplateId: string; + receivers: string | undefined; - constructor(data?: IImpersonateInput) { + constructor(data?: IMessageRuleSettingsEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -87997,49 +123018,54 @@ export class ImpersonateInput implements IImpersonateInput { init(_data?: any) { if (_data) { - this.tenantId = _data["tenantId"]; - this.userId = _data["userId"]; + this.id = _data["id"]; + this.pushChannelType = _data["pushChannelType"]; + this.messageTemplateId = _data["messageTemplateId"]; + this.receivers = _data["receivers"]; } } - static fromJS(data: any): ImpersonateInput { + static fromJS(data: any): MessageRuleSettingsEditDto { data = typeof data === 'object' ? data : {}; - let result = new ImpersonateInput(); + let result = new MessageRuleSettingsEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["tenantId"] = this.tenantId; - data["userId"] = this.userId; + data["id"] = this.id; + data["pushChannelType"] = this.pushChannelType; + data["messageTemplateId"] = this.messageTemplateId; + data["receivers"] = this.receivers; return data; } - clone(): ImpersonateInput { + clone(): MessageRuleSettingsEditDto { const json = this.toJSON(); - let result = new ImpersonateInput(); + let result = new MessageRuleSettingsEditDto(); result.init(json); return result; } } -/** 模拟登录输入 */ -export interface IImpersonateInput { - /** 租户Id */ - tenantId: string | undefined; - /** 用户Id */ - userId: string | undefined; +export interface IMessageRuleSettingsEditDto { + id: string | undefined; + pushChannelType: _definitions_PushChannelType; + messageTemplateId: string; + receivers: string | undefined; } -/** 模拟登录输出 */ -export class ImpersonateOutput implements IImpersonateOutput { - /** Token */ - impersonationToken: string | undefined; - /** 租户名称 */ - tenancyName: string | undefined; +export class MessageTemplateEditDto implements IMessageTemplateEditDto { + id: string | undefined; + tenantId: string | undefined; + templateName: string | undefined; + messageConfigId: string; + templateContent: string | undefined; + pushChannelType: _definitions_PushChannelType; + templateJson: string | undefined; - constructor(data?: IImpersonateOutput) { + constructor(data?: IMessageTemplateEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -88050,55 +123076,70 @@ export class ImpersonateOutput implements IImpersonateOutput { init(_data?: any) { if (_data) { - this.impersonationToken = _data["impersonationToken"]; - this.tenancyName = _data["tenancyName"]; + this.id = _data["id"]; + this.tenantId = _data["tenantId"]; + this.templateName = _data["templateName"]; + this.messageConfigId = _data["messageConfigId"]; + this.templateContent = _data["templateContent"]; + this.pushChannelType = _data["pushChannelType"]; + this.templateJson = _data["templateJson"]; } } - static fromJS(data: any): ImpersonateOutput { + static fromJS(data: any): MessageTemplateEditDto { data = typeof data === 'object' ? data : {}; - let result = new ImpersonateOutput(); + let result = new MessageTemplateEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["impersonationToken"] = this.impersonationToken; - data["tenancyName"] = this.tenancyName; + data["id"] = this.id; + data["tenantId"] = this.tenantId; + data["templateName"] = this.templateName; + data["messageConfigId"] = this.messageConfigId; + data["templateContent"] = this.templateContent; + data["pushChannelType"] = this.pushChannelType; + data["templateJson"] = this.templateJson; return data; } - clone(): ImpersonateOutput { + clone(): MessageTemplateEditDto { const json = this.toJSON(); - let result = new ImpersonateOutput(); + let result = new MessageTemplateEditDto(); result.init(json); return result; } } -/** 模拟登录输出 */ -export interface IImpersonateOutput { - /** Token */ - impersonationToken: string | undefined; - /** 租户名称 */ - tenancyName: string | undefined; +export interface IMessageTemplateEditDto { + id: string | undefined; + tenantId: string | undefined; + templateName: string | undefined; + messageConfigId: string; + templateContent: string | undefined; + pushChannelType: _definitions_PushChannelType; + templateJson: string | undefined; } -/** 模拟登录认证结果模型 */ -export class ImpersonatedAuthenticateResultModel implements IImpersonatedAuthenticateResultModel { - /** 访问令牌 */ - accessToken: string | undefined; - /** 加密访问令牌 */ - encryptedAccessToken: string | undefined; - /** 过期时间 */ - expireInSeconds: number; - /** 刷新令牌 */ - refreshToken: string | undefined; - /** 刷新令牌过期时间 */ - refreshTokenExpireInSeconds: number; +export class MessageTemplateListDto implements IMessageTemplateListDto { + tenantId: string | undefined; + templateName: string | undefined; + messageConfigId: string; + pushChannelType: _definitions_PushChannelType; + templateContent: string | undefined; + templateJson: string | undefined; + isDeleted: boolean; + deleterUserId: string | undefined; + deletionTime: moment.Moment | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: string; - constructor(data?: IImpersonatedAuthenticateResultModel) { + constructor(data?: IMessageTemplateListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -88109,63 +123150,104 @@ export class ImpersonatedAuthenticateResultModel implements IImpersonatedAuthent init(_data?: any) { if (_data) { - this.accessToken = _data["accessToken"]; - this.encryptedAccessToken = _data["encryptedAccessToken"]; - this.expireInSeconds = _data["expireInSeconds"]; - this.refreshToken = _data["refreshToken"]; - this.refreshTokenExpireInSeconds = _data["refreshTokenExpireInSeconds"]; + this.tenantId = _data["tenantId"]; + this.templateName = _data["templateName"]; + this.messageConfigId = _data["messageConfigId"]; + this.pushChannelType = _data["pushChannelType"]; + this.templateContent = _data["templateContent"]; + this.templateJson = _data["templateJson"]; + this.isDeleted = _data["isDeleted"]; + this.deleterUserId = _data["deleterUserId"]; + this.deletionTime = _data["deletionTime"] ? moment(_data["deletionTime"].toString()) : undefined; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): ImpersonatedAuthenticateResultModel { + static fromJS(data: any): MessageTemplateListDto { data = typeof data === 'object' ? data : {}; - let result = new ImpersonatedAuthenticateResultModel(); + let result = new MessageTemplateListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["accessToken"] = this.accessToken; - data["encryptedAccessToken"] = this.encryptedAccessToken; - data["expireInSeconds"] = this.expireInSeconds; - data["refreshToken"] = this.refreshToken; - data["refreshTokenExpireInSeconds"] = this.refreshTokenExpireInSeconds; + data["tenantId"] = this.tenantId; + data["templateName"] = this.templateName; + data["messageConfigId"] = this.messageConfigId; + data["pushChannelType"] = this.pushChannelType; + data["templateContent"] = this.templateContent; + data["templateJson"] = this.templateJson; + data["isDeleted"] = this.isDeleted; + data["deleterUserId"] = this.deleterUserId; + data["deletionTime"] = this.deletionTime ? this.deletionTime.toISOString() : undefined; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): ImpersonatedAuthenticateResultModel { + clone(): MessageTemplateListDto { const json = this.toJSON(); - let result = new ImpersonatedAuthenticateResultModel(); + let result = new MessageTemplateListDto(); result.init(json); return result; } } -/** 模拟登录认证结果模型 */ -export interface IImpersonatedAuthenticateResultModel { - /** 访问令牌 */ - accessToken: string | undefined; - /** 加密访问令牌 */ - encryptedAccessToken: string | undefined; - /** 过期时间 */ - expireInSeconds: number; - /** 刷新令牌 */ - refreshToken: string | undefined; - /** 刷新令牌过期时间 */ - refreshTokenExpireInSeconds: number; +export interface IMessageTemplateListDto { + tenantId: string | undefined; + templateName: string | undefined; + messageConfigId: string; + pushChannelType: _definitions_PushChannelType; + templateContent: string | undefined; + templateJson: string | undefined; + isDeleted: boolean; + deleterUserId: string | undefined; + deletionTime: moment.Moment | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: string; } -/** 收入统计 */ -export class IncomeStastistic implements IIncomeStastistic { - /** 标签 */ - label: string | undefined; - /** 日期 */ - date: moment.Moment; - /** 金额 */ - amount: number; +export class MoHourCountDetailDto implements IMoHourCountDetailDto { + key: string | undefined; + id: number; + projectCode: string | undefined; + moCode: string | undefined; + moSeq: number; + moType: string | undefined; + lotNo: string | undefined; + lotQty: number; + itemCode: string | undefined; + itemName: string | undefined; + routeCode: string | undefined; + routeDesc: string | undefined; + opCode: string | undefined; + opDesc: string | undefined; + eqpCode: string | undefined; + eqpName: string | undefined; + eqpModel: string | undefined; + action: string | undefined; + ngTimes: number | undefined; + beginUserId: string | undefined; + receiveUserName: string | undefined; + endUserId: string | undefined; + finishUserName: string | undefined; + segCode: string | undefined; + sTime: number | undefined; + sumTime: number | undefined; + creationTime: moment.Moment | undefined; - constructor(data?: IIncomeStastistic) { + constructor(data?: IMoHourCountDetailDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -88176,51 +123258,123 @@ export class IncomeStastistic implements IIncomeStastistic { init(_data?: any) { if (_data) { - this.label = _data["label"]; - this.date = _data["date"] ? moment(_data["date"].toString()) : undefined; - this.amount = _data["amount"]; + this.key = _data["key"]; + this.id = _data["id"]; + this.projectCode = _data["projectCode"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.moType = _data["moType"]; + this.lotNo = _data["lotNo"]; + this.lotQty = _data["lotQty"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.routeCode = _data["routeCode"]; + this.routeDesc = _data["routeDesc"]; + this.opCode = _data["opCode"]; + this.opDesc = _data["opDesc"]; + this.eqpCode = _data["eqpCode"]; + this.eqpName = _data["eqpName"]; + this.eqpModel = _data["eqpModel"]; + this.action = _data["action"]; + this.ngTimes = _data["ngTimes"]; + this.beginUserId = _data["beginUserId"]; + this.receiveUserName = _data["receiveUserName"]; + this.endUserId = _data["endUserId"]; + this.finishUserName = _data["finishUserName"]; + this.segCode = _data["segCode"]; + this.sTime = _data["sTime"]; + this.sumTime = _data["sumTime"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; } } - static fromJS(data: any): IncomeStastistic { + static fromJS(data: any): MoHourCountDetailDto { data = typeof data === 'object' ? data : {}; - let result = new IncomeStastistic(); + let result = new MoHourCountDetailDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["label"] = this.label; - data["date"] = this.date ? this.date.toISOString() : undefined; - data["amount"] = this.amount; + data["key"] = this.key; + data["id"] = this.id; + data["projectCode"] = this.projectCode; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["moType"] = this.moType; + data["lotNo"] = this.lotNo; + data["lotQty"] = this.lotQty; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["routeCode"] = this.routeCode; + data["routeDesc"] = this.routeDesc; + data["opCode"] = this.opCode; + data["opDesc"] = this.opDesc; + data["eqpCode"] = this.eqpCode; + data["eqpName"] = this.eqpName; + data["eqpModel"] = this.eqpModel; + data["action"] = this.action; + data["ngTimes"] = this.ngTimes; + data["beginUserId"] = this.beginUserId; + data["receiveUserName"] = this.receiveUserName; + data["endUserId"] = this.endUserId; + data["finishUserName"] = this.finishUserName; + data["segCode"] = this.segCode; + data["sTime"] = this.sTime; + data["sumTime"] = this.sumTime; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; return data; } - clone(): IncomeStastistic { + clone(): MoHourCountDetailDto { const json = this.toJSON(); - let result = new IncomeStastistic(); + let result = new MoHourCountDetailDto(); result.init(json); return result; } } -/** 收入统计 */ -export interface IIncomeStastistic { - /** 标签 */ - label: string | undefined; - /** 日期 */ - date: moment.Moment; - /** 金额 */ - amount: number; +export interface IMoHourCountDetailDto { + key: string | undefined; + id: number; + projectCode: string | undefined; + moCode: string | undefined; + moSeq: number; + moType: string | undefined; + lotNo: string | undefined; + lotQty: number; + itemCode: string | undefined; + itemName: string | undefined; + routeCode: string | undefined; + routeDesc: string | undefined; + opCode: string | undefined; + opDesc: string | undefined; + eqpCode: string | undefined; + eqpName: string | undefined; + eqpModel: string | undefined; + action: string | undefined; + ngTimes: number | undefined; + beginUserId: string | undefined; + receiveUserName: string | undefined; + endUserId: string | undefined; + finishUserName: string | undefined; + segCode: string | undefined; + sTime: number | undefined; + sumTime: number | undefined; + creationTime: moment.Moment | undefined; } -/** 验证租户名称是否可用 */ -export class IsTenantAvailableInput implements IIsTenantAvailableInput { - /** 租户名称 */ - tenancyName: string; +export class MomentTestDto implements IMomentTestDto { + accurateToDate: moment.Moment; + accurateToTime: moment.Moment; + yymmdd: moment.Moment; + ddmmyyyy: moment.Moment; + yyyymm: moment.Moment; + startTime: moment.Moment; + endTime: moment.Moment; - constructor(data?: IIsTenantAvailableInput) { + constructor(data?: IMomentTestDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -88231,44 +123385,58 @@ export class IsTenantAvailableInput implements IIsTenantAvailableInput { init(_data?: any) { if (_data) { - this.tenancyName = _data["tenancyName"]; + this.accurateToDate = _data["accurateToDate"] ? moment(_data["accurateToDate"].toString()) : undefined; + this.accurateToTime = _data["accurateToTime"] ? moment(_data["accurateToTime"].toString()) : undefined; + this.yymmdd = _data["yymmdd"] ? moment(_data["yymmdd"].toString()) : undefined; + this.ddmmyyyy = _data["ddmmyyyy"] ? moment(_data["ddmmyyyy"].toString()) : undefined; + this.yyyymm = _data["yyyymm"] ? moment(_data["yyyymm"].toString()) : undefined; + this.startTime = _data["startTime"] ? moment(_data["startTime"].toString()) : undefined; + this.endTime = _data["endTime"] ? moment(_data["endTime"].toString()) : undefined; } } - static fromJS(data: any): IsTenantAvailableInput { + static fromJS(data: any): MomentTestDto { data = typeof data === 'object' ? data : {}; - let result = new IsTenantAvailableInput(); + let result = new MomentTestDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["tenancyName"] = this.tenancyName; + data["accurateToDate"] = this.accurateToDate ? this.accurateToDate.toISOString() : undefined; + data["accurateToTime"] = this.accurateToTime ? this.accurateToTime.toISOString() : undefined; + data["yymmdd"] = this.yymmdd ? this.yymmdd.toISOString() : undefined; + data["ddmmyyyy"] = this.ddmmyyyy ? this.ddmmyyyy.toISOString() : undefined; + data["yyyymm"] = this.yyyymm ? this.yyyymm.toISOString() : undefined; + data["startTime"] = this.startTime ? this.startTime.toISOString() : undefined; + data["endTime"] = this.endTime ? this.endTime.toISOString() : undefined; return data; } - clone(): IsTenantAvailableInput { + clone(): MomentTestDto { const json = this.toJSON(); - let result = new IsTenantAvailableInput(); + let result = new MomentTestDto(); result.init(json); return result; } } -/** 验证租户名称是否可用 */ -export interface IIsTenantAvailableInput { - /** 租户名称 */ - tenancyName: string; +export interface IMomentTestDto { + accurateToDate: moment.Moment; + accurateToTime: moment.Moment; + yymmdd: moment.Moment; + ddmmyyyy: moment.Moment; + yyyymm: moment.Moment; + startTime: moment.Moment; + endTime: moment.Moment; } -/** 租户校验输出 */ -export class IsTenantAvailableOutput implements IIsTenantAvailableOutput { - state: TenantAvailabilityState; - /** 租户Id */ - tenantId: string | undefined; +export class MoveOrganizationUnitInput implements IMoveOrganizationUnitInput { + id: string | undefined; + newParentId: string | undefined; - constructor(data?: IIsTenantAvailableOutput) { + constructor(data?: IMoveOrganizationUnitInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -88279,53 +123447,43 @@ export class IsTenantAvailableOutput implements IIsTenantAvailableOutput { init(_data?: any) { if (_data) { - this.state = _data["state"]; - this.tenantId = _data["tenantId"]; + this.id = _data["id"]; + this.newParentId = _data["newParentId"]; } } - static fromJS(data: any): IsTenantAvailableOutput { + static fromJS(data: any): MoveOrganizationUnitInput { data = typeof data === 'object' ? data : {}; - let result = new IsTenantAvailableOutput(); + let result = new MoveOrganizationUnitInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["state"] = this.state; - data["tenantId"] = this.tenantId; + data["id"] = this.id; + data["newParentId"] = this.newParentId; return data; } - clone(): IsTenantAvailableOutput { + clone(): MoveOrganizationUnitInput { const json = this.toJSON(); - let result = new IsTenantAvailableOutput(); + let result = new MoveOrganizationUnitInput(); result.init(json); return result; } } -/** 租户校验输出 */ -export interface IIsTenantAvailableOutput { - state: TenantAvailabilityState; - /** 租户Id */ - tenantId: string | undefined; +export interface IMoveOrganizationUnitInput { + id: string | undefined; + newParentId: string | undefined; } -export class ItemModel2CheckGroupImportDto implements IItemModel2CheckGroupImportDto { - /** 类别编码 */ - itemModelCode: string; - /** 检验类型编码 */ - checkGroupCode: string; - /** 类型维度 */ - itemModelType: string; - /** 次序 */ - seq: number; - /** 备注 */ - memo: string | undefined; +export class MoveSysFilesInput implements IMoveSysFilesInput { + id: string; + newParentId: string | undefined; - constructor(data?: IItemModel2CheckGroupImportDto) { + constructor(data?: IMoveSysFilesInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -88336,57 +123494,43 @@ export class ItemModel2CheckGroupImportDto implements IItemModel2CheckGroupImpor init(_data?: any) { if (_data) { - this.itemModelCode = _data["itemModelCode"]; - this.checkGroupCode = _data["checkGroupCode"]; - this.itemModelType = _data["itemModelType"]; - this.seq = _data["seq"]; - this.memo = _data["memo"]; + this.id = _data["id"]; + this.newParentId = _data["newParentId"]; } } - static fromJS(data: any): ItemModel2CheckGroupImportDto { + static fromJS(data: any): MoveSysFilesInput { data = typeof data === 'object' ? data : {}; - let result = new ItemModel2CheckGroupImportDto(); + let result = new MoveSysFilesInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["itemModelCode"] = this.itemModelCode; - data["checkGroupCode"] = this.checkGroupCode; - data["itemModelType"] = this.itemModelType; - data["seq"] = this.seq; - data["memo"] = this.memo; + data["id"] = this.id; + data["newParentId"] = this.newParentId; return data; } - clone(): ItemModel2CheckGroupImportDto { + clone(): MoveSysFilesInput { const json = this.toJSON(); - let result = new ItemModel2CheckGroupImportDto(); + let result = new MoveSysFilesInput(); result.init(json); return result; } } -export interface IItemModel2CheckGroupImportDto { - /** 类别编码 */ - itemModelCode: string; - /** 检验类型编码 */ - checkGroupCode: string; - /** 类型维度 */ - itemModelType: string; - /** 次序 */ - seq: number; - /** 备注 */ - memo: string | undefined; +export interface IMoveSysFilesInput { + id: string; + newParentId: string | undefined; } -export class KeyValuePairOfStringIEnumerableOfString implements IKeyValuePairOfStringIEnumerableOfString { - key: string | undefined; - value: string[] | undefined; +export class MoveTenantsToAnotherEditionDto implements IMoveTenantsToAnotherEditionDto { + sourceEditionId: string | undefined; + targetEditionId: string | undefined; - constructor(data?: IKeyValuePairOfStringIEnumerableOfString) { + constructor(data?: IMoveTenantsToAnotherEditionDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -88397,51 +123541,70 @@ export class KeyValuePairOfStringIEnumerableOfString implements IKeyValuePairOfS init(_data?: any) { if (_data) { - this.key = _data["key"]; - if (Array.isArray(_data["value"])) { - this.value = [] as any; - for (let item of _data["value"]) - this.value.push(item); - } + this.sourceEditionId = _data["sourceEditionId"]; + this.targetEditionId = _data["targetEditionId"]; } } - static fromJS(data: any): KeyValuePairOfStringIEnumerableOfString { + static fromJS(data: any): MoveTenantsToAnotherEditionDto { data = typeof data === 'object' ? data : {}; - let result = new KeyValuePairOfStringIEnumerableOfString(); + let result = new MoveTenantsToAnotherEditionDto(); result.init(data); return result; } toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - if (Array.isArray(this.value)) { - data["value"] = []; - for (let item of this.value) - data["value"].push(item); - } + data = typeof data === 'object' ? data : {}; + data["sourceEditionId"] = this.sourceEditionId; + data["targetEditionId"] = this.targetEditionId; return data; } - clone(): KeyValuePairOfStringIEnumerableOfString { + clone(): MoveTenantsToAnotherEditionDto { const json = this.toJSON(); - let result = new KeyValuePairOfStringIEnumerableOfString(); + let result = new MoveTenantsToAnotherEditionDto(); result.init(json); return result; } } -export interface IKeyValuePairOfStringIEnumerableOfString { - key: string | undefined; - value: string[] | undefined; +export interface IMoveTenantsToAnotherEditionDto { + sourceEditionId: string | undefined; + targetEditionId: string | undefined; } -export class KeyValuePairOfStringInt32 implements IKeyValuePairOfStringInt32 { +export enum MultiTenancySides { + Tenant = "Tenant", + Host = "Host", +} + +export class NCRDto implements INCRDto { key: string | undefined; - value: number; + id: number; + ncrDocNo: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + moCode: string | undefined; + lotNo: string | undefined; + lotQty: number; + creationTime: string | undefined; + ncrType: string | undefined; + ncrStatus: string | undefined; + errorType: string | undefined; + projectCode: string | undefined; + contentDesc: string | undefined; + opCode: string | undefined; + treatWay: string | undefined; + reasonDesc: string | undefined; + realCauseAnalysis: string | undefined; + createDep: string | undefined; + qty: string | undefined; + ngQty: string | undefined; + urgent: string | undefined; + closeUserName: string | undefined; + closeTime: string | undefined; - constructor(data?: IKeyValuePairOfStringInt32) { + constructor(data?: INCRDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -88453,13 +123616,35 @@ export class KeyValuePairOfStringInt32 implements IKeyValuePairOfStringInt32 { init(_data?: any) { if (_data) { this.key = _data["key"]; - this.value = _data["value"]; + this.id = _data["id"]; + this.ncrDocNo = _data["ncrDocNo"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.moCode = _data["moCode"]; + this.lotNo = _data["lotNo"]; + this.lotQty = _data["lotQty"]; + this.creationTime = _data["creationTime"]; + this.ncrType = _data["ncrType"]; + this.ncrStatus = _data["ncrStatus"]; + this.errorType = _data["errorType"]; + this.projectCode = _data["projectCode"]; + this.contentDesc = _data["contentDesc"]; + this.opCode = _data["opCode"]; + this.treatWay = _data["treatWay"]; + this.reasonDesc = _data["reasonDesc"]; + this.realCauseAnalysis = _data["realCauseAnalysis"]; + this.createDep = _data["createDep"]; + this.qty = _data["qty"]; + this.ngQty = _data["ngQty"]; + this.urgent = _data["urgent"]; + this.closeUserName = _data["closeUserName"]; + this.closeTime = _data["closeTime"]; } } - static fromJS(data: any): KeyValuePairOfStringInt32 { + static fromJS(data: any): NCRDto { data = typeof data === 'object' ? data : {}; - let result = new KeyValuePairOfStringInt32(); + let result = new NCRDto(); result.init(data); return result; } @@ -88467,28 +123652,72 @@ export class KeyValuePairOfStringInt32 implements IKeyValuePairOfStringInt32 { toJSON(data?: any) { data = typeof data === 'object' ? data : {}; data["key"] = this.key; - data["value"] = this.value; + data["id"] = this.id; + data["ncrDocNo"] = this.ncrDocNo; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["moCode"] = this.moCode; + data["lotNo"] = this.lotNo; + data["lotQty"] = this.lotQty; + data["creationTime"] = this.creationTime; + data["ncrType"] = this.ncrType; + data["ncrStatus"] = this.ncrStatus; + data["errorType"] = this.errorType; + data["projectCode"] = this.projectCode; + data["contentDesc"] = this.contentDesc; + data["opCode"] = this.opCode; + data["treatWay"] = this.treatWay; + data["reasonDesc"] = this.reasonDesc; + data["realCauseAnalysis"] = this.realCauseAnalysis; + data["createDep"] = this.createDep; + data["qty"] = this.qty; + data["ngQty"] = this.ngQty; + data["urgent"] = this.urgent; + data["closeUserName"] = this.closeUserName; + data["closeTime"] = this.closeTime; return data; } - clone(): KeyValuePairOfStringInt32 { + clone(): NCRDto { const json = this.toJSON(); - let result = new KeyValuePairOfStringInt32(); + let result = new NCRDto(); result.init(json); return result; } } -export interface IKeyValuePairOfStringInt32 { +export interface INCRDto { key: string | undefined; - value: number; + id: number; + ncrDocNo: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + moCode: string | undefined; + lotNo: string | undefined; + lotQty: number; + creationTime: string | undefined; + ncrType: string | undefined; + ncrStatus: string | undefined; + errorType: string | undefined; + projectCode: string | undefined; + contentDesc: string | undefined; + opCode: string | undefined; + treatWay: string | undefined; + reasonDesc: string | undefined; + realCauseAnalysis: string | undefined; + createDep: string | undefined; + qty: string | undefined; + ngQty: string | undefined; + urgent: string | undefined; + closeUserName: string | undefined; + closeTime: string | undefined; } -export class KeyValuePairOfStringString implements IKeyValuePairOfStringString { - key: string | undefined; +export class NameValueDto implements INameValueDto { + name: string | undefined; value: string | undefined; - constructor(data?: IKeyValuePairOfStringString) { + constructor(data?: INameValueDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -88499,50 +123728,59 @@ export class KeyValuePairOfStringString implements IKeyValuePairOfStringString { init(_data?: any) { if (_data) { - this.key = _data["key"]; + this.name = _data["name"]; this.value = _data["value"]; } } - static fromJS(data: any): KeyValuePairOfStringString { + static fromJS(data: any): NameValueDto { data = typeof data === 'object' ? data : {}; - let result = new KeyValuePairOfStringString(); + let result = new NameValueDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; + data["name"] = this.name; data["value"] = this.value; return data; } - clone(): KeyValuePairOfStringString { + clone(): NameValueDto { const json = this.toJSON(); - let result = new KeyValuePairOfStringString(); + let result = new NameValueDto(); result.init(json); return result; } } -export interface IKeyValuePairOfStringString { - key: string | undefined; +export interface INameValueDto { + name: string | undefined; value: string | undefined; } -/** 语言编辑 */ -export class LanguageEditDto implements ILanguageEditDto { - /** 编号 */ - id: string | undefined; - /** 名称 */ - name: string; - /** 图标 */ - icon: string | undefined; - /** 是否启用 */ - isEnabled: boolean; +export class NcrScrapQtyDto implements INcrScrapQtyDto { + key: string | undefined; + id: number; + moCode: string | undefined; + moSeq: number; + itemCode: string | undefined; + itemName: string | undefined; + lotNo: string | undefined; + lotSeq: number; + ngQty: number; + segCode: string | undefined; + segName: string | undefined; + ssCode: string | undefined; + ssName: string | undefined; + crewName: string | undefined; + conformUserName: string | undefined; + conformTime: moment.Moment; + badReason: string | undefined; + memo: string | undefined; - constructor(data?: ILanguageEditDto) { + constructor(data?: INcrScrapQtyDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -88553,58 +123791,90 @@ export class LanguageEditDto implements ILanguageEditDto { init(_data?: any) { if (_data) { + this.key = _data["key"]; this.id = _data["id"]; - this.name = _data["name"]; - this.icon = _data["icon"]; - this.isEnabled = _data["isEnabled"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.lotNo = _data["lotNo"]; + this.lotSeq = _data["lotSeq"]; + this.ngQty = _data["ngQty"]; + this.segCode = _data["segCode"]; + this.segName = _data["segName"]; + this.ssCode = _data["ssCode"]; + this.ssName = _data["ssName"]; + this.crewName = _data["crewName"]; + this.conformUserName = _data["conformUserName"]; + this.conformTime = _data["conformTime"] ? moment(_data["conformTime"].toString()) : undefined; + this.badReason = _data["badReason"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): LanguageEditDto { + static fromJS(data: any): NcrScrapQtyDto { data = typeof data === 'object' ? data : {}; - let result = new LanguageEditDto(); + let result = new NcrScrapQtyDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["key"] = this.key; data["id"] = this.id; - data["name"] = this.name; - data["icon"] = this.icon; - data["isEnabled"] = this.isEnabled; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["lotNo"] = this.lotNo; + data["lotSeq"] = this.lotSeq; + data["ngQty"] = this.ngQty; + data["segCode"] = this.segCode; + data["segName"] = this.segName; + data["ssCode"] = this.ssCode; + data["ssName"] = this.ssName; + data["crewName"] = this.crewName; + data["conformUserName"] = this.conformUserName; + data["conformTime"] = this.conformTime ? this.conformTime.toISOString() : undefined; + data["badReason"] = this.badReason; + data["memo"] = this.memo; return data; } - clone(): LanguageEditDto { + clone(): NcrScrapQtyDto { const json = this.toJSON(); - let result = new LanguageEditDto(); + let result = new NcrScrapQtyDto(); result.init(json); return result; } } -/** 语言编辑 */ -export interface ILanguageEditDto { - /** 编号 */ - id: string | undefined; - /** 名称 */ - name: string; - /** 图标 */ - icon: string | undefined; - /** 是否启用 */ - isEnabled: boolean; +export interface INcrScrapQtyDto { + key: string | undefined; + id: number; + moCode: string | undefined; + moSeq: number; + itemCode: string | undefined; + itemName: string | undefined; + lotNo: string | undefined; + lotSeq: number; + ngQty: number; + segCode: string | undefined; + segName: string | undefined; + ssCode: string | undefined; + ssName: string | undefined; + crewName: string | undefined; + conformUserName: string | undefined; + conformTime: moment.Moment; + badReason: string | undefined; + memo: string | undefined; } -export class LanguageInfo implements ILanguageInfo { - name: string | undefined; - displayName: string | undefined; - icon: string | undefined; - isDefault: boolean; - isDisabled: boolean; - readonly isRightToLeft: boolean; +export class NewsInfo implements INewsInfo { + list: NewsInfoItem[] | undefined; - constructor(data?: ILanguageInfo) { + constructor(data?: INewsInfo) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -88615,72 +123885,53 @@ export class LanguageInfo implements ILanguageInfo { init(_data?: any) { if (_data) { - this.name = _data["name"]; - this.displayName = _data["displayName"]; - this.icon = _data["icon"]; - this.isDefault = _data["isDefault"]; - this.isDisabled = _data["isDisabled"]; - (this).isRightToLeft = _data["isRightToLeft"]; + if (Array.isArray(_data["list"])) { + this.list = [] as any; + for (let item of _data["list"]) + this.list.push(NewsInfoItem.fromJS(item)); + } } } - static fromJS(data: any): LanguageInfo { + static fromJS(data: any): NewsInfo { data = typeof data === 'object' ? data : {}; - let result = new LanguageInfo(); + let result = new NewsInfo(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["name"] = this.name; - data["displayName"] = this.displayName; - data["icon"] = this.icon; - data["isDefault"] = this.isDefault; - data["isDisabled"] = this.isDisabled; - data["isRightToLeft"] = this.isRightToLeft; + if (Array.isArray(this.list)) { + data["list"] = []; + for (let item of this.list) + data["list"].push(item.toJSON()); + } return data; } - clone(): LanguageInfo { + clone(): NewsInfo { const json = this.toJSON(); - let result = new LanguageInfo(); + let result = new NewsInfo(); result.init(json); return result; } } -export interface ILanguageInfo { - name: string | undefined; - displayName: string | undefined; - icon: string | undefined; - isDefault: boolean; - isDisabled: boolean; - isRightToLeft: boolean; +export interface INewsInfo { + list: NewsInfoItem[] | undefined; } -/** 语言列表 */ -export class LanguageListDto implements ILanguageListDto { - /** 租户Id */ - tenantId: string | undefined; - /** 名称 */ - name: string | undefined; - /** 显示名称 */ - displayName: string | undefined; - /** 图标 */ - icon: string | undefined; - /** 是否禁用 */ - isDisabled: boolean; - isDeleted: boolean; - deleterUserId: string | undefined; - deletionTime: moment.Moment | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string | undefined; +export class NewsInfoItem implements INewsInfoItem { + title: string | undefined; + author: string | undefined; + digest: string | undefined; + show_cover: number; + cover_url: string | undefined; + content_url: string | undefined; + source_url: string | undefined; - constructor(data?: ILanguageListDto) { + constructor(data?: INewsInfoItem) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -88691,87 +123942,58 @@ export class LanguageListDto implements ILanguageListDto { init(_data?: any) { if (_data) { - this.tenantId = _data["tenantId"]; - this.name = _data["name"]; - this.displayName = _data["displayName"]; - this.icon = _data["icon"]; - this.isDisabled = _data["isDisabled"]; - this.isDeleted = _data["isDeleted"]; - this.deleterUserId = _data["deleterUserId"]; - this.deletionTime = _data["deletionTime"] ? moment(_data["deletionTime"].toString()) : undefined; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + this.title = _data["title"]; + this.author = _data["author"]; + this.digest = _data["digest"]; + this.show_cover = _data["show_cover"]; + this.cover_url = _data["cover_url"]; + this.content_url = _data["content_url"]; + this.source_url = _data["source_url"]; } } - static fromJS(data: any): LanguageListDto { + static fromJS(data: any): NewsInfoItem { data = typeof data === 'object' ? data : {}; - let result = new LanguageListDto(); + let result = new NewsInfoItem(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["tenantId"] = this.tenantId; - data["name"] = this.name; - data["displayName"] = this.displayName; - data["icon"] = this.icon; - data["isDisabled"] = this.isDisabled; - data["isDeleted"] = this.isDeleted; - data["deleterUserId"] = this.deleterUserId; - data["deletionTime"] = this.deletionTime ? this.deletionTime.toISOString() : undefined; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + data["title"] = this.title; + data["author"] = this.author; + data["digest"] = this.digest; + data["show_cover"] = this.show_cover; + data["cover_url"] = this.cover_url; + data["content_url"] = this.content_url; + data["source_url"] = this.source_url; return data; } - clone(): LanguageListDto { + clone(): NewsInfoItem { const json = this.toJSON(); - let result = new LanguageListDto(); + let result = new NewsInfoItem(); result.init(json); return result; } } -/** 语言列表 */ -export interface ILanguageListDto { - /** 租户Id */ - tenantId: string | undefined; - /** 名称 */ - name: string | undefined; - /** 显示名称 */ - displayName: string | undefined; - /** 图标 */ - icon: string | undefined; - /** 是否禁用 */ - isDisabled: boolean; - isDeleted: boolean; - deleterUserId: string | undefined; - deletionTime: moment.Moment | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string | undefined; +export interface INewsInfoItem { + title: string | undefined; + author: string | undefined; + digest: string | undefined; + show_cover: number; + cover_url: string | undefined; + content_url: string | undefined; + source_url: string | undefined; } -/** 语言文本列表 */ -export class LanguageTextListDto implements ILanguageTextListDto { - /** 键 */ - key: string | undefined; - /** 原始值 */ - baseValue: string | undefined; - /** 目标值 */ - targetValue: string | undefined; +export class NotificationData implements INotificationData { + readonly type: string | undefined; + properties: { [key: string]: any; } | undefined; - constructor(data?: ILanguageTextListDto) { + constructor(data?: INotificationData) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -88782,59 +124004,63 @@ export class LanguageTextListDto implements ILanguageTextListDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.baseValue = _data["baseValue"]; - this.targetValue = _data["targetValue"]; + (this).type = _data["type"]; + if (_data["properties"]) { + this.properties = {} as any; + for (let key in _data["properties"]) { + if (_data["properties"].hasOwnProperty(key)) + (this.properties)[key] = _data["properties"][key]; + } + } } } - static fromJS(data: any): LanguageTextListDto { + static fromJS(data: any): NotificationData { data = typeof data === 'object' ? data : {}; - let result = new LanguageTextListDto(); + let result = new NotificationData(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["baseValue"] = this.baseValue; - data["targetValue"] = this.targetValue; + data["type"] = this.type; + if (this.properties) { + data["properties"] = {}; + for (let key in this.properties) { + if (this.properties.hasOwnProperty(key)) + (data["properties"])[key] = (this.properties)[key]; + } + } return data; } - clone(): LanguageTextListDto { + clone(): NotificationData { const json = this.toJSON(); - let result = new LanguageTextListDto(); + let result = new NotificationData(); result.init(json); return result; } } -/** 语言文本列表 */ -export interface ILanguageTextListDto { - /** 键 */ - key: string | undefined; - /** 原始值 */ - baseValue: string | undefined; - /** 目标值 */ - targetValue: string | undefined; +export interface INotificationData { + type: string | undefined; + properties: { [key: string]: any; } | undefined; } -/** Ldap设置 */ -export class LdapSettingsEditDto implements ILdapSettingsEditDto { - /** 模块启用 */ - isModuleEnabled: boolean; - /** 启用 */ - isEnabled: boolean; - /** 域 */ - domain: string | undefined; - /** 用户名 */ - userName: string | undefined; - /** 密码 */ - password: string | undefined; +export enum NotificationSeverity { + Info = "Info", + Success = "Success", + Warn = "Warn", + Error = "Error", + Fatal = "Fatal", +} - constructor(data?: ILdapSettingsEditDto) { +export class NotificationSubscriptionDto implements INotificationSubscriptionDto { + name: string; + isSubscribed: boolean; + + constructor(data?: INotificationSubscriptionDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -88845,63 +124071,45 @@ export class LdapSettingsEditDto implements ILdapSettingsEditDto { init(_data?: any) { if (_data) { - this.isModuleEnabled = _data["isModuleEnabled"]; - this.isEnabled = _data["isEnabled"]; - this.domain = _data["domain"]; - this.userName = _data["userName"]; - this.password = _data["password"]; + this.name = _data["name"]; + this.isSubscribed = _data["isSubscribed"]; } } - static fromJS(data: any): LdapSettingsEditDto { + static fromJS(data: any): NotificationSubscriptionDto { data = typeof data === 'object' ? data : {}; - let result = new LdapSettingsEditDto(); + let result = new NotificationSubscriptionDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["isModuleEnabled"] = this.isModuleEnabled; - data["isEnabled"] = this.isEnabled; - data["domain"] = this.domain; - data["userName"] = this.userName; - data["password"] = this.password; + data["name"] = this.name; + data["isSubscribed"] = this.isSubscribed; return data; } - clone(): LdapSettingsEditDto { + clone(): NotificationSubscriptionDto { const json = this.toJSON(); - let result = new LdapSettingsEditDto(); + let result = new NotificationSubscriptionDto(); result.init(json); return result; } } -/** Ldap设置 */ -export interface ILdapSettingsEditDto { - /** 模块启用 */ - isModuleEnabled: boolean; - /** 启用 */ - isEnabled: boolean; - /** 域 */ - domain: string | undefined; - /** 用户名 */ - userName: string | undefined; - /** 密码 */ - password: string | undefined; +export interface INotificationSubscriptionDto { + name: string; + isSubscribed: boolean; } -/** 链接到用户 */ -export class LinkToUserInput implements ILinkToUserInput { - /** 租户名称 */ - tenancyName: string | undefined; - /** 用户名或邮箱地址 */ - usernameOrEmailAddress: string; - /** 密码 */ - password: string; +export class NotificationSubscriptionWithDisplayNameDto implements INotificationSubscriptionWithDisplayNameDto { + displayName: string | undefined; + description: string | undefined; + name: string; + isSubscribed: boolean; - constructor(data?: ILinkToUserInput) { + constructor(data?: INotificationSubscriptionWithDisplayNameDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -88912,56 +124120,49 @@ export class LinkToUserInput implements ILinkToUserInput { init(_data?: any) { if (_data) { - this.tenancyName = _data["tenancyName"]; - this.usernameOrEmailAddress = _data["usernameOrEmailAddress"]; - this.password = _data["password"]; + this.displayName = _data["displayName"]; + this.description = _data["description"]; + this.name = _data["name"]; + this.isSubscribed = _data["isSubscribed"]; } } - static fromJS(data: any): LinkToUserInput { + static fromJS(data: any): NotificationSubscriptionWithDisplayNameDto { data = typeof data === 'object' ? data : {}; - let result = new LinkToUserInput(); + let result = new NotificationSubscriptionWithDisplayNameDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["tenancyName"] = this.tenancyName; - data["usernameOrEmailAddress"] = this.usernameOrEmailAddress; - data["password"] = this.password; + data["displayName"] = this.displayName; + data["description"] = this.description; + data["name"] = this.name; + data["isSubscribed"] = this.isSubscribed; return data; } - clone(): LinkToUserInput { + clone(): NotificationSubscriptionWithDisplayNameDto { const json = this.toJSON(); - let result = new LinkToUserInput(); + let result = new NotificationSubscriptionWithDisplayNameDto(); result.init(json); return result; } } -/** 链接到用户 */ -export interface ILinkToUserInput { - /** 租户名称 */ - tenancyName: string | undefined; - /** 用户名或邮箱地址 */ - usernameOrEmailAddress: string; - /** 密码 */ - password: string; +export interface INotificationSubscriptionWithDisplayNameDto { + displayName: string | undefined; + description: string | undefined; + name: string; + isSubscribed: boolean; } -/** 链接用户 */ -export class LinkedUserDto implements ILinkedUserDto { - /** 租户编号 */ - tenantId: string | undefined; - /** 租户名称 */ - tenancyName: string | undefined; - /** 用户名 */ - username: string | undefined; - id: string | undefined; +export class Oid implements IOid { + value: string | undefined; + friendlyName: string | undefined; - constructor(data?: ILinkedUserDto) { + constructor(data?: IOid) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -88972,52 +124173,58 @@ export class LinkedUserDto implements ILinkedUserDto { init(_data?: any) { if (_data) { - this.tenantId = _data["tenantId"]; - this.tenancyName = _data["tenancyName"]; - this.username = _data["username"]; - this.id = _data["id"]; + this.value = _data["value"]; + this.friendlyName = _data["friendlyName"]; } } - static fromJS(data: any): LinkedUserDto { + static fromJS(data: any): Oid { data = typeof data === 'object' ? data : {}; - let result = new LinkedUserDto(); + let result = new Oid(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["tenantId"] = this.tenantId; - data["tenancyName"] = this.tenancyName; - data["username"] = this.username; - data["id"] = this.id; + data["value"] = this.value; + data["friendlyName"] = this.friendlyName; return data; } - clone(): LinkedUserDto { + clone(): Oid { const json = this.toJSON(); - let result = new LinkedUserDto(); + let result = new Oid(); result.init(json); return result; } } -/** 链接用户 */ -export interface ILinkedUserDto { - /** 租户编号 */ - tenantId: string | undefined; - /** 租户名称 */ - tenancyName: string | undefined; - /** 用户名 */ - username: string | undefined; - id: string | undefined; +export interface IOid { + value: string | undefined; + friendlyName: string | undefined; } -export class ListResultDtoOfChatMessageDto implements IListResultDtoOfChatMessageDto { - items: ChatMessageDto[] | undefined; +export enum OpenTypeEnum { + Group = "Group", + Component = "Component", + Iframe = "Iframe", + Outer = "Outer", +} - constructor(data?: IListResultDtoOfChatMessageDto) { +export class OrganizationUnitListDto implements IOrganizationUnitListDto { + parentId: string | undefined; + code: string | undefined; + displayName: string | undefined; + memberCount: number; + roleCount: number; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: string | undefined; + + constructor(data?: IOrganizationUnitListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -89028,47 +124235,69 @@ export class ListResultDtoOfChatMessageDto implements IListResultDtoOfChatMessag init(_data?: any) { if (_data) { - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(ChatMessageDto.fromJS(item)); - } + this.parentId = _data["parentId"]; + this.code = _data["code"]; + this.displayName = _data["displayName"]; + this.memberCount = _data["memberCount"]; + this.roleCount = _data["roleCount"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): ListResultDtoOfChatMessageDto { + static fromJS(data: any): OrganizationUnitListDto { data = typeof data === 'object' ? data : {}; - let result = new ListResultDtoOfChatMessageDto(); + let result = new OrganizationUnitListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["parentId"] = this.parentId; + data["code"] = this.code; + data["displayName"] = this.displayName; + data["memberCount"] = this.memberCount; + data["roleCount"] = this.roleCount; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): ListResultDtoOfChatMessageDto { + clone(): OrganizationUnitListDto { const json = this.toJSON(); - let result = new ListResultDtoOfChatMessageDto(); + let result = new OrganizationUnitListDto(); result.init(json); return result; } } -export interface IListResultDtoOfChatMessageDto { - items: ChatMessageDto[] | undefined; +export interface IOrganizationUnitListDto { + parentId: string | undefined; + code: string | undefined; + displayName: string | undefined; + memberCount: number; + roleCount: number; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: string | undefined; } -export class ListResultDtoOfColumnItemDto implements IListResultDtoOfColumnItemDto { - items: ColumnItemDto[] | undefined; +export class OrganizationUnitRoleListDto implements IOrganizationUnitRoleListDto { + displayName: string | undefined; + name: string | undefined; + addedTime: moment.Moment; + id: string | undefined; - constructor(data?: IListResultDtoOfColumnItemDto) { + constructor(data?: IOrganizationUnitRoleListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -89079,47 +124308,50 @@ export class ListResultDtoOfColumnItemDto implements IListResultDtoOfColumnItemD init(_data?: any) { if (_data) { - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(ColumnItemDto.fromJS(item)); - } + this.displayName = _data["displayName"]; + this.name = _data["name"]; + this.addedTime = _data["addedTime"] ? moment(_data["addedTime"].toString()) : undefined; + this.id = _data["id"]; } } - static fromJS(data: any): ListResultDtoOfColumnItemDto { + static fromJS(data: any): OrganizationUnitRoleListDto { data = typeof data === 'object' ? data : {}; - let result = new ListResultDtoOfColumnItemDto(); + let result = new OrganizationUnitRoleListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["displayName"] = this.displayName; + data["name"] = this.name; + data["addedTime"] = this.addedTime ? this.addedTime.toISOString() : undefined; + data["id"] = this.id; return data; } - clone(): ListResultDtoOfColumnItemDto { + clone(): OrganizationUnitRoleListDto { const json = this.toJSON(); - let result = new ListResultDtoOfColumnItemDto(); + let result = new OrganizationUnitRoleListDto(); result.init(json); return result; } } -export interface IListResultDtoOfColumnItemDto { - items: ColumnItemDto[] | undefined; +export interface IOrganizationUnitRoleListDto { + displayName: string | undefined; + name: string | undefined; + addedTime: moment.Moment; + id: string | undefined; } -export class ListResultDtoOfComboboxItemDtoTOfInt32 implements IListResultDtoOfComboboxItemDtoTOfInt32 { - items: ComboboxItemDtoTOfInt32[] | undefined; +export class OrganizationUnitUserListDto implements IOrganizationUnitUserListDto { + userName: string | undefined; + addedTime: moment.Moment; + id: string | undefined; - constructor(data?: IListResultDtoOfComboboxItemDtoTOfInt32) { + constructor(data?: IOrganizationUnitUserListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -89130,47 +124362,49 @@ export class ListResultDtoOfComboboxItemDtoTOfInt32 implements IListResultDtoOfC init(_data?: any) { if (_data) { - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(ComboboxItemDtoTOfInt32.fromJS(item)); - } + this.userName = _data["userName"]; + this.addedTime = _data["addedTime"] ? moment(_data["addedTime"].toString()) : undefined; + this.id = _data["id"]; } } - static fromJS(data: any): ListResultDtoOfComboboxItemDtoTOfInt32 { + static fromJS(data: any): OrganizationUnitUserListDto { data = typeof data === 'object' ? data : {}; - let result = new ListResultDtoOfComboboxItemDtoTOfInt32(); + let result = new OrganizationUnitUserListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["userName"] = this.userName; + data["addedTime"] = this.addedTime ? this.addedTime.toISOString() : undefined; + data["id"] = this.id; return data; } - clone(): ListResultDtoOfComboboxItemDtoTOfInt32 { + clone(): OrganizationUnitUserListDto { const json = this.toJSON(); - let result = new ListResultDtoOfComboboxItemDtoTOfInt32(); + let result = new OrganizationUnitUserListDto(); result.init(json); return result; } } -export interface IListResultDtoOfComboboxItemDtoTOfInt32 { - items: ComboboxItemDtoTOfInt32[] | undefined; +export interface IOrganizationUnitUserListDto { + userName: string | undefined; + addedTime: moment.Moment; + id: string | undefined; } -export class ListResultDtoOfComboboxItemDtoTOfString implements IListResultDtoOfComboboxItemDtoTOfString { - items: ComboboxItemDtoTOfString[] | undefined; +export class PageFilterDto implements IPageFilterDto { + id: string | undefined; + pageFilterName: string | undefined; + pageFilterElements: PageFilterElementDto[] | undefined; + layout: string | undefined; + labelAlign: string | undefined; - constructor(data?: IListResultDtoOfComboboxItemDtoTOfString) { + constructor(data?: IPageFilterDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -89181,47 +124415,71 @@ export class ListResultDtoOfComboboxItemDtoTOfString implements IListResultDtoOf init(_data?: any) { if (_data) { - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(ComboboxItemDtoTOfString.fromJS(item)); + this.id = _data["id"]; + this.pageFilterName = _data["pageFilterName"]; + if (Array.isArray(_data["pageFilterElements"])) { + this.pageFilterElements = [] as any; + for (let item of _data["pageFilterElements"]) + this.pageFilterElements.push(PageFilterElementDto.fromJS(item)); } + this.layout = _data["layout"]; + this.labelAlign = _data["labelAlign"]; } } - static fromJS(data: any): ListResultDtoOfComboboxItemDtoTOfString { + static fromJS(data: any): PageFilterDto { data = typeof data === 'object' ? data : {}; - let result = new ListResultDtoOfComboboxItemDtoTOfString(); + let result = new PageFilterDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); + data["id"] = this.id; + data["pageFilterName"] = this.pageFilterName; + if (Array.isArray(this.pageFilterElements)) { + data["pageFilterElements"] = []; + for (let item of this.pageFilterElements) + data["pageFilterElements"].push(item.toJSON()); } + data["layout"] = this.layout; + data["labelAlign"] = this.labelAlign; return data; } - clone(): ListResultDtoOfComboboxItemDtoTOfString { + clone(): PageFilterDto { const json = this.toJSON(); - let result = new ListResultDtoOfComboboxItemDtoTOfString(); + let result = new PageFilterDto(); result.init(json); return result; } } -export interface IListResultDtoOfComboboxItemDtoTOfString { - items: ComboboxItemDtoTOfString[] | undefined; +export interface IPageFilterDto { + id: string | undefined; + pageFilterName: string | undefined; + pageFilterElements: PageFilterElementDto[] | undefined; + layout: string | undefined; + labelAlign: string | undefined; } -export class ListResultDtoOfEditionListDto implements IListResultDtoOfEditionListDto { - items: EditionListDto[] | undefined; +export class PageFilterElementDto implements IPageFilterElementDto { + id: string | undefined; + pageFilterId: string; + sortNum: number; + field: string | undefined; + filterTitle: string | undefined; + filterWidth: number; + queryType: string | undefined; + componentName: string | undefined; + skipValueIsNull: boolean; + args: { [key: string]: any; } | undefined; + valueChange: string[] | undefined; + isAdvanced: boolean; + ifShow: boolean; - constructor(data?: IListResultDtoOfEditionListDto) { + constructor(data?: IPageFilterElementDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -89232,47 +124490,111 @@ export class ListResultDtoOfEditionListDto implements IListResultDtoOfEditionLis init(_data?: any) { if (_data) { - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(EditionListDto.fromJS(item)); + this.id = _data["id"]; + this.pageFilterId = _data["pageFilterId"]; + this.sortNum = _data["sortNum"]; + this.field = _data["field"]; + this.filterTitle = _data["filterTitle"]; + this.filterWidth = _data["filterWidth"]; + this.queryType = _data["queryType"]; + this.componentName = _data["componentName"]; + this.skipValueIsNull = _data["skipValueIsNull"]; + if (_data["args"]) { + this.args = {} as any; + for (let key in _data["args"]) { + if (_data["args"].hasOwnProperty(key)) + (this.args)[key] = _data["args"][key]; + } + } + if (Array.isArray(_data["valueChange"])) { + this.valueChange = [] as any; + for (let item of _data["valueChange"]) + this.valueChange.push(item); } + this.isAdvanced = _data["isAdvanced"]; + this.ifShow = _data["ifShow"]; } } - static fromJS(data: any): ListResultDtoOfEditionListDto { + static fromJS(data: any): PageFilterElementDto { data = typeof data === 'object' ? data : {}; - let result = new ListResultDtoOfEditionListDto(); + let result = new PageFilterElementDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); + data["id"] = this.id; + data["pageFilterId"] = this.pageFilterId; + data["sortNum"] = this.sortNum; + data["field"] = this.field; + data["filterTitle"] = this.filterTitle; + data["filterWidth"] = this.filterWidth; + data["queryType"] = this.queryType; + data["componentName"] = this.componentName; + data["skipValueIsNull"] = this.skipValueIsNull; + if (this.args) { + data["args"] = {}; + for (let key in this.args) { + if (this.args.hasOwnProperty(key)) + (data["args"])[key] = (this.args)[key]; + } + } + if (Array.isArray(this.valueChange)) { + data["valueChange"] = []; + for (let item of this.valueChange) + data["valueChange"].push(item); } + data["isAdvanced"] = this.isAdvanced; + data["ifShow"] = this.ifShow; return data; } - clone(): ListResultDtoOfEditionListDto { + clone(): PageFilterElementDto { const json = this.toJSON(); - let result = new ListResultDtoOfEditionListDto(); + let result = new PageFilterElementDto(); result.init(json); return result; } } -export interface IListResultDtoOfEditionListDto { - items: EditionListDto[] | undefined; +export interface IPageFilterElementDto { + id: string | undefined; + pageFilterId: string; + sortNum: number; + field: string | undefined; + filterTitle: string | undefined; + filterWidth: number; + queryType: string | undefined; + componentName: string | undefined; + skipValueIsNull: boolean; + args: { [key: string]: any; } | undefined; + valueChange: string[] | undefined; + isAdvanced: boolean; + ifShow: boolean; } -export class ListResultDtoOfFlatPermissionWithLevelDto implements IListResultDtoOfFlatPermissionWithLevelDto { - items: FlatPermissionWithLevelDto[] | undefined; +export class PageFilterItemDto implements IPageFilterItemDto { + order: number; + label: string | undefined; + componentName: string | undefined; + args: { [key: string]: any; } | undefined; + valueChange: string[] | undefined; + enabled: boolean; + width: number; + xsWidth: number | undefined; + smWidth: number | undefined; + mdWidth: number | undefined; + lgWidth: number | undefined; + xlWidth: number | undefined; + xxlWidth: number | undefined; + field: string | undefined; + value: string | undefined; + operator: QueryOperator; + skipValueIsNull: boolean; - constructor(data?: IListResultDtoOfFlatPermissionWithLevelDto) { + constructor(data?: IPageFilterItemDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -89283,47 +124605,108 @@ export class ListResultDtoOfFlatPermissionWithLevelDto implements IListResultDto init(_data?: any) { if (_data) { - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(FlatPermissionWithLevelDto.fromJS(item)); + this.order = _data["order"]; + this.label = _data["label"]; + this.componentName = _data["componentName"]; + if (_data["args"]) { + this.args = {} as any; + for (let key in _data["args"]) { + if (_data["args"].hasOwnProperty(key)) + (this.args)[key] = _data["args"][key]; + } + } + if (Array.isArray(_data["valueChange"])) { + this.valueChange = [] as any; + for (let item of _data["valueChange"]) + this.valueChange.push(item); } + this.enabled = _data["enabled"]; + this.width = _data["width"]; + this.xsWidth = _data["xsWidth"]; + this.smWidth = _data["smWidth"]; + this.mdWidth = _data["mdWidth"]; + this.lgWidth = _data["lgWidth"]; + this.xlWidth = _data["xlWidth"]; + this.xxlWidth = _data["xxlWidth"]; + this.field = _data["field"]; + this.value = _data["value"]; + this.operator = _data["operator"]; + this.skipValueIsNull = _data["skipValueIsNull"]; } } - static fromJS(data: any): ListResultDtoOfFlatPermissionWithLevelDto { + static fromJS(data: any): PageFilterItemDto { data = typeof data === 'object' ? data : {}; - let result = new ListResultDtoOfFlatPermissionWithLevelDto(); + let result = new PageFilterItemDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); + data["order"] = this.order; + data["label"] = this.label; + data["componentName"] = this.componentName; + if (this.args) { + data["args"] = {}; + for (let key in this.args) { + if (this.args.hasOwnProperty(key)) + (data["args"])[key] = (this.args)[key]; + } + } + if (Array.isArray(this.valueChange)) { + data["valueChange"] = []; + for (let item of this.valueChange) + data["valueChange"].push(item); } + data["enabled"] = this.enabled; + data["width"] = this.width; + data["xsWidth"] = this.xsWidth; + data["smWidth"] = this.smWidth; + data["mdWidth"] = this.mdWidth; + data["lgWidth"] = this.lgWidth; + data["xlWidth"] = this.xlWidth; + data["xxlWidth"] = this.xxlWidth; + data["field"] = this.field; + data["value"] = this.value; + data["operator"] = this.operator; + data["skipValueIsNull"] = this.skipValueIsNull; return data; } - clone(): ListResultDtoOfFlatPermissionWithLevelDto { + clone(): PageFilterItemDto { const json = this.toJSON(); - let result = new ListResultDtoOfFlatPermissionWithLevelDto(); + let result = new PageFilterItemDto(); result.init(json); return result; } } -export interface IListResultDtoOfFlatPermissionWithLevelDto { - items: FlatPermissionWithLevelDto[] | undefined; +export interface IPageFilterItemDto { + order: number; + label: string | undefined; + componentName: string | undefined; + args: { [key: string]: any; } | undefined; + valueChange: string[] | undefined; + enabled: boolean; + width: number; + xsWidth: number | undefined; + smWidth: number | undefined; + mdWidth: number | undefined; + lgWidth: number | undefined; + xlWidth: number | undefined; + xxlWidth: number | undefined; + field: string | undefined; + value: string | undefined; + operator: QueryOperator; + skipValueIsNull: boolean; } -export class ListResultDtoOfHostCacheDto implements IListResultDtoOfHostCacheDto { - items: HostCacheDto[] | undefined; +export class PagedResultDtoOfApkManagementListDto implements IPagedResultDtoOfApkManagementListDto { + totalCount: number; + items: ApkManagementListDto[] | undefined; - constructor(data?: IListResultDtoOfHostCacheDto) { + constructor(data?: IPagedResultDtoOfApkManagementListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -89334,23 +124717,25 @@ export class ListResultDtoOfHostCacheDto implements IListResultDtoOfHostCacheDto init(_data?: any) { if (_data) { + this.totalCount = _data["totalCount"]; if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(HostCacheDto.fromJS(item)); + this.items.push(ApkManagementListDto.fromJS(item)); } } } - static fromJS(data: any): ListResultDtoOfHostCacheDto { + static fromJS(data: any): PagedResultDtoOfApkManagementListDto { data = typeof data === 'object' ? data : {}; - let result = new ListResultDtoOfHostCacheDto(); + let result = new PagedResultDtoOfApkManagementListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["totalCount"] = this.totalCount; if (Array.isArray(this.items)) { data["items"] = []; for (let item of this.items) @@ -89359,22 +124744,24 @@ export class ListResultDtoOfHostCacheDto implements IListResultDtoOfHostCacheDto return data; } - clone(): ListResultDtoOfHostCacheDto { + clone(): PagedResultDtoOfApkManagementListDto { const json = this.toJSON(); - let result = new ListResultDtoOfHostCacheDto(); + let result = new PagedResultDtoOfApkManagementListDto(); result.init(json); return result; } } -export interface IListResultDtoOfHostCacheDto { - items: HostCacheDto[] | undefined; +export interface IPagedResultDtoOfApkManagementListDto { + totalCount: number; + items: ApkManagementListDto[] | undefined; } -export class ListResultDtoOfLinkedUserDto implements IListResultDtoOfLinkedUserDto { - items: LinkedUserDto[] | undefined; +export class PagedResultDtoOfAuditLogListDto implements IPagedResultDtoOfAuditLogListDto { + totalCount: number; + items: AuditLogListDto[] | undefined; - constructor(data?: IListResultDtoOfLinkedUserDto) { + constructor(data?: IPagedResultDtoOfAuditLogListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -89385,23 +124772,25 @@ export class ListResultDtoOfLinkedUserDto implements IListResultDtoOfLinkedUserD init(_data?: any) { if (_data) { + this.totalCount = _data["totalCount"]; if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(LinkedUserDto.fromJS(item)); + this.items.push(AuditLogListDto.fromJS(item)); } } } - static fromJS(data: any): ListResultDtoOfLinkedUserDto { + static fromJS(data: any): PagedResultDtoOfAuditLogListDto { data = typeof data === 'object' ? data : {}; - let result = new ListResultDtoOfLinkedUserDto(); + let result = new PagedResultDtoOfAuditLogListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["totalCount"] = this.totalCount; if (Array.isArray(this.items)) { data["items"] = []; for (let item of this.items) @@ -89410,22 +124799,24 @@ export class ListResultDtoOfLinkedUserDto implements IListResultDtoOfLinkedUserD return data; } - clone(): ListResultDtoOfLinkedUserDto { + clone(): PagedResultDtoOfAuditLogListDto { const json = this.toJSON(); - let result = new ListResultDtoOfLinkedUserDto(); + let result = new PagedResultDtoOfAuditLogListDto(); result.init(json); return result; } } -export interface IListResultDtoOfLinkedUserDto { - items: LinkedUserDto[] | undefined; +export interface IPagedResultDtoOfAuditLogListDto { + totalCount: number; + items: AuditLogListDto[] | undefined; } -export class ListResultDtoOfNameValueDto implements IListResultDtoOfNameValueDto { - items: NameValueDto[] | undefined; +export class PagedResultDtoOfBigDataListDto implements IPagedResultDtoOfBigDataListDto { + totalCount: number; + items: BigDataListDto[] | undefined; - constructor(data?: IListResultDtoOfNameValueDto) { + constructor(data?: IPagedResultDtoOfBigDataListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -89436,23 +124827,25 @@ export class ListResultDtoOfNameValueDto implements IListResultDtoOfNameValueDto init(_data?: any) { if (_data) { + this.totalCount = _data["totalCount"]; if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(NameValueDto.fromJS(item)); + this.items.push(BigDataListDto.fromJS(item)); } } } - static fromJS(data: any): ListResultDtoOfNameValueDto { + static fromJS(data: any): PagedResultDtoOfBigDataListDto { data = typeof data === 'object' ? data : {}; - let result = new ListResultDtoOfNameValueDto(); + let result = new PagedResultDtoOfBigDataListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["totalCount"] = this.totalCount; if (Array.isArray(this.items)) { data["items"] = []; for (let item of this.items) @@ -89461,22 +124854,24 @@ export class ListResultDtoOfNameValueDto implements IListResultDtoOfNameValueDto return data; } - clone(): ListResultDtoOfNameValueDto { + clone(): PagedResultDtoOfBigDataListDto { const json = this.toJSON(); - let result = new ListResultDtoOfNameValueDto(); + let result = new PagedResultDtoOfBigDataListDto(); result.init(json); return result; } } -export interface IListResultDtoOfNameValueDto { - items: NameValueDto[] | undefined; +export interface IPagedResultDtoOfBigDataListDto { + totalCount: number; + items: BigDataListDto[] | undefined; } -export class ListResultDtoOfOrganizationUnitListDto implements IListResultDtoOfOrganizationUnitListDto { - items: OrganizationUnitListDto[] | undefined; +export class PagedResultDtoOfCommodityListDto implements IPagedResultDtoOfCommodityListDto { + totalCount: number; + items: CommodityListDto[] | undefined; - constructor(data?: IListResultDtoOfOrganizationUnitListDto) { + constructor(data?: IPagedResultDtoOfCommodityListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -89487,23 +124882,25 @@ export class ListResultDtoOfOrganizationUnitListDto implements IListResultDtoOfO init(_data?: any) { if (_data) { + this.totalCount = _data["totalCount"]; if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(OrganizationUnitListDto.fromJS(item)); + this.items.push(CommodityListDto.fromJS(item)); } } } - static fromJS(data: any): ListResultDtoOfOrganizationUnitListDto { + static fromJS(data: any): PagedResultDtoOfCommodityListDto { data = typeof data === 'object' ? data : {}; - let result = new ListResultDtoOfOrganizationUnitListDto(); + let result = new PagedResultDtoOfCommodityListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["totalCount"] = this.totalCount; if (Array.isArray(this.items)) { data["items"] = []; for (let item of this.items) @@ -89512,22 +124909,24 @@ export class ListResultDtoOfOrganizationUnitListDto implements IListResultDtoOfO return data; } - clone(): ListResultDtoOfOrganizationUnitListDto { + clone(): PagedResultDtoOfCommodityListDto { const json = this.toJSON(); - let result = new ListResultDtoOfOrganizationUnitListDto(); + let result = new PagedResultDtoOfCommodityListDto(); result.init(json); return result; } } -export interface IListResultDtoOfOrganizationUnitListDto { - items: OrganizationUnitListDto[] | undefined; +export interface IPagedResultDtoOfCommodityListDto { + totalCount: number; + items: CommodityListDto[] | undefined; } -export class ListResultDtoOfPageFilterItemDto implements IListResultDtoOfPageFilterItemDto { - items: PageFilterItemDto[] | undefined; +export class PagedResultDtoOfEntityChangeListDto implements IPagedResultDtoOfEntityChangeListDto { + totalCount: number; + items: EntityChangeListDto[] | undefined; - constructor(data?: IListResultDtoOfPageFilterItemDto) { + constructor(data?: IPagedResultDtoOfEntityChangeListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -89538,23 +124937,25 @@ export class ListResultDtoOfPageFilterItemDto implements IListResultDtoOfPageFil init(_data?: any) { if (_data) { + this.totalCount = _data["totalCount"]; if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(PageFilterItemDto.fromJS(item)); + this.items.push(EntityChangeListDto.fromJS(item)); } } } - static fromJS(data: any): ListResultDtoOfPageFilterItemDto { + static fromJS(data: any): PagedResultDtoOfEntityChangeListDto { data = typeof data === 'object' ? data : {}; - let result = new ListResultDtoOfPageFilterItemDto(); + let result = new PagedResultDtoOfEntityChangeListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["totalCount"] = this.totalCount; if (Array.isArray(this.items)) { data["items"] = []; for (let item of this.items) @@ -89563,22 +124964,24 @@ export class ListResultDtoOfPageFilterItemDto implements IListResultDtoOfPageFil return data; } - clone(): ListResultDtoOfPageFilterItemDto { + clone(): PagedResultDtoOfEntityChangeListDto { const json = this.toJSON(); - let result = new ListResultDtoOfPageFilterItemDto(); + let result = new PagedResultDtoOfEntityChangeListDto(); result.init(json); return result; } } -export interface IListResultDtoOfPageFilterItemDto { - items: PageFilterItemDto[] | undefined; +export interface IPagedResultDtoOfEntityChangeListDto { + totalCount: number; + items: EntityChangeListDto[] | undefined; } -export class ListResultDtoOfRoleListDto implements IListResultDtoOfRoleListDto { - items: RoleListDto[] | undefined; +export class PagedResultDtoOfFilePagedListDto implements IPagedResultDtoOfFilePagedListDto { + totalCount: number; + items: FilePagedListDto[] | undefined; - constructor(data?: IListResultDtoOfRoleListDto) { + constructor(data?: IPagedResultDtoOfFilePagedListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -89589,23 +124992,25 @@ export class ListResultDtoOfRoleListDto implements IListResultDtoOfRoleListDto { init(_data?: any) { if (_data) { + this.totalCount = _data["totalCount"]; if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(RoleListDto.fromJS(item)); + this.items.push(FilePagedListDto.fromJS(item)); } } } - static fromJS(data: any): ListResultDtoOfRoleListDto { + static fromJS(data: any): PagedResultDtoOfFilePagedListDto { data = typeof data === 'object' ? data : {}; - let result = new ListResultDtoOfRoleListDto(); + let result = new PagedResultDtoOfFilePagedListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["totalCount"] = this.totalCount; if (Array.isArray(this.items)) { data["items"] = []; for (let item of this.items) @@ -89614,22 +125019,24 @@ export class ListResultDtoOfRoleListDto implements IListResultDtoOfRoleListDto { return data; } - clone(): ListResultDtoOfRoleListDto { + clone(): PagedResultDtoOfFilePagedListDto { const json = this.toJSON(); - let result = new ListResultDtoOfRoleListDto(); + let result = new PagedResultDtoOfFilePagedListDto(); result.init(json); return result; } } -export interface IListResultDtoOfRoleListDto { - items: RoleListDto[] | undefined; +export interface IPagedResultDtoOfFilePagedListDto { + totalCount: number; + items: FilePagedListDto[] | undefined; } -export class ListResultDtoOfSubscribableEditionComboboxItemDto implements IListResultDtoOfSubscribableEditionComboboxItemDto { - items: SubscribableEditionComboboxItemDto[] | undefined; +export class PagedResultDtoOfIcsAql2ItemModelDto implements IPagedResultDtoOfIcsAql2ItemModelDto { + totalCount: number; + items: IcsAql2ItemModelDto[] | undefined; - constructor(data?: IListResultDtoOfSubscribableEditionComboboxItemDto) { + constructor(data?: IPagedResultDtoOfIcsAql2ItemModelDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -89640,23 +125047,25 @@ export class ListResultDtoOfSubscribableEditionComboboxItemDto implements IListR init(_data?: any) { if (_data) { + this.totalCount = _data["totalCount"]; if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(SubscribableEditionComboboxItemDto.fromJS(item)); + this.items.push(IcsAql2ItemModelDto.fromJS(item)); } } } - static fromJS(data: any): ListResultDtoOfSubscribableEditionComboboxItemDto { + static fromJS(data: any): PagedResultDtoOfIcsAql2ItemModelDto { data = typeof data === 'object' ? data : {}; - let result = new ListResultDtoOfSubscribableEditionComboboxItemDto(); + let result = new PagedResultDtoOfIcsAql2ItemModelDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["totalCount"] = this.totalCount; if (Array.isArray(this.items)) { data["items"] = []; for (let item of this.items) @@ -89665,22 +125074,24 @@ export class ListResultDtoOfSubscribableEditionComboboxItemDto implements IListR return data; } - clone(): ListResultDtoOfSubscribableEditionComboboxItemDto { + clone(): PagedResultDtoOfIcsAql2ItemModelDto { const json = this.toJSON(); - let result = new ListResultDtoOfSubscribableEditionComboboxItemDto(); + let result = new PagedResultDtoOfIcsAql2ItemModelDto(); result.init(json); return result; } } -export interface IListResultDtoOfSubscribableEditionComboboxItemDto { - items: SubscribableEditionComboboxItemDto[] | undefined; +export interface IPagedResultDtoOfIcsAql2ItemModelDto { + totalCount: number; + items: IcsAql2ItemModelDto[] | undefined; } -export class ListResultDtoOfTreePermissionDto implements IListResultDtoOfTreePermissionDto { - items: TreePermissionDto[] | undefined; +export class PagedResultDtoOfIcsAqlListDto implements IPagedResultDtoOfIcsAqlListDto { + totalCount: number; + items: IcsAqlListDto[] | undefined; - constructor(data?: IListResultDtoOfTreePermissionDto) { + constructor(data?: IPagedResultDtoOfIcsAqlListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -89691,23 +125102,25 @@ export class ListResultDtoOfTreePermissionDto implements IListResultDtoOfTreePer init(_data?: any) { if (_data) { + this.totalCount = _data["totalCount"]; if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(TreePermissionDto.fromJS(item)); + this.items.push(IcsAqlListDto.fromJS(item)); } } } - static fromJS(data: any): ListResultDtoOfTreePermissionDto { + static fromJS(data: any): PagedResultDtoOfIcsAqlListDto { data = typeof data === 'object' ? data : {}; - let result = new ListResultDtoOfTreePermissionDto(); + let result = new PagedResultDtoOfIcsAqlListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["totalCount"] = this.totalCount; if (Array.isArray(this.items)) { data["items"] = []; for (let item of this.items) @@ -89716,22 +125129,24 @@ export class ListResultDtoOfTreePermissionDto implements IListResultDtoOfTreePer return data; } - clone(): ListResultDtoOfTreePermissionDto { + clone(): PagedResultDtoOfIcsAqlListDto { const json = this.toJSON(); - let result = new ListResultDtoOfTreePermissionDto(); + let result = new PagedResultDtoOfIcsAqlListDto(); result.init(json); return result; } } -export interface IListResultDtoOfTreePermissionDto { - items: TreePermissionDto[] | undefined; +export interface IPagedResultDtoOfIcsAqlListDto { + totalCount: number; + items: IcsAqlListDto[] | undefined; } -export class ListResultDtoOfUserLoginAttemptDto implements IListResultDtoOfUserLoginAttemptDto { - items: UserLoginAttemptDto[] | undefined; +export class PagedResultDtoOfIcsArmorplateListDto implements IPagedResultDtoOfIcsArmorplateListDto { + totalCount: number; + items: IcsArmorplateListDto[] | undefined; - constructor(data?: IListResultDtoOfUserLoginAttemptDto) { + constructor(data?: IPagedResultDtoOfIcsArmorplateListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -89742,23 +125157,25 @@ export class ListResultDtoOfUserLoginAttemptDto implements IListResultDtoOfUserL init(_data?: any) { if (_data) { + this.totalCount = _data["totalCount"]; if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(UserLoginAttemptDto.fromJS(item)); + this.items.push(IcsArmorplateListDto.fromJS(item)); } } } - static fromJS(data: any): ListResultDtoOfUserLoginAttemptDto { + static fromJS(data: any): PagedResultDtoOfIcsArmorplateListDto { data = typeof data === 'object' ? data : {}; - let result = new ListResultDtoOfUserLoginAttemptDto(); + let result = new PagedResultDtoOfIcsArmorplateListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["totalCount"] = this.totalCount; if (Array.isArray(this.items)) { data["items"] = []; for (let item of this.items) @@ -89767,33 +125184,24 @@ export class ListResultDtoOfUserLoginAttemptDto implements IListResultDtoOfUserL return data; } - clone(): ListResultDtoOfUserLoginAttemptDto { + clone(): PagedResultDtoOfIcsArmorplateListDto { const json = this.toJSON(); - let result = new ListResultDtoOfUserLoginAttemptDto(); + let result = new PagedResultDtoOfIcsArmorplateListDto(); result.init(json); return result; } } -export interface IListResultDtoOfUserLoginAttemptDto { - items: UserLoginAttemptDto[] | undefined; +export interface IPagedResultDtoOfIcsArmorplateListDto { + totalCount: number; + items: IcsArmorplateListDto[] | undefined; } -/** 列颜色Dto */ -export class ListViewColumnColorDto implements IListViewColumnColorDto { - /** 编号 */ - id: string | undefined; - /** 列Id */ - listViewColumnsId: string | undefined; - /** 字段名称 */ - colFieldName: string | undefined; - determineType: string | undefined; - /** 比较值 */ - value: string | undefined; - /** 颜色值 如:#FFFFFF */ - color: string | undefined; +export class PagedResultDtoOfIcsBomParamDetailListDto implements IPagedResultDtoOfIcsBomParamDetailListDto { + totalCount: number; + items: IcsBomParamDetailListDto[] | undefined; - constructor(data?: IListViewColumnColorDto) { + constructor(data?: IPagedResultDtoOfIcsBomParamDetailListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -89804,76 +125212,51 @@ export class ListViewColumnColorDto implements IListViewColumnColorDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.listViewColumnsId = _data["listViewColumnsId"]; - this.colFieldName = _data["colFieldName"]; - this.determineType = _data["determineType"]; - this.value = _data["value"]; - this.color = _data["color"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsBomParamDetailListDto.fromJS(item)); + } } } - static fromJS(data: any): ListViewColumnColorDto { + static fromJS(data: any): PagedResultDtoOfIcsBomParamDetailListDto { data = typeof data === 'object' ? data : {}; - let result = new ListViewColumnColorDto(); + let result = new PagedResultDtoOfIcsBomParamDetailListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["listViewColumnsId"] = this.listViewColumnsId; - data["colFieldName"] = this.colFieldName; - data["determineType"] = this.determineType; - data["value"] = this.value; - data["color"] = this.color; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): ListViewColumnColorDto { + clone(): PagedResultDtoOfIcsBomParamDetailListDto { const json = this.toJSON(); - let result = new ListViewColumnColorDto(); + let result = new PagedResultDtoOfIcsBomParamDetailListDto(); result.init(json); return result; } } -/** 列颜色Dto */ -export interface IListViewColumnColorDto { - /** 编号 */ - id: string | undefined; - /** 列Id */ - listViewColumnsId: string | undefined; - /** 字段名称 */ - colFieldName: string | undefined; - determineType: string | undefined; - /** 比较值 */ - value: string | undefined; - /** 颜色值 如:#FFFFFF */ - color: string | undefined; +export interface IPagedResultDtoOfIcsBomParamDetailListDto { + totalCount: number; + items: IcsBomParamDetailListDto[] | undefined; } -/** 列操作项 */ -export class ListViewColumnsActionItemDto implements IListViewColumnsActionItemDto { - /** 编号 */ - id: string | undefined; - /** 操作名称 */ - name: string | undefined; - /** 显示名称 */ - label: string | undefined; - /** 图标 */ - icon: string | undefined; - /** 操作控件类型 */ - type: string | undefined; - /** 权限 */ - acl: string | undefined; - /** 颜色 */ - color: string | undefined; - /** 子级操作按钮 当 YoyoBoot.ListViews.Dtos.ListViewColumnsActionItemDto.Type 值为 Yoyo.Pro.Modules.DynamicView.ColumnControl.Select 时使用 */ - buttons: ListViewColumnsActionItemDto[] | undefined; +export class PagedResultDtoOfIcsBomParamHeadListDto implements IPagedResultDtoOfIcsBomParamHeadListDto { + totalCount: number; + items: IcsBomParamHeadListDto[] | undefined; - constructor(data?: IListViewColumnsActionItemDto) { + constructor(data?: IPagedResultDtoOfIcsBomParamHeadListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -89884,119 +125267,51 @@ export class ListViewColumnsActionItemDto implements IListViewColumnsActionItemD init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.name = _data["name"]; - this.label = _data["label"]; - this.icon = _data["icon"]; - this.type = _data["type"]; - this.acl = _data["acl"]; - this.color = _data["color"]; - if (Array.isArray(_data["buttons"])) { - this.buttons = [] as any; - for (let item of _data["buttons"]) - this.buttons.push(ListViewColumnsActionItemDto.fromJS(item)); + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsBomParamHeadListDto.fromJS(item)); } } } - static fromJS(data: any): ListViewColumnsActionItemDto { + static fromJS(data: any): PagedResultDtoOfIcsBomParamHeadListDto { data = typeof data === 'object' ? data : {}; - let result = new ListViewColumnsActionItemDto(); + let result = new PagedResultDtoOfIcsBomParamHeadListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["name"] = this.name; - data["label"] = this.label; - data["icon"] = this.icon; - data["type"] = this.type; - data["acl"] = this.acl; - data["color"] = this.color; - if (Array.isArray(this.buttons)) { - data["buttons"] = []; - for (let item of this.buttons) - data["buttons"].push(item.toJSON()); + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } return data; } - clone(): ListViewColumnsActionItemDto { + clone(): PagedResultDtoOfIcsBomParamHeadListDto { const json = this.toJSON(); - let result = new ListViewColumnsActionItemDto(); + let result = new PagedResultDtoOfIcsBomParamHeadListDto(); result.init(json); return result; } } -/** 列操作项 */ -export interface IListViewColumnsActionItemDto { - /** 编号 */ - id: string | undefined; - /** 操作名称 */ - name: string | undefined; - /** 显示名称 */ - label: string | undefined; - /** 图标 */ - icon: string | undefined; - /** 操作控件类型 */ - type: string | undefined; - /** 权限 */ - acl: string | undefined; - /** 颜色 */ - color: string | undefined; - /** 子级操作按钮 当 YoyoBoot.ListViews.Dtos.ListViewColumnsActionItemDto.Type 值为 Yoyo.Pro.Modules.DynamicView.ColumnControl.Select 时使用 */ - buttons: ListViewColumnsActionItemDto[] | undefined; +export interface IPagedResultDtoOfIcsBomParamHeadListDto { + totalCount: number; + items: IcsBomParamHeadListDto[] | undefined; } -/** 列表视图 - 列 */ -export class ListViewColumnsDto implements IListViewColumnsDto { - /** 编号 */ - id: string | undefined; - /** 列表视图Id */ - listViewId: string | undefined; - listViewColumnColor: ListViewColumnColorDto; - /** 列颜色Id */ - listViewColumnColorId: string | undefined; - /** 列操作 -YoyoBoot.ListViews.Dtos.ListViewColumnsActionItemDto */ - actions: ListViewColumnsActionItemDto[] | undefined; - /** 是否展示 */ - ifShow: boolean | undefined; - /** 排序号 */ - sortNum: number | undefined; - /** 类型 no|string|datetime|yn|checkbox|action|link */ - type: string | undefined; - /** 字段,支持嵌套 aa.bb */ - field: string | undefined; - /** 列名 */ - title: string | undefined; - /** 宽度 */ - width: number | undefined; - /** 固定列 left或right,必须指定width */ - fixed: string | undefined; - /** 是否展示排序 */ - sortable: boolean | undefined; - /** 默认排序 ""|asc|desc */ - sorting: string | undefined; - /** 内容对齐方式 left|right|center */ - position: string | undefined; - /** 列类型为number时保留小数位 */ - numberDigits: string | undefined; - /** 列类型为datetime类型格式化规则 */ - dateFormat: string | undefined; - /** 链接类型 Inner|Outer */ - linkType: string | undefined; - /** 链接 */ - linkPath: string | undefined; - /** 链接参数 */ - linkParam: string | undefined; - /** 单元格合并 true:使用合并 */ - merge: boolean; +export class PagedResultDtoOfIcsCheckGroupListDto implements IPagedResultDtoOfIcsCheckGroupListDto { + totalCount: number; + items: IcsCheckGroupListDto[] | undefined; - constructor(data?: IListViewColumnsDto) { + constructor(data?: IPagedResultDtoOfIcsCheckGroupListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -90007,141 +125322,51 @@ YoyoBoot.ListViews.Dtos.ListViewColumnsActionItemDto */ init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.listViewId = _data["listViewId"]; - this.listViewColumnColor = _data["listViewColumnColor"] ? ListViewColumnColorDto.fromJS(_data["listViewColumnColor"]) : undefined; - this.listViewColumnColorId = _data["listViewColumnColorId"]; - if (Array.isArray(_data["actions"])) { - this.actions = [] as any; - for (let item of _data["actions"]) - this.actions.push(ListViewColumnsActionItemDto.fromJS(item)); + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsCheckGroupListDto.fromJS(item)); } - this.ifShow = _data["ifShow"]; - this.sortNum = _data["sortNum"]; - this.type = _data["type"]; - this.field = _data["field"]; - this.title = _data["title"]; - this.width = _data["width"]; - this.fixed = _data["fixed"]; - this.sortable = _data["sortable"]; - this.sorting = _data["sorting"]; - this.position = _data["position"]; - this.numberDigits = _data["numberDigits"]; - this.dateFormat = _data["dateFormat"]; - this.linkType = _data["linkType"]; - this.linkPath = _data["linkPath"]; - this.linkParam = _data["linkParam"]; - this.merge = _data["merge"]; } } - static fromJS(data: any): ListViewColumnsDto { + static fromJS(data: any): PagedResultDtoOfIcsCheckGroupListDto { data = typeof data === 'object' ? data : {}; - let result = new ListViewColumnsDto(); + let result = new PagedResultDtoOfIcsCheckGroupListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["listViewId"] = this.listViewId; - data["listViewColumnColor"] = this.listViewColumnColor ? this.listViewColumnColor.toJSON() : undefined; - data["listViewColumnColorId"] = this.listViewColumnColorId; - if (Array.isArray(this.actions)) { - data["actions"] = []; - for (let item of this.actions) - data["actions"].push(item.toJSON()); + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } - data["ifShow"] = this.ifShow; - data["sortNum"] = this.sortNum; - data["type"] = this.type; - data["field"] = this.field; - data["title"] = this.title; - data["width"] = this.width; - data["fixed"] = this.fixed; - data["sortable"] = this.sortable; - data["sorting"] = this.sorting; - data["position"] = this.position; - data["numberDigits"] = this.numberDigits; - data["dateFormat"] = this.dateFormat; - data["linkType"] = this.linkType; - data["linkPath"] = this.linkPath; - data["linkParam"] = this.linkParam; - data["merge"] = this.merge; return data; } - clone(): ListViewColumnsDto { + clone(): PagedResultDtoOfIcsCheckGroupListDto { const json = this.toJSON(); - let result = new ListViewColumnsDto(); + let result = new PagedResultDtoOfIcsCheckGroupListDto(); result.init(json); return result; } } -/** 列表视图 - 列 */ -export interface IListViewColumnsDto { - /** 编号 */ - id: string | undefined; - /** 列表视图Id */ - listViewId: string | undefined; - listViewColumnColor: ListViewColumnColorDto; - /** 列颜色Id */ - listViewColumnColorId: string | undefined; - /** 列操作 -YoyoBoot.ListViews.Dtos.ListViewColumnsActionItemDto */ - actions: ListViewColumnsActionItemDto[] | undefined; - /** 是否展示 */ - ifShow: boolean | undefined; - /** 排序号 */ - sortNum: number | undefined; - /** 类型 no|string|datetime|yn|checkbox|action|link */ - type: string | undefined; - /** 字段,支持嵌套 aa.bb */ - field: string | undefined; - /** 列名 */ - title: string | undefined; - /** 宽度 */ - width: number | undefined; - /** 固定列 left或right,必须指定width */ - fixed: string | undefined; - /** 是否展示排序 */ - sortable: boolean | undefined; - /** 默认排序 ""|asc|desc */ - sorting: string | undefined; - /** 内容对齐方式 left|right|center */ - position: string | undefined; - /** 列类型为number时保留小数位 */ - numberDigits: string | undefined; - /** 列类型为datetime类型格式化规则 */ - dateFormat: string | undefined; - /** 链接类型 Inner|Outer */ - linkType: string | undefined; - /** 链接 */ - linkPath: string | undefined; - /** 链接参数 */ - linkParam: string | undefined; - /** 单元格合并 true:使用合并 */ - merge: boolean; +export interface IPagedResultDtoOfIcsCheckGroupListDto { + totalCount: number; + items: IcsCheckGroupListDto[] | undefined; } -/** 列表视图 */ -export class ListViewDto implements IListViewDto { - /** 编号 */ - id: string | undefined; - /** 列视图名称 */ - listViewName: string | undefined; - /** 是否显示个性化 */ - ifShowPersonalization: boolean | undefined; - /** 表格选择模式 -checkbox:多选|Radio:单选 */ - rowSelection: string | undefined; - /** 列集合 -YoyoBoot.ListViews.Dtos.ListViewColumnsDto */ - listViewColumns: ListViewColumnsDto[] | undefined; +export class PagedResultDtoOfIcsCheckItemListDto implements IPagedResultDtoOfIcsCheckItemListDto { + totalCount: number; + items: IcsCheckItemListDto[] | undefined; - constructor(data?: IListViewDto) { + constructor(data?: IPagedResultDtoOfIcsCheckItemListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -90152,71 +125377,51 @@ YoyoBoot.ListViews.Dtos.ListViewColumnsDto */ init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.listViewName = _data["listViewName"]; - this.ifShowPersonalization = _data["ifShowPersonalization"]; - this.rowSelection = _data["rowSelection"]; - if (Array.isArray(_data["listViewColumns"])) { - this.listViewColumns = [] as any; - for (let item of _data["listViewColumns"]) - this.listViewColumns.push(ListViewColumnsDto.fromJS(item)); + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsCheckItemListDto.fromJS(item)); } } } - static fromJS(data: any): ListViewDto { + static fromJS(data: any): PagedResultDtoOfIcsCheckItemListDto { data = typeof data === 'object' ? data : {}; - let result = new ListViewDto(); + let result = new PagedResultDtoOfIcsCheckItemListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["listViewName"] = this.listViewName; - data["ifShowPersonalization"] = this.ifShowPersonalization; - data["rowSelection"] = this.rowSelection; - if (Array.isArray(this.listViewColumns)) { - data["listViewColumns"] = []; - for (let item of this.listViewColumns) - data["listViewColumns"].push(item.toJSON()); + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } return data; } - clone(): ListViewDto { + clone(): PagedResultDtoOfIcsCheckItemListDto { const json = this.toJSON(); - let result = new ListViewDto(); + let result = new PagedResultDtoOfIcsCheckItemListDto(); result.init(json); return result; } } -/** 列表视图 */ -export interface IListViewDto { - /** 编号 */ - id: string | undefined; - /** 列视图名称 */ - listViewName: string | undefined; - /** 是否显示个性化 */ - ifShowPersonalization: boolean | undefined; - /** 表格选择模式 -checkbox:多选|Radio:单选 */ - rowSelection: string | undefined; - /** 列集合 -YoyoBoot.ListViews.Dtos.ListViewColumnsDto */ - listViewColumns: ListViewColumnsDto[] | undefined; +export interface IPagedResultDtoOfIcsCheckItemListDto { + totalCount: number; + items: IcsCheckItemListDto[] | undefined; } -/** 本地化下拉列表项 */ -export class LocalizableComboboxItemDto implements ILocalizableComboboxItemDto { - /** 默认值 */ - value: string | undefined; - /** 显示文本 */ - displayText: string | undefined; +export class PagedResultDtoOfIcsCrewListDto implements IPagedResultDtoOfIcsCrewListDto { + totalCount: number; + items: IcsCrewListDto[] | undefined; - constructor(data?: ILocalizableComboboxItemDto) { + constructor(data?: IPagedResultDtoOfIcsCrewListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -90227,48 +125432,51 @@ export class LocalizableComboboxItemDto implements ILocalizableComboboxItemDto { init(_data?: any) { if (_data) { - this.value = _data["value"]; - this.displayText = _data["displayText"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsCrewListDto.fromJS(item)); + } } } - static fromJS(data: any): LocalizableComboboxItemDto { + static fromJS(data: any): PagedResultDtoOfIcsCrewListDto { data = typeof data === 'object' ? data : {}; - let result = new LocalizableComboboxItemDto(); + let result = new PagedResultDtoOfIcsCrewListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["value"] = this.value; - data["displayText"] = this.displayText; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): LocalizableComboboxItemDto { + clone(): PagedResultDtoOfIcsCrewListDto { const json = this.toJSON(); - let result = new LocalizableComboboxItemDto(); + let result = new PagedResultDtoOfIcsCrewListDto(); result.init(json); return result; } } -/** 本地化下拉列表项 */ -export interface ILocalizableComboboxItemDto { - /** 默认值 */ - value: string | undefined; - /** 显示文本 */ - displayText: string | undefined; +export interface IPagedResultDtoOfIcsCrewListDto { + totalCount: number; + items: IcsCrewListDto[] | undefined; } -/** 本地化下拉选项源 */ -export class LocalizableComboboxItemSourceDto implements ILocalizableComboboxItemSourceDto { - /** 选项集合 -YoyoBoot.Editions.Dtos.LocalizableComboboxItemDto */ - items: LocalizableComboboxItemDto[] | undefined; +export class PagedResultDtoOfIcsDataAuthorizationConfigListDto implements IPagedResultDtoOfIcsDataAuthorizationConfigListDto { + totalCount: number; + items: IcsDataAuthorizationConfigListDto[] | undefined; - constructor(data?: ILocalizableComboboxItemSourceDto) { + constructor(data?: IPagedResultDtoOfIcsDataAuthorizationConfigListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -90279,23 +125487,25 @@ YoyoBoot.Editions.Dtos.LocalizableComboboxItemDto */ init(_data?: any) { if (_data) { + this.totalCount = _data["totalCount"]; if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(LocalizableComboboxItemDto.fromJS(item)); + this.items.push(IcsDataAuthorizationConfigListDto.fromJS(item)); } } } - static fromJS(data: any): LocalizableComboboxItemSourceDto { + static fromJS(data: any): PagedResultDtoOfIcsDataAuthorizationConfigListDto { data = typeof data === 'object' ? data : {}; - let result = new LocalizableComboboxItemSourceDto(); + let result = new PagedResultDtoOfIcsDataAuthorizationConfigListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["totalCount"] = this.totalCount; if (Array.isArray(this.items)) { data["items"] = []; for (let item of this.items) @@ -90304,31 +125514,24 @@ YoyoBoot.Editions.Dtos.LocalizableComboboxItemDto */ return data; } - clone(): LocalizableComboboxItemSourceDto { + clone(): PagedResultDtoOfIcsDataAuthorizationConfigListDto { const json = this.toJSON(); - let result = new LocalizableComboboxItemSourceDto(); + let result = new PagedResultDtoOfIcsDataAuthorizationConfigListDto(); result.init(json); return result; } } -/** 本地化下拉选项源 */ -export interface ILocalizableComboboxItemSourceDto { - /** 选项集合 -YoyoBoot.Editions.Dtos.LocalizableComboboxItemDto */ - items: LocalizableComboboxItemDto[] | undefined; +export interface IPagedResultDtoOfIcsDataAuthorizationConfigListDto { + totalCount: number; + items: IcsDataAuthorizationConfigListDto[] | undefined; } -/** Echart图表数据Dto */ -export class LogEchartDto implements ILogEchartDto { - /** Echart图表X轴数据 */ - xdata: moment.Moment[] | undefined; - /** 登录日志成功 */ - success: EchartItemDto[] | undefined; - /** 登录日志失败 */ - failure: EchartItemDto[] | undefined; +export class PagedResultDtoOfIcsDctListDto implements IPagedResultDtoOfIcsDctListDto { + totalCount: number; + items: IcsDctListDto[] | undefined; - constructor(data?: ILogEchartDto) { + constructor(data?: IPagedResultDtoOfIcsDctListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -90339,89 +125542,51 @@ export class LogEchartDto implements ILogEchartDto { init(_data?: any) { if (_data) { - if (Array.isArray(_data["xdata"])) { - this.xdata = [] as any; - for (let item of _data["xdata"]) - this.xdata.push(moment(item)); - } - if (Array.isArray(_data["success"])) { - this.success = [] as any; - for (let item of _data["success"]) - this.success.push(EchartItemDto.fromJS(item)); - } - if (Array.isArray(_data["failure"])) { - this.failure = [] as any; - for (let item of _data["failure"]) - this.failure.push(EchartItemDto.fromJS(item)); + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsDctListDto.fromJS(item)); } } } - static fromJS(data: any): LogEchartDto { + static fromJS(data: any): PagedResultDtoOfIcsDctListDto { data = typeof data === 'object' ? data : {}; - let result = new LogEchartDto(); + let result = new PagedResultDtoOfIcsDctListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.xdata)) { - data["xdata"] = []; - for (let item of this.xdata) - data["xdata"].push(item.toISOString()); - } - if (Array.isArray(this.success)) { - data["success"] = []; - for (let item of this.success) - data["success"].push(item.toJSON()); - } - if (Array.isArray(this.failure)) { - data["failure"] = []; - for (let item of this.failure) - data["failure"].push(item.toJSON()); + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } return data; } - clone(): LogEchartDto { + clone(): PagedResultDtoOfIcsDctListDto { const json = this.toJSON(); - let result = new LogEchartDto(); + let result = new PagedResultDtoOfIcsDctListDto(); result.init(json); return result; } } -/** Echart图表数据Dto */ -export interface ILogEchartDto { - /** Echart图表X轴数据 */ - xdata: moment.Moment[] | undefined; - /** 登录日志成功 */ - success: EchartItemDto[] | undefined; - /** 登录日志失败 */ - failure: EchartItemDto[] | undefined; +export interface IPagedResultDtoOfIcsDctListDto { + totalCount: number; + items: IcsDctListDto[] | undefined; } -/** 登录日志 */ -export class LoginLogsDto implements ILoginLogsDto { - /** 用户名 */ - userName: string | undefined; - /** 用户Id */ - userId: string | undefined; - /** 租户名 */ - teanancyName: string | undefined; - /** 用户名或者邮箱地址 */ - userNameOrEmailAddress: string | undefined; - /** ip地址 */ - clientIpAddress: string | undefined; - /** 客户端 */ - clientName: string | undefined; - /** 登录结果 */ - result: string | undefined; - /** 登录时间 */ - creationTime: moment.Moment; +export class PagedResultDtoOfIcsDutyListDto implements IPagedResultDtoOfIcsDutyListDto { + totalCount: number; + items: IcsDutyListDto[] | undefined; - constructor(data?: ILoginLogsDto) { + constructor(data?: IPagedResultDtoOfIcsDutyListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -90432,78 +125597,51 @@ export class LoginLogsDto implements ILoginLogsDto { init(_data?: any) { if (_data) { - this.userName = _data["userName"]; - this.userId = _data["userId"]; - this.teanancyName = _data["teanancyName"]; - this.userNameOrEmailAddress = _data["userNameOrEmailAddress"]; - this.clientIpAddress = _data["clientIpAddress"]; - this.clientName = _data["clientName"]; - this.result = _data["result"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsDutyListDto.fromJS(item)); + } } } - static fromJS(data: any): LoginLogsDto { + static fromJS(data: any): PagedResultDtoOfIcsDutyListDto { data = typeof data === 'object' ? data : {}; - let result = new LoginLogsDto(); + let result = new PagedResultDtoOfIcsDutyListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["userName"] = this.userName; - data["userId"] = this.userId; - data["teanancyName"] = this.teanancyName; - data["userNameOrEmailAddress"] = this.userNameOrEmailAddress; - data["clientIpAddress"] = this.clientIpAddress; - data["clientName"] = this.clientName; - data["result"] = this.result; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): LoginLogsDto { + clone(): PagedResultDtoOfIcsDutyListDto { const json = this.toJSON(); - let result = new LoginLogsDto(); + let result = new PagedResultDtoOfIcsDutyListDto(); result.init(json); return result; } } -/** 登录日志 */ -export interface ILoginLogsDto { - /** 用户名 */ - userName: string | undefined; - /** 用户Id */ - userId: string | undefined; - /** 租户名 */ - teanancyName: string | undefined; - /** 用户名或者邮箱地址 */ - userNameOrEmailAddress: string | undefined; - /** ip地址 */ - clientIpAddress: string | undefined; - /** 客户端 */ - clientName: string | undefined; - /** 登录结果 */ - result: string | undefined; - /** 登录时间 */ - creationTime: moment.Moment; +export interface IPagedResultDtoOfIcsDutyListDto { + totalCount: number; + items: IcsDutyListDto[] | undefined; } -export class MCImportDto implements IMCImportDto { - /** 加工单元代码 */ - mcCode: string; - /** 加工单元名称 */ - mcName: string; - /** 加工单元描述 */ - mcDesc: string | undefined; - /** 产线名称 */ - ssName: string | undefined; - /** 车间名称 */ - segName: string | undefined; +export class PagedResultDtoOfIcsDynamicColumnConfigListDto implements IPagedResultDtoOfIcsDynamicColumnConfigListDto { + totalCount: number; + items: IcsDynamicColumnConfigListDto[] | undefined; - constructor(data?: IMCImportDto) { + constructor(data?: IPagedResultDtoOfIcsDynamicColumnConfigListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -90514,60 +125652,51 @@ export class MCImportDto implements IMCImportDto { init(_data?: any) { if (_data) { - this.mcCode = _data["mcCode"]; - this.mcName = _data["mcName"]; - this.mcDesc = _data["mcDesc"]; - this.ssName = _data["ssName"]; - this.segName = _data["segName"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsDynamicColumnConfigListDto.fromJS(item)); + } } } - static fromJS(data: any): MCImportDto { + static fromJS(data: any): PagedResultDtoOfIcsDynamicColumnConfigListDto { data = typeof data === 'object' ? data : {}; - let result = new MCImportDto(); + let result = new PagedResultDtoOfIcsDynamicColumnConfigListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["mcCode"] = this.mcCode; - data["mcName"] = this.mcName; - data["mcDesc"] = this.mcDesc; - data["ssName"] = this.ssName; - data["segName"] = this.segName; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MCImportDto { + clone(): PagedResultDtoOfIcsDynamicColumnConfigListDto { const json = this.toJSON(); - let result = new MCImportDto(); + let result = new PagedResultDtoOfIcsDynamicColumnConfigListDto(); result.init(json); return result; } } -export interface IMCImportDto { - /** 加工单元代码 */ - mcCode: string; - /** 加工单元名称 */ - mcName: string; - /** 加工单元描述 */ - mcDesc: string | undefined; - /** 产线名称 */ - ssName: string | undefined; - /** 车间名称 */ - segName: string | undefined; +export interface IPagedResultDtoOfIcsDynamicColumnConfigListDto { + totalCount: number; + items: IcsDynamicColumnConfigListDto[] | undefined; } -/** 设置全部消息已读 */ -export class MarkAllUnreadMessagesOfUserAsReadInput implements IMarkAllUnreadMessagesOfUserAsReadInput { - /** 租户Id */ - tenantId: string | undefined; - /** 用户Id */ - userId: string | undefined; +export class PagedResultDtoOfIcsEcListDto implements IPagedResultDtoOfIcsEcListDto { + totalCount: number; + items: IcsEcListDto[] | undefined; - constructor(data?: IMarkAllUnreadMessagesOfUserAsReadInput) { + constructor(data?: IPagedResultDtoOfIcsEcListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -90578,47 +125707,51 @@ export class MarkAllUnreadMessagesOfUserAsReadInput implements IMarkAllUnreadMes init(_data?: any) { if (_data) { - this.tenantId = _data["tenantId"]; - this.userId = _data["userId"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsEcListDto.fromJS(item)); + } } } - static fromJS(data: any): MarkAllUnreadMessagesOfUserAsReadInput { + static fromJS(data: any): PagedResultDtoOfIcsEcListDto { data = typeof data === 'object' ? data : {}; - let result = new MarkAllUnreadMessagesOfUserAsReadInput(); + let result = new PagedResultDtoOfIcsEcListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["tenantId"] = this.tenantId; - data["userId"] = this.userId; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MarkAllUnreadMessagesOfUserAsReadInput { + clone(): PagedResultDtoOfIcsEcListDto { const json = this.toJSON(); - let result = new MarkAllUnreadMessagesOfUserAsReadInput(); + let result = new PagedResultDtoOfIcsEcListDto(); result.init(json); return result; } } -/** 设置全部消息已读 */ -export interface IMarkAllUnreadMessagesOfUserAsReadInput { - /** 租户Id */ - tenantId: string | undefined; - /** 用户Id */ - userId: string | undefined; +export interface IPagedResultDtoOfIcsEcListDto { + totalCount: number; + items: IcsEcListDto[] | undefined; } -export class MediaList_News_Item implements IMediaList_News_Item { - media_id: string | undefined; - content: Media_News_Content; - update_time: number; +export class PagedResultDtoOfIcsEcgListDto implements IPagedResultDtoOfIcsEcgListDto { + totalCount: number; + items: IcsEcgListDto[] | undefined; - constructor(data?: IMediaList_News_Item) { + constructor(data?: IPagedResultDtoOfIcsEcgListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -90629,48 +125762,51 @@ export class MediaList_News_Item implements IMediaList_News_Item { init(_data?: any) { if (_data) { - this.media_id = _data["media_id"]; - this.content = _data["content"] ? Media_News_Content.fromJS(_data["content"]) : undefined; - this.update_time = _data["update_time"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsEcgListDto.fromJS(item)); + } } } - static fromJS(data: any): MediaList_News_Item { + static fromJS(data: any): PagedResultDtoOfIcsEcgListDto { data = typeof data === 'object' ? data : {}; - let result = new MediaList_News_Item(); + let result = new PagedResultDtoOfIcsEcgListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["media_id"] = this.media_id; - data["content"] = this.content ? this.content.toJSON() : undefined; - data["update_time"] = this.update_time; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MediaList_News_Item { + clone(): PagedResultDtoOfIcsEcgListDto { const json = this.toJSON(); - let result = new MediaList_News_Item(); + let result = new PagedResultDtoOfIcsEcgListDto(); result.init(json); return result; } } -export interface IMediaList_News_Item { - media_id: string | undefined; - content: Media_News_Content; - update_time: number; +export interface IPagedResultDtoOfIcsEcgListDto { + totalCount: number; + items: IcsEcgListDto[] | undefined; } -export class MediaList_Others_Item implements IMediaList_Others_Item { - media_id: string | undefined; - name: string | undefined; - update_time: number; - url: string | undefined; +export class PagedResultDtoOfIcsEcsListDto implements IPagedResultDtoOfIcsEcsListDto { + totalCount: number; + items: IcsEcsListDto[] | undefined; - constructor(data?: IMediaList_Others_Item) { + constructor(data?: IPagedResultDtoOfIcsEcsListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -90681,48 +125817,51 @@ export class MediaList_Others_Item implements IMediaList_Others_Item { init(_data?: any) { if (_data) { - this.media_id = _data["media_id"]; - this.name = _data["name"]; - this.update_time = _data["update_time"]; - this.url = _data["url"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsEcsListDto.fromJS(item)); + } } } - static fromJS(data: any): MediaList_Others_Item { + static fromJS(data: any): PagedResultDtoOfIcsEcsListDto { data = typeof data === 'object' ? data : {}; - let result = new MediaList_Others_Item(); + let result = new PagedResultDtoOfIcsEcsListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["media_id"] = this.media_id; - data["name"] = this.name; - data["update_time"] = this.update_time; - data["url"] = this.url; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MediaList_Others_Item { + clone(): PagedResultDtoOfIcsEcsListDto { const json = this.toJSON(); - let result = new MediaList_Others_Item(); + let result = new PagedResultDtoOfIcsEcsListDto(); result.init(json); return result; } } -export interface IMediaList_Others_Item { - media_id: string | undefined; - name: string | undefined; - update_time: number; - url: string | undefined; +export interface IPagedResultDtoOfIcsEcsListDto { + totalCount: number; + items: IcsEcsListDto[] | undefined; } -export class Media_News_Content implements IMedia_News_Content { - news_item: Media_News_Content_Item[] | undefined; +export class PagedResultDtoOfIcsEcsg2EcsListDto implements IPagedResultDtoOfIcsEcsg2EcsListDto { + totalCount: number; + items: IcsEcsg2EcsListDto[] | undefined; - constructor(data?: IMedia_News_Content) { + constructor(data?: IPagedResultDtoOfIcsEcsg2EcsListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -90733,57 +125872,51 @@ export class Media_News_Content implements IMedia_News_Content { init(_data?: any) { if (_data) { - if (Array.isArray(_data["news_item"])) { - this.news_item = [] as any; - for (let item of _data["news_item"]) - this.news_item.push(Media_News_Content_Item.fromJS(item)); + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsEcsg2EcsListDto.fromJS(item)); } } } - static fromJS(data: any): Media_News_Content { + static fromJS(data: any): PagedResultDtoOfIcsEcsg2EcsListDto { data = typeof data === 'object' ? data : {}; - let result = new Media_News_Content(); + let result = new PagedResultDtoOfIcsEcsg2EcsListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.news_item)) { - data["news_item"] = []; - for (let item of this.news_item) - data["news_item"].push(item.toJSON()); + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } return data; } - clone(): Media_News_Content { + clone(): PagedResultDtoOfIcsEcsg2EcsListDto { const json = this.toJSON(); - let result = new Media_News_Content(); + let result = new PagedResultDtoOfIcsEcsg2EcsListDto(); result.init(json); return result; } } -export interface IMedia_News_Content { - news_item: Media_News_Content_Item[] | undefined; +export interface IPagedResultDtoOfIcsEcsg2EcsListDto { + totalCount: number; + items: IcsEcsg2EcsListDto[] | undefined; } -export class Media_News_Content_Item implements IMedia_News_Content_Item { - url: string | undefined; - thumb_url: string | undefined; - thumb_media_id: string | undefined; - author: string | undefined; - title: string | undefined; - content_source_url: string | undefined; - content: string | undefined; - digest: string | undefined; - show_cover_pic: string | undefined; - need_open_comment: number; - only_fans_can_comment: number; +export class PagedResultDtoOfIcsEcsgListDto implements IPagedResultDtoOfIcsEcsgListDto { + totalCount: number; + items: IcsEcsgListDto[] | undefined; - constructor(data?: IMedia_News_Content_Item) { + constructor(data?: IPagedResultDtoOfIcsEcsgListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -90794,79 +125927,51 @@ export class Media_News_Content_Item implements IMedia_News_Content_Item { init(_data?: any) { if (_data) { - this.url = _data["url"]; - this.thumb_url = _data["thumb_url"]; - this.thumb_media_id = _data["thumb_media_id"]; - this.author = _data["author"]; - this.title = _data["title"]; - this.content_source_url = _data["content_source_url"]; - this.content = _data["content"]; - this.digest = _data["digest"]; - this.show_cover_pic = _data["show_cover_pic"]; - this.need_open_comment = _data["need_open_comment"]; - this.only_fans_can_comment = _data["only_fans_can_comment"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsEcsgListDto.fromJS(item)); + } } } - static fromJS(data: any): Media_News_Content_Item { + static fromJS(data: any): PagedResultDtoOfIcsEcsgListDto { data = typeof data === 'object' ? data : {}; - let result = new Media_News_Content_Item(); + let result = new PagedResultDtoOfIcsEcsgListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["url"] = this.url; - data["thumb_url"] = this.thumb_url; - data["thumb_media_id"] = this.thumb_media_id; - data["author"] = this.author; - data["title"] = this.title; - data["content_source_url"] = this.content_source_url; - data["content"] = this.content; - data["digest"] = this.digest; - data["show_cover_pic"] = this.show_cover_pic; - data["need_open_comment"] = this.need_open_comment; - data["only_fans_can_comment"] = this.only_fans_can_comment; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): Media_News_Content_Item { + clone(): PagedResultDtoOfIcsEcsgListDto { const json = this.toJSON(); - let result = new Media_News_Content_Item(); + let result = new PagedResultDtoOfIcsEcsgListDto(); result.init(json); return result; } } -export interface IMedia_News_Content_Item { - url: string | undefined; - thumb_url: string | undefined; - thumb_media_id: string | undefined; - author: string | undefined; - title: string | undefined; - content_source_url: string | undefined; - content: string | undefined; - digest: string | undefined; - show_cover_pic: string | undefined; - need_open_comment: number; - only_fans_can_comment: number; +export interface IPagedResultDtoOfIcsEcsgListDto { + totalCount: number; + items: IcsEcsgListDto[] | undefined; } -/** 会员活动 */ -export class MemberActivity implements IMemberActivity { - /** 名称 */ - name: string | undefined; - /** 收益 */ - earnings: string | undefined; - /** 案例 */ - cases: number; - /** 结束 */ - closed: number; - /** 汇率 */ - rate: string | undefined; +export class PagedResultDtoOfIcsEqp2OpListDto implements IPagedResultDtoOfIcsEqp2OpListDto { + totalCount: number; + items: IcsEqp2OpListDto[] | undefined; - constructor(data?: IMemberActivity) { + constructor(data?: IPagedResultDtoOfIcsEqp2OpListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -90877,104 +125982,51 @@ export class MemberActivity implements IMemberActivity { init(_data?: any) { if (_data) { - this.name = _data["name"]; - this.earnings = _data["earnings"]; - this.cases = _data["cases"]; - this.closed = _data["closed"]; - this.rate = _data["rate"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsEqp2OpListDto.fromJS(item)); + } } } - static fromJS(data: any): MemberActivity { + static fromJS(data: any): PagedResultDtoOfIcsEqp2OpListDto { data = typeof data === 'object' ? data : {}; - let result = new MemberActivity(); + let result = new PagedResultDtoOfIcsEqp2OpListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["name"] = this.name; - data["earnings"] = this.earnings; - data["cases"] = this.cases; - data["closed"] = this.closed; - data["rate"] = this.rate; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MemberActivity { + clone(): PagedResultDtoOfIcsEqp2OpListDto { const json = this.toJSON(); - let result = new MemberActivity(); + let result = new PagedResultDtoOfIcsEqp2OpListDto(); result.init(json); return result; } } -/** 会员活动 */ -export interface IMemberActivity { - /** 名称 */ - name: string | undefined; - /** 收益 */ - earnings: string | undefined; - /** 案例 */ - cases: number; - /** 结束 */ - closed: number; - /** 汇率 */ - rate: string | undefined; +export interface IPagedResultDtoOfIcsEqp2OpListDto { + totalCount: number; + items: IcsEqp2OpListDto[] | undefined; } -export class MenuArgs implements IMenuArgs { - /** 编号 */ - id: string | undefined; - /** 父Id */ - parentId: string | undefined; - /** 名称 唯一标识 */ - name: string | undefined; - /** 组件名称 - 本地化键 */ - title: string | undefined; - /** url路径 */ - path: string | undefined; - /** 父级url路径 */ - parentPath: string | undefined; - /** 组件路径 */ - component: string | undefined; - /** 指定布局组件 */ - layoutComponent: string | undefined; - layout: MenuLayoutEnum; - openEnum: OpenTypeEnum; - /** 图标 */ - icon: string | undefined; - /** 权限编码 */ - permissionCode: string | undefined; - /** 是否忽略KeepAlive缓存(页面缓存) */ - ignoreKeepAlive: boolean; - /** 是否固定标签 */ - affix: boolean; - /** 是否为系统内置 */ - isSystem: boolean; - /** 内嵌iframe的地址 */ - frameSrc: string | undefined; - /** 指定该路由切换的动画名 */ - transitionName: string | undefined; - /** 隐藏该路由在面包屑上面的显示 */ - hideBreadcrumb: boolean; - /** 是否携带参数 (前端可自动判断 path) */ - carryParam: boolean; - /** 当前路由不在标签页显示 */ - hideTab: boolean; - /** 当前路由不在菜单显示 */ - hideMenu: boolean; - /** 隐藏所有子菜单 */ - hideChildrenInMenu: boolean; - /** 菜单排序 */ - orderNo: number; - /** 是否启用水印 */ - waterMarkEnabled: boolean; - /** 扩展 */ - extensionData: { [key: string]: any; } | undefined; +export class PagedResultDtoOfIcsEqpModelPriceListDto implements IPagedResultDtoOfIcsEqpModelPriceListDto { + totalCount: number; + items: IcsEqpModelPriceListDto[] | undefined; - constructor(data?: IMenuArgs) { + constructor(data?: IPagedResultDtoOfIcsEqpModelPriceListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -90985,156 +126037,51 @@ export class MenuArgs implements IMenuArgs { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.parentId = _data["parentId"]; - this.name = _data["name"]; - this.title = _data["title"]; - this.path = _data["path"]; - this.parentPath = _data["parentPath"]; - this.component = _data["component"]; - this.layoutComponent = _data["layoutComponent"]; - this.layout = _data["layout"]; - this.openEnum = _data["openEnum"]; - this.icon = _data["icon"]; - this.permissionCode = _data["permissionCode"]; - this.ignoreKeepAlive = _data["ignoreKeepAlive"]; - this.affix = _data["affix"]; - this.isSystem = _data["isSystem"]; - this.frameSrc = _data["frameSrc"]; - this.transitionName = _data["transitionName"]; - this.hideBreadcrumb = _data["hideBreadcrumb"]; - this.carryParam = _data["carryParam"]; - this.hideTab = _data["hideTab"]; - this.hideMenu = _data["hideMenu"]; - this.hideChildrenInMenu = _data["hideChildrenInMenu"]; - this.orderNo = _data["orderNo"]; - this.waterMarkEnabled = _data["waterMarkEnabled"]; - if (_data["extensionData"]) { - this.extensionData = {} as any; - for (let key in _data["extensionData"]) { - if (_data["extensionData"].hasOwnProperty(key)) - (this.extensionData)[key] = _data["extensionData"][key]; - } + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsEqpModelPriceListDto.fromJS(item)); } } } - static fromJS(data: any): MenuArgs { + static fromJS(data: any): PagedResultDtoOfIcsEqpModelPriceListDto { data = typeof data === 'object' ? data : {}; - let result = new MenuArgs(); + let result = new PagedResultDtoOfIcsEqpModelPriceListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["parentId"] = this.parentId; - data["name"] = this.name; - data["title"] = this.title; - data["path"] = this.path; - data["parentPath"] = this.parentPath; - data["component"] = this.component; - data["layoutComponent"] = this.layoutComponent; - data["layout"] = this.layout; - data["openEnum"] = this.openEnum; - data["icon"] = this.icon; - data["permissionCode"] = this.permissionCode; - data["ignoreKeepAlive"] = this.ignoreKeepAlive; - data["affix"] = this.affix; - data["isSystem"] = this.isSystem; - data["frameSrc"] = this.frameSrc; - data["transitionName"] = this.transitionName; - data["hideBreadcrumb"] = this.hideBreadcrumb; - data["carryParam"] = this.carryParam; - data["hideTab"] = this.hideTab; - data["hideMenu"] = this.hideMenu; - data["hideChildrenInMenu"] = this.hideChildrenInMenu; - data["orderNo"] = this.orderNo; - data["waterMarkEnabled"] = this.waterMarkEnabled; - if (this.extensionData) { - data["extensionData"] = {}; - for (let key in this.extensionData) { - if (this.extensionData.hasOwnProperty(key)) - (data["extensionData"])[key] = (this.extensionData)[key]; - } - } - return data; - } - - clone(): MenuArgs { - const json = this.toJSON(); - let result = new MenuArgs(); - result.init(json); - return result; - } -} - -export interface IMenuArgs { - /** 编号 */ - id: string | undefined; - /** 父Id */ - parentId: string | undefined; - /** 名称 唯一标识 */ - name: string | undefined; - /** 组件名称 - 本地化键 */ - title: string | undefined; - /** url路径 */ - path: string | undefined; - /** 父级url路径 */ - parentPath: string | undefined; - /** 组件路径 */ - component: string | undefined; - /** 指定布局组件 */ - layoutComponent: string | undefined; - layout: MenuLayoutEnum; - openEnum: OpenTypeEnum; - /** 图标 */ - icon: string | undefined; - /** 权限编码 */ - permissionCode: string | undefined; - /** 是否忽略KeepAlive缓存(页面缓存) */ - ignoreKeepAlive: boolean; - /** 是否固定标签 */ - affix: boolean; - /** 是否为系统内置 */ - isSystem: boolean; - /** 内嵌iframe的地址 */ - frameSrc: string | undefined; - /** 指定该路由切换的动画名 */ - transitionName: string | undefined; - /** 隐藏该路由在面包屑上面的显示 */ - hideBreadcrumb: boolean; - /** 是否携带参数 (前端可自动判断 path) */ - carryParam: boolean; - /** 当前路由不在标签页显示 */ - hideTab: boolean; - /** 当前路由不在菜单显示 */ - hideMenu: boolean; - /** 隐藏所有子菜单 */ - hideChildrenInMenu: boolean; - /** 菜单排序 */ - orderNo: number; - /** 是否启用水印 */ - waterMarkEnabled: boolean; - /** 扩展 */ - extensionData: { [key: string]: any; } | undefined; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } + return data; + } + + clone(): PagedResultDtoOfIcsEqpModelPriceListDto { + const json = this.toJSON(); + let result = new PagedResultDtoOfIcsEqpModelPriceListDto(); + result.init(json); + return result; + } } -/** 菜单编辑 */ -export class MenuEditDto implements IMenuEditDto { - /** 编号 */ - id: string | undefined; - /** 菜单建模名称 */ - menuName: string; - /** 是否默认 */ - isDefault: boolean; - /** 是否启用 */ - isEnable: boolean; - /** 菜单树 */ - menuTrees: MenuTree[] | undefined; +export interface IPagedResultDtoOfIcsEqpModelPriceListDto { + totalCount: number; + items: IcsEqpModelPriceListDto[] | undefined; +} - constructor(data?: IMenuEditDto) { +export class PagedResultDtoOfIcsEquipmentListDto implements IPagedResultDtoOfIcsEquipmentListDto { + totalCount: number; + items: IcsEquipmentListDto[] | undefined; + + constructor(data?: IPagedResultDtoOfIcsEquipmentListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -91145,74 +126092,51 @@ export class MenuEditDto implements IMenuEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.menuName = _data["menuName"]; - this.isDefault = _data["isDefault"]; - this.isEnable = _data["isEnable"]; - if (Array.isArray(_data["menuTrees"])) { - this.menuTrees = [] as any; - for (let item of _data["menuTrees"]) - this.menuTrees.push(MenuTree.fromJS(item)); + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsEquipmentListDto.fromJS(item)); } } } - static fromJS(data: any): MenuEditDto { + static fromJS(data: any): PagedResultDtoOfIcsEquipmentListDto { data = typeof data === 'object' ? data : {}; - let result = new MenuEditDto(); + let result = new PagedResultDtoOfIcsEquipmentListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["menuName"] = this.menuName; - data["isDefault"] = this.isDefault; - data["isEnable"] = this.isEnable; - if (Array.isArray(this.menuTrees)) { - data["menuTrees"] = []; - for (let item of this.menuTrees) - data["menuTrees"].push(item.toJSON()); + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } return data; } - clone(): MenuEditDto { + clone(): PagedResultDtoOfIcsEquipmentListDto { const json = this.toJSON(); - let result = new MenuEditDto(); + let result = new PagedResultDtoOfIcsEquipmentListDto(); result.init(json); return result; } } -/** 菜单编辑 */ -export interface IMenuEditDto { - /** 编号 */ - id: string | undefined; - /** 菜单建模名称 */ - menuName: string; - /** 是否默认 */ - isDefault: boolean; - /** 是否启用 */ - isEnable: boolean; - /** 菜单树 */ - menuTrees: MenuTree[] | undefined; +export interface IPagedResultDtoOfIcsEquipmentListDto { + totalCount: number; + items: IcsEquipmentListDto[] | undefined; } -export class MenuFull_RootButton implements IMenuFull_RootButton { - type: string | undefined; - key: string | undefined; - name: string | undefined; - url: string | undefined; - news_info: NewsInfo; - appid: string | undefined; - pagepath: string | undefined; - media_id: string | undefined; - article_id: string | undefined; - sub_button: MenuFull_RootButton[] | undefined; +export class PagedResultDtoOfIcsEquipmentMaintainItemListDto implements IPagedResultDtoOfIcsEquipmentMaintainItemListDto { + totalCount: number; + items: IcsEquipmentMaintainItemListDto[] | undefined; - constructor(data?: IMenuFull_RootButton) { + constructor(data?: IPagedResultDtoOfIcsEquipmentMaintainItemListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -91223,95 +126147,51 @@ export class MenuFull_RootButton implements IMenuFull_RootButton { init(_data?: any) { if (_data) { - this.type = _data["type"]; - this.key = _data["key"]; - this.name = _data["name"]; - this.url = _data["url"]; - this.news_info = _data["news_info"] ? NewsInfo.fromJS(_data["news_info"]) : undefined; - this.appid = _data["appid"]; - this.pagepath = _data["pagepath"]; - this.media_id = _data["media_id"]; - this.article_id = _data["article_id"]; - if (Array.isArray(_data["sub_button"])) { - this.sub_button = [] as any; - for (let item of _data["sub_button"]) - this.sub_button.push(MenuFull_RootButton.fromJS(item)); + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsEquipmentMaintainItemListDto.fromJS(item)); } } } - static fromJS(data: any): MenuFull_RootButton { + static fromJS(data: any): PagedResultDtoOfIcsEquipmentMaintainItemListDto { data = typeof data === 'object' ? data : {}; - let result = new MenuFull_RootButton(); + let result = new PagedResultDtoOfIcsEquipmentMaintainItemListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["type"] = this.type; - data["key"] = this.key; - data["name"] = this.name; - data["url"] = this.url; - data["news_info"] = this.news_info ? this.news_info.toJSON() : undefined; - data["appid"] = this.appid; - data["pagepath"] = this.pagepath; - data["media_id"] = this.media_id; - data["article_id"] = this.article_id; - if (Array.isArray(this.sub_button)) { - data["sub_button"] = []; - for (let item of this.sub_button) - data["sub_button"].push(item.toJSON()); + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } return data; } - clone(): MenuFull_RootButton { + clone(): PagedResultDtoOfIcsEquipmentMaintainItemListDto { const json = this.toJSON(); - let result = new MenuFull_RootButton(); + let result = new PagedResultDtoOfIcsEquipmentMaintainItemListDto(); result.init(json); return result; } } -export interface IMenuFull_RootButton { - type: string | undefined; - key: string | undefined; - name: string | undefined; - url: string | undefined; - news_info: NewsInfo; - appid: string | undefined; - pagepath: string | undefined; - media_id: string | undefined; - article_id: string | undefined; - sub_button: MenuFull_RootButton[] | undefined; -} - -export enum MenuLayoutEnum { - LAYOUT = "LAYOUT", - IFrame = "IFrame", +export interface IPagedResultDtoOfIcsEquipmentMaintainItemListDto { + totalCount: number; + items: IcsEquipmentMaintainItemListDto[] | undefined; } -/** 菜单列表 */ -export class MenuListDto implements IMenuListDto { - /** 菜单建模名称 */ - menuName: string | undefined; - /** 是否默认 */ - isDefault: boolean; - /** 是否启用 */ - isEnable: boolean; - /** 系统内置 */ - isSystem: boolean; - isDeleted: boolean; - deleterUserId: string | undefined; - deletionTime: moment.Moment | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string; +export class PagedResultDtoOfIcsEquipmentMaintainLogListDto implements IPagedResultDtoOfIcsEquipmentMaintainLogListDto { + totalCount: number; + items: IcsEquipmentMaintainLogListDto[] | undefined; - constructor(data?: IMenuListDto) { + constructor(data?: IPagedResultDtoOfIcsEquipmentMaintainLogListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -91322,84 +126202,51 @@ export class MenuListDto implements IMenuListDto { init(_data?: any) { if (_data) { - this.menuName = _data["menuName"]; - this.isDefault = _data["isDefault"]; - this.isEnable = _data["isEnable"]; - this.isSystem = _data["isSystem"]; - this.isDeleted = _data["isDeleted"]; - this.deleterUserId = _data["deleterUserId"]; - this.deletionTime = _data["deletionTime"] ? moment(_data["deletionTime"].toString()) : undefined; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsEquipmentMaintainLogListDto.fromJS(item)); + } } } - static fromJS(data: any): MenuListDto { + static fromJS(data: any): PagedResultDtoOfIcsEquipmentMaintainLogListDto { data = typeof data === 'object' ? data : {}; - let result = new MenuListDto(); + let result = new PagedResultDtoOfIcsEquipmentMaintainLogListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["menuName"] = this.menuName; - data["isDefault"] = this.isDefault; - data["isEnable"] = this.isEnable; - data["isSystem"] = this.isSystem; - data["isDeleted"] = this.isDeleted; - data["deleterUserId"] = this.deleterUserId; - data["deletionTime"] = this.deletionTime ? this.deletionTime.toISOString() : undefined; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MenuListDto { + clone(): PagedResultDtoOfIcsEquipmentMaintainLogListDto { const json = this.toJSON(); - let result = new MenuListDto(); + let result = new PagedResultDtoOfIcsEquipmentMaintainLogListDto(); result.init(json); return result; } } -/** 菜单列表 */ -export interface IMenuListDto { - /** 菜单建模名称 */ - menuName: string | undefined; - /** 是否默认 */ - isDefault: boolean; - /** 是否启用 */ - isEnable: boolean; - /** 系统内置 */ - isSystem: boolean; - isDeleted: boolean; - deleterUserId: string | undefined; - deletionTime: moment.Moment | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string; +export interface IPagedResultDtoOfIcsEquipmentMaintainLogListDto { + totalCount: number; + items: IcsEquipmentMaintainLogListDto[] | undefined; } -export class MenuMatchRule implements IMenuMatchRule { - tag_id: string | undefined; - group_id: string | undefined; - sex: string | undefined; - country: string | undefined; - province: string | undefined; - city: string | undefined; - client_platform_type: string | undefined; - language: string | undefined; +export class PagedResultDtoOfIcsEquipmentMaintainPlanListDto implements IPagedResultDtoOfIcsEquipmentMaintainPlanListDto { + totalCount: number; + items: IcsEquipmentMaintainPlanListDto[] | undefined; - constructor(data?: IMenuMatchRule) { + constructor(data?: IPagedResultDtoOfIcsEquipmentMaintainPlanListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -91410,69 +126257,51 @@ export class MenuMatchRule implements IMenuMatchRule { init(_data?: any) { if (_data) { - this.tag_id = _data["tag_id"]; - this.group_id = _data["group_id"]; - this.sex = _data["sex"]; - this.country = _data["country"]; - this.province = _data["province"]; - this.city = _data["city"]; - this.client_platform_type = _data["client_platform_type"]; - this.language = _data["language"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsEquipmentMaintainPlanListDto.fromJS(item)); + } } } - static fromJS(data: any): MenuMatchRule { + static fromJS(data: any): PagedResultDtoOfIcsEquipmentMaintainPlanListDto { data = typeof data === 'object' ? data : {}; - let result = new MenuMatchRule(); + let result = new PagedResultDtoOfIcsEquipmentMaintainPlanListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["tag_id"] = this.tag_id; - data["group_id"] = this.group_id; - data["sex"] = this.sex; - data["country"] = this.country; - data["province"] = this.province; - data["city"] = this.city; - data["client_platform_type"] = this.client_platform_type; - data["language"] = this.language; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MenuMatchRule { + clone(): PagedResultDtoOfIcsEquipmentMaintainPlanListDto { const json = this.toJSON(); - let result = new MenuMatchRule(); + let result = new PagedResultDtoOfIcsEquipmentMaintainPlanListDto(); result.init(json); return result; } } -export interface IMenuMatchRule { - tag_id: string | undefined; - group_id: string | undefined; - sex: string | undefined; - country: string | undefined; - province: string | undefined; - city: string | undefined; - client_platform_type: string | undefined; - language: string | undefined; +export interface IPagedResultDtoOfIcsEquipmentMaintainPlanListDto { + totalCount: number; + items: IcsEquipmentMaintainPlanListDto[] | undefined; } -/** 菜单结构树 */ -export class MenuTree implements IMenuTree { - /** 父级 */ - parentId: string | undefined; - /** 显示名称 */ - displayName: string | undefined; - /** 同级排序 */ - sort: number; - menuArgs: MenuArgs; - type: MenuTypeEnum; - id: string; +export class PagedResultDtoOfIcsEquipmentPartCheckDataListDto implements IPagedResultDtoOfIcsEquipmentPartCheckDataListDto { + totalCount: number; + items: IcsEquipmentPartCheckDataListDto[] | undefined; - constructor(data?: IMenuTree) { + constructor(data?: IPagedResultDtoOfIcsEquipmentPartCheckDataListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -91483,69 +126312,51 @@ export class MenuTree implements IMenuTree { init(_data?: any) { if (_data) { - this.parentId = _data["parentId"]; - this.displayName = _data["displayName"]; - this.sort = _data["sort"]; - this.menuArgs = _data["menuArgs"] ? MenuArgs.fromJS(_data["menuArgs"]) : undefined; - this.type = _data["type"]; - this.id = _data["id"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsEquipmentPartCheckDataListDto.fromJS(item)); + } } } - static fromJS(data: any): MenuTree { + static fromJS(data: any): PagedResultDtoOfIcsEquipmentPartCheckDataListDto { data = typeof data === 'object' ? data : {}; - let result = new MenuTree(); + let result = new PagedResultDtoOfIcsEquipmentPartCheckDataListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["parentId"] = this.parentId; - data["displayName"] = this.displayName; - data["sort"] = this.sort; - data["menuArgs"] = this.menuArgs ? this.menuArgs.toJSON() : undefined; - data["type"] = this.type; - data["id"] = this.id; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MenuTree { + clone(): PagedResultDtoOfIcsEquipmentPartCheckDataListDto { const json = this.toJSON(); - let result = new MenuTree(); + let result = new PagedResultDtoOfIcsEquipmentPartCheckDataListDto(); result.init(json); return result; } } -/** 菜单结构树 */ -export interface IMenuTree { - /** 父级 */ - parentId: string | undefined; - /** 显示名称 */ - displayName: string | undefined; - /** 同级排序 */ - sort: number; - menuArgs: MenuArgs; - type: MenuTypeEnum; - id: string; -} - -export enum MenuTypeEnum { - Group = "Group", - Item = "Item", +export interface IPagedResultDtoOfIcsEquipmentPartCheckDataListDto { + totalCount: number; + items: IcsEquipmentPartCheckDataListDto[] | undefined; } -export class MessageConfigEditDto implements IMessageConfigEditDto { - id: string | undefined; - tenantId: string | undefined; - /** 配置名称 */ - configName: string | undefined; - pushChannelType: _definitions_PushChannelType; - /** 配置项 JSON字符串 */ - configItem: string | undefined; +export class PagedResultDtoOfIcsEquipmentPartCheckItemListDto implements IPagedResultDtoOfIcsEquipmentPartCheckItemListDto { + totalCount: number; + items: IcsEquipmentPartCheckItemListDto[] | undefined; - constructor(data?: IMessageConfigEditDto) { + constructor(data?: IPagedResultDtoOfIcsEquipmentPartCheckItemListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -91556,66 +126367,51 @@ export class MessageConfigEditDto implements IMessageConfigEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.tenantId = _data["tenantId"]; - this.configName = _data["configName"]; - this.pushChannelType = _data["pushChannelType"]; - this.configItem = _data["configItem"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsEquipmentPartCheckItemListDto.fromJS(item)); + } } } - static fromJS(data: any): MessageConfigEditDto { + static fromJS(data: any): PagedResultDtoOfIcsEquipmentPartCheckItemListDto { data = typeof data === 'object' ? data : {}; - let result = new MessageConfigEditDto(); + let result = new PagedResultDtoOfIcsEquipmentPartCheckItemListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["tenantId"] = this.tenantId; - data["configName"] = this.configName; - data["pushChannelType"] = this.pushChannelType; - data["configItem"] = this.configItem; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MessageConfigEditDto { + clone(): PagedResultDtoOfIcsEquipmentPartCheckItemListDto { const json = this.toJSON(); - let result = new MessageConfigEditDto(); + let result = new PagedResultDtoOfIcsEquipmentPartCheckItemListDto(); result.init(json); return result; } } -export interface IMessageConfigEditDto { - id: string | undefined; - tenantId: string | undefined; - /** 配置名称 */ - configName: string | undefined; - pushChannelType: _definitions_PushChannelType; - /** 配置项 JSON字符串 */ - configItem: string | undefined; +export interface IPagedResultDtoOfIcsEquipmentPartCheckItemListDto { + totalCount: number; + items: IcsEquipmentPartCheckItemListDto[] | undefined; } -export class MessageConfigListDto implements IMessageConfigListDto { - tenantId: string | undefined; - /** 配置名称 */ - configName: string | undefined; - pushChannelType: _definitions_PushChannelType; - /** 配置项 JSON字符串 */ - configItem: string | undefined; - isDeleted: boolean; - deleterUserId: string | undefined; - deletionTime: moment.Moment | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string; +export class PagedResultDtoOfIcsEquipmentPartsListDto implements IPagedResultDtoOfIcsEquipmentPartsListDto { + totalCount: number; + items: IcsEquipmentPartsListDto[] | undefined; - constructor(data?: IMessageConfigListDto) { + constructor(data?: IPagedResultDtoOfIcsEquipmentPartsListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -91626,84 +126422,51 @@ export class MessageConfigListDto implements IMessageConfigListDto { init(_data?: any) { if (_data) { - this.tenantId = _data["tenantId"]; - this.configName = _data["configName"]; - this.pushChannelType = _data["pushChannelType"]; - this.configItem = _data["configItem"]; - this.isDeleted = _data["isDeleted"]; - this.deleterUserId = _data["deleterUserId"]; - this.deletionTime = _data["deletionTime"] ? moment(_data["deletionTime"].toString()) : undefined; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsEquipmentPartsListDto.fromJS(item)); + } } } - static fromJS(data: any): MessageConfigListDto { + static fromJS(data: any): PagedResultDtoOfIcsEquipmentPartsListDto { data = typeof data === 'object' ? data : {}; - let result = new MessageConfigListDto(); + let result = new PagedResultDtoOfIcsEquipmentPartsListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["tenantId"] = this.tenantId; - data["configName"] = this.configName; - data["pushChannelType"] = this.pushChannelType; - data["configItem"] = this.configItem; - data["isDeleted"] = this.isDeleted; - data["deleterUserId"] = this.deleterUserId; - data["deletionTime"] = this.deletionTime ? this.deletionTime.toISOString() : undefined; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MessageConfigListDto { + clone(): PagedResultDtoOfIcsEquipmentPartsListDto { const json = this.toJSON(); - let result = new MessageConfigListDto(); + let result = new PagedResultDtoOfIcsEquipmentPartsListDto(); result.init(json); return result; } } -export interface IMessageConfigListDto { - tenantId: string | undefined; - /** 配置名称 */ - configName: string | undefined; - pushChannelType: _definitions_PushChannelType; - /** 配置项 JSON字符串 */ - configItem: string | undefined; - isDeleted: boolean; - deleterUserId: string | undefined; - deletionTime: moment.Moment | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string; +export interface IPagedResultDtoOfIcsEquipmentPartsListDto { + totalCount: number; + items: IcsEquipmentPartsListDto[] | undefined; } -export class MessageRecordListDto implements IMessageRecordListDto { - /** 消息规则名称 */ - ruleName: string | undefined; - /** 推送渠道类型 */ - pushChannelType: string | undefined; - /** 消息详情 */ - messageDetails: string | undefined; - /** 创建人 */ - creatorUserName: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string; +export class PagedResultDtoOfIcsEquipmentTSListDto implements IPagedResultDtoOfIcsEquipmentTSListDto { + totalCount: number; + items: IcsEquipmentTSListDto[] | undefined; - constructor(data?: IMessageRecordListDto) { + constructor(data?: IPagedResultDtoOfIcsEquipmentTSListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -91714,66 +126477,51 @@ export class MessageRecordListDto implements IMessageRecordListDto { init(_data?: any) { if (_data) { - this.ruleName = _data["ruleName"]; - this.pushChannelType = _data["pushChannelType"]; - this.messageDetails = _data["messageDetails"]; - this.creatorUserName = _data["creatorUserName"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsEquipmentTSListDto.fromJS(item)); + } } } - static fromJS(data: any): MessageRecordListDto { + static fromJS(data: any): PagedResultDtoOfIcsEquipmentTSListDto { data = typeof data === 'object' ? data : {}; - let result = new MessageRecordListDto(); + let result = new PagedResultDtoOfIcsEquipmentTSListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["ruleName"] = this.ruleName; - data["pushChannelType"] = this.pushChannelType; - data["messageDetails"] = this.messageDetails; - data["creatorUserName"] = this.creatorUserName; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MessageRecordListDto { + clone(): PagedResultDtoOfIcsEquipmentTSListDto { const json = this.toJSON(); - let result = new MessageRecordListDto(); + let result = new PagedResultDtoOfIcsEquipmentTSListDto(); result.init(json); return result; } } -export interface IMessageRecordListDto { - /** 消息规则名称 */ - ruleName: string | undefined; - /** 推送渠道类型 */ - pushChannelType: string | undefined; - /** 消息详情 */ - messageDetails: string | undefined; - /** 创建人 */ - creatorUserName: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string; +export interface IPagedResultDtoOfIcsEquipmentTSListDto { + totalCount: number; + items: IcsEquipmentTSListDto[] | undefined; } -export class MessageRuleEditDto implements IMessageRuleEditDto { - id: string | undefined; - tenantId: string | undefined; - /** 规则名称 */ - ruleName: string | undefined; - /** 规则配置 */ - messageRuleSettings: MessageRuleSettingsEditDto[] | undefined; +export class PagedResultDtoOfIcsErpTimeListDto implements IPagedResultDtoOfIcsErpTimeListDto { + totalCount: number; + items: IcsErpTimeListDto[] | undefined; - constructor(data?: IMessageRuleEditDto) { + constructor(data?: IPagedResultDtoOfIcsErpTimeListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -91784,70 +126532,51 @@ export class MessageRuleEditDto implements IMessageRuleEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.tenantId = _data["tenantId"]; - this.ruleName = _data["ruleName"]; - if (Array.isArray(_data["messageRuleSettings"])) { - this.messageRuleSettings = [] as any; - for (let item of _data["messageRuleSettings"]) - this.messageRuleSettings.push(MessageRuleSettingsEditDto.fromJS(item)); + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsErpTimeListDto.fromJS(item)); } } } - static fromJS(data: any): MessageRuleEditDto { + static fromJS(data: any): PagedResultDtoOfIcsErpTimeListDto { data = typeof data === 'object' ? data : {}; - let result = new MessageRuleEditDto(); + let result = new PagedResultDtoOfIcsErpTimeListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["tenantId"] = this.tenantId; - data["ruleName"] = this.ruleName; - if (Array.isArray(this.messageRuleSettings)) { - data["messageRuleSettings"] = []; - for (let item of this.messageRuleSettings) - data["messageRuleSettings"].push(item.toJSON()); + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } return data; } - clone(): MessageRuleEditDto { + clone(): PagedResultDtoOfIcsErpTimeListDto { const json = this.toJSON(); - let result = new MessageRuleEditDto(); + let result = new PagedResultDtoOfIcsErpTimeListDto(); result.init(json); return result; } } -export interface IMessageRuleEditDto { - id: string | undefined; - tenantId: string | undefined; - /** 规则名称 */ - ruleName: string | undefined; - /** 规则配置 */ - messageRuleSettings: MessageRuleSettingsEditDto[] | undefined; +export interface IPagedResultDtoOfIcsErpTimeListDto { + totalCount: number; + items: IcsErpTimeListDto[] | undefined; } -export class MessageRuleListDto implements IMessageRuleListDto { - tenantId: string | undefined; - /** 规则名称 */ - ruleName: string | undefined; - /** 规则配置 */ - messageRuleSettings: MessageRuleSettingsEditDto[] | undefined; - isDeleted: boolean; - deleterUserId: string | undefined; - deletionTime: moment.Moment | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string; +export class PagedResultDtoOfIcsFactoryListDto implements IPagedResultDtoOfIcsFactoryListDto { + totalCount: number; + items: IcsFactoryListDto[] | undefined; - constructor(data?: IMessageRuleListDto) { + constructor(data?: IPagedResultDtoOfIcsFactoryListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -91858,84 +126587,51 @@ export class MessageRuleListDto implements IMessageRuleListDto { init(_data?: any) { if (_data) { - this.tenantId = _data["tenantId"]; - this.ruleName = _data["ruleName"]; - if (Array.isArray(_data["messageRuleSettings"])) { - this.messageRuleSettings = [] as any; - for (let item of _data["messageRuleSettings"]) - this.messageRuleSettings.push(MessageRuleSettingsEditDto.fromJS(item)); + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsFactoryListDto.fromJS(item)); } - this.isDeleted = _data["isDeleted"]; - this.deleterUserId = _data["deleterUserId"]; - this.deletionTime = _data["deletionTime"] ? moment(_data["deletionTime"].toString()) : undefined; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; } } - static fromJS(data: any): MessageRuleListDto { + static fromJS(data: any): PagedResultDtoOfIcsFactoryListDto { data = typeof data === 'object' ? data : {}; - let result = new MessageRuleListDto(); + let result = new PagedResultDtoOfIcsFactoryListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["tenantId"] = this.tenantId; - data["ruleName"] = this.ruleName; - if (Array.isArray(this.messageRuleSettings)) { - data["messageRuleSettings"] = []; - for (let item of this.messageRuleSettings) - data["messageRuleSettings"].push(item.toJSON()); + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } - data["isDeleted"] = this.isDeleted; - data["deleterUserId"] = this.deleterUserId; - data["deletionTime"] = this.deletionTime ? this.deletionTime.toISOString() : undefined; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; return data; } - clone(): MessageRuleListDto { + clone(): PagedResultDtoOfIcsFactoryListDto { const json = this.toJSON(); - let result = new MessageRuleListDto(); + let result = new PagedResultDtoOfIcsFactoryListDto(); result.init(json); return result; } } -export interface IMessageRuleListDto { - tenantId: string | undefined; - /** 规则名称 */ - ruleName: string | undefined; - /** 规则配置 */ - messageRuleSettings: MessageRuleSettingsEditDto[] | undefined; - isDeleted: boolean; - deleterUserId: string | undefined; - deletionTime: moment.Moment | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string; +export interface IPagedResultDtoOfIcsFactoryListDto { + totalCount: number; + items: IcsFactoryListDto[] | undefined; } -export class MessageRuleSettingsEditDto implements IMessageRuleSettingsEditDto { - id: string | undefined; - pushChannelType: _definitions_PushChannelType; - /** 消息模板id */ - messageTemplateId: string; - /** 接收者集合,英文逗号分隔 */ - receivers: string | undefined; +export class PagedResultDtoOfIcsInventoryListDto implements IPagedResultDtoOfIcsInventoryListDto { + totalCount: number; + items: IcsInventoryListDto[] | undefined; - constructor(data?: IMessageRuleSettingsEditDto) { + constructor(data?: IPagedResultDtoOfIcsInventoryListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -91946,60 +126642,51 @@ export class MessageRuleSettingsEditDto implements IMessageRuleSettingsEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.pushChannelType = _data["pushChannelType"]; - this.messageTemplateId = _data["messageTemplateId"]; - this.receivers = _data["receivers"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsInventoryListDto.fromJS(item)); + } } } - static fromJS(data: any): MessageRuleSettingsEditDto { + static fromJS(data: any): PagedResultDtoOfIcsInventoryListDto { data = typeof data === 'object' ? data : {}; - let result = new MessageRuleSettingsEditDto(); + let result = new PagedResultDtoOfIcsInventoryListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["pushChannelType"] = this.pushChannelType; - data["messageTemplateId"] = this.messageTemplateId; - data["receivers"] = this.receivers; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MessageRuleSettingsEditDto { + clone(): PagedResultDtoOfIcsInventoryListDto { const json = this.toJSON(); - let result = new MessageRuleSettingsEditDto(); + let result = new PagedResultDtoOfIcsInventoryListDto(); result.init(json); return result; } } -export interface IMessageRuleSettingsEditDto { - id: string | undefined; - pushChannelType: _definitions_PushChannelType; - /** 消息模板id */ - messageTemplateId: string; - /** 接收者集合,英文逗号分隔 */ - receivers: string | undefined; +export interface IPagedResultDtoOfIcsInventoryListDto { + totalCount: number; + items: IcsInventoryListDto[] | undefined; } -export class MessageTemplateEditDto implements IMessageTemplateEditDto { - id: string | undefined; - tenantId: string | undefined; - /** 模板名称 */ - templateName: string | undefined; - /** 配置Id */ - messageConfigId: string; - /** 模板内容 */ - templateContent: string | undefined; - pushChannelType: _definitions_PushChannelType; - /** 类型为短信才显示:阿里云为TemplateCode,腾讯云,华为云为TemplateId */ - templateJson: string | undefined; +export class PagedResultDtoOfIcsItem2RouteListDto implements IPagedResultDtoOfIcsItem2RouteListDto { + totalCount: number; + items: IcsItem2RouteListDto[] | undefined; - constructor(data?: IMessageTemplateEditDto) { + constructor(data?: IPagedResultDtoOfIcsItem2RouteListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -92010,78 +126697,51 @@ export class MessageTemplateEditDto implements IMessageTemplateEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.tenantId = _data["tenantId"]; - this.templateName = _data["templateName"]; - this.messageConfigId = _data["messageConfigId"]; - this.templateContent = _data["templateContent"]; - this.pushChannelType = _data["pushChannelType"]; - this.templateJson = _data["templateJson"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsItem2RouteListDto.fromJS(item)); + } } } - static fromJS(data: any): MessageTemplateEditDto { + static fromJS(data: any): PagedResultDtoOfIcsItem2RouteListDto { data = typeof data === 'object' ? data : {}; - let result = new MessageTemplateEditDto(); + let result = new PagedResultDtoOfIcsItem2RouteListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["tenantId"] = this.tenantId; - data["templateName"] = this.templateName; - data["messageConfigId"] = this.messageConfigId; - data["templateContent"] = this.templateContent; - data["pushChannelType"] = this.pushChannelType; - data["templateJson"] = this.templateJson; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MessageTemplateEditDto { + clone(): PagedResultDtoOfIcsItem2RouteListDto { const json = this.toJSON(); - let result = new MessageTemplateEditDto(); + let result = new PagedResultDtoOfIcsItem2RouteListDto(); result.init(json); return result; } } -export interface IMessageTemplateEditDto { - id: string | undefined; - tenantId: string | undefined; - /** 模板名称 */ - templateName: string | undefined; - /** 配置Id */ - messageConfigId: string; - /** 模板内容 */ - templateContent: string | undefined; - pushChannelType: _definitions_PushChannelType; - /** 类型为短信才显示:阿里云为TemplateCode,腾讯云,华为云为TemplateId */ - templateJson: string | undefined; +export interface IPagedResultDtoOfIcsItem2RouteListDto { + totalCount: number; + items: IcsItem2RouteListDto[] | undefined; } -export class MessageTemplateListDto implements IMessageTemplateListDto { - tenantId: string | undefined; - /** 模板名称 */ - templateName: string | undefined; - /** 配置Id */ - messageConfigId: string; - pushChannelType: _definitions_PushChannelType; - /** 模板内容 */ - templateContent: string | undefined; - /** 类型为短信才显示:阿里云为TemplateCode,腾讯云,华为云为TemplateId */ - templateJson: string | undefined; - isDeleted: boolean; - deleterUserId: string | undefined; - deletionTime: moment.Moment | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string; +export class PagedResultDtoOfIcsItemModel2CheckGroupListDto implements IPagedResultDtoOfIcsItemModel2CheckGroupListDto { + totalCount: number; + items: IcsItemModel2CheckGroupListDto[] | undefined; - constructor(data?: IMessageTemplateListDto) { + constructor(data?: IPagedResultDtoOfIcsItemModel2CheckGroupListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -92092,96 +126752,51 @@ export class MessageTemplateListDto implements IMessageTemplateListDto { init(_data?: any) { if (_data) { - this.tenantId = _data["tenantId"]; - this.templateName = _data["templateName"]; - this.messageConfigId = _data["messageConfigId"]; - this.pushChannelType = _data["pushChannelType"]; - this.templateContent = _data["templateContent"]; - this.templateJson = _data["templateJson"]; - this.isDeleted = _data["isDeleted"]; - this.deleterUserId = _data["deleterUserId"]; - this.deletionTime = _data["deletionTime"] ? moment(_data["deletionTime"].toString()) : undefined; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsItemModel2CheckGroupListDto.fromJS(item)); + } } } - static fromJS(data: any): MessageTemplateListDto { + static fromJS(data: any): PagedResultDtoOfIcsItemModel2CheckGroupListDto { data = typeof data === 'object' ? data : {}; - let result = new MessageTemplateListDto(); + let result = new PagedResultDtoOfIcsItemModel2CheckGroupListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["tenantId"] = this.tenantId; - data["templateName"] = this.templateName; - data["messageConfigId"] = this.messageConfigId; - data["pushChannelType"] = this.pushChannelType; - data["templateContent"] = this.templateContent; - data["templateJson"] = this.templateJson; - data["isDeleted"] = this.isDeleted; - data["deleterUserId"] = this.deleterUserId; - data["deletionTime"] = this.deletionTime ? this.deletionTime.toISOString() : undefined; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MessageTemplateListDto { + clone(): PagedResultDtoOfIcsItemModel2CheckGroupListDto { const json = this.toJSON(); - let result = new MessageTemplateListDto(); + let result = new PagedResultDtoOfIcsItemModel2CheckGroupListDto(); result.init(json); return result; } } -export interface IMessageTemplateListDto { - tenantId: string | undefined; - /** 模板名称 */ - templateName: string | undefined; - /** 配置Id */ - messageConfigId: string; - pushChannelType: _definitions_PushChannelType; - /** 模板内容 */ - templateContent: string | undefined; - /** 类型为短信才显示:阿里云为TemplateCode,腾讯云,华为云为TemplateId */ - templateJson: string | undefined; - isDeleted: boolean; - deleterUserId: string | undefined; - deletionTime: moment.Moment | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string; +export interface IPagedResultDtoOfIcsItemModel2CheckGroupListDto { + totalCount: number; + items: IcsItemModel2CheckGroupListDto[] | undefined; } -/** Moment时间控件测试Dto */ -export class MomentTestDto implements IMomentTestDto { - /** 精确到日期 */ - accurateToDate: moment.Moment; - /** 精确到小时 */ - accurateToTime: moment.Moment; - /** 日期格式化YY/MM/DD */ - yymmdd: moment.Moment; - /** 日期格式化DD/MM/YYYY */ - ddmmyyyy: moment.Moment; - /** 日期格式化YYYY/MM */ - yyyymm: moment.Moment; - /** 开始时间 */ - startTime: moment.Moment; - /** 结束时间 */ - endTime: moment.Moment; +export class PagedResultDtoOfIcsItemOp2CheckItemListDto implements IPagedResultDtoOfIcsItemOp2CheckItemListDto { + totalCount: number; + items: IcsItemOp2CheckItemListDto[] | undefined; - constructor(data?: IMomentTestDto) { + constructor(data?: IPagedResultDtoOfIcsItemOp2CheckItemListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -92192,69 +126807,51 @@ export class MomentTestDto implements IMomentTestDto { init(_data?: any) { if (_data) { - this.accurateToDate = _data["accurateToDate"] ? moment(_data["accurateToDate"].toString()) : undefined; - this.accurateToTime = _data["accurateToTime"] ? moment(_data["accurateToTime"].toString()) : undefined; - this.yymmdd = _data["yymmdd"] ? moment(_data["yymmdd"].toString()) : undefined; - this.ddmmyyyy = _data["ddmmyyyy"] ? moment(_data["ddmmyyyy"].toString()) : undefined; - this.yyyymm = _data["yyyymm"] ? moment(_data["yyyymm"].toString()) : undefined; - this.startTime = _data["startTime"] ? moment(_data["startTime"].toString()) : undefined; - this.endTime = _data["endTime"] ? moment(_data["endTime"].toString()) : undefined; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsItemOp2CheckItemListDto.fromJS(item)); + } } } - static fromJS(data: any): MomentTestDto { + static fromJS(data: any): PagedResultDtoOfIcsItemOp2CheckItemListDto { data = typeof data === 'object' ? data : {}; - let result = new MomentTestDto(); + let result = new PagedResultDtoOfIcsItemOp2CheckItemListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["accurateToDate"] = this.accurateToDate ? this.accurateToDate.toISOString() : undefined; - data["accurateToTime"] = this.accurateToTime ? this.accurateToTime.toISOString() : undefined; - data["yymmdd"] = this.yymmdd ? this.yymmdd.toISOString() : undefined; - data["ddmmyyyy"] = this.ddmmyyyy ? this.ddmmyyyy.toISOString() : undefined; - data["yyyymm"] = this.yyyymm ? this.yyyymm.toISOString() : undefined; - data["startTime"] = this.startTime ? this.startTime.toISOString() : undefined; - data["endTime"] = this.endTime ? this.endTime.toISOString() : undefined; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MomentTestDto { + clone(): PagedResultDtoOfIcsItemOp2CheckItemListDto { const json = this.toJSON(); - let result = new MomentTestDto(); + let result = new PagedResultDtoOfIcsItemOp2CheckItemListDto(); result.init(json); return result; } } -/** Moment时间控件测试Dto */ -export interface IMomentTestDto { - /** 精确到日期 */ - accurateToDate: moment.Moment; - /** 精确到小时 */ - accurateToTime: moment.Moment; - /** 日期格式化YY/MM/DD */ - yymmdd: moment.Moment; - /** 日期格式化DD/MM/YYYY */ - ddmmyyyy: moment.Moment; - /** 日期格式化YYYY/MM */ - yyyymm: moment.Moment; - /** 开始时间 */ - startTime: moment.Moment; - /** 结束时间 */ - endTime: moment.Moment; +export interface IPagedResultDtoOfIcsItemOp2CheckItemListDto { + totalCount: number; + items: IcsItemOp2CheckItemListDto[] | undefined; } -/** 移动组织单元 */ -export class MoveOrganizationUnitInput implements IMoveOrganizationUnitInput { - /** 编号 */ - id: string | undefined; - /** 新父节点 */ - newParentId: string | undefined; +export class PagedResultDtoOfIcsItemRoute2OpListDto implements IPagedResultDtoOfIcsItemRoute2OpListDto { + totalCount: number; + items: IcsItemRoute2OpListDto[] | undefined; - constructor(data?: IMoveOrganizationUnitInput) { + constructor(data?: IPagedResultDtoOfIcsItemRoute2OpListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -92265,49 +126862,51 @@ export class MoveOrganizationUnitInput implements IMoveOrganizationUnitInput { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.newParentId = _data["newParentId"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsItemRoute2OpListDto.fromJS(item)); + } } } - static fromJS(data: any): MoveOrganizationUnitInput { + static fromJS(data: any): PagedResultDtoOfIcsItemRoute2OpListDto { data = typeof data === 'object' ? data : {}; - let result = new MoveOrganizationUnitInput(); + let result = new PagedResultDtoOfIcsItemRoute2OpListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["newParentId"] = this.newParentId; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MoveOrganizationUnitInput { + clone(): PagedResultDtoOfIcsItemRoute2OpListDto { const json = this.toJSON(); - let result = new MoveOrganizationUnitInput(); + let result = new PagedResultDtoOfIcsItemRoute2OpListDto(); result.init(json); return result; } } -/** 移动组织单元 */ -export interface IMoveOrganizationUnitInput { - /** 编号 */ - id: string | undefined; - /** 新父节点 */ - newParentId: string | undefined; +export interface IPagedResultDtoOfIcsItemRoute2OpListDto { + totalCount: number; + items: IcsItemRoute2OpListDto[] | undefined; } -/** 移动系统文件 */ -export class MoveSysFilesInput implements IMoveSysFilesInput { - /** 编号 */ - id: string; - /** 新父级编号 */ - newParentId: string | undefined; +export class PagedResultDtoOfIcsItemStd2RouteListDto implements IPagedResultDtoOfIcsItemStd2RouteListDto { + totalCount: number; + items: IcsItemStd2RouteListDto[] | undefined; - constructor(data?: IMoveSysFilesInput) { + constructor(data?: IPagedResultDtoOfIcsItemStd2RouteListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -92318,49 +126917,51 @@ export class MoveSysFilesInput implements IMoveSysFilesInput { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.newParentId = _data["newParentId"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsItemStd2RouteListDto.fromJS(item)); + } } } - static fromJS(data: any): MoveSysFilesInput { + static fromJS(data: any): PagedResultDtoOfIcsItemStd2RouteListDto { data = typeof data === 'object' ? data : {}; - let result = new MoveSysFilesInput(); + let result = new PagedResultDtoOfIcsItemStd2RouteListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["newParentId"] = this.newParentId; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MoveSysFilesInput { + clone(): PagedResultDtoOfIcsItemStd2RouteListDto { const json = this.toJSON(); - let result = new MoveSysFilesInput(); + let result = new PagedResultDtoOfIcsItemStd2RouteListDto(); result.init(json); return result; } } -/** 移动系统文件 */ -export interface IMoveSysFilesInput { - /** 编号 */ - id: string; - /** 新父级编号 */ - newParentId: string | undefined; +export interface IPagedResultDtoOfIcsItemStd2RouteListDto { + totalCount: number; + items: IcsItemStd2RouteListDto[] | undefined; } -/** 更新租户版本 */ -export class MoveTenantsToAnotherEditionDto implements IMoveTenantsToAnotherEditionDto { - /** 源版本Id */ - sourceEditionId: string | undefined; - /** 目标版本Id */ - targetEditionId: string | undefined; +export class PagedResultDtoOfIcsLotNoSplitLogDto implements IPagedResultDtoOfIcsLotNoSplitLogDto { + totalCount: number; + items: IcsLotNoSplitLogDto[] | undefined; - constructor(data?: IMoveTenantsToAnotherEditionDto) { + constructor(data?: IPagedResultDtoOfIcsLotNoSplitLogDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -92371,51 +126972,51 @@ export class MoveTenantsToAnotherEditionDto implements IMoveTenantsToAnotherEdit init(_data?: any) { if (_data) { - this.sourceEditionId = _data["sourceEditionId"]; - this.targetEditionId = _data["targetEditionId"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsLotNoSplitLogDto.fromJS(item)); + } } } - static fromJS(data: any): MoveTenantsToAnotherEditionDto { + static fromJS(data: any): PagedResultDtoOfIcsLotNoSplitLogDto { data = typeof data === 'object' ? data : {}; - let result = new MoveTenantsToAnotherEditionDto(); + let result = new PagedResultDtoOfIcsLotNoSplitLogDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["sourceEditionId"] = this.sourceEditionId; - data["targetEditionId"] = this.targetEditionId; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): MoveTenantsToAnotherEditionDto { + clone(): PagedResultDtoOfIcsLotNoSplitLogDto { const json = this.toJSON(); - let result = new MoveTenantsToAnotherEditionDto(); + let result = new PagedResultDtoOfIcsLotNoSplitLogDto(); result.init(json); return result; } } -/** 更新租户版本 */ -export interface IMoveTenantsToAnotherEditionDto { - /** 源版本Id */ - sourceEditionId: string | undefined; - /** 目标版本Id */ - targetEditionId: string | undefined; -} - -export enum MultiTenancySides { - Tenant = "Tenant", - Host = "Host", +export interface IPagedResultDtoOfIcsLotNoSplitLogDto { + totalCount: number; + items: IcsLotNoSplitLogDto[] | undefined; } -export class NameValueDto implements INameValueDto { - name: string | undefined; - value: string | undefined; +export class PagedResultDtoOfIcsLotOnWip2Dto implements IPagedResultDtoOfIcsLotOnWip2Dto { + totalCount: number; + items: IcsLotOnWip2Dto[] | undefined; - constructor(data?: INameValueDto) { + constructor(data?: IPagedResultDtoOfIcsLotOnWip2Dto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -92426,42 +127027,51 @@ export class NameValueDto implements INameValueDto { init(_data?: any) { if (_data) { - this.name = _data["name"]; - this.value = _data["value"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsLotOnWip2Dto.fromJS(item)); + } } } - static fromJS(data: any): NameValueDto { + static fromJS(data: any): PagedResultDtoOfIcsLotOnWip2Dto { data = typeof data === 'object' ? data : {}; - let result = new NameValueDto(); + let result = new PagedResultDtoOfIcsLotOnWip2Dto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["name"] = this.name; - data["value"] = this.value; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): NameValueDto { + clone(): PagedResultDtoOfIcsLotOnWip2Dto { const json = this.toJSON(); - let result = new NameValueDto(); + let result = new PagedResultDtoOfIcsLotOnWip2Dto(); result.init(json); return result; } } -export interface INameValueDto { - name: string | undefined; - value: string | undefined; -} - -export class NewsInfo implements INewsInfo { - list: NewsInfoItem[] | undefined; +export interface IPagedResultDtoOfIcsLotOnWip2Dto { + totalCount: number; + items: IcsLotOnWip2Dto[] | undefined; +} - constructor(data?: INewsInfo) { +export class PagedResultDtoOfIcsLotOnWipItemDto implements IPagedResultDtoOfIcsLotOnWipItemDto { + totalCount: number; + items: IcsLotOnWipItemDto[] | undefined; + + constructor(data?: IPagedResultDtoOfIcsLotOnWipItemDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -92472,53 +127082,51 @@ export class NewsInfo implements INewsInfo { init(_data?: any) { if (_data) { - if (Array.isArray(_data["list"])) { - this.list = [] as any; - for (let item of _data["list"]) - this.list.push(NewsInfoItem.fromJS(item)); + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsLotOnWipItemDto.fromJS(item)); } } } - static fromJS(data: any): NewsInfo { + static fromJS(data: any): PagedResultDtoOfIcsLotOnWipItemDto { data = typeof data === 'object' ? data : {}; - let result = new NewsInfo(); + let result = new PagedResultDtoOfIcsLotOnWipItemDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.list)) { - data["list"] = []; - for (let item of this.list) - data["list"].push(item.toJSON()); + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } return data; } - clone(): NewsInfo { + clone(): PagedResultDtoOfIcsLotOnWipItemDto { const json = this.toJSON(); - let result = new NewsInfo(); + let result = new PagedResultDtoOfIcsLotOnWipItemDto(); result.init(json); return result; } } -export interface INewsInfo { - list: NewsInfoItem[] | undefined; +export interface IPagedResultDtoOfIcsLotOnWipItemDto { + totalCount: number; + items: IcsLotOnWipItemDto[] | undefined; } -export class NewsInfoItem implements INewsInfoItem { - title: string | undefined; - author: string | undefined; - digest: string | undefined; - show_cover: number; - cover_url: string | undefined; - content_url: string | undefined; - source_url: string | undefined; +export class PagedResultDtoOfIcsLotRoute2OpListDto implements IPagedResultDtoOfIcsLotRoute2OpListDto { + totalCount: number; + items: IcsLotRoute2OpListDto[] | undefined; - constructor(data?: INewsInfoItem) { + constructor(data?: IPagedResultDtoOfIcsLotRoute2OpListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -92529,58 +127137,51 @@ export class NewsInfoItem implements INewsInfoItem { init(_data?: any) { if (_data) { - this.title = _data["title"]; - this.author = _data["author"]; - this.digest = _data["digest"]; - this.show_cover = _data["show_cover"]; - this.cover_url = _data["cover_url"]; - this.content_url = _data["content_url"]; - this.source_url = _data["source_url"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsLotRoute2OpListDto.fromJS(item)); + } } } - static fromJS(data: any): NewsInfoItem { + static fromJS(data: any): PagedResultDtoOfIcsLotRoute2OpListDto { data = typeof data === 'object' ? data : {}; - let result = new NewsInfoItem(); + let result = new PagedResultDtoOfIcsLotRoute2OpListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["title"] = this.title; - data["author"] = this.author; - data["digest"] = this.digest; - data["show_cover"] = this.show_cover; - data["cover_url"] = this.cover_url; - data["content_url"] = this.content_url; - data["source_url"] = this.source_url; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): NewsInfoItem { + clone(): PagedResultDtoOfIcsLotRoute2OpListDto { const json = this.toJSON(); - let result = new NewsInfoItem(); + let result = new PagedResultDtoOfIcsLotRoute2OpListDto(); result.init(json); return result; } } -export interface INewsInfoItem { - title: string | undefined; - author: string | undefined; - digest: string | undefined; - show_cover: number; - cover_url: string | undefined; - content_url: string | undefined; - source_url: string | undefined; +export interface IPagedResultDtoOfIcsLotRoute2OpListDto { + totalCount: number; + items: IcsLotRoute2OpListDto[] | undefined; } -export class NotificationData implements INotificationData { - readonly type: string | undefined; - properties: { [key: string]: any; } | undefined; +export class PagedResultDtoOfIcsMachineCellListDto implements IPagedResultDtoOfIcsMachineCellListDto { + totalCount: number; + items: IcsMachineCellListDto[] | undefined; - constructor(data?: INotificationData) { + constructor(data?: IPagedResultDtoOfIcsMachineCellListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -92591,66 +127192,51 @@ export class NotificationData implements INotificationData { init(_data?: any) { if (_data) { - (this).type = _data["type"]; - if (_data["properties"]) { - this.properties = {} as any; - for (let key in _data["properties"]) { - if (_data["properties"].hasOwnProperty(key)) - (this.properties)[key] = _data["properties"][key]; - } + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsMachineCellListDto.fromJS(item)); } } } - static fromJS(data: any): NotificationData { + static fromJS(data: any): PagedResultDtoOfIcsMachineCellListDto { data = typeof data === 'object' ? data : {}; - let result = new NotificationData(); + let result = new PagedResultDtoOfIcsMachineCellListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["type"] = this.type; - if (this.properties) { - data["properties"] = {}; - for (let key in this.properties) { - if (this.properties.hasOwnProperty(key)) - (data["properties"])[key] = (this.properties)[key]; - } + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } return data; } - clone(): NotificationData { + clone(): PagedResultDtoOfIcsMachineCellListDto { const json = this.toJSON(); - let result = new NotificationData(); + let result = new PagedResultDtoOfIcsMachineCellListDto(); result.init(json); return result; } } -export interface INotificationData { - type: string | undefined; - properties: { [key: string]: any; } | undefined; -} - -export enum NotificationSeverity { - Info = "Info", - Success = "Success", - Warn = "Warn", - Error = "Error", - Fatal = "Fatal", +export interface IPagedResultDtoOfIcsMachineCellListDto { + totalCount: number; + items: IcsMachineCellListDto[] | undefined; } -/** 通知订阅 */ -export class NotificationSubscriptionDto implements INotificationSubscriptionDto { - /** 名称 */ - name: string; - /** 是否订阅 */ - isSubscribed: boolean; +export class PagedResultDtoOfIcsMainCategoryCodeListDto implements IPagedResultDtoOfIcsMainCategoryCodeListDto { + totalCount: number; + items: IcsMainCategoryCodeListDto[] | undefined; - constructor(data?: INotificationSubscriptionDto) { + constructor(data?: IPagedResultDtoOfIcsMainCategoryCodeListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -92661,53 +127247,51 @@ export class NotificationSubscriptionDto implements INotificationSubscriptionDto init(_data?: any) { if (_data) { - this.name = _data["name"]; - this.isSubscribed = _data["isSubscribed"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsMainCategoryCodeListDto.fromJS(item)); + } } } - static fromJS(data: any): NotificationSubscriptionDto { + static fromJS(data: any): PagedResultDtoOfIcsMainCategoryCodeListDto { data = typeof data === 'object' ? data : {}; - let result = new NotificationSubscriptionDto(); + let result = new PagedResultDtoOfIcsMainCategoryCodeListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["name"] = this.name; - data["isSubscribed"] = this.isSubscribed; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): NotificationSubscriptionDto { + clone(): PagedResultDtoOfIcsMainCategoryCodeListDto { const json = this.toJSON(); - let result = new NotificationSubscriptionDto(); + let result = new PagedResultDtoOfIcsMainCategoryCodeListDto(); result.init(json); return result; } } -/** 通知订阅 */ -export interface INotificationSubscriptionDto { - /** 名称 */ - name: string; - /** 是否订阅 */ - isSubscribed: boolean; +export interface IPagedResultDtoOfIcsMainCategoryCodeListDto { + totalCount: number; + items: IcsMainCategoryCodeListDto[] | undefined; } -/** 通知订阅(显示名称) */ -export class NotificationSubscriptionWithDisplayNameDto implements INotificationSubscriptionWithDisplayNameDto { - /** 显示名称 */ - displayName: string | undefined; - /** 描述 */ - description: string | undefined; - /** 名称 */ - name: string; - /** 是否订阅 */ - isSubscribed: boolean; +export class PagedResultDtoOfIcsManualRecordingListDto implements IPagedResultDtoOfIcsManualRecordingListDto { + totalCount: number; + items: IcsManualRecordingListDto[] | undefined; - constructor(data?: INotificationSubscriptionWithDisplayNameDto) { + constructor(data?: IPagedResultDtoOfIcsManualRecordingListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -92718,75 +127302,51 @@ export class NotificationSubscriptionWithDisplayNameDto implements INotification init(_data?: any) { if (_data) { - this.displayName = _data["displayName"]; - this.description = _data["description"]; - this.name = _data["name"]; - this.isSubscribed = _data["isSubscribed"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsManualRecordingListDto.fromJS(item)); + } } } - static fromJS(data: any): NotificationSubscriptionWithDisplayNameDto { + static fromJS(data: any): PagedResultDtoOfIcsManualRecordingListDto { data = typeof data === 'object' ? data : {}; - let result = new NotificationSubscriptionWithDisplayNameDto(); + let result = new PagedResultDtoOfIcsManualRecordingListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["displayName"] = this.displayName; - data["description"] = this.description; - data["name"] = this.name; - data["isSubscribed"] = this.isSubscribed; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): NotificationSubscriptionWithDisplayNameDto { + clone(): PagedResultDtoOfIcsManualRecordingListDto { const json = this.toJSON(); - let result = new NotificationSubscriptionWithDisplayNameDto(); + let result = new PagedResultDtoOfIcsManualRecordingListDto(); result.init(json); return result; } } -/** 通知订阅(显示名称) */ -export interface INotificationSubscriptionWithDisplayNameDto { - /** 显示名称 */ - displayName: string | undefined; - /** 描述 */ - description: string | undefined; - /** 名称 */ - name: string; - /** 是否订阅 */ - isSubscribed: boolean; -} - -export enum OpenTypeEnum { - Group = "Group", - Component = "Component", - Iframe = "Iframe", - Outer = "Outer", +export interface IPagedResultDtoOfIcsManualRecordingListDto { + totalCount: number; + items: IcsManualRecordingListDto[] | undefined; } -/** 组织机构列表Dto */ -export class OrganizationUnitListDto implements IOrganizationUnitListDto { - /** 父节点Id */ - parentId: string | undefined; - /** 代码 */ - code: string | undefined; - /** 显示名称 */ - displayName: string | undefined; - /** 成员数量 */ - memberCount: number; - /** 角色数量 */ - roleCount: number; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string | undefined; +export class PagedResultDtoOfIcsManufacturingListDto implements IPagedResultDtoOfIcsManufacturingListDto { + totalCount: number; + items: IcsManufacturingListDto[] | undefined; - constructor(data?: IOrganizationUnitListDto) { + constructor(data?: IPagedResultDtoOfIcsManufacturingListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -92797,79 +127357,51 @@ export class OrganizationUnitListDto implements IOrganizationUnitListDto { init(_data?: any) { if (_data) { - this.parentId = _data["parentId"]; - this.code = _data["code"]; - this.displayName = _data["displayName"]; - this.memberCount = _data["memberCount"]; - this.roleCount = _data["roleCount"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsManufacturingListDto.fromJS(item)); + } } } - static fromJS(data: any): OrganizationUnitListDto { + static fromJS(data: any): PagedResultDtoOfIcsManufacturingListDto { data = typeof data === 'object' ? data : {}; - let result = new OrganizationUnitListDto(); + let result = new PagedResultDtoOfIcsManufacturingListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["parentId"] = this.parentId; - data["code"] = this.code; - data["displayName"] = this.displayName; - data["memberCount"] = this.memberCount; - data["roleCount"] = this.roleCount; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): OrganizationUnitListDto { + clone(): PagedResultDtoOfIcsManufacturingListDto { const json = this.toJSON(); - let result = new OrganizationUnitListDto(); + let result = new PagedResultDtoOfIcsManufacturingListDto(); result.init(json); return result; } } -/** 组织机构列表Dto */ -export interface IOrganizationUnitListDto { - /** 父节点Id */ - parentId: string | undefined; - /** 代码 */ - code: string | undefined; - /** 显示名称 */ - displayName: string | undefined; - /** 成员数量 */ - memberCount: number; - /** 角色数量 */ - roleCount: number; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string | undefined; +export interface IPagedResultDtoOfIcsManufacturingListDto { + totalCount: number; + items: IcsManufacturingListDto[] | undefined; } -/** 组织单元角色列表 */ -export class OrganizationUnitRoleListDto implements IOrganizationUnitRoleListDto { - /** 显示名称 */ - displayName: string | undefined; - /** 名称 */ - name: string | undefined; - /** 添加时间 */ - addedTime: moment.Moment; - id: string | undefined; +export class PagedResultDtoOfIcsMfManufacturerCertificateListDto implements IPagedResultDtoOfIcsMfManufacturerCertificateListDto { + totalCount: number; + items: IcsMfManufacturerCertificateListDto[] | undefined; - constructor(data?: IOrganizationUnitRoleListDto) { + constructor(data?: IPagedResultDtoOfIcsMfManufacturerCertificateListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -92880,57 +127412,51 @@ export class OrganizationUnitRoleListDto implements IOrganizationUnitRoleListDto init(_data?: any) { if (_data) { - this.displayName = _data["displayName"]; - this.name = _data["name"]; - this.addedTime = _data["addedTime"] ? moment(_data["addedTime"].toString()) : undefined; - this.id = _data["id"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsMfManufacturerCertificateListDto.fromJS(item)); + } } } - static fromJS(data: any): OrganizationUnitRoleListDto { + static fromJS(data: any): PagedResultDtoOfIcsMfManufacturerCertificateListDto { data = typeof data === 'object' ? data : {}; - let result = new OrganizationUnitRoleListDto(); + let result = new PagedResultDtoOfIcsMfManufacturerCertificateListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["displayName"] = this.displayName; - data["name"] = this.name; - data["addedTime"] = this.addedTime ? this.addedTime.toISOString() : undefined; - data["id"] = this.id; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): OrganizationUnitRoleListDto { + clone(): PagedResultDtoOfIcsMfManufacturerCertificateListDto { const json = this.toJSON(); - let result = new OrganizationUnitRoleListDto(); + let result = new PagedResultDtoOfIcsMfManufacturerCertificateListDto(); result.init(json); return result; } } -/** 组织单元角色列表 */ -export interface IOrganizationUnitRoleListDto { - /** 显示名称 */ - displayName: string | undefined; - /** 名称 */ - name: string | undefined; - /** 添加时间 */ - addedTime: moment.Moment; - id: string | undefined; +export interface IPagedResultDtoOfIcsMfManufacturerCertificateListDto { + totalCount: number; + items: IcsMfManufacturerCertificateListDto[] | undefined; } -/** 组织单元用户列表 */ -export class OrganizationUnitUserListDto implements IOrganizationUnitUserListDto { - /** 用户名 */ - userName: string | undefined; - /** 添加时间 */ - addedTime: moment.Moment; - id: string | undefined; +export class PagedResultDtoOfIcsMinNoListDto implements IPagedResultDtoOfIcsMinNoListDto { + totalCount: number; + items: IcsMinNoListDto[] | undefined; - constructor(data?: IOrganizationUnitUserListDto) { + constructor(data?: IPagedResultDtoOfIcsMinNoListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -92941,58 +127467,51 @@ export class OrganizationUnitUserListDto implements IOrganizationUnitUserListDto init(_data?: any) { if (_data) { - this.userName = _data["userName"]; - this.addedTime = _data["addedTime"] ? moment(_data["addedTime"].toString()) : undefined; - this.id = _data["id"]; + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsMinNoListDto.fromJS(item)); + } } } - static fromJS(data: any): OrganizationUnitUserListDto { + static fromJS(data: any): PagedResultDtoOfIcsMinNoListDto { data = typeof data === 'object' ? data : {}; - let result = new OrganizationUnitUserListDto(); + let result = new PagedResultDtoOfIcsMinNoListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["userName"] = this.userName; - data["addedTime"] = this.addedTime ? this.addedTime.toISOString() : undefined; - data["id"] = this.id; + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); + } return data; } - clone(): OrganizationUnitUserListDto { + clone(): PagedResultDtoOfIcsMinNoListDto { const json = this.toJSON(); - let result = new OrganizationUnitUserListDto(); + let result = new PagedResultDtoOfIcsMinNoListDto(); result.init(json); return result; } } -/** 组织单元用户列表 */ -export interface IOrganizationUnitUserListDto { - /** 用户名 */ - userName: string | undefined; - /** 添加时间 */ - addedTime: moment.Moment; - id: string | undefined; +export interface IPagedResultDtoOfIcsMinNoListDto { + totalCount: number; + items: IcsMinNoListDto[] | undefined; } -/** 页面过滤 */ -export class PageFilterDto implements IPageFilterDto { - /** 编号 */ - id: string | undefined; - /** 页面过滤名称 */ - pageFilterName: string | undefined; - /** 页面过滤元素YoyoBoot.PageFilters.Dtos.PageFilterElementDto */ - pageFilterElements: PageFilterElementDto[] | undefined; - /** 布局方式( null | "horizontal" | "vertical" // 布局方式) */ - layout: string | undefined; - /** label对齐方式 */ - labelAlign: string | undefined; +export class PagedResultDtoOfIcsMo2LotListDto implements IPagedResultDtoOfIcsMo2LotListDto { + totalCount: number; + items: IcsMo2LotListDto[] | undefined; - constructor(data?: IPageFilterDto) { + constructor(data?: IPagedResultDtoOfIcsMo2LotListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -93003,91 +127522,51 @@ export class PageFilterDto implements IPageFilterDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.pageFilterName = _data["pageFilterName"]; - if (Array.isArray(_data["pageFilterElements"])) { - this.pageFilterElements = [] as any; - for (let item of _data["pageFilterElements"]) - this.pageFilterElements.push(PageFilterElementDto.fromJS(item)); + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsMo2LotListDto.fromJS(item)); } - this.layout = _data["layout"]; - this.labelAlign = _data["labelAlign"]; } } - static fromJS(data: any): PageFilterDto { + static fromJS(data: any): PagedResultDtoOfIcsMo2LotListDto { data = typeof data === 'object' ? data : {}; - let result = new PageFilterDto(); + let result = new PagedResultDtoOfIcsMo2LotListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["pageFilterName"] = this.pageFilterName; - if (Array.isArray(this.pageFilterElements)) { - data["pageFilterElements"] = []; - for (let item of this.pageFilterElements) - data["pageFilterElements"].push(item.toJSON()); + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } - data["layout"] = this.layout; - data["labelAlign"] = this.labelAlign; return data; } - clone(): PageFilterDto { + clone(): PagedResultDtoOfIcsMo2LotListDto { const json = this.toJSON(); - let result = new PageFilterDto(); + let result = new PagedResultDtoOfIcsMo2LotListDto(); result.init(json); return result; } } -/** 页面过滤 */ -export interface IPageFilterDto { - /** 编号 */ - id: string | undefined; - /** 页面过滤名称 */ - pageFilterName: string | undefined; - /** 页面过滤元素YoyoBoot.PageFilters.Dtos.PageFilterElementDto */ - pageFilterElements: PageFilterElementDto[] | undefined; - /** 布局方式( null | "horizontal" | "vertical" // 布局方式) */ - layout: string | undefined; - /** label对齐方式 */ - labelAlign: string | undefined; +export interface IPagedResultDtoOfIcsMo2LotListDto { + totalCount: number; + items: IcsMo2LotListDto[] | undefined; } -/** 页面过滤元素 */ -export class PageFilterElementDto implements IPageFilterElementDto { - /** 编号 */ - id: string | undefined; - /** 页面过滤编号 */ - pageFilterId: string; - /** 排序 */ - sortNum: number; - /** 过滤字段 */ - field: string | undefined; - /** 显示名称 */ - filterTitle: string | undefined; - /** 默认宽度 */ - filterWidth: number; - /** 操作条件 */ - queryType: string | undefined; - /** 前端组件 */ - componentName: string | undefined; - /** true:值为空则跳过筛选 false:值为空不跳过筛选 */ - skipValueIsNull: boolean; - /** 前端组件参数 */ - args: { [key: string]: any; } | undefined; - /** 值发生改变通知的page-filter组件名称集合 */ - valueChange: string[] | undefined; - /** 高级过滤 */ - isAdvanced: boolean; - /** 是否展示 */ - ifShow: boolean; +export class PagedResultDtoOfIcsMoDispatchingListDto implements IPagedResultDtoOfIcsMoDispatchingListDto { + totalCount: number; + items: IcsMoDispatchingListDto[] | undefined; - constructor(data?: IPageFilterElementDto) { + constructor(data?: IPagedResultDtoOfIcsMoDispatchingListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -93098,125 +127577,51 @@ export class PageFilterElementDto implements IPageFilterElementDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.pageFilterId = _data["pageFilterId"]; - this.sortNum = _data["sortNum"]; - this.field = _data["field"]; - this.filterTitle = _data["filterTitle"]; - this.filterWidth = _data["filterWidth"]; - this.queryType = _data["queryType"]; - this.componentName = _data["componentName"]; - this.skipValueIsNull = _data["skipValueIsNull"]; - if (_data["args"]) { - this.args = {} as any; - for (let key in _data["args"]) { - if (_data["args"].hasOwnProperty(key)) - (this.args)[key] = _data["args"][key]; - } - } - if (Array.isArray(_data["valueChange"])) { - this.valueChange = [] as any; - for (let item of _data["valueChange"]) - this.valueChange.push(item); + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsMoDispatchingListDto.fromJS(item)); } - this.isAdvanced = _data["isAdvanced"]; - this.ifShow = _data["ifShow"]; } } - static fromJS(data: any): PageFilterElementDto { + static fromJS(data: any): PagedResultDtoOfIcsMoDispatchingListDto { data = typeof data === 'object' ? data : {}; - let result = new PageFilterElementDto(); + let result = new PagedResultDtoOfIcsMoDispatchingListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["pageFilterId"] = this.pageFilterId; - data["sortNum"] = this.sortNum; - data["field"] = this.field; - data["filterTitle"] = this.filterTitle; - data["filterWidth"] = this.filterWidth; - data["queryType"] = this.queryType; - data["componentName"] = this.componentName; - data["skipValueIsNull"] = this.skipValueIsNull; - if (this.args) { - data["args"] = {}; - for (let key in this.args) { - if (this.args.hasOwnProperty(key)) - (data["args"])[key] = (this.args)[key]; - } - } - if (Array.isArray(this.valueChange)) { - data["valueChange"] = []; - for (let item of this.valueChange) - data["valueChange"].push(item); + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } - data["isAdvanced"] = this.isAdvanced; - data["ifShow"] = this.ifShow; return data; } - clone(): PageFilterElementDto { + clone(): PagedResultDtoOfIcsMoDispatchingListDto { const json = this.toJSON(); - let result = new PageFilterElementDto(); + let result = new PagedResultDtoOfIcsMoDispatchingListDto(); result.init(json); return result; } } - -/** 页面过滤元素 */ -export interface IPageFilterElementDto { - /** 编号 */ - id: string | undefined; - /** 页面过滤编号 */ - pageFilterId: string; - /** 排序 */ - sortNum: number; - /** 过滤字段 */ - field: string | undefined; - /** 显示名称 */ - filterTitle: string | undefined; - /** 默认宽度 */ - filterWidth: number; - /** 操作条件 */ - queryType: string | undefined; - /** 前端组件 */ - componentName: string | undefined; - /** true:值为空则跳过筛选 false:值为空不跳过筛选 */ - skipValueIsNull: boolean; - /** 前端组件参数 */ - args: { [key: string]: any; } | undefined; - /** 值发生改变通知的page-filter组件名称集合 */ - valueChange: string[] | undefined; - /** 高级过滤 */ - isAdvanced: boolean; - /** 是否展示 */ - ifShow: boolean; + +export interface IPagedResultDtoOfIcsMoDispatchingListDto { + totalCount: number; + items: IcsMoDispatchingListDto[] | undefined; } -export class PageFilterItemDto implements IPageFilterItemDto { - order: number; - label: string | undefined; - componentName: string | undefined; - args: { [key: string]: any; } | undefined; - valueChange: string[] | undefined; - enabled: boolean; - width: number; - xsWidth: number | undefined; - smWidth: number | undefined; - mdWidth: number | undefined; - lgWidth: number | undefined; - xlWidth: number | undefined; - xxlWidth: number | undefined; - field: string | undefined; - value: string | undefined; - operator: QueryOperator; - skipValueIsNull: boolean; +export class PagedResultDtoOfIcsMoListDto implements IPagedResultDtoOfIcsMoListDto { + totalCount: number; + items: IcsMoListDto[] | undefined; - constructor(data?: IPageFilterItemDto) { + constructor(data?: IPagedResultDtoOfIcsMoListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -93227,108 +127632,51 @@ export class PageFilterItemDto implements IPageFilterItemDto { init(_data?: any) { if (_data) { - this.order = _data["order"]; - this.label = _data["label"]; - this.componentName = _data["componentName"]; - if (_data["args"]) { - this.args = {} as any; - for (let key in _data["args"]) { - if (_data["args"].hasOwnProperty(key)) - (this.args)[key] = _data["args"][key]; - } - } - if (Array.isArray(_data["valueChange"])) { - this.valueChange = [] as any; - for (let item of _data["valueChange"]) - this.valueChange.push(item); + this.totalCount = _data["totalCount"]; + if (Array.isArray(_data["items"])) { + this.items = [] as any; + for (let item of _data["items"]) + this.items.push(IcsMoListDto.fromJS(item)); } - this.enabled = _data["enabled"]; - this.width = _data["width"]; - this.xsWidth = _data["xsWidth"]; - this.smWidth = _data["smWidth"]; - this.mdWidth = _data["mdWidth"]; - this.lgWidth = _data["lgWidth"]; - this.xlWidth = _data["xlWidth"]; - this.xxlWidth = _data["xxlWidth"]; - this.field = _data["field"]; - this.value = _data["value"]; - this.operator = _data["operator"]; - this.skipValueIsNull = _data["skipValueIsNull"]; } } - static fromJS(data: any): PageFilterItemDto { + static fromJS(data: any): PagedResultDtoOfIcsMoListDto { data = typeof data === 'object' ? data : {}; - let result = new PageFilterItemDto(); + let result = new PagedResultDtoOfIcsMoListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["order"] = this.order; - data["label"] = this.label; - data["componentName"] = this.componentName; - if (this.args) { - data["args"] = {}; - for (let key in this.args) { - if (this.args.hasOwnProperty(key)) - (data["args"])[key] = (this.args)[key]; - } - } - if (Array.isArray(this.valueChange)) { - data["valueChange"] = []; - for (let item of this.valueChange) - data["valueChange"].push(item); + data["totalCount"] = this.totalCount; + if (Array.isArray(this.items)) { + data["items"] = []; + for (let item of this.items) + data["items"].push(item.toJSON()); } - data["enabled"] = this.enabled; - data["width"] = this.width; - data["xsWidth"] = this.xsWidth; - data["smWidth"] = this.smWidth; - data["mdWidth"] = this.mdWidth; - data["lgWidth"] = this.lgWidth; - data["xlWidth"] = this.xlWidth; - data["xxlWidth"] = this.xxlWidth; - data["field"] = this.field; - data["value"] = this.value; - data["operator"] = this.operator; - data["skipValueIsNull"] = this.skipValueIsNull; return data; } - clone(): PageFilterItemDto { + clone(): PagedResultDtoOfIcsMoListDto { const json = this.toJSON(); - let result = new PageFilterItemDto(); + let result = new PagedResultDtoOfIcsMoListDto(); result.init(json); return result; } } -export interface IPageFilterItemDto { - order: number; - label: string | undefined; - componentName: string | undefined; - args: { [key: string]: any; } | undefined; - valueChange: string[] | undefined; - enabled: boolean; - width: number; - xsWidth: number | undefined; - smWidth: number | undefined; - mdWidth: number | undefined; - lgWidth: number | undefined; - xlWidth: number | undefined; - xxlWidth: number | undefined; - field: string | undefined; - value: string | undefined; - operator: QueryOperator; - skipValueIsNull: boolean; +export interface IPagedResultDtoOfIcsMoListDto { + totalCount: number; + items: IcsMoListDto[] | undefined; } -export class PagedResultDtoOfApkManagementListDto implements IPagedResultDtoOfApkManagementListDto { +export class PagedResultDtoOfIcsModel2EcgListDto implements IPagedResultDtoOfIcsModel2EcgListDto { totalCount: number; - items: ApkManagementListDto[] | undefined; + items: IcsModel2EcgListDto[] | undefined; - constructor(data?: IPagedResultDtoOfApkManagementListDto) { + constructor(data?: IPagedResultDtoOfIcsModel2EcgListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -93343,14 +127691,14 @@ export class PagedResultDtoOfApkManagementListDto implements IPagedResultDtoOfAp if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(ApkManagementListDto.fromJS(item)); + this.items.push(IcsModel2EcgListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfApkManagementListDto { + static fromJS(data: any): PagedResultDtoOfIcsModel2EcgListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfApkManagementListDto(); + let result = new PagedResultDtoOfIcsModel2EcgListDto(); result.init(data); return result; } @@ -93366,24 +127714,24 @@ export class PagedResultDtoOfApkManagementListDto implements IPagedResultDtoOfAp return data; } - clone(): PagedResultDtoOfApkManagementListDto { + clone(): PagedResultDtoOfIcsModel2EcgListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfApkManagementListDto(); + let result = new PagedResultDtoOfIcsModel2EcgListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfApkManagementListDto { +export interface IPagedResultDtoOfIcsModel2EcgListDto { totalCount: number; - items: ApkManagementListDto[] | undefined; + items: IcsModel2EcgListDto[] | undefined; } -export class PagedResultDtoOfAuditLogListDto implements IPagedResultDtoOfAuditLogListDto { +export class PagedResultDtoOfIcsModel2EcsListDto implements IPagedResultDtoOfIcsModel2EcsListDto { totalCount: number; - items: AuditLogListDto[] | undefined; + items: IcsModel2EcsListDto[] | undefined; - constructor(data?: IPagedResultDtoOfAuditLogListDto) { + constructor(data?: IPagedResultDtoOfIcsModel2EcsListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -93398,14 +127746,14 @@ export class PagedResultDtoOfAuditLogListDto implements IPagedResultDtoOfAuditLo if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(AuditLogListDto.fromJS(item)); + this.items.push(IcsModel2EcsListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfAuditLogListDto { + static fromJS(data: any): PagedResultDtoOfIcsModel2EcsListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfAuditLogListDto(); + let result = new PagedResultDtoOfIcsModel2EcsListDto(); result.init(data); return result; } @@ -93421,24 +127769,24 @@ export class PagedResultDtoOfAuditLogListDto implements IPagedResultDtoOfAuditLo return data; } - clone(): PagedResultDtoOfAuditLogListDto { + clone(): PagedResultDtoOfIcsModel2EcsListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfAuditLogListDto(); + let result = new PagedResultDtoOfIcsModel2EcsListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfAuditLogListDto { +export interface IPagedResultDtoOfIcsModel2EcsListDto { totalCount: number; - items: AuditLogListDto[] | undefined; + items: IcsModel2EcsListDto[] | undefined; } -export class PagedResultDtoOfBigDataListDto implements IPagedResultDtoOfBigDataListDto { +export class PagedResultDtoOfIcsModel2EcsgListDto implements IPagedResultDtoOfIcsModel2EcsgListDto { totalCount: number; - items: BigDataListDto[] | undefined; + items: IcsModel2EcsgListDto[] | undefined; - constructor(data?: IPagedResultDtoOfBigDataListDto) { + constructor(data?: IPagedResultDtoOfIcsModel2EcsgListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -93453,14 +127801,14 @@ export class PagedResultDtoOfBigDataListDto implements IPagedResultDtoOfBigDataL if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(BigDataListDto.fromJS(item)); + this.items.push(IcsModel2EcsgListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfBigDataListDto { + static fromJS(data: any): PagedResultDtoOfIcsModel2EcsgListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfBigDataListDto(); + let result = new PagedResultDtoOfIcsModel2EcsgListDto(); result.init(data); return result; } @@ -93476,24 +127824,24 @@ export class PagedResultDtoOfBigDataListDto implements IPagedResultDtoOfBigDataL return data; } - clone(): PagedResultDtoOfBigDataListDto { + clone(): PagedResultDtoOfIcsModel2EcsgListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfBigDataListDto(); + let result = new PagedResultDtoOfIcsModel2EcsgListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfBigDataListDto { +export interface IPagedResultDtoOfIcsModel2EcsgListDto { totalCount: number; - items: BigDataListDto[] | undefined; + items: IcsModel2EcsgListDto[] | undefined; } -export class PagedResultDtoOfCommodityListDto implements IPagedResultDtoOfCommodityListDto { +export class PagedResultDtoOfIcsModel2SolutionListDto implements IPagedResultDtoOfIcsModel2SolutionListDto { totalCount: number; - items: CommodityListDto[] | undefined; + items: IcsModel2SolutionListDto[] | undefined; - constructor(data?: IPagedResultDtoOfCommodityListDto) { + constructor(data?: IPagedResultDtoOfIcsModel2SolutionListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -93508,14 +127856,14 @@ export class PagedResultDtoOfCommodityListDto implements IPagedResultDtoOfCommod if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(CommodityListDto.fromJS(item)); + this.items.push(IcsModel2SolutionListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfCommodityListDto { + static fromJS(data: any): PagedResultDtoOfIcsModel2SolutionListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfCommodityListDto(); + let result = new PagedResultDtoOfIcsModel2SolutionListDto(); result.init(data); return result; } @@ -93531,24 +127879,24 @@ export class PagedResultDtoOfCommodityListDto implements IPagedResultDtoOfCommod return data; } - clone(): PagedResultDtoOfCommodityListDto { + clone(): PagedResultDtoOfIcsModel2SolutionListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfCommodityListDto(); + let result = new PagedResultDtoOfIcsModel2SolutionListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfCommodityListDto { +export interface IPagedResultDtoOfIcsModel2SolutionListDto { totalCount: number; - items: CommodityListDto[] | undefined; + items: IcsModel2SolutionListDto[] | undefined; } -export class PagedResultDtoOfEntityChangeListDto implements IPagedResultDtoOfEntityChangeListDto { +export class PagedResultDtoOfIcsNcrDocListDto implements IPagedResultDtoOfIcsNcrDocListDto { totalCount: number; - items: EntityChangeListDto[] | undefined; + items: IcsNcrDocListDto[] | undefined; - constructor(data?: IPagedResultDtoOfEntityChangeListDto) { + constructor(data?: IPagedResultDtoOfIcsNcrDocListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -93563,14 +127911,14 @@ export class PagedResultDtoOfEntityChangeListDto implements IPagedResultDtoOfEnt if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(EntityChangeListDto.fromJS(item)); + this.items.push(IcsNcrDocListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfEntityChangeListDto { + static fromJS(data: any): PagedResultDtoOfIcsNcrDocListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfEntityChangeListDto(); + let result = new PagedResultDtoOfIcsNcrDocListDto(); result.init(data); return result; } @@ -93586,24 +127934,24 @@ export class PagedResultDtoOfEntityChangeListDto implements IPagedResultDtoOfEnt return data; } - clone(): PagedResultDtoOfEntityChangeListDto { + clone(): PagedResultDtoOfIcsNcrDocListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfEntityChangeListDto(); + let result = new PagedResultDtoOfIcsNcrDocListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfEntityChangeListDto { +export interface IPagedResultDtoOfIcsNcrDocListDto { totalCount: number; - items: EntityChangeListDto[] | undefined; + items: IcsNcrDocListDto[] | undefined; } -export class PagedResultDtoOfFilePagedListDto implements IPagedResultDtoOfFilePagedListDto { +export class PagedResultDtoOfIcsOPListDto implements IPagedResultDtoOfIcsOPListDto { totalCount: number; - items: FilePagedListDto[] | undefined; + items: IcsOPListDto[] | undefined; - constructor(data?: IPagedResultDtoOfFilePagedListDto) { + constructor(data?: IPagedResultDtoOfIcsOPListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -93618,14 +127966,14 @@ export class PagedResultDtoOfFilePagedListDto implements IPagedResultDtoOfFilePa if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(FilePagedListDto.fromJS(item)); + this.items.push(IcsOPListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfFilePagedListDto { + static fromJS(data: any): PagedResultDtoOfIcsOPListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfFilePagedListDto(); + let result = new PagedResultDtoOfIcsOPListDto(); result.init(data); return result; } @@ -93641,24 +127989,24 @@ export class PagedResultDtoOfFilePagedListDto implements IPagedResultDtoOfFilePa return data; } - clone(): PagedResultDtoOfFilePagedListDto { + clone(): PagedResultDtoOfIcsOPListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfFilePagedListDto(); + let result = new PagedResultDtoOfIcsOPListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfFilePagedListDto { +export interface IPagedResultDtoOfIcsOPListDto { totalCount: number; - items: FilePagedListDto[] | undefined; + items: IcsOPListDto[] | undefined; } -export class PagedResultDtoOfIcsCheckGroupListDto implements IPagedResultDtoOfIcsCheckGroupListDto { +export class PagedResultDtoOfIcsOp2ResListDto implements IPagedResultDtoOfIcsOp2ResListDto { totalCount: number; - items: IcsCheckGroupListDto[] | undefined; + items: IcsOp2ResListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsCheckGroupListDto) { + constructor(data?: IPagedResultDtoOfIcsOp2ResListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -93673,14 +128021,14 @@ export class PagedResultDtoOfIcsCheckGroupListDto implements IPagedResultDtoOfIc if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsCheckGroupListDto.fromJS(item)); + this.items.push(IcsOp2ResListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsCheckGroupListDto { + static fromJS(data: any): PagedResultDtoOfIcsOp2ResListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsCheckGroupListDto(); + let result = new PagedResultDtoOfIcsOp2ResListDto(); result.init(data); return result; } @@ -93696,24 +128044,24 @@ export class PagedResultDtoOfIcsCheckGroupListDto implements IPagedResultDtoOfIc return data; } - clone(): PagedResultDtoOfIcsCheckGroupListDto { + clone(): PagedResultDtoOfIcsOp2ResListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsCheckGroupListDto(); + let result = new PagedResultDtoOfIcsOp2ResListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsCheckGroupListDto { +export interface IPagedResultDtoOfIcsOp2ResListDto { totalCount: number; - items: IcsCheckGroupListDto[] | undefined; + items: IcsOp2ResListDto[] | undefined; } -export class PagedResultDtoOfIcsCheckItemListDto implements IPagedResultDtoOfIcsCheckItemListDto { +export class PagedResultDtoOfIcsOutSourcingOrderListDto implements IPagedResultDtoOfIcsOutSourcingOrderListDto { totalCount: number; - items: IcsCheckItemListDto[] | undefined; + items: IcsOutSourcingOrderListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsCheckItemListDto) { + constructor(data?: IPagedResultDtoOfIcsOutSourcingOrderListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -93728,14 +128076,14 @@ export class PagedResultDtoOfIcsCheckItemListDto implements IPagedResultDtoOfIcs if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsCheckItemListDto.fromJS(item)); + this.items.push(IcsOutSourcingOrderListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsCheckItemListDto { + static fromJS(data: any): PagedResultDtoOfIcsOutSourcingOrderListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsCheckItemListDto(); + let result = new PagedResultDtoOfIcsOutSourcingOrderListDto(); result.init(data); return result; } @@ -93751,24 +128099,24 @@ export class PagedResultDtoOfIcsCheckItemListDto implements IPagedResultDtoOfIcs return data; } - clone(): PagedResultDtoOfIcsCheckItemListDto { + clone(): PagedResultDtoOfIcsOutSourcingOrderListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsCheckItemListDto(); + let result = new PagedResultDtoOfIcsOutSourcingOrderListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsCheckItemListDto { +export interface IPagedResultDtoOfIcsOutSourcingOrderListDto { totalCount: number; - items: IcsCheckItemListDto[] | undefined; + items: IcsOutSourcingOrderListDto[] | undefined; } -export class PagedResultDtoOfIcsCrewListDto implements IPagedResultDtoOfIcsCrewListDto { +export class PagedResultDtoOfIcsParam2ParamListDto implements IPagedResultDtoOfIcsParam2ParamListDto { totalCount: number; - items: IcsCrewListDto[] | undefined; + items: IcsParam2ParamListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsCrewListDto) { + constructor(data?: IPagedResultDtoOfIcsParam2ParamListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -93783,14 +128131,14 @@ export class PagedResultDtoOfIcsCrewListDto implements IPagedResultDtoOfIcsCrewL if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsCrewListDto.fromJS(item)); + this.items.push(IcsParam2ParamListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsCrewListDto { + static fromJS(data: any): PagedResultDtoOfIcsParam2ParamListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsCrewListDto(); + let result = new PagedResultDtoOfIcsParam2ParamListDto(); result.init(data); return result; } @@ -93806,24 +128154,24 @@ export class PagedResultDtoOfIcsCrewListDto implements IPagedResultDtoOfIcsCrewL return data; } - clone(): PagedResultDtoOfIcsCrewListDto { + clone(): PagedResultDtoOfIcsParam2ParamListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsCrewListDto(); + let result = new PagedResultDtoOfIcsParam2ParamListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsCrewListDto { +export interface IPagedResultDtoOfIcsParam2ParamListDto { totalCount: number; - items: IcsCrewListDto[] | undefined; + items: IcsParam2ParamListDto[] | undefined; } -export class PagedResultDtoOfIcsDctListDto implements IPagedResultDtoOfIcsDctListDto { +export class PagedResultDtoOfIcsParamDetailListDto implements IPagedResultDtoOfIcsParamDetailListDto { totalCount: number; - items: IcsDctListDto[] | undefined; + items: IcsParamDetailListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsDctListDto) { + constructor(data?: IPagedResultDtoOfIcsParamDetailListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -93838,14 +128186,14 @@ export class PagedResultDtoOfIcsDctListDto implements IPagedResultDtoOfIcsDctLis if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsDctListDto.fromJS(item)); + this.items.push(IcsParamDetailListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsDctListDto { + static fromJS(data: any): PagedResultDtoOfIcsParamDetailListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsDctListDto(); + let result = new PagedResultDtoOfIcsParamDetailListDto(); result.init(data); return result; } @@ -93861,24 +128209,24 @@ export class PagedResultDtoOfIcsDctListDto implements IPagedResultDtoOfIcsDctLis return data; } - clone(): PagedResultDtoOfIcsDctListDto { + clone(): PagedResultDtoOfIcsParamDetailListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsDctListDto(); + let result = new PagedResultDtoOfIcsParamDetailListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsDctListDto { +export interface IPagedResultDtoOfIcsParamDetailListDto { totalCount: number; - items: IcsDctListDto[] | undefined; + items: IcsParamDetailListDto[] | undefined; } -export class PagedResultDtoOfIcsDutyListDto implements IPagedResultDtoOfIcsDutyListDto { +export class PagedResultDtoOfIcsParamHeadListDto implements IPagedResultDtoOfIcsParamHeadListDto { totalCount: number; - items: IcsDutyListDto[] | undefined; + items: IcsParamHeadListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsDutyListDto) { + constructor(data?: IPagedResultDtoOfIcsParamHeadListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -93893,14 +128241,14 @@ export class PagedResultDtoOfIcsDutyListDto implements IPagedResultDtoOfIcsDutyL if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsDutyListDto.fromJS(item)); + this.items.push(IcsParamHeadListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsDutyListDto { + static fromJS(data: any): PagedResultDtoOfIcsParamHeadListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsDutyListDto(); + let result = new PagedResultDtoOfIcsParamHeadListDto(); result.init(data); return result; } @@ -93916,24 +128264,24 @@ export class PagedResultDtoOfIcsDutyListDto implements IPagedResultDtoOfIcsDutyL return data; } - clone(): PagedResultDtoOfIcsDutyListDto { + clone(): PagedResultDtoOfIcsParamHeadListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsDutyListDto(); + let result = new PagedResultDtoOfIcsParamHeadListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsDutyListDto { +export interface IPagedResultDtoOfIcsParamHeadListDto { totalCount: number; - items: IcsDutyListDto[] | undefined; + items: IcsParamHeadListDto[] | undefined; } -export class PagedResultDtoOfIcsDynamicColumnConfigListDto implements IPagedResultDtoOfIcsDynamicColumnConfigListDto { +export class PagedResultDtoOfIcsPart2SubItemListDto implements IPagedResultDtoOfIcsPart2SubItemListDto { totalCount: number; - items: IcsDynamicColumnConfigListDto[] | undefined; + items: IcsPart2SubItemListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsDynamicColumnConfigListDto) { + constructor(data?: IPagedResultDtoOfIcsPart2SubItemListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -93948,14 +128296,14 @@ export class PagedResultDtoOfIcsDynamicColumnConfigListDto implements IPagedResu if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsDynamicColumnConfigListDto.fromJS(item)); + this.items.push(IcsPart2SubItemListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsDynamicColumnConfigListDto { + static fromJS(data: any): PagedResultDtoOfIcsPart2SubItemListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsDynamicColumnConfigListDto(); + let result = new PagedResultDtoOfIcsPart2SubItemListDto(); result.init(data); return result; } @@ -93971,24 +128319,24 @@ export class PagedResultDtoOfIcsDynamicColumnConfigListDto implements IPagedResu return data; } - clone(): PagedResultDtoOfIcsDynamicColumnConfigListDto { + clone(): PagedResultDtoOfIcsPart2SubItemListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsDynamicColumnConfigListDto(); + let result = new PagedResultDtoOfIcsPart2SubItemListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsDynamicColumnConfigListDto { +export interface IPagedResultDtoOfIcsPart2SubItemListDto { totalCount: number; - items: IcsDynamicColumnConfigListDto[] | undefined; + items: IcsPart2SubItemListDto[] | undefined; } -export class PagedResultDtoOfIcsEcListDto implements IPagedResultDtoOfIcsEcListDto { +export class PagedResultDtoOfIcsPartListDto implements IPagedResultDtoOfIcsPartListDto { totalCount: number; - items: IcsEcListDto[] | undefined; + items: IcsPartListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsEcListDto) { + constructor(data?: IPagedResultDtoOfIcsPartListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94003,14 +128351,14 @@ export class PagedResultDtoOfIcsEcListDto implements IPagedResultDtoOfIcsEcListD if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsEcListDto.fromJS(item)); + this.items.push(IcsPartListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsEcListDto { + static fromJS(data: any): PagedResultDtoOfIcsPartListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsEcListDto(); + let result = new PagedResultDtoOfIcsPartListDto(); result.init(data); return result; } @@ -94026,24 +128374,24 @@ export class PagedResultDtoOfIcsEcListDto implements IPagedResultDtoOfIcsEcListD return data; } - clone(): PagedResultDtoOfIcsEcListDto { + clone(): PagedResultDtoOfIcsPartListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsEcListDto(); + let result = new PagedResultDtoOfIcsPartListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsEcListDto { +export interface IPagedResultDtoOfIcsPartListDto { totalCount: number; - items: IcsEcListDto[] | undefined; + items: IcsPartListDto[] | undefined; } -export class PagedResultDtoOfIcsEcgListDto implements IPagedResultDtoOfIcsEcgListDto { +export class PagedResultDtoOfIcsReelListDto implements IPagedResultDtoOfIcsReelListDto { totalCount: number; - items: IcsEcgListDto[] | undefined; + items: IcsReelListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsEcgListDto) { + constructor(data?: IPagedResultDtoOfIcsReelListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94058,14 +128406,14 @@ export class PagedResultDtoOfIcsEcgListDto implements IPagedResultDtoOfIcsEcgLis if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsEcgListDto.fromJS(item)); + this.items.push(IcsReelListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsEcgListDto { + static fromJS(data: any): PagedResultDtoOfIcsReelListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsEcgListDto(); + let result = new PagedResultDtoOfIcsReelListDto(); result.init(data); return result; } @@ -94081,24 +128429,24 @@ export class PagedResultDtoOfIcsEcgListDto implements IPagedResultDtoOfIcsEcgLis return data; } - clone(): PagedResultDtoOfIcsEcgListDto { + clone(): PagedResultDtoOfIcsReelListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsEcgListDto(); + let result = new PagedResultDtoOfIcsReelListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsEcgListDto { +export interface IPagedResultDtoOfIcsReelListDto { totalCount: number; - items: IcsEcgListDto[] | undefined; + items: IcsReelListDto[] | undefined; } -export class PagedResultDtoOfIcsEcsListDto implements IPagedResultDtoOfIcsEcsListDto { +export class PagedResultDtoOfIcsResListDto implements IPagedResultDtoOfIcsResListDto { totalCount: number; - items: IcsEcsListDto[] | undefined; + items: IcsResListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsEcsListDto) { + constructor(data?: IPagedResultDtoOfIcsResListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94113,14 +128461,14 @@ export class PagedResultDtoOfIcsEcsListDto implements IPagedResultDtoOfIcsEcsLis if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsEcsListDto.fromJS(item)); + this.items.push(IcsResListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsEcsListDto { + static fromJS(data: any): PagedResultDtoOfIcsResListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsEcsListDto(); + let result = new PagedResultDtoOfIcsResListDto(); result.init(data); return result; } @@ -94136,24 +128484,24 @@ export class PagedResultDtoOfIcsEcsListDto implements IPagedResultDtoOfIcsEcsLis return data; } - clone(): PagedResultDtoOfIcsEcsListDto { + clone(): PagedResultDtoOfIcsResListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsEcsListDto(); + let result = new PagedResultDtoOfIcsResListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsEcsListDto { +export interface IPagedResultDtoOfIcsResListDto { totalCount: number; - items: IcsEcsListDto[] | undefined; + items: IcsResListDto[] | undefined; } -export class PagedResultDtoOfIcsEcsg2EcsListDto implements IPagedResultDtoOfIcsEcsg2EcsListDto { +export class PagedResultDtoOfIcsRouteListDto implements IPagedResultDtoOfIcsRouteListDto { totalCount: number; - items: IcsEcsg2EcsListDto[] | undefined; + items: IcsRouteListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsEcsg2EcsListDto) { + constructor(data?: IPagedResultDtoOfIcsRouteListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94168,14 +128516,14 @@ export class PagedResultDtoOfIcsEcsg2EcsListDto implements IPagedResultDtoOfIcsE if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsEcsg2EcsListDto.fromJS(item)); + this.items.push(IcsRouteListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsEcsg2EcsListDto { + static fromJS(data: any): PagedResultDtoOfIcsRouteListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsEcsg2EcsListDto(); + let result = new PagedResultDtoOfIcsRouteListDto(); result.init(data); return result; } @@ -94191,24 +128539,24 @@ export class PagedResultDtoOfIcsEcsg2EcsListDto implements IPagedResultDtoOfIcsE return data; } - clone(): PagedResultDtoOfIcsEcsg2EcsListDto { + clone(): PagedResultDtoOfIcsRouteListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsEcsg2EcsListDto(); + let result = new PagedResultDtoOfIcsRouteListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsEcsg2EcsListDto { +export interface IPagedResultDtoOfIcsRouteListDto { totalCount: number; - items: IcsEcsg2EcsListDto[] | undefined; + items: IcsRouteListDto[] | undefined; } -export class PagedResultDtoOfIcsEcsgListDto implements IPagedResultDtoOfIcsEcsgListDto { +export class PagedResultDtoOfIcsSBomListDto implements IPagedResultDtoOfIcsSBomListDto { totalCount: number; - items: IcsEcsgListDto[] | undefined; + items: IcsSBomListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsEcsgListDto) { + constructor(data?: IPagedResultDtoOfIcsSBomListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94223,14 +128571,14 @@ export class PagedResultDtoOfIcsEcsgListDto implements IPagedResultDtoOfIcsEcsgL if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsEcsgListDto.fromJS(item)); + this.items.push(IcsSBomListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsEcsgListDto { + static fromJS(data: any): PagedResultDtoOfIcsSBomListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsEcsgListDto(); + let result = new PagedResultDtoOfIcsSBomListDto(); result.init(data); return result; } @@ -94246,24 +128594,24 @@ export class PagedResultDtoOfIcsEcsgListDto implements IPagedResultDtoOfIcsEcsgL return data; } - clone(): PagedResultDtoOfIcsEcsgListDto { + clone(): PagedResultDtoOfIcsSBomListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsEcsgListDto(); + let result = new PagedResultDtoOfIcsSBomListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsEcsgListDto { +export interface IPagedResultDtoOfIcsSBomListDto { totalCount: number; - items: IcsEcsgListDto[] | undefined; + items: IcsSBomListDto[] | undefined; } -export class PagedResultDtoOfIcsEqp2OpListDto implements IPagedResultDtoOfIcsEqp2OpListDto { +export class PagedResultDtoOfIcsSSListDto implements IPagedResultDtoOfIcsSSListDto { totalCount: number; - items: IcsEqp2OpListDto[] | undefined; + items: IcsSSListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsEqp2OpListDto) { + constructor(data?: IPagedResultDtoOfIcsSSListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94278,14 +128626,14 @@ export class PagedResultDtoOfIcsEqp2OpListDto implements IPagedResultDtoOfIcsEqp if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsEqp2OpListDto.fromJS(item)); + this.items.push(IcsSSListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsEqp2OpListDto { + static fromJS(data: any): PagedResultDtoOfIcsSSListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsEqp2OpListDto(); + let result = new PagedResultDtoOfIcsSSListDto(); result.init(data); return result; } @@ -94301,24 +128649,24 @@ export class PagedResultDtoOfIcsEqp2OpListDto implements IPagedResultDtoOfIcsEqp return data; } - clone(): PagedResultDtoOfIcsEqp2OpListDto { + clone(): PagedResultDtoOfIcsSSListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsEqp2OpListDto(); + let result = new PagedResultDtoOfIcsSSListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsEqp2OpListDto { +export interface IPagedResultDtoOfIcsSSListDto { totalCount: number; - items: IcsEqp2OpListDto[] | undefined; + items: IcsSSListDto[] | undefined; } -export class PagedResultDtoOfIcsEquipmentListDto implements IPagedResultDtoOfIcsEquipmentListDto { +export class PagedResultDtoOfIcsSegListDto implements IPagedResultDtoOfIcsSegListDto { totalCount: number; - items: IcsEquipmentListDto[] | undefined; + items: IcsSegListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsEquipmentListDto) { + constructor(data?: IPagedResultDtoOfIcsSegListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94333,14 +128681,14 @@ export class PagedResultDtoOfIcsEquipmentListDto implements IPagedResultDtoOfIcs if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsEquipmentListDto.fromJS(item)); + this.items.push(IcsSegListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsEquipmentListDto { + static fromJS(data: any): PagedResultDtoOfIcsSegListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsEquipmentListDto(); + let result = new PagedResultDtoOfIcsSegListDto(); result.init(data); return result; } @@ -94356,24 +128704,24 @@ export class PagedResultDtoOfIcsEquipmentListDto implements IPagedResultDtoOfIcs return data; } - clone(): PagedResultDtoOfIcsEquipmentListDto { + clone(): PagedResultDtoOfIcsSegListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsEquipmentListDto(); + let result = new PagedResultDtoOfIcsSegListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsEquipmentListDto { +export interface IPagedResultDtoOfIcsSegListDto { totalCount: number; - items: IcsEquipmentListDto[] | undefined; + items: IcsSegListDto[] | undefined; } -export class PagedResultDtoOfIcsEquipmentMaintainItemListDto implements IPagedResultDtoOfIcsEquipmentMaintainItemListDto { +export class PagedResultDtoOfIcsShiftListDto implements IPagedResultDtoOfIcsShiftListDto { totalCount: number; - items: IcsEquipmentMaintainItemListDto[] | undefined; + items: IcsShiftListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsEquipmentMaintainItemListDto) { + constructor(data?: IPagedResultDtoOfIcsShiftListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94388,14 +128736,14 @@ export class PagedResultDtoOfIcsEquipmentMaintainItemListDto implements IPagedRe if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsEquipmentMaintainItemListDto.fromJS(item)); + this.items.push(IcsShiftListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsEquipmentMaintainItemListDto { + static fromJS(data: any): PagedResultDtoOfIcsShiftListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsEquipmentMaintainItemListDto(); + let result = new PagedResultDtoOfIcsShiftListDto(); result.init(data); return result; } @@ -94411,24 +128759,24 @@ export class PagedResultDtoOfIcsEquipmentMaintainItemListDto implements IPagedRe return data; } - clone(): PagedResultDtoOfIcsEquipmentMaintainItemListDto { + clone(): PagedResultDtoOfIcsShiftListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsEquipmentMaintainItemListDto(); + let result = new PagedResultDtoOfIcsShiftListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsEquipmentMaintainItemListDto { +export interface IPagedResultDtoOfIcsShiftListDto { totalCount: number; - items: IcsEquipmentMaintainItemListDto[] | undefined; + items: IcsShiftListDto[] | undefined; } -export class PagedResultDtoOfIcsEquipmentMaintainLogListDto implements IPagedResultDtoOfIcsEquipmentMaintainLogListDto { +export class PagedResultDtoOfIcsShiftTypeListDto implements IPagedResultDtoOfIcsShiftTypeListDto { totalCount: number; - items: IcsEquipmentMaintainLogListDto[] | undefined; + items: IcsShiftTypeListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsEquipmentMaintainLogListDto) { + constructor(data?: IPagedResultDtoOfIcsShiftTypeListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94443,14 +128791,14 @@ export class PagedResultDtoOfIcsEquipmentMaintainLogListDto implements IPagedRes if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsEquipmentMaintainLogListDto.fromJS(item)); + this.items.push(IcsShiftTypeListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsEquipmentMaintainLogListDto { + static fromJS(data: any): PagedResultDtoOfIcsShiftTypeListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsEquipmentMaintainLogListDto(); + let result = new PagedResultDtoOfIcsShiftTypeListDto(); result.init(data); return result; } @@ -94466,24 +128814,24 @@ export class PagedResultDtoOfIcsEquipmentMaintainLogListDto implements IPagedRes return data; } - clone(): PagedResultDtoOfIcsEquipmentMaintainLogListDto { + clone(): PagedResultDtoOfIcsShiftTypeListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsEquipmentMaintainLogListDto(); + let result = new PagedResultDtoOfIcsShiftTypeListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsEquipmentMaintainLogListDto { +export interface IPagedResultDtoOfIcsShiftTypeListDto { totalCount: number; - items: IcsEquipmentMaintainLogListDto[] | undefined; + items: IcsShiftTypeListDto[] | undefined; } -export class PagedResultDtoOfIcsEquipmentMaintainPlanListDto implements IPagedResultDtoOfIcsEquipmentMaintainPlanListDto { +export class PagedResultDtoOfIcsSolutionListDto implements IPagedResultDtoOfIcsSolutionListDto { totalCount: number; - items: IcsEquipmentMaintainPlanListDto[] | undefined; + items: IcsSolutionListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsEquipmentMaintainPlanListDto) { + constructor(data?: IPagedResultDtoOfIcsSolutionListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94498,14 +128846,14 @@ export class PagedResultDtoOfIcsEquipmentMaintainPlanListDto implements IPagedRe if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsEquipmentMaintainPlanListDto.fromJS(item)); + this.items.push(IcsSolutionListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsEquipmentMaintainPlanListDto { + static fromJS(data: any): PagedResultDtoOfIcsSolutionListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsEquipmentMaintainPlanListDto(); + let result = new PagedResultDtoOfIcsSolutionListDto(); result.init(data); return result; } @@ -94521,24 +128869,24 @@ export class PagedResultDtoOfIcsEquipmentMaintainPlanListDto implements IPagedRe return data; } - clone(): PagedResultDtoOfIcsEquipmentMaintainPlanListDto { + clone(): PagedResultDtoOfIcsSolutionListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsEquipmentMaintainPlanListDto(); + let result = new PagedResultDtoOfIcsSolutionListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsEquipmentMaintainPlanListDto { +export interface IPagedResultDtoOfIcsSolutionListDto { totalCount: number; - items: IcsEquipmentMaintainPlanListDto[] | undefined; + items: IcsSolutionListDto[] | undefined; } -export class PagedResultDtoOfIcsEquipmentPartCheckDataListDto implements IPagedResultDtoOfIcsEquipmentPartCheckDataListDto { +export class PagedResultDtoOfIcsStandardWhoursListDto implements IPagedResultDtoOfIcsStandardWhoursListDto { totalCount: number; - items: IcsEquipmentPartCheckDataListDto[] | undefined; + items: IcsStandardWhoursListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsEquipmentPartCheckDataListDto) { + constructor(data?: IPagedResultDtoOfIcsStandardWhoursListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94553,14 +128901,14 @@ export class PagedResultDtoOfIcsEquipmentPartCheckDataListDto implements IPagedR if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsEquipmentPartCheckDataListDto.fromJS(item)); + this.items.push(IcsStandardWhoursListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsEquipmentPartCheckDataListDto { + static fromJS(data: any): PagedResultDtoOfIcsStandardWhoursListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsEquipmentPartCheckDataListDto(); + let result = new PagedResultDtoOfIcsStandardWhoursListDto(); result.init(data); return result; } @@ -94576,24 +128924,24 @@ export class PagedResultDtoOfIcsEquipmentPartCheckDataListDto implements IPagedR return data; } - clone(): PagedResultDtoOfIcsEquipmentPartCheckDataListDto { + clone(): PagedResultDtoOfIcsStandardWhoursListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsEquipmentPartCheckDataListDto(); + let result = new PagedResultDtoOfIcsStandardWhoursListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsEquipmentPartCheckDataListDto { +export interface IPagedResultDtoOfIcsStandardWhoursListDto { totalCount: number; - items: IcsEquipmentPartCheckDataListDto[] | undefined; + items: IcsStandardWhoursListDto[] | undefined; } -export class PagedResultDtoOfIcsEquipmentPartCheckItemListDto implements IPagedResultDtoOfIcsEquipmentPartCheckItemListDto { +export class PagedResultDtoOfIcsTestListDto implements IPagedResultDtoOfIcsTestListDto { totalCount: number; - items: IcsEquipmentPartCheckItemListDto[] | undefined; + items: IcsTestListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsEquipmentPartCheckItemListDto) { + constructor(data?: IPagedResultDtoOfIcsTestListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94608,14 +128956,14 @@ export class PagedResultDtoOfIcsEquipmentPartCheckItemListDto implements IPagedR if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsEquipmentPartCheckItemListDto.fromJS(item)); + this.items.push(IcsTestListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsEquipmentPartCheckItemListDto { + static fromJS(data: any): PagedResultDtoOfIcsTestListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsEquipmentPartCheckItemListDto(); + let result = new PagedResultDtoOfIcsTestListDto(); result.init(data); return result; } @@ -94631,24 +128979,24 @@ export class PagedResultDtoOfIcsEquipmentPartCheckItemListDto implements IPagedR return data; } - clone(): PagedResultDtoOfIcsEquipmentPartCheckItemListDto { + clone(): PagedResultDtoOfIcsTestListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsEquipmentPartCheckItemListDto(); + let result = new PagedResultDtoOfIcsTestListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsEquipmentPartCheckItemListDto { +export interface IPagedResultDtoOfIcsTestListDto { totalCount: number; - items: IcsEquipmentPartCheckItemListDto[] | undefined; + items: IcsTestListDto[] | undefined; } -export class PagedResultDtoOfIcsEquipmentPartsListDto implements IPagedResultDtoOfIcsEquipmentPartsListDto { +export class PagedResultDtoOfIcsTpListDto implements IPagedResultDtoOfIcsTpListDto { totalCount: number; - items: IcsEquipmentPartsListDto[] | undefined; + items: IcsTpListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsEquipmentPartsListDto) { + constructor(data?: IPagedResultDtoOfIcsTpListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94663,14 +129011,14 @@ export class PagedResultDtoOfIcsEquipmentPartsListDto implements IPagedResultDto if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsEquipmentPartsListDto.fromJS(item)); + this.items.push(IcsTpListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsEquipmentPartsListDto { + static fromJS(data: any): PagedResultDtoOfIcsTpListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsEquipmentPartsListDto(); + let result = new PagedResultDtoOfIcsTpListDto(); result.init(data); return result; } @@ -94686,24 +129034,24 @@ export class PagedResultDtoOfIcsEquipmentPartsListDto implements IPagedResultDto return data; } - clone(): PagedResultDtoOfIcsEquipmentPartsListDto { + clone(): PagedResultDtoOfIcsTpListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsEquipmentPartsListDto(); + let result = new PagedResultDtoOfIcsTpListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsEquipmentPartsListDto { +export interface IPagedResultDtoOfIcsTpListDto { totalCount: number; - items: IcsEquipmentPartsListDto[] | undefined; + items: IcsTpListDto[] | undefined; } -export class PagedResultDtoOfIcsEquipmentTSListDto implements IPagedResultDtoOfIcsEquipmentTSListDto { +export class PagedResultDtoOfIcsTsErrorCauseListDto implements IPagedResultDtoOfIcsTsErrorCauseListDto { totalCount: number; - items: IcsEquipmentTSListDto[] | undefined; + items: IcsTsErrorCauseListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsEquipmentTSListDto) { + constructor(data?: IPagedResultDtoOfIcsTsErrorCauseListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94718,14 +129066,14 @@ export class PagedResultDtoOfIcsEquipmentTSListDto implements IPagedResultDtoOfI if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsEquipmentTSListDto.fromJS(item)); + this.items.push(IcsTsErrorCauseListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsEquipmentTSListDto { + static fromJS(data: any): PagedResultDtoOfIcsTsErrorCauseListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsEquipmentTSListDto(); + let result = new PagedResultDtoOfIcsTsErrorCauseListDto(); result.init(data); return result; } @@ -94741,24 +129089,24 @@ export class PagedResultDtoOfIcsEquipmentTSListDto implements IPagedResultDtoOfI return data; } - clone(): PagedResultDtoOfIcsEquipmentTSListDto { + clone(): PagedResultDtoOfIcsTsErrorCauseListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsEquipmentTSListDto(); + let result = new PagedResultDtoOfIcsTsErrorCauseListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsEquipmentTSListDto { +export interface IPagedResultDtoOfIcsTsErrorCauseListDto { totalCount: number; - items: IcsEquipmentTSListDto[] | undefined; + items: IcsTsErrorCauseListDto[] | undefined; } -export class PagedResultDtoOfIcsFactoryListDto implements IPagedResultDtoOfIcsFactoryListDto { +export class PagedResultDtoOfIcsTsErrorCodeListDto implements IPagedResultDtoOfIcsTsErrorCodeListDto { totalCount: number; - items: IcsFactoryListDto[] | undefined; + items: IcsTsErrorCodeListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsFactoryListDto) { + constructor(data?: IPagedResultDtoOfIcsTsErrorCodeListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94773,14 +129121,14 @@ export class PagedResultDtoOfIcsFactoryListDto implements IPagedResultDtoOfIcsFa if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsFactoryListDto.fromJS(item)); + this.items.push(IcsTsErrorCodeListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsFactoryListDto { + static fromJS(data: any): PagedResultDtoOfIcsTsErrorCodeListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsFactoryListDto(); + let result = new PagedResultDtoOfIcsTsErrorCodeListDto(); result.init(data); return result; } @@ -94796,24 +129144,24 @@ export class PagedResultDtoOfIcsFactoryListDto implements IPagedResultDtoOfIcsFa return data; } - clone(): PagedResultDtoOfIcsFactoryListDto { + clone(): PagedResultDtoOfIcsTsErrorCodeListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsFactoryListDto(); + let result = new PagedResultDtoOfIcsTsErrorCodeListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsFactoryListDto { +export interface IPagedResultDtoOfIcsTsErrorCodeListDto { totalCount: number; - items: IcsFactoryListDto[] | undefined; + items: IcsTsErrorCodeListDto[] | undefined; } -export class PagedResultDtoOfIcsInventoryListDto implements IPagedResultDtoOfIcsInventoryListDto { +export class PagedResultDtoOfIcsTsListDto implements IPagedResultDtoOfIcsTsListDto { totalCount: number; - items: IcsInventoryListDto[] | undefined; + items: IcsTsListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsInventoryListDto) { + constructor(data?: IPagedResultDtoOfIcsTsListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94828,14 +129176,14 @@ export class PagedResultDtoOfIcsInventoryListDto implements IPagedResultDtoOfIcs if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsInventoryListDto.fromJS(item)); + this.items.push(IcsTsListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsInventoryListDto { + static fromJS(data: any): PagedResultDtoOfIcsTsListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsInventoryListDto(); + let result = new PagedResultDtoOfIcsTsListDto(); result.init(data); return result; } @@ -94851,24 +129199,24 @@ export class PagedResultDtoOfIcsInventoryListDto implements IPagedResultDtoOfIcs return data; } - clone(): PagedResultDtoOfIcsInventoryListDto { + clone(): PagedResultDtoOfIcsTsListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsInventoryListDto(); + let result = new PagedResultDtoOfIcsTsListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsInventoryListDto { +export interface IPagedResultDtoOfIcsTsListDto { totalCount: number; - items: IcsInventoryListDto[] | undefined; + items: IcsTsListDto[] | undefined; } -export class PagedResultDtoOfIcsItem2RouteListDto implements IPagedResultDtoOfIcsItem2RouteListDto { +export class PagedResultDtoOfIcsUser2OpListDto implements IPagedResultDtoOfIcsUser2OpListDto { totalCount: number; - items: IcsItem2RouteListDto[] | undefined; + items: IcsUser2OpListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsItem2RouteListDto) { + constructor(data?: IPagedResultDtoOfIcsUser2OpListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94883,14 +129231,14 @@ export class PagedResultDtoOfIcsItem2RouteListDto implements IPagedResultDtoOfIc if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsItem2RouteListDto.fromJS(item)); + this.items.push(IcsUser2OpListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsItem2RouteListDto { + static fromJS(data: any): PagedResultDtoOfIcsUser2OpListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsItem2RouteListDto(); + let result = new PagedResultDtoOfIcsUser2OpListDto(); result.init(data); return result; } @@ -94906,24 +129254,24 @@ export class PagedResultDtoOfIcsItem2RouteListDto implements IPagedResultDtoOfIc return data; } - clone(): PagedResultDtoOfIcsItem2RouteListDto { + clone(): PagedResultDtoOfIcsUser2OpListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsItem2RouteListDto(); + let result = new PagedResultDtoOfIcsUser2OpListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsItem2RouteListDto { +export interface IPagedResultDtoOfIcsUser2OpListDto { totalCount: number; - items: IcsItem2RouteListDto[] | undefined; + items: IcsUser2OpListDto[] | undefined; } -export class PagedResultDtoOfIcsItemModel2CheckGroupListDto implements IPagedResultDtoOfIcsItemModel2CheckGroupListDto { +export class PagedResultDtoOfIcsVendorListDto implements IPagedResultDtoOfIcsVendorListDto { totalCount: number; - items: IcsItemModel2CheckGroupListDto[] | undefined; + items: IcsVendorListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsItemModel2CheckGroupListDto) { + constructor(data?: IPagedResultDtoOfIcsVendorListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94938,14 +129286,14 @@ export class PagedResultDtoOfIcsItemModel2CheckGroupListDto implements IPagedRes if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsItemModel2CheckGroupListDto.fromJS(item)); + this.items.push(IcsVendorListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsItemModel2CheckGroupListDto { + static fromJS(data: any): PagedResultDtoOfIcsVendorListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsItemModel2CheckGroupListDto(); + let result = new PagedResultDtoOfIcsVendorListDto(); result.init(data); return result; } @@ -94961,24 +129309,24 @@ export class PagedResultDtoOfIcsItemModel2CheckGroupListDto implements IPagedRes return data; } - clone(): PagedResultDtoOfIcsItemModel2CheckGroupListDto { + clone(): PagedResultDtoOfIcsVendorListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsItemModel2CheckGroupListDto(); + let result = new PagedResultDtoOfIcsVendorListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsItemModel2CheckGroupListDto { +export interface IPagedResultDtoOfIcsVendorListDto { totalCount: number; - items: IcsItemModel2CheckGroupListDto[] | undefined; + items: IcsVendorListDto[] | undefined; } -export class PagedResultDtoOfIcsItemOp2CheckItemListDto implements IPagedResultDtoOfIcsItemOp2CheckItemListDto { +export class PagedResultDtoOfItemRouteHourCountDto implements IPagedResultDtoOfItemRouteHourCountDto { totalCount: number; - items: IcsItemOp2CheckItemListDto[] | undefined; + items: ItemRouteHourCountDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsItemOp2CheckItemListDto) { + constructor(data?: IPagedResultDtoOfItemRouteHourCountDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -94993,14 +129341,14 @@ export class PagedResultDtoOfIcsItemOp2CheckItemListDto implements IPagedResultD if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsItemOp2CheckItemListDto.fromJS(item)); + this.items.push(ItemRouteHourCountDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsItemOp2CheckItemListDto { + static fromJS(data: any): PagedResultDtoOfItemRouteHourCountDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsItemOp2CheckItemListDto(); + let result = new PagedResultDtoOfItemRouteHourCountDto(); result.init(data); return result; } @@ -95016,24 +129364,24 @@ export class PagedResultDtoOfIcsItemOp2CheckItemListDto implements IPagedResultD return data; } - clone(): PagedResultDtoOfIcsItemOp2CheckItemListDto { + clone(): PagedResultDtoOfItemRouteHourCountDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsItemOp2CheckItemListDto(); + let result = new PagedResultDtoOfItemRouteHourCountDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsItemOp2CheckItemListDto { +export interface IPagedResultDtoOfItemRouteHourCountDto { totalCount: number; - items: IcsItemOp2CheckItemListDto[] | undefined; + items: ItemRouteHourCountDto[] | undefined; } -export class PagedResultDtoOfIcsItemRoute2OpListDto implements IPagedResultDtoOfIcsItemRoute2OpListDto { +export class PagedResultDtoOfLanguageTextListDto implements IPagedResultDtoOfLanguageTextListDto { totalCount: number; - items: IcsItemRoute2OpListDto[] | undefined; + items: LanguageTextListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsItemRoute2OpListDto) { + constructor(data?: IPagedResultDtoOfLanguageTextListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95048,14 +129396,14 @@ export class PagedResultDtoOfIcsItemRoute2OpListDto implements IPagedResultDtoOf if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsItemRoute2OpListDto.fromJS(item)); + this.items.push(LanguageTextListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsItemRoute2OpListDto { + static fromJS(data: any): PagedResultDtoOfLanguageTextListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsItemRoute2OpListDto(); + let result = new PagedResultDtoOfLanguageTextListDto(); result.init(data); return result; } @@ -95071,24 +129419,24 @@ export class PagedResultDtoOfIcsItemRoute2OpListDto implements IPagedResultDtoOf return data; } - clone(): PagedResultDtoOfIcsItemRoute2OpListDto { + clone(): PagedResultDtoOfLanguageTextListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsItemRoute2OpListDto(); + let result = new PagedResultDtoOfLanguageTextListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsItemRoute2OpListDto { +export interface IPagedResultDtoOfLanguageTextListDto { totalCount: number; - items: IcsItemRoute2OpListDto[] | undefined; + items: LanguageTextListDto[] | undefined; } -export class PagedResultDtoOfIcsLotRoute2OpListDto implements IPagedResultDtoOfIcsLotRoute2OpListDto { +export class PagedResultDtoOfLinkedUserDto implements IPagedResultDtoOfLinkedUserDto { totalCount: number; - items: IcsLotRoute2OpListDto[] | undefined; + items: LinkedUserDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsLotRoute2OpListDto) { + constructor(data?: IPagedResultDtoOfLinkedUserDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95103,14 +129451,14 @@ export class PagedResultDtoOfIcsLotRoute2OpListDto implements IPagedResultDtoOfI if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsLotRoute2OpListDto.fromJS(item)); + this.items.push(LinkedUserDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsLotRoute2OpListDto { + static fromJS(data: any): PagedResultDtoOfLinkedUserDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsLotRoute2OpListDto(); + let result = new PagedResultDtoOfLinkedUserDto(); result.init(data); return result; } @@ -95126,24 +129474,24 @@ export class PagedResultDtoOfIcsLotRoute2OpListDto implements IPagedResultDtoOfI return data; } - clone(): PagedResultDtoOfIcsLotRoute2OpListDto { + clone(): PagedResultDtoOfLinkedUserDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsLotRoute2OpListDto(); + let result = new PagedResultDtoOfLinkedUserDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsLotRoute2OpListDto { +export interface IPagedResultDtoOfLinkedUserDto { totalCount: number; - items: IcsLotRoute2OpListDto[] | undefined; + items: LinkedUserDto[] | undefined; } -export class PagedResultDtoOfIcsMachineCellListDto implements IPagedResultDtoOfIcsMachineCellListDto { +export class PagedResultDtoOfLoginLogsDto implements IPagedResultDtoOfLoginLogsDto { totalCount: number; - items: IcsMachineCellListDto[] | undefined; + items: LoginLogsDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsMachineCellListDto) { + constructor(data?: IPagedResultDtoOfLoginLogsDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95158,14 +129506,14 @@ export class PagedResultDtoOfIcsMachineCellListDto implements IPagedResultDtoOfI if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsMachineCellListDto.fromJS(item)); + this.items.push(LoginLogsDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsMachineCellListDto { + static fromJS(data: any): PagedResultDtoOfLoginLogsDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsMachineCellListDto(); + let result = new PagedResultDtoOfLoginLogsDto(); result.init(data); return result; } @@ -95181,24 +129529,24 @@ export class PagedResultDtoOfIcsMachineCellListDto implements IPagedResultDtoOfI return data; } - clone(): PagedResultDtoOfIcsMachineCellListDto { + clone(): PagedResultDtoOfLoginLogsDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsMachineCellListDto(); + let result = new PagedResultDtoOfLoginLogsDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsMachineCellListDto { +export interface IPagedResultDtoOfLoginLogsDto { totalCount: number; - items: IcsMachineCellListDto[] | undefined; + items: LoginLogsDto[] | undefined; } -export class PagedResultDtoOfIcsMainCategoryCodeListDto implements IPagedResultDtoOfIcsMainCategoryCodeListDto { +export class PagedResultDtoOfLotOnWipDetailReportDto implements IPagedResultDtoOfLotOnWipDetailReportDto { totalCount: number; - items: IcsMainCategoryCodeListDto[] | undefined; + items: LotOnWipDetailReportDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsMainCategoryCodeListDto) { + constructor(data?: IPagedResultDtoOfLotOnWipDetailReportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95213,14 +129561,14 @@ export class PagedResultDtoOfIcsMainCategoryCodeListDto implements IPagedResultD if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsMainCategoryCodeListDto.fromJS(item)); + this.items.push(LotOnWipDetailReportDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsMainCategoryCodeListDto { + static fromJS(data: any): PagedResultDtoOfLotOnWipDetailReportDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsMainCategoryCodeListDto(); + let result = new PagedResultDtoOfLotOnWipDetailReportDto(); result.init(data); return result; } @@ -95236,24 +129584,24 @@ export class PagedResultDtoOfIcsMainCategoryCodeListDto implements IPagedResultD return data; } - clone(): PagedResultDtoOfIcsMainCategoryCodeListDto { + clone(): PagedResultDtoOfLotOnWipDetailReportDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsMainCategoryCodeListDto(); + let result = new PagedResultDtoOfLotOnWipDetailReportDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsMainCategoryCodeListDto { +export interface IPagedResultDtoOfLotOnWipDetailReportDto { totalCount: number; - items: IcsMainCategoryCodeListDto[] | undefined; + items: LotOnWipDetailReportDto[] | undefined; } -export class PagedResultDtoOfIcsManualRecordingListDto implements IPagedResultDtoOfIcsManualRecordingListDto { +export class PagedResultDtoOfMediaList_News_Item implements IPagedResultDtoOfMediaList_News_Item { totalCount: number; - items: IcsManualRecordingListDto[] | undefined; + items: MediaList_News_Item[] | undefined; - constructor(data?: IPagedResultDtoOfIcsManualRecordingListDto) { + constructor(data?: IPagedResultDtoOfMediaList_News_Item) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95268,14 +129616,14 @@ export class PagedResultDtoOfIcsManualRecordingListDto implements IPagedResultDt if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsManualRecordingListDto.fromJS(item)); + this.items.push(MediaList_News_Item.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsManualRecordingListDto { + static fromJS(data: any): PagedResultDtoOfMediaList_News_Item { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsManualRecordingListDto(); + let result = new PagedResultDtoOfMediaList_News_Item(); result.init(data); return result; } @@ -95291,24 +129639,24 @@ export class PagedResultDtoOfIcsManualRecordingListDto implements IPagedResultDt return data; } - clone(): PagedResultDtoOfIcsManualRecordingListDto { + clone(): PagedResultDtoOfMediaList_News_Item { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsManualRecordingListDto(); + let result = new PagedResultDtoOfMediaList_News_Item(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsManualRecordingListDto { +export interface IPagedResultDtoOfMediaList_News_Item { totalCount: number; - items: IcsManualRecordingListDto[] | undefined; + items: MediaList_News_Item[] | undefined; } -export class PagedResultDtoOfIcsMo2LotListDto implements IPagedResultDtoOfIcsMo2LotListDto { +export class PagedResultDtoOfMediaList_Others_Item implements IPagedResultDtoOfMediaList_Others_Item { totalCount: number; - items: IcsMo2LotListDto[] | undefined; + items: MediaList_Others_Item[] | undefined; - constructor(data?: IPagedResultDtoOfIcsMo2LotListDto) { + constructor(data?: IPagedResultDtoOfMediaList_Others_Item) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95323,14 +129671,14 @@ export class PagedResultDtoOfIcsMo2LotListDto implements IPagedResultDtoOfIcsMo2 if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsMo2LotListDto.fromJS(item)); + this.items.push(MediaList_Others_Item.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsMo2LotListDto { + static fromJS(data: any): PagedResultDtoOfMediaList_Others_Item { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsMo2LotListDto(); + let result = new PagedResultDtoOfMediaList_Others_Item(); result.init(data); return result; } @@ -95346,24 +129694,24 @@ export class PagedResultDtoOfIcsMo2LotListDto implements IPagedResultDtoOfIcsMo2 return data; } - clone(): PagedResultDtoOfIcsMo2LotListDto { + clone(): PagedResultDtoOfMediaList_Others_Item { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsMo2LotListDto(); + let result = new PagedResultDtoOfMediaList_Others_Item(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsMo2LotListDto { +export interface IPagedResultDtoOfMediaList_Others_Item { totalCount: number; - items: IcsMo2LotListDto[] | undefined; + items: MediaList_Others_Item[] | undefined; } -export class PagedResultDtoOfIcsMoDispatchingListDto implements IPagedResultDtoOfIcsMoDispatchingListDto { +export class PagedResultDtoOfMenuListDto implements IPagedResultDtoOfMenuListDto { totalCount: number; - items: IcsMoDispatchingListDto[] | undefined; + items: MenuListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsMoDispatchingListDto) { + constructor(data?: IPagedResultDtoOfMenuListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95378,14 +129726,14 @@ export class PagedResultDtoOfIcsMoDispatchingListDto implements IPagedResultDtoO if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsMoDispatchingListDto.fromJS(item)); + this.items.push(MenuListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsMoDispatchingListDto { + static fromJS(data: any): PagedResultDtoOfMenuListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsMoDispatchingListDto(); + let result = new PagedResultDtoOfMenuListDto(); result.init(data); return result; } @@ -95401,24 +129749,24 @@ export class PagedResultDtoOfIcsMoDispatchingListDto implements IPagedResultDtoO return data; } - clone(): PagedResultDtoOfIcsMoDispatchingListDto { + clone(): PagedResultDtoOfMenuListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsMoDispatchingListDto(); + let result = new PagedResultDtoOfMenuListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsMoDispatchingListDto { +export interface IPagedResultDtoOfMenuListDto { totalCount: number; - items: IcsMoDispatchingListDto[] | undefined; + items: MenuListDto[] | undefined; } -export class PagedResultDtoOfIcsMoListDto implements IPagedResultDtoOfIcsMoListDto { +export class PagedResultDtoOfMessageConfigListDto implements IPagedResultDtoOfMessageConfigListDto { totalCount: number; - items: IcsMoListDto[] | undefined; + items: MessageConfigListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsMoListDto) { + constructor(data?: IPagedResultDtoOfMessageConfigListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95433,14 +129781,14 @@ export class PagedResultDtoOfIcsMoListDto implements IPagedResultDtoOfIcsMoListD if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsMoListDto.fromJS(item)); + this.items.push(MessageConfigListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsMoListDto { + static fromJS(data: any): PagedResultDtoOfMessageConfigListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsMoListDto(); + let result = new PagedResultDtoOfMessageConfigListDto(); result.init(data); return result; } @@ -95456,24 +129804,24 @@ export class PagedResultDtoOfIcsMoListDto implements IPagedResultDtoOfIcsMoListD return data; } - clone(): PagedResultDtoOfIcsMoListDto { + clone(): PagedResultDtoOfMessageConfigListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsMoListDto(); + let result = new PagedResultDtoOfMessageConfigListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsMoListDto { +export interface IPagedResultDtoOfMessageConfigListDto { totalCount: number; - items: IcsMoListDto[] | undefined; + items: MessageConfigListDto[] | undefined; } -export class PagedResultDtoOfIcsModel2EcgListDto implements IPagedResultDtoOfIcsModel2EcgListDto { +export class PagedResultDtoOfMessageRecordListDto implements IPagedResultDtoOfMessageRecordListDto { totalCount: number; - items: IcsModel2EcgListDto[] | undefined; + items: MessageRecordListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsModel2EcgListDto) { + constructor(data?: IPagedResultDtoOfMessageRecordListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95488,14 +129836,14 @@ export class PagedResultDtoOfIcsModel2EcgListDto implements IPagedResultDtoOfIcs if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsModel2EcgListDto.fromJS(item)); + this.items.push(MessageRecordListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsModel2EcgListDto { + static fromJS(data: any): PagedResultDtoOfMessageRecordListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsModel2EcgListDto(); + let result = new PagedResultDtoOfMessageRecordListDto(); result.init(data); return result; } @@ -95511,24 +129859,24 @@ export class PagedResultDtoOfIcsModel2EcgListDto implements IPagedResultDtoOfIcs return data; } - clone(): PagedResultDtoOfIcsModel2EcgListDto { + clone(): PagedResultDtoOfMessageRecordListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsModel2EcgListDto(); + let result = new PagedResultDtoOfMessageRecordListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsModel2EcgListDto { +export interface IPagedResultDtoOfMessageRecordListDto { totalCount: number; - items: IcsModel2EcgListDto[] | undefined; + items: MessageRecordListDto[] | undefined; } -export class PagedResultDtoOfIcsModel2EcsListDto implements IPagedResultDtoOfIcsModel2EcsListDto { +export class PagedResultDtoOfMessageRuleListDto implements IPagedResultDtoOfMessageRuleListDto { totalCount: number; - items: IcsModel2EcsListDto[] | undefined; + items: MessageRuleListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsModel2EcsListDto) { + constructor(data?: IPagedResultDtoOfMessageRuleListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95543,14 +129891,14 @@ export class PagedResultDtoOfIcsModel2EcsListDto implements IPagedResultDtoOfIcs if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsModel2EcsListDto.fromJS(item)); + this.items.push(MessageRuleListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsModel2EcsListDto { + static fromJS(data: any): PagedResultDtoOfMessageRuleListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsModel2EcsListDto(); + let result = new PagedResultDtoOfMessageRuleListDto(); result.init(data); return result; } @@ -95566,24 +129914,24 @@ export class PagedResultDtoOfIcsModel2EcsListDto implements IPagedResultDtoOfIcs return data; } - clone(): PagedResultDtoOfIcsModel2EcsListDto { + clone(): PagedResultDtoOfMessageRuleListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsModel2EcsListDto(); + let result = new PagedResultDtoOfMessageRuleListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsModel2EcsListDto { +export interface IPagedResultDtoOfMessageRuleListDto { totalCount: number; - items: IcsModel2EcsListDto[] | undefined; + items: MessageRuleListDto[] | undefined; } -export class PagedResultDtoOfIcsModel2EcsgListDto implements IPagedResultDtoOfIcsModel2EcsgListDto { +export class PagedResultDtoOfMessageTemplateListDto implements IPagedResultDtoOfMessageTemplateListDto { totalCount: number; - items: IcsModel2EcsgListDto[] | undefined; + items: MessageTemplateListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsModel2EcsgListDto) { + constructor(data?: IPagedResultDtoOfMessageTemplateListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95598,14 +129946,14 @@ export class PagedResultDtoOfIcsModel2EcsgListDto implements IPagedResultDtoOfIc if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsModel2EcsgListDto.fromJS(item)); + this.items.push(MessageTemplateListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsModel2EcsgListDto { + static fromJS(data: any): PagedResultDtoOfMessageTemplateListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsModel2EcsgListDto(); + let result = new PagedResultDtoOfMessageTemplateListDto(); result.init(data); return result; } @@ -95621,24 +129969,24 @@ export class PagedResultDtoOfIcsModel2EcsgListDto implements IPagedResultDtoOfIc return data; } - clone(): PagedResultDtoOfIcsModel2EcsgListDto { + clone(): PagedResultDtoOfMessageTemplateListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsModel2EcsgListDto(); + let result = new PagedResultDtoOfMessageTemplateListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsModel2EcsgListDto { +export interface IPagedResultDtoOfMessageTemplateListDto { totalCount: number; - items: IcsModel2EcsgListDto[] | undefined; + items: MessageTemplateListDto[] | undefined; } -export class PagedResultDtoOfIcsModel2SolutionListDto implements IPagedResultDtoOfIcsModel2SolutionListDto { +export class PagedResultDtoOfMoHourCountDetailDto implements IPagedResultDtoOfMoHourCountDetailDto { totalCount: number; - items: IcsModel2SolutionListDto[] | undefined; + items: MoHourCountDetailDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsModel2SolutionListDto) { + constructor(data?: IPagedResultDtoOfMoHourCountDetailDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95653,14 +130001,14 @@ export class PagedResultDtoOfIcsModel2SolutionListDto implements IPagedResultDto if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsModel2SolutionListDto.fromJS(item)); + this.items.push(MoHourCountDetailDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsModel2SolutionListDto { + static fromJS(data: any): PagedResultDtoOfMoHourCountDetailDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsModel2SolutionListDto(); + let result = new PagedResultDtoOfMoHourCountDetailDto(); result.init(data); return result; } @@ -95676,24 +130024,24 @@ export class PagedResultDtoOfIcsModel2SolutionListDto implements IPagedResultDto return data; } - clone(): PagedResultDtoOfIcsModel2SolutionListDto { + clone(): PagedResultDtoOfMoHourCountDetailDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsModel2SolutionListDto(); + let result = new PagedResultDtoOfMoHourCountDetailDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsModel2SolutionListDto { +export interface IPagedResultDtoOfMoHourCountDetailDto { totalCount: number; - items: IcsModel2SolutionListDto[] | undefined; + items: MoHourCountDetailDto[] | undefined; } -export class PagedResultDtoOfIcsNcrDocListDto implements IPagedResultDtoOfIcsNcrDocListDto { +export class PagedResultDtoOfNCRDto implements IPagedResultDtoOfNCRDto { totalCount: number; - items: IcsNcrDocListDto[] | undefined; + items: NCRDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsNcrDocListDto) { + constructor(data?: IPagedResultDtoOfNCRDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95708,14 +130056,14 @@ export class PagedResultDtoOfIcsNcrDocListDto implements IPagedResultDtoOfIcsNcr if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsNcrDocListDto.fromJS(item)); + this.items.push(NCRDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsNcrDocListDto { + static fromJS(data: any): PagedResultDtoOfNCRDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsNcrDocListDto(); + let result = new PagedResultDtoOfNCRDto(); result.init(data); return result; } @@ -95731,24 +130079,24 @@ export class PagedResultDtoOfIcsNcrDocListDto implements IPagedResultDtoOfIcsNcr return data; } - clone(): PagedResultDtoOfIcsNcrDocListDto { + clone(): PagedResultDtoOfNCRDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsNcrDocListDto(); + let result = new PagedResultDtoOfNCRDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsNcrDocListDto { +export interface IPagedResultDtoOfNCRDto { totalCount: number; - items: IcsNcrDocListDto[] | undefined; + items: NCRDto[] | undefined; } -export class PagedResultDtoOfIcsOPListDto implements IPagedResultDtoOfIcsOPListDto { +export class PagedResultDtoOfNameValueDto implements IPagedResultDtoOfNameValueDto { totalCount: number; - items: IcsOPListDto[] | undefined; + items: NameValueDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsOPListDto) { + constructor(data?: IPagedResultDtoOfNameValueDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95763,14 +130111,14 @@ export class PagedResultDtoOfIcsOPListDto implements IPagedResultDtoOfIcsOPListD if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsOPListDto.fromJS(item)); + this.items.push(NameValueDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsOPListDto { + static fromJS(data: any): PagedResultDtoOfNameValueDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsOPListDto(); + let result = new PagedResultDtoOfNameValueDto(); result.init(data); return result; } @@ -95786,24 +130134,24 @@ export class PagedResultDtoOfIcsOPListDto implements IPagedResultDtoOfIcsOPListD return data; } - clone(): PagedResultDtoOfIcsOPListDto { + clone(): PagedResultDtoOfNameValueDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsOPListDto(); + let result = new PagedResultDtoOfNameValueDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsOPListDto { +export interface IPagedResultDtoOfNameValueDto { totalCount: number; - items: IcsOPListDto[] | undefined; + items: NameValueDto[] | undefined; } -export class PagedResultDtoOfIcsOp2ResListDto implements IPagedResultDtoOfIcsOp2ResListDto { +export class PagedResultDtoOfNcrScrapQtyDto implements IPagedResultDtoOfNcrScrapQtyDto { totalCount: number; - items: IcsOp2ResListDto[] | undefined; + items: NcrScrapQtyDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsOp2ResListDto) { + constructor(data?: IPagedResultDtoOfNcrScrapQtyDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95818,14 +130166,14 @@ export class PagedResultDtoOfIcsOp2ResListDto implements IPagedResultDtoOfIcsOp2 if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsOp2ResListDto.fromJS(item)); + this.items.push(NcrScrapQtyDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsOp2ResListDto { + static fromJS(data: any): PagedResultDtoOfNcrScrapQtyDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsOp2ResListDto(); + let result = new PagedResultDtoOfNcrScrapQtyDto(); result.init(data); return result; } @@ -95841,24 +130189,24 @@ export class PagedResultDtoOfIcsOp2ResListDto implements IPagedResultDtoOfIcsOp2 return data; } - clone(): PagedResultDtoOfIcsOp2ResListDto { + clone(): PagedResultDtoOfNcrScrapQtyDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsOp2ResListDto(); + let result = new PagedResultDtoOfNcrScrapQtyDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsOp2ResListDto { +export interface IPagedResultDtoOfNcrScrapQtyDto { totalCount: number; - items: IcsOp2ResListDto[] | undefined; + items: NcrScrapQtyDto[] | undefined; } -export class PagedResultDtoOfIcsOutSourcingOrderListDto implements IPagedResultDtoOfIcsOutSourcingOrderListDto { +export class PagedResultDtoOfOrganizationUnitRoleListDto implements IPagedResultDtoOfOrganizationUnitRoleListDto { totalCount: number; - items: IcsOutSourcingOrderListDto[] | undefined; + items: OrganizationUnitRoleListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsOutSourcingOrderListDto) { + constructor(data?: IPagedResultDtoOfOrganizationUnitRoleListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95873,14 +130221,14 @@ export class PagedResultDtoOfIcsOutSourcingOrderListDto implements IPagedResultD if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsOutSourcingOrderListDto.fromJS(item)); + this.items.push(OrganizationUnitRoleListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsOutSourcingOrderListDto { + static fromJS(data: any): PagedResultDtoOfOrganizationUnitRoleListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsOutSourcingOrderListDto(); + let result = new PagedResultDtoOfOrganizationUnitRoleListDto(); result.init(data); return result; } @@ -95896,24 +130244,24 @@ export class PagedResultDtoOfIcsOutSourcingOrderListDto implements IPagedResultD return data; } - clone(): PagedResultDtoOfIcsOutSourcingOrderListDto { + clone(): PagedResultDtoOfOrganizationUnitRoleListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsOutSourcingOrderListDto(); + let result = new PagedResultDtoOfOrganizationUnitRoleListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsOutSourcingOrderListDto { +export interface IPagedResultDtoOfOrganizationUnitRoleListDto { totalCount: number; - items: IcsOutSourcingOrderListDto[] | undefined; + items: OrganizationUnitRoleListDto[] | undefined; } -export class PagedResultDtoOfIcsPartListDto implements IPagedResultDtoOfIcsPartListDto { +export class PagedResultDtoOfOrganizationUnitUserListDto implements IPagedResultDtoOfOrganizationUnitUserListDto { totalCount: number; - items: IcsPartListDto[] | undefined; + items: OrganizationUnitUserListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsPartListDto) { + constructor(data?: IPagedResultDtoOfOrganizationUnitUserListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95928,14 +130276,14 @@ export class PagedResultDtoOfIcsPartListDto implements IPagedResultDtoOfIcsPartL if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsPartListDto.fromJS(item)); + this.items.push(OrganizationUnitUserListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsPartListDto { + static fromJS(data: any): PagedResultDtoOfOrganizationUnitUserListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsPartListDto(); + let result = new PagedResultDtoOfOrganizationUnitUserListDto(); result.init(data); return result; } @@ -95951,24 +130299,24 @@ export class PagedResultDtoOfIcsPartListDto implements IPagedResultDtoOfIcsPartL return data; } - clone(): PagedResultDtoOfIcsPartListDto { + clone(): PagedResultDtoOfOrganizationUnitUserListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsPartListDto(); + let result = new PagedResultDtoOfOrganizationUnitUserListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsPartListDto { +export interface IPagedResultDtoOfOrganizationUnitUserListDto { totalCount: number; - items: IcsPartListDto[] | undefined; + items: OrganizationUnitUserListDto[] | undefined; } -export class PagedResultDtoOfIcsResListDto implements IPagedResultDtoOfIcsResListDto { +export class PagedResultDtoOfProductCheckReportDto implements IPagedResultDtoOfProductCheckReportDto { totalCount: number; - items: IcsResListDto[] | undefined; + items: ProductCheckReportDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsResListDto) { + constructor(data?: IPagedResultDtoOfProductCheckReportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -95983,14 +130331,14 @@ export class PagedResultDtoOfIcsResListDto implements IPagedResultDtoOfIcsResLis if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsResListDto.fromJS(item)); + this.items.push(ProductCheckReportDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsResListDto { + static fromJS(data: any): PagedResultDtoOfProductCheckReportDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsResListDto(); + let result = new PagedResultDtoOfProductCheckReportDto(); result.init(data); return result; } @@ -96006,24 +130354,24 @@ export class PagedResultDtoOfIcsResListDto implements IPagedResultDtoOfIcsResLis return data; } - clone(): PagedResultDtoOfIcsResListDto { + clone(): PagedResultDtoOfProductCheckReportDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsResListDto(); + let result = new PagedResultDtoOfProductCheckReportDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsResListDto { +export interface IPagedResultDtoOfProductCheckReportDto { totalCount: number; - items: IcsResListDto[] | undefined; + items: ProductCheckReportDto[] | undefined; } -export class PagedResultDtoOfIcsRouteListDto implements IPagedResultDtoOfIcsRouteListDto { +export class PagedResultDtoOfProjectProgressReportDto implements IPagedResultDtoOfProjectProgressReportDto { totalCount: number; - items: IcsRouteListDto[] | undefined; + items: ProjectProgressReportDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsRouteListDto) { + constructor(data?: IPagedResultDtoOfProjectProgressReportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96038,14 +130386,14 @@ export class PagedResultDtoOfIcsRouteListDto implements IPagedResultDtoOfIcsRout if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsRouteListDto.fromJS(item)); + this.items.push(ProjectProgressReportDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsRouteListDto { + static fromJS(data: any): PagedResultDtoOfProjectProgressReportDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsRouteListDto(); + let result = new PagedResultDtoOfProjectProgressReportDto(); result.init(data); return result; } @@ -96061,24 +130409,24 @@ export class PagedResultDtoOfIcsRouteListDto implements IPagedResultDtoOfIcsRout return data; } - clone(): PagedResultDtoOfIcsRouteListDto { + clone(): PagedResultDtoOfProjectProgressReportDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsRouteListDto(); + let result = new PagedResultDtoOfProjectProgressReportDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsRouteListDto { +export interface IPagedResultDtoOfProjectProgressReportDto { totalCount: number; - items: IcsRouteListDto[] | undefined; + items: ProjectProgressReportDto[] | undefined; } -export class PagedResultDtoOfIcsSBomListDto implements IPagedResultDtoOfIcsSBomListDto { +export class PagedResultDtoOfRoleListDto implements IPagedResultDtoOfRoleListDto { totalCount: number; - items: IcsSBomListDto[] | undefined; + items: RoleListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsSBomListDto) { + constructor(data?: IPagedResultDtoOfRoleListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96093,14 +130441,14 @@ export class PagedResultDtoOfIcsSBomListDto implements IPagedResultDtoOfIcsSBomL if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsSBomListDto.fromJS(item)); + this.items.push(RoleListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsSBomListDto { + static fromJS(data: any): PagedResultDtoOfRoleListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsSBomListDto(); + let result = new PagedResultDtoOfRoleListDto(); result.init(data); return result; } @@ -96116,24 +130464,24 @@ export class PagedResultDtoOfIcsSBomListDto implements IPagedResultDtoOfIcsSBomL return data; } - clone(): PagedResultDtoOfIcsSBomListDto { + clone(): PagedResultDtoOfRoleListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsSBomListDto(); + let result = new PagedResultDtoOfRoleListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsSBomListDto { +export interface IPagedResultDtoOfRoleListDto { totalCount: number; - items: IcsSBomListDto[] | undefined; + items: RoleListDto[] | undefined; } -export class PagedResultDtoOfIcsSSListDto implements IPagedResultDtoOfIcsSSListDto { +export class PagedResultDtoOfSalaryDetailDto implements IPagedResultDtoOfSalaryDetailDto { totalCount: number; - items: IcsSSListDto[] | undefined; + items: SalaryDetailDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsSSListDto) { + constructor(data?: IPagedResultDtoOfSalaryDetailDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96148,14 +130496,14 @@ export class PagedResultDtoOfIcsSSListDto implements IPagedResultDtoOfIcsSSListD if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsSSListDto.fromJS(item)); + this.items.push(SalaryDetailDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsSSListDto { + static fromJS(data: any): PagedResultDtoOfSalaryDetailDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsSSListDto(); + let result = new PagedResultDtoOfSalaryDetailDto(); result.init(data); return result; } @@ -96171,24 +130519,24 @@ export class PagedResultDtoOfIcsSSListDto implements IPagedResultDtoOfIcsSSListD return data; } - clone(): PagedResultDtoOfIcsSSListDto { + clone(): PagedResultDtoOfSalaryDetailDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsSSListDto(); + let result = new PagedResultDtoOfSalaryDetailDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsSSListDto { +export interface IPagedResultDtoOfSalaryDetailDto { totalCount: number; - items: IcsSSListDto[] | undefined; + items: SalaryDetailDto[] | undefined; } -export class PagedResultDtoOfIcsSegListDto implements IPagedResultDtoOfIcsSegListDto { +export class PagedResultDtoOfSelectItemExt implements IPagedResultDtoOfSelectItemExt { totalCount: number; - items: IcsSegListDto[] | undefined; + items: SelectItemExt[] | undefined; - constructor(data?: IPagedResultDtoOfIcsSegListDto) { + constructor(data?: IPagedResultDtoOfSelectItemExt) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96203,14 +130551,14 @@ export class PagedResultDtoOfIcsSegListDto implements IPagedResultDtoOfIcsSegLis if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsSegListDto.fromJS(item)); + this.items.push(SelectItemExt.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsSegListDto { + static fromJS(data: any): PagedResultDtoOfSelectItemExt { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsSegListDto(); + let result = new PagedResultDtoOfSelectItemExt(); result.init(data); return result; } @@ -96226,24 +130574,24 @@ export class PagedResultDtoOfIcsSegListDto implements IPagedResultDtoOfIcsSegLis return data; } - clone(): PagedResultDtoOfIcsSegListDto { + clone(): PagedResultDtoOfSelectItemExt { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsSegListDto(); + let result = new PagedResultDtoOfSelectItemExt(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsSegListDto { +export interface IPagedResultDtoOfSelectItemExt { totalCount: number; - items: IcsSegListDto[] | undefined; + items: SelectItemExt[] | undefined; } -export class PagedResultDtoOfIcsShiftListDto implements IPagedResultDtoOfIcsShiftListDto { +export class PagedResultDtoOfStringDtoEx implements IPagedResultDtoOfStringDtoEx { totalCount: number; - items: IcsShiftListDto[] | undefined; + items: StringDtoEx[] | undefined; - constructor(data?: IPagedResultDtoOfIcsShiftListDto) { + constructor(data?: IPagedResultDtoOfStringDtoEx) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96258,14 +130606,14 @@ export class PagedResultDtoOfIcsShiftListDto implements IPagedResultDtoOfIcsShif if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsShiftListDto.fromJS(item)); + this.items.push(StringDtoEx.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsShiftListDto { + static fromJS(data: any): PagedResultDtoOfStringDtoEx { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsShiftListDto(); + let result = new PagedResultDtoOfStringDtoEx(); result.init(data); return result; } @@ -96281,24 +130629,24 @@ export class PagedResultDtoOfIcsShiftListDto implements IPagedResultDtoOfIcsShif return data; } - clone(): PagedResultDtoOfIcsShiftListDto { + clone(): PagedResultDtoOfStringDtoEx { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsShiftListDto(); + let result = new PagedResultDtoOfStringDtoEx(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsShiftListDto { +export interface IPagedResultDtoOfStringDtoEx { totalCount: number; - items: IcsShiftListDto[] | undefined; + items: StringDtoEx[] | undefined; } -export class PagedResultDtoOfIcsShiftTypeListDto implements IPagedResultDtoOfIcsShiftTypeListDto { +export class PagedResultDtoOfSysDataBaseListDto implements IPagedResultDtoOfSysDataBaseListDto { totalCount: number; - items: IcsShiftTypeListDto[] | undefined; + items: SysDataBaseListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsShiftTypeListDto) { + constructor(data?: IPagedResultDtoOfSysDataBaseListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96313,14 +130661,14 @@ export class PagedResultDtoOfIcsShiftTypeListDto implements IPagedResultDtoOfIcs if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsShiftTypeListDto.fromJS(item)); + this.items.push(SysDataBaseListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsShiftTypeListDto { + static fromJS(data: any): PagedResultDtoOfSysDataBaseListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsShiftTypeListDto(); + let result = new PagedResultDtoOfSysDataBaseListDto(); result.init(data); return result; } @@ -96336,24 +130684,24 @@ export class PagedResultDtoOfIcsShiftTypeListDto implements IPagedResultDtoOfIcs return data; } - clone(): PagedResultDtoOfIcsShiftTypeListDto { + clone(): PagedResultDtoOfSysDataBaseListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsShiftTypeListDto(); + let result = new PagedResultDtoOfSysDataBaseListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsShiftTypeListDto { +export interface IPagedResultDtoOfSysDataBaseListDto { totalCount: number; - items: IcsShiftTypeListDto[] | undefined; + items: SysDataBaseListDto[] | undefined; } -export class PagedResultDtoOfIcsSolutionListDto implements IPagedResultDtoOfIcsSolutionListDto { +export class PagedResultDtoOfSysEnumKeyListDto implements IPagedResultDtoOfSysEnumKeyListDto { totalCount: number; - items: IcsSolutionListDto[] | undefined; + items: SysEnumKeyListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsSolutionListDto) { + constructor(data?: IPagedResultDtoOfSysEnumKeyListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96368,14 +130716,14 @@ export class PagedResultDtoOfIcsSolutionListDto implements IPagedResultDtoOfIcsS if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsSolutionListDto.fromJS(item)); + this.items.push(SysEnumKeyListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsSolutionListDto { + static fromJS(data: any): PagedResultDtoOfSysEnumKeyListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsSolutionListDto(); + let result = new PagedResultDtoOfSysEnumKeyListDto(); result.init(data); return result; } @@ -96391,24 +130739,24 @@ export class PagedResultDtoOfIcsSolutionListDto implements IPagedResultDtoOfIcsS return data; } - clone(): PagedResultDtoOfIcsSolutionListDto { + clone(): PagedResultDtoOfSysEnumKeyListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsSolutionListDto(); + let result = new PagedResultDtoOfSysEnumKeyListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsSolutionListDto { +export interface IPagedResultDtoOfSysEnumKeyListDto { totalCount: number; - items: IcsSolutionListDto[] | undefined; + items: SysEnumKeyListDto[] | undefined; } -export class PagedResultDtoOfIcsStandardWhoursListDto implements IPagedResultDtoOfIcsStandardWhoursListDto { +export class PagedResultDtoOfSysFileListDto implements IPagedResultDtoOfSysFileListDto { totalCount: number; - items: IcsStandardWhoursListDto[] | undefined; + items: SysFileListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsStandardWhoursListDto) { + constructor(data?: IPagedResultDtoOfSysFileListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96423,14 +130771,14 @@ export class PagedResultDtoOfIcsStandardWhoursListDto implements IPagedResultDto if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsStandardWhoursListDto.fromJS(item)); + this.items.push(SysFileListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsStandardWhoursListDto { + static fromJS(data: any): PagedResultDtoOfSysFileListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsStandardWhoursListDto(); + let result = new PagedResultDtoOfSysFileListDto(); result.init(data); return result; } @@ -96446,24 +130794,24 @@ export class PagedResultDtoOfIcsStandardWhoursListDto implements IPagedResultDto return data; } - clone(): PagedResultDtoOfIcsStandardWhoursListDto { + clone(): PagedResultDtoOfSysFileListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsStandardWhoursListDto(); + let result = new PagedResultDtoOfSysFileListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsStandardWhoursListDto { +export interface IPagedResultDtoOfSysFileListDto { totalCount: number; - items: IcsStandardWhoursListDto[] | undefined; + items: SysFileListDto[] | undefined; } -export class PagedResultDtoOfIcsTpListDto implements IPagedResultDtoOfIcsTpListDto { +export class PagedResultDtoOfSysLabelDataSourceListDto implements IPagedResultDtoOfSysLabelDataSourceListDto { totalCount: number; - items: IcsTpListDto[] | undefined; + items: SysLabelDataSourceListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsTpListDto) { + constructor(data?: IPagedResultDtoOfSysLabelDataSourceListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96478,14 +130826,14 @@ export class PagedResultDtoOfIcsTpListDto implements IPagedResultDtoOfIcsTpListD if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsTpListDto.fromJS(item)); + this.items.push(SysLabelDataSourceListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsTpListDto { + static fromJS(data: any): PagedResultDtoOfSysLabelDataSourceListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsTpListDto(); + let result = new PagedResultDtoOfSysLabelDataSourceListDto(); result.init(data); return result; } @@ -96501,24 +130849,24 @@ export class PagedResultDtoOfIcsTpListDto implements IPagedResultDtoOfIcsTpListD return data; } - clone(): PagedResultDtoOfIcsTpListDto { + clone(): PagedResultDtoOfSysLabelDataSourceListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsTpListDto(); + let result = new PagedResultDtoOfSysLabelDataSourceListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsTpListDto { +export interface IPagedResultDtoOfSysLabelDataSourceListDto { totalCount: number; - items: IcsTpListDto[] | undefined; + items: SysLabelDataSourceListDto[] | undefined; } -export class PagedResultDtoOfIcsTsErrorCauseListDto implements IPagedResultDtoOfIcsTsErrorCauseListDto { +export class PagedResultDtoOfSysLabelListDto implements IPagedResultDtoOfSysLabelListDto { totalCount: number; - items: IcsTsErrorCauseListDto[] | undefined; + items: SysLabelListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsTsErrorCauseListDto) { + constructor(data?: IPagedResultDtoOfSysLabelListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96533,14 +130881,14 @@ export class PagedResultDtoOfIcsTsErrorCauseListDto implements IPagedResultDtoOf if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsTsErrorCauseListDto.fromJS(item)); + this.items.push(SysLabelListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsTsErrorCauseListDto { + static fromJS(data: any): PagedResultDtoOfSysLabelListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsTsErrorCauseListDto(); + let result = new PagedResultDtoOfSysLabelListDto(); result.init(data); return result; } @@ -96556,24 +130904,24 @@ export class PagedResultDtoOfIcsTsErrorCauseListDto implements IPagedResultDtoOf return data; } - clone(): PagedResultDtoOfIcsTsErrorCauseListDto { + clone(): PagedResultDtoOfSysLabelListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsTsErrorCauseListDto(); + let result = new PagedResultDtoOfSysLabelListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsTsErrorCauseListDto { +export interface IPagedResultDtoOfSysLabelListDto { totalCount: number; - items: IcsTsErrorCauseListDto[] | undefined; + items: SysLabelListDto[] | undefined; } -export class PagedResultDtoOfIcsTsErrorCodeListDto implements IPagedResultDtoOfIcsTsErrorCodeListDto { +export class PagedResultDtoOfSysLabelRuleListDto implements IPagedResultDtoOfSysLabelRuleListDto { totalCount: number; - items: IcsTsErrorCodeListDto[] | undefined; + items: SysLabelRuleListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsTsErrorCodeListDto) { + constructor(data?: IPagedResultDtoOfSysLabelRuleListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96588,14 +130936,14 @@ export class PagedResultDtoOfIcsTsErrorCodeListDto implements IPagedResultDtoOfI if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsTsErrorCodeListDto.fromJS(item)); + this.items.push(SysLabelRuleListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsTsErrorCodeListDto { + static fromJS(data: any): PagedResultDtoOfSysLabelRuleListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsTsErrorCodeListDto(); + let result = new PagedResultDtoOfSysLabelRuleListDto(); result.init(data); return result; } @@ -96611,24 +130959,24 @@ export class PagedResultDtoOfIcsTsErrorCodeListDto implements IPagedResultDtoOfI return data; } - clone(): PagedResultDtoOfIcsTsErrorCodeListDto { + clone(): PagedResultDtoOfSysLabelRuleListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsTsErrorCodeListDto(); + let result = new PagedResultDtoOfSysLabelRuleListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsTsErrorCodeListDto { +export interface IPagedResultDtoOfSysLabelRuleListDto { totalCount: number; - items: IcsTsErrorCodeListDto[] | undefined; + items: SysLabelRuleListDto[] | undefined; } -export class PagedResultDtoOfIcsTsListDto implements IPagedResultDtoOfIcsTsListDto { +export class PagedResultDtoOfSysUserInfoListDto implements IPagedResultDtoOfSysUserInfoListDto { totalCount: number; - items: IcsTsListDto[] | undefined; + items: SysUserInfoListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsTsListDto) { + constructor(data?: IPagedResultDtoOfSysUserInfoListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96643,14 +130991,14 @@ export class PagedResultDtoOfIcsTsListDto implements IPagedResultDtoOfIcsTsListD if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsTsListDto.fromJS(item)); + this.items.push(SysUserInfoListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsTsListDto { + static fromJS(data: any): PagedResultDtoOfSysUserInfoListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsTsListDto(); + let result = new PagedResultDtoOfSysUserInfoListDto(); result.init(data); return result; } @@ -96666,24 +131014,24 @@ export class PagedResultDtoOfIcsTsListDto implements IPagedResultDtoOfIcsTsListD return data; } - clone(): PagedResultDtoOfIcsTsListDto { + clone(): PagedResultDtoOfSysUserInfoListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsTsListDto(); + let result = new PagedResultDtoOfSysUserInfoListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsTsListDto { +export interface IPagedResultDtoOfSysUserInfoListDto { totalCount: number; - items: IcsTsListDto[] | undefined; + items: SysUserInfoListDto[] | undefined; } -export class PagedResultDtoOfIcsUser2OpListDto implements IPagedResultDtoOfIcsUser2OpListDto { +export class PagedResultDtoOfTenantListDto implements IPagedResultDtoOfTenantListDto { totalCount: number; - items: IcsUser2OpListDto[] | undefined; + items: TenantListDto[] | undefined; - constructor(data?: IPagedResultDtoOfIcsUser2OpListDto) { + constructor(data?: IPagedResultDtoOfTenantListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96698,14 +131046,14 @@ export class PagedResultDtoOfIcsUser2OpListDto implements IPagedResultDtoOfIcsUs if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(IcsUser2OpListDto.fromJS(item)); + this.items.push(TenantListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfIcsUser2OpListDto { + static fromJS(data: any): PagedResultDtoOfTenantListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfIcsUser2OpListDto(); + let result = new PagedResultDtoOfTenantListDto(); result.init(data); return result; } @@ -96721,24 +131069,24 @@ export class PagedResultDtoOfIcsUser2OpListDto implements IPagedResultDtoOfIcsUs return data; } - clone(): PagedResultDtoOfIcsUser2OpListDto { + clone(): PagedResultDtoOfTenantListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfIcsUser2OpListDto(); + let result = new PagedResultDtoOfTenantListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfIcsUser2OpListDto { +export interface IPagedResultDtoOfTenantListDto { totalCount: number; - items: IcsUser2OpListDto[] | undefined; + items: TenantListDto[] | undefined; } -export class PagedResultDtoOfLanguageTextListDto implements IPagedResultDtoOfLanguageTextListDto { +export class PagedResultDtoOfUserHourCountDto implements IPagedResultDtoOfUserHourCountDto { totalCount: number; - items: LanguageTextListDto[] | undefined; + items: UserHourCountDto[] | undefined; - constructor(data?: IPagedResultDtoOfLanguageTextListDto) { + constructor(data?: IPagedResultDtoOfUserHourCountDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96753,14 +131101,14 @@ export class PagedResultDtoOfLanguageTextListDto implements IPagedResultDtoOfLan if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(LanguageTextListDto.fromJS(item)); + this.items.push(UserHourCountDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfLanguageTextListDto { + static fromJS(data: any): PagedResultDtoOfUserHourCountDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfLanguageTextListDto(); + let result = new PagedResultDtoOfUserHourCountDto(); result.init(data); return result; } @@ -96776,24 +131124,24 @@ export class PagedResultDtoOfLanguageTextListDto implements IPagedResultDtoOfLan return data; } - clone(): PagedResultDtoOfLanguageTextListDto { + clone(): PagedResultDtoOfUserHourCountDto { const json = this.toJSON(); - let result = new PagedResultDtoOfLanguageTextListDto(); + let result = new PagedResultDtoOfUserHourCountDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfLanguageTextListDto { +export interface IPagedResultDtoOfUserHourCountDto { totalCount: number; - items: LanguageTextListDto[] | undefined; + items: UserHourCountDto[] | undefined; } -export class PagedResultDtoOfLinkedUserDto implements IPagedResultDtoOfLinkedUserDto { +export class PagedResultDtoOfUserListDto implements IPagedResultDtoOfUserListDto { totalCount: number; - items: LinkedUserDto[] | undefined; + items: UserListDto[] | undefined; - constructor(data?: IPagedResultDtoOfLinkedUserDto) { + constructor(data?: IPagedResultDtoOfUserListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96808,14 +131156,14 @@ export class PagedResultDtoOfLinkedUserDto implements IPagedResultDtoOfLinkedUse if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(LinkedUserDto.fromJS(item)); + this.items.push(UserListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfLinkedUserDto { + static fromJS(data: any): PagedResultDtoOfUserListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfLinkedUserDto(); + let result = new PagedResultDtoOfUserListDto(); result.init(data); return result; } @@ -96831,24 +131179,24 @@ export class PagedResultDtoOfLinkedUserDto implements IPagedResultDtoOfLinkedUse return data; } - clone(): PagedResultDtoOfLinkedUserDto { + clone(): PagedResultDtoOfUserListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfLinkedUserDto(); + let result = new PagedResultDtoOfUserListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfLinkedUserDto { +export interface IPagedResultDtoOfUserListDto { totalCount: number; - items: LinkedUserDto[] | undefined; + items: UserListDto[] | undefined; } -export class PagedResultDtoOfLoginLogsDto implements IPagedResultDtoOfLoginLogsDto { +export class PagedResultDtoOfWechatAppConfigListDto implements IPagedResultDtoOfWechatAppConfigListDto { totalCount: number; - items: LoginLogsDto[] | undefined; + items: WechatAppConfigListDto[] | undefined; - constructor(data?: IPagedResultDtoOfLoginLogsDto) { + constructor(data?: IPagedResultDtoOfWechatAppConfigListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96863,14 +131211,14 @@ export class PagedResultDtoOfLoginLogsDto implements IPagedResultDtoOfLoginLogsD if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(LoginLogsDto.fromJS(item)); + this.items.push(WechatAppConfigListDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfLoginLogsDto { + static fromJS(data: any): PagedResultDtoOfWechatAppConfigListDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfLoginLogsDto(); + let result = new PagedResultDtoOfWechatAppConfigListDto(); result.init(data); return result; } @@ -96886,24 +131234,24 @@ export class PagedResultDtoOfLoginLogsDto implements IPagedResultDtoOfLoginLogsD return data; } - clone(): PagedResultDtoOfLoginLogsDto { + clone(): PagedResultDtoOfWechatAppConfigListDto { const json = this.toJSON(); - let result = new PagedResultDtoOfLoginLogsDto(); + let result = new PagedResultDtoOfWechatAppConfigListDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfLoginLogsDto { +export interface IPagedResultDtoOfWechatAppConfigListDto { totalCount: number; - items: LoginLogsDto[] | undefined; + items: WechatAppConfigListDto[] | undefined; } -export class PagedResultDtoOfMediaList_News_Item implements IPagedResultDtoOfMediaList_News_Item { +export class PagedResultDtoOfWorkTicketDto implements IPagedResultDtoOfWorkTicketDto { totalCount: number; - items: MediaList_News_Item[] | undefined; + items: WorkTicketDto[] | undefined; - constructor(data?: IPagedResultDtoOfMediaList_News_Item) { + constructor(data?: IPagedResultDtoOfWorkTicketDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96918,14 +131266,14 @@ export class PagedResultDtoOfMediaList_News_Item implements IPagedResultDtoOfMed if (Array.isArray(_data["items"])) { this.items = [] as any; for (let item of _data["items"]) - this.items.push(MediaList_News_Item.fromJS(item)); + this.items.push(WorkTicketDto.fromJS(item)); } } } - static fromJS(data: any): PagedResultDtoOfMediaList_News_Item { + static fromJS(data: any): PagedResultDtoOfWorkTicketDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfMediaList_News_Item(); + let result = new PagedResultDtoOfWorkTicketDto(); result.init(data); return result; } @@ -96941,24 +131289,27 @@ export class PagedResultDtoOfMediaList_News_Item implements IPagedResultDtoOfMed return data; } - clone(): PagedResultDtoOfMediaList_News_Item { + clone(): PagedResultDtoOfWorkTicketDto { const json = this.toJSON(); - let result = new PagedResultDtoOfMediaList_News_Item(); + let result = new PagedResultDtoOfWorkTicketDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfMediaList_News_Item { +export interface IPagedResultDtoOfWorkTicketDto { totalCount: number; - items: MediaList_News_Item[] | undefined; + items: WorkTicketDto[] | undefined; } -export class PagedResultDtoOfMediaList_Others_Item implements IPagedResultDtoOfMediaList_Others_Item { - totalCount: number; - items: MediaList_Others_Item[] | undefined; +export class PasswordComplexitySetting implements IPasswordComplexitySetting { + requireDigit: boolean; + requireLowercase: boolean; + requireNonAlphanumeric: boolean; + requireUppercase: boolean; + requiredLength: number; - constructor(data?: IPagedResultDtoOfMediaList_Others_Item) { + constructor(data?: IPasswordComplexitySetting) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -96969,51 +131320,50 @@ export class PagedResultDtoOfMediaList_Others_Item implements IPagedResultDtoOfM init(_data?: any) { if (_data) { - this.totalCount = _data["totalCount"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(MediaList_Others_Item.fromJS(item)); - } + this.requireDigit = _data["requireDigit"]; + this.requireLowercase = _data["requireLowercase"]; + this.requireNonAlphanumeric = _data["requireNonAlphanumeric"]; + this.requireUppercase = _data["requireUppercase"]; + this.requiredLength = _data["requiredLength"]; } } - static fromJS(data: any): PagedResultDtoOfMediaList_Others_Item { + static fromJS(data: any): PasswordComplexitySetting { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfMediaList_Others_Item(); + let result = new PasswordComplexitySetting(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalCount"] = this.totalCount; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["requireDigit"] = this.requireDigit; + data["requireLowercase"] = this.requireLowercase; + data["requireNonAlphanumeric"] = this.requireNonAlphanumeric; + data["requireUppercase"] = this.requireUppercase; + data["requiredLength"] = this.requiredLength; return data; } - clone(): PagedResultDtoOfMediaList_Others_Item { + clone(): PasswordComplexitySetting { const json = this.toJSON(); - let result = new PagedResultDtoOfMediaList_Others_Item(); + let result = new PasswordComplexitySetting(); result.init(json); return result; } } -export interface IPagedResultDtoOfMediaList_Others_Item { - totalCount: number; - items: MediaList_Others_Item[] | undefined; +export interface IPasswordComplexitySetting { + requireDigit: boolean; + requireLowercase: boolean; + requireNonAlphanumeric: boolean; + requireUppercase: boolean; + requiredLength: number; } -export class PagedResultDtoOfMenuListDto implements IPagedResultDtoOfMenuListDto { - totalCount: number; - items: MenuListDto[] | undefined; +export class PipeReader implements IPipeReader { - constructor(data?: IPagedResultDtoOfMenuListDto) { + constructor(data?: IPipeReader) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97023,52 +131373,36 @@ export class PagedResultDtoOfMenuListDto implements IPagedResultDtoOfMenuListDto } init(_data?: any) { - if (_data) { - this.totalCount = _data["totalCount"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(MenuListDto.fromJS(item)); - } - } } - static fromJS(data: any): PagedResultDtoOfMenuListDto { + static fromJS(data: any): PipeReader { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfMenuListDto(); + let result = new PipeReader(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalCount"] = this.totalCount; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } return data; } - clone(): PagedResultDtoOfMenuListDto { + clone(): PipeReader { const json = this.toJSON(); - let result = new PagedResultDtoOfMenuListDto(); + let result = new PipeReader(); result.init(json); return result; } } -export interface IPagedResultDtoOfMenuListDto { - totalCount: number; - items: MenuListDto[] | undefined; +export interface IPipeReader { } -export class PagedResultDtoOfMessageConfigListDto implements IPagedResultDtoOfMessageConfigListDto { - totalCount: number; - items: MessageConfigListDto[] | undefined; +export class PipeWriter implements IPipeWriter { + readonly canGetUnflushedBytes: boolean; + readonly unflushedBytes: number; - constructor(data?: IPagedResultDtoOfMessageConfigListDto) { + constructor(data?: IPipeWriter) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97079,51 +131413,54 @@ export class PagedResultDtoOfMessageConfigListDto implements IPagedResultDtoOfMe init(_data?: any) { if (_data) { - this.totalCount = _data["totalCount"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(MessageConfigListDto.fromJS(item)); - } + (this).canGetUnflushedBytes = _data["canGetUnflushedBytes"]; + (this).unflushedBytes = _data["unflushedBytes"]; } } - static fromJS(data: any): PagedResultDtoOfMessageConfigListDto { + static fromJS(data: any): PipeWriter { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfMessageConfigListDto(); + let result = new PipeWriter(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalCount"] = this.totalCount; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["canGetUnflushedBytes"] = this.canGetUnflushedBytes; + data["unflushedBytes"] = this.unflushedBytes; return data; } - clone(): PagedResultDtoOfMessageConfigListDto { + clone(): PipeWriter { const json = this.toJSON(); - let result = new PagedResultDtoOfMessageConfigListDto(); + let result = new PipeWriter(); result.init(json); return result; } } -export interface IPagedResultDtoOfMessageConfigListDto { - totalCount: number; - items: MessageConfigListDto[] | undefined; +export interface IPipeWriter { + canGetUnflushedBytes: boolean; + unflushedBytes: number; } -export class PagedResultDtoOfMessageRecordListDto implements IPagedResultDtoOfMessageRecordListDto { - totalCount: number; - items: MessageRecordListDto[] | undefined; +export class ProductCheckReportDto implements IProductCheckReportDto { + key: string | undefined; + id: number; + lotNo: string | undefined; + moCode: string | undefined; + moSeq: number; + itemCode: string | undefined; + itemName: string | undefined; + checkSeq: number; + checkResult: string | undefined; + projectCode: string | undefined; + checkUserCode: string | undefined; + checkUserName: string | undefined; + checkDate: moment.Moment; - constructor(data?: IPagedResultDtoOfMessageRecordListDto) { + constructor(data?: IProductCheckReportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97134,51 +131471,75 @@ export class PagedResultDtoOfMessageRecordListDto implements IPagedResultDtoOfMe init(_data?: any) { if (_data) { - this.totalCount = _data["totalCount"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(MessageRecordListDto.fromJS(item)); - } + this.key = _data["key"]; + this.id = _data["id"]; + this.lotNo = _data["lotNo"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.checkSeq = _data["checkSeq"]; + this.checkResult = _data["checkResult"]; + this.projectCode = _data["projectCode"]; + this.checkUserCode = _data["checkUserCode"]; + this.checkUserName = _data["checkUserName"]; + this.checkDate = _data["checkDate"] ? moment(_data["checkDate"].toString()) : undefined; } } - static fromJS(data: any): PagedResultDtoOfMessageRecordListDto { + static fromJS(data: any): ProductCheckReportDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfMessageRecordListDto(); + let result = new ProductCheckReportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalCount"] = this.totalCount; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["key"] = this.key; + data["id"] = this.id; + data["lotNo"] = this.lotNo; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["checkSeq"] = this.checkSeq; + data["checkResult"] = this.checkResult; + data["projectCode"] = this.projectCode; + data["checkUserCode"] = this.checkUserCode; + data["checkUserName"] = this.checkUserName; + data["checkDate"] = this.checkDate ? this.checkDate.toISOString() : undefined; return data; } - clone(): PagedResultDtoOfMessageRecordListDto { + clone(): ProductCheckReportDto { const json = this.toJSON(); - let result = new PagedResultDtoOfMessageRecordListDto(); + let result = new ProductCheckReportDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfMessageRecordListDto { - totalCount: number; - items: MessageRecordListDto[] | undefined; +export interface IProductCheckReportDto { + key: string | undefined; + id: number; + lotNo: string | undefined; + moCode: string | undefined; + moSeq: number; + itemCode: string | undefined; + itemName: string | undefined; + checkSeq: number; + checkResult: string | undefined; + projectCode: string | undefined; + checkUserCode: string | undefined; + checkUserName: string | undefined; + checkDate: moment.Moment; } -export class PagedResultDtoOfMessageRuleListDto implements IPagedResultDtoOfMessageRuleListDto { - totalCount: number; - items: MessageRuleListDto[] | undefined; +export class ProjectConfigEditDto implements IProjectConfigEditDto { + projectConfig: string | undefined; - constructor(data?: IPagedResultDtoOfMessageRuleListDto) { + constructor(data?: IProjectConfigEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97189,51 +131550,92 @@ export class PagedResultDtoOfMessageRuleListDto implements IPagedResultDtoOfMess init(_data?: any) { if (_data) { - this.totalCount = _data["totalCount"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(MessageRuleListDto.fromJS(item)); - } + this.projectConfig = _data["projectConfig"]; } } - static fromJS(data: any): PagedResultDtoOfMessageRuleListDto { + static fromJS(data: any): ProjectConfigEditDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfMessageRuleListDto(); + let result = new ProjectConfigEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalCount"] = this.totalCount; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["projectConfig"] = this.projectConfig; return data; } - clone(): PagedResultDtoOfMessageRuleListDto { + clone(): ProjectConfigEditDto { const json = this.toJSON(); - let result = new PagedResultDtoOfMessageRuleListDto(); + let result = new ProjectConfigEditDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfMessageRuleListDto { - totalCount: number; - items: MessageRuleListDto[] | undefined; +export interface IProjectConfigEditDto { + projectConfig: string | undefined; } -export class PagedResultDtoOfMessageTemplateListDto implements IPagedResultDtoOfMessageTemplateListDto { - totalCount: number; - items: MessageTemplateListDto[] | undefined; - - constructor(data?: IPagedResultDtoOfMessageTemplateListDto) { +export class ProjectProgressReportDto implements IProjectProgressReportDto { + id: number; + key: string | undefined; + projectCode: string | undefined; + moCode: string | undefined; + moSeq: number; + manufacturingNo: string | undefined; + segName: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemStd: string | undefined; + itemDrawingNo: string | undefined; + routeCode: string | undefined; + routeDesc: string | undefined; + lotno: string | undefined; + qcCheck: moment.Moment | undefined; + qcCheckResult: string | undefined; + mTime: moment.Moment | undefined; + produceStatus: string | undefined; + opCode1: string | undefined; + isEndOpCode1: boolean; + opCode2: string | undefined; + isEndOpCode2: boolean; + opCode3: string | undefined; + isEndOpCode3: boolean; + opCode4: string | undefined; + isEndOpCode4: boolean; + opCode5: string | undefined; + isEndOpCode5: boolean; + opCode6: string | undefined; + isEndOpCode6: boolean; + opCode7: string | undefined; + isEndOpCode7: boolean; + opCode8: string | undefined; + isEndOpCode8: boolean; + opCode9: string | undefined; + isEndOpCode9: boolean; + opCode10: string | undefined; + isEndOpCode10: boolean; + opCode11: string | undefined; + isEndOpCode11: boolean; + opCode12: string | undefined; + isEndOpCode12: boolean; + opCode13: string | undefined; + isEndOpCode13: boolean; + opCode14: string | undefined; + isEndOpCode14: boolean; + opCode15: string | undefined; + isEndOpCode15: boolean; + ext1: string | undefined; + ext2: string | undefined; + ext3: string | undefined; + ext4: string | undefined; + ext5: string | undefined; + ext6: string | undefined; + + constructor(data?: IProjectProgressReportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97244,51 +131646,256 @@ export class PagedResultDtoOfMessageTemplateListDto implements IPagedResultDtoOf init(_data?: any) { if (_data) { - this.totalCount = _data["totalCount"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(MessageTemplateListDto.fromJS(item)); + this.id = _data["id"]; + this.key = _data["key"]; + this.projectCode = _data["projectCode"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.manufacturingNo = _data["manufacturingNo"]; + this.segName = _data["segName"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.itemStd = _data["itemStd"]; + this.itemDrawingNo = _data["itemDrawingNo"]; + this.routeCode = _data["routeCode"]; + this.routeDesc = _data["routeDesc"]; + this.lotno = _data["lotno"]; + this.qcCheck = _data["qcCheck"] ? moment(_data["qcCheck"].toString()) : undefined; + this.qcCheckResult = _data["qcCheckResult"]; + this.mTime = _data["mTime"] ? moment(_data["mTime"].toString()) : undefined; + this.produceStatus = _data["produceStatus"]; + this.opCode1 = _data["opCode1"]; + this.isEndOpCode1 = _data["isEndOpCode1"]; + this.opCode2 = _data["opCode2"]; + this.isEndOpCode2 = _data["isEndOpCode2"]; + this.opCode3 = _data["opCode3"]; + this.isEndOpCode3 = _data["isEndOpCode3"]; + this.opCode4 = _data["opCode4"]; + this.isEndOpCode4 = _data["isEndOpCode4"]; + this.opCode5 = _data["opCode5"]; + this.isEndOpCode5 = _data["isEndOpCode5"]; + this.opCode6 = _data["opCode6"]; + this.isEndOpCode6 = _data["isEndOpCode6"]; + this.opCode7 = _data["opCode7"]; + this.isEndOpCode7 = _data["isEndOpCode7"]; + this.opCode8 = _data["opCode8"]; + this.isEndOpCode8 = _data["isEndOpCode8"]; + this.opCode9 = _data["opCode9"]; + this.isEndOpCode9 = _data["isEndOpCode9"]; + this.opCode10 = _data["opCode10"]; + this.isEndOpCode10 = _data["isEndOpCode10"]; + this.opCode11 = _data["opCode11"]; + this.isEndOpCode11 = _data["isEndOpCode11"]; + this.opCode12 = _data["opCode12"]; + this.isEndOpCode12 = _data["isEndOpCode12"]; + this.opCode13 = _data["opCode13"]; + this.isEndOpCode13 = _data["isEndOpCode13"]; + this.opCode14 = _data["opCode14"]; + this.isEndOpCode14 = _data["isEndOpCode14"]; + this.opCode15 = _data["opCode15"]; + this.isEndOpCode15 = _data["isEndOpCode15"]; + this.ext1 = _data["ext1"]; + this.ext2 = _data["ext2"]; + this.ext3 = _data["ext3"]; + this.ext4 = _data["ext4"]; + this.ext5 = _data["ext5"]; + this.ext6 = _data["ext6"]; + } + } + + static fromJS(data: any): ProjectProgressReportDto { + data = typeof data === 'object' ? data : {}; + let result = new ProjectProgressReportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["id"] = this.id; + data["key"] = this.key; + data["projectCode"] = this.projectCode; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["manufacturingNo"] = this.manufacturingNo; + data["segName"] = this.segName; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["itemStd"] = this.itemStd; + data["itemDrawingNo"] = this.itemDrawingNo; + data["routeCode"] = this.routeCode; + data["routeDesc"] = this.routeDesc; + data["lotno"] = this.lotno; + data["qcCheck"] = this.qcCheck ? this.qcCheck.toISOString() : undefined; + data["qcCheckResult"] = this.qcCheckResult; + data["mTime"] = this.mTime ? this.mTime.toISOString() : undefined; + data["produceStatus"] = this.produceStatus; + data["opCode1"] = this.opCode1; + data["isEndOpCode1"] = this.isEndOpCode1; + data["opCode2"] = this.opCode2; + data["isEndOpCode2"] = this.isEndOpCode2; + data["opCode3"] = this.opCode3; + data["isEndOpCode3"] = this.isEndOpCode3; + data["opCode4"] = this.opCode4; + data["isEndOpCode4"] = this.isEndOpCode4; + data["opCode5"] = this.opCode5; + data["isEndOpCode5"] = this.isEndOpCode5; + data["opCode6"] = this.opCode6; + data["isEndOpCode6"] = this.isEndOpCode6; + data["opCode7"] = this.opCode7; + data["isEndOpCode7"] = this.isEndOpCode7; + data["opCode8"] = this.opCode8; + data["isEndOpCode8"] = this.isEndOpCode8; + data["opCode9"] = this.opCode9; + data["isEndOpCode9"] = this.isEndOpCode9; + data["opCode10"] = this.opCode10; + data["isEndOpCode10"] = this.isEndOpCode10; + data["opCode11"] = this.opCode11; + data["isEndOpCode11"] = this.isEndOpCode11; + data["opCode12"] = this.opCode12; + data["isEndOpCode12"] = this.isEndOpCode12; + data["opCode13"] = this.opCode13; + data["isEndOpCode13"] = this.isEndOpCode13; + data["opCode14"] = this.opCode14; + data["isEndOpCode14"] = this.isEndOpCode14; + data["opCode15"] = this.opCode15; + data["isEndOpCode15"] = this.isEndOpCode15; + data["ext1"] = this.ext1; + data["ext2"] = this.ext2; + data["ext3"] = this.ext3; + data["ext4"] = this.ext4; + data["ext5"] = this.ext5; + data["ext6"] = this.ext6; + return data; + } + + clone(): ProjectProgressReportDto { + const json = this.toJSON(); + let result = new ProjectProgressReportDto(); + result.init(json); + return result; + } +} + +export interface IProjectProgressReportDto { + id: number; + key: string | undefined; + projectCode: string | undefined; + moCode: string | undefined; + moSeq: number; + manufacturingNo: string | undefined; + segName: string | undefined; + itemCode: string | undefined; + itemName: string | undefined; + itemStd: string | undefined; + itemDrawingNo: string | undefined; + routeCode: string | undefined; + routeDesc: string | undefined; + lotno: string | undefined; + qcCheck: moment.Moment | undefined; + qcCheckResult: string | undefined; + mTime: moment.Moment | undefined; + produceStatus: string | undefined; + opCode1: string | undefined; + isEndOpCode1: boolean; + opCode2: string | undefined; + isEndOpCode2: boolean; + opCode3: string | undefined; + isEndOpCode3: boolean; + opCode4: string | undefined; + isEndOpCode4: boolean; + opCode5: string | undefined; + isEndOpCode5: boolean; + opCode6: string | undefined; + isEndOpCode6: boolean; + opCode7: string | undefined; + isEndOpCode7: boolean; + opCode8: string | undefined; + isEndOpCode8: boolean; + opCode9: string | undefined; + isEndOpCode9: boolean; + opCode10: string | undefined; + isEndOpCode10: boolean; + opCode11: string | undefined; + isEndOpCode11: boolean; + opCode12: string | undefined; + isEndOpCode12: boolean; + opCode13: string | undefined; + isEndOpCode13: boolean; + opCode14: string | undefined; + isEndOpCode14: boolean; + opCode15: string | undefined; + isEndOpCode15: boolean; + ext1: string | undefined; + ext2: string | undefined; + ext3: string | undefined; + ext4: string | undefined; + ext5: string | undefined; + ext6: string | undefined; +} + +export class PublicKey implements IPublicKey { + encodedKeyValue: AsnEncodedData; + encodedParameters: AsnEncodedData; + key: AsymmetricAlgorithm; + oid: Oid; + + constructor(data?: IPublicKey) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; } } } - static fromJS(data: any): PagedResultDtoOfMessageTemplateListDto { + init(_data?: any) { + if (_data) { + this.encodedKeyValue = _data["encodedKeyValue"] ? AsnEncodedData.fromJS(_data["encodedKeyValue"]) : undefined; + this.encodedParameters = _data["encodedParameters"] ? AsnEncodedData.fromJS(_data["encodedParameters"]) : undefined; + this.key = _data["key"] ? AsymmetricAlgorithm.fromJS(_data["key"]) : undefined; + this.oid = _data["oid"] ? Oid.fromJS(_data["oid"]) : undefined; + } + } + + static fromJS(data: any): PublicKey { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfMessageTemplateListDto(); + let result = new PublicKey(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalCount"] = this.totalCount; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["encodedKeyValue"] = this.encodedKeyValue ? this.encodedKeyValue.toJSON() : undefined; + data["encodedParameters"] = this.encodedParameters ? this.encodedParameters.toJSON() : undefined; + data["key"] = this.key ? this.key.toJSON() : undefined; + data["oid"] = this.oid ? this.oid.toJSON() : undefined; return data; } - clone(): PagedResultDtoOfMessageTemplateListDto { + clone(): PublicKey { const json = this.toJSON(); - let result = new PagedResultDtoOfMessageTemplateListDto(); + let result = new PublicKey(); result.init(json); return result; } } -export interface IPagedResultDtoOfMessageTemplateListDto { - totalCount: number; - items: MessageTemplateListDto[] | undefined; +export interface IPublicKey { + encodedKeyValue: AsnEncodedData; + encodedParameters: AsnEncodedData; + key: AsymmetricAlgorithm; + oid: Oid; } -export class PagedResultDtoOfNameValueDto implements IPagedResultDtoOfNameValueDto { - totalCount: number; - items: NameValueDto[] | undefined; +export class QueryCondition implements IQueryCondition { + field: string | undefined; + value: string | undefined; + operator: QueryOperator; + skipValueIsNull: boolean; - constructor(data?: IPagedResultDtoOfNameValueDto) { + constructor(data?: IQueryCondition) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97299,51 +131906,51 @@ export class PagedResultDtoOfNameValueDto implements IPagedResultDtoOfNameValueD init(_data?: any) { if (_data) { - this.totalCount = _data["totalCount"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(NameValueDto.fromJS(item)); - } + this.field = _data["field"]; + this.value = _data["value"]; + this.operator = _data["operator"]; + this.skipValueIsNull = _data["skipValueIsNull"]; } } - static fromJS(data: any): PagedResultDtoOfNameValueDto { + static fromJS(data: any): QueryCondition { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfNameValueDto(); + let result = new QueryCondition(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalCount"] = this.totalCount; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["field"] = this.field; + data["value"] = this.value; + data["operator"] = this.operator; + data["skipValueIsNull"] = this.skipValueIsNull; return data; } - clone(): PagedResultDtoOfNameValueDto { + clone(): QueryCondition { const json = this.toJSON(); - let result = new PagedResultDtoOfNameValueDto(); + let result = new QueryCondition(); result.init(json); return result; } } -export interface IPagedResultDtoOfNameValueDto { - totalCount: number; - items: NameValueDto[] | undefined; +export interface IQueryCondition { + field: string | undefined; + value: string | undefined; + operator: QueryOperator; + skipValueIsNull: boolean; } -export class PagedResultDtoOfOrganizationUnitRoleListDto implements IPagedResultDtoOfOrganizationUnitRoleListDto { - totalCount: number; - items: OrganizationUnitRoleListDto[] | undefined; +export class QueryInput implements IQueryInput { + queryConditions: QueryCondition[] | undefined; + sortConditions: SortCondition[] | undefined; + maxResultCount: number; + skipCount: number; - constructor(data?: IPagedResultDtoOfOrganizationUnitRoleListDto) { + constructor(data?: IQueryInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97354,51 +131961,83 @@ export class PagedResultDtoOfOrganizationUnitRoleListDto implements IPagedResult init(_data?: any) { if (_data) { - this.totalCount = _data["totalCount"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(OrganizationUnitRoleListDto.fromJS(item)); + if (Array.isArray(_data["queryConditions"])) { + this.queryConditions = [] as any; + for (let item of _data["queryConditions"]) + this.queryConditions.push(QueryCondition.fromJS(item)); + } + if (Array.isArray(_data["sortConditions"])) { + this.sortConditions = [] as any; + for (let item of _data["sortConditions"]) + this.sortConditions.push(SortCondition.fromJS(item)); } + this.maxResultCount = _data["maxResultCount"]; + this.skipCount = _data["skipCount"]; } } - static fromJS(data: any): PagedResultDtoOfOrganizationUnitRoleListDto { + static fromJS(data: any): QueryInput { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfOrganizationUnitRoleListDto(); + let result = new QueryInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalCount"] = this.totalCount; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); + if (Array.isArray(this.queryConditions)) { + data["queryConditions"] = []; + for (let item of this.queryConditions) + data["queryConditions"].push(item.toJSON()); + } + if (Array.isArray(this.sortConditions)) { + data["sortConditions"] = []; + for (let item of this.sortConditions) + data["sortConditions"].push(item.toJSON()); } + data["maxResultCount"] = this.maxResultCount; + data["skipCount"] = this.skipCount; return data; } - clone(): PagedResultDtoOfOrganizationUnitRoleListDto { + clone(): QueryInput { const json = this.toJSON(); - let result = new PagedResultDtoOfOrganizationUnitRoleListDto(); + let result = new QueryInput(); result.init(json); return result; } } -export interface IPagedResultDtoOfOrganizationUnitRoleListDto { - totalCount: number; - items: OrganizationUnitRoleListDto[] | undefined; +export interface IQueryInput { + queryConditions: QueryCondition[] | undefined; + sortConditions: SortCondition[] | undefined; + maxResultCount: number; + skipCount: number; } -export class PagedResultDtoOfOrganizationUnitUserListDto implements IPagedResultDtoOfOrganizationUnitUserListDto { - totalCount: number; - items: OrganizationUnitUserListDto[] | undefined; +export enum QueryOperator { + Equal = "Equal", + NotEqual = "NotEqual", + Greater = "Greater", + GreaterEqual = "GreaterEqual", + Less = "Less", + LessEqual = "LessEqual", + StartsWith = "StartsWith", + EndsWith = "EndsWith", + In = "In", + NotIn = "NotIn", + Contains = "Contains", + Between = "Between", + BetweenEqualStart = "BetweenEqualStart", + BetweenEqualEnd = "BetweenEqualEnd", + BetweenEqualStartAndEnd = "BetweenEqualStartAndEnd", +} - constructor(data?: IPagedResultDtoOfOrganizationUnitUserListDto) { +export class QueryString implements IQueryString { + value: string | undefined; + readonly hasValue: boolean; + + constructor(data?: IQueryString) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97409,51 +132048,44 @@ export class PagedResultDtoOfOrganizationUnitUserListDto implements IPagedResult init(_data?: any) { if (_data) { - this.totalCount = _data["totalCount"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(OrganizationUnitUserListDto.fromJS(item)); - } + this.value = _data["value"]; + (this).hasValue = _data["hasValue"]; } } - static fromJS(data: any): PagedResultDtoOfOrganizationUnitUserListDto { + static fromJS(data: any): QueryString { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfOrganizationUnitUserListDto(); + let result = new QueryString(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalCount"] = this.totalCount; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["value"] = this.value; + data["hasValue"] = this.hasValue; return data; } - clone(): PagedResultDtoOfOrganizationUnitUserListDto { + clone(): QueryString { const json = this.toJSON(); - let result = new PagedResultDtoOfOrganizationUnitUserListDto(); + let result = new QueryString(); result.init(json); return result; } } -export interface IPagedResultDtoOfOrganizationUnitUserListDto { - totalCount: number; - items: OrganizationUnitUserListDto[] | undefined; +export interface IQueryString { + value: string | undefined; + hasValue: boolean; } -export class PagedResultDtoOfRoleListDto implements IPagedResultDtoOfRoleListDto { - totalCount: number; - items: RoleListDto[] | undefined; +export class RecentTenant implements IRecentTenant { + id: string | undefined; + name: string | undefined; + creationTime: moment.Moment; - constructor(data?: IPagedResultDtoOfRoleListDto) { + constructor(data?: IRecentTenant) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97464,51 +132096,49 @@ export class PagedResultDtoOfRoleListDto implements IPagedResultDtoOfRoleListDto init(_data?: any) { if (_data) { - this.totalCount = _data["totalCount"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(RoleListDto.fromJS(item)); - } + this.id = _data["id"]; + this.name = _data["name"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; } } - static fromJS(data: any): PagedResultDtoOfRoleListDto { + static fromJS(data: any): RecentTenant { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfRoleListDto(); + let result = new RecentTenant(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalCount"] = this.totalCount; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["id"] = this.id; + data["name"] = this.name; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; return data; } - clone(): PagedResultDtoOfRoleListDto { + clone(): RecentTenant { const json = this.toJSON(); - let result = new PagedResultDtoOfRoleListDto(); + let result = new RecentTenant(); result.init(json); return result; } } -export interface IPagedResultDtoOfRoleListDto { - totalCount: number; - items: RoleListDto[] | undefined; +export interface IRecentTenant { + id: string | undefined; + name: string | undefined; + creationTime: moment.Moment; } -export class PagedResultDtoOfSysDataBaseListDto implements IPagedResultDtoOfSysDataBaseListDto { - totalCount: number; - items: SysDataBaseListDto[] | undefined; +export class RefreshTokenResult implements IRefreshTokenResult { + accessToken: string | undefined; + encryptedAccessToken: string | undefined; + expireInSeconds: number; + refreshToken: string | undefined; + refreshTokenExpireInSeconds: number; - constructor(data?: IPagedResultDtoOfSysDataBaseListDto) { + constructor(data?: IRefreshTokenResult) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97519,51 +132149,55 @@ export class PagedResultDtoOfSysDataBaseListDto implements IPagedResultDtoOfSysD init(_data?: any) { if (_data) { - this.totalCount = _data["totalCount"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(SysDataBaseListDto.fromJS(item)); - } + this.accessToken = _data["accessToken"]; + this.encryptedAccessToken = _data["encryptedAccessToken"]; + this.expireInSeconds = _data["expireInSeconds"]; + this.refreshToken = _data["refreshToken"]; + this.refreshTokenExpireInSeconds = _data["refreshTokenExpireInSeconds"]; } } - static fromJS(data: any): PagedResultDtoOfSysDataBaseListDto { + static fromJS(data: any): RefreshTokenResult { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfSysDataBaseListDto(); + let result = new RefreshTokenResult(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalCount"] = this.totalCount; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["accessToken"] = this.accessToken; + data["encryptedAccessToken"] = this.encryptedAccessToken; + data["expireInSeconds"] = this.expireInSeconds; + data["refreshToken"] = this.refreshToken; + data["refreshTokenExpireInSeconds"] = this.refreshTokenExpireInSeconds; return data; } - clone(): PagedResultDtoOfSysDataBaseListDto { + clone(): RefreshTokenResult { const json = this.toJSON(); - let result = new PagedResultDtoOfSysDataBaseListDto(); + let result = new RefreshTokenResult(); result.init(json); return result; } } -export interface IPagedResultDtoOfSysDataBaseListDto { - totalCount: number; - items: SysDataBaseListDto[] | undefined; +export interface IRefreshTokenResult { + accessToken: string | undefined; + encryptedAccessToken: string | undefined; + expireInSeconds: number; + refreshToken: string | undefined; + refreshTokenExpireInSeconds: number; } -export class PagedResultDtoOfSysEnumKeyListDto implements IPagedResultDtoOfSysEnumKeyListDto { - totalCount: number; - items: SysEnumKeyListDto[] | undefined; +export class RegionalStatCountry implements IRegionalStatCountry { + countryName: string | undefined; + sales: number; + change: number[] | undefined; + averagePrice: number; + totalPrice: number; - constructor(data?: IPagedResultDtoOfSysEnumKeyListDto) { + constructor(data?: IRegionalStatCountry) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97574,51 +132208,64 @@ export class PagedResultDtoOfSysEnumKeyListDto implements IPagedResultDtoOfSysEn init(_data?: any) { if (_data) { - this.totalCount = _data["totalCount"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(SysEnumKeyListDto.fromJS(item)); + this.countryName = _data["countryName"]; + this.sales = _data["sales"]; + if (Array.isArray(_data["change"])) { + this.change = [] as any; + for (let item of _data["change"]) + this.change.push(item); } + this.averagePrice = _data["averagePrice"]; + this.totalPrice = _data["totalPrice"]; } } - static fromJS(data: any): PagedResultDtoOfSysEnumKeyListDto { + static fromJS(data: any): RegionalStatCountry { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfSysEnumKeyListDto(); + let result = new RegionalStatCountry(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalCount"] = this.totalCount; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); + data["countryName"] = this.countryName; + data["sales"] = this.sales; + if (Array.isArray(this.change)) { + data["change"] = []; + for (let item of this.change) + data["change"].push(item); } + data["averagePrice"] = this.averagePrice; + data["totalPrice"] = this.totalPrice; return data; } - clone(): PagedResultDtoOfSysEnumKeyListDto { + clone(): RegionalStatCountry { const json = this.toJSON(); - let result = new PagedResultDtoOfSysEnumKeyListDto(); + let result = new RegionalStatCountry(); result.init(json); return result; } } -export interface IPagedResultDtoOfSysEnumKeyListDto { - totalCount: number; - items: SysEnumKeyListDto[] | undefined; +export interface IRegionalStatCountry { + countryName: string | undefined; + sales: number; + change: number[] | undefined; + averagePrice: number; + totalPrice: number; } -export class PagedResultDtoOfSysFileListDto implements IPagedResultDtoOfSysFileListDto { - totalCount: number; - items: SysFileListDto[] | undefined; +export class RegisterInput implements IRegisterInput { + userName: string; + emailAddress: string | undefined; + password: string; + authProvider: string | undefined; + providerKey: string | undefined; + verificationCode: string | undefined; - constructor(data?: IPagedResultDtoOfSysFileListDto) { + constructor(data?: IRegisterInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97629,51 +132276,54 @@ export class PagedResultDtoOfSysFileListDto implements IPagedResultDtoOfSysFileL init(_data?: any) { if (_data) { - this.totalCount = _data["totalCount"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(SysFileListDto.fromJS(item)); - } + this.userName = _data["userName"]; + this.emailAddress = _data["emailAddress"]; + this.password = _data["password"]; + this.authProvider = _data["authProvider"]; + this.providerKey = _data["providerKey"]; + this.verificationCode = _data["verificationCode"]; } } - static fromJS(data: any): PagedResultDtoOfSysFileListDto { + static fromJS(data: any): RegisterInput { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfSysFileListDto(); + let result = new RegisterInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalCount"] = this.totalCount; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["userName"] = this.userName; + data["emailAddress"] = this.emailAddress; + data["password"] = this.password; + data["authProvider"] = this.authProvider; + data["providerKey"] = this.providerKey; + data["verificationCode"] = this.verificationCode; return data; } - clone(): PagedResultDtoOfSysFileListDto { + clone(): RegisterInput { const json = this.toJSON(); - let result = new PagedResultDtoOfSysFileListDto(); + let result = new RegisterInput(); result.init(json); return result; } } -export interface IPagedResultDtoOfSysFileListDto { - totalCount: number; - items: SysFileListDto[] | undefined; +export interface IRegisterInput { + userName: string; + emailAddress: string | undefined; + password: string; + authProvider: string | undefined; + providerKey: string | undefined; + verificationCode: string | undefined; } -export class PagedResultDtoOfTenantListDto implements IPagedResultDtoOfTenantListDto { - totalCount: number; - items: TenantListDto[] | undefined; +export class RegisterOutput implements IRegisterOutput { + canLogin: boolean; - constructor(data?: IPagedResultDtoOfTenantListDto) { + constructor(data?: IRegisterOutput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97684,51 +132334,41 @@ export class PagedResultDtoOfTenantListDto implements IPagedResultDtoOfTenantLis init(_data?: any) { if (_data) { - this.totalCount = _data["totalCount"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(TenantListDto.fromJS(item)); - } + this.canLogin = _data["canLogin"]; } } - static fromJS(data: any): PagedResultDtoOfTenantListDto { + static fromJS(data: any): RegisterOutput { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfTenantListDto(); + let result = new RegisterOutput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalCount"] = this.totalCount; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["canLogin"] = this.canLogin; return data; } - clone(): PagedResultDtoOfTenantListDto { + clone(): RegisterOutput { const json = this.toJSON(); - let result = new PagedResultDtoOfTenantListDto(); + let result = new RegisterOutput(); result.init(json); return result; } } -export interface IPagedResultDtoOfTenantListDto { - totalCount: number; - items: TenantListDto[] | undefined; +export interface IRegisterOutput { + canLogin: boolean; } -export class PagedResultDtoOfUserListDto implements IPagedResultDtoOfUserListDto { - totalCount: number; - items: UserListDto[] | undefined; +export class RegisterTenantResultDto implements IRegisterTenantResultDto { + tenantId: string | undefined; + isActive: boolean; + useCaptchaOnUserLogin: boolean; - constructor(data?: IPagedResultDtoOfUserListDto) { + constructor(data?: IRegisterTenantResultDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97739,51 +132379,56 @@ export class PagedResultDtoOfUserListDto implements IPagedResultDtoOfUserListDto init(_data?: any) { if (_data) { - this.totalCount = _data["totalCount"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(UserListDto.fromJS(item)); - } + this.tenantId = _data["tenantId"]; + this.isActive = _data["isActive"]; + this.useCaptchaOnUserLogin = _data["useCaptchaOnUserLogin"]; } } - static fromJS(data: any): PagedResultDtoOfUserListDto { + static fromJS(data: any): RegisterTenantResultDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfUserListDto(); + let result = new RegisterTenantResultDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalCount"] = this.totalCount; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["tenantId"] = this.tenantId; + data["isActive"] = this.isActive; + data["useCaptchaOnUserLogin"] = this.useCaptchaOnUserLogin; return data; } - clone(): PagedResultDtoOfUserListDto { + clone(): RegisterTenantResultDto { const json = this.toJSON(); - let result = new PagedResultDtoOfUserListDto(); + let result = new RegisterTenantResultDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfUserListDto { - totalCount: number; - items: UserListDto[] | undefined; +export interface IRegisterTenantResultDto { + tenantId: string | undefined; + isActive: boolean; + useCaptchaOnUserLogin: boolean; } -export class PagedResultDtoOfWechatAppConfigListDto implements IPagedResultDtoOfWechatAppConfigListDto { - totalCount: number; - items: WechatAppConfigListDto[] | undefined; +export class ResImportDto implements IResImportDto { + resCode: string; + resName: string; + resDesc: string | undefined; + resGroup: string | undefined; + resTypeName: string; + segName: string | undefined; + ssName: string | undefined; + mcName: string | undefined; + shiftTypeName: string | undefined; + dctName: string | undefined; + crewName: string; + eqpName: string | undefined; - constructor(data?: IPagedResultDtoOfWechatAppConfigListDto) { + constructor(data?: IResImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97794,54 +132439,78 @@ export class PagedResultDtoOfWechatAppConfigListDto implements IPagedResultDtoOf init(_data?: any) { if (_data) { - this.totalCount = _data["totalCount"]; - if (Array.isArray(_data["items"])) { - this.items = [] as any; - for (let item of _data["items"]) - this.items.push(WechatAppConfigListDto.fromJS(item)); - } + this.resCode = _data["resCode"]; + this.resName = _data["resName"]; + this.resDesc = _data["resDesc"]; + this.resGroup = _data["resGroup"]; + this.resTypeName = _data["resTypeName"]; + this.segName = _data["segName"]; + this.ssName = _data["ssName"]; + this.mcName = _data["mcName"]; + this.shiftTypeName = _data["shiftTypeName"]; + this.dctName = _data["dctName"]; + this.crewName = _data["crewName"]; + this.eqpName = _data["eqpName"]; } } - static fromJS(data: any): PagedResultDtoOfWechatAppConfigListDto { + static fromJS(data: any): ResImportDto { data = typeof data === 'object' ? data : {}; - let result = new PagedResultDtoOfWechatAppConfigListDto(); + let result = new ResImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["totalCount"] = this.totalCount; - if (Array.isArray(this.items)) { - data["items"] = []; - for (let item of this.items) - data["items"].push(item.toJSON()); - } + data["resCode"] = this.resCode; + data["resName"] = this.resName; + data["resDesc"] = this.resDesc; + data["resGroup"] = this.resGroup; + data["resTypeName"] = this.resTypeName; + data["segName"] = this.segName; + data["ssName"] = this.ssName; + data["mcName"] = this.mcName; + data["shiftTypeName"] = this.shiftTypeName; + data["dctName"] = this.dctName; + data["crewName"] = this.crewName; + data["eqpName"] = this.eqpName; return data; } - clone(): PagedResultDtoOfWechatAppConfigListDto { + clone(): ResImportDto { const json = this.toJSON(); - let result = new PagedResultDtoOfWechatAppConfigListDto(); + let result = new ResImportDto(); result.init(json); return result; } } -export interface IPagedResultDtoOfWechatAppConfigListDto { - totalCount: number; - items: WechatAppConfigListDto[] | undefined; +export interface IResImportDto { + resCode: string; + resName: string; + resDesc: string | undefined; + resGroup: string | undefined; + resTypeName: string; + segName: string | undefined; + ssName: string | undefined; + mcName: string | undefined; + shiftTypeName: string | undefined; + dctName: string | undefined; + crewName: string; + eqpName: string | undefined; } -export class PasswordComplexitySetting implements IPasswordComplexitySetting { - requireDigit: boolean; - requireLowercase: boolean; - requireNonAlphanumeric: boolean; - requireUppercase: boolean; - requiredLength: number; +export class ResetPasswordInput implements IResetPasswordInput { + returnUrl: string | undefined; + singleSignIn: string | undefined; + newPassword: string; + confirmPassword: string; + code: string | undefined; + resetCode: string; + error: string | undefined; - constructor(data?: IPasswordComplexitySetting) { + constructor(data?: IResetPasswordInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97852,53 +132521,58 @@ export class PasswordComplexitySetting implements IPasswordComplexitySetting { init(_data?: any) { if (_data) { - this.requireDigit = _data["requireDigit"]; - this.requireLowercase = _data["requireLowercase"]; - this.requireNonAlphanumeric = _data["requireNonAlphanumeric"]; - this.requireUppercase = _data["requireUppercase"]; - this.requiredLength = _data["requiredLength"]; + this.returnUrl = _data["returnUrl"]; + this.singleSignIn = _data["singleSignIn"]; + this.newPassword = _data["newPassword"]; + this.confirmPassword = _data["confirmPassword"]; + this.code = _data["code"]; + this.resetCode = _data["resetCode"]; + this.error = _data["error"]; } } - static fromJS(data: any): PasswordComplexitySetting { + static fromJS(data: any): ResetPasswordInput { data = typeof data === 'object' ? data : {}; - let result = new PasswordComplexitySetting(); + let result = new ResetPasswordInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["requireDigit"] = this.requireDigit; - data["requireLowercase"] = this.requireLowercase; - data["requireNonAlphanumeric"] = this.requireNonAlphanumeric; - data["requireUppercase"] = this.requireUppercase; - data["requiredLength"] = this.requiredLength; + data["returnUrl"] = this.returnUrl; + data["singleSignIn"] = this.singleSignIn; + data["newPassword"] = this.newPassword; + data["confirmPassword"] = this.confirmPassword; + data["code"] = this.code; + data["resetCode"] = this.resetCode; + data["error"] = this.error; return data; } - clone(): PasswordComplexitySetting { + clone(): ResetPasswordInput { const json = this.toJSON(); - let result = new PasswordComplexitySetting(); + let result = new ResetPasswordInput(); result.init(json); return result; } } -export interface IPasswordComplexitySetting { - requireDigit: boolean; - requireLowercase: boolean; - requireNonAlphanumeric: boolean; - requireUppercase: boolean; - requiredLength: number; +export interface IResetPasswordInput { + returnUrl: string | undefined; + singleSignIn: string | undefined; + newPassword: string; + confirmPassword: string; + code: string | undefined; + resetCode: string; + error: string | undefined; } -/** 项目配置(主题等) */ -export class ProjectConfigEditDto implements IProjectConfigEditDto { - /** 主题配置 */ - projectConfig: string | undefined; +export class ResetPasswordOutput implements IResetPasswordOutput { + canLogin: boolean; + emailAddress: string | undefined; - constructor(data?: IProjectConfigEditDto) { + constructor(data?: IResetPasswordOutput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97909,44 +132583,42 @@ export class ProjectConfigEditDto implements IProjectConfigEditDto { init(_data?: any) { if (_data) { - this.projectConfig = _data["projectConfig"]; + this.canLogin = _data["canLogin"]; + this.emailAddress = _data["emailAddress"]; } } - static fromJS(data: any): ProjectConfigEditDto { + static fromJS(data: any): ResetPasswordOutput { data = typeof data === 'object' ? data : {}; - let result = new ProjectConfigEditDto(); + let result = new ResetPasswordOutput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["projectConfig"] = this.projectConfig; + data["canLogin"] = this.canLogin; + data["emailAddress"] = this.emailAddress; return data; } - clone(): ProjectConfigEditDto { + clone(): ResetPasswordOutput { const json = this.toJSON(); - let result = new ProjectConfigEditDto(); + let result = new ResetPasswordOutput(); result.init(json); return result; } } -/** 项目配置(主题等) */ -export interface IProjectConfigEditDto { - /** 主题配置 */ - projectConfig: string | undefined; +export interface IResetPasswordOutput { + canLogin: boolean; + emailAddress: string | undefined; } -export class QueryCondition implements IQueryCondition { - field: string | undefined; - value: string | undefined; - operator: QueryOperator; - skipValueIsNull: boolean; +export class ResolveTenantIdInput implements IResolveTenantIdInput { + c: string | undefined; - constructor(data?: IQueryCondition) { + constructor(data?: IResolveTenantIdInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -97957,51 +132629,41 @@ export class QueryCondition implements IQueryCondition { init(_data?: any) { if (_data) { - this.field = _data["field"]; - this.value = _data["value"]; - this.operator = _data["operator"]; - this.skipValueIsNull = _data["skipValueIsNull"]; + this.c = _data["c"]; } } - static fromJS(data: any): QueryCondition { + static fromJS(data: any): ResolveTenantIdInput { data = typeof data === 'object' ? data : {}; - let result = new QueryCondition(); + let result = new ResolveTenantIdInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["field"] = this.field; - data["value"] = this.value; - data["operator"] = this.operator; - data["skipValueIsNull"] = this.skipValueIsNull; + data["c"] = this.c; return data; } - clone(): QueryCondition { + clone(): ResolveTenantIdInput { const json = this.toJSON(); - let result = new QueryCondition(); + let result = new ResolveTenantIdInput(); result.init(json); return result; } } -export interface IQueryCondition { - field: string | undefined; - value: string | undefined; - operator: QueryOperator; - skipValueIsNull: boolean; +export interface IResolveTenantIdInput { + c: string | undefined; } -export class QueryInput implements IQueryInput { - queryConditions: QueryCondition[] | undefined; - sortConditions: SortCondition[] | undefined; - maxResultCount: number; - skipCount: number; +export class RoleEditDto implements IRoleEditDto { + id: string | undefined; + displayName: string; + isDefault: boolean; - constructor(data?: IQueryInput) { + constructor(data?: IRoleEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -98012,88 +132674,50 @@ export class QueryInput implements IQueryInput { init(_data?: any) { if (_data) { - if (Array.isArray(_data["queryConditions"])) { - this.queryConditions = [] as any; - for (let item of _data["queryConditions"]) - this.queryConditions.push(QueryCondition.fromJS(item)); - } - if (Array.isArray(_data["sortConditions"])) { - this.sortConditions = [] as any; - for (let item of _data["sortConditions"]) - this.sortConditions.push(SortCondition.fromJS(item)); - } - this.maxResultCount = _data["maxResultCount"]; - this.skipCount = _data["skipCount"]; + this.id = _data["id"]; + this.displayName = _data["displayName"]; + this.isDefault = _data["isDefault"]; } } - static fromJS(data: any): QueryInput { + static fromJS(data: any): RoleEditDto { data = typeof data === 'object' ? data : {}; - let result = new QueryInput(); + let result = new RoleEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.queryConditions)) { - data["queryConditions"] = []; - for (let item of this.queryConditions) - data["queryConditions"].push(item.toJSON()); - } - if (Array.isArray(this.sortConditions)) { - data["sortConditions"] = []; - for (let item of this.sortConditions) - data["sortConditions"].push(item.toJSON()); - } - data["maxResultCount"] = this.maxResultCount; - data["skipCount"] = this.skipCount; + data["id"] = this.id; + data["displayName"] = this.displayName; + data["isDefault"] = this.isDefault; return data; } - clone(): QueryInput { + clone(): RoleEditDto { const json = this.toJSON(); - let result = new QueryInput(); + let result = new RoleEditDto(); result.init(json); return result; } } -export interface IQueryInput { - queryConditions: QueryCondition[] | undefined; - sortConditions: SortCondition[] | undefined; - maxResultCount: number; - skipCount: number; -} - -export enum QueryOperator { - Equal = "Equal", - NotEqual = "NotEqual", - Greater = "Greater", - GreaterEqual = "GreaterEqual", - Less = "Less", - LessEqual = "LessEqual", - StartsWith = "StartsWith", - EndsWith = "EndsWith", - In = "In", - NotIn = "NotIn", - Contains = "Contains", - Between = "Between", - BetweenEqualStart = "BetweenEqualStart", - BetweenEqualEnd = "BetweenEqualEnd", - BetweenEqualStartAndEnd = "BetweenEqualStartAndEnd", +export interface IRoleEditDto { + id: string | undefined; + displayName: string; + isDefault: boolean; } -/** 近期租户 */ -export class RecentTenant implements IRecentTenant { - /** 编号 */ - id: string | undefined; - /** 名称 */ +export class RoleListDto implements IRoleListDto { name: string | undefined; - /** 创建时间 */ + displayName: string | undefined; + isStatic: boolean; + isDefault: boolean; creationTime: moment.Moment; + id: string | undefined; - constructor(data?: IRecentTenant) { + constructor(data?: IRoleListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -98104,59 +132728,55 @@ export class RecentTenant implements IRecentTenant { init(_data?: any) { if (_data) { - this.id = _data["id"]; this.name = _data["name"]; + this.displayName = _data["displayName"]; + this.isStatic = _data["isStatic"]; + this.isDefault = _data["isDefault"]; this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.id = _data["id"]; } } - static fromJS(data: any): RecentTenant { + static fromJS(data: any): RoleListDto { data = typeof data === 'object' ? data : {}; - let result = new RecentTenant(); + let result = new RoleListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; data["name"] = this.name; + data["displayName"] = this.displayName; + data["isStatic"] = this.isStatic; + data["isDefault"] = this.isDefault; data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["id"] = this.id; return data; } - clone(): RecentTenant { + clone(): RoleListDto { const json = this.toJSON(); - let result = new RecentTenant(); + let result = new RoleListDto(); result.init(json); return result; } } -/** 近期租户 */ -export interface IRecentTenant { - /** 编号 */ - id: string | undefined; - /** 名称 */ +export interface IRoleListDto { name: string | undefined; - /** 创建时间 */ + displayName: string | undefined; + isStatic: boolean; + isDefault: boolean; creationTime: moment.Moment; + id: string | undefined; } -/** 刷新Token */ -export class RefreshTokenResult implements IRefreshTokenResult { - /** 访问令牌 */ - accessToken: string | undefined; - /** 加密的访问令牌 */ - encryptedAccessToken: string | undefined; - /** 过期时间(秒) */ - expireInSeconds: number; - /** 刷新令牌 */ - refreshToken: string | undefined; - /** 刷新令牌过期时间(秒) */ - refreshTokenExpireInSeconds: number; +export class RoleToOrganizationUnitInput implements IRoleToOrganizationUnitInput { + roleId: string | undefined; + organizationUnitId: string | undefined; - constructor(data?: IRefreshTokenResult) { + constructor(data?: IRoleToOrganizationUnitInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -98167,67 +132787,43 @@ export class RefreshTokenResult implements IRefreshTokenResult { init(_data?: any) { if (_data) { - this.accessToken = _data["accessToken"]; - this.encryptedAccessToken = _data["encryptedAccessToken"]; - this.expireInSeconds = _data["expireInSeconds"]; - this.refreshToken = _data["refreshToken"]; - this.refreshTokenExpireInSeconds = _data["refreshTokenExpireInSeconds"]; + this.roleId = _data["roleId"]; + this.organizationUnitId = _data["organizationUnitId"]; } } - static fromJS(data: any): RefreshTokenResult { + static fromJS(data: any): RoleToOrganizationUnitInput { data = typeof data === 'object' ? data : {}; - let result = new RefreshTokenResult(); + let result = new RoleToOrganizationUnitInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["accessToken"] = this.accessToken; - data["encryptedAccessToken"] = this.encryptedAccessToken; - data["expireInSeconds"] = this.expireInSeconds; - data["refreshToken"] = this.refreshToken; - data["refreshTokenExpireInSeconds"] = this.refreshTokenExpireInSeconds; + data["roleId"] = this.roleId; + data["organizationUnitId"] = this.organizationUnitId; return data; } - clone(): RefreshTokenResult { + clone(): RoleToOrganizationUnitInput { const json = this.toJSON(); - let result = new RefreshTokenResult(); + let result = new RoleToOrganizationUnitInput(); result.init(json); return result; } } -/** 刷新Token */ -export interface IRefreshTokenResult { - /** 访问令牌 */ - accessToken: string | undefined; - /** 加密的访问令牌 */ - encryptedAccessToken: string | undefined; - /** 过期时间(秒) */ - expireInSeconds: number; - /** 刷新令牌 */ - refreshToken: string | undefined; - /** 刷新令牌过期时间(秒) */ - refreshTokenExpireInSeconds: number; +export interface IRoleToOrganizationUnitInput { + roleId: string | undefined; + organizationUnitId: string | undefined; } -/** 地区统计国家 */ -export class RegionalStatCountry implements IRegionalStatCountry { - /** 国家名称 */ - countryName: string | undefined; - /** 销售额 */ - sales: number; - /** 变化 */ - change: number[] | undefined; - /** 均价 */ - averagePrice: number; - /** 总价 */ - totalPrice: number; +export class RolesToOrganizationUnitInput implements IRolesToOrganizationUnitInput { + roleIds: string[] | undefined; + organizationUnitId: string | undefined; - constructor(data?: IRegionalStatCountry) { + constructor(data?: IRolesToOrganizationUnitInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -98238,77 +132834,56 @@ export class RegionalStatCountry implements IRegionalStatCountry { init(_data?: any) { if (_data) { - this.countryName = _data["countryName"]; - this.sales = _data["sales"]; - if (Array.isArray(_data["change"])) { - this.change = [] as any; - for (let item of _data["change"]) - this.change.push(item); + if (Array.isArray(_data["roleIds"])) { + this.roleIds = [] as any; + for (let item of _data["roleIds"]) + this.roleIds.push(item); } - this.averagePrice = _data["averagePrice"]; - this.totalPrice = _data["totalPrice"]; + this.organizationUnitId = _data["organizationUnitId"]; } } - static fromJS(data: any): RegionalStatCountry { + static fromJS(data: any): RolesToOrganizationUnitInput { data = typeof data === 'object' ? data : {}; - let result = new RegionalStatCountry(); + let result = new RolesToOrganizationUnitInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["countryName"] = this.countryName; - data["sales"] = this.sales; - if (Array.isArray(this.change)) { - data["change"] = []; - for (let item of this.change) - data["change"].push(item); + if (Array.isArray(this.roleIds)) { + data["roleIds"] = []; + for (let item of this.roleIds) + data["roleIds"].push(item); } - data["averagePrice"] = this.averagePrice; - data["totalPrice"] = this.totalPrice; + data["organizationUnitId"] = this.organizationUnitId; return data; } - clone(): RegionalStatCountry { + clone(): RolesToOrganizationUnitInput { const json = this.toJSON(); - let result = new RegionalStatCountry(); + let result = new RolesToOrganizationUnitInput(); result.init(json); return result; } } -/** 地区统计国家 */ -export interface IRegionalStatCountry { - /** 国家名称 */ - countryName: string | undefined; - /** 销售额 */ - sales: number; - /** 变化 */ - change: number[] | undefined; - /** 均价 */ - averagePrice: number; - /** 总价 */ - totalPrice: number; +export interface IRolesToOrganizationUnitInput { + roleIds: string[] | undefined; + organizationUnitId: string | undefined; } -/** 注册输入 */ -export class RegisterInput implements IRegisterInput { - /** 用户名 */ - userName: string; - /** 邮箱 */ - emailAddress: string | undefined; - /** 密码 */ - password: string; - /** 许可证 */ - authProvider: string | undefined; - /** 密钥 */ - providerKey: string | undefined; - /** 验证码 */ - verificationCode: string | undefined; +export class SSImportDto implements ISSImportDto { + ssCode: string; + ssName: string; + ssDesc: string | undefined; + segName: string; + ssType: string | undefined; + shiftTypeName: string | undefined; + memo: string | undefined; - constructor(data?: IRegisterInput) { + constructor(data?: ISSImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -98319,63 +132894,58 @@ export class RegisterInput implements IRegisterInput { init(_data?: any) { if (_data) { - this.userName = _data["userName"]; - this.emailAddress = _data["emailAddress"]; - this.password = _data["password"]; - this.authProvider = _data["authProvider"]; - this.providerKey = _data["providerKey"]; - this.verificationCode = _data["verificationCode"]; + this.ssCode = _data["ssCode"]; + this.ssName = _data["ssName"]; + this.ssDesc = _data["ssDesc"]; + this.segName = _data["segName"]; + this.ssType = _data["ssType"]; + this.shiftTypeName = _data["shiftTypeName"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): RegisterInput { + static fromJS(data: any): SSImportDto { data = typeof data === 'object' ? data : {}; - let result = new RegisterInput(); + let result = new SSImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["userName"] = this.userName; - data["emailAddress"] = this.emailAddress; - data["password"] = this.password; - data["authProvider"] = this.authProvider; - data["providerKey"] = this.providerKey; - data["verificationCode"] = this.verificationCode; + data["ssCode"] = this.ssCode; + data["ssName"] = this.ssName; + data["ssDesc"] = this.ssDesc; + data["segName"] = this.segName; + data["ssType"] = this.ssType; + data["shiftTypeName"] = this.shiftTypeName; + data["memo"] = this.memo; return data; } - clone(): RegisterInput { + clone(): SSImportDto { const json = this.toJSON(); - let result = new RegisterInput(); + let result = new SSImportDto(); result.init(json); return result; } } -/** 注册输入 */ -export interface IRegisterInput { - /** 用户名 */ - userName: string; - /** 邮箱 */ - emailAddress: string | undefined; - /** 密码 */ - password: string; - /** 许可证 */ - authProvider: string | undefined; - /** 密钥 */ - providerKey: string | undefined; - /** 验证码 */ - verificationCode: string | undefined; +export interface ISSImportDto { + ssCode: string; + ssName: string; + ssDesc: string | undefined; + segName: string; + ssType: string | undefined; + shiftTypeName: string | undefined; + memo: string | undefined; } -/** 注册结果返回 */ -export class RegisterOutput implements IRegisterOutput { - /** 登录 */ - canLogin: boolean; +export class SafeWaitHandle implements ISafeWaitHandle { + readonly isInvalid: boolean; + readonly isClosed: boolean; - constructor(data?: IRegisterOutput) { + constructor(data?: ISafeWaitHandle) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -98386,47 +132956,53 @@ export class RegisterOutput implements IRegisterOutput { init(_data?: any) { if (_data) { - this.canLogin = _data["canLogin"]; + (this).isInvalid = _data["isInvalid"]; + (this).isClosed = _data["isClosed"]; } } - static fromJS(data: any): RegisterOutput { + static fromJS(data: any): SafeWaitHandle { data = typeof data === 'object' ? data : {}; - let result = new RegisterOutput(); + let result = new SafeWaitHandle(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["canLogin"] = this.canLogin; + data["isInvalid"] = this.isInvalid; + data["isClosed"] = this.isClosed; return data; } - clone(): RegisterOutput { + clone(): SafeWaitHandle { const json = this.toJSON(); - let result = new RegisterOutput(); + let result = new SafeWaitHandle(); result.init(json); return result; } } -/** 注册结果返回 */ -export interface IRegisterOutput { - /** 登录 */ - canLogin: boolean; +export interface ISafeWaitHandle { + isInvalid: boolean; + isClosed: boolean; } -/** 注册租户结果 */ -export class RegisterTenantResultDto implements IRegisterTenantResultDto { - /** 租户Id */ - tenantId: string | undefined; - /** 租户是否激活 */ - isActive: boolean; - /** 租户启用了用户登陆验证码 */ - useCaptchaOnUserLogin: boolean; +export class SalaryDetailDto implements ISalaryDetailDto { + key: string | undefined; + id: number; + userName: string | undefined; + userCode: string | undefined; + deptCode: string | undefined; + deptName: string | undefined; + rTimeHourQty: number | undefined; + sTimeHourQty: number | undefined; + sTimePrice: number | undefined; + rTimePrice: number | undefined; + hourSum: number | undefined; + priceSum: number | undefined; - constructor(data?: IRegisterTenantResultDto) { + constructor(data?: ISalaryDetailDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -98437,72 +133013,74 @@ export class RegisterTenantResultDto implements IRegisterTenantResultDto { init(_data?: any) { if (_data) { - this.tenantId = _data["tenantId"]; - this.isActive = _data["isActive"]; - this.useCaptchaOnUserLogin = _data["useCaptchaOnUserLogin"]; + this.key = _data["key"]; + this.id = _data["id"]; + this.userName = _data["userName"]; + this.userCode = _data["userCode"]; + this.deptCode = _data["deptCode"]; + this.deptName = _data["deptName"]; + this.rTimeHourQty = _data["rTimeHourQty"]; + this.sTimeHourQty = _data["sTimeHourQty"]; + this.sTimePrice = _data["sTimePrice"]; + this.rTimePrice = _data["rTimePrice"]; + this.hourSum = _data["hourSum"]; + this.priceSum = _data["priceSum"]; } } - static fromJS(data: any): RegisterTenantResultDto { + static fromJS(data: any): SalaryDetailDto { data = typeof data === 'object' ? data : {}; - let result = new RegisterTenantResultDto(); + let result = new SalaryDetailDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["tenantId"] = this.tenantId; - data["isActive"] = this.isActive; - data["useCaptchaOnUserLogin"] = this.useCaptchaOnUserLogin; + data["key"] = this.key; + data["id"] = this.id; + data["userName"] = this.userName; + data["userCode"] = this.userCode; + data["deptCode"] = this.deptCode; + data["deptName"] = this.deptName; + data["rTimeHourQty"] = this.rTimeHourQty; + data["sTimeHourQty"] = this.sTimeHourQty; + data["sTimePrice"] = this.sTimePrice; + data["rTimePrice"] = this.rTimePrice; + data["hourSum"] = this.hourSum; + data["priceSum"] = this.priceSum; return data; } - clone(): RegisterTenantResultDto { + clone(): SalaryDetailDto { const json = this.toJSON(); - let result = new RegisterTenantResultDto(); + let result = new SalaryDetailDto(); result.init(json); return result; } } -/** 注册租户结果 */ -export interface IRegisterTenantResultDto { - /** 租户Id */ - tenantId: string | undefined; - /** 租户是否激活 */ - isActive: boolean; - /** 租户启用了用户登陆验证码 */ - useCaptchaOnUserLogin: boolean; +export interface ISalaryDetailDto { + key: string | undefined; + id: number; + userName: string | undefined; + userCode: string | undefined; + deptCode: string | undefined; + deptName: string | undefined; + rTimeHourQty: number | undefined; + sTimeHourQty: number | undefined; + sTimePrice: number | undefined; + rTimePrice: number | undefined; + hourSum: number | undefined; + priceSum: number | undefined; } -export class ResImportDto implements IResImportDto { - /** 资源代码 */ - resCode: string; - /** 资源名称 */ - resName: string; - /** 资源描述 */ - resDesc: string | undefined; - /** 资源归属 */ - resGroup: string | undefined; - /** 资源类别 */ - resTypeName: string; - /** 车间名称 */ - segName: string | undefined; - /** 产线名称 */ - ssName: string | undefined; - /** 加工单元名称 */ - mcName: string | undefined; - /** 班制名称 */ - shiftTypeName: string | undefined; - /** DCT指令 */ - dctName: string | undefined; - /** 班组名称 */ - crewName: string; - /** 设备名称 */ - eqpName: string | undefined; +export class SalesSummaryData implements ISalesSummaryData { + period: string | undefined; + sales: number; + profit: number; - constructor(data?: IResImportDto) { + constructor(data?: ISalesSummaryData) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -98513,98 +133091,52 @@ export class ResImportDto implements IResImportDto { init(_data?: any) { if (_data) { - this.resCode = _data["resCode"]; - this.resName = _data["resName"]; - this.resDesc = _data["resDesc"]; - this.resGroup = _data["resGroup"]; - this.resTypeName = _data["resTypeName"]; - this.segName = _data["segName"]; - this.ssName = _data["ssName"]; - this.mcName = _data["mcName"]; - this.shiftTypeName = _data["shiftTypeName"]; - this.dctName = _data["dctName"]; - this.crewName = _data["crewName"]; - this.eqpName = _data["eqpName"]; + this.period = _data["period"]; + this.sales = _data["sales"]; + this.profit = _data["profit"]; } } - static fromJS(data: any): ResImportDto { + static fromJS(data: any): SalesSummaryData { data = typeof data === 'object' ? data : {}; - let result = new ResImportDto(); + let result = new SalesSummaryData(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["resCode"] = this.resCode; - data["resName"] = this.resName; - data["resDesc"] = this.resDesc; - data["resGroup"] = this.resGroup; - data["resTypeName"] = this.resTypeName; - data["segName"] = this.segName; - data["ssName"] = this.ssName; - data["mcName"] = this.mcName; - data["shiftTypeName"] = this.shiftTypeName; - data["dctName"] = this.dctName; - data["crewName"] = this.crewName; - data["eqpName"] = this.eqpName; + data["period"] = this.period; + data["sales"] = this.sales; + data["profit"] = this.profit; return data; } - clone(): ResImportDto { + clone(): SalesSummaryData { const json = this.toJSON(); - let result = new ResImportDto(); + let result = new SalesSummaryData(); result.init(json); return result; } } -export interface IResImportDto { - /** 资源代码 */ - resCode: string; - /** 资源名称 */ - resName: string; - /** 资源描述 */ - resDesc: string | undefined; - /** 资源归属 */ - resGroup: string | undefined; - /** 资源类别 */ - resTypeName: string; - /** 车间名称 */ - segName: string | undefined; - /** 产线名称 */ - ssName: string | undefined; - /** 加工单元名称 */ - mcName: string | undefined; - /** 班制名称 */ - shiftTypeName: string | undefined; - /** DCT指令 */ - dctName: string | undefined; - /** 班组名称 */ - crewName: string; - /** 设备名称 */ - eqpName: string | undefined; +export interface ISalesSummaryData { + period: string | undefined; + sales: number; + profit: number; } -/** 重置密码的Dto */ -export class ResetPasswordInput implements IResetPasswordInput { - /** 回调地址 */ - returnUrl: string | undefined; - /** 单点登录 */ - singleSignIn: string | undefined; - /** 新密码 */ - newPassword: string; - /** 确认密码 */ - confirmPassword: string; - /** 验证码 */ - code: string | undefined; - /** 重置密码的code */ - resetCode: string; - /** 错误 */ - error: string | undefined; +export enum SalesSummaryDatePeriod { + Daily = "Daily", + Weekly = "Weekly", + Monthly = "Monthly", +} - constructor(data?: IResetPasswordInput) { +export class SaveListViewAsPersonalInput implements ISaveListViewAsPersonalInput { + userId: string | undefined; + listViewDto: ListViewDto; + + constructor(data?: ISaveListViewAsPersonalInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -98615,69 +133147,43 @@ export class ResetPasswordInput implements IResetPasswordInput { init(_data?: any) { if (_data) { - this.returnUrl = _data["returnUrl"]; - this.singleSignIn = _data["singleSignIn"]; - this.newPassword = _data["newPassword"]; - this.confirmPassword = _data["confirmPassword"]; - this.code = _data["code"]; - this.resetCode = _data["resetCode"]; - this.error = _data["error"]; + this.userId = _data["userId"]; + this.listViewDto = _data["listViewDto"] ? ListViewDto.fromJS(_data["listViewDto"]) : undefined; } } - static fromJS(data: any): ResetPasswordInput { + static fromJS(data: any): SaveListViewAsPersonalInput { data = typeof data === 'object' ? data : {}; - let result = new ResetPasswordInput(); + let result = new SaveListViewAsPersonalInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["returnUrl"] = this.returnUrl; - data["singleSignIn"] = this.singleSignIn; - data["newPassword"] = this.newPassword; - data["confirmPassword"] = this.confirmPassword; - data["code"] = this.code; - data["resetCode"] = this.resetCode; - data["error"] = this.error; + data["userId"] = this.userId; + data["listViewDto"] = this.listViewDto ? this.listViewDto.toJSON() : undefined; return data; } - clone(): ResetPasswordInput { + clone(): SaveListViewAsPersonalInput { const json = this.toJSON(); - let result = new ResetPasswordInput(); + let result = new SaveListViewAsPersonalInput(); result.init(json); return result; } } -/** 重置密码的Dto */ -export interface IResetPasswordInput { - /** 回调地址 */ - returnUrl: string | undefined; - /** 单点登录 */ - singleSignIn: string | undefined; - /** 新密码 */ - newPassword: string; - /** 确认密码 */ - confirmPassword: string; - /** 验证码 */ - code: string | undefined; - /** 重置密码的code */ - resetCode: string; - /** 错误 */ - error: string | undefined; +export interface ISaveListViewAsPersonalInput { + userId: string | undefined; + listViewDto: ListViewDto; } -/** 重置密码输出 */ -export class ResetPasswordOutput implements IResetPasswordOutput { - /** 登录 */ - canLogin: boolean; - /** 邮件地址 */ - emailAddress: string | undefined; +export class SavePageFilterAsPersonalInput implements ISavePageFilterAsPersonalInput { + userId: string | undefined; + pageFilterDto: PageFilterDto; - constructor(data?: IResetPasswordOutput) { + constructor(data?: ISavePageFilterAsPersonalInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -98688,47 +133194,51 @@ export class ResetPasswordOutput implements IResetPasswordOutput { init(_data?: any) { if (_data) { - this.canLogin = _data["canLogin"]; - this.emailAddress = _data["emailAddress"]; + this.userId = _data["userId"]; + this.pageFilterDto = _data["pageFilterDto"] ? PageFilterDto.fromJS(_data["pageFilterDto"]) : undefined; } } - static fromJS(data: any): ResetPasswordOutput { + static fromJS(data: any): SavePageFilterAsPersonalInput { data = typeof data === 'object' ? data : {}; - let result = new ResetPasswordOutput(); + let result = new SavePageFilterAsPersonalInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["canLogin"] = this.canLogin; - data["emailAddress"] = this.emailAddress; + data["userId"] = this.userId; + data["pageFilterDto"] = this.pageFilterDto ? this.pageFilterDto.toJSON() : undefined; return data; } - clone(): ResetPasswordOutput { + clone(): SavePageFilterAsPersonalInput { const json = this.toJSON(); - let result = new ResetPasswordOutput(); + let result = new SavePageFilterAsPersonalInput(); result.init(json); return result; } } -/** 重置密码输出 */ -export interface IResetPasswordOutput { - /** 登录 */ - canLogin: boolean; - /** 邮件地址 */ - emailAddress: string | undefined; +export interface ISavePageFilterAsPersonalInput { + userId: string | undefined; + pageFilterDto: PageFilterDto; } -/** 解析租户Id输入 */ -export class ResolveTenantIdInput implements IResolveTenantIdInput { - /** 包含tenantId={value}字符串的加密文本 */ - c: string | undefined; +export class SecuritySettingsEditDto implements ISecuritySettingsEditDto { + useDefaultPasswordComplexitySettings: boolean; + passwordComplexity: PasswordComplexitySetting; + defaultPasswordComplexity: PasswordComplexitySetting; + userLockOut: UserLockOutSettingsEditDto; + twoFactorLogin: TwoFactorLoginSettingsEditDto; + previewMode: boolean; + updatePasswordForceEditDto: UpdatePasswordForceEditDto; + loginExpiryTime: number; + isReturnExceptionInfo: boolean; + auditReservedSize: number; - constructor(data?: IResolveTenantIdInput) { + constructor(data?: ISecuritySettingsEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -98739,47 +133249,71 @@ export class ResolveTenantIdInput implements IResolveTenantIdInput { init(_data?: any) { if (_data) { - this.c = _data["c"]; + this.useDefaultPasswordComplexitySettings = _data["useDefaultPasswordComplexitySettings"]; + this.passwordComplexity = _data["passwordComplexity"] ? PasswordComplexitySetting.fromJS(_data["passwordComplexity"]) : undefined; + this.defaultPasswordComplexity = _data["defaultPasswordComplexity"] ? PasswordComplexitySetting.fromJS(_data["defaultPasswordComplexity"]) : undefined; + this.userLockOut = _data["userLockOut"] ? UserLockOutSettingsEditDto.fromJS(_data["userLockOut"]) : undefined; + this.twoFactorLogin = _data["twoFactorLogin"] ? TwoFactorLoginSettingsEditDto.fromJS(_data["twoFactorLogin"]) : undefined; + this.previewMode = _data["previewMode"]; + this.updatePasswordForceEditDto = _data["updatePasswordForceEditDto"] ? UpdatePasswordForceEditDto.fromJS(_data["updatePasswordForceEditDto"]) : undefined; + this.loginExpiryTime = _data["loginExpiryTime"]; + this.isReturnExceptionInfo = _data["isReturnExceptionInfo"]; + this.auditReservedSize = _data["auditReservedSize"]; } } - static fromJS(data: any): ResolveTenantIdInput { + static fromJS(data: any): SecuritySettingsEditDto { data = typeof data === 'object' ? data : {}; - let result = new ResolveTenantIdInput(); + let result = new SecuritySettingsEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["c"] = this.c; + data["useDefaultPasswordComplexitySettings"] = this.useDefaultPasswordComplexitySettings; + data["passwordComplexity"] = this.passwordComplexity ? this.passwordComplexity.toJSON() : undefined; + data["defaultPasswordComplexity"] = this.defaultPasswordComplexity ? this.defaultPasswordComplexity.toJSON() : undefined; + data["userLockOut"] = this.userLockOut ? this.userLockOut.toJSON() : undefined; + data["twoFactorLogin"] = this.twoFactorLogin ? this.twoFactorLogin.toJSON() : undefined; + data["previewMode"] = this.previewMode; + data["updatePasswordForceEditDto"] = this.updatePasswordForceEditDto ? this.updatePasswordForceEditDto.toJSON() : undefined; + data["loginExpiryTime"] = this.loginExpiryTime; + data["isReturnExceptionInfo"] = this.isReturnExceptionInfo; + data["auditReservedSize"] = this.auditReservedSize; return data; } - clone(): ResolveTenantIdInput { + clone(): SecuritySettingsEditDto { const json = this.toJSON(); - let result = new ResolveTenantIdInput(); + let result = new SecuritySettingsEditDto(); result.init(json); return result; } } -/** 解析租户Id输入 */ -export interface IResolveTenantIdInput { - /** 包含tenantId={value}字符串的加密文本 */ - c: string | undefined; +export interface ISecuritySettingsEditDto { + useDefaultPasswordComplexitySettings: boolean; + passwordComplexity: PasswordComplexitySetting; + defaultPasswordComplexity: PasswordComplexitySetting; + userLockOut: UserLockOutSettingsEditDto; + twoFactorLogin: TwoFactorLoginSettingsEditDto; + previewMode: boolean; + updatePasswordForceEditDto: UpdatePasswordForceEditDto; + loginExpiryTime: number; + isReturnExceptionInfo: boolean; + auditReservedSize: number; } -/** 角色编辑Dto */ -export class RoleEditDto implements IRoleEditDto { - /** Id */ - id: string | undefined; - /** 显示名称 */ - displayName: string; - /** 是否默认 */ - isDefault: boolean; +export class SegImportDto implements ISegImportDto { + segCode: string; + segSeq: number; + segName: string; + segDesc: string | undefined; + shiftTypeName: string; + facName: string | undefined; - constructor(data?: IRoleEditDto) { + constructor(data?: ISegImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -98790,60 +133324,61 @@ export class RoleEditDto implements IRoleEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.displayName = _data["displayName"]; - this.isDefault = _data["isDefault"]; + this.segCode = _data["segCode"]; + this.segSeq = _data["segSeq"]; + this.segName = _data["segName"]; + this.segDesc = _data["segDesc"]; + this.shiftTypeName = _data["shiftTypeName"]; + this.facName = _data["facName"]; } } - static fromJS(data: any): RoleEditDto { + static fromJS(data: any): SegImportDto { data = typeof data === 'object' ? data : {}; - let result = new RoleEditDto(); + let result = new SegImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["displayName"] = this.displayName; - data["isDefault"] = this.isDefault; + data["segCode"] = this.segCode; + data["segSeq"] = this.segSeq; + data["segName"] = this.segName; + data["segDesc"] = this.segDesc; + data["shiftTypeName"] = this.shiftTypeName; + data["facName"] = this.facName; return data; } - clone(): RoleEditDto { + clone(): SegImportDto { const json = this.toJSON(); - let result = new RoleEditDto(); + let result = new SegImportDto(); result.init(json); return result; } } -/** 角色编辑Dto */ -export interface IRoleEditDto { - /** Id */ - id: string | undefined; - /** 显示名称 */ - displayName: string; - /** 是否默认 */ - isDefault: boolean; +export interface ISegImportDto { + segCode: string; + segSeq: number; + segName: string; + segDesc: string | undefined; + shiftTypeName: string; + facName: string | undefined; } -/** 角色列表Dto */ -export class RoleListDto implements IRoleListDto { - /** 名称 */ - name: string | undefined; - /** 显示名称 */ - displayName: string | undefined; - /** 是否系统内置 */ - isStatic: boolean; - /** 是否默认 */ - isDefault: boolean; - /** 创建时间 */ - creationTime: moment.Moment; - id: string | undefined; +export class SelectItemExt implements ISelectItemExt { + key: string | undefined; + id: any | undefined; + label: string | undefined; + disabled: boolean; + group: SelectListGroup; + selected: boolean; + text: string | undefined; + value: string | undefined; - constructor(data?: IRoleListDto) { + constructor(data?: ISelectItemExt) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -98854,64 +133389,61 @@ export class RoleListDto implements IRoleListDto { init(_data?: any) { if (_data) { - this.name = _data["name"]; - this.displayName = _data["displayName"]; - this.isStatic = _data["isStatic"]; - this.isDefault = _data["isDefault"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.key = _data["key"]; this.id = _data["id"]; + this.label = _data["label"]; + this.disabled = _data["disabled"]; + this.group = _data["group"] ? SelectListGroup.fromJS(_data["group"]) : undefined; + this.selected = _data["selected"]; + this.text = _data["text"]; + this.value = _data["value"]; } } - static fromJS(data: any): RoleListDto { + static fromJS(data: any): SelectItemExt { data = typeof data === 'object' ? data : {}; - let result = new RoleListDto(); + let result = new SelectItemExt(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["name"] = this.name; - data["displayName"] = this.displayName; - data["isStatic"] = this.isStatic; - data["isDefault"] = this.isDefault; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["key"] = this.key; data["id"] = this.id; + data["label"] = this.label; + data["disabled"] = this.disabled; + data["group"] = this.group ? this.group.toJSON() : undefined; + data["selected"] = this.selected; + data["text"] = this.text; + data["value"] = this.value; return data; } - clone(): RoleListDto { + clone(): SelectItemExt { const json = this.toJSON(); - let result = new RoleListDto(); + let result = new SelectItemExt(); result.init(json); return result; } } -/** 角色列表Dto */ -export interface IRoleListDto { - /** 名称 */ - name: string | undefined; - /** 显示名称 */ - displayName: string | undefined; - /** 是否系统内置 */ - isStatic: boolean; - /** 是否默认 */ - isDefault: boolean; - /** 创建时间 */ - creationTime: moment.Moment; - id: string | undefined; +export interface ISelectItemExt { + key: string | undefined; + id: any | undefined; + label: string | undefined; + disabled: boolean; + group: SelectListGroup; + selected: boolean; + text: string | undefined; + value: string | undefined; } -/** 角色添加到组织单元 */ -export class RoleToOrganizationUnitInput implements IRoleToOrganizationUnitInput { - /** 角色编号 */ - roleId: string | undefined; - /** 组织单元编号 */ - organizationUnitId: string | undefined; +export class SelectListGroup implements ISelectListGroup { + disabled: boolean; + name: string | undefined; - constructor(data?: IRoleToOrganizationUnitInput) { + constructor(data?: ISelectListGroup) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -98922,49 +133454,42 @@ export class RoleToOrganizationUnitInput implements IRoleToOrganizationUnitInput init(_data?: any) { if (_data) { - this.roleId = _data["roleId"]; - this.organizationUnitId = _data["organizationUnitId"]; + this.disabled = _data["disabled"]; + this.name = _data["name"]; } } - static fromJS(data: any): RoleToOrganizationUnitInput { + static fromJS(data: any): SelectListGroup { data = typeof data === 'object' ? data : {}; - let result = new RoleToOrganizationUnitInput(); + let result = new SelectListGroup(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["roleId"] = this.roleId; - data["organizationUnitId"] = this.organizationUnitId; + data["disabled"] = this.disabled; + data["name"] = this.name; return data; } - clone(): RoleToOrganizationUnitInput { + clone(): SelectListGroup { const json = this.toJSON(); - let result = new RoleToOrganizationUnitInput(); + let result = new SelectListGroup(); result.init(json); return result; } } -/** 角色添加到组织单元 */ -export interface IRoleToOrganizationUnitInput { - /** 角色编号 */ - roleId: string | undefined; - /** 组织单元编号 */ - organizationUnitId: string | undefined; +export interface ISelectListGroup { + disabled: boolean; + name: string | undefined; } -/** 添加角色到组织单元 */ -export class RolesToOrganizationUnitInput implements IRolesToOrganizationUnitInput { - /** 角色编号列表 */ - roleIds: string[] | undefined; - /** 组织单元Id */ - organizationUnitId: string | undefined; +export class SendEmailActivationLinkInput implements ISendEmailActivationLinkInput { + emailAddress: string; - constructor(data?: IRolesToOrganizationUnitInput) { + constructor(data?: ISendEmailActivationLinkInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -98975,64 +133500,41 @@ export class RolesToOrganizationUnitInput implements IRolesToOrganizationUnitInp init(_data?: any) { if (_data) { - if (Array.isArray(_data["roleIds"])) { - this.roleIds = [] as any; - for (let item of _data["roleIds"]) - this.roleIds.push(item); - } - this.organizationUnitId = _data["organizationUnitId"]; + this.emailAddress = _data["emailAddress"]; } } - static fromJS(data: any): RolesToOrganizationUnitInput { + static fromJS(data: any): SendEmailActivationLinkInput { data = typeof data === 'object' ? data : {}; - let result = new RolesToOrganizationUnitInput(); + let result = new SendEmailActivationLinkInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - if (Array.isArray(this.roleIds)) { - data["roleIds"] = []; - for (let item of this.roleIds) - data["roleIds"].push(item); - } - data["organizationUnitId"] = this.organizationUnitId; + data["emailAddress"] = this.emailAddress; return data; } - clone(): RolesToOrganizationUnitInput { + clone(): SendEmailActivationLinkInput { const json = this.toJSON(); - let result = new RolesToOrganizationUnitInput(); + let result = new SendEmailActivationLinkInput(); result.init(json); return result; } } -/** 添加角色到组织单元 */ -export interface IRolesToOrganizationUnitInput { - /** 角色编号列表 */ - roleIds: string[] | undefined; - /** 组织单元Id */ - organizationUnitId: string | undefined; +export interface ISendEmailActivationLinkInput { + emailAddress: string; } -export class SSImportDto implements ISSImportDto { - /** 产线代码 */ - ssCode: string; - /** 产线名称 */ - ssName: string; - /** 产线描述 */ - ssDesc: string | undefined; - /** 车间名称 */ - segName: string; - /** 产线类型 */ - ssType: string | undefined; - /** 班制 */ - shiftTypeName: string | undefined; +export class SendPasswordResetCodeInput implements ISendPasswordResetCodeInput { + emailAddress: string; + link: string | undefined; + verificationCode: string | undefined; - constructor(data?: ISSImportDto) { + constructor(data?: ISendPasswordResetCodeInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -99043,66 +133545,45 @@ export class SSImportDto implements ISSImportDto { init(_data?: any) { if (_data) { - this.ssCode = _data["ssCode"]; - this.ssName = _data["ssName"]; - this.ssDesc = _data["ssDesc"]; - this.segName = _data["segName"]; - this.ssType = _data["ssType"]; - this.shiftTypeName = _data["shiftTypeName"]; + this.emailAddress = _data["emailAddress"]; + this.link = _data["link"]; + this.verificationCode = _data["verificationCode"]; } } - static fromJS(data: any): SSImportDto { + static fromJS(data: any): SendPasswordResetCodeInput { data = typeof data === 'object' ? data : {}; - let result = new SSImportDto(); + let result = new SendPasswordResetCodeInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["ssCode"] = this.ssCode; - data["ssName"] = this.ssName; - data["ssDesc"] = this.ssDesc; - data["segName"] = this.segName; - data["ssType"] = this.ssType; - data["shiftTypeName"] = this.shiftTypeName; + data["emailAddress"] = this.emailAddress; + data["link"] = this.link; + data["verificationCode"] = this.verificationCode; return data; } - clone(): SSImportDto { + clone(): SendPasswordResetCodeInput { const json = this.toJSON(); - let result = new SSImportDto(); + let result = new SendPasswordResetCodeInput(); result.init(json); return result; } } -export interface ISSImportDto { - /** 产线代码 */ - ssCode: string; - /** 产线名称 */ - ssName: string; - /** 产线描述 */ - ssDesc: string | undefined; - /** 车间名称 */ - segName: string; - /** 产线类型 */ - ssType: string | undefined; - /** 班制 */ - shiftTypeName: string | undefined; +export interface ISendPasswordResetCodeInput { + emailAddress: string; + link: string | undefined; + verificationCode: string | undefined; } -/** 销售汇总数据 */ -export class SalesSummaryData implements ISalesSummaryData { - /** 期间 */ - period: string | undefined; - /** 销售额 */ - sales: number; - /** 盈利 */ - profit: number; +export class SendTestEmailInput implements ISendTestEmailInput { + emailAddress: string; - constructor(data?: ISalesSummaryData) { + constructor(data?: ISendTestEmailInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -99113,59 +133594,39 @@ export class SalesSummaryData implements ISalesSummaryData { init(_data?: any) { if (_data) { - this.period = _data["period"]; - this.sales = _data["sales"]; - this.profit = _data["profit"]; + this.emailAddress = _data["emailAddress"]; } } - static fromJS(data: any): SalesSummaryData { + static fromJS(data: any): SendTestEmailInput { data = typeof data === 'object' ? data : {}; - let result = new SalesSummaryData(); + let result = new SendTestEmailInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["period"] = this.period; - data["sales"] = this.sales; - data["profit"] = this.profit; + data["emailAddress"] = this.emailAddress; return data; } - clone(): SalesSummaryData { + clone(): SendTestEmailInput { const json = this.toJSON(); - let result = new SalesSummaryData(); + let result = new SendTestEmailInput(); result.init(json); return result; } } -/** 销售汇总数据 */ -export interface ISalesSummaryData { - /** 期间 */ - period: string | undefined; - /** 销售额 */ - sales: number; - /** 盈利 */ - profit: number; -} - -/** 销售统计日期周期 */ -export enum SalesSummaryDatePeriod { - Daily = "Daily", - Weekly = "Weekly", - Monthly = "Monthly", +export interface ISendTestEmailInput { + emailAddress: string; } -/** 保存个性化配置 */ -export class SaveListViewAsPersonalInput implements ISaveListViewAsPersonalInput { - /** 用户Id */ - userId: string | undefined; - listViewDto: ListViewDto; +export class SetDefaultLanguageInput implements ISetDefaultLanguageInput { + name: string; - constructor(data?: ISaveListViewAsPersonalInput) { + constructor(data?: ISetDefaultLanguageInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -99176,47 +133637,47 @@ export class SaveListViewAsPersonalInput implements ISaveListViewAsPersonalInput init(_data?: any) { if (_data) { - this.userId = _data["userId"]; - this.listViewDto = _data["listViewDto"] ? ListViewDto.fromJS(_data["listViewDto"]) : undefined; + this.name = _data["name"]; } } - static fromJS(data: any): SaveListViewAsPersonalInput { + static fromJS(data: any): SetDefaultLanguageInput { data = typeof data === 'object' ? data : {}; - let result = new SaveListViewAsPersonalInput(); + let result = new SetDefaultLanguageInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["userId"] = this.userId; - data["listViewDto"] = this.listViewDto ? this.listViewDto.toJSON() : undefined; + data["name"] = this.name; return data; } - clone(): SaveListViewAsPersonalInput { + clone(): SetDefaultLanguageInput { const json = this.toJSON(); - let result = new SaveListViewAsPersonalInput(); + let result = new SetDefaultLanguageInput(); result.init(json); return result; } } -/** 保存个性化配置 */ -export interface ISaveListViewAsPersonalInput { - /** 用户Id */ - userId: string | undefined; - listViewDto: ListViewDto; +export interface ISetDefaultLanguageInput { + name: string; } -/** 保存个性化页面过滤 */ -export class SavePageFilterAsPersonalInput implements ISavePageFilterAsPersonalInput { - /** 用户编号 */ +export class Setting implements ISetting { + tenantId: string | undefined; userId: string | undefined; - pageFilterDto: PageFilterDto; + name: string; + value: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: string | undefined; - constructor(data?: ISavePageFilterAsPersonalInput) { + constructor(data?: ISetting) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -99227,59 +133688,78 @@ export class SavePageFilterAsPersonalInput implements ISavePageFilterAsPersonalI init(_data?: any) { if (_data) { + this.tenantId = _data["tenantId"]; this.userId = _data["userId"]; - this.pageFilterDto = _data["pageFilterDto"] ? PageFilterDto.fromJS(_data["pageFilterDto"]) : undefined; + this.name = _data["name"]; + this.value = _data["value"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): SavePageFilterAsPersonalInput { + static fromJS(data: any): Setting { data = typeof data === 'object' ? data : {}; - let result = new SavePageFilterAsPersonalInput(); + let result = new Setting(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["tenantId"] = this.tenantId; data["userId"] = this.userId; - data["pageFilterDto"] = this.pageFilterDto ? this.pageFilterDto.toJSON() : undefined; + data["name"] = this.name; + data["value"] = this.value; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): SavePageFilterAsPersonalInput { + clone(): Setting { const json = this.toJSON(); - let result = new SavePageFilterAsPersonalInput(); + let result = new Setting(); result.init(json); return result; } } -/** 保存个性化页面过滤 */ -export interface ISavePageFilterAsPersonalInput { - /** 用户编号 */ +export interface ISetting { + tenantId: string | undefined; userId: string | undefined; - pageFilterDto: PageFilterDto; + name: string; + value: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: string | undefined; } -/** 安全设置 */ -export class SecuritySettingsEditDto implements ISecuritySettingsEditDto { - /** 使用默认密码校验设置 */ - useDefaultPasswordComplexitySettings: boolean; - passwordComplexity: PasswordComplexitySetting; - defaultPasswordComplexity: PasswordComplexitySetting; - userLockOut: UserLockOutSettingsEditDto; - twoFactorLogin: TwoFactorLoginSettingsEditDto; - /** 演示模式 */ - previewMode: boolean; - updatePasswordForceEditDto: UpdatePasswordForceEditDto; - /** 登录过期时间(单位/h) */ - loginExpiryTime: number; - /** 将API调用异常详情返回到客户端 */ - isReturnExceptionInfo: boolean; - /** 审计日志保留时长(单位/天) */ - auditReservedSize: number; +export enum SettingScopes { + Application = "Application", + Tenant = "Tenant", + User = "User", + All = "All", +} - constructor(data?: ISecuritySettingsEditDto) { +export class SiteSettingsEditDto implements ISiteSettingsEditDto { + systemName: string | undefined; + systemVersion: string | undefined; + systemReleaseInfo: string | undefined; + bannerId: string; + bannerBytes: string | undefined; + logoId: string; + logoBytes: string | undefined; + thumbnailId: string; + thumbnailBytes: string | undefined; + + constructor(data?: ISiteSettingsEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -99290,83 +133770,65 @@ export class SecuritySettingsEditDto implements ISecuritySettingsEditDto { init(_data?: any) { if (_data) { - this.useDefaultPasswordComplexitySettings = _data["useDefaultPasswordComplexitySettings"]; - this.passwordComplexity = _data["passwordComplexity"] ? PasswordComplexitySetting.fromJS(_data["passwordComplexity"]) : undefined; - this.defaultPasswordComplexity = _data["defaultPasswordComplexity"] ? PasswordComplexitySetting.fromJS(_data["defaultPasswordComplexity"]) : undefined; - this.userLockOut = _data["userLockOut"] ? UserLockOutSettingsEditDto.fromJS(_data["userLockOut"]) : undefined; - this.twoFactorLogin = _data["twoFactorLogin"] ? TwoFactorLoginSettingsEditDto.fromJS(_data["twoFactorLogin"]) : undefined; - this.previewMode = _data["previewMode"]; - this.updatePasswordForceEditDto = _data["updatePasswordForceEditDto"] ? UpdatePasswordForceEditDto.fromJS(_data["updatePasswordForceEditDto"]) : undefined; - this.loginExpiryTime = _data["loginExpiryTime"]; - this.isReturnExceptionInfo = _data["isReturnExceptionInfo"]; - this.auditReservedSize = _data["auditReservedSize"]; + this.systemName = _data["systemName"]; + this.systemVersion = _data["systemVersion"]; + this.systemReleaseInfo = _data["systemReleaseInfo"]; + this.bannerId = _data["bannerId"]; + this.bannerBytes = _data["bannerBytes"]; + this.logoId = _data["logoId"]; + this.logoBytes = _data["logoBytes"]; + this.thumbnailId = _data["thumbnailId"]; + this.thumbnailBytes = _data["thumbnailBytes"]; } } - static fromJS(data: any): SecuritySettingsEditDto { + static fromJS(data: any): SiteSettingsEditDto { data = typeof data === 'object' ? data : {}; - let result = new SecuritySettingsEditDto(); + let result = new SiteSettingsEditDto(); result.init(data); return result; } - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["useDefaultPasswordComplexitySettings"] = this.useDefaultPasswordComplexitySettings; - data["passwordComplexity"] = this.passwordComplexity ? this.passwordComplexity.toJSON() : undefined; - data["defaultPasswordComplexity"] = this.defaultPasswordComplexity ? this.defaultPasswordComplexity.toJSON() : undefined; - data["userLockOut"] = this.userLockOut ? this.userLockOut.toJSON() : undefined; - data["twoFactorLogin"] = this.twoFactorLogin ? this.twoFactorLogin.toJSON() : undefined; - data["previewMode"] = this.previewMode; - data["updatePasswordForceEditDto"] = this.updatePasswordForceEditDto ? this.updatePasswordForceEditDto.toJSON() : undefined; - data["loginExpiryTime"] = this.loginExpiryTime; - data["isReturnExceptionInfo"] = this.isReturnExceptionInfo; - data["auditReservedSize"] = this.auditReservedSize; + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["systemName"] = this.systemName; + data["systemVersion"] = this.systemVersion; + data["systemReleaseInfo"] = this.systemReleaseInfo; + data["bannerId"] = this.bannerId; + data["bannerBytes"] = this.bannerBytes; + data["logoId"] = this.logoId; + data["logoBytes"] = this.logoBytes; + data["thumbnailId"] = this.thumbnailId; + data["thumbnailBytes"] = this.thumbnailBytes; return data; } - clone(): SecuritySettingsEditDto { + clone(): SiteSettingsEditDto { const json = this.toJSON(); - let result = new SecuritySettingsEditDto(); + let result = new SiteSettingsEditDto(); result.init(json); return result; } } -/** 安全设置 */ -export interface ISecuritySettingsEditDto { - /** 使用默认密码校验设置 */ - useDefaultPasswordComplexitySettings: boolean; - passwordComplexity: PasswordComplexitySetting; - defaultPasswordComplexity: PasswordComplexitySetting; - userLockOut: UserLockOutSettingsEditDto; - twoFactorLogin: TwoFactorLoginSettingsEditDto; - /** 演示模式 */ - previewMode: boolean; - updatePasswordForceEditDto: UpdatePasswordForceEditDto; - /** 登录过期时间(单位/h) */ - loginExpiryTime: number; - /** 将API调用异常详情返回到客户端 */ - isReturnExceptionInfo: boolean; - /** 审计日志保留时长(单位/天) */ - auditReservedSize: number; +export interface ISiteSettingsEditDto { + systemName: string | undefined; + systemVersion: string | undefined; + systemReleaseInfo: string | undefined; + bannerId: string; + bannerBytes: string | undefined; + logoId: string; + logoBytes: string | undefined; + thumbnailId: string; + thumbnailBytes: string | undefined; } -export class SegImportDto implements ISegImportDto { - /** 车间代码 */ - segCode: string; - /** 车间次序 */ - segSeq: number; - /** 车间名称 */ - segName: string; - /** 车间描述 */ - segDesc: string | undefined; - /** 班制名称 */ - shiftTypeName: string; - /** 工厂名称 */ - facName: string | undefined; +export class SortCondition implements ISortCondition { + field: string | undefined; + order: number; + type: SortType; - constructor(data?: ISegImportDto) { + constructor(data?: ISortCondition) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -99377,62 +133839,58 @@ export class SegImportDto implements ISegImportDto { init(_data?: any) { if (_data) { - this.segCode = _data["segCode"]; - this.segSeq = _data["segSeq"]; - this.segName = _data["segName"]; - this.segDesc = _data["segDesc"]; - this.shiftTypeName = _data["shiftTypeName"]; - this.facName = _data["facName"]; + this.field = _data["field"]; + this.order = _data["order"]; + this.type = _data["type"]; } } - static fromJS(data: any): SegImportDto { + static fromJS(data: any): SortCondition { data = typeof data === 'object' ? data : {}; - let result = new SegImportDto(); + let result = new SortCondition(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["segCode"] = this.segCode; - data["segSeq"] = this.segSeq; - data["segName"] = this.segName; - data["segDesc"] = this.segDesc; - data["shiftTypeName"] = this.shiftTypeName; - data["facName"] = this.facName; + data["field"] = this.field; + data["order"] = this.order; + data["type"] = this.type; return data; } - clone(): SegImportDto { + clone(): SortCondition { const json = this.toJSON(); - let result = new SegImportDto(); + let result = new SortCondition(); result.init(json); return result; } } -export interface ISegImportDto { - /** 车间代码 */ - segCode: string; - /** 车间次序 */ - segSeq: number; - /** 车间名称 */ - segName: string; - /** 车间描述 */ - segDesc: string | undefined; - /** 班制名称 */ - shiftTypeName: string; - /** 工厂名称 */ - facName: string | undefined; +export interface ISortCondition { + field: string | undefined; + order: number; + type: SortType; } -export class SelectItemExt implements ISelectItemExt { - id: number; - value: any | undefined; - text: string | undefined; +export enum SortType { + None = "None", + Asc = "Asc", + Desc = "Desc", +} - constructor(data?: ISelectItemExt) { +export class Stream implements IStream { + readonly canRead: boolean; + readonly canWrite: boolean; + readonly canSeek: boolean; + readonly canTimeout: boolean; + readonly length: number; + position: number; + readTimeout: number; + writeTimeout: number; + + constructor(data?: IStream) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -99443,49 +133901,60 @@ export class SelectItemExt implements ISelectItemExt { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.value = _data["value"]; - this.text = _data["text"]; + (this).canRead = _data["canRead"]; + (this).canWrite = _data["canWrite"]; + (this).canSeek = _data["canSeek"]; + (this).canTimeout = _data["canTimeout"]; + (this).length = _data["length"]; + this.position = _data["position"]; + this.readTimeout = _data["readTimeout"]; + this.writeTimeout = _data["writeTimeout"]; } } - static fromJS(data: any): SelectItemExt { + static fromJS(data: any): Stream { data = typeof data === 'object' ? data : {}; - let result = new SelectItemExt(); + let result = new Stream(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["value"] = this.value; - data["text"] = this.text; + data["canRead"] = this.canRead; + data["canWrite"] = this.canWrite; + data["canSeek"] = this.canSeek; + data["canTimeout"] = this.canTimeout; + data["length"] = this.length; + data["position"] = this.position; + data["readTimeout"] = this.readTimeout; + data["writeTimeout"] = this.writeTimeout; return data; } - clone(): SelectItemExt { + clone(): Stream { const json = this.toJSON(); - let result = new SelectItemExt(); + let result = new Stream(); result.init(json); return result; } } -export interface ISelectItemExt { - id: number; - value: any | undefined; - text: string | undefined; +export interface IStream { + canRead: boolean; + canWrite: boolean; + canSeek: boolean; + canTimeout: boolean; + length: number; + position: number; + readTimeout: number; + writeTimeout: number; } -export class SelectItemExt2 implements ISelectItemExt2 { - key: string | undefined; - id: any | undefined; +export class StringDto implements IStringDto { value: string | undefined; - text: string | undefined; - disabled: boolean; - constructor(data?: ISelectItemExt2) { + constructor(data?: IStringDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -99496,52 +133965,68 @@ export class SelectItemExt2 implements ISelectItemExt2 { init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.id = _data["id"]; this.value = _data["value"]; - this.text = _data["text"]; - this.disabled = _data["disabled"]; } } - static fromJS(data: any): SelectItemExt2 { + static fromJS(data: any): StringDto { data = typeof data === 'object' ? data : {}; - let result = new SelectItemExt2(); + let result = new StringDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["id"] = this.id; data["value"] = this.value; - data["text"] = this.text; - data["disabled"] = this.disabled; return data; } - clone(): SelectItemExt2 { + clone(): StringDto { const json = this.toJSON(); - let result = new SelectItemExt2(); + let result = new StringDto(); result.init(json); return result; } } -export interface ISelectItemExt2 { - key: string | undefined; - id: any | undefined; +export interface IStringDto { value: string | undefined; - text: string | undefined; - disabled: boolean; } -export class SelectListGroup implements ISelectListGroup { - disabled: boolean; - name: string | undefined; +export class StringDtoEx implements IStringDtoEx { + parameter1: string | undefined; + parameter2: string | undefined; + parameter3: string | undefined; + parameter4: string | undefined; + parameter5: string | undefined; + parameter6: string | undefined; + parameter7: string | undefined; + parameter8: string | undefined; + parameter9: string | undefined; + parameter10: string | undefined; + parameter11: string | undefined; + parameter12: string | undefined; + parameter13: string | undefined; + parameter14: string | undefined; + parameter15: string | undefined; + parameter16: string | undefined; + parameter17: string | undefined; + parameter18: string | undefined; + parameter19: string | undefined; + parameter20: string | undefined; + parameter21: string | undefined; + parameter22: string | undefined; + parameter23: string | undefined; + parameter24: string | undefined; + parameter25: string | undefined; + parameter26: string | undefined; + parameter27: string | undefined; + parameter28: string | undefined; + parameter29: string | undefined; + parameter30: string | undefined; - constructor(data?: ISelectListGroup) { + constructor(data?: IStringDtoEx) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -99552,46 +134037,129 @@ export class SelectListGroup implements ISelectListGroup { init(_data?: any) { if (_data) { - this.disabled = _data["disabled"]; - this.name = _data["name"]; + this.parameter1 = _data["parameter1"]; + this.parameter2 = _data["parameter2"]; + this.parameter3 = _data["parameter3"]; + this.parameter4 = _data["parameter4"]; + this.parameter5 = _data["parameter5"]; + this.parameter6 = _data["parameter6"]; + this.parameter7 = _data["parameter7"]; + this.parameter8 = _data["parameter8"]; + this.parameter9 = _data["parameter9"]; + this.parameter10 = _data["parameter10"]; + this.parameter11 = _data["parameter11"]; + this.parameter12 = _data["parameter12"]; + this.parameter13 = _data["parameter13"]; + this.parameter14 = _data["parameter14"]; + this.parameter15 = _data["parameter15"]; + this.parameter16 = _data["parameter16"]; + this.parameter17 = _data["parameter17"]; + this.parameter18 = _data["parameter18"]; + this.parameter19 = _data["parameter19"]; + this.parameter20 = _data["parameter20"]; + this.parameter21 = _data["parameter21"]; + this.parameter22 = _data["parameter22"]; + this.parameter23 = _data["parameter23"]; + this.parameter24 = _data["parameter24"]; + this.parameter25 = _data["parameter25"]; + this.parameter26 = _data["parameter26"]; + this.parameter27 = _data["parameter27"]; + this.parameter28 = _data["parameter28"]; + this.parameter29 = _data["parameter29"]; + this.parameter30 = _data["parameter30"]; } } - static fromJS(data: any): SelectListGroup { + static fromJS(data: any): StringDtoEx { data = typeof data === 'object' ? data : {}; - let result = new SelectListGroup(); + let result = new StringDtoEx(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["disabled"] = this.disabled; - data["name"] = this.name; + data["parameter1"] = this.parameter1; + data["parameter2"] = this.parameter2; + data["parameter3"] = this.parameter3; + data["parameter4"] = this.parameter4; + data["parameter5"] = this.parameter5; + data["parameter6"] = this.parameter6; + data["parameter7"] = this.parameter7; + data["parameter8"] = this.parameter8; + data["parameter9"] = this.parameter9; + data["parameter10"] = this.parameter10; + data["parameter11"] = this.parameter11; + data["parameter12"] = this.parameter12; + data["parameter13"] = this.parameter13; + data["parameter14"] = this.parameter14; + data["parameter15"] = this.parameter15; + data["parameter16"] = this.parameter16; + data["parameter17"] = this.parameter17; + data["parameter18"] = this.parameter18; + data["parameter19"] = this.parameter19; + data["parameter20"] = this.parameter20; + data["parameter21"] = this.parameter21; + data["parameter22"] = this.parameter22; + data["parameter23"] = this.parameter23; + data["parameter24"] = this.parameter24; + data["parameter25"] = this.parameter25; + data["parameter26"] = this.parameter26; + data["parameter27"] = this.parameter27; + data["parameter28"] = this.parameter28; + data["parameter29"] = this.parameter29; + data["parameter30"] = this.parameter30; return data; } - clone(): SelectListGroup { + clone(): StringDtoEx { const json = this.toJSON(); - let result = new SelectListGroup(); + let result = new StringDtoEx(); result.init(json); return result; } } -export interface ISelectListGroup { - disabled: boolean; - name: string | undefined; +export interface IStringDtoEx { + parameter1: string | undefined; + parameter2: string | undefined; + parameter3: string | undefined; + parameter4: string | undefined; + parameter5: string | undefined; + parameter6: string | undefined; + parameter7: string | undefined; + parameter8: string | undefined; + parameter9: string | undefined; + parameter10: string | undefined; + parameter11: string | undefined; + parameter12: string | undefined; + parameter13: string | undefined; + parameter14: string | undefined; + parameter15: string | undefined; + parameter16: string | undefined; + parameter17: string | undefined; + parameter18: string | undefined; + parameter19: string | undefined; + parameter20: string | undefined; + parameter21: string | undefined; + parameter22: string | undefined; + parameter23: string | undefined; + parameter24: string | undefined; + parameter25: string | undefined; + parameter26: string | undefined; + parameter27: string | undefined; + parameter28: string | undefined; + parameter29: string | undefined; + parameter30: string | undefined; } -export class SelectListItem implements ISelectListItem { - disabled: boolean; - group: SelectListGroup; - selected: boolean; - text: string | undefined; +export class SubscribableEditionComboboxItemDto implements ISubscribableEditionComboboxItemDto { + isFree: boolean | undefined; value: string | undefined; + displayText: string | undefined; + isSelected: boolean; - constructor(data?: ISelectListItem) { + constructor(data?: ISubscribableEditionComboboxItemDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -99602,53 +134170,49 @@ export class SelectListItem implements ISelectListItem { init(_data?: any) { if (_data) { - this.disabled = _data["disabled"]; - this.group = _data["group"] ? SelectListGroup.fromJS(_data["group"]) : undefined; - this.selected = _data["selected"]; - this.text = _data["text"]; + this.isFree = _data["isFree"]; this.value = _data["value"]; + this.displayText = _data["displayText"]; + this.isSelected = _data["isSelected"]; } } - static fromJS(data: any): SelectListItem { + static fromJS(data: any): SubscribableEditionComboboxItemDto { data = typeof data === 'object' ? data : {}; - let result = new SelectListItem(); + let result = new SubscribableEditionComboboxItemDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["disabled"] = this.disabled; - data["group"] = this.group ? this.group.toJSON() : undefined; - data["selected"] = this.selected; - data["text"] = this.text; + data["isFree"] = this.isFree; data["value"] = this.value; + data["displayText"] = this.displayText; + data["isSelected"] = this.isSelected; return data; } - clone(): SelectListItem { + clone(): SubscribableEditionComboboxItemDto { const json = this.toJSON(); - let result = new SelectListItem(); + let result = new SubscribableEditionComboboxItemDto(); result.init(json); return result; } } -export interface ISelectListItem { - disabled: boolean; - group: SelectListGroup; - selected: boolean; - text: string | undefined; +export interface ISubscribableEditionComboboxItemDto { + isFree: boolean | undefined; value: string | undefined; + displayText: string | undefined; + isSelected: boolean; } -/** 发送邮件激活链接输入 */ -export class SendEmailActivationLinkInput implements ISendEmailActivationLinkInput { - /** 邮箱地址 */ - emailAddress: string; +export class SwitchToLinkedAccountInput implements ISwitchToLinkedAccountInput { + targetTenantId: string | undefined; + targetUserId: string | undefined; - constructor(data?: ISendEmailActivationLinkInput) { + constructor(data?: ISwitchToLinkedAccountInput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -99659,47 +134223,43 @@ export class SendEmailActivationLinkInput implements ISendEmailActivationLinkInp init(_data?: any) { if (_data) { - this.emailAddress = _data["emailAddress"]; + this.targetTenantId = _data["targetTenantId"]; + this.targetUserId = _data["targetUserId"]; } } - static fromJS(data: any): SendEmailActivationLinkInput { + static fromJS(data: any): SwitchToLinkedAccountInput { data = typeof data === 'object' ? data : {}; - let result = new SendEmailActivationLinkInput(); + let result = new SwitchToLinkedAccountInput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["emailAddress"] = this.emailAddress; + data["targetTenantId"] = this.targetTenantId; + data["targetUserId"] = this.targetUserId; return data; } - clone(): SendEmailActivationLinkInput { + clone(): SwitchToLinkedAccountInput { const json = this.toJSON(); - let result = new SendEmailActivationLinkInput(); + let result = new SwitchToLinkedAccountInput(); result.init(json); return result; } } -/** 发送邮件激活链接输入 */ -export interface ISendEmailActivationLinkInput { - /** 邮箱地址 */ - emailAddress: string; +export interface ISwitchToLinkedAccountInput { + targetTenantId: string | undefined; + targetUserId: string | undefined; } -/** 发送密码重置码输入 */ -export class SendPasswordResetCodeInput implements ISendPasswordResetCodeInput { - /** 邮箱地址 */ - emailAddress: string; - /** 链接 */ - link: string | undefined; - /** 验证码 */ - verificationCode: string | undefined; +export class SwitchToLinkedAccountOutput implements ISwitchToLinkedAccountOutput { + switchAccountToken: string | undefined; + tenancyName: string | undefined; - constructor(data?: ISendPasswordResetCodeInput) { + constructor(data?: ISwitchToLinkedAccountOutput) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -99710,51 +134270,46 @@ export class SendPasswordResetCodeInput implements ISendPasswordResetCodeInput { init(_data?: any) { if (_data) { - this.emailAddress = _data["emailAddress"]; - this.link = _data["link"]; - this.verificationCode = _data["verificationCode"]; + this.switchAccountToken = _data["switchAccountToken"]; + this.tenancyName = _data["tenancyName"]; } } - static fromJS(data: any): SendPasswordResetCodeInput { + static fromJS(data: any): SwitchToLinkedAccountOutput { data = typeof data === 'object' ? data : {}; - let result = new SendPasswordResetCodeInput(); + let result = new SwitchToLinkedAccountOutput(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["emailAddress"] = this.emailAddress; - data["link"] = this.link; - data["verificationCode"] = this.verificationCode; + data["switchAccountToken"] = this.switchAccountToken; + data["tenancyName"] = this.tenancyName; return data; } - clone(): SendPasswordResetCodeInput { + clone(): SwitchToLinkedAccountOutput { const json = this.toJSON(); - let result = new SendPasswordResetCodeInput(); + let result = new SwitchToLinkedAccountOutput(); result.init(json); return result; } } -/** 发送密码重置码输入 */ -export interface ISendPasswordResetCodeInput { - /** 邮箱地址 */ - emailAddress: string; - /** 链接 */ - link: string | undefined; - /** 验证码 */ - verificationCode: string | undefined; +export interface ISwitchToLinkedAccountOutput { + switchAccountToken: string | undefined; + tenancyName: string | undefined; } -/** 发送测试邮件 */ -export class SendTestEmailInput implements ISendTestEmailInput { - /** 邮箱地址 */ - emailAddress: string; +export class SwitchedAccountAuthenticateResultModel implements ISwitchedAccountAuthenticateResultModel { + accessToken: string | undefined; + encryptedAccessToken: string | undefined; + expireInSeconds: number; + refreshToken: string | undefined; + refreshTokenExpireInSeconds: number; - constructor(data?: ISendTestEmailInput) { + constructor(data?: ISwitchedAccountAuthenticateResultModel) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -99765,43 +134320,69 @@ export class SendTestEmailInput implements ISendTestEmailInput { init(_data?: any) { if (_data) { - this.emailAddress = _data["emailAddress"]; + this.accessToken = _data["accessToken"]; + this.encryptedAccessToken = _data["encryptedAccessToken"]; + this.expireInSeconds = _data["expireInSeconds"]; + this.refreshToken = _data["refreshToken"]; + this.refreshTokenExpireInSeconds = _data["refreshTokenExpireInSeconds"]; } } - static fromJS(data: any): SendTestEmailInput { + static fromJS(data: any): SwitchedAccountAuthenticateResultModel { data = typeof data === 'object' ? data : {}; - let result = new SendTestEmailInput(); + let result = new SwitchedAccountAuthenticateResultModel(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["emailAddress"] = this.emailAddress; + data["accessToken"] = this.accessToken; + data["encryptedAccessToken"] = this.encryptedAccessToken; + data["expireInSeconds"] = this.expireInSeconds; + data["refreshToken"] = this.refreshToken; + data["refreshTokenExpireInSeconds"] = this.refreshTokenExpireInSeconds; return data; } - clone(): SendTestEmailInput { + clone(): SwitchedAccountAuthenticateResultModel { const json = this.toJSON(); - let result = new SendTestEmailInput(); + let result = new SwitchedAccountAuthenticateResultModel(); result.init(json); return result; } } -/** 发送测试邮件 */ -export interface ISendTestEmailInput { - /** 邮箱地址 */ - emailAddress: string; +export interface ISwitchedAccountAuthenticateResultModel { + accessToken: string | undefined; + encryptedAccessToken: string | undefined; + expireInSeconds: number; + refreshToken: string | undefined; + refreshTokenExpireInSeconds: number; } -/** 设置默认语言 */ -export class SetDefaultLanguageInput implements ISetDefaultLanguageInput { - /** 名称 */ - name: string; +export class SysDataBaseEditDto implements ISysDataBaseEditDto { + id: number | undefined; + dbSourceCode: string | undefined; + dbSourceName: string | undefined; + dbipAddress: string | undefined; + dbName: string | undefined; + dbUser: string | undefined; + dbPwd: string | undefined; + dbPonit: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; - constructor(data?: ISetDefaultLanguageInput) { + constructor(data?: ISysDataBaseEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -99812,49 +134393,117 @@ export class SetDefaultLanguageInput implements ISetDefaultLanguageInput { init(_data?: any) { if (_data) { - this.name = _data["name"]; + this.id = _data["id"]; + this.dbSourceCode = _data["dbSourceCode"]; + this.dbSourceName = _data["dbSourceName"]; + this.dbipAddress = _data["dbipAddress"]; + this.dbName = _data["dbName"]; + this.dbUser = _data["dbUser"]; + this.dbPwd = _data["dbPwd"]; + this.dbPonit = _data["dbPonit"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; } } - static fromJS(data: any): SetDefaultLanguageInput { + static fromJS(data: any): SysDataBaseEditDto { data = typeof data === 'object' ? data : {}; - let result = new SetDefaultLanguageInput(); + let result = new SysDataBaseEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["name"] = this.name; + data["id"] = this.id; + data["dbSourceCode"] = this.dbSourceCode; + data["dbSourceName"] = this.dbSourceName; + data["dbipAddress"] = this.dbipAddress; + data["dbName"] = this.dbName; + data["dbUser"] = this.dbUser; + data["dbPwd"] = this.dbPwd; + data["dbPonit"] = this.dbPonit; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; return data; } - clone(): SetDefaultLanguageInput { + clone(): SysDataBaseEditDto { const json = this.toJSON(); - let result = new SetDefaultLanguageInput(); + let result = new SysDataBaseEditDto(); result.init(json); return result; } } -/** 设置默认语言 */ -export interface ISetDefaultLanguageInput { - /** 名称 */ - name: string; -} - -export class Setting implements ISetting { - tenantId: string | undefined; - userId: string | undefined; - name: string; - value: string | undefined; +export interface ISysDataBaseEditDto { + id: number | undefined; + dbSourceCode: string | undefined; + dbSourceName: string | undefined; + dbipAddress: string | undefined; + dbName: string | undefined; + dbUser: string | undefined; + dbPwd: string | undefined; + dbPonit: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; +} + +export class SysDataBaseListDto implements ISysDataBaseListDto { + dbSourceCode: string; + dbSourceName: string; + dbipAddress: string; + dbName: string; + dbUser: string; + dbPwd: string; + dbPonit: string; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; lastModifierUserId: string | undefined; creationTime: moment.Moment; creatorUserId: string | undefined; - id: string | undefined; + id: number; - constructor(data?: ISetting) { + constructor(data?: ISysDataBaseListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -99865,10 +134514,26 @@ export class Setting implements ISetting { init(_data?: any) { if (_data) { - this.tenantId = _data["tenantId"]; - this.userId = _data["userId"]; - this.name = _data["name"]; - this.value = _data["value"]; + this.dbSourceCode = _data["dbSourceCode"]; + this.dbSourceName = _data["dbSourceName"]; + this.dbipAddress = _data["dbipAddress"]; + this.dbName = _data["dbName"]; + this.dbUser = _data["dbUser"]; + this.dbPwd = _data["dbPwd"]; + this.dbPonit = _data["dbPonit"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; this.lastModifierUserId = _data["lastModifierUserId"]; this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; @@ -99877,19 +134542,35 @@ export class Setting implements ISetting { } } - static fromJS(data: any): Setting { + static fromJS(data: any): SysDataBaseListDto { data = typeof data === 'object' ? data : {}; - let result = new Setting(); + let result = new SysDataBaseListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["tenantId"] = this.tenantId; - data["userId"] = this.userId; - data["name"] = this.name; - data["value"] = this.value; + data["dbSourceCode"] = this.dbSourceCode; + data["dbSourceName"] = this.dbSourceName; + data["dbipAddress"] = this.dbipAddress; + data["dbName"] = this.dbName; + data["dbUser"] = this.dbUser; + data["dbPwd"] = this.dbPwd; + data["dbPonit"] = this.dbPonit; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; data["lastModifierUserId"] = this.lastModifierUserId; data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; @@ -99898,55 +134579,52 @@ export class Setting implements ISetting { return data; } - clone(): Setting { + clone(): SysDataBaseListDto { const json = this.toJSON(); - let result = new Setting(); + let result = new SysDataBaseListDto(); result.init(json); return result; } } -export interface ISetting { - tenantId: string | undefined; - userId: string | undefined; - name: string; - value: string | undefined; +export interface ISysDataBaseListDto { + dbSourceCode: string; + dbSourceName: string; + dbipAddress: string; + dbName: string; + dbUser: string; + dbPwd: string; + dbPonit: string; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; lastModifierUserId: string | undefined; creationTime: moment.Moment; creatorUserId: string | undefined; - id: string | undefined; -} - -export enum SettingScopes { - Application = "Application", - Tenant = "Tenant", - User = "User", - All = "All", + id: number; } -/** 网站Logo设置 */ -export class SiteSettingsEditDto implements ISiteSettingsEditDto { - /** 系统名称 */ - systemName: string | undefined; - /** 系统版本 */ - systemVersion: string | undefined; - /** 系统发行信息 */ - systemReleaseInfo: string | undefined; - /** Banner的DatafileId */ - bannerId: string; - /** 登录页Banner图 */ - bannerBytes: string | undefined; - /** logo的DatafileId */ - logoId: string; - /** 首页logo */ - logoBytes: string | undefined; - /** 缩略图DatafileId */ - thumbnailId: string; - /** 缩略图 */ - thumbnailBytes: string | undefined; +export class SysEnumImportDto implements ISysEnumImportDto { + enumKey: string; + enumName: string; + enumDesc: string | undefined; + pEnumKey: string | undefined; + enumValue: string | undefined; + enumText: string | undefined; + detailEnumDesc: string | undefined; - constructor(data?: ISiteSettingsEditDto) { + constructor(data?: ISysEnumImportDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -99957,75 +134635,75 @@ export class SiteSettingsEditDto implements ISiteSettingsEditDto { init(_data?: any) { if (_data) { - this.systemName = _data["systemName"]; - this.systemVersion = _data["systemVersion"]; - this.systemReleaseInfo = _data["systemReleaseInfo"]; - this.bannerId = _data["bannerId"]; - this.bannerBytes = _data["bannerBytes"]; - this.logoId = _data["logoId"]; - this.logoBytes = _data["logoBytes"]; - this.thumbnailId = _data["thumbnailId"]; - this.thumbnailBytes = _data["thumbnailBytes"]; + this.enumKey = _data["enumKey"]; + this.enumName = _data["enumName"]; + this.enumDesc = _data["enumDesc"]; + this.pEnumKey = _data["pEnumKey"]; + this.enumValue = _data["enumValue"]; + this.enumText = _data["enumText"]; + this.detailEnumDesc = _data["detailEnumDesc"]; } } - static fromJS(data: any): SiteSettingsEditDto { + static fromJS(data: any): SysEnumImportDto { data = typeof data === 'object' ? data : {}; - let result = new SiteSettingsEditDto(); + let result = new SysEnumImportDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["systemName"] = this.systemName; - data["systemVersion"] = this.systemVersion; - data["systemReleaseInfo"] = this.systemReleaseInfo; - data["bannerId"] = this.bannerId; - data["bannerBytes"] = this.bannerBytes; - data["logoId"] = this.logoId; - data["logoBytes"] = this.logoBytes; - data["thumbnailId"] = this.thumbnailId; - data["thumbnailBytes"] = this.thumbnailBytes; + data["enumKey"] = this.enumKey; + data["enumName"] = this.enumName; + data["enumDesc"] = this.enumDesc; + data["pEnumKey"] = this.pEnumKey; + data["enumValue"] = this.enumValue; + data["enumText"] = this.enumText; + data["detailEnumDesc"] = this.detailEnumDesc; return data; } - clone(): SiteSettingsEditDto { + clone(): SysEnumImportDto { const json = this.toJSON(); - let result = new SiteSettingsEditDto(); + let result = new SysEnumImportDto(); result.init(json); return result; } } -/** 网站Logo设置 */ -export interface ISiteSettingsEditDto { - /** 系统名称 */ - systemName: string | undefined; - /** 系统版本 */ - systemVersion: string | undefined; - /** 系统发行信息 */ - systemReleaseInfo: string | undefined; - /** Banner的DatafileId */ - bannerId: string; - /** 登录页Banner图 */ - bannerBytes: string | undefined; - /** logo的DatafileId */ - logoId: string; - /** 首页logo */ - logoBytes: string | undefined; - /** 缩略图DatafileId */ - thumbnailId: string; - /** 缩略图 */ - thumbnailBytes: string | undefined; +export interface ISysEnumImportDto { + enumKey: string; + enumName: string; + enumDesc: string | undefined; + pEnumKey: string | undefined; + enumValue: string | undefined; + enumText: string | undefined; + detailEnumDesc: string | undefined; } -export class SortCondition implements ISortCondition { - field: string | undefined; - order: number; - type: SortType; +export class SysEnumKeyEditDto implements ISysEnumKeyEditDto { + id: number | undefined; + enumType: string | undefined; + enumKey: string | undefined; + enumName: string | undefined; + enumDesc: string | undefined; + pEnumKey: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; + enumValueList: string | undefined; + detailList: SysEnumValueListDto[] | undefined; - constructor(data?: ISortCondition) { + constructor(data?: ISysEnumKeyEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -100036,123 +134714,122 @@ export class SortCondition implements ISortCondition { init(_data?: any) { if (_data) { - this.field = _data["field"]; - this.order = _data["order"]; - this.type = _data["type"]; - } - } - - static fromJS(data: any): SortCondition { - data = typeof data === 'object' ? data : {}; - let result = new SortCondition(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["field"] = this.field; - data["order"] = this.order; - data["type"] = this.type; - return data; - } - - clone(): SortCondition { - const json = this.toJSON(); - let result = new SortCondition(); - result.init(json); - return result; - } -} - -export interface ISortCondition { - field: string | undefined; - order: number; - type: SortType; -} - -export enum SortType { - None = "None", - Asc = "Asc", - Desc = "Desc", -} - -export class StringDto implements IStringDto { - value: string | undefined; - - constructor(data?: IStringDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; + this.id = _data["id"]; + this.enumType = _data["enumType"]; + this.enumKey = _data["enumKey"]; + this.enumName = _data["enumName"]; + this.enumDesc = _data["enumDesc"]; + this.pEnumKey = _data["pEnumKey"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.memo = _data["memo"]; + this.enumValueList = _data["enumValueList"]; + if (Array.isArray(_data["detailList"])) { + this.detailList = [] as any; + for (let item of _data["detailList"]) + this.detailList.push(SysEnumValueListDto.fromJS(item)); } } } - init(_data?: any) { - if (_data) { - this.value = _data["value"]; - } - } - - static fromJS(data: any): StringDto { + static fromJS(data: any): SysEnumKeyEditDto { data = typeof data === 'object' ? data : {}; - let result = new StringDto(); + let result = new SysEnumKeyEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["value"] = this.value; + data["id"] = this.id; + data["enumType"] = this.enumType; + data["enumKey"] = this.enumKey; + data["enumName"] = this.enumName; + data["enumDesc"] = this.enumDesc; + data["pEnumKey"] = this.pEnumKey; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["memo"] = this.memo; + data["enumValueList"] = this.enumValueList; + if (Array.isArray(this.detailList)) { + data["detailList"] = []; + for (let item of this.detailList) + data["detailList"].push(item.toJSON()); + } return data; } - clone(): StringDto { + clone(): SysEnumKeyEditDto { const json = this.toJSON(); - let result = new StringDto(); + let result = new SysEnumKeyEditDto(); result.init(json); return result; } } -export interface IStringDto { - value: string | undefined; +export interface ISysEnumKeyEditDto { + id: number | undefined; + enumType: string | undefined; + enumKey: string | undefined; + enumName: string | undefined; + enumDesc: string | undefined; + pEnumKey: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; + enumValueList: string | undefined; + detailList: SysEnumValueListDto[] | undefined; } -export class StringDtoEx implements IStringDtoEx { - parameter1: string | undefined; - parameter2: string | undefined; - parameter3: string | undefined; - parameter4: string | undefined; - parameter5: string | undefined; - parameter6: string | undefined; - parameter7: string | undefined; - parameter8: string | undefined; - parameter9: string | undefined; - parameter10: string | undefined; - parameter11: string | undefined; - parameter12: string | undefined; - parameter13: string | undefined; - parameter14: string | undefined; - parameter15: string | undefined; - parameter16: string | undefined; - parameter17: string | undefined; - parameter18: string | undefined; - parameter19: string | undefined; - parameter20: string | undefined; - parameter21: string | undefined; - parameter22: string | undefined; - parameter23: string | undefined; - parameter24: string | undefined; - parameter25: string | undefined; - parameter26: string | undefined; - parameter27: string | undefined; - parameter28: string | undefined; - parameter29: string | undefined; - parameter30: string | undefined; +export class SysEnumKeyListDto implements ISysEnumKeyListDto { + enumKey: string; + enumName: string; + enumDesc: string | undefined; + pEnumKey: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: IStringDtoEx) { + constructor(data?: ISysEnumKeyListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -100163,131 +134840,128 @@ export class StringDtoEx implements IStringDtoEx { init(_data?: any) { if (_data) { - this.parameter1 = _data["parameter1"]; - this.parameter2 = _data["parameter2"]; - this.parameter3 = _data["parameter3"]; - this.parameter4 = _data["parameter4"]; - this.parameter5 = _data["parameter5"]; - this.parameter6 = _data["parameter6"]; - this.parameter7 = _data["parameter7"]; - this.parameter8 = _data["parameter8"]; - this.parameter9 = _data["parameter9"]; - this.parameter10 = _data["parameter10"]; - this.parameter11 = _data["parameter11"]; - this.parameter12 = _data["parameter12"]; - this.parameter13 = _data["parameter13"]; - this.parameter14 = _data["parameter14"]; - this.parameter15 = _data["parameter15"]; - this.parameter16 = _data["parameter16"]; - this.parameter17 = _data["parameter17"]; - this.parameter18 = _data["parameter18"]; - this.parameter19 = _data["parameter19"]; - this.parameter20 = _data["parameter20"]; - this.parameter21 = _data["parameter21"]; - this.parameter22 = _data["parameter22"]; - this.parameter23 = _data["parameter23"]; - this.parameter24 = _data["parameter24"]; - this.parameter25 = _data["parameter25"]; - this.parameter26 = _data["parameter26"]; - this.parameter27 = _data["parameter27"]; - this.parameter28 = _data["parameter28"]; - this.parameter29 = _data["parameter29"]; - this.parameter30 = _data["parameter30"]; + this.enumKey = _data["enumKey"]; + this.enumName = _data["enumName"]; + this.enumDesc = _data["enumDesc"]; + this.pEnumKey = _data["pEnumKey"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): StringDtoEx { + static fromJS(data: any): SysEnumKeyListDto { data = typeof data === 'object' ? data : {}; - let result = new StringDtoEx(); + let result = new SysEnumKeyListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["parameter1"] = this.parameter1; - data["parameter2"] = this.parameter2; - data["parameter3"] = this.parameter3; - data["parameter4"] = this.parameter4; - data["parameter5"] = this.parameter5; - data["parameter6"] = this.parameter6; - data["parameter7"] = this.parameter7; - data["parameter8"] = this.parameter8; - data["parameter9"] = this.parameter9; - data["parameter10"] = this.parameter10; - data["parameter11"] = this.parameter11; - data["parameter12"] = this.parameter12; - data["parameter13"] = this.parameter13; - data["parameter14"] = this.parameter14; - data["parameter15"] = this.parameter15; - data["parameter16"] = this.parameter16; - data["parameter17"] = this.parameter17; - data["parameter18"] = this.parameter18; - data["parameter19"] = this.parameter19; - data["parameter20"] = this.parameter20; - data["parameter21"] = this.parameter21; - data["parameter22"] = this.parameter22; - data["parameter23"] = this.parameter23; - data["parameter24"] = this.parameter24; - data["parameter25"] = this.parameter25; - data["parameter26"] = this.parameter26; - data["parameter27"] = this.parameter27; - data["parameter28"] = this.parameter28; - data["parameter29"] = this.parameter29; - data["parameter30"] = this.parameter30; + data["enumKey"] = this.enumKey; + data["enumName"] = this.enumName; + data["enumDesc"] = this.enumDesc; + data["pEnumKey"] = this.pEnumKey; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): StringDtoEx { + clone(): SysEnumKeyListDto { const json = this.toJSON(); - let result = new StringDtoEx(); + let result = new SysEnumKeyListDto(); result.init(json); return result; } } -export interface IStringDtoEx { - parameter1: string | undefined; - parameter2: string | undefined; - parameter3: string | undefined; - parameter4: string | undefined; - parameter5: string | undefined; - parameter6: string | undefined; - parameter7: string | undefined; - parameter8: string | undefined; - parameter9: string | undefined; - parameter10: string | undefined; - parameter11: string | undefined; - parameter12: string | undefined; - parameter13: string | undefined; - parameter14: string | undefined; - parameter15: string | undefined; - parameter16: string | undefined; - parameter17: string | undefined; - parameter18: string | undefined; - parameter19: string | undefined; - parameter20: string | undefined; - parameter21: string | undefined; - parameter22: string | undefined; - parameter23: string | undefined; - parameter24: string | undefined; - parameter25: string | undefined; - parameter26: string | undefined; - parameter27: string | undefined; - parameter28: string | undefined; - parameter29: string | undefined; - parameter30: string | undefined; +export interface ISysEnumKeyListDto { + enumKey: string; + enumName: string; + enumDesc: string | undefined; + pEnumKey: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 订阅版本下拉选项 */ -export class SubscribableEditionComboboxItemDto implements ISubscribableEditionComboboxItemDto { - /** 是否免费 */ - isFree: boolean | undefined; - value: string | undefined; - displayText: string | undefined; - isSelected: boolean; +export class SysEnumValueListDto implements ISysEnumValueListDto { + key: string | undefined; + enumKey: string; + enumName: string | undefined; + enumValue: string; + enumText: string; + enumDesc: string | undefined; + parentEnumDesc: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; + startFlag: number; + startFlagCheck: boolean; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: ISubscribableEditionComboboxItemDto) { + constructor(data?: ISysEnumValueListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -100298,54 +134972,121 @@ export class SubscribableEditionComboboxItemDto implements ISubscribableEditionC init(_data?: any) { if (_data) { - this.isFree = _data["isFree"]; - this.value = _data["value"]; - this.displayText = _data["displayText"]; - this.isSelected = _data["isSelected"]; + this.key = _data["key"]; + this.enumKey = _data["enumKey"]; + this.enumName = _data["enumName"]; + this.enumValue = _data["enumValue"]; + this.enumText = _data["enumText"]; + this.enumDesc = _data["enumDesc"]; + this.parentEnumDesc = _data["parentEnumDesc"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.memo = _data["memo"]; + this.startFlag = _data["startFlag"]; + this.startFlagCheck = _data["startFlagCheck"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): SubscribableEditionComboboxItemDto { + static fromJS(data: any): SysEnumValueListDto { data = typeof data === 'object' ? data : {}; - let result = new SubscribableEditionComboboxItemDto(); + let result = new SysEnumValueListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["isFree"] = this.isFree; - data["value"] = this.value; - data["displayText"] = this.displayText; - data["isSelected"] = this.isSelected; + data["key"] = this.key; + data["enumKey"] = this.enumKey; + data["enumName"] = this.enumName; + data["enumValue"] = this.enumValue; + data["enumText"] = this.enumText; + data["enumDesc"] = this.enumDesc; + data["parentEnumDesc"] = this.parentEnumDesc; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["memo"] = this.memo; + data["startFlag"] = this.startFlag; + data["startFlagCheck"] = this.startFlagCheck; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): SubscribableEditionComboboxItemDto { + clone(): SysEnumValueListDto { const json = this.toJSON(); - let result = new SubscribableEditionComboboxItemDto(); + let result = new SysEnumValueListDto(); result.init(json); return result; } } -/** 订阅版本下拉选项 */ -export interface ISubscribableEditionComboboxItemDto { - /** 是否免费 */ - isFree: boolean | undefined; - value: string | undefined; - displayText: string | undefined; - isSelected: boolean; +export interface ISysEnumValueListDto { + key: string | undefined; + enumKey: string; + enumName: string | undefined; + enumValue: string; + enumText: string; + enumDesc: string | undefined; + parentEnumDesc: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + memo: string | undefined; + startFlag: number; + startFlagCheck: boolean; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -/** 切换关联账户 */ -export class SwitchToLinkedAccountInput implements ISwitchToLinkedAccountInput { - /** 目标租户Id */ - targetTenantId: string | undefined; - /** 目标用户Id */ - targetUserId: string | undefined; +export class SysFileEditDto implements ISysFileEditDto { + id: string | undefined; + parentId: string | undefined; + dir: boolean; + name: string | undefined; + fileName: string | undefined; - constructor(data?: ISwitchToLinkedAccountInput) { + constructor(data?: ISysFileEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -100356,49 +135097,73 @@ export class SwitchToLinkedAccountInput implements ISwitchToLinkedAccountInput { init(_data?: any) { if (_data) { - this.targetTenantId = _data["targetTenantId"]; - this.targetUserId = _data["targetUserId"]; + this.id = _data["id"]; + this.parentId = _data["parentId"]; + this.dir = _data["dir"]; + this.name = _data["name"]; + this.fileName = _data["fileName"]; } } - static fromJS(data: any): SwitchToLinkedAccountInput { + static fromJS(data: any): SysFileEditDto { data = typeof data === 'object' ? data : {}; - let result = new SwitchToLinkedAccountInput(); + let result = new SysFileEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["targetTenantId"] = this.targetTenantId; - data["targetUserId"] = this.targetUserId; + data["id"] = this.id; + data["parentId"] = this.parentId; + data["dir"] = this.dir; + data["name"] = this.name; + data["fileName"] = this.fileName; return data; } - clone(): SwitchToLinkedAccountInput { + clone(): SysFileEditDto { const json = this.toJSON(); - let result = new SwitchToLinkedAccountInput(); + let result = new SysFileEditDto(); result.init(json); return result; } } -/** 切换关联账户 */ -export interface ISwitchToLinkedAccountInput { - /** 目标租户Id */ - targetTenantId: string | undefined; - /** 目标用户Id */ - targetUserId: string | undefined; +export interface ISysFileEditDto { + id: string | undefined; + parentId: string | undefined; + dir: boolean; + name: string | undefined; + fileName: string | undefined; } -/** 切换关联账户输出 */ -export class SwitchToLinkedAccountOutput implements ISwitchToLinkedAccountOutput { - /** 切换账户令牌 */ - switchAccountToken: string | undefined; - /** 租户名称 */ - tenancyName: string | undefined; +export class SysFileListDto implements ISysFileListDto { + dir: boolean; + parentId: string | undefined; + isImg: boolean; + name: string | undefined; + fileName: string | undefined; + path: string | undefined; + fileExt: string | undefined; + contentType: string | undefined; + formattedSize: string | undefined; + size: number; + width: number; + height: number; + code: string | undefined; + physicalPath: string | undefined; + url: string | undefined; + thumbUrl: string | undefined; + preview: string | undefined; + downloadUrl: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: string; - constructor(data?: ISwitchToLinkedAccountOutput) { + constructor(data?: ISysFileListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -100409,55 +135174,118 @@ export class SwitchToLinkedAccountOutput implements ISwitchToLinkedAccountOutput init(_data?: any) { if (_data) { - this.switchAccountToken = _data["switchAccountToken"]; - this.tenancyName = _data["tenancyName"]; + this.dir = _data["dir"]; + this.parentId = _data["parentId"]; + this.isImg = _data["isImg"]; + this.name = _data["name"]; + this.fileName = _data["fileName"]; + this.path = _data["path"]; + this.fileExt = _data["fileExt"]; + this.contentType = _data["contentType"]; + this.formattedSize = _data["formattedSize"]; + this.size = _data["size"]; + this.width = _data["width"]; + this.height = _data["height"]; + this.code = _data["code"]; + this.physicalPath = _data["physicalPath"]; + this.url = _data["url"]; + this.thumbUrl = _data["thumbUrl"]; + this.preview = _data["preview"]; + this.downloadUrl = _data["downloadUrl"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): SwitchToLinkedAccountOutput { + static fromJS(data: any): SysFileListDto { data = typeof data === 'object' ? data : {}; - let result = new SwitchToLinkedAccountOutput(); + let result = new SysFileListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["switchAccountToken"] = this.switchAccountToken; - data["tenancyName"] = this.tenancyName; + data["dir"] = this.dir; + data["parentId"] = this.parentId; + data["isImg"] = this.isImg; + data["name"] = this.name; + data["fileName"] = this.fileName; + data["path"] = this.path; + data["fileExt"] = this.fileExt; + data["contentType"] = this.contentType; + data["formattedSize"] = this.formattedSize; + data["size"] = this.size; + data["width"] = this.width; + data["height"] = this.height; + data["code"] = this.code; + data["physicalPath"] = this.physicalPath; + data["url"] = this.url; + data["thumbUrl"] = this.thumbUrl; + data["preview"] = this.preview; + data["downloadUrl"] = this.downloadUrl; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): SwitchToLinkedAccountOutput { + clone(): SysFileListDto { const json = this.toJSON(); - let result = new SwitchToLinkedAccountOutput(); + let result = new SysFileListDto(); result.init(json); return result; } } -/** 切换关联账户输出 */ -export interface ISwitchToLinkedAccountOutput { - /** 切换账户令牌 */ - switchAccountToken: string | undefined; - /** 租户名称 */ - tenancyName: string | undefined; +export interface ISysFileListDto { + dir: boolean; + parentId: string | undefined; + isImg: boolean; + name: string | undefined; + fileName: string | undefined; + path: string | undefined; + fileExt: string | undefined; + contentType: string | undefined; + formattedSize: string | undefined; + size: number; + width: number; + height: number; + code: string | undefined; + physicalPath: string | undefined; + url: string | undefined; + thumbUrl: string | undefined; + preview: string | undefined; + downloadUrl: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: string; } -/** 切换账户认证结果模型 */ -export class SwitchedAccountAuthenticateResultModel implements ISwitchedAccountAuthenticateResultModel { - /** 访问令牌 */ - accessToken: string | undefined; - /** 加密访问令牌 */ - encryptedAccessToken: string | undefined; - /** 过期时间 */ - expireInSeconds: number; - /** 刷新令牌 */ - refreshToken: string | undefined; - /** 刷新令牌过期时间 */ - refreshTokenExpireInSeconds: number; +export class SysLabelDataSourceEditDto implements ISysLabelDataSourceEditDto { + key: string | undefined; + id: number | undefined; + sourceCode: string; + sourceName: string; + sqlTxt: string | undefined; + formatSqlTxt: string | undefined; + paras: string; + dbParas: string | undefined; + linkCols: string | undefined; + link2Cols: string | undefined; + otherDataBaseID: string | undefined; + workPointDataFlag: string | undefined; + sysDataFlag: string | undefined; + memo: string | undefined; - constructor(data?: ISwitchedAccountAuthenticateResultModel) { + constructor(data?: ISysLabelDataSourceEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -100468,93 +135296,97 @@ export class SwitchedAccountAuthenticateResultModel implements ISwitchedAccountA init(_data?: any) { if (_data) { - this.accessToken = _data["accessToken"]; - this.encryptedAccessToken = _data["encryptedAccessToken"]; - this.expireInSeconds = _data["expireInSeconds"]; - this.refreshToken = _data["refreshToken"]; - this.refreshTokenExpireInSeconds = _data["refreshTokenExpireInSeconds"]; + this.key = _data["key"]; + this.id = _data["id"]; + this.sourceCode = _data["sourceCode"]; + this.sourceName = _data["sourceName"]; + this.sqlTxt = _data["sqlTxt"]; + this.formatSqlTxt = _data["formatSqlTxt"]; + this.paras = _data["paras"]; + this.dbParas = _data["dbParas"]; + this.linkCols = _data["linkCols"]; + this.link2Cols = _data["link2Cols"]; + this.otherDataBaseID = _data["otherDataBaseID"]; + this.workPointDataFlag = _data["workPointDataFlag"]; + this.sysDataFlag = _data["sysDataFlag"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): SwitchedAccountAuthenticateResultModel { + static fromJS(data: any): SysLabelDataSourceEditDto { data = typeof data === 'object' ? data : {}; - let result = new SwitchedAccountAuthenticateResultModel(); + let result = new SysLabelDataSourceEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["accessToken"] = this.accessToken; - data["encryptedAccessToken"] = this.encryptedAccessToken; - data["expireInSeconds"] = this.expireInSeconds; - data["refreshToken"] = this.refreshToken; - data["refreshTokenExpireInSeconds"] = this.refreshTokenExpireInSeconds; + data["key"] = this.key; + data["id"] = this.id; + data["sourceCode"] = this.sourceCode; + data["sourceName"] = this.sourceName; + data["sqlTxt"] = this.sqlTxt; + data["formatSqlTxt"] = this.formatSqlTxt; + data["paras"] = this.paras; + data["dbParas"] = this.dbParas; + data["linkCols"] = this.linkCols; + data["link2Cols"] = this.link2Cols; + data["otherDataBaseID"] = this.otherDataBaseID; + data["workPointDataFlag"] = this.workPointDataFlag; + data["sysDataFlag"] = this.sysDataFlag; + data["memo"] = this.memo; return data; } - clone(): SwitchedAccountAuthenticateResultModel { + clone(): SysLabelDataSourceEditDto { const json = this.toJSON(); - let result = new SwitchedAccountAuthenticateResultModel(); + let result = new SysLabelDataSourceEditDto(); result.init(json); return result; } } -/** 切换账户认证结果模型 */ -export interface ISwitchedAccountAuthenticateResultModel { - /** 访问令牌 */ - accessToken: string | undefined; - /** 加密访问令牌 */ - encryptedAccessToken: string | undefined; - /** 过期时间 */ - expireInSeconds: number; - /** 刷新令牌 */ - refreshToken: string | undefined; - /** 刷新令牌过期时间 */ - refreshTokenExpireInSeconds: number; +export interface ISysLabelDataSourceEditDto { + key: string | undefined; + id: number | undefined; + sourceCode: string; + sourceName: string; + sqlTxt: string | undefined; + formatSqlTxt: string | undefined; + paras: string; + dbParas: string | undefined; + linkCols: string | undefined; + link2Cols: string | undefined; + otherDataBaseID: string | undefined; + workPointDataFlag: string | undefined; + sysDataFlag: string | undefined; + memo: string | undefined; } -export class SysDataBaseEditDto implements ISysDataBaseEditDto { - id: number | undefined; - /** 数据源编码 */ - dbSourceCode: string | undefined; - /** 数据源名称 */ - dbSourceName: string | undefined; - /** 服务地址 */ - dbipAddress: string | undefined; - /** 数据库名 */ - dbName: string | undefined; - /** 用户 */ - dbUser: string | undefined; - /** 密码 */ - dbPwd: string | undefined; - /** 端口 */ - dbPonit: string | undefined; - /** 备注 */ +export class SysLabelDataSourceListDto implements ISysLabelDataSourceListDto { + key: string | undefined; + sourceCode: string | undefined; + sourceName: string | undefined; + sqlTxt: string | undefined; + formatSqlTxt: string | undefined; + paras: string | undefined; + dbParas: string | undefined; + linkCols: string | undefined; + link2Cols: string | undefined; + otherDataBaseID: string | undefined; + workPointDataFlag: string | undefined; + sysDataFlag: string | undefined; memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; - constructor(data?: ISysDataBaseEditDto) { + constructor(data?: ISysLabelDataSourceListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -100565,144 +135397,83 @@ export class SysDataBaseEditDto implements ISysDataBaseEditDto { init(_data?: any) { if (_data) { - this.id = _data["id"]; - this.dbSourceCode = _data["dbSourceCode"]; - this.dbSourceName = _data["dbSourceName"]; - this.dbipAddress = _data["dbipAddress"]; - this.dbName = _data["dbName"]; - this.dbUser = _data["dbUser"]; - this.dbPwd = _data["dbPwd"]; - this.dbPonit = _data["dbPonit"]; + this.key = _data["key"]; + this.sourceCode = _data["sourceCode"]; + this.sourceName = _data["sourceName"]; + this.sqlTxt = _data["sqlTxt"]; + this.formatSqlTxt = _data["formatSqlTxt"]; + this.paras = _data["paras"]; + this.dbParas = _data["dbParas"]; + this.linkCols = _data["linkCols"]; + this.link2Cols = _data["link2Cols"]; + this.otherDataBaseID = _data["otherDataBaseID"]; + this.workPointDataFlag = _data["workPointDataFlag"]; + this.sysDataFlag = _data["sysDataFlag"]; this.memo = _data["memo"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): SysDataBaseEditDto { + static fromJS(data: any): SysLabelDataSourceListDto { data = typeof data === 'object' ? data : {}; - let result = new SysDataBaseEditDto(); + let result = new SysLabelDataSourceListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["dbSourceCode"] = this.dbSourceCode; - data["dbSourceName"] = this.dbSourceName; - data["dbipAddress"] = this.dbipAddress; - data["dbName"] = this.dbName; - data["dbUser"] = this.dbUser; - data["dbPwd"] = this.dbPwd; - data["dbPonit"] = this.dbPonit; + data["key"] = this.key; + data["sourceCode"] = this.sourceCode; + data["sourceName"] = this.sourceName; + data["sqlTxt"] = this.sqlTxt; + data["formatSqlTxt"] = this.formatSqlTxt; + data["paras"] = this.paras; + data["dbParas"] = this.dbParas; + data["linkCols"] = this.linkCols; + data["link2Cols"] = this.link2Cols; + data["otherDataBaseID"] = this.otherDataBaseID; + data["workPointDataFlag"] = this.workPointDataFlag; + data["sysDataFlag"] = this.sysDataFlag; data["memo"] = this.memo; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): SysDataBaseEditDto { + clone(): SysLabelDataSourceListDto { const json = this.toJSON(); - let result = new SysDataBaseEditDto(); - result.init(json); - return result; - } -} - -export interface ISysDataBaseEditDto { - id: number | undefined; - /** 数据源编码 */ - dbSourceCode: string | undefined; - /** 数据源名称 */ - dbSourceName: string | undefined; - /** 服务地址 */ - dbipAddress: string | undefined; - /** 数据库名 */ - dbName: string | undefined; - /** 用户 */ - dbUser: string | undefined; - /** 密码 */ - dbPwd: string | undefined; - /** 端口 */ - dbPonit: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; -} - -export class SysDataBaseListDto implements ISysDataBaseListDto { - /** 数据源编码 */ - dbSourceCode: string; - /** 数据源名称 */ - dbSourceName: string; - /** 服务地址 */ - dbipAddress: string; - /** 数据库名 */ - dbName: string; - /** 用户 */ - dbUser: string; - /** 密码 */ - dbPwd: string; - /** 端口 */ - dbPonit: string; - /** 备注 */ - memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; + let result = new SysLabelDataSourceListDto(); + result.init(json); + return result; + } +} + +export interface ISysLabelDataSourceListDto { + key: string | undefined; + sourceCode: string | undefined; + sourceName: string | undefined; + sqlTxt: string | undefined; + formatSqlTxt: string | undefined; + paras: string | undefined; + dbParas: string | undefined; + linkCols: string | undefined; + link2Cols: string | undefined; + otherDataBaseID: string | undefined; + workPointDataFlag: string | undefined; + sysDataFlag: string | undefined; + memo: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -100710,8 +135481,21 @@ export class SysDataBaseListDto implements ISysDataBaseListDto { creationTime: moment.Moment; creatorUserId: string | undefined; id: number; +} - constructor(data?: ISysDataBaseListDto) { +export class SysLabelEditDto implements ISysLabelEditDto { + key: string | undefined; + id: number | undefined; + labelType: string | undefined; + labelCode: string | undefined; + labelName: string | undefined; + labelXml: string | undefined; + labelSourceID: number; + fileID: string | undefined; + labelPath: string | undefined; + memo: string | undefined; + + constructor(data?: ISysLabelEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -100722,116 +135506,74 @@ export class SysDataBaseListDto implements ISysDataBaseListDto { init(_data?: any) { if (_data) { - this.dbSourceCode = _data["dbSourceCode"]; - this.dbSourceName = _data["dbSourceName"]; - this.dbipAddress = _data["dbipAddress"]; - this.dbName = _data["dbName"]; - this.dbUser = _data["dbUser"]; - this.dbPwd = _data["dbPwd"]; - this.dbPonit = _data["dbPonit"]; - this.memo = _data["memo"]; - this.default1 = _data["default1"]; - this.default2 = _data["default2"]; - this.default3 = _data["default3"]; - this.default4 = _data["default4"]; - this.default5 = _data["default5"]; - this.default6 = _data["default6"]; - this.default7 = _data["default7"]; - this.default8 = _data["default8"]; - this.default9 = _data["default9"]; - this.default10 = _data["default10"]; - this.creatorUserName = _data["creatorUserName"]; - this.lastModifierUserName = _data["lastModifierUserName"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; + this.key = _data["key"]; this.id = _data["id"]; + this.labelType = _data["labelType"]; + this.labelCode = _data["labelCode"]; + this.labelName = _data["labelName"]; + this.labelXml = _data["labelXml"]; + this.labelSourceID = _data["labelSourceID"]; + this.fileID = _data["fileID"]; + this.labelPath = _data["labelPath"]; + this.memo = _data["memo"]; } } - static fromJS(data: any): SysDataBaseListDto { + static fromJS(data: any): SysLabelEditDto { data = typeof data === 'object' ? data : {}; - let result = new SysDataBaseListDto(); + let result = new SysLabelEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["dbSourceCode"] = this.dbSourceCode; - data["dbSourceName"] = this.dbSourceName; - data["dbipAddress"] = this.dbipAddress; - data["dbName"] = this.dbName; - data["dbUser"] = this.dbUser; - data["dbPwd"] = this.dbPwd; - data["dbPonit"] = this.dbPonit; - data["memo"] = this.memo; - data["default1"] = this.default1; - data["default2"] = this.default2; - data["default3"] = this.default3; - data["default4"] = this.default4; - data["default5"] = this.default5; - data["default6"] = this.default6; - data["default7"] = this.default7; - data["default8"] = this.default8; - data["default9"] = this.default9; - data["default10"] = this.default10; - data["creatorUserName"] = this.creatorUserName; - data["lastModifierUserName"] = this.lastModifierUserName; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; + data["key"] = this.key; data["id"] = this.id; + data["labelType"] = this.labelType; + data["labelCode"] = this.labelCode; + data["labelName"] = this.labelName; + data["labelXml"] = this.labelXml; + data["labelSourceID"] = this.labelSourceID; + data["fileID"] = this.fileID; + data["labelPath"] = this.labelPath; + data["memo"] = this.memo; return data; } - clone(): SysDataBaseListDto { + clone(): SysLabelEditDto { const json = this.toJSON(); - let result = new SysDataBaseListDto(); + let result = new SysLabelEditDto(); result.init(json); return result; } } -export interface ISysDataBaseListDto { - /** 数据源编码 */ - dbSourceCode: string; - /** 数据源名称 */ - dbSourceName: string; - /** 服务地址 */ - dbipAddress: string; - /** 数据库名 */ - dbName: string; - /** 用户 */ - dbUser: string; - /** 密码 */ - dbPwd: string; - /** 端口 */ - dbPonit: string; - /** 备注 */ +export interface ISysLabelEditDto { + key: string | undefined; + id: number | undefined; + labelType: string | undefined; + labelCode: string | undefined; + labelName: string | undefined; + labelXml: string | undefined; + labelSourceID: number; + fileID: string | undefined; + labelPath: string | undefined; + memo: string | undefined; +} + +export class SysLabelListDto implements ISysLabelListDto { + key: string | undefined; + labelType: string | undefined; + labelTypeText: string | undefined; + labelCode: string | undefined; + labelName: string | undefined; + labelXml: string | undefined; + labelSourceID: number; + labelSourceName: string | undefined; + labelPath: string | undefined; + fileID: string | undefined; memo: string | undefined; - /** 保留字段1 */ - default1: string | undefined; - /** 保留字段2 */ - default2: string | undefined; - /** 保留字段3 */ - default3: string | undefined; - /** 保留字段4 */ - default4: string | undefined; - /** 保留字段5 */ - default5: string | undefined; - /** 保留字段6 */ - default6: string | undefined; - /** 保留字段7 */ - default7: string | undefined; - /** 保留字段8 */ - default8: string | undefined; - /** 保留字段9 */ - default9: string | undefined; - /** 保留字段10 */ - default10: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -100839,19 +135581,8 @@ export interface ISysDataBaseListDto { creationTime: moment.Moment; creatorUserId: string | undefined; id: number; -} - -export class SysEnumImportDto implements ISysEnumImportDto { - /** 档案代码 */ - enumKey: string; - /** 档案名称 */ - enumName: string; - /** 档案描述 */ - enumDesc: string | undefined; - /** 父节点 */ - pEnumKey: string | undefined; - constructor(data?: ISysEnumImportDto) { + constructor(data?: ISysLabelListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -100862,86 +135593,109 @@ export class SysEnumImportDto implements ISysEnumImportDto { init(_data?: any) { if (_data) { - this.enumKey = _data["enumKey"]; - this.enumName = _data["enumName"]; - this.enumDesc = _data["enumDesc"]; - this.pEnumKey = _data["pEnumKey"]; + this.key = _data["key"]; + this.labelType = _data["labelType"]; + this.labelTypeText = _data["labelTypeText"]; + this.labelCode = _data["labelCode"]; + this.labelName = _data["labelName"]; + this.labelXml = _data["labelXml"]; + this.labelSourceID = _data["labelSourceID"]; + this.labelSourceName = _data["labelSourceName"]; + this.labelPath = _data["labelPath"]; + this.fileID = _data["fileID"]; + this.memo = _data["memo"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; } } - static fromJS(data: any): SysEnumImportDto { + static fromJS(data: any): SysLabelListDto { data = typeof data === 'object' ? data : {}; - let result = new SysEnumImportDto(); + let result = new SysLabelListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["enumKey"] = this.enumKey; - data["enumName"] = this.enumName; - data["enumDesc"] = this.enumDesc; - data["pEnumKey"] = this.pEnumKey; + data["key"] = this.key; + data["labelType"] = this.labelType; + data["labelTypeText"] = this.labelTypeText; + data["labelCode"] = this.labelCode; + data["labelName"] = this.labelName; + data["labelXml"] = this.labelXml; + data["labelSourceID"] = this.labelSourceID; + data["labelSourceName"] = this.labelSourceName; + data["labelPath"] = this.labelPath; + data["fileID"] = this.fileID; + data["memo"] = this.memo; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; return data; } - clone(): SysEnumImportDto { + clone(): SysLabelListDto { const json = this.toJSON(); - let result = new SysEnumImportDto(); + let result = new SysLabelListDto(); result.init(json); return result; } } -export interface ISysEnumImportDto { - /** 档案代码 */ - enumKey: string; - /** 档案名称 */ - enumName: string; - /** 档案描述 */ - enumDesc: string | undefined; - /** 父节点 */ - pEnumKey: string | undefined; +export interface ISysLabelListDto { + key: string | undefined; + labelType: string | undefined; + labelTypeText: string | undefined; + labelCode: string | undefined; + labelName: string | undefined; + labelXml: string | undefined; + labelSourceID: number; + labelSourceName: string | undefined; + labelPath: string | undefined; + fileID: string | undefined; + memo: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; } -export class SysEnumKeyEditDto implements ISysEnumKeyEditDto { +export class SysLabelRuleEditDto implements ISysLabelRuleEditDto { + key: string | undefined; id: number | undefined; - /** 档案类型 sys:系统,user:用户 */ - enumType: string | undefined; - /** 档案代码 */ - enumKey: string | undefined; - /** 档案名称 */ - enumName: string | undefined; - /** 档案描述 */ - enumDesc: string | undefined; - /** 父节点 */ - pEnumKey: string | undefined; - /** 保留字段1 */ + ruleCode: string | undefined; + ruleName: string | undefined; + prefix: string | undefined; + suffix: string | undefined; + dateCode: string | undefined; + serialLength: number; + ruleSeq: string | undefined; + memo: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ - memo: string | undefined; - enumValueList: string | undefined; - detailList: SysEnumValueListDto[] | undefined; - constructor(data?: ISysEnumKeyEditDto) { + constructor(data?: ISysLabelRuleEditDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -100952,12 +135706,16 @@ export class SysEnumKeyEditDto implements ISysEnumKeyEditDto { init(_data?: any) { if (_data) { + this.key = _data["key"]; this.id = _data["id"]; - this.enumType = _data["enumType"]; - this.enumKey = _data["enumKey"]; - this.enumName = _data["enumName"]; - this.enumDesc = _data["enumDesc"]; - this.pEnumKey = _data["pEnumKey"]; + this.ruleCode = _data["ruleCode"]; + this.ruleName = _data["ruleName"]; + this.prefix = _data["prefix"]; + this.suffix = _data["suffix"]; + this.dateCode = _data["dateCode"]; + this.serialLength = _data["serialLength"]; + this.ruleSeq = _data["ruleSeq"]; + this.memo = _data["memo"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; @@ -100968,31 +135726,28 @@ export class SysEnumKeyEditDto implements ISysEnumKeyEditDto { this.default8 = _data["default8"]; this.default9 = _data["default9"]; this.default10 = _data["default10"]; - this.memo = _data["memo"]; - this.enumValueList = _data["enumValueList"]; - if (Array.isArray(_data["detailList"])) { - this.detailList = [] as any; - for (let item of _data["detailList"]) - this.detailList.push(SysEnumValueListDto.fromJS(item)); - } } } - static fromJS(data: any): SysEnumKeyEditDto { + static fromJS(data: any): SysLabelRuleEditDto { data = typeof data === 'object' ? data : {}; - let result = new SysEnumKeyEditDto(); + let result = new SysLabelRuleEditDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; + data["key"] = this.key; data["id"] = this.id; - data["enumType"] = this.enumType; - data["enumKey"] = this.enumKey; - data["enumName"] = this.enumName; - data["enumDesc"] = this.enumDesc; - data["pEnumKey"] = this.pEnumKey; + data["ruleCode"] = this.ruleCode; + data["ruleName"] = this.ruleName; + data["prefix"] = this.prefix; + data["suffix"] = this.suffix; + data["dateCode"] = this.dateCode; + data["serialLength"] = this.serialLength; + data["ruleSeq"] = this.ruleSeq; + data["memo"] = this.memo; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; @@ -101003,93 +135758,63 @@ export class SysEnumKeyEditDto implements ISysEnumKeyEditDto { data["default8"] = this.default8; data["default9"] = this.default9; data["default10"] = this.default10; - data["memo"] = this.memo; - data["enumValueList"] = this.enumValueList; - if (Array.isArray(this.detailList)) { - data["detailList"] = []; - for (let item of this.detailList) - data["detailList"].push(item.toJSON()); - } return data; } - clone(): SysEnumKeyEditDto { + clone(): SysLabelRuleEditDto { const json = this.toJSON(); - let result = new SysEnumKeyEditDto(); + let result = new SysLabelRuleEditDto(); result.init(json); return result; } } -export interface ISysEnumKeyEditDto { +export interface ISysLabelRuleEditDto { + key: string | undefined; id: number | undefined; - /** 档案类型 sys:系统,user:用户 */ - enumType: string | undefined; - /** 档案代码 */ - enumKey: string | undefined; - /** 档案名称 */ - enumName: string | undefined; - /** 档案描述 */ - enumDesc: string | undefined; - /** 父节点 */ - pEnumKey: string | undefined; - /** 保留字段1 */ + ruleCode: string | undefined; + ruleName: string | undefined; + prefix: string | undefined; + suffix: string | undefined; + dateCode: string | undefined; + serialLength: number; + ruleSeq: string | undefined; + memo: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ - memo: string | undefined; - enumValueList: string | undefined; - detailList: SysEnumValueListDto[] | undefined; } -export class SysEnumKeyListDto implements ISysEnumKeyListDto { - /** 档案代码 */ - enumKey: string; - /** 档案名称 */ - enumName: string; - /** 档案描述 */ - enumDesc: string | undefined; - /** 父节点 */ - pEnumKey: string | undefined; - /** 保留字段1 */ +export class SysLabelRuleListDto implements ISysLabelRuleListDto { + key: string | undefined; + ruleCode: string | undefined; + ruleName: string | undefined; + prefix: string | undefined; + suffix: string | undefined; + dateCode: string | undefined; + dateCodeText: string | undefined; + serialLength: number; + ruleSeq: string | undefined; + memo: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ - memo: string | undefined; + tableName: string | undefined; + columnName: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -101098,7 +135823,7 @@ export class SysEnumKeyListDto implements ISysEnumKeyListDto { creatorUserId: string | undefined; id: number; - constructor(data?: ISysEnumKeyListDto) { + constructor(data?: ISysLabelRuleListDto) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -101109,10 +135834,16 @@ export class SysEnumKeyListDto implements ISysEnumKeyListDto { init(_data?: any) { if (_data) { - this.enumKey = _data["enumKey"]; - this.enumName = _data["enumName"]; - this.enumDesc = _data["enumDesc"]; - this.pEnumKey = _data["pEnumKey"]; + this.key = _data["key"]; + this.ruleCode = _data["ruleCode"]; + this.ruleName = _data["ruleName"]; + this.prefix = _data["prefix"]; + this.suffix = _data["suffix"]; + this.dateCode = _data["dateCode"]; + this.dateCodeText = _data["dateCodeText"]; + this.serialLength = _data["serialLength"]; + this.ruleSeq = _data["ruleSeq"]; + this.memo = _data["memo"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; @@ -101123,7 +135854,8 @@ export class SysEnumKeyListDto implements ISysEnumKeyListDto { this.default8 = _data["default8"]; this.default9 = _data["default9"]; this.default10 = _data["default10"]; - this.memo = _data["memo"]; + this.tableName = _data["tableName"]; + this.columnName = _data["columnName"]; this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; @@ -101134,19 +135866,25 @@ export class SysEnumKeyListDto implements ISysEnumKeyListDto { } } - static fromJS(data: any): SysEnumKeyListDto { + static fromJS(data: any): SysLabelRuleListDto { data = typeof data === 'object' ? data : {}; - let result = new SysEnumKeyListDto(); + let result = new SysLabelRuleListDto(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["enumKey"] = this.enumKey; - data["enumName"] = this.enumName; - data["enumDesc"] = this.enumDesc; - data["pEnumKey"] = this.pEnumKey; + data["key"] = this.key; + data["ruleCode"] = this.ruleCode; + data["ruleName"] = this.ruleName; + data["prefix"] = this.prefix; + data["suffix"] = this.suffix; + data["dateCode"] = this.dateCode; + data["dateCodeText"] = this.dateCodeText; + data["serialLength"] = this.serialLength; + data["ruleSeq"] = this.ruleSeq; + data["memo"] = this.memo; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; @@ -101157,7 +135895,8 @@ export class SysEnumKeyListDto implements ISysEnumKeyListDto { data["default8"] = this.default8; data["default9"] = this.default9; data["default10"] = this.default10; - data["memo"] = this.memo; + data["tableName"] = this.tableName; + data["columnName"] = this.columnName; data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; @@ -101168,45 +135907,37 @@ export class SysEnumKeyListDto implements ISysEnumKeyListDto { return data; } - clone(): SysEnumKeyListDto { + clone(): SysLabelRuleListDto { const json = this.toJSON(); - let result = new SysEnumKeyListDto(); + let result = new SysLabelRuleListDto(); result.init(json); return result; } } -export interface ISysEnumKeyListDto { - /** 档案代码 */ - enumKey: string; - /** 档案名称 */ - enumName: string; - /** 档案描述 */ - enumDesc: string | undefined; - /** 父节点 */ - pEnumKey: string | undefined; - /** 保留字段1 */ +export interface ISysLabelRuleListDto { + key: string | undefined; + ruleCode: string | undefined; + ruleName: string | undefined; + prefix: string | undefined; + suffix: string | undefined; + dateCode: string | undefined; + dateCodeText: string | undefined; + serialLength: number; + ruleSeq: string | undefined; + memo: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ - memo: string | undefined; + tableName: string | undefined; + columnName: string | undefined; creatorUserName: string | undefined; lastModifierUserName: string | undefined; lastModificationTime: moment.Moment | undefined; @@ -101216,52 +135947,35 @@ export interface ISysEnumKeyListDto { id: number; } -export class SysEnumValueListDto implements ISysEnumValueListDto { - key: string | undefined; - /** 档案代码 */ - enumKey: string; - enumName: string | undefined; - /** 枚举值 */ - enumValue: string; - /** 枚举文本 */ - enumText: string; - /** 枚举描述 */ - enumDesc: string | undefined; - parentEnumDesc: string | undefined; - /** 保留字段1 */ +export class SysParameterSetting implements ISysParameterSetting { + tenantId: string; + paramCode: string; + paramName: string; + paramDesc: string | undefined; + paramValue: string; + paramValueCode: string; + paramValueName: string | undefined; + paramValueDesc: string | undefined; + memo: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 启用标识 */ - startFlag: number; - startFlagCheck: boolean; - creatorUserName: string | undefined; lastModifierUserName: string | undefined; + creatorUserName: string | undefined; lastModificationTime: moment.Moment | undefined; lastModifierUserId: string | undefined; creationTime: moment.Moment; creatorUserId: string | undefined; id: number; - constructor(data?: ISysEnumValueListDto) { + constructor(data?: ISysParameterSetting) { if (data) { for (var property in data) { if (data.hasOwnProperty(property)) @@ -101272,13 +135986,15 @@ export class SysEnumValueListDto implements ISysEnumValueListDto { init(_data?: any) { if (_data) { - this.key = _data["key"]; - this.enumKey = _data["enumKey"]; - this.enumName = _data["enumName"]; - this.enumValue = _data["enumValue"]; - this.enumText = _data["enumText"]; - this.enumDesc = _data["enumDesc"]; - this.parentEnumDesc = _data["parentEnumDesc"]; + this.tenantId = _data["tenantId"]; + this.paramCode = _data["paramCode"]; + this.paramName = _data["paramName"]; + this.paramDesc = _data["paramDesc"]; + this.paramValue = _data["paramValue"]; + this.paramValueCode = _data["paramValueCode"]; + this.paramValueName = _data["paramValueName"]; + this.paramValueDesc = _data["paramValueDesc"]; + this.memo = _data["memo"]; this.default1 = _data["default1"]; this.default2 = _data["default2"]; this.default3 = _data["default3"]; @@ -101289,11 +136005,8 @@ export class SysEnumValueListDto implements ISysEnumValueListDto { this.default8 = _data["default8"]; this.default9 = _data["default9"]; this.default10 = _data["default10"]; - this.memo = _data["memo"]; - this.startFlag = _data["startFlag"]; - this.startFlagCheck = _data["startFlagCheck"]; - this.creatorUserName = _data["creatorUserName"]; this.lastModifierUserName = _data["lastModifierUserName"]; + this.creatorUserName = _data["creatorUserName"]; this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; this.lastModifierUserId = _data["lastModifierUserId"]; this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; @@ -101302,22 +136015,24 @@ export class SysEnumValueListDto implements ISysEnumValueListDto { } } - static fromJS(data: any): SysEnumValueListDto { + static fromJS(data: any): SysParameterSetting { data = typeof data === 'object' ? data : {}; - let result = new SysEnumValueListDto(); + let result = new SysParameterSetting(); result.init(data); return result; } toJSON(data?: any) { data = typeof data === 'object' ? data : {}; - data["key"] = this.key; - data["enumKey"] = this.enumKey; - data["enumName"] = this.enumName; - data["enumValue"] = this.enumValue; - data["enumText"] = this.enumText; - data["enumDesc"] = this.enumDesc; - data["parentEnumDesc"] = this.parentEnumDesc; + data["tenantId"] = this.tenantId; + data["paramCode"] = this.paramCode; + data["paramName"] = this.paramName; + data["paramDesc"] = this.paramDesc; + data["paramValue"] = this.paramValue; + data["paramValueCode"] = this.paramValueCode; + data["paramValueName"] = this.paramValueName; + data["paramValueDesc"] = this.paramValueDesc; + data["memo"] = this.memo; data["default1"] = this.default1; data["default2"] = this.default2; data["default3"] = this.default3; @@ -101328,11 +136043,8 @@ export class SysEnumValueListDto implements ISysEnumValueListDto { data["default8"] = this.default8; data["default9"] = this.default9; data["default10"] = this.default10; - data["memo"] = this.memo; - data["startFlag"] = this.startFlag; - data["startFlagCheck"] = this.startFlagCheck; - data["creatorUserName"] = this.creatorUserName; data["lastModifierUserName"] = this.lastModifierUserName; + data["creatorUserName"] = this.creatorUserName; data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; data["lastModifierUserId"] = this.lastModifierUserId; data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; @@ -101341,53 +136053,36 @@ export class SysEnumValueListDto implements ISysEnumValueListDto { return data; } - clone(): SysEnumValueListDto { + clone(): SysParameterSetting { const json = this.toJSON(); - let result = new SysEnumValueListDto(); + let result = new SysParameterSetting(); result.init(json); return result; } } -export interface ISysEnumValueListDto { - key: string | undefined; - /** 档案代码 */ - enumKey: string; - enumName: string | undefined; - /** 枚举值 */ - enumValue: string; - /** 枚举文本 */ - enumText: string; - /** 枚举描述 */ - enumDesc: string | undefined; - parentEnumDesc: string | undefined; - /** 保留字段1 */ +export interface ISysParameterSetting { + tenantId: string; + paramCode: string; + paramName: string; + paramDesc: string | undefined; + paramValue: string; + paramValueCode: string; + paramValueName: string | undefined; + paramValueDesc: string | undefined; + memo: string | undefined; default1: string | undefined; - /** 保留字段2 */ default2: string | undefined; - /** 保留字段3 */ default3: string | undefined; - /** 保留字段4 */ default4: string | undefined; - /** 保留字段5 */ default5: string | undefined; - /** 保留字段6 */ default6: string | undefined; - /** 保留字段7 */ default7: string | undefined; - /** 保留字段8 */ default8: string | undefined; - /** 保留字段9 */ default9: string | undefined; - /** 保留字段10 */ default10: string | undefined; - /** 备注 */ - memo: string | undefined; - /** 启用标识 */ - startFlag: number; - startFlagCheck: boolean; - creatorUserName: string | undefined; lastModifierUserName: string | undefined; + creatorUserName: string | undefined; lastModificationTime: moment.Moment | undefined; lastModifierUserId: string | undefined; creationTime: moment.Moment; @@ -101395,237 +136090,15 @@ export interface ISysEnumValueListDto { id: number; } -/** 文件的列表DTO YoyoBoot.Modules.FileManager.SysFile */ -export class SysFileEditDto implements ISysFileEditDto { - /** Id */ - id: string | undefined; - /** 父级Id */ - parentId: string | undefined; - /** 是否为文件夹 */ - dir: boolean; - /** 文件名 */ - name: string | undefined; - /** 原文件名 */ - fileName: string | undefined; - - constructor(data?: ISysFileEditDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } - } - } - - init(_data?: any) { - if (_data) { - this.id = _data["id"]; - this.parentId = _data["parentId"]; - this.dir = _data["dir"]; - this.name = _data["name"]; - this.fileName = _data["fileName"]; - } - } - - static fromJS(data: any): SysFileEditDto { - data = typeof data === 'object' ? data : {}; - let result = new SysFileEditDto(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["id"] = this.id; - data["parentId"] = this.parentId; - data["dir"] = this.dir; - data["name"] = this.name; - data["fileName"] = this.fileName; - return data; - } - - clone(): SysFileEditDto { - const json = this.toJSON(); - let result = new SysFileEditDto(); - result.init(json); - return result; - } -} - -/** 文件的列表DTO YoyoBoot.Modules.FileManager.SysFile */ -export interface ISysFileEditDto { - /** Id */ - id: string | undefined; - /** 父级Id */ - parentId: string | undefined; - /** 是否为文件夹 */ - dir: boolean; - /** 文件名 */ - name: string | undefined; - /** 原文件名 */ - fileName: string | undefined; -} - -/** 文件的编辑DTO YoyoBoot.Modules.FileManager.SysFile */ -export class SysFileListDto implements ISysFileListDto { - /** 是否为文件夹 */ - dir: boolean; - /** 父级 YoyoBoot.Modules.FileManager.SysFile Id. 如果是根节点,值为null */ - parentId: string | undefined; - /** 是否为图片 */ - isImg: boolean; - /** 文件名 */ - name: string | undefined; - /** 原文件名 */ - fileName: string | undefined; - /** 路径 */ - path: string | undefined; - /** 文件格式 */ - fileExt: string | undefined; - /** 文件类型 */ - contentType: string | undefined; - /** 格式化大小 */ - formattedSize: string | undefined; - /** 大小 */ - size: number; - /** 宽度 */ - width: number; - /** 高度 */ - height: number; - /** 编码 */ - code: string | undefined; - physicalPath: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string; - - constructor(data?: ISysFileListDto) { - if (data) { - for (var property in data) { - if (data.hasOwnProperty(property)) - (this)[property] = (data)[property]; - } - } - } - - init(_data?: any) { - if (_data) { - this.dir = _data["dir"]; - this.parentId = _data["parentId"]; - this.isImg = _data["isImg"]; - this.name = _data["name"]; - this.fileName = _data["fileName"]; - this.path = _data["path"]; - this.fileExt = _data["fileExt"]; - this.contentType = _data["contentType"]; - this.formattedSize = _data["formattedSize"]; - this.size = _data["size"]; - this.width = _data["width"]; - this.height = _data["height"]; - this.code = _data["code"]; - this.physicalPath = _data["physicalPath"]; - this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; - this.lastModifierUserId = _data["lastModifierUserId"]; - this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; - this.creatorUserId = _data["creatorUserId"]; - this.id = _data["id"]; - } - } - - static fromJS(data: any): SysFileListDto { - data = typeof data === 'object' ? data : {}; - let result = new SysFileListDto(); - result.init(data); - return result; - } - - toJSON(data?: any) { - data = typeof data === 'object' ? data : {}; - data["dir"] = this.dir; - data["parentId"] = this.parentId; - data["isImg"] = this.isImg; - data["name"] = this.name; - data["fileName"] = this.fileName; - data["path"] = this.path; - data["fileExt"] = this.fileExt; - data["contentType"] = this.contentType; - data["formattedSize"] = this.formattedSize; - data["size"] = this.size; - data["width"] = this.width; - data["height"] = this.height; - data["code"] = this.code; - data["physicalPath"] = this.physicalPath; - data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; - data["lastModifierUserId"] = this.lastModifierUserId; - data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; - data["creatorUserId"] = this.creatorUserId; - data["id"] = this.id; - return data; - } - - clone(): SysFileListDto { - const json = this.toJSON(); - let result = new SysFileListDto(); - result.init(json); - return result; - } -} - -/** 文件的编辑DTO YoyoBoot.Modules.FileManager.SysFile */ -export interface ISysFileListDto { - /** 是否为文件夹 */ - dir: boolean; - /** 父级 YoyoBoot.Modules.FileManager.SysFile Id. 如果是根节点,值为null */ - parentId: string | undefined; - /** 是否为图片 */ - isImg: boolean; - /** 文件名 */ - name: string | undefined; - /** 原文件名 */ - fileName: string | undefined; - /** 路径 */ - path: string | undefined; - /** 文件格式 */ - fileExt: string | undefined; - /** 文件类型 */ - contentType: string | undefined; - /** 格式化大小 */ - formattedSize: string | undefined; - /** 大小 */ - size: number; - /** 宽度 */ - width: number; - /** 高度 */ - height: number; - /** 编码 */ - code: string | undefined; - physicalPath: string | undefined; - lastModificationTime: moment.Moment | undefined; - lastModifierUserId: string | undefined; - creationTime: moment.Moment; - creatorUserId: string | undefined; - id: string; -} - export class SysParameterSettingDto implements ISysParameterSettingDto { id: number | undefined; - /** 参数编码 */ paramCode: string; - /** 参数名称 */ paramName: string; - /** 参数描述 */ paramDesc: string | undefined; - /** 参数值 */ paramValue: string; - /** 参数值编码 */ paramValueCode: string; - /** 参数值名称 */ paramValueName: string | undefined; - /** 参数值描述 */ paramValueDesc: string | undefined; - /** 参数描述 */ memo: string | undefined; constructor(data?: ISysParameterSettingDto) { @@ -101682,24 +136155,421 @@ export class SysParameterSettingDto implements ISysParameterSettingDto { export interface ISysParameterSettingDto { id: number | undefined; - /** 参数编码 */ paramCode: string; - /** 参数名称 */ paramName: string; - /** 参数描述 */ paramDesc: string | undefined; - /** 参数值 */ paramValue: string; - /** 参数值编码 */ paramValueCode: string; - /** 参数值名称 */ paramValueName: string | undefined; - /** 参数值描述 */ paramValueDesc: string | undefined; - /** 参数描述 */ memo: string | undefined; } +export class SysUserInfoEditDto implements ISysUserInfoEditDto { + key: string | undefined; + id: number | undefined; + userCode: string | undefined; + userName: string | undefined; + userDesc: string | undefined; + facCode: string | undefined; + deptCode: string | undefined; + deptName: string | undefined; + email: string | undefined; + phone: string | undefined; + mobilePhone: string | undefined; + salaryType: string | undefined; + isDeptManager: string | undefined; + isInspector: string | undefined; + isInspectorText: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + + constructor(data?: ISysUserInfoEditDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.key = _data["key"]; + this.id = _data["id"]; + this.userCode = _data["userCode"]; + this.userName = _data["userName"]; + this.userDesc = _data["userDesc"]; + this.facCode = _data["facCode"]; + this.deptCode = _data["deptCode"]; + this.deptName = _data["deptName"]; + this.email = _data["email"]; + this.phone = _data["phone"]; + this.mobilePhone = _data["mobilePhone"]; + this.salaryType = _data["salaryType"]; + this.isDeptManager = _data["isDeptManager"]; + this.isInspector = _data["isInspector"]; + this.isInspectorText = _data["isInspectorText"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + } + } + + static fromJS(data: any): SysUserInfoEditDto { + data = typeof data === 'object' ? data : {}; + let result = new SysUserInfoEditDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["key"] = this.key; + data["id"] = this.id; + data["userCode"] = this.userCode; + data["userName"] = this.userName; + data["userDesc"] = this.userDesc; + data["facCode"] = this.facCode; + data["deptCode"] = this.deptCode; + data["deptName"] = this.deptName; + data["email"] = this.email; + data["phone"] = this.phone; + data["mobilePhone"] = this.mobilePhone; + data["salaryType"] = this.salaryType; + data["isDeptManager"] = this.isDeptManager; + data["isInspector"] = this.isInspector; + data["isInspectorText"] = this.isInspectorText; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + return data; + } + + clone(): SysUserInfoEditDto { + const json = this.toJSON(); + let result = new SysUserInfoEditDto(); + result.init(json); + return result; + } +} + +export interface ISysUserInfoEditDto { + key: string | undefined; + id: number | undefined; + userCode: string | undefined; + userName: string | undefined; + userDesc: string | undefined; + facCode: string | undefined; + deptCode: string | undefined; + deptName: string | undefined; + email: string | undefined; + phone: string | undefined; + mobilePhone: string | undefined; + salaryType: string | undefined; + isDeptManager: string | undefined; + isInspector: string | undefined; + isInspectorText: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; +} + +export class SysUserInfoImportDto implements ISysUserInfoImportDto { + userCode: string; + userName: string; + userDesc: string | undefined; + facCode: string | undefined; + deptCode: string | undefined; + deptName: string | undefined; + email: string | undefined; + phone: string | undefined; + mobilePhone: string | undefined; + salaryType: string | undefined; + isDeptManager: string; + isInspector: string; + memo: string | undefined; + + constructor(data?: ISysUserInfoImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.userCode = _data["userCode"]; + this.userName = _data["userName"]; + this.userDesc = _data["userDesc"]; + this.facCode = _data["facCode"]; + this.deptCode = _data["deptCode"]; + this.deptName = _data["deptName"]; + this.email = _data["email"]; + this.phone = _data["phone"]; + this.mobilePhone = _data["mobilePhone"]; + this.salaryType = _data["salaryType"]; + this.isDeptManager = _data["isDeptManager"]; + this.isInspector = _data["isInspector"]; + this.memo = _data["memo"]; + } + } + + static fromJS(data: any): SysUserInfoImportDto { + data = typeof data === 'object' ? data : {}; + let result = new SysUserInfoImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["userCode"] = this.userCode; + data["userName"] = this.userName; + data["userDesc"] = this.userDesc; + data["facCode"] = this.facCode; + data["deptCode"] = this.deptCode; + data["deptName"] = this.deptName; + data["email"] = this.email; + data["phone"] = this.phone; + data["mobilePhone"] = this.mobilePhone; + data["salaryType"] = this.salaryType; + data["isDeptManager"] = this.isDeptManager; + data["isInspector"] = this.isInspector; + data["memo"] = this.memo; + return data; + } + + clone(): SysUserInfoImportDto { + const json = this.toJSON(); + let result = new SysUserInfoImportDto(); + result.init(json); + return result; + } +} + +export interface ISysUserInfoImportDto { + userCode: string; + userName: string; + userDesc: string | undefined; + facCode: string | undefined; + deptCode: string | undefined; + deptName: string | undefined; + email: string | undefined; + phone: string | undefined; + mobilePhone: string | undefined; + salaryType: string | undefined; + isDeptManager: string; + isInspector: string; + memo: string | undefined; +} + +export class SysUserInfoListDto implements ISysUserInfoListDto { + key: string | undefined; + userCode: string | undefined; + userName: string | undefined; + userDesc: string | undefined; + facCode: string | undefined; + deptCode: string | undefined; + deptName: string | undefined; + email: string | undefined; + phone: string | undefined; + mobilePhone: string | undefined; + salaryType: string | undefined; + isDeptManager: string | undefined; + isDeptManagerText: string | undefined; + isInspector: string | undefined; + isInspectorText: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; + + constructor(data?: ISysUserInfoListDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.key = _data["key"]; + this.userCode = _data["userCode"]; + this.userName = _data["userName"]; + this.userDesc = _data["userDesc"]; + this.facCode = _data["facCode"]; + this.deptCode = _data["deptCode"]; + this.deptName = _data["deptName"]; + this.email = _data["email"]; + this.phone = _data["phone"]; + this.mobilePhone = _data["mobilePhone"]; + this.salaryType = _data["salaryType"]; + this.isDeptManager = _data["isDeptManager"]; + this.isDeptManagerText = _data["isDeptManagerText"]; + this.isInspector = _data["isInspector"]; + this.isInspectorText = _data["isInspectorText"]; + this.memo = _data["memo"]; + this.default1 = _data["default1"]; + this.default2 = _data["default2"]; + this.default3 = _data["default3"]; + this.default4 = _data["default4"]; + this.default5 = _data["default5"]; + this.default6 = _data["default6"]; + this.default7 = _data["default7"]; + this.default8 = _data["default8"]; + this.default9 = _data["default9"]; + this.default10 = _data["default10"]; + this.creatorUserName = _data["creatorUserName"]; + this.lastModifierUserName = _data["lastModifierUserName"]; + this.lastModificationTime = _data["lastModificationTime"] ? moment(_data["lastModificationTime"].toString()) : undefined; + this.lastModifierUserId = _data["lastModifierUserId"]; + this.creationTime = _data["creationTime"] ? moment(_data["creationTime"].toString()) : undefined; + this.creatorUserId = _data["creatorUserId"]; + this.id = _data["id"]; + } + } + + static fromJS(data: any): SysUserInfoListDto { + data = typeof data === 'object' ? data : {}; + let result = new SysUserInfoListDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["key"] = this.key; + data["userCode"] = this.userCode; + data["userName"] = this.userName; + data["userDesc"] = this.userDesc; + data["facCode"] = this.facCode; + data["deptCode"] = this.deptCode; + data["deptName"] = this.deptName; + data["email"] = this.email; + data["phone"] = this.phone; + data["mobilePhone"] = this.mobilePhone; + data["salaryType"] = this.salaryType; + data["isDeptManager"] = this.isDeptManager; + data["isDeptManagerText"] = this.isDeptManagerText; + data["isInspector"] = this.isInspector; + data["isInspectorText"] = this.isInspectorText; + data["memo"] = this.memo; + data["default1"] = this.default1; + data["default2"] = this.default2; + data["default3"] = this.default3; + data["default4"] = this.default4; + data["default5"] = this.default5; + data["default6"] = this.default6; + data["default7"] = this.default7; + data["default8"] = this.default8; + data["default9"] = this.default9; + data["default10"] = this.default10; + data["creatorUserName"] = this.creatorUserName; + data["lastModifierUserName"] = this.lastModifierUserName; + data["lastModificationTime"] = this.lastModificationTime ? this.lastModificationTime.toISOString() : undefined; + data["lastModifierUserId"] = this.lastModifierUserId; + data["creationTime"] = this.creationTime ? this.creationTime.toISOString() : undefined; + data["creatorUserId"] = this.creatorUserId; + data["id"] = this.id; + return data; + } + + clone(): SysUserInfoListDto { + const json = this.toJSON(); + let result = new SysUserInfoListDto(); + result.init(json); + return result; + } +} + +export interface ISysUserInfoListDto { + key: string | undefined; + userCode: string | undefined; + userName: string | undefined; + userDesc: string | undefined; + facCode: string | undefined; + deptCode: string | undefined; + deptName: string | undefined; + email: string | undefined; + phone: string | undefined; + mobilePhone: string | undefined; + salaryType: string | undefined; + isDeptManager: string | undefined; + isDeptManagerText: string | undefined; + isInspector: string | undefined; + isInspectorText: string | undefined; + memo: string | undefined; + default1: string | undefined; + default2: string | undefined; + default3: string | undefined; + default4: string | undefined; + default5: string | undefined; + default6: string | undefined; + default7: string | undefined; + default8: string | undefined; + default9: string | undefined; + default10: string | undefined; + creatorUserName: string | undefined; + lastModifierUserName: string | undefined; + lastModificationTime: moment.Moment | undefined; + lastModifierUserId: string | undefined; + creationTime: moment.Moment; + creatorUserId: string | undefined; + id: number; +} + export class TemplateErrorInfo implements ITemplateErrorInfo { errorLevel: ErrorLevels; columnName: string | undefined; @@ -101755,20 +136625,15 @@ export interface ITemplateErrorInfo { message: string | undefined; } -/** 租户可用状态 */ export enum TenantAvailabilityState { Available = "Available", InActive = "InActive", NotFound = "NotFound", } -/** 租户发票设置 */ export class TenantBillingSettingsEditDto implements ITenantBillingSettingsEditDto { - /** 法人名称 */ legalName: string | undefined; - /** 地址 */ address: string | undefined; - /** 税号 */ taxVatNo: string | undefined; constructor(data?: ITenantBillingSettingsEditDto) { @@ -101811,31 +136676,19 @@ export class TenantBillingSettingsEditDto implements ITenantBillingSettingsEditD } } -/** 租户发票设置 */ export interface ITenantBillingSettingsEditDto { - /** 法人名称 */ legalName: string | undefined; - /** 地址 */ address: string | undefined; - /** 税号 */ taxVatNo: string | undefined; } -/** 租户编辑 */ export class TenantEditDto implements ITenantEditDto { - /** 租户名称 */ tenancyName: string; - /** 名称 */ name: string; - /** 连接字符串 */ connectionString: string | undefined; - /** 版本Id */ editionId: string | undefined; - /** 是否激活 */ isActive: boolean; - /** 订阅结束时间 */ subscriptionEndUtc: moment.Moment | undefined; - /** 是否在试用期 */ isInTrialPeriod: boolean; id: string | undefined; @@ -101889,30 +136742,19 @@ export class TenantEditDto implements ITenantEditDto { } } -/** 租户编辑 */ export interface ITenantEditDto { - /** 租户名称 */ tenancyName: string; - /** 名称 */ name: string; - /** 连接字符串 */ connectionString: string | undefined; - /** 版本Id */ editionId: string | undefined; - /** 是否激活 */ isActive: boolean; - /** 订阅结束时间 */ subscriptionEndUtc: moment.Moment | undefined; - /** 是否在试用期 */ isInTrialPeriod: boolean; id: string | undefined; } -/** 租户版本 */ export class TenantEdition implements ITenantEdition { - /** 键 */ label: string | undefined; - /** 值 */ value: number; constructor(data?: ITenantEdition) { @@ -101953,31 +136795,19 @@ export class TenantEdition implements ITenantEdition { } } -/** 租户版本 */ export interface ITenantEdition { - /** 键 */ label: string | undefined; - /** 值 */ value: number; } -/** 租户列表 */ export class TenantListDto implements ITenantListDto { - /** 租户名称 */ tenancyName: string | undefined; - /** 名称 */ name: string | undefined; - /** 版本显示名称 */ editionDisplayName: string | undefined; - /** 连接字符串 */ connectionString: string | undefined; - /** 是否激活 */ isActive: boolean; - /** 创建时间 */ creationTime: moment.Moment; - /** 订阅结束时间 */ subscriptionEndUtc: moment.Moment | undefined; - /** 版本Id */ editionId: string | undefined; id: string | undefined; @@ -102033,49 +136863,29 @@ export class TenantListDto implements ITenantListDto { } } -/** 租户列表 */ export interface ITenantListDto { - /** 租户名称 */ tenancyName: string | undefined; - /** 名称 */ name: string | undefined; - /** 版本显示名称 */ editionDisplayName: string | undefined; - /** 连接字符串 */ connectionString: string | undefined; - /** 是否激活 */ isActive: boolean; - /** 创建时间 */ creationTime: moment.Moment; - /** 订阅结束时间 */ subscriptionEndUtc: moment.Moment | undefined; - /** 版本Id */ editionId: string | undefined; id: string | undefined; } -/** 租户登录信息 */ export class TenantLoginInfoDto implements ITenantLoginInfoDto { - /** 租户名称 */ tenancyName: string | undefined; - /** 名称 */ name: string | undefined; - /** Logo编号 */ logoId: string | undefined; - /** Logo文件类型 */ logoFileType: string | undefined; - /** 自定义Css编号 */ customCssId: string | undefined; - /** 订阅结束时间 */ subscriptionEndDateUtc: moment.Moment | undefined; - /** 是否在试用期 */ isInTrialPeriod: boolean; edition: EditionInfoDto; - /** 创建时间 */ creationTime: moment.Moment; - /** 订阅时间(字符串) */ subscriptionDateString: string | undefined; - /** 创建时间(字符串) */ creationTimeString: string | undefined; id: string | undefined; @@ -102137,44 +136947,27 @@ export class TenantLoginInfoDto implements ITenantLoginInfoDto { } } -/** 租户登录信息 */ export interface ITenantLoginInfoDto { - /** 租户名称 */ tenancyName: string | undefined; - /** 名称 */ name: string | undefined; - /** Logo编号 */ logoId: string | undefined; - /** Logo文件类型 */ logoFileType: string | undefined; - /** 自定义Css编号 */ customCssId: string | undefined; - /** 订阅结束时间 */ subscriptionEndDateUtc: moment.Moment | undefined; - /** 是否在试用期 */ isInTrialPeriod: boolean; edition: EditionInfoDto; - /** 创建时间 */ creationTime: moment.Moment; - /** 订阅时间(字符串) */ subscriptionDateString: string | undefined; - /** 创建时间(字符串) */ creationTimeString: string | undefined; id: string | undefined; } -/** 租户管理设置 */ export class TenantManagementSettingsEditDto implements ITenantManagementSettingsEditDto { - /** 允许注册 */ allowSelfRegistration: boolean; - /** 注册租户默认激活 */ isNewRegisteredTenantActiveByDefault: boolean; - /** 启用租户注册验证码 */ useCaptchaOnTenantRegistration: boolean; configCaptchaOnTenantType: ValidateCodeType; - /** 配置租户验证码长度 */ configCaptchaOnTenantLength: number; - /** 默认版本id */ defaultEditionId: number | undefined; constructor(data?: ITenantManagementSettingsEditDto) { @@ -102223,18 +137016,12 @@ export class TenantManagementSettingsEditDto implements ITenantManagementSetting } } -/** 租户管理设置 */ export interface ITenantManagementSettingsEditDto { - /** 允许注册 */ allowSelfRegistration: boolean; - /** 注册租户默认激活 */ isNewRegisteredTenantActiveByDefault: boolean; - /** 启用租户注册验证码 */ useCaptchaOnTenantRegistration: boolean; configCaptchaOnTenantType: ValidateCodeType; - /** 配置租户验证码长度 */ configCaptchaOnTenantLength: number; - /** 默认版本id */ defaultEditionId: number | undefined; } @@ -102313,7 +137100,6 @@ export interface ITenantNotification { id: string; } -/** 租户设置编辑 */ export class TenantSettingsEditDto implements ITenantSettingsEditDto { general: GeneralSettingsEditDto; userManagement: TenantUserManagementSettingsEditDto; @@ -102382,7 +137168,6 @@ export class TenantSettingsEditDto implements ITenantSettingsEditDto { } } -/** 租户设置编辑 */ export interface ITenantSettingsEditDto { general: GeneralSettingsEditDto; userManagement: TenantUserManagementSettingsEditDto; @@ -102395,17 +137180,11 @@ export interface ITenantSettingsEditDto { siteSettings: SiteSettingsEditDto; } -/** 租户角色管理设置 */ export class TenantUserManagementSettingsEditDto implements ITenantUserManagementSettingsEditDto { - /** 是否启用注册 */ allowSelfRegistrationUser: boolean; - /** 是否新注册用户默认激活 */ isNewRegisteredUserActiveByDefault: boolean; - /** 是否必须校验邮箱才能登陆 */ isEmailConfirmationRequiredForLogin: boolean; - /** 最大登录用户数 */ maxLoginUserNumber: number; - /** 登录互斥 */ loginMutex: boolean; captchaConfig: CaptchaConfigSetting; @@ -102455,25 +137234,71 @@ export class TenantUserManagementSettingsEditDto implements ITenantUserManagemen } } -/** 租户角色管理设置 */ export interface ITenantUserManagementSettingsEditDto { - /** 是否启用注册 */ allowSelfRegistrationUser: boolean; - /** 是否新注册用户默认激活 */ isNewRegisteredUserActiveByDefault: boolean; - /** 是否必须校验邮箱才能登陆 */ isEmailConfirmationRequiredForLogin: boolean; - /** 最大登录用户数 */ maxLoginUserNumber: number; - /** 登录互斥 */ loginMutex: boolean; captchaConfig: CaptchaConfigSetting; } -/** 样式 */ +export class TestImportDto implements ITestImportDto { + testCode: string; + testSQL: string; + testName: string | undefined; + memo: string | undefined; + + constructor(data?: ITestImportDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.testCode = _data["testCode"]; + this.testSQL = _data["testSQL"]; + this.testName = _data["testName"]; + this.memo = _data["memo"]; + } + } + + static fromJS(data: any): TestImportDto { + data = typeof data === 'object' ? data : {}; + let result = new TestImportDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["testCode"] = this.testCode; + data["testSQL"] = this.testSQL; + data["testName"] = this.testName; + data["memo"] = this.memo; + return data; + } + + clone(): TestImportDto { + const json = this.toJSON(); + let result = new TestImportDto(); + result.init(json); + return result; + } +} + +export interface ITestImportDto { + testCode: string; + testSQL: string; + testName: string | undefined; + memo: string | undefined; +} + export class ThemeEditDto implements IThemeEditDto { - /** 布局 -YoyoBoot.Configuration.AppSettings.AppSettingValues.CommonSettings */ layout: string | undefined; constructor(data?: IThemeEditDto) { @@ -102512,29 +137337,20 @@ YoyoBoot.Configuration.AppSettings.AppSettingValues.CommonSettings */ } } -/** 样式 */ export interface IThemeEditDto { - /** 布局 -YoyoBoot.Configuration.AppSettings.AppSettingValues.CommonSettings */ layout: string | undefined; } -/** 时间单位 */ export enum TimeUnitEnum { Hour = "Hour", Day = "Day", Month = "Month", } -/** 统计数据 */ export class TopStatsData implements ITopStatsData { - /** 新租户数 */ newTenantsCount: number; - /** 新订阅金额 */ newSubscriptionAmount: number; - /** 仪表板占位符1 */ dashboardPlaceholder1: number; - /** 仪表板占位符2 */ dashboardPlaceholder2: number; constructor(data?: ITopStatsData) { @@ -102579,15 +137395,10 @@ export class TopStatsData implements ITopStatsData { } } -/** 统计数据 */ export interface ITopStatsData { - /** 新租户数 */ newTenantsCount: number; - /** 新订阅金额 */ newSubscriptionAmount: number; - /** 仪表板占位符1 */ dashboardPlaceholder1: number; - /** 仪表板占位符2 */ dashboardPlaceholder2: number; } @@ -102654,19 +137465,12 @@ export interface ITreeDto { disabled: boolean; } -/** 树型权限Dto */ export class TreePermissionDto implements ITreePermissionDto { - /** 父节点名称 */ parentName: string | undefined; - /** 名称 */ name: string | undefined; - /** 显示名称 */ displayName: string | undefined; - /** 描述 */ description: string | undefined; - /** 子节点列表 */ children: TreePermissionDto[] | undefined; - /** 检查 */ checked: boolean; constructor(data?: ITreePermissionDto) { @@ -102723,35 +137527,21 @@ export class TreePermissionDto implements ITreePermissionDto { } } -/** 树型权限Dto */ export interface ITreePermissionDto { - /** 父节点名称 */ parentName: string | undefined; - /** 名称 */ name: string | undefined; - /** 显示名称 */ displayName: string | undefined; - /** 描述 */ description: string | undefined; - /** 子节点列表 */ children: TreePermissionDto[] | undefined; - /** 检查 */ checked: boolean; } -/** 双因素登录验证 */ export class TwoFactorLoginSettingsEditDto implements ITwoFactorLoginSettingsEditDto { - /** 应用是否启用 */ isEnabledForApplication: boolean; - /** 是否启用 */ isEnabled: boolean; - /** 邮箱启用 */ isEmailProviderEnabled: boolean; - /** 短信启用 */ isSmsProviderEnabled: boolean; - /** 浏览器‘记住我’启用 */ isRememberBrowserEnabled: boolean; - /** google校验启用 */ isGoogleAuthenticatorEnabled: boolean; constructor(data?: ITwoFactorLoginSettingsEditDto) { @@ -102800,27 +137590,17 @@ export class TwoFactorLoginSettingsEditDto implements ITwoFactorLoginSettingsEdi } } -/** 双因素登录验证 */ export interface ITwoFactorLoginSettingsEditDto { - /** 应用是否启用 */ isEnabledForApplication: boolean; - /** 是否启用 */ isEnabled: boolean; - /** 邮箱启用 */ isEmailProviderEnabled: boolean; - /** 短信启用 */ isSmsProviderEnabled: boolean; - /** 浏览器‘记住我’启用 */ isRememberBrowserEnabled: boolean; - /** google校验启用 */ isGoogleAuthenticatorEnabled: boolean; } -/** 解锁好友 */ export class UnblockUserInput implements IUnblockUserInput { - /** 用户Id */ userId: string | undefined; - /** 租户Id */ tenantId: string | undefined; constructor(data?: IUnblockUserInput) { @@ -102861,19 +137641,13 @@ export class UnblockUserInput implements IUnblockUserInput { } } -/** 解锁好友 */ export interface IUnblockUserInput { - /** 用户Id */ userId: string | undefined; - /** 租户Id */ tenantId: string | undefined; } -/** 取消链接用户 */ export class UnlinkUserInput implements IUnlinkUserInput { - /** 租户编号 */ tenantId: string | undefined; - /** 用户编号 */ userId: string | undefined; constructor(data?: IUnlinkUserInput) { @@ -102914,23 +137688,15 @@ export class UnlinkUserInput implements IUnlinkUserInput { } } -/** 取消链接用户 */ export interface IUnlinkUserInput { - /** 租户编号 */ tenantId: string | undefined; - /** 用户编号 */ userId: string | undefined; } -/** 更新语言输入信息 */ export class UpdateLanguageTextInput implements IUpdateLanguageTextInput { - /** 语言名称 */ languageName: string; - /** 源名称 */ sourceName: string; - /** 键 */ key: string; - /** 值 */ value: string; constructor(data?: IUpdateLanguageTextInput) { @@ -102975,23 +137741,15 @@ export class UpdateLanguageTextInput implements IUpdateLanguageTextInput { } } -/** 更新语言输入信息 */ export interface IUpdateLanguageTextInput { - /** 语言名称 */ languageName: string; - /** 源名称 */ sourceName: string; - /** 键 */ key: string; - /** 值 */ value: string; } -/** 更新通知设置 */ export class UpdateNotificationSettingsInput implements IUpdateNotificationSettingsInput { - /** 接收通知 */ receiveNotifications: boolean; - /** 通知 YoyoBoot.Notifications.Dtos.NotificationSubscriptionDto */ notifications: NotificationSubscriptionDto[] | undefined; constructor(data?: IUpdateNotificationSettingsInput) { @@ -103040,19 +137798,13 @@ export class UpdateNotificationSettingsInput implements IUpdateNotificationSetti } } -/** 更新通知设置 */ export interface IUpdateNotificationSettingsInput { - /** 接收通知 */ receiveNotifications: boolean; - /** 通知 YoyoBoot.Notifications.Dtos.NotificationSubscriptionDto */ notifications: NotificationSubscriptionDto[] | undefined; } -/** 更新组织单元 */ export class UpdateOrganizationUnitInput implements IUpdateOrganizationUnitInput { - /** 编号 */ id: string | undefined; - /** 显示名称 */ displayName: string; constructor(data?: IUpdateOrganizationUnitInput) { @@ -103093,19 +137845,13 @@ export class UpdateOrganizationUnitInput implements IUpdateOrganizationUnitInput } } -/** 更新组织单元 */ export interface IUpdateOrganizationUnitInput { - /** 编号 */ id: string | undefined; - /** 显示名称 */ displayName: string; } -/** 强制修改密码配置Dto */ export class UpdatePasswordForceEditDto implements IUpdatePasswordForceEditDto { - /** 启用状态 */ switchStatus: boolean; - /** 密码有效时长 */ effectiveTimeLast: number; timeUnitEnum: TimeUnitEnum; @@ -103149,26 +137895,17 @@ export class UpdatePasswordForceEditDto implements IUpdatePasswordForceEditDto { } } -/** 强制修改密码配置Dto */ export interface IUpdatePasswordForceEditDto { - /** 启用状态 */ switchStatus: boolean; - /** 密码有效时长 */ effectiveTimeLast: number; timeUnitEnum: TimeUnitEnum; } -/** 更新简介图片 */ export class UpdateProfilePictureInput implements IUpdateProfilePictureInput { - /** 文件Token */ fileToken: string; - /** X轴 */ x: number; - /** Y轴 */ y: number; - /** 宽度 */ width: number; - /** 高度 */ height: number; constructor(data?: IUpdateProfilePictureInput) { @@ -103215,25 +137952,16 @@ export class UpdateProfilePictureInput implements IUpdateProfilePictureInput { } } -/** 更新简介图片 */ export interface IUpdateProfilePictureInput { - /** 文件Token */ fileToken: string; - /** X轴 */ x: number; - /** Y轴 */ y: number; - /** 宽度 */ width: number; - /** 高度 */ height: number; } -/** 更新角色权限输入 */ export class UpdateRolePermissionsInput implements IUpdateRolePermissionsInput { - /** 角色Id */ roleId: string | undefined; - /** 授权权限集合 */ grantedPermissionNames: string[]; constructor(data?: IUpdateRolePermissionsInput) { @@ -103285,19 +138013,13 @@ export class UpdateRolePermissionsInput implements IUpdateRolePermissionsInput { } } -/** 更新角色权限输入 */ export interface IUpdateRolePermissionsInput { - /** 角色Id */ roleId: string | undefined; - /** 授权权限集合 */ grantedPermissionNames: string[]; } -/** 更新租户功能 */ export class UpdateTenantFeaturesInput implements IUpdateTenantFeaturesInput { - /** 编号 */ id: string | undefined; - /** 功能值 */ featureValues: NameValueDto[]; constructor(data?: IUpdateTenantFeaturesInput) { @@ -103349,19 +138071,13 @@ export class UpdateTenantFeaturesInput implements IUpdateTenantFeaturesInput { } } -/** 更新租户功能 */ export interface IUpdateTenantFeaturesInput { - /** 编号 */ id: string | undefined; - /** 功能值 */ featureValues: NameValueDto[]; } -/** 更新用户权限 */ export class UpdateUserPermissionsInput implements IUpdateUserPermissionsInput { - /** 编号 */ id: string | undefined; - /** 授权权限名称 */ grantedPermissionNames: string[]; constructor(data?: IUpdateUserPermissionsInput) { @@ -103413,15 +138129,11 @@ export class UpdateUserPermissionsInput implements IUpdateUserPermissionsInput { } } -/** 更新用户权限 */ export interface IUpdateUserPermissionsInput { - /** 编号 */ id: string | undefined; - /** 授权权限名称 */ grantedPermissionNames: string[]; } -/** 更新用户签名令牌 */ export class UpdateUserSignInTokenOutput implements IUpdateUserSignInTokenOutput { signInToken: string | undefined; encodedUserId: string | undefined; @@ -103467,20 +138179,15 @@ export class UpdateUserSignInTokenOutput implements IUpdateUserSignInTokenOutput } } -/** 更新用户签名令牌 */ export interface IUpdateUserSignInTokenOutput { signInToken: string | undefined; encodedUserId: string | undefined; encodedTenantId: string | undefined; } -/** 上传文件输出 */ export class UploadFileOutputDto implements IUploadFileOutputDto { - /** 文件Id */ fileId: string | undefined; - /** 文件名 */ fileName: string | undefined; - /** 字节 */ bytes: string | undefined; code: number; message: string | undefined; @@ -103543,13 +138250,9 @@ export class UploadFileOutputDto implements IUploadFileOutputDto { } } -/** 上传文件输出 */ export interface IUploadFileOutputDto { - /** 文件Id */ fileId: string | undefined; - /** 文件名 */ fileName: string | undefined; - /** 字节 */ bytes: string | undefined; code: number; message: string | undefined; @@ -103565,19 +138268,12 @@ export enum UploadMediaFileType { News = "news", } -/** 上传个人头像输出结果 */ export class UploadProfilePictureOutputDto implements IUploadProfilePictureOutputDto { - /** 简介图片编号 */ profilePictureId: string | undefined; - /** 文件名称 */ fileName: string | undefined; - /** 文件类型 */ fileType: string | undefined; - /** 文件Token */ fileToken: string | undefined; - /** 宽度 */ width: number; - /** 高度 */ height: number; code: number; message: string | undefined; @@ -103646,19 +138342,12 @@ export class UploadProfilePictureOutputDto implements IUploadProfilePictureOutpu } } -/** 上传个人头像输出结果 */ export interface IUploadProfilePictureOutputDto { - /** 简介图片编号 */ profilePictureId: string | undefined; - /** 文件名称 */ fileName: string | undefined; - /** 文件类型 */ fileType: string | undefined; - /** 文件Token */ fileToken: string | undefined; - /** 宽度 */ width: number; - /** 高度 */ height: number; code: number; message: string | undefined; @@ -103666,17 +138355,11 @@ export interface IUploadProfilePictureOutputDto { validationErrors: ValidationErrorInfo[] | undefined; } -/** 系统url相关配置 */ export class UrlsEditDto implements IUrlsEditDto { - /** 门户 url */ protalUrl: string | undefined; - /** 管理 api url */ adminApiUrl: string | undefined; - /** 管理界面 Url */ adminUiUrl: string | undefined; - /** 用户中心 url */ userCenterUrl: string | undefined; - /** BI大屏 url */ biUrl: string | undefined; constructor(data?: IUrlsEditDto) { @@ -103723,17 +138406,11 @@ export class UrlsEditDto implements IUrlsEditDto { } } -/** 系统url相关配置 */ export interface IUrlsEditDto { - /** 门户 url */ protalUrl: string | undefined; - /** 管理 api url */ adminApiUrl: string | undefined; - /** 管理界面 Url */ adminUiUrl: string | undefined; - /** 用户中心 url */ userCenterUrl: string | undefined; - /** BI大屏 url */ biUrl: string | undefined; } @@ -104001,13 +138678,9 @@ export interface IUser { } export class User2OpImportDto implements IUser2OpImportDto { - /** 人员编码 */ userCode: string; - /** 工序编码 */ opCode: string; - /** 熟练程度 */ level: string; - /** 备注 */ memo: string | undefined; constructor(data?: IUser2OpImportDto) { @@ -104053,13 +138726,9 @@ export class User2OpImportDto implements IUser2OpImportDto { } export interface IUser2OpImportDto { - /** 人员编码 */ userCode: string; - /** 工序编码 */ opCode: string; - /** 熟练程度 */ level: string; - /** 备注 */ memo: string | undefined; } @@ -104130,32 +138799,19 @@ export interface IUserClaim { id: string | undefined; } -/** 用户信息编辑用Dto */ export class UserEditDto implements IUserEditDto { - /** 根据id是否有值来判断是创建还是添加 */ id: string | undefined; userCode: string | undefined; - /** 用户代码 */ userName: string; - /** 姓 */ surname: string; - /** 名称 */ name: string; - /** 邮件地址 */ emailAddress: string | undefined; - /** 电话号 */ phoneNumber: string | undefined; - /** 密码 */ password: string | undefined; - /** 是否启用锁定 */ isLockoutEnabled: boolean; - /** 需要修改密码 */ needToChangeThePassword: boolean; - /** 头像Id */ profilePictureId: string | undefined; - /** 是否启用双因素验证 */ isTwoFactorEnabled: boolean; - /** 是否激活 */ isActive: boolean; constructor(data?: IUserEditDto) { @@ -104218,48 +138874,155 @@ export class UserEditDto implements IUserEditDto { } } -/** 用户信息编辑用Dto */ export interface IUserEditDto { - /** 根据id是否有值来判断是创建还是添加 */ id: string | undefined; userCode: string | undefined; - /** 用户代码 */ userName: string; - /** 姓 */ surname: string; - /** 名称 */ name: string; - /** 邮件地址 */ emailAddress: string | undefined; - /** 电话号 */ phoneNumber: string | undefined; - /** 密码 */ password: string | undefined; - /** 是否启用锁定 */ isLockoutEnabled: boolean; - /** 需要修改密码 */ needToChangeThePassword: boolean; - /** 头像Id */ profilePictureId: string | undefined; - /** 是否启用双因素验证 */ isTwoFactorEnabled: boolean; - /** 是否激活 */ isActive: boolean; } -/** 用户导入 */ +export class UserHourCountDto implements IUserHourCountDto { + key: string | undefined; + id: number; + userName: string | undefined; + userCode: string | undefined; + goodQty: number | undefined; + sTime: number | undefined; + rTime: number | undefined; + quotaTime: number | undefined; + subTotalMinute: number | undefined; + subTotalHour: number | undefined; + recordingHours1: number | undefined; + recordingHours2: number | undefined; + recordingHours3: number | undefined; + recordingHours1Rate: string | undefined; + recordingHours2Rate: string | undefined; + recordingHours3Rate: string | undefined; + opCode: string | undefined; + opName: string | undefined; + beginTime: moment.Moment | undefined; + endTime: moment.Moment | undefined; + moCode: string | undefined; + lotNo: string | undefined; + + constructor(data?: IUserHourCountDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.key = _data["key"]; + this.id = _data["id"]; + this.userName = _data["userName"]; + this.userCode = _data["userCode"]; + this.goodQty = _data["goodQty"]; + this.sTime = _data["sTime"]; + this.rTime = _data["rTime"]; + this.quotaTime = _data["quotaTime"]; + this.subTotalMinute = _data["subTotalMinute"]; + this.subTotalHour = _data["subTotalHour"]; + this.recordingHours1 = _data["recordingHours1"]; + this.recordingHours2 = _data["recordingHours2"]; + this.recordingHours3 = _data["recordingHours3"]; + this.recordingHours1Rate = _data["recordingHours1Rate"]; + this.recordingHours2Rate = _data["recordingHours2Rate"]; + this.recordingHours3Rate = _data["recordingHours3Rate"]; + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.beginTime = _data["beginTime"] ? moment(_data["beginTime"].toString()) : undefined; + this.endTime = _data["endTime"] ? moment(_data["endTime"].toString()) : undefined; + this.moCode = _data["moCode"]; + this.lotNo = _data["lotNo"]; + } + } + + static fromJS(data: any): UserHourCountDto { + data = typeof data === 'object' ? data : {}; + let result = new UserHourCountDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["key"] = this.key; + data["id"] = this.id; + data["userName"] = this.userName; + data["userCode"] = this.userCode; + data["goodQty"] = this.goodQty; + data["sTime"] = this.sTime; + data["rTime"] = this.rTime; + data["quotaTime"] = this.quotaTime; + data["subTotalMinute"] = this.subTotalMinute; + data["subTotalHour"] = this.subTotalHour; + data["recordingHours1"] = this.recordingHours1; + data["recordingHours2"] = this.recordingHours2; + data["recordingHours3"] = this.recordingHours3; + data["recordingHours1Rate"] = this.recordingHours1Rate; + data["recordingHours2Rate"] = this.recordingHours2Rate; + data["recordingHours3Rate"] = this.recordingHours3Rate; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["beginTime"] = this.beginTime ? this.beginTime.toISOString() : undefined; + data["endTime"] = this.endTime ? this.endTime.toISOString() : undefined; + data["moCode"] = this.moCode; + data["lotNo"] = this.lotNo; + return data; + } + + clone(): UserHourCountDto { + const json = this.toJSON(); + let result = new UserHourCountDto(); + result.init(json); + return result; + } +} + +export interface IUserHourCountDto { + key: string | undefined; + id: number; + userName: string | undefined; + userCode: string | undefined; + goodQty: number | undefined; + sTime: number | undefined; + rTime: number | undefined; + quotaTime: number | undefined; + subTotalMinute: number | undefined; + subTotalHour: number | undefined; + recordingHours1: number | undefined; + recordingHours2: number | undefined; + recordingHours3: number | undefined; + recordingHours1Rate: string | undefined; + recordingHours2Rate: string | undefined; + recordingHours3Rate: string | undefined; + opCode: string | undefined; + opName: string | undefined; + beginTime: moment.Moment | undefined; + endTime: moment.Moment | undefined; + moCode: string | undefined; + lotNo: string | undefined; +} + export class UserImportExceDto implements IUserImportExceDto { - /** 用户名 */ userName: string; - /** 邮箱地址 */ emailAddress: string | undefined; - /** 电话号码 */ phoneNumber: string | undefined; - /** 密码 */ password: string; - /** 密码 */ confirmPassword: string; - /** 角色 */ roles: string | undefined; constructor(data?: IUserImportExceDto) { @@ -104308,49 +139071,28 @@ export class UserImportExceDto implements IUserImportExceDto { } } -/** 用户导入 */ export interface IUserImportExceDto { - /** 用户名 */ userName: string; - /** 邮箱地址 */ emailAddress: string | undefined; - /** 电话号码 */ phoneNumber: string | undefined; - /** 密码 */ password: string; - /** 密码 */ confirmPassword: string; - /** 角色 */ roles: string | undefined; } -/** 用户信息列表Dto Yoyo.Pro.Users.User */ export class UserListDto implements IUserListDto { - /** 用户代码 */ userName: string | undefined; - /** 姓名 */ fullName: string | undefined; - /** 邮件地址 */ emailAddress: string | undefined; - /** 电话号码 */ phoneNumber: string | undefined; - /** 头像Id */ profilePictureId: string | undefined; - /** 邮件是否确认 */ isEmailConfirmed: boolean; - /** 用户的角色 */ roles: UserListRoleDto[] | undefined; - /** 上一次登录时间 */ lastLoginTime: moment.Moment | undefined; - /** 创建时间 */ creationTime: moment.Moment; - /** 是否激活 */ isActive: boolean; - /** 客户端ip地址 */ ipAddress: string | undefined; - /** 客户端类型 */ clientType: string | undefined; - /** 客户端连接id */ clientId: string | undefined; id: string | undefined; @@ -104424,46 +139166,27 @@ export class UserListDto implements IUserListDto { } } -/** 用户信息列表Dto Yoyo.Pro.Users.User */ export interface IUserListDto { - /** 用户代码 */ userName: string | undefined; - /** 姓名 */ fullName: string | undefined; - /** 邮件地址 */ emailAddress: string | undefined; - /** 电话号码 */ phoneNumber: string | undefined; - /** 头像Id */ profilePictureId: string | undefined; - /** 邮件是否确认 */ isEmailConfirmed: boolean; - /** 用户的角色 */ roles: UserListRoleDto[] | undefined; - /** 上一次登录时间 */ lastLoginTime: moment.Moment | undefined; - /** 创建时间 */ creationTime: moment.Moment; - /** 是否激活 */ isActive: boolean; - /** 客户端ip地址 */ ipAddress: string | undefined; - /** 客户端类型 */ clientType: string | undefined; - /** 客户端连接id */ clientId: string | undefined; id: string | undefined; } -/** 用户角色列表 */ export class UserListRoleDto implements IUserListRoleDto { - /** 角色编号 */ roleId: string | undefined; - /** 角色名 */ roleName: string | undefined; - /** 是否系统内置 */ isStatic: boolean; - /** 是否默认 */ isDefault: boolean; constructor(data?: IUserListRoleDto) { @@ -104508,25 +139231,16 @@ export class UserListRoleDto implements IUserListRoleDto { } } -/** 用户角色列表 */ export interface IUserListRoleDto { - /** 角色编号 */ roleId: string | undefined; - /** 角色名 */ roleName: string | undefined; - /** 是否系统内置 */ isStatic: boolean; - /** 是否默认 */ isDefault: boolean; } -/** 用户锁定配置 */ export class UserLockOutSettingsEditDto implements IUserLockOutSettingsEditDto { - /** 是否启用 */ isEnabled: boolean; - /** 登陆校验错误锁定账户最大次数 */ maxFailedAccessAttemptsBeforeLockout: number; - /** 默认锁定时间 */ defaultAccountLockoutSeconds: number; constructor(data?: IUserLockOutSettingsEditDto) { @@ -104569,13 +139283,9 @@ export class UserLockOutSettingsEditDto implements IUserLockOutSettingsEditDto { } } -/** 用户锁定配置 */ export interface IUserLockOutSettingsEditDto { - /** 是否启用 */ isEnabled: boolean; - /** 登陆校验错误锁定账户最大次数 */ maxFailedAccessAttemptsBeforeLockout: number; - /** 默认锁定时间 */ defaultAccountLockoutSeconds: number; } @@ -104638,21 +139348,13 @@ export interface IUserLogin { id: string | undefined; } -/** 用户登录尝试 */ export class UserLoginAttemptDto implements IUserLoginAttemptDto { - /** 租户名称 */ tenancyName: string | undefined; - /** 用户名或邮箱地址 */ userNameOrEmailAddress: string | undefined; - /** 连接IP地址 */ clientIpAddress: string | undefined; - /** 连接名 */ clientName: string | undefined; - /** 浏览器信息 */ browserInfo: string | undefined; - /** 结果 */ result: string | undefined; - /** 创建时间 */ creationTime: moment.Moment; constructor(data?: IUserLoginAttemptDto) { @@ -104703,35 +139405,21 @@ export class UserLoginAttemptDto implements IUserLoginAttemptDto { } } -/** 用户登录尝试 */ export interface IUserLoginAttemptDto { - /** 租户名称 */ tenancyName: string | undefined; - /** 用户名或邮箱地址 */ userNameOrEmailAddress: string | undefined; - /** 连接IP地址 */ clientIpAddress: string | undefined; - /** 连接名 */ clientName: string | undefined; - /** 浏览器信息 */ browserInfo: string | undefined; - /** 结果 */ result: string | undefined; - /** 创建时间 */ creationTime: moment.Moment; } -/** 用户登录信息 */ export class UserLoginInfoDto implements IUserLoginInfoDto { - /** 名称 */ name: string | undefined; - /** 真实名称 */ surname: string | undefined; - /** 用户名 */ userName: string | undefined; - /** 邮箱地址 */ emailAddress: string | undefined; - /** 头像文件编号 */ profilePictureId: string | undefined; id: string | undefined; @@ -104781,17 +139469,11 @@ export class UserLoginInfoDto implements IUserLoginInfoDto { } } -/** 用户登录信息 */ export interface IUserLoginInfoDto { - /** 名称 */ name: string | undefined; - /** 真实名称 */ surname: string | undefined; - /** 用户名 */ userName: string | undefined; - /** 邮箱地址 */ emailAddress: string | undefined; - /** 头像文件编号 */ profilePictureId: string | undefined; id: string | undefined; } @@ -105157,17 +139839,11 @@ export interface IUserRole { } export class UserRoleByUserIDDto implements IUserRoleByUserIDDto { - /** 租户 */ tenancyCode: string | undefined; - /** 租户 */ tenancyName: string | undefined; - /** RoleId */ roleId: string | undefined; - /** UserId */ userId: string | undefined; - /** RoleName */ roleName: string | undefined; - /** UserName */ userName: string | undefined; constructor(data?: IUserRoleByUserIDDto) { @@ -105217,31 +139893,19 @@ export class UserRoleByUserIDDto implements IUserRoleByUserIDDto { } export interface IUserRoleByUserIDDto { - /** 租户 */ tenancyCode: string | undefined; - /** 租户 */ tenancyName: string | undefined; - /** RoleId */ roleId: string | undefined; - /** UserId */ userId: string | undefined; - /** RoleName */ roleName: string | undefined; - /** UserName */ userName: string | undefined; } -/** 用户角色 */ export class UserRoleDto implements IUserRoleDto { - /** 角色编号 */ roleId: string | undefined; - /** 角色名称 */ roleName: string | undefined; - /** 角色显示名称 */ roleDisplayName: string | undefined; - /** 是否分配 */ isAssigned: boolean; - /** 继承自组织单元 */ inheritedFromOrganizationUnit: boolean; constructor(data?: IUserRoleDto) { @@ -105288,25 +139952,16 @@ export class UserRoleDto implements IUserRoleDto { } } -/** 用户角色 */ export interface IUserRoleDto { - /** 角色编号 */ roleId: string | undefined; - /** 角色名称 */ roleName: string | undefined; - /** 角色显示名称 */ roleDisplayName: string | undefined; - /** 是否分配 */ isAssigned: boolean; - /** 继承自组织单元 */ inheritedFromOrganizationUnit: boolean; } -/** 用户添加到组织单元 */ export class UserToOrganizationUnitInput implements IUserToOrganizationUnitInput { - /** 用户编号 */ userId: string | undefined; - /** 组织单元编号 */ organizationUnitId: string | undefined; constructor(data?: IUserToOrganizationUnitInput) { @@ -105347,11 +140002,8 @@ export class UserToOrganizationUnitInput implements IUserToOrganizationUnitInput } } -/** 用户添加到组织单元 */ export interface IUserToOrganizationUnitInput { - /** 用户编号 */ userId: string | undefined; - /** 组织单元编号 */ organizationUnitId: string | undefined; } @@ -105422,11 +140074,8 @@ export interface IUserToken { id: string | undefined; } -/** 用户批量添加到组织单元 */ export class UsersToOrganizationUnitInput implements IUsersToOrganizationUnitInput { - /** 角色编号集合 */ userIds: string[] | undefined; - /** 组织单元Id */ organizationUnitId: string | undefined; constructor(data?: IUsersToOrganizationUnitInput) { @@ -105475,11 +140124,8 @@ export class UsersToOrganizationUnitInput implements IUsersToOrganizationUnitInp } } -/** 用户批量添加到组织单元 */ export interface IUsersToOrganizationUnitInput { - /** 角色编号集合 */ userIds: string[] | undefined; - /** 组织单元Id */ organizationUnitId: string | undefined; } @@ -105545,34 +140191,67 @@ export interface IValidationErrorInfo { members: string[] | undefined; } +export class WaitHandle implements IWaitHandle { + handle: any; + safeWaitHandle: SafeWaitHandle; + + constructor(data?: IWaitHandle) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.handle = _data["handle"]; + this.safeWaitHandle = _data["safeWaitHandle"] ? SafeWaitHandle.fromJS(_data["safeWaitHandle"]) : undefined; + } + } + + static fromJS(data: any): WaitHandle { + data = typeof data === 'object' ? data : {}; + let result = new WaitHandle(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["handle"] = this.handle; + data["safeWaitHandle"] = this.safeWaitHandle ? this.safeWaitHandle.toJSON() : undefined; + return data; + } + + clone(): WaitHandle { + const json = this.toJSON(); + let result = new WaitHandle(); + result.init(json); + return result; + } +} + +export interface IWaitHandle { + handle: any; + safeWaitHandle: SafeWaitHandle; +} + export class WatermarkConfig implements IWatermarkConfig { - /** 文本 */ filterText: string | undefined; - /** 颜色 */ color: string | undefined; - /** 字体 */ font: string | undefined; - /** 字号 */ fontSize: string | undefined; - /** 垂直对齐 */ textBaseline: string | undefined; - /** 水平对齐 */ textAlign: string | undefined; - /** 涉及页面 */ watermarkPagesInvolved: string[] | undefined; - /** 涉及页面 */ watermarkUsersInvolved: string[] | undefined; - /** 是否全局引用 */ global: boolean; - /** 是否启用水印 */ isEnable: boolean; - /** 水印宽度 */ waterMarkWidth: number; - /** 水印高度 */ waterMarkHeight: number; - /** 水印透明度 */ opacity: string | undefined; - /** 文本规则 */ customRules: string | undefined; constructor(data?: IWatermarkConfig) { @@ -105654,54 +140333,86 @@ export class WatermarkConfig implements IWatermarkConfig { } export interface IWatermarkConfig { - /** 文本 */ filterText: string | undefined; - /** 颜色 */ color: string | undefined; - /** 字体 */ font: string | undefined; - /** 字号 */ fontSize: string | undefined; - /** 垂直对齐 */ textBaseline: string | undefined; - /** 水平对齐 */ textAlign: string | undefined; - /** 涉及页面 */ watermarkPagesInvolved: string[] | undefined; - /** 涉及页面 */ watermarkUsersInvolved: string[] | undefined; - /** 是否全局引用 */ global: boolean; - /** 是否启用水印 */ isEnable: boolean; - /** 水印宽度 */ waterMarkWidth: number; - /** 水印高度 */ waterMarkHeight: number; - /** 水印透明度 */ opacity: string | undefined; - /** 文本规则 */ customRules: string | undefined; } -/** 微信小程序配置 */ +export class WebSocketManager implements IWebSocketManager { + readonly isWebSocketRequest: boolean; + readonly webSocketRequestedProtocols: string[] | undefined; + + constructor(data?: IWebSocketManager) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + (this).isWebSocketRequest = _data["isWebSocketRequest"]; + if (Array.isArray(_data["webSocketRequestedProtocols"])) { + (this).webSocketRequestedProtocols = [] as any; + for (let item of _data["webSocketRequestedProtocols"]) + (this).webSocketRequestedProtocols.push(item); + } + } + } + + static fromJS(data: any): WebSocketManager { + data = typeof data === 'object' ? data : {}; + let result = new WebSocketManager(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["isWebSocketRequest"] = this.isWebSocketRequest; + if (Array.isArray(this.webSocketRequestedProtocols)) { + data["webSocketRequestedProtocols"] = []; + for (let item of this.webSocketRequestedProtocols) + data["webSocketRequestedProtocols"].push(item); + } + return data; + } + + clone(): WebSocketManager { + const json = this.toJSON(); + let result = new WebSocketManager(); + result.init(json); + return result; + } +} + +export interface IWebSocketManager { + isWebSocketRequest: boolean; + webSocketRequestedProtocols: string[] | undefined; +} + export class WechatAppConfigEditDto implements IWechatAppConfigEditDto { - /** Id */ id: string | undefined; - /** AppId */ appId: string; - /** AppSecret */ appSecret: string; - /** Token */ token: string; - /** EncodingAESKey */ encodingAESKey: string | undefined; - /** 公众号名称 */ name: string; - /** 公众号原始ID */ appOrgId: string | undefined; appType: WechatAppTypeEnum; - /** QRCodeUrl */ qrCodeUrl: string | undefined; constructor(data?: IWechatAppConfigEditDto) { @@ -105756,39 +140467,24 @@ export class WechatAppConfigEditDto implements IWechatAppConfigEditDto { } } -/** 微信小程序配置 */ export interface IWechatAppConfigEditDto { - /** Id */ id: string | undefined; - /** AppId */ appId: string; - /** AppSecret */ appSecret: string; - /** Token */ token: string; - /** EncodingAESKey */ encodingAESKey: string | undefined; - /** 公众号名称 */ name: string; - /** 公众号原始ID */ appOrgId: string | undefined; appType: WechatAppTypeEnum; - /** QRCodeUrl */ qrCodeUrl: string | undefined; } -/** 微信小程序配置列表 */ export class WechatAppConfigListDto implements IWechatAppConfigListDto { - /** AppId */ appId: string; - /** 公众号名称 */ name: string; appType: WechatAppTypeEnum; - /** 公众号类型中文名称 */ appTypeStr: string | undefined; - /** QRCodeUrl */ qrCodeUrl: string | undefined; - /** 已注册到应用冲 */ registered: boolean; lastModificationTime: moment.Moment | undefined; lastModifierUserId: string | undefined; @@ -105852,18 +140548,12 @@ export class WechatAppConfigListDto implements IWechatAppConfigListDto { } } -/** 微信小程序配置列表 */ export interface IWechatAppConfigListDto { - /** AppId */ appId: string; - /** 公众号名称 */ name: string; appType: WechatAppTypeEnum; - /** 公众号类型中文名称 */ appTypeStr: string | undefined; - /** QRCodeUrl */ qrCodeUrl: string | undefined; - /** 已注册到应用冲 */ registered: boolean; lastModificationTime: moment.Moment | undefined; lastModifierUserId: string | undefined; @@ -105872,7 +140562,6 @@ export interface IWechatAppConfigListDto { id: string | undefined; } -/** 微信应用类型 */ export enum WechatAppTypeEnum { 订阅号 = "订阅号", 认证订阅号 = "认证订阅号", @@ -105880,6 +140569,314 @@ export enum WechatAppTypeEnum { 认证服务号 = "认证服务号", } +export class WorkTicketDto implements IWorkTicketDto { + id: number; + key: string | undefined; + moVer: string | undefined; + lotNo: string | undefined; + lotSeq: number; + opCode: string | undefined; + opName: string | undefined; + moCode: string | undefined; + moSeq: number; + itemCode: string | undefined; + itemName: string | undefined; + itemStd: string | undefined; + + constructor(data?: IWorkTicketDto) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.id = _data["id"]; + this.key = _data["key"]; + this.moVer = _data["moVer"]; + this.lotNo = _data["lotNo"]; + this.lotSeq = _data["lotSeq"]; + this.opCode = _data["opCode"]; + this.opName = _data["opName"]; + this.moCode = _data["moCode"]; + this.moSeq = _data["moSeq"]; + this.itemCode = _data["itemCode"]; + this.itemName = _data["itemName"]; + this.itemStd = _data["itemStd"]; + } + } + + static fromJS(data: any): WorkTicketDto { + data = typeof data === 'object' ? data : {}; + let result = new WorkTicketDto(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["id"] = this.id; + data["key"] = this.key; + data["moVer"] = this.moVer; + data["lotNo"] = this.lotNo; + data["lotSeq"] = this.lotSeq; + data["opCode"] = this.opCode; + data["opName"] = this.opName; + data["moCode"] = this.moCode; + data["moSeq"] = this.moSeq; + data["itemCode"] = this.itemCode; + data["itemName"] = this.itemName; + data["itemStd"] = this.itemStd; + return data; + } + + clone(): WorkTicketDto { + const json = this.toJSON(); + let result = new WorkTicketDto(); + result.init(json); + return result; + } +} + +export interface IWorkTicketDto { + id: number; + key: string | undefined; + moVer: string | undefined; + lotNo: string | undefined; + lotSeq: number; + opCode: string | undefined; + opName: string | undefined; + moCode: string | undefined; + moSeq: number; + itemCode: string | undefined; + itemName: string | undefined; + itemStd: string | undefined; +} + +export class X500DistinguishedName implements IX500DistinguishedName { + readonly name: string | undefined; + oid: Oid; + rawData: string | undefined; + + constructor(data?: IX500DistinguishedName) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + (this).name = _data["name"]; + this.oid = _data["oid"] ? Oid.fromJS(_data["oid"]) : undefined; + this.rawData = _data["rawData"]; + } + } + + static fromJS(data: any): X500DistinguishedName { + data = typeof data === 'object' ? data : {}; + let result = new X500DistinguishedName(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["name"] = this.name; + data["oid"] = this.oid ? this.oid.toJSON() : undefined; + data["rawData"] = this.rawData; + return data; + } + + clone(): X500DistinguishedName { + const json = this.toJSON(); + let result = new X500DistinguishedName(); + result.init(json); + return result; + } +} + +export interface IX500DistinguishedName { + name: string | undefined; + oid: Oid; + rawData: string | undefined; +} + +export class X509Certificate2 implements IX509Certificate2 { + archived: boolean; + readonly extensions: X509Extension[] | undefined; + friendlyName: string | undefined; + readonly hasPrivateKey: boolean; + privateKey: AsymmetricAlgorithm; + issuerName: X500DistinguishedName; + readonly notAfter: moment.Moment; + readonly notBefore: moment.Moment; + publicKey: PublicKey; + rawData: string | undefined; + readonly serialNumber: string | undefined; + signatureAlgorithm: Oid; + subjectName: X500DistinguishedName; + readonly thumbprint: string | undefined; + readonly version: number; + handle: any; + readonly issuer: string | undefined; + readonly subject: string | undefined; + + constructor(data?: IX509Certificate2) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.archived = _data["archived"]; + if (Array.isArray(_data["extensions"])) { + (this).extensions = [] as any; + for (let item of _data["extensions"]) + (this).extensions.push(X509Extension.fromJS(item)); + } + this.friendlyName = _data["friendlyName"]; + (this).hasPrivateKey = _data["hasPrivateKey"]; + this.privateKey = _data["privateKey"] ? AsymmetricAlgorithm.fromJS(_data["privateKey"]) : undefined; + this.issuerName = _data["issuerName"] ? X500DistinguishedName.fromJS(_data["issuerName"]) : undefined; + (this).notAfter = _data["notAfter"] ? moment(_data["notAfter"].toString()) : undefined; + (this).notBefore = _data["notBefore"] ? moment(_data["notBefore"].toString()) : undefined; + this.publicKey = _data["publicKey"] ? PublicKey.fromJS(_data["publicKey"]) : undefined; + this.rawData = _data["rawData"]; + (this).serialNumber = _data["serialNumber"]; + this.signatureAlgorithm = _data["signatureAlgorithm"] ? Oid.fromJS(_data["signatureAlgorithm"]) : undefined; + this.subjectName = _data["subjectName"] ? X500DistinguishedName.fromJS(_data["subjectName"]) : undefined; + (this).thumbprint = _data["thumbprint"]; + (this).version = _data["version"]; + this.handle = _data["handle"]; + (this).issuer = _data["issuer"]; + (this).subject = _data["subject"]; + } + } + + static fromJS(data: any): X509Certificate2 { + data = typeof data === 'object' ? data : {}; + let result = new X509Certificate2(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["archived"] = this.archived; + if (Array.isArray(this.extensions)) { + data["extensions"] = []; + for (let item of this.extensions) + data["extensions"].push(item.toJSON()); + } + data["friendlyName"] = this.friendlyName; + data["hasPrivateKey"] = this.hasPrivateKey; + data["privateKey"] = this.privateKey ? this.privateKey.toJSON() : undefined; + data["issuerName"] = this.issuerName ? this.issuerName.toJSON() : undefined; + data["notAfter"] = this.notAfter ? this.notAfter.toISOString() : undefined; + data["notBefore"] = this.notBefore ? this.notBefore.toISOString() : undefined; + data["publicKey"] = this.publicKey ? this.publicKey.toJSON() : undefined; + data["rawData"] = this.rawData; + data["serialNumber"] = this.serialNumber; + data["signatureAlgorithm"] = this.signatureAlgorithm ? this.signatureAlgorithm.toJSON() : undefined; + data["subjectName"] = this.subjectName ? this.subjectName.toJSON() : undefined; + data["thumbprint"] = this.thumbprint; + data["version"] = this.version; + data["handle"] = this.handle; + data["issuer"] = this.issuer; + data["subject"] = this.subject; + return data; + } + + clone(): X509Certificate2 { + const json = this.toJSON(); + let result = new X509Certificate2(); + result.init(json); + return result; + } +} + +export interface IX509Certificate2 { + archived: boolean; + extensions: X509Extension[] | undefined; + friendlyName: string | undefined; + hasPrivateKey: boolean; + privateKey: AsymmetricAlgorithm; + issuerName: X500DistinguishedName; + notAfter: moment.Moment; + notBefore: moment.Moment; + publicKey: PublicKey; + rawData: string | undefined; + serialNumber: string | undefined; + signatureAlgorithm: Oid; + subjectName: X500DistinguishedName; + thumbprint: string | undefined; + version: number; + handle: any; + issuer: string | undefined; + subject: string | undefined; +} + +export class X509Extension implements IX509Extension { + critical: boolean; + oid: Oid; + rawData: string | undefined; + + constructor(data?: IX509Extension) { + if (data) { + for (var property in data) { + if (data.hasOwnProperty(property)) + (this)[property] = (data)[property]; + } + } + } + + init(_data?: any) { + if (_data) { + this.critical = _data["critical"]; + this.oid = _data["oid"] ? Oid.fromJS(_data["oid"]) : undefined; + this.rawData = _data["rawData"]; + } + } + + static fromJS(data: any): X509Extension { + data = typeof data === 'object' ? data : {}; + let result = new X509Extension(); + result.init(data); + return result; + } + + toJSON(data?: any) { + data = typeof data === 'object' ? data : {}; + data["critical"] = this.critical; + data["oid"] = this.oid ? this.oid.toJSON() : undefined; + data["rawData"] = this.rawData; + return data; + } + + clone(): X509Extension { + const json = this.toJSON(); + let result = new X509Extension(); + result.init(json); + return result; + } +} + +export interface IX509Extension { + critical: boolean; + oid: Oid; + rawData: string | undefined; +} + export interface FileParameter { data: any; fileName: string; diff --git a/src/uni-app/yarn.lock b/src/uni-app/yarn.lock new file mode 100644 index 00000000..73d68014 --- /dev/null +++ b/src/uni-app/yarn.lock @@ -0,0 +1,3398 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@ampproject/remapping@^2.1.0": + version "2.2.0" + resolved "https://registry.npmmirror.com/@ampproject/remapping/-/remapping-2.2.0.tgz" + integrity sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w== + dependencies: + "@jridgewell/gen-mapping" "^0.1.0" + "@jridgewell/trace-mapping" "^0.3.9" + +"@babel/code-frame@^7.18.6": + version "7.18.6" + resolved "https://registry.npmmirror.com/@babel/code-frame/-/code-frame-7.18.6.tgz" + integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== + dependencies: + "@babel/highlight" "^7.18.6" + +"@babel/compat-data@^7.20.5": + version "7.20.10" + resolved "https://registry.npmmirror.com/@babel/compat-data/-/compat-data-7.20.10.tgz" + integrity sha512-sEnuDPpOJR/fcafHMjpcpGN5M2jbUGUHwmuWKM/YdPzeEDJg8bgmbcWQFUfE32MQjti1koACvoPVsDe8Uq+idg== + +"@babel/core@^7.17.9": + version "7.20.12" + resolved "https://registry.npmmirror.com/@babel/core/-/core-7.20.12.tgz" + integrity sha512-XsMfHovsUYHFMdrIHkZphTN/2Hzzi78R08NuHfDBehym2VsPDL6Zn/JAD/JQdnRvbSsbQc4mVaU1m6JgtTEElg== + dependencies: + "@ampproject/remapping" "^2.1.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.20.7" + "@babel/helper-compilation-targets" "^7.20.7" + "@babel/helper-module-transforms" "^7.20.11" + "@babel/helpers" "^7.20.7" + "@babel/parser" "^7.20.7" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.12" + "@babel/types" "^7.20.7" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.2" + semver "^6.3.0" + +"@babel/generator@^7.17.9", "@babel/generator@^7.20.7": + version "7.20.7" + resolved "https://registry.npmmirror.com/@babel/generator/-/generator-7.20.7.tgz" + integrity sha512-7wqMOJq8doJMZmP4ApXTzLxSr7+oO2jroJURrVEp6XShrQUObV8Tq/D0NCcoYg2uHqUrjzO0zwBjoYzelxK+sw== + dependencies: + "@babel/types" "^7.20.7" + "@jridgewell/gen-mapping" "^0.3.2" + jsesc "^2.5.1" + +"@babel/helper-annotate-as-pure@^7.18.6": + version "7.18.6" + resolved "https://registry.npmmirror.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz" + integrity sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-compilation-targets@^7.20.7": + version "7.20.7" + resolved "https://registry.npmmirror.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz" + integrity sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ== + dependencies: + "@babel/compat-data" "^7.20.5" + "@babel/helper-validator-option" "^7.18.6" + browserslist "^4.21.3" + lru-cache "^5.1.1" + semver "^6.3.0" + +"@babel/helper-create-class-features-plugin@^7.20.7": + version "7.20.12" + resolved "https://registry.npmmirror.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.20.12.tgz" + integrity sha512-9OunRkbT0JQcednL0UFvbfXpAsUXiGjUk0a7sN8fUXX7Mue79cUSMjHGDRRi/Vz9vYlpIhLV5fMD5dKoMhhsNQ== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-member-expression-to-functions" "^7.20.7" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/helper-replace-supers" "^7.20.7" + "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" + "@babel/helper-split-export-declaration" "^7.18.6" + +"@babel/helper-environment-visitor@^7.18.9": + version "7.18.9" + resolved "https://registry.npmmirror.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz" + integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== + +"@babel/helper-function-name@^7.19.0": + version "7.19.0" + resolved "https://registry.npmmirror.com/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz" + integrity sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w== + dependencies: + "@babel/template" "^7.18.10" + "@babel/types" "^7.19.0" + +"@babel/helper-hoist-variables@^7.18.6": + version "7.18.6" + resolved "https://registry.npmmirror.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz" + integrity sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-member-expression-to-functions@^7.20.7": + version "7.20.7" + resolved "https://registry.npmmirror.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.20.7.tgz" + integrity sha512-9J0CxJLq315fEdi4s7xK5TQaNYjZw+nDVpVqr1axNGKzdrdwYBD5b4uKv3n75aABG0rCCTK8Im8Ww7eYfMrZgw== + dependencies: + "@babel/types" "^7.20.7" + +"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.18.6": + version "7.18.6" + resolved "https://registry.npmmirror.com/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" + integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-module-transforms@^7.20.11": + version "7.20.11" + resolved "https://registry.npmmirror.com/@babel/helper-module-transforms/-/helper-module-transforms-7.20.11.tgz" + integrity sha512-uRy78kN4psmji1s2QtbtcCSaj/LILFDp0f/ymhpQH5QY3nljUZCaNWz9X1dEj/8MBdBEFECs7yRhKn8i7NjZgg== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-simple-access" "^7.20.2" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/helper-validator-identifier" "^7.19.1" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.10" + "@babel/types" "^7.20.7" + +"@babel/helper-optimise-call-expression@^7.18.6": + version "7.18.6" + resolved "https://registry.npmmirror.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz" + integrity sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.20.2": + version "7.20.2" + resolved "https://registry.npmmirror.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz" + integrity sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ== + +"@babel/helper-replace-supers@^7.20.7": + version "7.20.7" + resolved "https://registry.npmmirror.com/@babel/helper-replace-supers/-/helper-replace-supers-7.20.7.tgz" + integrity sha512-vujDMtB6LVfNW13jhlCrp48QNslK6JXi7lQG736HVbHz/mbf4Dc7tIRh1Xf5C0rF7BP8iiSxGMCmY6Ci1ven3A== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-member-expression-to-functions" "^7.20.7" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.7" + "@babel/types" "^7.20.7" + +"@babel/helper-simple-access@^7.20.2": + version "7.20.2" + resolved "https://registry.npmmirror.com/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz" + integrity sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA== + dependencies: + "@babel/types" "^7.20.2" + +"@babel/helper-skip-transparent-expression-wrappers@^7.20.0": + version "7.20.0" + resolved "https://registry.npmmirror.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.20.0.tgz" + integrity sha512-5y1JYeNKfvnT8sZcK9DVRtpTbGiomYIHviSP3OQWmDPU3DeH4a1ZlT/N2lyQ5P8egjcRaT/Y9aNqUxK0WsnIIg== + dependencies: + "@babel/types" "^7.20.0" + +"@babel/helper-split-export-declaration@^7.18.6": + version "7.18.6" + resolved "https://registry.npmmirror.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz" + integrity sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.npmmirror.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.npmmirror.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + +"@babel/helper-validator-option@^7.18.6": + version "7.18.6" + resolved "https://registry.npmmirror.com/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz" + integrity sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw== + +"@babel/helpers@^7.20.7": + version "7.20.7" + resolved "https://registry.npmmirror.com/@babel/helpers/-/helpers-7.20.7.tgz" + integrity sha512-PBPjs5BppzsGaxHQCDKnZ6Gd9s6xl8bBCluz3vEInLGRJmnZan4F6BYCeqtyXqkk4W5IlPmjK4JlOuZkpJ3xZA== + dependencies: + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.7" + "@babel/types" "^7.20.7" + +"@babel/highlight@^7.18.6": + version "7.18.6" + resolved "https://registry.npmmirror.com/@babel/highlight/-/highlight-7.18.6.tgz" + integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== + dependencies: + "@babel/helper-validator-identifier" "^7.18.6" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/parser@^7.16.4", "@babel/parser@^7.17.9", "@babel/parser@^7.20.7": + version "7.20.7" + resolved "https://registry.npmmirror.com/@babel/parser/-/parser-7.20.7.tgz" + integrity sha512-T3Z9oHybU+0vZlY9CiDSJQTD5ZapcW18ZctFMi0MOAl/4BjFF4ul7NVSARLdbGO5vDqy9eQiGTV0LtKfvCYvcg== + +"@babel/plugin-syntax-import-meta@^7.10.4": + version "7.10.4" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz" + integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-jsx@^7.0.0": + version "7.18.6" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-syntax-typescript@^7.20.0": + version "7.20.0" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.20.0.tgz" + integrity sha512-rd9TkG+u1CExzS4SM1BlMEhMXwFLKVjOAFFCDx9PbX5ycJWDoWMcwdJH9RhkPu1dOgn5TrxLot/Gx6lWFuAUNQ== + dependencies: + "@babel/helper-plugin-utils" "^7.19.0" + +"@babel/plugin-transform-typescript@^7.16.8": + version "7.20.7" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.20.7.tgz" + integrity sha512-m3wVKEvf6SoszD8pu4NZz3PvfKRCMgk6D6d0Qi9hNnlM5M6CFS92EgF4EiHVLKbU0r/r7ty1hg7NPZwE7WRbYw== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.20.7" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/plugin-syntax-typescript" "^7.20.0" + +"@babel/standalone@^7.17.11": + version "7.20.12" + resolved "https://registry.npmmirror.com/@babel/standalone/-/standalone-7.20.12.tgz" + integrity sha512-hK/X+m1il3w1tYS4H8LDaGCEdiT47SVqEXY8RiEAgou26BystipSU8ZL6EvBR6t5l7lTv0ilBiChXWblKJ5iUA== + +"@babel/template@^7.0.0", "@babel/template@^7.18.10", "@babel/template@^7.20.7": + version "7.20.7" + resolved "https://registry.npmmirror.com/@babel/template/-/template-7.20.7.tgz" + integrity sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" + +"@babel/traverse@^7.0.0", "@babel/traverse@^7.20.10", "@babel/traverse@^7.20.12", "@babel/traverse@^7.20.7": + version "7.20.12" + resolved "https://registry.npmmirror.com/@babel/traverse/-/traverse-7.20.12.tgz" + integrity sha512-MsIbFN0u+raeja38qboyF8TIT7K0BFzz/Yd/77ta4MsUsmP2RAnidIlwq7d5HFQrH/OZJecGV6B71C4zAgpoSQ== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.20.7" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/types@^7.0.0", "@babel/types@^7.17.0", "@babel/types@^7.18.6", "@babel/types@^7.19.0", "@babel/types@^7.20.0", "@babel/types@^7.20.2", "@babel/types@^7.20.7": + version "7.20.7" + resolved "https://registry.npmmirror.com/@babel/types/-/types-7.20.7.tgz" + integrity sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + +"@cloudbase/adapter-interface@^0.4.0": + version "0.4.1" + resolved "https://registry.npmmirror.com/@cloudbase/adapter-interface/-/adapter-interface-0.4.1.tgz" + integrity sha512-DJBhBUMg6pYByaw4II7rawbW8nu+x+faZFIxIkWeTRSxboW/jS3NpBQ7kAbycEJVAB2DO77FsnaHKYAMLnvwzw== + +"@cloudbase/analytics@^1.1.1-alpha.0": + version "1.1.4" + resolved "https://registry.npmmirror.com/@cloudbase/analytics/-/analytics-1.1.4.tgz" + integrity sha512-OlvmePWAOnCnxOodmRXY0Mk1RyTeDwRLbbZBqMtHD+xco63YSwbplji3vqbVmBYwVIW7Aho+b/v2flaIaFUeAw== + dependencies: + "@cloudbase/functions" "^1.3.4" + "@cloudbase/types" "^1.1.3-alpha.0" + +"@cloudbase/app@^1.4.1": + version "1.4.1" + resolved "https://registry.npmmirror.com/@cloudbase/app/-/app-1.4.1.tgz" + integrity sha512-MS8M0Z/iaSMTSU/N5NIFbK1H4vz8Cbrziag3jhD3iGUtZ4XqkmdskOoOVbQMvy+XF+STts18bv/T+sufjdekMw== + dependencies: + "@cloudbase/adapter-interface" "^0.4.0" + "@cloudbase/types" "^1.1.3-alpha.0" + "@cloudbase/utilities" "^1.3.4" + cloudbase-adapter-wx_mp "0.2.0" + +"@cloudbase/auth@^1.6.1": + version "1.6.1" + resolved "https://registry.npmmirror.com/@cloudbase/auth/-/auth-1.6.1.tgz" + integrity sha512-XM2m59vzA4ZfxvHAWcd1T7J5dLc2DHjvmsHo4oSW1T3pyElISVkPSq0SaTy49jQACO+zqt1ZgnGg5CLf8lcGWA== + dependencies: + "@cloudbase/adapter-interface" "^0.4.0" + "@cloudbase/app" "^1.4.1" + "@cloudbase/types" "^1.1.3-alpha.0" + "@cloudbase/utilities" "^1.3.4" + sourcemapped-stacktrace "^1.1.11" + +"@cloudbase/database@0.9.18-next": + version "0.9.18-next" + resolved "https://registry.npmmirror.com/@cloudbase/database/-/database-0.9.18-next.tgz" + integrity sha512-iXruD1T5scc/h+zNc7o3EdoiEr5l0eLhMH47UsIprp5livB7tdZTDX9U5EBXflYmRIG/1TrK983GsvCbKWT7iw== + dependencies: + bson "^4.0.2" + lodash.clonedeep "4.5.0" + lodash.set "4.3.2" + lodash.unset "4.5.2" + +"@cloudbase/functions@^1.3.4": + version "1.3.4" + resolved "https://registry.npmmirror.com/@cloudbase/functions/-/functions-1.3.4.tgz" + integrity sha512-HaZEv+zW0NndiynfLzn3a2mii0hyZ9ANncz+/ZT66f1ZuluXeKFUgNBm3ZWIb1QA1HvSFaj9kDpz5/ftNymp3A== + dependencies: + "@cloudbase/adapter-interface" "^0.4.0" + "@cloudbase/types" "^1.1.3-alpha.0" + "@cloudbase/utilities" "^1.3.4" + +"@cloudbase/js-sdk@^1.7.2": + version "1.7.2" + resolved "https://registry.npmmirror.com/@cloudbase/js-sdk/-/js-sdk-1.7.2.tgz" + integrity sha512-CF+pd1EKNFfUO2rmj8zL4yocjTKu1GkJMjig5UAcsX+CBXS0yxQEyMvGvwUlorOCBYvlxm7i6hEUBoHrnefHMg== + dependencies: + "@cloudbase/analytics" "^1.1.1-alpha.0" + "@cloudbase/app" "^1.4.1" + "@cloudbase/auth" "^1.6.1" + "@cloudbase/database" "0.9.18-next" + "@cloudbase/functions" "^1.3.4" + "@cloudbase/realtime" "^1.1.4-alpha.0" + "@cloudbase/storage" "^1.3.4" + "@cloudbase/types" "^1.1.3-alpha.0" + "@cloudbase/utilities" "^1.3.4" + +"@cloudbase/realtime@^1.1.4-alpha.0": + version "1.1.4-alpha.0" + resolved "https://registry.npmmirror.com/@cloudbase/realtime/-/realtime-1.1.4-alpha.0.tgz" + integrity sha512-pT9wHPfQDSLNws+C1ki+5liUlHHyK+OLUTvKfq8HB3yyXCJz5R1O1BqVJTjRs7RW0J+mzUKB2tGuIL6M5Kcptw== + dependencies: + "@cloudbase/types" "^1.1.3-alpha.0" + +"@cloudbase/storage@^1.3.4": + version "1.3.4" + resolved "https://registry.npmmirror.com/@cloudbase/storage/-/storage-1.3.4.tgz" + integrity sha512-q+bMNl61gvfyCUPmNGGgXZ2mVKLFqRDJR8CGGt3wBxJwt9eO7yOLjTAb0vdLXNpfdJ/ZovdxiQd8kZEB0+5m0w== + dependencies: + "@cloudbase/types" "^1.1.3-alpha.0" + "@cloudbase/utilities" "^1.3.4" + +"@cloudbase/types@^1.1.3-alpha.0": + version "1.1.3-alpha.0" + resolved "https://registry.npmmirror.com/@cloudbase/types/-/types-1.1.3-alpha.0.tgz" + integrity sha512-BIfILvpEjQmnYdhyHQ4m9QihxlV1kucPVG9AS+z5vZfbn2Jo75xgkex0F2qV4tV7YrQIrzQYtQmJbgG7TwAaSw== + dependencies: + "@cloudbase/adapter-interface" "^0.4.0" + +"@cloudbase/utilities@^1.3.4": + version "1.3.4" + resolved "https://registry.npmmirror.com/@cloudbase/utilities/-/utilities-1.3.4.tgz" + integrity sha512-bw3e9UxE+gHr5XKFJNkPSjftverVed1za+ruYHs+/G+5AzZRtt2R6Kxt/9q+iFwAL2/oGq/zir0r7ora78OFZQ== + dependencies: + "@cloudbase/adapter-interface" "^0.4.0" + "@cloudbase/types" "^1.1.3-alpha.0" + crypto-js "3" + +"@dcloudio/types@^2.6.4": + version "2.6.12" + resolved "https://registry.npmmirror.com/@dcloudio/types/-/types-2.6.12.tgz" + integrity sha512-mrCMwcINy1IFjU9VUqLeWBkj404yWs5paLDttBcA+eqUjanuUQbBcTVPqlrGgkyzLXDcV2oDDZRSNxNpXi4kMQ== + +"@dcloudio/uni-app-plus@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-app-plus/-/uni-app-plus-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-l/pfr+oJmCbScBz4vmJiWsOV/sxBSJYNHcoV/S4VLB8NYrDtq2zXlZWEZUYFa6a54UuVnI3frkzlajJfRI9YSQ== + dependencies: + "@dcloudio/uni-app-vite" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-app-vue" "3.0.0-alpha-3040820220424001" + +"@dcloudio/uni-app-vite@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-app-vite/-/uni-app-vite-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-MzZpWY0x7Y95YHp3uVpqv7VT5Wmz4pFY5zdPFXg2DR91MmsCHOEEyrA1PGJWvwV6NW+hyy+yNkkbxmyYJ4n21A== + dependencies: + "@dcloudio/uni-cli-shared" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-i18n" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-nvue-styler" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + "@rollup/pluginutils" "^4.2.0" + "@vitejs/plugin-vue" "^2.3.1" + "@vue/compiler-dom" "3.2.33" + "@vue/compiler-sfc" "3.2.33" + debug "^4.3.3" + fs-extra "^10.0.0" + picocolors "^1.0.0" + rollup "^2.59.0" + +"@dcloudio/uni-app-vue@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-app-vue/-/uni-app-vue-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-4x47MJQ9gTn1zZU43LnDb7GEM33EbxeDtCr9cBiR9NSjmOMj44IlBJgEJAIRsrb8GQEbzNOVPNA0O6CnRga2hA== + +"@dcloudio/uni-app@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-app/-/uni-app-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-VNF6QHmYhH3VLbt//5tIZ4TKghuCRGiGKsO/KPme6fXt9SYH96/XbzxW2RtWXXqb31nEUFcqUAaQz93UdL+ZmA== + dependencies: + "@dcloudio/uni-cloud" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-components" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-i18n" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-push" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-stat" "3.0.0-alpha-3040820220424001" + "@vue/shared" "3.2.33" + +"@dcloudio/uni-automator@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-automator/-/uni-automator-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-xB4KFZfIa9qLA6KPTAw3iFvdglcA4ZF4P9w7h+iLlN9trI1GIzaNCI9lX2WUh0au+XrPOR6ijf+X5jRhEL/vAQ== + dependencies: + "@dcloudio/uni-cli-shared" "3.0.0-alpha-3040820220424001" + address "^1.1.2" + cross-env "^7.0.3" + debug "^4.3.3" + default-gateway "^6.0.3" + fs-extra "^10.0.0" + licia "^1.29.0" + postcss-selector-parser "^6.0.6" + qrcode-reader "^1.0.4" + qrcode-terminal "^0.12.0" + ws "^8.4.2" + +"@dcloudio/uni-cli-shared@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-cli-shared/-/uni-cli-shared-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-1F9jQRZv/f8UXuw0vOF6aizhY0S6uEWL0U95wlNQGFgxIVLSTInXpLrs/xF1gtQnFweiOJXmtZNWAUmMf8ajIA== + dependencies: + "@babel/core" "^7.17.9" + "@babel/parser" "^7.17.9" + "@babel/types" "^7.17.0" + "@dcloudio/uni-i18n" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + "@intlify/core-base" "9.1.9" + "@intlify/shared" "9.1.9" + "@intlify/vue-devtools" "9.1.9" + "@rollup/pluginutils" "^4.2.0" + "@vue/compiler-core" "3.2.33" + "@vue/compiler-dom" "3.2.33" + "@vue/compiler-sfc" "3.2.33" + "@vue/server-renderer" "3.2.33" + "@vue/shared" "3.2.33" + autoprefixer "^10.4.5" + base64url "^3.0.1" + chokidar "^3.5.3" + compare-versions "^3.6.0" + debug "^4.3.3" + es-module-lexer "^0.9.3" + esbuild "^0.14.27" + estree-walker "^2.0.2" + fast-glob "^3.2.11" + fs-extra "^10.0.0" + hash-sum "^2.0.0" + jsonc-parser "^3.0.0" + magic-string "^0.26.1" + merge "^2.1.1" + mime "^3.0.0" + module-alias "^2.2.2" + picocolors "^1.0.0" + postcss-import "^14.0.2" + postcss-load-config "^3.1.1" + postcss-modules "^4.3.0" + postcss-selector-parser "^6.0.6" + resolve "^1.22.0" + tapable "^2.2.0" + xregexp "3.1.0" + +"@dcloudio/uni-cloud@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-cloud/-/uni-cloud-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-q0ZRt38edMG/vd3n/TBqp937m9PZIH9ZaLeNfM3LddL5E/3BMrKHa2XfupEz6H8vF8Y4xWc2DKbWQoJNb902ZQ== + dependencies: + "@dcloudio/uni-cli-shared" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-i18n" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + +"@dcloudio/uni-components@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-components/-/uni-components-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-v6x8nhHwf7xhSgE3uNHvlKntYTHO7tXRaGk9BBw6JBlnnyyK2QMX6fw7xgBfgc4yiy4QSPhA83hPBRejA5fekw== + +"@dcloudio/uni-h5-vite@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-h5-vite/-/uni-h5-vite-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-SqPWPhDnqDmZfo+qUnI7zHOoUABAj0g2z+VwmXTMM0T0kUK+czhCESp9l80zVZksEU/t0klMpZoNeun5OZ/9rQ== + dependencies: + "@dcloudio/uni-cli-shared" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + "@rollup/pluginutils" "^4.2.0" + "@vue/compiler-dom" "3.2.33" + "@vue/compiler-sfc" "3.2.33" + "@vue/server-renderer" "3.2.33" + "@vue/shared" "3.2.33" + debug "^4.3.3" + fs-extra "^10.0.0" + mime "^3.0.0" + module-alias "^2.2.2" + +"@dcloudio/uni-h5-vue@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-h5-vue/-/uni-h5-vue-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-5Y6aCaQ8wNKq5LoBBCOVDuCjDCeXSuZ8xfhDXem+ReqIeRDYMHnh8i9UPMfkpVzKFG/bVRCyin80CTRU3QgaIQ== + +"@dcloudio/uni-h5@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-h5/-/uni-h5-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-sscA90/5Yk9HpTDvPhC60A+V0MXwHa3nogoWt+yOTH0mB545INSjpCqa1HJ7JhshQSC76NHO88x2NYYvFvHc/w== + dependencies: + "@dcloudio/uni-h5-vite" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-h5-vue" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-i18n" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + "@vue/server-renderer" "3.2.33" + "@vue/shared" "3.2.33" + localstorage-polyfill "^1.0.1" + safe-area-insets "^1.4.1" + vue-router "^4.0.14" + xmlhttprequest "^1.8.0" + +"@dcloudio/uni-i18n@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-i18n/-/uni-i18n-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-sdFLizz7ZSdAb/xrnxOd6u7T+r0GfVXdq3k6h82cYGkQSWclV0WzP1Dsztc8TpUodP17x0Rww8NYDKJteasYTw== + +"@dcloudio/uni-mp-alipay@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-mp-alipay/-/uni-mp-alipay-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-9omtgIsZcJ2FDQerwPrGWdNTeyStUXCFXLIDaBe/zlIsAbuW9QHC2OUbusMgLUhNsvufOgYl3RYodgp8BvBzZg== + dependencies: + "@dcloudio/uni-cli-shared" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-vite" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-vue" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + "@vue/compiler-core" "3.2.33" + "@vue/shared" "3.2.33" + +"@dcloudio/uni-mp-baidu@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-mp-baidu/-/uni-mp-baidu-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-uHcQ1C2kBK4RxALxoT7L+Qmf8AavA7SZOSvdhJdPDqeQVcP+4kAzwXr1786MeeRu13OdH6SiHaQVr2DwmieTjg== + dependencies: + "@dcloudio/uni-cli-shared" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-compiler" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-vite" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-vue" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-weixin" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + "@vue/compiler-core" "3.2.33" + "@vue/shared" "3.2.33" + +"@dcloudio/uni-mp-compiler@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-mp-compiler/-/uni-mp-compiler-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-cX8MDFJDHMpzPrY35vmTP8p1gvaRvSl8N5ftVRm0xIT4Li9mHCXMytI796wQL/t5ITaQxb+53lNI2chvXEoZzQ== + dependencies: + "@babel/generator" "^7.17.9" + "@babel/parser" "^7.17.9" + "@babel/types" "^7.17.0" + "@dcloudio/uni-cli-shared" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + "@vue/compiler-core" "3.2.33" + "@vue/compiler-dom" "3.2.33" + "@vue/shared" "3.2.33" + estree-walker "^2.0.2" + +"@dcloudio/uni-mp-kuaishou@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-mp-kuaishou/-/uni-mp-kuaishou-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-Yvd34G0p1ZmewHUREF8fqqYRWXGh1Enwho9FI+YCHk/0rdCZP4IRe9heJ91ZDfyDGxHWFFUYWIUaJUwZyE6t4Q== + dependencies: + "@dcloudio/uni-cli-shared" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-compiler" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-vite" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-vue" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-weixin" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + "@vue/compiler-core" "3.2.33" + "@vue/shared" "3.2.33" + +"@dcloudio/uni-mp-lark@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-mp-lark/-/uni-mp-lark-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-33fZrjvKYF4OBuPmoAt2QbHP/D8irXFRGQ39cDZJ8LfGLsivaXDHMUHpCp8e9hDigHrIhxuMqdUqgx/GW5TFCQ== + dependencies: + "@dcloudio/uni-cli-shared" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-compiler" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-toutiao" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-vite" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-vue" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + "@vue/compiler-core" "3.2.33" + "@vue/shared" "3.2.33" + +"@dcloudio/uni-mp-qq@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-mp-qq/-/uni-mp-qq-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-a0bhU9bZvnDXSGVFQ3XGYSHTdxTHFVJBAex7ZaH7OH9lzXykKKmE2mLBsYD92yvBbOz2BrsROIzP2MsZ53aTNg== + dependencies: + "@dcloudio/uni-cli-shared" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-vite" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-vue" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + "@vue/shared" "3.2.33" + fs-extra "^10.0.0" + +"@dcloudio/uni-mp-toutiao@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-mp-toutiao/-/uni-mp-toutiao-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-gwBOBry5L1xNcAbKG/gDfPuLGebZCd7pWef9z28R+kiKOqR2SOuASwclarVARRDjQpaIOsQ+eL2E9b/szKmdTg== + dependencies: + "@dcloudio/uni-cli-shared" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-compiler" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-vite" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-vue" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + "@vue/compiler-core" "3.2.33" + "@vue/shared" "3.2.33" + +"@dcloudio/uni-mp-vite@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-mp-vite/-/uni-mp-vite-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-smVHArj+FSKh3E/MexmDTqJbooiwTz0x+BENTpCm+DnXGo1BHIWOwTkEBgHKP/oPF3essRzhMq9kTfYBfDf13g== + dependencies: + "@dcloudio/uni-cli-shared" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-i18n" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-compiler" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-vue" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + "@vue/compiler-sfc" "3.2.33" + "@vue/shared" "3.2.33" + debug "^4.3.3" + magic-string "^0.26.1" + +"@dcloudio/uni-mp-vue@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-mp-vue/-/uni-mp-vue-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-TEzwk8kZzbGPJ7PkGAX3LvrAvd9dB+jRq1BwkIzNpyo2xBkGv0PBTVShsWWgXSlUoN89nzaD7XbaZaj6GCJbqw== + dependencies: + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + "@vue/shared" "3.2.33" + +"@dcloudio/uni-mp-weixin@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-mp-weixin/-/uni-mp-weixin-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-6qke7kMjf8mAYBbV+PwW6XrzBwSSVOMdyZv4mNeDsQLCmD5/7gp4/NxpI5RxjE0lkU/CCXkAJWm9cZs+XABR/w== + dependencies: + "@dcloudio/uni-cli-shared" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-vite" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-vue" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + "@vue/shared" "3.2.33" + +"@dcloudio/uni-nvue-styler@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-nvue-styler/-/uni-nvue-styler-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-mrYOhZXcASR2sEXCH1tCkHQQ1yJCImUdmRt1QfEy7sruGO+ofwKrBPjmkNg3NqDcpzRqOQmirav31bqjxj9kUg== + dependencies: + "@vue/shared" "3.2.33" + parse-css-font "^4.0.0" + postcss "^8.4.12" + +"@dcloudio/uni-push@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-push/-/uni-push-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-CVmGg8cKZM0vYHDibSPFYX35UYN370c3xrf6ZbnFclx1bVw2l9QNNG6Zkt4XoWp+gUF4q/Hh+oBszovjaGyWug== + dependencies: + "@dcloudio/uni-cli-shared" "3.0.0-alpha-3040820220424001" + +"@dcloudio/uni-quickapp-webview@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-quickapp-webview/-/uni-quickapp-webview-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-d28HguwbkvsLP4q7aaUR8xJUWlxgsHySAXipIInVo1WtWGvISkmvcde8um5fkfIJBrRupVICFxfBwKJh0HGm6A== + dependencies: + "@dcloudio/uni-cli-shared" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-vite" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-mp-vue" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + "@vue/shared" "3.2.33" + +"@dcloudio/uni-shared@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-shared/-/uni-shared-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-3aP6MGqhXPwH/IWVbEn1e8ljBkM3Qu7S6m266xaksvtZlHKizXPRWT3RRLaACicvd7MYK61t2J3bsIX6Irh9Kg== + dependencies: + "@vue/shared" "3.2.33" + +"@dcloudio/uni-stat@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-stat/-/uni-stat-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-4diOqcbY20OvixP8mR2YiHYOSIuKg+0LNE0EFm1YLQfODe95ujyNMwN97Xyzm5MIZ7t/qG/hZCoLlkfZxDTlxg== + dependencies: + "@dcloudio/uni-cli-shared" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + debug "^4.3.3" + +"@dcloudio/uni-ui@^1.4.16": + version "1.4.23" + resolved "https://registry.npmmirror.com/@dcloudio/uni-ui/-/uni-ui-1.4.23.tgz" + integrity sha512-FJRkhL240gin9WvOunY38Yi2/0FzTLVlEI3dxcjzaV1oYa81o+IWEf/29YDiRrsHuvYDk9g600QgiZLC+A6ycA== + +"@dcloudio/vite-plugin-uni@3.0.0-alpha-3040820220424001": + version "3.0.0-alpha-3040820220424001" + resolved "https://registry.npmmirror.com/@dcloudio/vite-plugin-uni/-/vite-plugin-uni-3.0.0-alpha-3040820220424001.tgz" + integrity sha512-ksXzUTHkjOYJ/XqJmTSR25edamCSPXOPUkaTeZ138MECuNongJUDksxPXvDzYEFwtv+7Nm4Y93EmpBcNPvs3Zw== + dependencies: + "@babel/core" "^7.17.9" + "@babel/plugin-syntax-import-meta" "^7.10.4" + "@babel/plugin-transform-typescript" "^7.16.8" + "@dcloudio/uni-cli-shared" "3.0.0-alpha-3040820220424001" + "@dcloudio/uni-shared" "3.0.0-alpha-3040820220424001" + "@rollup/pluginutils" "^4.2.0" + "@vitejs/plugin-legacy" "^1.8.1" + "@vitejs/plugin-vue" "^2.3.1" + "@vitejs/plugin-vue-jsx" "^1.3.10" + "@vue/compiler-core" "3.2.33" + "@vue/compiler-dom" "3.2.33" + "@vue/compiler-sfc" "3.2.33" + "@vue/shared" "3.2.33" + cac "6.7.9" + debug "^4.3.3" + estree-walker "^2.0.2" + express "^4.17.1" + fs-extra "^10.0.0" + hash-sum "^2.0.0" + jsonc-parser "^3.0.0" + picocolors "^1.0.0" + +"@esbuild/linux-loong64@0.14.54": + version "0.14.54" + resolved "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.14.54.tgz#de2a4be678bd4d0d1ffbb86e6de779cde5999028" + integrity sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw== + +"@intlify/core-base@9.1.9": + version "9.1.9" + resolved "https://registry.npmmirror.com/@intlify/core-base/-/core-base-9.1.9.tgz" + integrity sha512-x5T0p/Ja0S8hs5xs+ImKyYckVkL4CzcEXykVYYV6rcbXxJTe2o58IquSqX9bdncVKbRZP7GlBU1EcRaQEEJ+vw== + dependencies: + "@intlify/devtools-if" "9.1.9" + "@intlify/message-compiler" "9.1.9" + "@intlify/message-resolver" "9.1.9" + "@intlify/runtime" "9.1.9" + "@intlify/shared" "9.1.9" + "@intlify/vue-devtools" "9.1.9" + +"@intlify/core-base@9.2.2": + version "9.2.2" + resolved "https://registry.npmmirror.com/@intlify/core-base/-/core-base-9.2.2.tgz" + integrity sha512-JjUpQtNfn+joMbrXvpR4hTF8iJQ2sEFzzK3KIESOx+f+uwIjgw20igOyaIdhfsVVBCds8ZM64MoeNSx+PHQMkA== + dependencies: + "@intlify/devtools-if" "9.2.2" + "@intlify/message-compiler" "9.2.2" + "@intlify/shared" "9.2.2" + "@intlify/vue-devtools" "9.2.2" + +"@intlify/devtools-if@9.1.9": + version "9.1.9" + resolved "https://registry.npmmirror.com/@intlify/devtools-if/-/devtools-if-9.1.9.tgz" + integrity sha512-oKSMKjttG3Ut/1UGEZjSdghuP3fwA15zpDPcjkf/1FjlOIm6uIBGMNS5jXzsZy593u+P/YcnrZD6cD3IVFz9vQ== + dependencies: + "@intlify/shared" "9.1.9" + +"@intlify/devtools-if@9.2.2": + version "9.2.2" + resolved "https://registry.npmmirror.com/@intlify/devtools-if/-/devtools-if-9.2.2.tgz" + integrity sha512-4ttr/FNO29w+kBbU7HZ/U0Lzuh2cRDhP8UlWOtV9ERcjHzuyXVZmjyleESK6eVP60tGC9QtQW9yZE+JeRhDHkg== + dependencies: + "@intlify/shared" "9.2.2" + +"@intlify/message-compiler@9.1.9": + version "9.1.9" + resolved "https://registry.npmmirror.com/@intlify/message-compiler/-/message-compiler-9.1.9.tgz" + integrity sha512-6YgCMF46Xd0IH2hMRLCssZI3gFG4aywidoWQ3QP4RGYQXQYYfFC54DxhSgfIPpVoPLQ+4AD29eoYmhiHZ+qLFQ== + dependencies: + "@intlify/message-resolver" "9.1.9" + "@intlify/shared" "9.1.9" + source-map "0.6.1" + +"@intlify/message-compiler@9.2.2": + version "9.2.2" + resolved "https://registry.npmmirror.com/@intlify/message-compiler/-/message-compiler-9.2.2.tgz" + integrity sha512-IUrQW7byAKN2fMBe8z6sK6riG1pue95e5jfokn8hA5Q3Bqy4MBJ5lJAofUsawQJYHeoPJ7svMDyBaVJ4d0GTtA== + dependencies: + "@intlify/shared" "9.2.2" + source-map "0.6.1" + +"@intlify/message-resolver@9.1.9": + version "9.1.9" + resolved "https://registry.npmmirror.com/@intlify/message-resolver/-/message-resolver-9.1.9.tgz" + integrity sha512-Lx/DBpigeK0sz2BBbzv5mu9/dAlt98HxwbG7xLawC3O2xMF9MNWU5FtOziwYG6TDIjNq0O/3ZbOJAxwITIWXEA== + +"@intlify/runtime@9.1.9": + version "9.1.9" + resolved "https://registry.npmmirror.com/@intlify/runtime/-/runtime-9.1.9.tgz" + integrity sha512-XgPw8+UlHCiie3fI41HPVa/VDJb3/aSH7bLhY1hJvlvNV713PFtb4p4Jo+rlE0gAoMsMCGcsiT982fImolSltg== + dependencies: + "@intlify/message-compiler" "9.1.9" + "@intlify/message-resolver" "9.1.9" + "@intlify/shared" "9.1.9" + +"@intlify/shared@9.1.9": + version "9.1.9" + resolved "https://registry.npmmirror.com/@intlify/shared/-/shared-9.1.9.tgz" + integrity sha512-xKGM1d0EAxdDFCWedcYXOm6V5Pfw/TMudd6/qCdEb4tv0hk9EKeg7lwQF1azE0dP2phvx0yXxrt7UQK+IZjNdw== + +"@intlify/shared@9.2.2": + version "9.2.2" + resolved "https://registry.npmmirror.com/@intlify/shared/-/shared-9.2.2.tgz" + integrity sha512-wRwTpsslgZS5HNyM7uDQYZtxnbI12aGiBZURX3BTR9RFIKKRWpllTsgzHWvj3HKm3Y2Sh5LPC1r0PDCKEhVn9Q== + +"@intlify/vue-devtools@9.1.9": + version "9.1.9" + resolved "https://registry.npmmirror.com/@intlify/vue-devtools/-/vue-devtools-9.1.9.tgz" + integrity sha512-YPehH9uL4vZcGXky4Ev5qQIITnHKIvsD2GKGXgqf+05osMUI6WSEQHaN9USRa318Rs8RyyPCiDfmA0hRu3k7og== + dependencies: + "@intlify/message-resolver" "9.1.9" + "@intlify/runtime" "9.1.9" + "@intlify/shared" "9.1.9" + +"@intlify/vue-devtools@9.2.2": + version "9.2.2" + resolved "https://registry.npmmirror.com/@intlify/vue-devtools/-/vue-devtools-9.2.2.tgz" + integrity sha512-+dUyqyCHWHb/UcvY1MlIpO87munedm3Gn6E9WWYdWrMuYLcoIoOEVDWSS8xSwtlPU+kA+MEQTP6Q1iI/ocusJg== + dependencies: + "@intlify/core-base" "9.2.2" + "@intlify/shared" "9.2.2" + +"@jridgewell/gen-mapping@^0.1.0": + version "0.1.1" + resolved "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz" + integrity sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w== + dependencies: + "@jridgewell/set-array" "^1.0.0" + "@jridgewell/sourcemap-codec" "^1.4.10" + +"@jridgewell/gen-mapping@^0.3.2": + version "0.3.2" + resolved "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz" + integrity sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A== + dependencies: + "@jridgewell/set-array" "^1.0.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.9" + +"@jridgewell/resolve-uri@3.1.0": + version "3.1.0" + resolved "https://registry.npmmirror.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz" + integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== + +"@jridgewell/set-array@^1.0.0", "@jridgewell/set-array@^1.0.1": + version "1.1.2" + resolved "https://registry.npmmirror.com/@jridgewell/set-array/-/set-array-1.1.2.tgz" + integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== + +"@jridgewell/sourcemap-codec@1.4.14", "@jridgewell/sourcemap-codec@^1.4.10": + version "1.4.14" + resolved "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz" + integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== + +"@jridgewell/trace-mapping@^0.3.9": + version "0.3.17" + resolved "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz" + integrity sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g== + dependencies: + "@jridgewell/resolve-uri" "3.1.0" + "@jridgewell/sourcemap-codec" "1.4.14" + +"@microsoft/signalr@^6.0.5": + version "6.0.13" + resolved "https://registry.npmmirror.com/@microsoft/signalr/-/signalr-6.0.13.tgz" + integrity sha512-kwDb8ULOxKGo79JWHydyXAdtsWg0Oq2/zwCg+EozawEaosbl5nC6z/JGcV7+6Gy7BIMofbZOx78bvDh1yjWMYw== + dependencies: + abort-controller "^3.0.0" + eventsource "^1.0.7" + fetch-cookie "^0.11.0" + node-fetch "^2.6.7" + ws "^7.4.5" + +"@nodelib/fs.scandir@2.1.5": + version "2.1.5" + resolved "https://registry.npmmirror.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" + integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== + dependencies: + "@nodelib/fs.stat" "2.0.5" + run-parallel "^1.1.9" + +"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": + version "2.0.5" + resolved "https://registry.npmmirror.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz" + integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== + +"@nodelib/fs.walk@^1.2.3": + version "1.2.8" + resolved "https://registry.npmmirror.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz" + integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== + dependencies: + "@nodelib/fs.scandir" "2.1.5" + fastq "^1.6.0" + +"@rollup/pluginutils@^4.1.2", "@rollup/pluginutils@^4.2.0": + version "4.2.1" + resolved "https://registry.npmmirror.com/@rollup/pluginutils/-/pluginutils-4.2.1.tgz" + integrity sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ== + dependencies: + estree-walker "^2.0.1" + picomatch "^2.2.2" + +"@types/json-schema@^7.0.8": + version "7.0.11" + resolved "https://registry.npmmirror.com/@types/json-schema/-/json-schema-7.0.11.tgz" + integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== + +"@types/node@^18.11.18": + version "18.11.18" + resolved "https://registry.npmmirror.com/@types/node/-/node-18.11.18.tgz" + integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA== + +"@vant/icons@^1.8.0": + version "1.8.0" + resolved "https://registry.npmmirror.com/@vant/icons/-/icons-1.8.0.tgz" + integrity sha512-sKfEUo2/CkQFuERxvkuF6mGQZDKu3IQdj5rV9Fm0weJXtchDSSQ+zt8qPCNUEhh9Y8shy5PzxbvAfOOkCwlCXg== + +"@vant/popperjs@^1.2.1": + version "1.3.0" + resolved "https://registry.npmmirror.com/@vant/popperjs/-/popperjs-1.3.0.tgz" + integrity sha512-hB+czUG+aHtjhaEmCJDuXOep0YTZjdlRR+4MSmIFnkCQIxJaXLQdSsR90XWvAI2yvKUI7TCGqR8pQg2RtvkMHw== + +"@vant/use@^1.4.1": + version "1.4.4" + resolved "https://registry.npmmirror.com/@vant/use/-/use-1.4.4.tgz" + integrity sha512-VFAU7oO3mAN/mA+xB0bRt36Ve2EVUyywmwH149qlRRrTBu1XwxoA8J7Kwpr1CoX9GTaoMsZle/+j3e2UtvsP3g== + +"@vitejs/plugin-legacy@^1.8.1": + version "1.8.2" + resolved "https://registry.npmmirror.com/@vitejs/plugin-legacy/-/plugin-legacy-1.8.2.tgz" + integrity sha512-NCOKU+pU+cxLMR9P9RTolEuOK+h+zYBXlknj+zGcKSj/NXBZYgA1GAH1FnO4zijoWRiTaiOm2ha9LQrELE7XHg== + dependencies: + "@babel/standalone" "^7.17.11" + core-js "^3.22.3" + magic-string "^0.26.1" + regenerator-runtime "^0.13.9" + systemjs "^6.12.1" + +"@vitejs/plugin-vue-jsx@^1.3.10": + version "1.3.10" + resolved "https://registry.npmmirror.com/@vitejs/plugin-vue-jsx/-/plugin-vue-jsx-1.3.10.tgz" + integrity sha512-Cf5zznh4yNMiEMBfTOztaDVDmK1XXfgxClzOSUVUc8WAmHzogrCUeM8B05ABzuGtg0D1amfng+mUmSIOFGP3Pw== + dependencies: + "@babel/core" "^7.17.9" + "@babel/plugin-syntax-import-meta" "^7.10.4" + "@babel/plugin-transform-typescript" "^7.16.8" + "@rollup/pluginutils" "^4.2.0" + "@vue/babel-plugin-jsx" "^1.1.1" + hash-sum "^2.0.0" + +"@vitejs/plugin-vue@^2.3.1": + version "2.3.4" + resolved "https://registry.npmmirror.com/@vitejs/plugin-vue/-/plugin-vue-2.3.4.tgz" + integrity sha512-IfFNbtkbIm36O9KB8QodlwwYvTEsJb4Lll4c2IwB3VHc2gie2mSPtSzL0eYay7X2jd/2WX02FjSGTWR6OPr/zg== + +"@vue/babel-helper-vue-transform-on@^1.0.2": + version "1.0.2" + resolved "https://registry.npmmirror.com/@vue/babel-helper-vue-transform-on/-/babel-helper-vue-transform-on-1.0.2.tgz" + integrity sha512-hz4R8tS5jMn8lDq6iD+yWL6XNB699pGIVLk7WSJnn1dbpjaazsjZQkieJoRX6gW5zpYSCFqQ7jUquPNY65tQYA== + +"@vue/babel-plugin-jsx@^1.1.1": + version "1.1.1" + resolved "https://registry.npmmirror.com/@vue/babel-plugin-jsx/-/babel-plugin-jsx-1.1.1.tgz" + integrity sha512-j2uVfZjnB5+zkcbc/zsOc0fSNGCMMjaEXP52wdwdIfn0qjFfEYpYZBFKFg+HHnQeJCVrjOeO0YxgaL7DMrym9w== + dependencies: + "@babel/helper-module-imports" "^7.0.0" + "@babel/plugin-syntax-jsx" "^7.0.0" + "@babel/template" "^7.0.0" + "@babel/traverse" "^7.0.0" + "@babel/types" "^7.0.0" + "@vue/babel-helper-vue-transform-on" "^1.0.2" + camelcase "^6.0.0" + html-tags "^3.1.0" + svg-tags "^1.0.0" + +"@vue/compiler-core@3.2.33": + version "3.2.33" + resolved "https://registry.npmmirror.com/@vue/compiler-core/-/compiler-core-3.2.33.tgz" + integrity sha512-AAmr52ji3Zhk7IKIuigX2osWWsb2nQE5xsdFYjdnmtQ4gymmqXbjLvkSE174+fF3A3kstYrTgGkqgOEbsdLDpw== + dependencies: + "@babel/parser" "^7.16.4" + "@vue/shared" "3.2.33" + estree-walker "^2.0.2" + source-map "^0.6.1" + +"@vue/compiler-dom@3.2.33": + version "3.2.33" + resolved "https://registry.npmmirror.com/@vue/compiler-dom/-/compiler-dom-3.2.33.tgz" + integrity sha512-GhiG1C8X98Xz9QUX/RlA6/kgPBWJkjq0Rq6//5XTAGSYrTMBgcLpP9+CnlUg1TFxnnCVughAG+KZl28XJqw8uQ== + dependencies: + "@vue/compiler-core" "3.2.33" + "@vue/shared" "3.2.33" + +"@vue/compiler-sfc@3.2.33": + version "3.2.33" + resolved "https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-3.2.33.tgz" + integrity sha512-H8D0WqagCr295pQjUYyO8P3IejM3vEzeCO1apzByAEaAR/WimhMYczHfZVvlCE/9yBaEu/eu9RdiWr0kF8b71Q== + dependencies: + "@babel/parser" "^7.16.4" + "@vue/compiler-core" "3.2.33" + "@vue/compiler-dom" "3.2.33" + "@vue/compiler-ssr" "3.2.33" + "@vue/reactivity-transform" "3.2.33" + "@vue/shared" "3.2.33" + estree-walker "^2.0.2" + magic-string "^0.25.7" + postcss "^8.1.10" + source-map "^0.6.1" + +"@vue/compiler-ssr@3.2.33": + version "3.2.33" + resolved "https://registry.npmmirror.com/@vue/compiler-ssr/-/compiler-ssr-3.2.33.tgz" + integrity sha512-XQh1Xdk3VquDpXsnoCd7JnMoWec9CfAzQDQsaMcSU79OrrO2PNR0ErlIjm/mGq3GmBfkQjzZACV+7GhfRB8xMQ== + dependencies: + "@vue/compiler-dom" "3.2.33" + "@vue/shared" "3.2.33" + +"@vue/devtools-api@^6.0.0-beta.11", "@vue/devtools-api@^6.2.1", "@vue/devtools-api@^6.4.5": + version "6.4.5" + resolved "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.4.5.tgz" + integrity sha512-JD5fcdIuFxU4fQyXUu3w2KpAJHzTVdN+p4iOX2lMWSHMOoQdMAcpFLZzm9Z/2nmsoZ1a96QEhZ26e50xLBsgOQ== + +"@vue/reactivity-transform@3.2.33": + version "3.2.33" + resolved "https://registry.npmmirror.com/@vue/reactivity-transform/-/reactivity-transform-3.2.33.tgz" + integrity sha512-4UL5KOIvSQb254aqenW4q34qMXbfZcmEsV/yVidLUgvwYQQ/D21bGX3DlgPUGI3c4C+iOnNmDCkIxkILoX/Pyw== + dependencies: + "@babel/parser" "^7.16.4" + "@vue/compiler-core" "3.2.33" + "@vue/shared" "3.2.33" + estree-walker "^2.0.2" + magic-string "^0.25.7" + +"@vue/reactivity@3.2.33": + version "3.2.33" + resolved "https://registry.npmmirror.com/@vue/reactivity/-/reactivity-3.2.33.tgz" + integrity sha512-62Sq0mp9/0bLmDuxuLD5CIaMG2susFAGARLuZ/5jkU1FCf9EDbwUuF+BO8Ub3Rbodx0ziIecM/NsmyjardBxfQ== + dependencies: + "@vue/shared" "3.2.33" + +"@vue/runtime-core@3.2.33": + version "3.2.33" + resolved "https://registry.npmmirror.com/@vue/runtime-core/-/runtime-core-3.2.33.tgz" + integrity sha512-N2D2vfaXsBPhzCV3JsXQa2NECjxP3eXgZlFqKh4tgakp3iX6LCGv76DLlc+IfFZq+TW10Y8QUfeihXOupJ1dGw== + dependencies: + "@vue/reactivity" "3.2.33" + "@vue/shared" "3.2.33" + +"@vue/runtime-dom@3.2.33": + version "3.2.33" + resolved "https://registry.npmmirror.com/@vue/runtime-dom/-/runtime-dom-3.2.33.tgz" + integrity sha512-LSrJ6W7CZTSUygX5s8aFkraDWlO6K4geOwA3quFF2O+hC3QuAMZt/0Xb7JKE3C4JD4pFwCSO7oCrZmZ0BIJUnw== + dependencies: + "@vue/runtime-core" "3.2.33" + "@vue/shared" "3.2.33" + csstype "^2.6.8" + +"@vue/server-renderer@3.2.33": + version "3.2.33" + resolved "https://registry.npmmirror.com/@vue/server-renderer/-/server-renderer-3.2.33.tgz" + integrity sha512-4jpJHRD4ORv8PlbYi+/MfP8ec1okz6rybe36MdpkDrGIdEItHEUyaHSKvz+ptNEyQpALmmVfRteHkU9F8vxOew== + dependencies: + "@vue/compiler-ssr" "3.2.33" + "@vue/shared" "3.2.33" + +"@vue/shared@3.2.33": + version "3.2.33" + resolved "https://registry.npmmirror.com/@vue/shared/-/shared-3.2.33.tgz" + integrity sha512-UBc1Pg1T3yZ97vsA2ueER0F6GbJebLHYlEi4ou1H5YL4KWvMOOWwpYo9/QpWq93wxKG6Wo13IY74Hcn/f7c7Bg== + +"@yarnpkg/lockfile@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz" + integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== + +abort-controller@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/abort-controller/-/abort-controller-3.0.0.tgz" + integrity sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg== + dependencies: + event-target-shim "^5.0.0" + +abp-web-resources@^5.5.0: + version "5.7.0" + resolved "https://registry.npmmirror.com/abp-web-resources/-/abp-web-resources-5.7.0.tgz" + integrity sha512-2hHZRL4vYfL99SPnl8UE2PRwDiBEva2uLU7p6I7DEcPk6mzWSKWEHXwtHqDfPH+2ddBytf3dZ6UXdV3RsGZHMw== + +accepts@~1.3.8: + version "1.3.8" + resolved "https://registry.npmmirror.com/accepts/-/accepts-1.3.8.tgz" + integrity sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw== + dependencies: + mime-types "~2.1.34" + negotiator "0.6.3" + +address@^1.1.2: + version "1.2.2" + resolved "https://registry.npmmirror.com/address/-/address-1.2.2.tgz" + integrity sha512-4B/qKCfeE/ODUaAUpSwfzazo5x29WD4r3vXiWsB7I2mSDAihwEqKO+g8GELZUQSSAo5e1XTYh3ZVfLyxBc12nA== + +ajv-keywords@^3.5.2: + version "3.5.2" + resolved "https://registry.npmmirror.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz" + integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ== + +ajv@^6.12.5: + version "6.12.6" + resolved "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz" + integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-3.2.1.tgz" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +anymatch@~3.1.2: + version "3.1.3" + resolved "https://registry.npmmirror.com/anymatch/-/anymatch-3.1.3.tgz" + integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + +array-flatten@1.1.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/array-flatten/-/array-flatten-1.1.1.tgz" + integrity sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg== + +async-limiter@~1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/async-limiter/-/async-limiter-1.0.1.tgz" + integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +at-least-node@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz" + integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== + +autoprefixer@^10.4.5: + version "10.4.13" + resolved "https://registry.npmmirror.com/autoprefixer/-/autoprefixer-10.4.13.tgz" + integrity sha512-49vKpMqcZYsJjwotvt4+h/BCjJVnhGwcLpDt5xkcaOG3eLrG/HUYLagrihYsQ+qrIBgIzX1Rw7a6L8I/ZA1Atg== + dependencies: + browserslist "^4.21.4" + caniuse-lite "^1.0.30001426" + fraction.js "^4.2.0" + normalize-range "^0.1.2" + picocolors "^1.0.0" + postcss-value-parser "^4.2.0" + +axios@^0.27.2: + version "0.27.2" + resolved "https://registry.npmmirror.com/axios/-/axios-0.27.2.tgz" + integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== + dependencies: + follow-redirects "^1.14.9" + form-data "^4.0.0" + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.npmmirror.com/base64-js/-/base64-js-1.5.1.tgz" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +base64url@^3.0.1: + version "3.0.1" + resolved "https://registry.npmmirror.com/base64url/-/base64url-3.0.1.tgz" + integrity sha512-ir1UPr3dkwexU7FdV8qBBbNDRUhMmIekYMFZfi+C/sLNnRESKPl23nB9b2pltqfOQNnGzsDdId90AEtG5tCx4A== + +big.js@^5.2.2: + version "5.2.2" + resolved "https://registry.npmmirror.com/big.js/-/big.js-5.2.2.tgz" + integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== + +binary-extensions@^2.0.0: + version "2.2.0" + resolved "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.2.0.tgz" + integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== + +body-parser@1.20.1: + version "1.20.1" + resolved "https://registry.npmmirror.com/body-parser/-/body-parser-1.20.1.tgz" + integrity sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw== + dependencies: + bytes "3.1.2" + content-type "~1.0.4" + debug "2.6.9" + depd "2.0.0" + destroy "1.2.0" + http-errors "2.0.0" + iconv-lite "0.4.24" + on-finished "2.4.1" + qs "6.11.0" + raw-body "2.5.1" + type-is "~1.6.18" + unpipe "1.0.0" + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +braces@^3.0.2, braces@~3.0.2: + version "3.0.2" + resolved "https://registry.npmmirror.com/braces/-/braces-3.0.2.tgz" + integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== + dependencies: + fill-range "^7.0.1" + +browserslist@^4.21.3, browserslist@^4.21.4: + version "4.21.4" + resolved "https://registry.npmmirror.com/browserslist/-/browserslist-4.21.4.tgz" + integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw== + dependencies: + caniuse-lite "^1.0.30001400" + electron-to-chromium "^1.4.251" + node-releases "^2.0.6" + update-browserslist-db "^1.0.9" + +bson@^4.0.2: + version "4.7.2" + resolved "https://registry.npmmirror.com/bson/-/bson-4.7.2.tgz" + integrity sha512-Ry9wCtIZ5kGqkJoi6aD8KjxFZEx78guTQDnpXWiNthsxzrxAK/i8E6pCHAIZTbaEFWcOCvbecMukfK7XUvyLpQ== + dependencies: + buffer "^5.6.0" + +buffer@^5.6.0: + version "5.7.1" + resolved "https://registry.npmmirror.com/buffer/-/buffer-5.7.1.tgz" + integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.1.13" + +bytes@3.1.2: + version "3.1.2" + resolved "https://registry.npmmirror.com/bytes/-/bytes-3.1.2.tgz" + integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== + +cac@6.7.9: + version "6.7.9" + resolved "https://registry.npmmirror.com/cac/-/cac-6.7.9.tgz" + integrity sha512-XN5qEpfNQCJ8jRaZgitSkkukjMRCGio+X3Ks5KUbGGlPbV+pSem1l9VuzooCBXOiMFshUZgyYqg6rgN8rjkb/w== + +call-bind@^1.0.0: + version "1.0.2" + resolved "https://registry.npmmirror.com/call-bind/-/call-bind-1.0.2.tgz" + integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== + dependencies: + function-bind "^1.1.1" + get-intrinsic "^1.0.2" + +camel-case@^4.1.2: + version "4.1.2" + resolved "https://registry.npmmirror.com/camel-case/-/camel-case-4.1.2.tgz" + integrity sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw== + dependencies: + pascal-case "^3.1.2" + tslib "^2.0.3" + +camelcase@^6.0.0: + version "6.3.0" + resolved "https://registry.npmmirror.com/camelcase/-/camelcase-6.3.0.tgz" + integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== + +caniuse-lite@^1.0.30001400, caniuse-lite@^1.0.30001426: + version "1.0.30001442" + resolved "https://registry.npmmirror.com/caniuse-lite/-/caniuse-lite-1.0.30001442.tgz" + integrity sha512-239m03Pqy0hwxYPYR5JwOIxRJfLTWtle9FV8zosfV5pHg+/51uD4nxcUlM8+mWWGfwKtt8lJNHnD3cWw9VZ6ow== + +capital-case@^1.0.4: + version "1.0.4" + resolved "https://registry.npmmirror.com/capital-case/-/capital-case-1.0.4.tgz" + integrity sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + upper-case-first "^2.0.2" + +chalk@^2.0.0: + version "2.4.2" + resolved "https://registry.npmmirror.com/chalk/-/chalk-2.4.2.tgz" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^4.1.2: + version "4.1.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +change-case@^4.1.2: + version "4.1.2" + resolved "https://registry.npmmirror.com/change-case/-/change-case-4.1.2.tgz" + integrity sha512-bSxY2ws9OtviILG1EiY5K7NNxkqg/JnRnFxLtKQ96JaviiIxi7djMrSd0ECT9AC+lttClmYwKw53BWpOMblo7A== + dependencies: + camel-case "^4.1.2" + capital-case "^1.0.4" + constant-case "^3.0.4" + dot-case "^3.0.4" + header-case "^2.0.4" + no-case "^3.0.4" + param-case "^3.0.4" + pascal-case "^3.1.2" + path-case "^3.0.4" + sentence-case "^3.0.4" + snake-case "^3.0.4" + tslib "^2.0.3" + +"chokidar@>=3.0.0 <4.0.0", chokidar@^3.5.3: + version "3.5.3" + resolved "https://registry.npmmirror.com/chokidar/-/chokidar-3.5.3.tgz" + integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" + optionalDependencies: + fsevents "~2.3.2" + +ci-info@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz" + integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== + +cloudbase-adapter-wx_mp@0.2.0: + version "0.2.0" + resolved "https://registry.npmmirror.com/cloudbase-adapter-wx_mp/-/cloudbase-adapter-wx_mp-0.2.0.tgz" + integrity sha512-GiQGm11cH0K8oKY5tuJZm7DgsM2+WUw5toteMJlKTLMH4ouFrizu5J228I2kXtEWU+u/wE+5tuNGrEdhlfpkZQ== + dependencies: + "@cloudbase/adapter-interface" "^0.4.0" + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.npmmirror.com/color-convert/-/color-convert-1.9.3.tgz" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.npmmirror.com/color-name/-/color-name-1.1.3.tgz" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +combined-stream@^1.0.8: + version "1.0.8" + resolved "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + +compare-versions@^3.6.0: + version "3.6.0" + resolved "https://registry.npmmirror.com/compare-versions/-/compare-versions-3.6.0.tgz" + integrity sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA== + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + +constant-case@^3.0.4: + version "3.0.4" + resolved "https://registry.npmmirror.com/constant-case/-/constant-case-3.0.4.tgz" + integrity sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + upper-case "^2.0.2" + +content-disposition@0.5.4: + version "0.5.4" + resolved "https://registry.npmmirror.com/content-disposition/-/content-disposition-0.5.4.tgz" + integrity sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ== + dependencies: + safe-buffer "5.2.1" + +content-type@~1.0.4: + version "1.0.4" + resolved "https://registry.npmmirror.com/content-type/-/content-type-1.0.4.tgz" + integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== + +convert-source-map@^1.7.0: + version "1.9.0" + resolved "https://registry.npmmirror.com/convert-source-map/-/convert-source-map-1.9.0.tgz" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + +cookie-signature@1.0.6: + version "1.0.6" + resolved "https://registry.npmmirror.com/cookie-signature/-/cookie-signature-1.0.6.tgz" + integrity sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ== + +cookie@0.5.0: + version "0.5.0" + resolved "https://registry.npmmirror.com/cookie/-/cookie-0.5.0.tgz" + integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== + +core-js@^3.22.3: + version "3.27.1" + resolved "https://registry.npmmirror.com/core-js/-/core-js-3.27.1.tgz" + integrity sha512-GutwJLBChfGCpwwhbYoqfv03LAfmiz7e7D/BNxzeMxwQf10GRSzqiOjx7AmtEk+heiD/JWmBuyBPgFtx0Sg1ww== + +cross-env@^7.0.3: + version "7.0.3" + resolved "https://registry.npmmirror.com/cross-env/-/cross-env-7.0.3.tgz" + integrity sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw== + dependencies: + cross-spawn "^7.0.1" + +cross-spawn@^6.0.5: + version "6.0.5" + resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz" + integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== + dependencies: + nice-try "^1.0.4" + path-key "^2.0.1" + semver "^5.5.0" + shebang-command "^1.2.0" + which "^1.2.9" + +cross-spawn@^7.0.1, cross-spawn@^7.0.3: + version "7.0.3" + resolved "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.3.tgz" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +crypto-js@3: + version "3.3.0" + resolved "https://registry.npmmirror.com/crypto-js/-/crypto-js-3.3.0.tgz" + integrity sha512-DIT51nX0dCfKltpRiXV+/TVZq+Qq2NgF4644+K7Ttnla7zEzqc+kjJyiB96BHNyUTBxyjzRcZYpUdZa+QAqi6Q== + +css-font-size-keywords@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/css-font-size-keywords/-/css-font-size-keywords-1.0.0.tgz" + integrity sha512-Q+svMDbMlelgCfH/RVDKtTDaf5021O486ZThQPIpahnIjUkMUslC+WuOQSWTgGSrNCH08Y7tYNEmmy0hkfMI8Q== + +css-font-stretch-keywords@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/css-font-stretch-keywords/-/css-font-stretch-keywords-1.0.1.tgz" + integrity sha512-KmugPO2BNqoyp9zmBIUGwt58UQSfyk1X5DbOlkb2pckDXFSAfjsD5wenb88fNrD6fvS+vu90a/tsPpb9vb0SLg== + +css-font-style-keywords@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/css-font-style-keywords/-/css-font-style-keywords-1.0.1.tgz" + integrity sha512-0Fn0aTpcDktnR1RzaBYorIxQily85M2KXRpzmxQPgh8pxUN9Fcn00I8u9I3grNr1QXVgCl9T5Imx0ZwKU973Vg== + +css-font-weight-keywords@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/css-font-weight-keywords/-/css-font-weight-keywords-1.0.0.tgz" + integrity sha512-5So8/NH+oDD+EzsnF4iaG4ZFHQ3vaViePkL1ZbZ5iC/KrsCY+WHq/lvOgrtmuOQ9pBBZ1ADGpaf+A4lj1Z9eYA== + +css-list-helpers@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/css-list-helpers/-/css-list-helpers-2.0.0.tgz" + integrity sha512-9Bj8tZ0jWbAM3u/U6m/boAzAwLPwtjzFvwivr2piSvyVa3K3rChJzQy4RIHkNkKiZCHrEMWDJWtTR8UyVhdDnQ== + +css-system-font-keywords@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/css-system-font-keywords/-/css-system-font-keywords-1.0.0.tgz" + integrity sha512-1umTtVd/fXS25ftfjB71eASCrYhilmEsvDEI6wG/QplnmlfmVM5HkZ/ZX46DT5K3eblFPgLUHt5BRCb0YXkSFA== + +cssesc@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/cssesc/-/cssesc-3.0.0.tgz" + integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== + +csstype@^2.6.8: + version "2.6.21" + resolved "https://registry.npmmirror.com/csstype/-/csstype-2.6.21.tgz" + integrity sha512-Z1PhmomIfypOpoMjRQB70jfvy/wxT50qW08YXO5lMIJkrdq4yOTR+AW7FqutScmB9NkLwxo+jU+kZLbofZZq/w== + +debug@2.6.9: + version "2.6.9" + resolved "https://registry.npmmirror.com/debug/-/debug-2.6.9.tgz" + integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== + dependencies: + ms "2.0.0" + +debug@^4.1.0, debug@^4.3.3: + version "4.3.4" + resolved "https://registry.npmmirror.com/debug/-/debug-4.3.4.tgz" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + +default-gateway@^6.0.3: + version "6.0.3" + resolved "https://registry.npmmirror.com/default-gateway/-/default-gateway-6.0.3.tgz" + integrity sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg== + dependencies: + execa "^5.0.0" + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + +depd@2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/depd/-/depd-2.0.0.tgz" + integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== + +destroy@1.2.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/destroy/-/destroy-1.2.0.tgz" + integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== + +dot-case@^3.0.4: + version "3.0.4" + resolved "https://registry.npmmirror.com/dot-case/-/dot-case-3.0.4.tgz" + integrity sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + +ee-first@1.1.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/ee-first/-/ee-first-1.1.1.tgz" + integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== + +electron-to-chromium@^1.4.251: + version "1.4.284" + resolved "https://registry.npmmirror.com/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz" + integrity sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA== + +emojis-list@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/emojis-list/-/emojis-list-3.0.0.tgz" + integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q== + +encodeurl@~1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/encodeurl/-/encodeurl-1.0.2.tgz" + integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w== + +es-module-lexer@^0.9.3: + version "0.9.3" + resolved "https://registry.npmmirror.com/es-module-lexer/-/es-module-lexer-0.9.3.tgz" + integrity sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ== + +es6-denodeify@^0.1.1: + version "0.1.5" + resolved "https://registry.npmmirror.com/es6-denodeify/-/es6-denodeify-0.1.5.tgz" + integrity sha512-731Rf4NqlPvhkT1pIF7r8vZxESJlWocNpXLuyPlVnfEGXlwuJaMvU5WpyyDjpudDC2cgXVX849xljzvQqBg1QQ== + +esbuild-android-64@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.14.54.tgz#505f41832884313bbaffb27704b8bcaa2d8616be" + integrity sha512-Tz2++Aqqz0rJ7kYBfz+iqyE3QMycD4vk7LBRyWaAVFgFtQ/O8EJOnVmTOiDWYZ/uYzB4kvP+bqejYdVKzE5lAQ== + +esbuild-android-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.14.54.tgz#8ce69d7caba49646e009968fe5754a21a9871771" + integrity sha512-F9E+/QDi9sSkLaClO8SOV6etqPd+5DgJje1F9lOWoNncDdOBL2YF59IhsWATSt0TLZbYCf3pNlTHvVV5VfHdvg== + +esbuild-darwin-64@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.14.54.tgz#24ba67b9a8cb890a3c08d9018f887cc221cdda25" + integrity sha512-jtdKWV3nBviOd5v4hOpkVmpxsBy90CGzebpbO9beiqUYVMBtSc0AL9zGftFuBon7PNDcdvNCEuQqw2x0wP9yug== + +esbuild-darwin-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.54.tgz#3f7cdb78888ee05e488d250a2bdaab1fa671bf73" + integrity sha512-OPafJHD2oUPyvJMrsCvDGkRrVCar5aVyHfWGQzY1dWnzErjrDuSETxwA2HSsyg2jORLY8yBfzc1MIpUkXlctmw== + +esbuild-freebsd-64@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.54.tgz#09250f997a56ed4650f3e1979c905ffc40bbe94d" + integrity sha512-OKwd4gmwHqOTp4mOGZKe/XUlbDJ4Q9TjX0hMPIDBUWWu/kwhBAudJdBoxnjNf9ocIB6GN6CPowYpR/hRCbSYAg== + +esbuild-freebsd-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.54.tgz#bafb46ed04fc5f97cbdb016d86947a79579f8e48" + integrity sha512-sFwueGr7OvIFiQT6WeG0jRLjkjdqWWSrfbVwZp8iMP+8UHEHRBvlaxL6IuKNDwAozNUmbb8nIMXa7oAOARGs1Q== + +esbuild-linux-32@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.14.54.tgz#e2a8c4a8efdc355405325033fcebeb941f781fe5" + integrity sha512-1ZuY+JDI//WmklKlBgJnglpUL1owm2OX+8E1syCD6UAxcMM/XoWd76OHSjl/0MR0LisSAXDqgjT3uJqT67O3qw== + +esbuild-linux-64@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.14.54.tgz#de5fdba1c95666cf72369f52b40b03be71226652" + integrity sha512-EgjAgH5HwTbtNsTqQOXWApBaPVdDn7XcK+/PtJwZLT1UmpLoznPd8c5CxqsH2dQK3j05YsB3L17T8vE7cp4cCg== + +esbuild-linux-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.54.tgz#dae4cd42ae9787468b6a5c158da4c84e83b0ce8b" + integrity sha512-WL71L+0Rwv+Gv/HTmxTEmpv0UgmxYa5ftZILVi2QmZBgX3q7+tDeOQNqGtdXSdsL8TQi1vIaVFHUPDe0O0kdig== + +esbuild-linux-arm@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.14.54.tgz#a2c1dff6d0f21dbe8fc6998a122675533ddfcd59" + integrity sha512-qqz/SjemQhVMTnvcLGoLOdFpCYbz4v4fUo+TfsWG+1aOu70/80RV6bgNpR2JCrppV2moUQkww+6bWxXRL9YMGw== + +esbuild-linux-mips64le@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.54.tgz#d9918e9e4cb972f8d6dae8e8655bf9ee131eda34" + integrity sha512-qTHGQB8D1etd0u1+sB6p0ikLKRVuCWhYQhAHRPkO+OF3I/iSlTKNNS0Lh2Oc0g0UFGguaFZZiPJdJey3AGpAlw== + +esbuild-linux-ppc64le@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.54.tgz#3f9a0f6d41073fb1a640680845c7de52995f137e" + integrity sha512-j3OMlzHiqwZBDPRCDFKcx595XVfOfOnv68Ax3U4UKZ3MTYQB5Yz3X1mn5GnodEVYzhtZgxEBidLWeIs8FDSfrQ== + +esbuild-linux-riscv64@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.54.tgz#618853c028178a61837bc799d2013d4695e451c8" + integrity sha512-y7Vt7Wl9dkOGZjxQZnDAqqn+XOqFD7IMWiewY5SPlNlzMX39ocPQlOaoxvT4FllA5viyV26/QzHtvTjVNOxHZg== + +esbuild-linux-s390x@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.54.tgz#d1885c4c5a76bbb5a0fe182e2c8c60eb9e29f2a6" + integrity sha512-zaHpW9dziAsi7lRcyV4r8dhfG1qBidQWUXweUjnw+lliChJqQr+6XD71K41oEIC3Mx1KStovEmlzm+MkGZHnHA== + +esbuild-netbsd-64@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.54.tgz#69ae917a2ff241b7df1dbf22baf04bd330349e81" + integrity sha512-PR01lmIMnfJTgeU9VJTDY9ZerDWVFIUzAtJuDHwwceppW7cQWjBBqP48NdeRtoP04/AtO9a7w3viI+PIDr6d+w== + +esbuild-openbsd-64@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.54.tgz#db4c8495287a350a6790de22edea247a57c5d47b" + integrity sha512-Qyk7ikT2o7Wu76UsvvDS5q0amJvmRzDyVlL0qf5VLsLchjCa1+IAvd8kTBgUxD7VBUUVgItLkk609ZHUc1oCaw== + +esbuild-sunos-64@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.14.54.tgz#54287ee3da73d3844b721c21bc80c1dc7e1bf7da" + integrity sha512-28GZ24KmMSeKi5ueWzMcco6EBHStL3B6ubM7M51RmPwXQGLe0teBGJocmWhgwccA1GeFXqxzILIxXpHbl9Q/Kw== + +esbuild-windows-32@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.14.54.tgz#f8aaf9a5667630b40f0fb3aa37bf01bbd340ce31" + integrity sha512-T+rdZW19ql9MjS7pixmZYVObd9G7kcaZo+sETqNH4RCkuuYSuv9AGHUVnPoP9hhuE1WM1ZimHz1CIBHBboLU7w== + +esbuild-windows-64@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.14.54.tgz" + integrity sha512-AoHTRBUuYwXtZhjXZbA1pGfTo8cJo3vZIcWGLiUcTNgHpJJMC1rVA44ZereBHMJtotyN71S8Qw0npiCIkW96cQ== + +esbuild-windows-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.54.tgz#937d15675a15e4b0e4fafdbaa3a01a776a2be982" + integrity sha512-M0kuUvXhot1zOISQGXwWn6YtS+Y/1RT9WrVIOywZnJHo3jCDyewAc79aKNQWFCQm+xNHVTq9h8dZKvygoXQQRg== + +esbuild@^0.14.27: + version "0.14.54" + resolved "https://registry.npmmirror.com/esbuild/-/esbuild-0.14.54.tgz" + integrity sha512-Cy9llcy8DvET5uznocPyqL3BFRrFXSVqbgpMJ9Wz8oVjZlh/zUSNbPRbov0VX7VxN2JH1Oa0uNxZ7eLRb62pJA== + optionalDependencies: + "@esbuild/linux-loong64" "0.14.54" + esbuild-android-64 "0.14.54" + esbuild-android-arm64 "0.14.54" + esbuild-darwin-64 "0.14.54" + esbuild-darwin-arm64 "0.14.54" + esbuild-freebsd-64 "0.14.54" + esbuild-freebsd-arm64 "0.14.54" + esbuild-linux-32 "0.14.54" + esbuild-linux-64 "0.14.54" + esbuild-linux-arm "0.14.54" + esbuild-linux-arm64 "0.14.54" + esbuild-linux-mips64le "0.14.54" + esbuild-linux-ppc64le "0.14.54" + esbuild-linux-riscv64 "0.14.54" + esbuild-linux-s390x "0.14.54" + esbuild-netbsd-64 "0.14.54" + esbuild-openbsd-64 "0.14.54" + esbuild-sunos-64 "0.14.54" + esbuild-windows-32 "0.14.54" + esbuild-windows-64 "0.14.54" + esbuild-windows-arm64 "0.14.54" + +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.npmmirror.com/escalade/-/escalade-3.1.1.tgz" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + +escape-html@~1.0.3: + version "1.0.3" + resolved "https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz" + integrity sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow== + +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +estree-walker@^2.0.1, estree-walker@^2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/estree-walker/-/estree-walker-2.0.2.tgz" + integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== + +etag@~1.8.1: + version "1.8.1" + resolved "https://registry.npmmirror.com/etag/-/etag-1.8.1.tgz" + integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== + +event-target-shim@^5.0.0: + version "5.0.1" + resolved "https://registry.npmmirror.com/event-target-shim/-/event-target-shim-5.0.1.tgz" + integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ== + +eventsource@^1.0.7: + version "1.1.2" + resolved "https://registry.npmmirror.com/eventsource/-/eventsource-1.1.2.tgz" + integrity sha512-xAH3zWhgO2/3KIniEKYPr8plNSzlGINOUqYj0m0u7AB81iRw8b/3E73W6AuU+6klLbaSFmZnaETQ2lXPfAydrA== + +execa@^5.0.0: + version "5.1.1" + resolved "https://registry.npmmirror.com/execa/-/execa-5.1.1.tgz" + integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.0" + human-signals "^2.1.0" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.1" + onetime "^5.1.2" + signal-exit "^3.0.3" + strip-final-newline "^2.0.0" + +express@^4.17.1: + version "4.18.2" + resolved "https://registry.npmmirror.com/express/-/express-4.18.2.tgz" + integrity sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ== + dependencies: + accepts "~1.3.8" + array-flatten "1.1.1" + body-parser "1.20.1" + content-disposition "0.5.4" + content-type "~1.0.4" + cookie "0.5.0" + cookie-signature "1.0.6" + debug "2.6.9" + depd "2.0.0" + encodeurl "~1.0.2" + escape-html "~1.0.3" + etag "~1.8.1" + finalhandler "1.2.0" + fresh "0.5.2" + http-errors "2.0.0" + merge-descriptors "1.0.1" + methods "~1.1.2" + on-finished "2.4.1" + parseurl "~1.3.3" + path-to-regexp "0.1.7" + proxy-addr "~2.0.7" + qs "6.11.0" + range-parser "~1.2.1" + safe-buffer "5.2.1" + send "0.18.0" + serve-static "1.15.0" + setprototypeof "1.2.0" + statuses "2.0.1" + type-is "~1.6.18" + utils-merge "1.0.1" + vary "~1.1.2" + +fast-deep-equal@^3.1.1: + version "3.1.3" + resolved "https://registry.npmmirror.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +fast-glob@^3.2.11: + version "3.2.12" + resolved "https://registry.npmmirror.com/fast-glob/-/fast-glob-3.2.12.tgz" + integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + +fast-json-stable-stringify@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +fastq@^1.6.0: + version "1.15.0" + resolved "https://registry.npmmirror.com/fastq/-/fastq-1.15.0.tgz" + integrity sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw== + dependencies: + reusify "^1.0.4" + +fetch-cookie@^0.11.0: + version "0.11.0" + resolved "https://registry.npmmirror.com/fetch-cookie/-/fetch-cookie-0.11.0.tgz" + integrity sha512-BQm7iZLFhMWFy5CZ/162sAGjBfdNWb7a8LEqqnzsHFhxT/X/SVj/z2t2nu3aJvjlbQkrAlTUApplPRjWyH4mhA== + dependencies: + tough-cookie "^2.3.3 || ^3.0.1 || ^4.0.0" + +fetch-cookie@^0.7.3: + version "0.7.3" + resolved "https://registry.npmmirror.com/fetch-cookie/-/fetch-cookie-0.7.3.tgz" + integrity sha512-rZPkLnI8x5V+zYAiz8QonAHsTb4BY+iFowFBI1RFn0zrO343AVp9X7/yUj/9wL6Ef/8fLls8b/vGtzUvmyAUGA== + dependencies: + es6-denodeify "^0.1.1" + tough-cookie "^2.3.3" + +fill-range@^7.0.1: + version "7.0.1" + resolved "https://registry.npmmirror.com/fill-range/-/fill-range-7.0.1.tgz" + integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== + dependencies: + to-regex-range "^5.0.1" + +finalhandler@1.2.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/finalhandler/-/finalhandler-1.2.0.tgz" + integrity sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg== + dependencies: + debug "2.6.9" + encodeurl "~1.0.2" + escape-html "~1.0.3" + on-finished "2.4.1" + parseurl "~1.3.3" + statuses "2.0.1" + unpipe "~1.0.0" + +find-yarn-workspace-root@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz" + integrity sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ== + dependencies: + micromatch "^4.0.2" + +follow-redirects@^1.14.9: + version "1.15.2" + resolved "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.2.tgz" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/form-data/-/form-data-4.0.0.tgz" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +forwarded@0.2.0: + version "0.2.0" + resolved "https://registry.npmmirror.com/forwarded/-/forwarded-0.2.0.tgz" + integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow== + +fraction.js@^4.2.0: + version "4.2.0" + resolved "https://registry.npmmirror.com/fraction.js/-/fraction.js-4.2.0.tgz" + integrity sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA== + +fresh@0.5.2: + version "0.5.2" + resolved "https://registry.npmmirror.com/fresh/-/fresh-0.5.2.tgz" + integrity sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q== + +fs-extra@^10.0.0: + version "10.1.0" + resolved "https://registry.npmmirror.com/fs-extra/-/fs-extra-10.1.0.tgz" + integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + +fs-extra@^9.0.0: + version "9.1.0" + resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz" + integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== + dependencies: + at-least-node "^1.0.0" + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== + +fsevents@~2.3.2: + version "2.3.3" + resolved "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.1.tgz" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +generic-names@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/generic-names/-/generic-names-4.0.0.tgz" + integrity sha512-ySFolZQfw9FoDb3ed9d80Cm9f0+r7qj+HJkWjeD9RBfpxEVTlVhol+gvaQB/78WbwYfbnNh8nWHHBSlg072y6A== + dependencies: + loader-utils "^3.2.0" + +gensync@^1.0.0-beta.2: + version "1.0.0-beta.2" + resolved "https://registry.npmmirror.com/gensync/-/gensync-1.0.0-beta.2.tgz" + integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== + +get-intrinsic@^1.0.2: + version "1.1.3" + resolved "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.1.3.tgz" + integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.3" + +get-stream@^6.0.0: + version "6.0.1" + resolved "https://registry.npmmirror.com/get-stream/-/get-stream-6.0.1.tgz" + integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== + +glob-parent@^5.1.2, glob-parent@~5.1.2: + version "5.1.2" + resolved "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz" + integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== + dependencies: + is-glob "^4.0.1" + +glob@^7.1.3: + version "7.2.3" + resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +globals@^11.1.0: + version "11.12.0" + resolved "https://registry.npmmirror.com/globals/-/globals-11.12.0.tgz" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + +graceful-fs@^4.1.11, graceful-fs@^4.1.6, graceful-fs@^4.2.0: + version "4.2.10" + resolved "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.10.tgz" + integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/has-flag/-/has-flag-3.0.0.tgz" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.0.3.tgz" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.npmmirror.com/has/-/has-1.0.3.tgz" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +hash-sum@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/hash-sum/-/hash-sum-2.0.0.tgz" + integrity sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg== + +header-case@^2.0.4: + version "2.0.4" + resolved "https://registry.npmmirror.com/header-case/-/header-case-2.0.4.tgz" + integrity sha512-H/vuk5TEEVZwrR0lp2zed9OCo1uAILMlx0JEMgC26rzyJJ3N1v6XkwHHXJQdR2doSjcGPM6OKPYoJgf0plJ11Q== + dependencies: + capital-case "^1.0.4" + tslib "^2.0.3" + +html-tags@^3.1.0: + version "3.2.0" + resolved "https://registry.npmmirror.com/html-tags/-/html-tags-3.2.0.tgz" + integrity sha512-vy7ClnArOZwCnqZgvv+ddgHgJiAFXe3Ge9ML5/mBctVJoUoYPCdxVucOywjDARn6CVoh3dRSFdPHy2sX80L0Wg== + +http-errors@2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/http-errors/-/http-errors-2.0.0.tgz" + integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ== + dependencies: + depd "2.0.0" + inherits "2.0.4" + setprototypeof "1.2.0" + statuses "2.0.1" + toidentifier "1.0.1" + +human-signals@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/human-signals/-/human-signals-2.1.0.tgz" + integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== + +iconv-lite@0.4.24: + version "0.4.24" + resolved "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.4.24.tgz" + integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== + dependencies: + safer-buffer ">= 2.1.2 < 3" + +icss-replace-symbols@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz" + integrity sha512-chIaY3Vh2mh2Q3RGXttaDIzeiPvaVXJ+C4DAh/w3c37SKZ/U6PGMmuicR2EQQp9bKG8zLMCl7I+PtIoOOPp8Gg== + +icss-utils@^5.0.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/icss-utils/-/icss-utils-5.1.0.tgz" + integrity sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA== + +ieee754@^1.1.13: + version "1.2.1" + resolved "https://registry.npmmirror.com/ieee754/-/ieee754-1.2.1.tgz" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +immutable@^4.0.0: + version "4.2.2" + resolved "https://registry.npmmirror.com/immutable/-/immutable-4.2.2.tgz" + integrity sha512-fTMKDwtbvO5tldky9QZ2fMX7slR0mYpY5nbnFWYp0fOzDhHqhgIw9KoYgxLWsoNTS9ZHGauHj18DTyEw6BK3Og== + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, inherits@2.0.4: + version "2.0.4" + resolved "https://registry.npmmirror.com/inherits/-/inherits-2.0.4.tgz" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +ipaddr.js@1.9.1: + version "1.9.1" + resolved "https://registry.npmmirror.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz" + integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== + +is-binary-path@~2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-2.1.0.tgz" + integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== + dependencies: + binary-extensions "^2.0.0" + +is-ci@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz" + integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w== + dependencies: + ci-info "^2.0.0" + +is-core-module@^2.9.0: + version "2.11.0" + resolved "https://registry.npmmirror.com/is-core-module/-/is-core-module-2.11.0.tgz" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== + dependencies: + has "^1.0.3" + +is-docker@^2.0.0: + version "2.2.1" + resolved "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz" + integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== + +is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz" + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== + +is-glob@^4.0.1, is-glob@~4.0.1: + version "4.0.3" + resolved "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-stream@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/is-stream/-/is-stream-2.0.1.tgz" + integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== + +is-wsl@^2.1.1: + version "2.2.0" + resolved "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz" + integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== + dependencies: + is-docker "^2.0.0" + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/isexe/-/isexe-2.0.0.tgz" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + +js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +jsesc@^2.5.1: + version "2.5.2" + resolved "https://registry.npmmirror.com/jsesc/-/jsesc-2.5.2.tgz" + integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== + +json-schema-traverse@^0.4.1: + version "0.4.1" + resolved "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz" + integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== + +json5@^2.1.2, json5@^2.2.2: + version "2.2.3" + resolved "https://registry.npmmirror.com/json5/-/json5-2.2.3.tgz" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + +jsonc-parser@^3.0.0: + version "3.2.0" + resolved "https://registry.npmmirror.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz" + integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w== + +jsonfile@^6.0.1: + version "6.1.0" + resolved "https://registry.npmmirror.com/jsonfile/-/jsonfile-6.1.0.tgz" + integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== + dependencies: + universalify "^2.0.0" + optionalDependencies: + graceful-fs "^4.1.6" + +klaw-sync@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/klaw-sync/-/klaw-sync-6.0.0.tgz" + integrity sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ== + dependencies: + graceful-fs "^4.1.11" + +klona@^2.0.4: + version "2.0.5" + resolved "https://registry.npmmirror.com/klona/-/klona-2.0.5.tgz" + integrity sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ== + +licia@^1.29.0: + version "1.37.0" + resolved "https://registry.npmmirror.com/licia/-/licia-1.37.0.tgz" + integrity sha512-jX49+WmzikOPGNrcy/giS23HCI8Pb7RF585Ei5d7oWF4WMelaZWv4odqQNdT0jtHkoUxqSvPz67Jvyq06xamUA== + +lilconfig@^2.0.5: + version "2.0.6" + resolved "https://registry.npmmirror.com/lilconfig/-/lilconfig-2.0.6.tgz" + integrity sha512-9JROoBW7pobfsx+Sq2JsASvCo6Pfo6WWoUW79HuB1BCoBXD4PLWJPqDF6fNj67pqBYTbAHkE57M1kS/+L1neOg== + +loader-utils@^2.0.0: + version "2.0.4" + resolved "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.4.tgz" + integrity sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw== + dependencies: + big.js "^5.2.2" + emojis-list "^3.0.0" + json5 "^2.1.2" + +loader-utils@^3.2.0: + version "3.2.1" + resolved "https://registry.npmmirror.com/loader-utils/-/loader-utils-3.2.1.tgz" + integrity sha512-ZvFw1KWS3GVyYBYb7qkmRM/WwL2TQQBxgCK62rlvm4WpVQ23Nb4tYjApUlfjrEGvOs7KHEsmyUn75OHZrJMWPw== + +localstorage-polyfill@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/localstorage-polyfill/-/localstorage-polyfill-1.0.1.tgz" + integrity sha512-m4iHVZxFH5734oQcPKU08025gIz2+4bjWR9lulP8ZYxEJR0BpA0w32oJmkzh8y3UI9ci7xCBehQDc3oA1X+VHw== + +lodash.camelcase@^4.3.0: + version "4.3.0" + resolved "https://registry.npmmirror.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz" + integrity sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA== + +lodash.clonedeep@4.5.0: + version "4.5.0" + resolved "https://registry.npmmirror.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz" + integrity sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ== + +lodash.set@4.3.2: + version "4.3.2" + resolved "https://registry.npmmirror.com/lodash.set/-/lodash.set-4.3.2.tgz" + integrity sha512-4hNPN5jlm/N/HLMCO43v8BXKq9Z7QdAGc/VGrRD61w8gN9g/6jF9A4L1pbUgBLCffi0w9VsXfTOij5x8iTyFvg== + +lodash.unset@4.5.2: + version "4.5.2" + resolved "https://registry.npmmirror.com/lodash.unset/-/lodash.unset-4.5.2.tgz" + integrity sha512-bwKX88k2JhCV9D1vtE8+naDKlLiGrSmf8zi/Y9ivFHwbmRfA8RxS/aVJ+sIht2XOwqoNr4xUPUkGZpc1sHFEKg== + +lodash@^4.17.21: + version "4.17.21" + resolved "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + +lower-case@^2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/lower-case/-/lower-case-2.0.2.tgz" + integrity sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg== + dependencies: + tslib "^2.0.3" + +lru-cache@^5.1.1: + version "5.1.1" + resolved "https://registry.npmmirror.com/lru-cache/-/lru-cache-5.1.1.tgz" + integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== + dependencies: + yallist "^3.0.2" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/lru-cache/-/lru-cache-6.0.0.tgz" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +magic-string@^0.25.7: + version "0.25.9" + resolved "https://registry.npmmirror.com/magic-string/-/magic-string-0.25.9.tgz" + integrity sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ== + dependencies: + sourcemap-codec "^1.4.8" + +magic-string@^0.26.1: + version "0.26.7" + resolved "https://registry.npmmirror.com/magic-string/-/magic-string-0.26.7.tgz" + integrity sha512-hX9XH3ziStPoPhJxLq1syWuZMxbDvGNbVchfrdCtanC7D13888bMFow61x8axrx+GfHLtVeAx2kxL7tTGRl+Ow== + dependencies: + sourcemap-codec "^1.4.8" + +media-typer@0.3.0: + version "0.3.0" + resolved "https://registry.npmmirror.com/media-typer/-/media-typer-0.3.0.tgz" + integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ== + +merge-descriptors@1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz" + integrity sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w== + +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/merge-stream/-/merge-stream-2.0.0.tgz" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + +merge2@^1.3.0: + version "1.4.1" + resolved "https://registry.npmmirror.com/merge2/-/merge2-1.4.1.tgz" + integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== + +merge@^2.1.1: + version "2.1.1" + resolved "https://registry.npmmirror.com/merge/-/merge-2.1.1.tgz" + integrity sha512-jz+Cfrg9GWOZbQAnDQ4hlVnQky+341Yk5ru8bZSe6sIDTCIg8n9i/u7hSQGSVOF3C7lH6mGtqjkiT9G4wFLL0w== + +methods@~1.1.2: + version "1.1.2" + resolved "https://registry.npmmirror.com/methods/-/methods-1.1.2.tgz" + integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== + +micromatch@^4.0.2, micromatch@^4.0.4: + version "4.0.5" + resolved "https://registry.npmmirror.com/micromatch/-/micromatch-4.0.5.tgz" + integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== + dependencies: + braces "^3.0.2" + picomatch "^2.3.1" + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12, mime-types@~2.1.24, mime-types@~2.1.34: + version "2.1.35" + resolved "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +mime@1.6.0: + version "1.6.0" + resolved "https://registry.npmmirror.com/mime/-/mime-1.6.0.tgz" + integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== + +mime@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/mime/-/mime-3.0.0.tgz" + integrity sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A== + +mimic-fn@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/mimic-fn/-/mimic-fn-2.1.0.tgz" + integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== + +minimatch@^3.1.1: + version "3.1.2" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimist@^1.2.6: + version "1.2.8" + resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== + +module-alias@^2.2.2: + version "2.2.2" + resolved "https://registry.npmmirror.com/module-alias/-/module-alias-2.2.2.tgz" + integrity sha512-A/78XjoX2EmNvppVWEhM2oGk3x4lLxnkEA4jTbaK97QKSDjkIoOsKQlfylt/d3kKKi596Qy3NP5XrXJ6fZIC9Q== + +moment-timezone@^0.5.34: + version "0.5.40" + resolved "https://registry.npmmirror.com/moment-timezone/-/moment-timezone-0.5.40.tgz" + integrity sha512-tWfmNkRYmBkPJz5mr9GVDn9vRlVZOTe6yqY92rFxiOdWXbjaR0+9LwQnZGGuNR63X456NqmEkbskte8tWL5ePg== + dependencies: + moment ">= 2.9.0" + +"moment@>= 2.9.0", moment@^2.29.3: + version "2.29.4" + resolved "https://registry.npmmirror.com/moment/-/moment-2.29.4.tgz" + integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w== + +ms@2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/ms/-/ms-2.0.0.tgz" + integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== + +ms@2.1.2: + version "2.1.2" + resolved "https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + +ms@2.1.3: + version "2.1.3" + resolved "https://registry.npmmirror.com/ms/-/ms-2.1.3.tgz" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== + +msal@^1.4.16: + version "1.4.17" + resolved "https://registry.npmmirror.com/msal/-/msal-1.4.17.tgz" + integrity sha512-RjHwP2cCIWQ9iUIk1SziUMb9+jj5mC4OqG2w16E5yig8jySi/TwiFvKlwcjNrPsndph0HtgCtbENnk5julf3yQ== + dependencies: + tslib "^1.9.3" + +nanoid@^3.3.4: + version "3.3.4" + resolved "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.4.tgz" + integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== + +negotiator@0.6.3: + version "0.6.3" + resolved "https://registry.npmmirror.com/negotiator/-/negotiator-0.6.3.tgz" + integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== + +neo-async@^2.6.2: + version "2.6.2" + resolved "https://registry.npmmirror.com/neo-async/-/neo-async-2.6.2.tgz" + integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== + +nice-try@^1.0.4: + version "1.0.5" + resolved "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz" + integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== + +no-case@^3.0.4: + version "3.0.4" + resolved "https://registry.npmmirror.com/no-case/-/no-case-3.0.4.tgz" + integrity sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg== + dependencies: + lower-case "^2.0.2" + tslib "^2.0.3" + +node-fetch@^2.6.0, node-fetch@^2.6.7: + version "2.6.7" + resolved "https://registry.npmmirror.com/node-fetch/-/node-fetch-2.6.7.tgz" + integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== + dependencies: + whatwg-url "^5.0.0" + +node-releases@^2.0.6: + version "2.0.8" + resolved "https://registry.npmmirror.com/node-releases/-/node-releases-2.0.8.tgz" + integrity sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A== + +normalize-path@^3.0.0, normalize-path@~3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + +normalize-range@^0.1.2: + version "0.1.2" + resolved "https://registry.npmmirror.com/normalize-range/-/normalize-range-0.1.2.tgz" + integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA== + +npm-run-path@^4.0.1: + version "4.0.1" + resolved "https://registry.npmmirror.com/npm-run-path/-/npm-run-path-4.0.1.tgz" + integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== + dependencies: + path-key "^3.0.0" + +nprogress@^0.2.0: + version "0.2.0" + resolved "https://registry.npmmirror.com/nprogress/-/nprogress-0.2.0.tgz" + integrity sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA== + +nswag@^13.16.1: + version "13.18.2" + resolved "https://registry.npmmirror.com/nswag/-/nswag-13.18.2.tgz" + integrity sha512-7OpG9WkrZUO2+9I7hgQsaAHujsP/tCaIs7ML2B4wUuFLjSsG6lHucyrREyVO/h9l3MM/Cw4RlEGFBbluWhgeYg== + +object-inspect@^1.9.0: + version "1.12.2" + resolved "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.12.2.tgz" + integrity sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ== + +on-finished@2.4.1: + version "2.4.1" + resolved "https://registry.npmmirror.com/on-finished/-/on-finished-2.4.1.tgz" + integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg== + dependencies: + ee-first "1.1.1" + +once@^1.3.0: + version "1.4.0" + resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== + dependencies: + wrappy "1" + +onetime@^5.1.2: + version "5.1.2" + resolved "https://registry.npmmirror.com/onetime/-/onetime-5.1.2.tgz" + integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== + dependencies: + mimic-fn "^2.1.0" + +open@^7.4.2: + version "7.4.2" + resolved "https://registry.npmjs.org/open/-/open-7.4.2.tgz" + integrity sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q== + dependencies: + is-docker "^2.0.0" + is-wsl "^2.1.1" + +os-tmpdir@~1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz" + integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== + +param-case@^3.0.4: + version "3.0.4" + resolved "https://registry.npmmirror.com/param-case/-/param-case-3.0.4.tgz" + integrity sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A== + dependencies: + dot-case "^3.0.4" + tslib "^2.0.3" + +parse-css-font@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/parse-css-font/-/parse-css-font-4.0.0.tgz" + integrity sha512-lnY7dTUfjRXsSo5G5C639L8RaBBaVSgL+5hacIFKsNHzeCJQ5SFSZv1DZmc7+wZv/22PFGOq2YbaEHLdaCS/mQ== + dependencies: + css-font-size-keywords "^1.0.0" + css-font-stretch-keywords "^1.0.1" + css-font-style-keywords "^1.0.1" + css-font-weight-keywords "^1.0.0" + css-list-helpers "^2.0.0" + css-system-font-keywords "^1.0.0" + unquote "^1.1.1" + +parseurl@~1.3.3: + version "1.3.3" + resolved "https://registry.npmmirror.com/parseurl/-/parseurl-1.3.3.tgz" + integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== + +pascal-case@^3.1.2: + version "3.1.2" + resolved "https://registry.npmmirror.com/pascal-case/-/pascal-case-3.1.2.tgz" + integrity sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + +patch-package@^6.5.1: + version "6.5.1" + resolved "https://registry.npmjs.org/patch-package/-/patch-package-6.5.1.tgz" + integrity sha512-I/4Zsalfhc6bphmJTlrLoOcAF87jcxko4q0qsv4bGcurbr8IskEOtdnt9iCmsQVGL1B+iUhSQqweyTLJfCF9rA== + dependencies: + "@yarnpkg/lockfile" "^1.1.0" + chalk "^4.1.2" + cross-spawn "^6.0.5" + find-yarn-workspace-root "^2.0.0" + fs-extra "^9.0.0" + is-ci "^2.0.0" + klaw-sync "^6.0.0" + minimist "^1.2.6" + open "^7.4.2" + rimraf "^2.6.3" + semver "^5.6.0" + slash "^2.0.0" + tmp "^0.0.33" + yaml "^1.10.2" + +path-case@^3.0.4: + version "3.0.4" + resolved "https://registry.npmmirror.com/path-case/-/path-case-3.0.4.tgz" + integrity sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg== + dependencies: + dot-case "^3.0.4" + tslib "^2.0.3" + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== + +path-key@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz" + integrity sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw== + +path-key@^3.0.0, path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.npmmirror.com/path-key/-/path-key-3.1.1.tgz" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.npmmirror.com/path-parse/-/path-parse-1.0.7.tgz" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-to-regexp@0.1.7: + version "0.1.7" + resolved "https://registry.npmmirror.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz" + integrity sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ== + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/picocolors/-/picocolors-1.0.0.tgz" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.2, picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + +pify@^2.3.0: + version "2.3.0" + resolved "https://registry.npmmirror.com/pify/-/pify-2.3.0.tgz" + integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== + +postcss-import@^14.0.2: + version "14.1.0" + resolved "https://registry.npmmirror.com/postcss-import/-/postcss-import-14.1.0.tgz" + integrity sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw== + dependencies: + postcss-value-parser "^4.0.0" + read-cache "^1.0.0" + resolve "^1.1.7" + +postcss-load-config@^3.1.1: + version "3.1.4" + resolved "https://registry.npmmirror.com/postcss-load-config/-/postcss-load-config-3.1.4.tgz" + integrity sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg== + dependencies: + lilconfig "^2.0.5" + yaml "^1.10.2" + +postcss-modules-extract-imports@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz" + integrity sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw== + +postcss-modules-local-by-default@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.0.tgz" + integrity sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ== + dependencies: + icss-utils "^5.0.0" + postcss-selector-parser "^6.0.2" + postcss-value-parser "^4.1.0" + +postcss-modules-scope@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz" + integrity sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg== + dependencies: + postcss-selector-parser "^6.0.4" + +postcss-modules-values@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz" + integrity sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ== + dependencies: + icss-utils "^5.0.0" + +postcss-modules@^4.3.0: + version "4.3.1" + resolved "https://registry.npmmirror.com/postcss-modules/-/postcss-modules-4.3.1.tgz" + integrity sha512-ItUhSUxBBdNamkT3KzIZwYNNRFKmkJrofvC2nWab3CPKhYBQ1f27XXh1PAPE27Psx58jeelPsxWB/+og+KEH0Q== + dependencies: + generic-names "^4.0.0" + icss-replace-symbols "^1.1.0" + lodash.camelcase "^4.3.0" + postcss-modules-extract-imports "^3.0.0" + postcss-modules-local-by-default "^4.0.0" + postcss-modules-scope "^3.0.0" + postcss-modules-values "^4.0.0" + string-hash "^1.1.1" + +postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4, postcss-selector-parser@^6.0.6: + version "6.0.11" + resolved "https://registry.npmmirror.com/postcss-selector-parser/-/postcss-selector-parser-6.0.11.tgz" + integrity sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g== + dependencies: + cssesc "^3.0.0" + util-deprecate "^1.0.2" + +postcss-value-parser@^4.0.0, postcss-value-parser@^4.1.0, postcss-value-parser@^4.2.0: + version "4.2.0" + resolved "https://registry.npmmirror.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz" + integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== + +postcss@^8.1.10, postcss@^8.4.12, postcss@^8.4.13: + version "8.4.21" + resolved "https://registry.npmmirror.com/postcss/-/postcss-8.4.21.tgz" + integrity sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +postinstall-postinstall@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/postinstall-postinstall/-/postinstall-postinstall-2.1.0.tgz" + integrity sha512-7hQX6ZlZXIoRiWNrbMQaLzUUfH+sSx39u8EJ9HYuDc1kLo9IXKWjM5RSquZN1ad5GnH8CGFM78fsAAQi3OKEEQ== + +proxy-addr@~2.0.7: + version "2.0.7" + resolved "https://registry.npmmirror.com/proxy-addr/-/proxy-addr-2.0.7.tgz" + integrity sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg== + dependencies: + forwarded "0.2.0" + ipaddr.js "1.9.1" + +psl@^1.1.28, psl@^1.1.33: + version "1.9.0" + resolved "https://registry.npmmirror.com/psl/-/psl-1.9.0.tgz" + integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== + +punycode@^2.1.0, punycode@^2.1.1: + version "2.2.0" + resolved "https://registry.npmmirror.com/punycode/-/punycode-2.2.0.tgz" + integrity sha512-LN6QV1IJ9ZhxWTNdktaPClrNfp8xdSAYS0Zk2ddX7XsXZAxckMHPCBcHRo0cTcEIgYPRiGEkmji3Idkh2yFtYw== + +qrcode-reader@^1.0.4: + version "1.0.4" + resolved "https://registry.npmmirror.com/qrcode-reader/-/qrcode-reader-1.0.4.tgz" + integrity sha512-rRjALGNh9zVqvweg1j5OKIQKNsw3bLC+7qwlnead5K/9cb1cEIAGkwikt/09U0K+2IDWGD9CC6SP7tHAjUeqvQ== + +qrcode-terminal@^0.12.0: + version "0.12.0" + resolved "https://registry.npmmirror.com/qrcode-terminal/-/qrcode-terminal-0.12.0.tgz" + integrity sha512-EXtzRZmC+YGmGlDFbXKxQiMZNwCLEO6BANKXG4iCtSIM0yqc/pappSx3RIKr4r0uh5JsBckOXeKrB3Iz7mdQpQ== + +qs@6.11.0: + version "6.11.0" + resolved "https://registry.npmmirror.com/qs/-/qs-6.11.0.tgz" + integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q== + dependencies: + side-channel "^1.0.4" + +querystringify@^2.1.1: + version "2.2.0" + resolved "https://registry.npmmirror.com/querystringify/-/querystringify-2.2.0.tgz" + integrity sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ== + +queue-microtask@^1.2.2: + version "1.2.3" + resolved "https://registry.npmmirror.com/queue-microtask/-/queue-microtask-1.2.3.tgz" + integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== + +range-parser@~1.2.1: + version "1.2.1" + resolved "https://registry.npmmirror.com/range-parser/-/range-parser-1.2.1.tgz" + integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== + +raw-body@2.5.1: + version "2.5.1" + resolved "https://registry.npmmirror.com/raw-body/-/raw-body-2.5.1.tgz" + integrity sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig== + dependencies: + bytes "3.1.2" + http-errors "2.0.0" + iconv-lite "0.4.24" + unpipe "1.0.0" + +read-cache@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/read-cache/-/read-cache-1.0.0.tgz" + integrity sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA== + dependencies: + pify "^2.3.0" + +readdirp@~3.6.0: + version "3.6.0" + resolved "https://registry.npmmirror.com/readdirp/-/readdirp-3.6.0.tgz" + integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== + dependencies: + picomatch "^2.2.1" + +regenerator-runtime@^0.13.9: + version "0.13.11" + resolved "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz" + integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== + +requires-port@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/requires-port/-/requires-port-1.0.0.tgz" + integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== + +resolve@^1.1.7, resolve@^1.22.0: + version "1.22.1" + resolved "https://registry.npmmirror.com/resolve/-/resolve-1.22.1.tgz" + integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +reusify@^1.0.4: + version "1.0.4" + resolved "https://registry.npmmirror.com/reusify/-/reusify-1.0.4.tgz" + integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== + +rimraf@^2.6.3: + version "2.7.1" + resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz" + integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== + dependencies: + glob "^7.1.3" + +"rollup@>=2.59.0 <2.78.0": + version "2.77.3" + resolved "https://registry.npmmirror.com/rollup/-/rollup-2.77.3.tgz" + integrity sha512-/qxNTG7FbmefJWoeeYJFbHehJ2HNWnjkAFRKzWN/45eNBBF/r8lo992CwcJXEzyVxs5FmfId+vTSTQDb+bxA+g== + optionalDependencies: + fsevents "~2.3.2" + +rollup@^2.59.0: + version "2.79.1" + resolved "https://registry.npmmirror.com/rollup/-/rollup-2.79.1.tgz" + integrity sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw== + optionalDependencies: + fsevents "~2.3.2" + +run-parallel@^1.1.9: + version "1.2.0" + resolved "https://registry.npmmirror.com/run-parallel/-/run-parallel-1.2.0.tgz" + integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== + dependencies: + queue-microtask "^1.2.2" + +rxjs-compat@^6.5.3: + version "6.6.7" + resolved "https://registry.npmmirror.com/rxjs-compat/-/rxjs-compat-6.6.7.tgz" + integrity sha512-szN4fK+TqBPOFBcBcsR0g2cmTTUF/vaFEOZNuSdfU8/pGFnNmmn2u8SystYXG1QMrjOPBc6XTKHMVfENDf6hHw== + +rxjs@^6.5.3: + version "6.6.7" + resolved "https://registry.npmmirror.com/rxjs/-/rxjs-6.6.7.tgz" + integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== + dependencies: + tslib "^1.9.0" + +safe-area-insets@^1.4.1: + version "1.4.1" + resolved "https://registry.npmmirror.com/safe-area-insets/-/safe-area-insets-1.4.1.tgz" + integrity sha512-r/nRWTjFGhhm3w1Z6Kd/jY11srN+lHt2mNl1E/emQGW8ic7n3Avu4noibklfSM+Y34peNphHD/BSZecav0sXYQ== + +safe-buffer@5.2.1: + version "5.2.1" + resolved "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.2.1.tgz" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +"safer-buffer@>= 2.1.2 < 3": + version "2.1.2" + resolved "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + +sass-loader@^10.1.1: + version "10.4.1" + resolved "https://registry.npmmirror.com/sass-loader/-/sass-loader-10.4.1.tgz" + integrity sha512-aX/iJZTTpNUNx/OSYzo2KsjIUQHqvWsAhhUijFjAPdZTEhstjZI9zTNvkTTwsx+uNUJqUwOw5gacxQMx4hJxGQ== + dependencies: + klona "^2.0.4" + loader-utils "^2.0.0" + neo-async "^2.6.2" + schema-utils "^3.0.0" + semver "^7.3.2" + +sass@^1.52.3: + version "1.57.1" + resolved "https://registry.npmmirror.com/sass/-/sass-1.57.1.tgz" + integrity sha512-O2+LwLS79op7GI0xZ8fqzF7X2m/m8WFfI02dHOdsK5R2ECeS5F62zrwg/relM1rjSLy7Vd/DiMNIvPrQGsA0jw== + dependencies: + chokidar ">=3.0.0 <4.0.0" + immutable "^4.0.0" + source-map-js ">=0.6.2 <2.0.0" + +schema-utils@^3.0.0: + version "3.3.0" + resolved "https://registry.npmmirror.com/schema-utils/-/schema-utils-3.3.0.tgz" + integrity sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg== + dependencies: + "@types/json-schema" "^7.0.8" + ajv "^6.12.5" + ajv-keywords "^3.5.2" + +semver@^5.5.0, semver@^5.6.0: + version "5.7.1" + resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" + integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== + +semver@^6.3.0: + version "6.3.0" + resolved "https://registry.npmmirror.com/semver/-/semver-6.3.0.tgz" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + +semver@^7.3.2: + version "7.3.8" + resolved "https://registry.npmmirror.com/semver/-/semver-7.3.8.tgz" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== + dependencies: + lru-cache "^6.0.0" + +send@0.18.0: + version "0.18.0" + resolved "https://registry.npmmirror.com/send/-/send-0.18.0.tgz" + integrity sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg== + dependencies: + debug "2.6.9" + depd "2.0.0" + destroy "1.2.0" + encodeurl "~1.0.2" + escape-html "~1.0.3" + etag "~1.8.1" + fresh "0.5.2" + http-errors "2.0.0" + mime "1.6.0" + ms "2.1.3" + on-finished "2.4.1" + range-parser "~1.2.1" + statuses "2.0.1" + +sentence-case@^3.0.4: + version "3.0.4" + resolved "https://registry.npmmirror.com/sentence-case/-/sentence-case-3.0.4.tgz" + integrity sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + upper-case-first "^2.0.2" + +serve-static@1.15.0: + version "1.15.0" + resolved "https://registry.npmmirror.com/serve-static/-/serve-static-1.15.0.tgz" + integrity sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g== + dependencies: + encodeurl "~1.0.2" + escape-html "~1.0.3" + parseurl "~1.3.3" + send "0.18.0" + +setprototypeof@1.2.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/setprototypeof/-/setprototypeof-1.2.0.tgz" + integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== + +shebang-command@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz" + integrity sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg== + dependencies: + shebang-regex "^1.0.0" + +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/shebang-command/-/shebang-command-2.0.0.tgz" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + +shebang-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz" + integrity sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ== + +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/shebang-regex/-/shebang-regex-3.0.0.tgz" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + +side-channel@^1.0.4: + version "1.0.4" + resolved "https://registry.npmmirror.com/side-channel/-/side-channel-1.0.4.tgz" + integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== + dependencies: + call-bind "^1.0.0" + get-intrinsic "^1.0.2" + object-inspect "^1.9.0" + +signal-exit@^3.0.3: + version "3.0.7" + resolved "https://registry.npmmirror.com/signal-exit/-/signal-exit-3.0.7.tgz" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + +signalr-uni@^5.0.5: + version "5.1.1" + resolved "https://registry.npmmirror.com/signalr-uni/-/signalr-uni-5.1.1.tgz" + integrity sha512-1Ppf3FaXqR1ZhPbqMweVolsWX5H6hBvFtUEeeCAwbIaZ9CrOHt/K+h1xysJRuFfrmZY+XsYTv3XOFQ31fBUC4w== + dependencies: + abort-controller "^3.0.0" + eventsource "^1.0.7" + fetch-cookie "^0.7.3" + node-fetch "^2.6.0" + ws "^6.0.0" + +slash@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz" + integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== + +snake-case@^3.0.4: + version "3.0.4" + resolved "https://registry.npmmirror.com/snake-case/-/snake-case-3.0.4.tgz" + integrity sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg== + dependencies: + dot-case "^3.0.4" + tslib "^2.0.3" + +"source-map-js@>=0.6.2 <2.0.0", source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.0.2.tgz" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + +source-map@0.5.6: + version "0.5.6" + resolved "https://registry.npmmirror.com/source-map/-/source-map-0.5.6.tgz" + integrity sha512-MjZkVp0NHr5+TPihLcadqnlVoGIoWo4IBHptutGh9wI3ttUYvCG26HkSuDi+K6lsZ25syXJXcctwgyVCt//xqA== + +source-map@0.6.1, source-map@^0.6.1: + version "0.6.1" + resolved "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz" + integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== + +sourcemap-codec@^1.4.8: + version "1.4.8" + resolved "https://registry.npmmirror.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz" + integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== + +sourcemapped-stacktrace@^1.1.11: + version "1.1.11" + resolved "https://registry.npmmirror.com/sourcemapped-stacktrace/-/sourcemapped-stacktrace-1.1.11.tgz" + integrity sha512-O0pcWjJqzQFVsisPlPXuNawJHHg9N9UgpJ/aDmvi9+vnS3x1C0NhwkVFzzZ1VN0Xo+bekyweoqYvBw5ZBKiNnQ== + dependencies: + source-map "0.5.6" + +statuses@2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/statuses/-/statuses-2.0.1.tgz" + integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== + +string-hash@^1.1.1: + version "1.1.3" + resolved "https://registry.npmmirror.com/string-hash/-/string-hash-1.1.3.tgz" + integrity sha512-kJUvRUFK49aub+a7T1nNE66EJbZBMnBgoC1UbCZ5n6bsZKBRga4KgBRTMn/pFkeCZSYtNeSyMxPDM0AXWELk2A== + +strip-final-newline@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz" + integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.npmmirror.com/supports-color/-/supports-color-5.5.0.tgz" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +svg-tags@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/svg-tags/-/svg-tags-1.0.0.tgz" + integrity sha512-ovssysQTa+luh7A5Weu3Rta6FJlFBBbInjOh722LIt6klpU2/HtdUbszju/G4devcvk8PGt7FCLv5wftu3THUA== + +systemjs@^6.12.1: + version "6.13.0" + resolved "https://registry.npmmirror.com/systemjs/-/systemjs-6.13.0.tgz" + integrity sha512-P3cgh2bpaPvAO2NE3uRp/n6hmk4xPX4DQf+UzTlCAycssKdqhp6hjw+ENWe+aUS7TogKRFtptMosTSFeC6R55g== + +tapable@^2.2.0: + version "2.2.1" + resolved "https://registry.npmmirror.com/tapable/-/tapable-2.2.1.tgz" + integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== + +tmp@^0.0.33: + version "0.0.33" + resolved "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz" + integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== + dependencies: + os-tmpdir "~1.0.2" + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +toidentifier@1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/toidentifier/-/toidentifier-1.0.1.tgz" + integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== + +tough-cookie@^2.3.3: + version "2.5.0" + resolved "https://registry.npmmirror.com/tough-cookie/-/tough-cookie-2.5.0.tgz" + integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== + dependencies: + psl "^1.1.28" + punycode "^2.1.1" + +"tough-cookie@^2.3.3 || ^3.0.1 || ^4.0.0": + version "4.1.2" + resolved "https://registry.npmmirror.com/tough-cookie/-/tough-cookie-4.1.2.tgz" + integrity sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ== + dependencies: + psl "^1.1.33" + punycode "^2.1.1" + universalify "^0.2.0" + url-parse "^1.5.3" + +tr46@~0.0.3: + version "0.0.3" + resolved "https://registry.npmmirror.com/tr46/-/tr46-0.0.3.tgz" + integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== + +tslib@^1.9.0, tslib@^1.9.3: + version "1.14.1" + resolved "https://registry.npmmirror.com/tslib/-/tslib-1.14.1.tgz" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== + +tslib@^2.0.3: + version "2.4.1" + resolved "https://registry.npmmirror.com/tslib/-/tslib-2.4.1.tgz" + integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA== + +type-is@~1.6.18: + version "1.6.18" + resolved "https://registry.npmmirror.com/type-is/-/type-is-1.6.18.tgz" + integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== + dependencies: + media-typer "0.3.0" + mime-types "~2.1.24" + +typescript@^4.6.3: + version "4.9.4" + resolved "https://registry.npmmirror.com/typescript/-/typescript-4.9.4.tgz" + integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg== + +universalify@^0.2.0: + version "0.2.0" + resolved "https://registry.npmmirror.com/universalify/-/universalify-0.2.0.tgz" + integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg== + +universalify@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/universalify/-/universalify-2.0.0.tgz" + integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== + +unpipe@1.0.0, unpipe@~1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/unpipe/-/unpipe-1.0.0.tgz" + integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== + +unquote@^1.1.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/unquote/-/unquote-1.1.1.tgz" + integrity sha512-vRCqFv6UhXpWxZPyGDh/F3ZpNv8/qo7w6iufLpQg9aKnQ71qM4B5KiI7Mia9COcjEhrO9LueHpMYjYzsWH3OIg== + +update-browserslist-db@^1.0.9: + version "1.0.10" + resolved "https://registry.npmmirror.com/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz" + integrity sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + +upper-case-first@^2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/upper-case-first/-/upper-case-first-2.0.2.tgz" + integrity sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg== + dependencies: + tslib "^2.0.3" + +upper-case@^2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/upper-case/-/upper-case-2.0.2.tgz" + integrity sha512-KgdgDGJt2TpuwBUIjgG6lzw2GWFRCW9Qkfkiv0DxqHHLYJHmtmdUIKcZd8rHgFSjopVTlw6ggzCm1b8MFQwikg== + dependencies: + tslib "^2.0.3" + +uri-js@^4.2.2: + version "4.4.1" + resolved "https://registry.npmmirror.com/uri-js/-/uri-js-4.4.1.tgz" + integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== + dependencies: + punycode "^2.1.0" + +url-parse@^1.5.3: + version "1.5.10" + resolved "https://registry.npmmirror.com/url-parse/-/url-parse-1.5.10.tgz" + integrity sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ== + dependencies: + querystringify "^2.1.1" + requires-port "^1.0.0" + +util-deprecate@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/util-deprecate/-/util-deprecate-1.0.2.tgz" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +utils-merge@1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/utils-merge/-/utils-merge-1.0.1.tgz" + integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA== + +vant@3.5.1: + version "3.5.1" + resolved "https://registry.npmmirror.com/vant/-/vant-3.5.1.tgz" + integrity sha512-SoTrAnesooXnAAR9IDn/zfna24tgShkC8/lAJJQsOa0ynmR61AnV1wOwCsUNf2Q1CobQIGi3AHTUan7cPzupEA== + dependencies: + "@vant/icons" "^1.8.0" + "@vant/popperjs" "^1.2.1" + "@vant/use" "^1.4.1" + +vary@~1.1.2: + version "1.1.2" + resolved "https://registry.npmmirror.com/vary/-/vary-1.1.2.tgz" + integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== + +vite-plugin-style-import@^1.4.1: + version "1.4.1" + resolved "https://registry.npmmirror.com/vite-plugin-style-import/-/vite-plugin-style-import-1.4.1.tgz" + integrity sha512-lJCRvm7+So0hHdnSJiJPg9gD5mxtL6YY0jmhEph+k7ArpsyvqOh6han2kG5htbWWDZxHkUN9d1BuTFL//yCLLQ== + dependencies: + "@rollup/pluginutils" "^4.1.2" + change-case "^4.1.2" + debug "^4.3.3" + es-module-lexer "^0.9.3" + fs-extra "^10.0.0" + magic-string "^0.25.7" + +vite@^2.9.6: + version "2.9.15" + resolved "https://registry.npmmirror.com/vite/-/vite-2.9.15.tgz" + integrity sha512-fzMt2jK4vQ3yK56te3Kqpkaeq9DkcZfBbzHwYpobasvgYmP2SoAr6Aic05CsB4CzCZbsDv4sujX3pkEGhLabVQ== + dependencies: + esbuild "^0.14.27" + postcss "^8.4.13" + resolve "^1.22.0" + rollup ">=2.59.0 <2.78.0" + optionalDependencies: + fsevents "~2.3.2" + +vue-i18n@^9.1.9: + version "9.2.2" + resolved "https://registry.npmmirror.com/vue-i18n/-/vue-i18n-9.2.2.tgz" + integrity sha512-yswpwtj89rTBhegUAv9Mu37LNznyu3NpyLQmozF3i1hYOhwpG8RjcjIFIIfnu+2MDZJGSZPXaKWvnQA71Yv9TQ== + dependencies: + "@intlify/core-base" "9.2.2" + "@intlify/shared" "9.2.2" + "@intlify/vue-devtools" "9.2.2" + "@vue/devtools-api" "^6.2.1" + +vue-router@^4.0.14: + version "4.1.6" + resolved "https://registry.npmmirror.com/vue-router/-/vue-router-4.1.6.tgz" + integrity sha512-DYWYwsG6xNPmLq/FmZn8Ip+qrhFEzA14EI12MsMgVxvHFDYvlr4NXpVF5hrRH1wVcDP8fGi5F4rxuJSl8/r+EQ== + dependencies: + "@vue/devtools-api" "^6.4.5" + +vue@^3.2.33: + version "3.2.33" + resolved "https://registry.npmmirror.com/vue/-/vue-3.2.33.tgz" + integrity sha512-si1ExAlDUrLSIg/V7D/GgA4twJwfsfgG+t9w10z38HhL/HA07132pUQ2KuwAo8qbCyMJ9e6OqrmWrOCr+jW7ZQ== + dependencies: + "@vue/compiler-dom" "3.2.33" + "@vue/compiler-sfc" "3.2.33" + "@vue/runtime-dom" "3.2.33" + "@vue/server-renderer" "3.2.33" + "@vue/shared" "3.2.33" + +vuex@^4.0.2: + version "4.1.0" + resolved "https://registry.npmmirror.com/vuex/-/vuex-4.1.0.tgz" + integrity sha512-hmV6UerDrPcgbSy9ORAtNXDr9M4wlNP4pEFKye4ujJF8oqgFFuxDCdOLS3eNoRTtq5O3hoBDh9Doj1bQMYHRbQ== + dependencies: + "@vue/devtools-api" "^6.0.0-beta.11" + +webidl-conversions@^3.0.0: + version "3.0.1" + resolved "https://registry.npmmirror.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz" + integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== + +whatwg-url@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/whatwg-url/-/whatwg-url-5.0.0.tgz" + integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== + dependencies: + tr46 "~0.0.3" + webidl-conversions "^3.0.0" + +which@^1.2.9: + version "1.3.1" + resolved "https://registry.npmjs.org/which/-/which-1.3.1.tgz" + integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== + dependencies: + isexe "^2.0.0" + +which@^2.0.1: + version "2.0.2" + resolved "https://registry.npmmirror.com/which/-/which-2.0.2.tgz" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + +wrappy@1: + version "1.0.2" + resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + +ws@^6.0.0: + version "6.2.2" + resolved "https://registry.npmmirror.com/ws/-/ws-6.2.2.tgz" + integrity sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw== + dependencies: + async-limiter "~1.0.0" + +ws@^7.4.5: + version "7.5.9" + resolved "https://registry.npmmirror.com/ws/-/ws-7.5.9.tgz" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +ws@^8.4.2: + version "8.12.0" + resolved "https://registry.npmmirror.com/ws/-/ws-8.12.0.tgz" + integrity sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig== + +xmlhttprequest@^1.8.0: + version "1.8.0" + resolved "https://registry.npmmirror.com/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz" + integrity sha512-58Im/U0mlVBLM38NdZjHyhuMtCqa61469k2YP/AaPbvCoV9aQGUpbJBj1QRm2ytRiVQBD/fsw7L2bJGDVQswBA== + +xregexp@3.1.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/xregexp/-/xregexp-3.1.0.tgz" + integrity sha512-4Y1x6DyB8xRoxosooa6PlGWqmmSKatbzhrftZ7Purmm4B8R4qIEJG1A2hZsdz5DhmIqS0msC0I7KEq93GphEVg== + +yallist@^3.0.2: + version "3.1.1" + resolved "https://registry.npmmirror.com/yallist/-/yallist-3.1.1.tgz" + integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/yallist/-/yallist-4.0.0.tgz" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^1.10.2: + version "1.10.2" + resolved "https://registry.npmmirror.com/yaml/-/yaml-1.10.2.tgz" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==