import{$b as Re,B as ie,Ta as be,Wc as ve,Xc as Ie,Yc as Ce,ac as Te,kg as ye,sg as ke,x as Q,y as ee,z as te}from"./chunk-MEUY652R.js";import{$e as q,Bf as ae,Cf as re,Da as V,Ef as P,Fd as Y,Gf as le,Ha as n,Hf as k,Ib as C,Jd as J,Kf as oe,Ma as G,Na as D,Nb as t,Ob as o,Pb as p,Pf as pe,Qf as de,Ra as j,Rf as se,Sa as A,Sf as me,Tf as ce,ag as ue,ah as he,ba as z,bf as X,cg as xe,eb as b,eg as Ee,fd as H,gb as v,ha as S,ia as h,if as Z,ig as _e,kd as W,lb as f,mb as i,nb as e,ob as E,rc as r,sc as l,uf as O,vb as B,vg as fe,wd as $,wf as ne,xb as c,yf as U,yg as Se,zb as y,zd as K}from"./chunk-DA3HQ2LG.js";import"./chunk-LZHBRXCS.js";import"./chunk-QNERVMXC.js";import"./chunk-FK6H3RFT.js";import{g as N,i as w}from"./chunk-2AVGQ2MQ.js";var we=N(Re()),T=N(Te());function Ue(m,I){m&1&&(t(0),r(1,"translate")),m&2&&p(" (",l(1,1,"Brak uprawnie\u0144"),") ")}function De(m,I){if(m&1){let d=B();i(0,"button",76),c("click",function(){S(d);let a=y();return h(a.copy(a.applicationsResponse))}),t(1),r(2,"translate"),e()}m&2&&(n(),p(" ",l(2,1,"Kopiuj odpowied\u017A")," "))}function ze(m,I){if(m&1&&(i(0,"div")(1,"pre",77)(2,"code")(3,"strong"),t(4,"[RESPONSE]"),e(),t(5),r(6,"json"),e()()()),m&2){let d=y();n(5),p(`
    `,l(6,1,d.applicationsResponse))}}function Ae(m,I){m&1&&(t(0),r(1,"translate")),m&2&&p(" (",l(1,1,"Brak uprawnie\u0144"),") ")}function Oe(m,I){if(m&1){let d=B();i(0,"button",76),c("click",function(){S(d);let a=y();return h(a.copy(a.applicationsDefinitionResponse))}),t(1),r(2,"translate"),e()}m&2&&(n(),p(" ",l(2,1,"Kopiuj odpowied\u017A")," "))}function Le(m,I){if(m&1&&(i(0,"div")(1,"pre",77)(2,"code")(3,"strong"),t(4,"[RESPONSE]"),e(),t(5),r(6,"json"),e()()()),m&2){let d=y();n(5),p(`
        `,l(6,1,d.applicationsDefinitionResponse))}}function Fe(m,I){m&1&&(t(0),r(1,"translate")),m&2&&p(" (",l(1,1,"Brak uprawnie\u0144"),") ")}function Me(m,I){if(m&1&&(i(0,"button",63),t(1),e()),m&2){let d=y();n(),p(" ",d.applicationsPostResponse," ")}}function Ne(m,I){m&1&&(t(0),r(1,"translate")),m&2&&p(" (",l(1,1,"Brak uprawnie\u0144"),") ")}function Ve(m,I){if(m&1&&(i(0,"button",63),t(1),e()),m&2){let d=y();n(),p(" ",d.cancelApplicationsPostResponse," ")}}function Ge(m,I){m&1&&(t(0),r(1,"translate")),m&2&&p(" (",l(1,1,"Brak uprawnie\u0144"),") ")}function je(m,I){if(m&1){let d=B();i(0,"button",76),c("click",function(){S(d);let a=y();return h(a.copy(a.findUserResponse))}),t(1),r(2,"translate"),e()}m&2&&(n(),p(" ",l(2,1,"Kopiuj odpowied\u017A")," "))}function He(m,I){if(m&1&&(i(0,"div")(1,"pre",77)(2,"code")(3,"strong"),t(4,"[RESPONSE]"),e(),t(5),r(6,"json"),e()()()),m&2){let d=y();n(5),p(`
    `,l(6,1,d.findUserResponse))}}function We(m,I){m&1&&(t(0),r(1,"translate")),m&2&&p(" (",l(1,1,"Brak uprawnie\u0144"),") ")}function $e(m,I){if(m&1){let d=B();i(0,"button",76),c("click",function(){S(d);let a=y();return h(a.copy(a.userExportResponse))}),t(1),r(2,"translate"),e()}m&2&&(n(),p(" ",l(2,1,"Kopiuj odpowied\u017A")," "))}function Ke(m,I){if(m&1&&(i(0,"div")(1,"pre",77)(2,"code")(3,"strong"),t(4,"[RESPONSE]"),e(),t(5),r(6,"json"),e()()()),m&2){let d=y();n(5),p(`
      `,l(6,1,d.userExportResponse),`
    `)}}function Ye(m,I){m&1&&(t(0),r(1,"translate")),m&2&&p(" (",l(1,1,"Brak uprawnie\u0144"),") ")}function Je(m,I){if(m&1&&(i(0,"button",63),t(1),e()),m&2){let d=y();n(),p(" ",d.importResponse," ")}}function qe(m,I){m&1&&(t(0),r(1,"translate")),m&2&&p(" (",l(1,1,"Brak uprawnie\u0144"),") ")}function Xe(m,I){if(m&1){let d=B();i(0,"button",76),c("click",function(){S(d);let a=y();return h(a.copy(a.structureExportResponse))}),t(1),r(2,"translate"),e()}m&2&&(n(),p(" ",l(2,1,"Kopiuj odpowied\u017A")," "))}function Ze(m,I){if(m&1&&(i(0,"div")(1,"pre",77)(2,"code")(3,"strong"),t(4,"[RESPONSE]"),e(),t(5),r(6,"json"),e()()()),m&2){let d=y();n(5),p(`
    `,l(6,1,d.structureExportResponse),`
  `)}}function Qe(m,I){m&1&&(t(0),r(1,"translate")),m&2&&p(" (",l(1,1,"Brak uprawnie\u0144"),") ")}function et(m,I){if(m&1){let d=B();i(0,"button",76),c("click",function(){S(d);let a=y();return h(a.copy(a.rcpImportResponse))}),t(1),r(2,"translate"),e()}m&2&&(n(),p(" ",l(2,1,"Kopiuj odpowied\u017A")," "))}function tt(m,I){if(m&1&&(i(0,"div")(1,"pre",77)(2,"code")(3,"strong"),t(4,"[RESPONSE]"),e(),t(5),r(6,"json"),e()()()),m&2){let d=y();n(5),p(`
      `,l(6,1,d.rcpImportResponse),`
    `)}}function it(m,I){m&1&&(t(0),r(1,"translate")),m&2&&p(" (",l(1,1,"Brak uprawnie\u0144"),") ")}function nt(m,I){if(m&1){let d=B();i(0,"button",76),c("click",function(){S(d);let a=y();return h(a.copy(a.rcpExportResponse))}),t(1),r(2,"translate"),e()}m&2&&(n(),p(" ",l(2,1,"Kopiuj odpowied\u017A")," "))}function at(m,I){if(m&1&&(i(0,"div")(1,"pre",77)(2,"code")(3,"strong"),t(4,"[RESPONSE]"),e(),t(5),r(6,"json"),e()()()),m&2){let d=y();n(5),p(`
    `,l(6,1,d.rcpExportResponse),`
  `)}}function rt(m,I){m&1&&(t(0),r(1,"translate")),m&2&&p(" (",l(1,1,"Brak uprawnie\u0144"),") ")}function lt(m,I){if(m&1){let d=B();i(0,"button",73),c("click",function(){S(d);let a=y();return h(a.copy(a.hrComponentsListResponse))}),t(1),r(2,"translate"),e()}m&2&&(n(),p(" ",l(2,1,"Kopiuj odpowied\u017A")," "))}function ot(m,I){if(m&1&&(i(0,"div")(1,"pre",77)(2,"code")(3,"strong"),t(4,"[RESPONSE]"),e(),t(5),r(6,"json"),e()()()),m&2){let d=y();n(5),p(`
    `,l(6,1,d.hrComponentsListResponse),`
  `)}}function pt(m,I){m&1&&(t(0),r(1,"translate")),m&2&&p(" (",l(1,1,"Brak uprawnie\u0144"),") ")}function dt(m,I){if(m&1){let d=B();i(0,"button",76),c("click",function(){S(d);let a=y();return h(a.copy(a.hrComponentsExportResponse))}),t(1),r(2,"translate"),e()}m&2&&(n(),p(" ",l(2,1,"Kopiuj odpowied\u017A")," "))}function st(m,I){if(m&1&&(i(0,"div")(1,"pre",77)(2,"code")(3,"strong"),t(4,"[RESPONSE]"),e(),t(5),r(6,"json"),e()()()),m&2){let d=y();n(5),p(`
    `,l(6,1,d.hrComponentsExportResponse),`
  `)}}function mt(m,I){m&1&&(t(0),r(1,"translate")),m&2&&p(" (",l(1,1,"Brak uprawnie\u0144"),") ")}function ct(m,I){if(m&1){let d=B();i(0,"button",73),c("click",function(){S(d);let a=y();return h(a.copyScheduleExportResponse())}),t(1),r(2,"translate"),e()}m&2&&(n(),p(" ",l(2,1,"Kopiuj odpowied\u017A")," "))}function ut(m,I){if(m&1&&(i(0,"div")(1,"pre",77)(2,"code")(3,"strong"),t(4,"[RESPONSE]"),e(),t(5),r(6,"json"),e()()()),m&2){let d=y();n(5),p(`
    `,l(6,1,d.scheduleExportResponse),`
  `)}}var Be=(()=>{class m{get canGetApplications(){return this.auth.appRoles.canPublicApplicationGet}get canPublicApplicationDefinitions(){return this.auth.appRoles.canPublicApplicationDefinitions}get canPublicUserApplicationCancel(){return this.auth.appRoles.canPublicUserApplicationCancel}get canPublicUserApplicationImport(){return this.auth.appRoles.canPublicUserApplicationImport}get canImportUser(){return this.auth.appRoles.canPublicUserGroupImport}get canFindUser(){return this.auth.appRoles.canPublicUserFindByEmail}get canUserExport(){return this.auth.appRoles.canPublicUserExport}get canStructureExport(){return this.auth.appRoles.canPublicStructureExport}get apiUrl(){return Y.apiUrl}get canAdministrationImport(){return this.auth.appRoles.canAdministrationImport}get canHrComponentsList(){return this.auth.appRoles.canPublicHrComponentGetDefinitions}get canHrComponentsExport(){return this.auth.appRoles.canPublicHrComponentExportUserData}get canScheduleExport(){return this.auth.appRoles.canPublicScheduleExport}copyScheduleExportResponse(){this.scheduleExportResponse&&this.copy(JSON.stringify(this.scheduleExportResponse))}get rcpExportExampleUrl(){let d=this.rcpExportUrl,x=this.rcpExportGetForm.value;return x.startDate&&(d+="?startDate="+(0,T.default)(new Date(x.startDate)).format("YYYY-MM-DD")),d}get scheduleExportExampleUrl(){let d=this.scheduleExportUrl,x=this.scheduleExportForm.value,a=[];return x.startDate&&a.push(`startDate=${(0,T.default)(x.startDate).format("YYYY-MM-DD")}`),x.endDate&&a.push(`endDate=${(0,T.default)(x.endDate).format("YYYY-MM-DD")}`),a.length&&(d+="?"+a.join("&")),d}get hrComponentsExportExampleUrl(){let d=this.hrComponentsExportUrl,x=this.hrComponentsExportForm.value,a=!1,_=!1;return Object.keys(x).forEach(s=>{if(x[s]){a||(d=this.addFilterStr(d),a=!0);let u="";s==="startDate"||s==="endDate"?u=`${s}=${(0,T.default)(new Date(x[s])).format("YYYY-MM-DD")}`:u=`${s}=${x[s]}`,d+=_?"&"+u:u,_=!0}}),d}get userExportExampleUrl(){let d=this.userExportUrl,x=this.userExportForm.value,a=!1,_;return Object.keys(x).forEach(s=>{if(x[s]){a||(d=this.addFilterStr(d),a=!0);let u=`${s}=${x[s]}`;d+=_?"&"+u:u,_=!0}}),d}get userFindByEmailExampleUrl(){let d=this.findUserUrl,x=this.userGetForm.value,a=!1,_;return Object.keys(x).forEach(s=>{if(x[s]){a||(d=this.addFilterStr(d),a=!0);let u=`${s}=${x[s]}`;d+=_?"&"+u:u,_=!0}}),d}get applicationExampleUrl(){let d=this.applicationGetUrl,x=this.applicationGetForm.value,a=!1,_;if(+x.page){a||(d=this.addFilterStr(d),a=!0);let s=`page=${x.page}`;d+=_?"&"+s:s,_=!0}if(+x.size){a||(d=this.addFilterStr(d),a=!0);let s=`size=${x.size}`;d+=_?"&"+s:s,_=!0}if(x.startDate&&new Date(x.startDate)){a||(d=this.addFilterStr(d),a=!0);let u=`startDate=${x.startDate.getTime()}`;d+=_?"&"+u:u,_=!0}if(x.endDate&&new Date(x.endDate)){a||(d=this.addFilterStr(d),a=!0);let u=`endDate=${x.endDate.getTime()}`;d+=_?"&"+u:u,_=!0}if(x.createdDate&&new Date(x.createdDate)){a||(d=this.addFilterStr(d),a=!0);let u=`createdDate=${x.createdDate.getTime()}`;d+=_?"&"+u:u,_=!0}if(x.userIds){a||(d=this.addFilterStr(d),a=!0);let s=x.userIds.split(",");for(let u=0;u<s.length;u++){let R=s[u],g=`userIds[${u}]=${R}`;d+=_?"&"+g:g,_=!0}}if(x.applications){a||(d=this.addFilterStr(d),a=!0);let s=x.applications.split(",");for(let u=0;u<s.length;u++){let R=s[u],g=`applications[${u}]=${R}`;d+=_?"&"+g:g,_=!0}}if(x.statuses){a||(d=this.addFilterStr(d),a=!0);let s=x.statuses.split(",");for(let u=0;u<s.length;u++){let R=s[u],g=`statuses[${u}]=${R}`;d+=_?"&"+g:g,_=!0}}if(x.synchronizationStatuses){a||(d=this.addFilterStr(d),a=!0);let s=x.synchronizationStatuses.split(",");for(let u=0;u<s.length;u++){let R=s[u],g=`synchronizationStatuses[${u}]=${R}`;d+=_?"&"+g:g,_=!0}}return d}get applicationDefinitionExampleUrl(){let d=this.applicationDefinitionGetUrl,x=this.applicationDefinitionGetForm.value;return x.name&&(d+=`?name=${x.name}`),d}constructor(d,x,a,_){this.uiService=d,this.auth=x,this.httpClient=a,this.renderer=_,this.applicationPostForm=new P({body:new k(null,U.required)}),this.applicationCancelPostForm=new P({body:new k(null,U.required)}),this.importForm=new P({body:new k(null,U.required)}),this.userExportLoading=!1,this.structureExportLoading=!1,this.rcpExportLoading=!1,this.hideExportButton=!1,this.rcpImportLoading=!1,this.hrComponentsListLoading=!1,this.hrComponentsExportLoading=!1,this.scheduleExportLoading=!1,this.hrComponentsListResponse=null,this.hrComponentsExportResponse=null,this.scheduleExportResponse=null,this.selectCompanyUrl=`${this.apiUrl}/auth/select-company`,this.authenticationUrl=`${this.apiUrl}/auth/login`,this.rcpImportExampleUrl=`${this.apiUrl}/public/rcp`,this.authenticationBody=`
{
  "userName": "string",
  "password": "string",
  "disableCookie": "boolean"
}`,this.selectCompanyBody=`
{
  "companyId": "string",
  "twoFactorCode": "string",
  "disableCookie": "boolean"
}`,this.selectCompanyResposne=`
{
  "twoFactorEnabled": "boolean",
  "twoFactorValidated": "boolean",
  "twoFactorCodeSent": "boolean"
}`,this.authenticationResposne=`
{
  "id": "9e2ad09b-5744-443c-b417-c4b16e5b9d60",
  "token": "<token>",
  "userName": "dgrabowski"
}`,this.authentication400Resposne=`
{
  "messageCode": "0x00015",
  "messageCodePlus": "0x00016",
  "bodyPlus": 2
}`,this.headerBearerToken=`
{
  Authorization: 'Bearer <token>'
}`,this.userDetailsUrl=`${this.apiUrl}/applicationUser`,this.applicationsResponseBody=`
{
    "id": int32,
    "userId": "135a9770-8383-4d36-9578-7081c3eeedc8",
    "user": "Dariusz Grabowski",
    "userName": "dgrabowski",
    "name": "Urlop wypoczynkowy",
    "startDate": int64, // milliseconds
    "endDate": int64, // milliseconds
    "acceptances": [
      {
        "userId": "885a7865-326a-4b39-b5ff-3bea7b6454d6",
        "userName": "develzbietabarszczewska",
        "status": 3,
        "acceptanceDate": 1712674880691
      }
    ],
    "timeStart": "08:00",
    "timeEnd": "16:00",
    "status": int32,
    "synchronizationStatus": int32,
    "substantiation": "Na mazury",
    "createdDate": int64 // milliseconds
}`,this.applicationDefinitionResponseBody=`
{
    "id": int32,
    "name": "Urlop wypoczynkowy",
    "description": "Wniosek UW",
    "timeRequired": boolean,
}`,this.findUserByEmailResponseBody=`
{
    "id": "c5869460-20df-4fab-a7f9-db745c6910cb",
    "displayName": "Grabowski Dariusz",
    "email": "dgrabowski@sep.com",
    "groups": [
      {
        "id": 1,
        "name": "Marketing",
        "isEmployee": true,
        "isManager": false
      }
    ]
}`,this.exportUserResponseBodyExample=`
{
  [
    {
      "id": "3987d7f3-24b0-4eef-91ad-2cf8944f678b",
      "displayName": "Antkowiak Micha\u0142",
      "email": "jan555go+test@gmail.com",
      "pesel": "01230234123",
      "cardId": "001",
      "foreignId": 20000
    },
    {
      "id": "ea8f3945-664c-427d-88b6-5cebda6cbbef",
      "displayName": "Arciszewski Zbigniew",
      "email": "mrosik@light-erp.pl",
      "pesel": "70090244514",
      "cardId": "002",
      "foreignId": 20001
    }
  ]
}`,this.userExportResponse=null,this.structureExportResponse=null,this.structureExportResponseBodyExample=`
    [
      {
          "id": 1,
          "name": "Ochrona",
          "companyId": "8efafa91-a199-4181-94d3-18d75a694730",
          "groupId": null,
          "users": [
              {
                  "applicationUserId": "6a8bb936-be84-4ae4-b362-ec635e5bcdb1",
                  "groupId": 1,
                  "worker": true,
                  "manager": false,
                  "managerId": "84afa546-464e-411d-a32a-8648b7f22a8d",
                  "deputyId": null
              }
          ]
      },
      {
          "id": 2,
          "name": "DZIA\u0141 LOGISTYKI",
          "companyId": "8efafa91-a199-4181-94d3-18d75a694730",
          "groupId": null,
          "users": []
      },
    ]`,this.rcpExportResponse=null,this.rcpExportResponseBodyExample=`
  {
    [
        {
            "employeeErpId": 20036,
            "userId": "4a879896-5531-4f7b-9a48-f9576a2c0b6c",
            "workingHours": [
                {
                    "date": "2024-09-23",
                    "from": "14:00:00",
                    "to": "22:00:00",
                    "lastModified": "2024-09-23T08:00:14.8166795",
                    "typeOfWork": "Presence"
                },
                {
                    "date": "2024-09-24",
                    "from": "22:00:00",
                    "to": "06:00:00",
                    "lastModified": "2024-09-24T08:00:05.0661288",
                    "typeOfWork": "Presence"
                }
            ]
        },
        {
            "employeeErpId": 20037,
            "userId": "d2e1a322-b103-4734-a6ff-4f94e94288dd",
            "workingHours": [
                {
                    "date": "2024-09-23",
                    "from": "08:00:00",
                    "to": "08:00:00",
                    "lastModified": "2024-09-23T08:00:23.5170558",
                    "typeOfWork": "Presence"
                }
            ]
        }
    ]
  }`,this.rcpImportResponse=null,this.rcpImportResponseBodyExample=`
  {
[
  {
    "employeeId": 20036,
    "workingHours": [
      {
        "date": "2024-09-23",
        "from": "14:00:00",
        "to": "22:00:00",
        "lastModified": "2024-09-23T08:00:14.8166795"
      },
      {
        "date": "2024-09-24",
        "from": "22:00:00",
        "to": "06:00:00",
        "lastModified": "2024-09-24T08:00:05.0661288"
      }
    ]
  },
  {
    "employeeId": 20037,
    "workingHours": [
      {
        "date": "2024-09-23",
        "from": "08:00:00",
        "to": "16:00:00",
        "lastModified": "2024-09-23T08:00:23.5170558"
      }
    ]
  }
]
  }`,this.hrComponentsListResponseExample=`
[
  {
    "id": 940,
    "name": "Konto bankowe",
    "description": "Konto bankowe pracownika",
    "parentId": null,
    "type": 1,
    "valueType": 255
  },
  {
    "id": 3598,
    "name": "nazwa banku",
    "description": "nazwa banku",
    "parentId": 940,
    "type": 2,
    "valueType": 2
  }
]`,this.scheduleExportResponseExample=`
[
  {
    "userId": "abc123",
    "erpId": 42,
    "hours": [
      {
        "name": "Praca - Dzie\u0144 normalny",
        "startTime": "08:00:00",
        "endTime": "16:00:00",
        "breaks": [{ "startTime": "12:00:00" }],
        "onlyWorkTime": false,
        "isHoliday": false,
        "dates": ["2025-05-02T00:00:00", "2025-05-05T00:00:00"]
      }
    ]
  }
]`,this.hrComponentsExportResponseExample=`
[
  {
    "userId": "7d77f501-acb0-49ed-982f-880b65d4c689",
    "userDisplayName": "Agnieszka Borowska",
    "hrComponents": [
      {
        "componentId": 3598,
        "valueId": 35441,
        "value": "Bank Wschodni",
        "dataIndex": 0,
        "valueIndex": 0,
        "parentId": 940,
        "startDate": "2023-07-27T00:00:00",
        "endDate": null,
        "guid": "cc0725e6-a876-4475-b0ae-7ec4a58ba427"
      },
      {
        "componentId": 941,
        "valueId": 35443,
        "value": "35 1030 1856 3599 9809 5384 1364",
        "dataIndex": 0,
        "valueIndex": 0,
        "parentId": 940,
        "startDate": "2023-07-27T00:00:00",
        "endDate": null,
        "guid": "cc0725e6-a876-4475-b0ae-7ec4a58ba427"
      }
    ]
  }
]`,this.userDetailsResponse=`
{
    "id": "9e2ad09b-5744-443c-b417-c4b16e5b9d60",
    "userName": "dgrabowski",
    "applicationUserCompany": [
        {
            "company": {
                "id": "135a9770-8383-4d36-9578-7081c3eeedc8",
                "name": "Demo",
                "shortcut": "Demo",
                "isActive": true,
            }
        },
        {
            "company": {
                "id": "26d08b5f-9057-4570-9b97-f490c99e66fc",
                "name": "Administracja",
                "shortcut": "Administracja",
                "isActive": true,
            }
        }
    ]
}`,this.applicationGetUrl=`${this.apiUrl}/public/application`,this.applicationDefinitionGetUrl=`${this.apiUrl}/public/application/definition`,this.applicationCancelPostUrl=`${this.apiUrl}/public/application/cancel`,this.groupChangeManagerGetUrl=`${this.apiUrl}/public/group/manager`,this.findUserUrl=`${this.apiUrl}/public/user`,this.importUrl=`${this.apiUrl}/public/import`,this.userExportUrl=`${this.apiUrl}/public/user/export`,this.structureExportUrl=`${this.apiUrl}/public/structure/export`,this.rcpExportUrl=`${this.apiUrl}/public/rcp`,this.hrComponentsListUrl=`${this.apiUrl}/public/hrcomponent/definitions`,this.hrComponentsExportUrl=`${this.apiUrl}/public/hrcomponent/export`,this.scheduleExportUrl=`${this.apiUrl}/public/schedule/export`,this.importUsersBody=`
{
    "users": [
      {
        "userName": "dgrabowski", // generowane automatycznie wg konfiguracji gdy zostawimy pust\u0105 warto\u015B\u0107
        "firstName": "Dariusz",
        "lastName": "Grabowski",
        "email": "dgrabowski@sep.pl", // generowane automatycznie wg konfiguracji gdy zostawimy pust\u0105 warto\u015B\u0107
        "foreignId": 1234,
        "blocked": false,
        "phone": "+48123123123",
        "pesel": "51032243958",
        "loginAd": "SEP/dgrabowski", // generowane automatycznie wg konfiguracji gdy zostawimy pust\u0105 warto\u015B\u0107
        "birthDate": "1989-12-17"
      },
      {
        "userName": "agrabowska",
        "firstName": "Anna",
        "lastName": "Grabowska",
        "email": "agrabowska@sep.pl",
        "foreignId": 1235,
        "blocked": false,
        "phone": "+48123123124",
        "pesel": "04280389938",
        "loginAd": "SEP/agrabowska",
        "birthDate": "1987-12-17"
      }
    ],
    "groups": [
      {
        "foreignId": 0,
        "foreignIdGuid": "key",
        "name": "Test group 1",
        "users": [
          {
            "foreignId": 1234,
            "isManager": false,
            "isEmployee": true,
            "managerForeignId": 1235, // id kierownika
            "deputyForeignId": null // id zast\u0119pcy
          },
          {
            "foreignId": 1235,
            "isManager": true,
            "isEmployee": false,
            "managerForeignId": null, // id kierownika
            "deputyForeignId": null // id zast\u0119pcy
          }
        ]
      }
    ]
}`,this.groupChangeManagerBody=`
{
  "userId": "string",
  "managerId": "string"
}`,this.applicationInputBody=`
  [
    {
      "userId": "135a9770-8383-4d36-9578-7081c3eeedc8", // wybrany z endpoint'a  GET /public/user
      "definitionId": int32, // wybrany z endpoint'a GET /public/application/definition
      "startDate: int64, // milliseconds
      "endDate": int64, // milliseconds
      "timeStart": "08:00",
      "timeEnd": "16:00",
      "substantiation": string?
    }
  ]`,this.applicationOutputBody=`
  [
    {
      "userId": "135a9770-8383-4d36-9578-7081c3eeedc8", // wybrany z endpoint'a  GET /public/user
      "definitionId": int32, // wybrany z endpoint'a GET /public/application/definition
      "startDate: int64, // milliseconds
      "endDate": int64, // milliseconds
      "timeStart": "08:00",
      "timeEnd": "16:00",
      "substantiation": string?,
      "id": int32?,
      "success": boolean,
      "error": string
    }
  ]`,this.applicationCancelBody="[1,2,3]"}ngOnInit(){this.initUserGetForm(),this.initApplicationGetForm(),this.initApplicationDefinitionGetForm(),this.initUserExportForm(),this.initRcpExportForm(),this.initHrComponentsExportForm(),this.initScheduleExportForm()}scroll(d){d.scrollIntoView()}onPrintClick(){return w(this,null,function*(){let d=document.getElementById("public");if(!d)return;let x=[];d.querySelectorAll("button").forEach(a=>{let _=a.parentElement;_&&(x.push({parent:_,element:a,nextSibling:a.nextSibling}),_.removeChild(a))});try{let a={margin:18,filename:"public_api.pdf",image:{type:"jpeg",quality:.98},html2canvas:{scale:.85,useCORS:!0,backgroundColor:"#ffffff"},jsPDF:{orientation:"portrait",unit:"pt",format:"a4"},pagebreak:{mode:"avoid-all"}};yield(0,we.default)().from(d).set(a).save()}finally{x.forEach(({parent:a,element:_,nextSibling:s})=>{s&&s.parentElement===a?a.insertBefore(_,s):a.appendChild(_)})}})}copy(d){d=JSON.stringify(d);let x=document.createElement("textarea");x.style.position="fixed",x.style.left="0",x.style.top="0",x.style.opacity="0",x.value=d,document.body.appendChild(x),x.focus(),x.select(),document.execCommand("copy"),document.body.removeChild(x),this.uiService.openSnack("Skopiowane",null,5e3,"left")}importUsers(){this.importLoading=!0,this.httpClient.post(this.importUrl,JSON.parse(this.importForm.value.body)).subscribe({next:()=>{this.importResponse="OK",this.importLoading=!1},error:d=>{console.error(d),this.importResponse="ERROR",this.importLoading=!1}})}importApplications(){this.postApplicationsLoading=!0,this.httpClient.post(this.applicationGetUrl,JSON.parse(this.applicationPostForm.value.body)).subscribe({next:d=>{this.applicationsPostResponse=d,this.postApplicationsLoading=!1},error:d=>{console.error(d),this.applicationsPostResponse="ERROR",this.postApplicationsLoading=!1}})}cancelApplications(){this.postCancelApplicationsLoading=!0,this.httpClient.post(this.applicationCancelPostUrl,JSON.parse(this.applicationCancelPostForm.value.body)).subscribe({next:()=>{this.cancelApplicationsPostResponse="OK",this.postCancelApplicationsLoading=!1},error:d=>{console.error(d),this.cancelApplicationsPostResponse="ERROR",this.postCancelApplicationsLoading=!1}})}findUser(){return w(this,null,function*(){try{this.findUserLoading=!0;let d=yield this.httpClient.get(this.userFindByEmailExampleUrl).toPromise();this.findUserResponse=d,this.findUserLoading=!1}catch(d){console.error(d),this.applicationsResponse=null,this.findUserLoading=!1,d&&(this.findUserResponse=d)}})}getUserExport(){return w(this,null,function*(){try{this.userExportLoading=!0,this.userExportResponse=yield this.httpClient.get(this.userExportExampleUrl).toPromise(),this.userExportLoading=!1}catch(d){console.error(d),this.userExportResponse=null,this.userExportLoading=!1,d&&(this.userExportResponse=d)}})}getStructureExport(){return w(this,null,function*(){try{this.structureExportLoading=!0,this.structureExportResponse=yield this.httpClient.get(this.structureExportUrl).toPromise(),this.structureExportLoading=!1}catch(d){console.error(d),this.structureExportResponse=null,this.structureExportLoading=!1,d&&(this.structureExportResponse=d)}})}getRcpExport(){return w(this,null,function*(){try{this.rcpExportLoading=!0,this.rcpExportResponse=yield this.httpClient.get(this.rcpExportExampleUrl).toPromise(),this.rcpExportLoading=!1}catch(d){console.error(d),this.rcpExportResponse=null,this.rcpExportLoading=!1,d&&(this.rcpExportResponse=d)}})}getRcpImport(){return w(this,null,function*(){try{this.rcpImportLoading=!0,this.rcpImportResponse=yield this.httpClient.post(this.rcpImportExampleUrl,null).toPromise(),this.rcpImportLoading=!1}catch(d){console.error(d),this.rcpImportResponse=null,this.rcpImportLoading=!1,d&&(this.rcpImportResponse=d)}})}getApplications(){return w(this,null,function*(){try{this.getApplicationsLoading=!0;let d=yield this.httpClient.get(this.applicationExampleUrl).toPromise();this.applicationsResponse=d,this.getApplicationsLoading=!1}catch(d){console.error(d),this.applicationsResponse=null,this.getApplicationsLoading=!1,d&&(this.applicationsResponse=d)}})}getHrComponentsList(){return w(this,null,function*(){try{this.hrComponentsListLoading=!0,this.hrComponentsListResponse=yield this.httpClient.get(this.hrComponentsListUrl).toPromise(),this.hrComponentsListLoading=!1}catch(d){console.error(d),this.hrComponentsListResponse=null,this.hrComponentsListLoading=!1,d&&(this.hrComponentsListResponse=d)}})}getScheduleExport(){return w(this,null,function*(){let d=this.scheduleExportForm.value,x=d.startDate?(0,T.default)(d.startDate):null,a=d.endDate?(0,T.default)(d.endDate):null;if(!x?.isValid()||!a?.isValid()){this.uiService.openSnack("Podaj poprawne daty startDate i endDate",null,5e3,"left");return}if(a.isBefore(x)){this.uiService.openSnack("Data ko\u0144cowa nie mo\u017Ce by\u0107 wcze\u015Bniejsza ni\u017C pocz\u0105tkowa",null,5e3,"left");return}try{this.scheduleExportLoading=!0,this.scheduleExportResponse=yield this.httpClient.get(this.scheduleExportExampleUrl).toPromise()}catch(_){console.error(_),this.scheduleExportResponse=null;let s=_ instanceof $?_.status:null;s===400?this.uiService.openSnack("B\u0142\u0105d walidacji dat \u2014 brak lub z\u0142y format startDate/endDate",null,5e3,"left"):s===401?this.uiService.openSnack("Brak autoryzacji \u2014 token wygas\u0142 lub nie zosta\u0142 podany",null,5e3,"left"):s===403&&this.uiService.openSnack("Brak uprawnie\u0144 \u2014 wymagana rola 84i (CanPublicScheduleExport)",null,5e3,"left")}finally{this.scheduleExportLoading=!1}})}getHrComponentsExport(){return w(this,null,function*(){try{this.hrComponentsExportLoading=!0,this.hrComponentsExportResponse=yield this.httpClient.get(this.hrComponentsExportExampleUrl).toPromise(),this.hrComponentsExportLoading=!1}catch(d){console.error(d),this.hrComponentsExportResponse=null,this.hrComponentsExportLoading=!1,d&&(this.hrComponentsExportResponse=d)}})}showHrComponentsListTestResponse(){this.hrComponentsListResponse=JSON.parse(this.hrComponentsListResponseExample)}showHrComponentsExportTestResponse(){this.hrComponentsExportResponse=JSON.parse(this.hrComponentsExportResponseExample)}getApplicationsDefinition(){return w(this,null,function*(){try{this.getApplicationsDefinitionLoading=!0;let d=yield this.httpClient.get(this.applicationDefinitionExampleUrl).toPromise();this.applicationsDefinitionResponse=d,this.getApplicationsDefinitionLoading=!1}catch(d){this.applicationsDefinitionResponse=null,this.getApplicationsDefinitionLoading=!1,d&&(this.applicationsDefinitionResponse=d)}})}initUserExportForm(){this.userExportForm=new P({onlyActive:new k(!1)})}initRcpExportForm(){this.rcpExportGetForm=new P({startDate:new k(null)})}initScheduleExportForm(){this.scheduleExportForm=new P({startDate:new k(null,U.required),endDate:new k(null,U.required)})}initHrComponentsExportForm(){this.hrComponentsExportForm=new P({userId:new k(null),startDate:new k(new Date),endDate:new k(null)})}initUserGetForm(){this.userGetForm=new P({id:new k(null),email:new k(null),pesel:new le(!1)})}initApplicationGetForm(){this.applicationGetForm=new P({size:new k(5),page:new k(1),startDate:new k(null),endDate:new k(null),userIds:new k(null),applications:new k(null),statuses:new k(null),synchronizationStatuses:new k(null),createdDate:new k(null)})}initApplicationDefinitionGetForm(){this.applicationDefinitionGetForm=new P({name:new k(null)})}addFilterStr(d){return d+"?"}static{this.\u0275fac=function(x){return new(x||m)(D(Z),D(ke),D(K),D(G))}}static{this.\u0275cmp=j({type:m,selectors:[["app-public"]],standalone:!1,decls:1807,vars:921,consts:[["authorization",""],["authorizationFirst",""],["authorizationSecond",""],["authorizationThird",""],["applications",""],["applicationsFirst",""],["startDate",""],["endDate",""],["createdDate",""],["applicationsSecond",""],["applicationsThird",""],["applicationsFourth",""],["groups",""],["groupsFirst",""],["users",""],["usersFirst",""],["userExport",""],["import",""],["importFirst",""],["structureExport",""],["structureExportFirst",""],["rcpExport",""],["rcpImportFirst",""],["rcpExportSecond",""],["rcpExportStartDate",""],["hrComponents",""],["hrComponentsList",""],["hrComponentsExport",""],["hrExportStartDate",""],["hrExportEndDate",""],["scheduleExport",""],["scheduleExportFirst",""],["scheduleExportStartDate",""],["scheduleExportEndDate",""],["id","public","fxLayout","row","fxLayoutAlign","center center"],[1,"body"],["width-100","",2,"display","flex"],["mat-raised-button","","color","primary",2,"min-width","250px","margin-left","auto",3,"click"],[2,"padding-right","8px"],["href","javascript:void(0);",3,"click"],[3,"innerHTML"],[1,"section"],[1,"important"],["fxLayout","row","fxLayoutAlign","center center","fxLayoutGap","5px"],["fxFlex",""],["mat-icon-button","",3,"click"],["svgIcon","content-copy"],[1,"example",3,"formGroup"],["fxLayout","row","fxLayout.lt-md","column","fxLayoutAlign","start center","fxLayoutGap","5px"],["width-100","","appearance","outline"],["formControlName","page","type","number","min","1","matInput","","max","2147483647"],["formControlName","size","type","number","matInput","","min","1","max","2147483647"],["fxLayout","row","fxLayout.lt-md","column","fxLayoutGap","5px"],["formControlName","startDate","matInput","",3,"matDatepicker"],["matSuffix","",3,"for"],["formControlName","endDate","matInput","",3,"matDatepicker"],["formControlName","createdDate","matInput","",3,"matDatepicker"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","5px"],["formControlName","userIds","type","text","matInput",""],["formControlName","applications","type","text","matInput",""],["formControlName","statuses","type","text","matInput",""],["formControlName","synchronizationStatuses","type","text","matInput",""],["mat-stroked-button","",3,"click","disabled"],["margin-left","","mat-stroked-button",""],["formControlName","name","type","text","matInput",""],["matInput","","formControlName","body","type","text","required",""],["fxLayout","column","fxLayoutAlign","start center","fxLayoutGap","5px"],["matInput","","formControlName","id","type","text"],["matInput","","formControlName","email","type","email"],["width-100",""],["formControlName","pesel"],["formControlName","onlyActive"],["fxLayout","row","fxLayoutGap","8px","fxLayoutAlign","start center"],["mat-stroked-button","",3,"click"],["mat-stroked-button",""],["formControlName","userId","type","text","matInput",""],["margin-left","","mat-stroked-button","",3,"click"],["fxFlex","",1,"responseCode"]],template:function(x,a){if(x&1){let _=B();i(0,"div",34)(1,"div",35)(2,"h1",36),t(3),r(4,"translate"),i(5,"button",37),c("click",function(){return a.onPrintClick()}),i(6,"mat-icon",38),t(7,"assignment_returned"),e(),t(8),r(9,"translate"),e()(),E(10,"mat-divider"),i(11,"ol")(12,"li")(13,"a",39),c("click",function(){S(_);let u=C(127);return h(a.scroll(u))}),t(14),r(15,"translate"),e(),i(16,"ul")(17,"li")(18,"a",39),c("click",function(){S(_);let u=C(149);return h(a.scroll(u))}),t(19),r(20,"translate"),e()(),i(21,"li")(22,"a",39),c("click",function(){S(_);let u=C(235);return h(a.scroll(u))}),t(23),r(24,"translate"),e()(),i(25,"li")(26,"a",39),c("click",function(){S(_);let u=C(279);return h(a.scroll(u))}),t(27),r(28,"translate"),e()()()(),i(29,"li")(30,"a",39),c("click",function(){S(_);let u=C(326);return h(a.scroll(u))}),t(31),r(32,"translate"),e(),i(33,"ul")(34,"li")(35,"a",39),c("click",function(){S(_);let u=C(330);return h(a.scroll(u))}),t(36),r(37,"translate"),e()(),i(38,"li")(39,"a",39),c("click",function(){S(_);let u=C(612);return h(a.scroll(u))}),t(40),r(41,"translate"),e()(),i(42,"li")(43,"a",39),c("click",function(){S(_);let u=C(686);return h(a.scroll(u))}),t(44),r(45,"translate"),e()(),i(46,"li")(47,"a",39),c("click",function(){S(_);let u=C(746);return h(a.scroll(u))}),t(48),r(49,"translate"),e()()()(),i(50,"li")(51,"a",39),c("click",function(){S(_);let u=C(796);return h(a.scroll(u))}),t(52),r(53,"translate"),e(),i(54,"ul")(55,"li")(56,"a",39),c("click",function(){S(_);let u=C(800);return h(a.scroll(u))}),t(57),r(58,"translate"),e()()()(),i(59,"li")(60,"a",39),c("click",function(){S(_);let u=C(851);return h(a.scroll(u))}),t(61),r(62,"translate"),e(),i(63,"ul")(64,"li")(65,"a",39),c("click",function(){S(_);let u=C(855);return h(a.scroll(u))}),t(66),r(67,"translate"),e()(),i(68,"li")(69,"a",39),c("click",function(){S(_);let u=C(952);return h(a.scroll(u))}),t(70),r(71,"translate"),e()()()(),i(72,"li")(73,"a",39),c("click",function(){S(_);let u=C(999);return h(a.scroll(u))}),t(74),r(75,"translate"),e(),i(76,"ul")(77,"li")(78,"a",39),c("click",function(){S(_);let u=C(1003);return h(a.scroll(u))}),t(79),r(80,"translate"),e()()()(),i(81,"li")(82,"a",39),c("click",function(){S(_);let u=C(1058);return h(a.scroll(u))}),t(83),r(84,"translate"),e(),i(85,"ul")(86,"li")(87,"a",39),c("click",function(){S(_);let u=C(1062);return h(a.scroll(u))}),t(88),r(89,"translate"),e()()()(),i(90,"li")(91,"a",39),c("click",function(){S(_);let u=C(1092);return h(a.scroll(u))}),t(92),r(93,"translate"),e(),i(94,"ul")(95,"li")(96,"a",39),c("click",function(){S(_);let u=C(1096);return h(a.scroll(u))}),t(97),r(98,"translate"),e()()(),i(99,"ul")(100,"li")(101,"a",39),c("click",function(){S(_);let u=C(1126);return h(a.scroll(u))}),t(102),r(103,"translate"),e()()()(),i(104,"li")(105,"a",39),c("click",function(){S(_);let u=C(1167);return h(a.scroll(u))}),t(106),r(107,"translate"),e(),i(108,"ul")(109,"li")(110,"a",39),c("click",function(){S(_);let u=C(1171);return h(a.scroll(u))}),t(111),r(112,"translate"),e()(),i(113,"li")(114,"a",39),c("click",function(){S(_);let u=C(1401);return h(a.scroll(u))}),t(115),r(116,"translate"),e()()()(),i(117,"li")(118,"a",39),c("click",function(){S(_);let u=C(1569);return h(a.scroll(u))}),t(119),r(120,"translate"),e(),i(121,"ul")(122,"li")(123,"a",39),c("click",function(){S(_);let u=C(1573);return h(a.scroll(u))}),t(124),r(125,"translate"),e()()()()(),i(126,"h2",null,0),t(128),r(129,"translate"),e(),E(130,"p",40),r(131,"translate"),i(132,"p"),t(133),r(134,"translate"),e(),i(135,"ul")(136,"li"),t(137),r(138,"translate"),e(),i(139,"li"),t(140),r(141,"translate"),e(),i(142,"li"),t(143),r(144,"translate"),e(),i(145,"li"),t(146),r(147,"translate"),e()(),i(148,"div",41,1)(150,"h3"),t(151),r(152,"translate"),e(),i(153,"p")(154,"strong",42),t(155),r(156,"translate"),e(),t(157),r(158,"translate"),e(),i(159,"div")(160,"p")(161,"strong"),t(162),r(163,"translate"),e()(),i(164,"div",43)(165,"pre",44)(166,"code")(167,"strong"),t(168,"[POST]"),e(),t(169),e()(),i(170,"button",45),c("click",function(){return a.copy(a.authenticationUrl)}),E(171,"mat-icon",46),e()(),i(172,"p")(173,"strong",42),t(174),r(175,"translate"),e(),t(176),r(177,"translate"),e(),i(178,"div",43)(179,"pre",44)(180,"code")(181,"strong"),t(182,"[BODY]"),e(),t(183),e()(),i(184,"button",45),c("click",function(){return a.copy(a.authenticationBody)}),E(185,"mat-icon",46),e()(),i(186,"p"),t(187),r(188,"translate"),e(),i(189,"div",43)(190,"pre",44)(191,"code")(192,"strong"),t(193,"[200 OK]"),e(),t(194),e()()(),i(195,"div",43)(196,"pre",44)(197,"code")(198,"strong"),t(199,"[400 Bad Request]"),e(),t(200),e()()(),i(201,"table")(202,"tbody")(203,"tr")(204,"th"),t(205),r(206,"translate"),e(),i(207,"th"),t(208),r(209,"translate"),e()(),i(210,"tr")(211,"td"),t(212," 0x00012 "),e(),i(213,"td"),t(214),r(215,"translate"),e()(),i(216,"tr")(217,"td"),t(218," 0x00015 "),e(),i(219,"td"),t(220),r(221,"translate"),e()(),i(222,"tr")(223,"td"),t(224," 0x00016 "),e(),i(225,"td"),t(226),r(227,"translate"),e()(),i(228,"tr")(229,"td"),t(230," 0x00017 "),e(),i(231,"td"),t(232),r(233,"translate"),e()()()()(),i(234,"div",null,2)(236,"p")(237,"strong"),t(238),r(239,"translate"),e()(),i(240,"div",43)(241,"pre",44)(242,"code")(243,"strong"),t(244,"[GET]"),e(),t(245),e()(),i(246,"button",45),c("click",function(){return a.copy(a.userDetailsUrl)}),E(247,"mat-icon",46),e()(),i(248,"p")(249,"strong",42),t(250),r(251,"translate"),e(),t(252),r(253,"translate"),e(),i(254,"div",43)(255,"pre",44)(256,"code")(257,"strong"),t(258,"[HEADER]"),e(),t(259),e()()(),i(260,"p"),t(261),r(262,"translate"),e(),i(263,"div",43)(264,"pre",44)(265,"code")(266,"strong"),t(267,"[200 OK]"),e(),t(268),e()()(),i(269,"p"),t(270),r(271,"translate"),e(),i(272,"p")(273,"strong",42),t(274),r(275,"translate"),e(),t(276),r(277,"translate"),e()(),i(278,"div",null,3)(280,"p")(281,"strong"),t(282),r(283,"translate"),e()(),i(284,"div",43)(285,"pre",44)(286,"code")(287,"strong"),t(288,"[POST]"),e(),t(289),e()(),i(290,"button",45),c("click",function(){return a.copy(a.selectCompanyUrl)}),E(291,"mat-icon",46),e()(),i(292,"div",43)(293,"pre",44)(294,"code")(295,"strong"),t(296,"[BODY]"),e(),t(297),e()(),i(298,"button",45),c("click",function(){return a.copy(a.selectCompanyBody)}),E(299,"mat-icon",46),e()(),i(300,"p"),t(301),r(302,"translate"),e(),i(303,"div",43)(304,"pre",44)(305,"code")(306,"strong"),t(307,"[200 OK]"),e(),t(308),e()()(),i(309,"p"),t(310),r(311,"translate"),e(),i(312,"p"),t(313),r(314,"translate"),e(),i(315,"div",43)(316,"pre",44)(317,"code")(318,"strong"),t(319,"[200 OK]"),e(),t(320),e()()(),i(321,"p"),t(322),r(323,"translate"),e()()(),E(324,"mat-divider"),i(325,"h2",null,4),t(327),r(328,"translate"),e(),i(329,"div",41,5)(331,"h3"),t(332),r(333,"translate"),e(),i(334,"p")(335,"strong",42),t(336),r(337,"translate"),e(),t(338),r(339,"translate"),e(),i(340,"div",43)(341,"pre",44)(342,"code")(343,"strong"),t(344,"[GET]"),e(),t(345),e()(),i(346,"button",45),c("click",function(){return a.copy(a.applicationGetUrl)}),E(347,"mat-icon",46),e()(),i(348,"p"),t(349),r(350,"translate"),e(),i(351,"div",43)(352,"pre",44)(353,"code")(354,"strong"),t(355,"[200 OK]"),e(),t(356),e()(),i(357,"button",45),c("click",function(){return a.copy(a.applicationsResponseBody)}),E(358,"mat-icon",46),e()(),i(359,"h3"),t(360),r(361,"translate"),e(),i(362,"table")(363,"tbody")(364,"tr")(365,"th"),t(366),r(367,"translate"),e(),i(368,"th"),t(369),r(370,"translate"),e()(),i(371,"tr")(372,"td"),t(373," page: int "),e(),i(374,"td"),t(375),r(376,"translate"),e()(),i(377,"tr")(378,"td"),t(379," size: int "),e(),i(380,"td"),t(381),r(382,"translate"),e()(),i(383,"tr")(384,"td"),t(385," startDate: long "),e(),i(386,"td"),t(387),r(388,"translate"),e()(),i(389,"tr")(390,"td"),t(391," endDate: long "),e(),i(392,"td"),t(393),r(394,"translate"),e()(),i(395,"tr")(396,"td"),t(397," applications: string[] "),e(),i(398,"td"),t(399),r(400,"translate"),e()(),i(401,"tr")(402,"td"),t(403," statuses: int[] "),e(),i(404,"td"),t(405),r(406,"translate"),e()(),i(407,"tr")(408,"td"),t(409," synchronizationStatuses: int[] "),e(),i(410,"td"),t(411),r(412,"translate"),e()(),i(413,"tr")(414,"td"),t(415," userIds: int[] "),e(),i(416,"td"),t(417),r(418,"translate"),e()()()(),i(419,"h3"),t(420),r(421,"translate"),e(),i(422,"table")(423,"tbody")(424,"tr")(425,"th"),t(426),r(427,"translate"),e(),i(428,"th"),t(429),r(430,"translate"),e()(),i(431,"tr")(432,"td"),t(433),r(434,"translate"),e(),i(435,"td"),t(436," 0 "),e()(),i(437,"tr")(438,"td"),t(439),r(440,"translate"),e(),i(441,"td"),t(442," 1 "),e()(),i(443,"tr")(444,"td"),t(445),r(446,"translate"),e(),i(447,"td"),t(448," 2 "),e()(),i(449,"tr")(450,"td"),t(451),r(452,"translate"),e(),i(453,"td"),t(454," 3 "),e()(),i(455,"tr")(456,"td"),t(457),r(458,"translate"),e(),i(459,"td"),t(460," 4 "),e()(),i(461,"tr")(462,"td"),t(463),r(464,"translate"),e(),i(465,"td"),t(466," 5 "),e()()()(),i(467,"h3"),t(468),r(469,"translate"),e(),i(470,"table")(471,"tbody")(472,"tr")(473,"th"),t(474),r(475,"translate"),e(),i(476,"th"),t(477),r(478,"translate"),e()(),i(479,"tr")(480,"td"),t(481),r(482,"translate"),e(),i(483,"td"),t(484," 0 "),e()(),i(485,"tr")(486,"td"),t(487),r(488,"translate"),e(),i(489,"td"),t(490," 1 "),e()(),i(491,"tr")(492,"td"),t(493),r(494,"translate"),e(),i(495,"td"),t(496," 2 "),e()(),i(497,"tr")(498,"td"),t(499),r(500,"translate"),e(),i(501,"td"),t(502," 3 "),e()(),i(503,"tr")(504,"td"),t(505),r(506,"translate"),e(),i(507,"td"),t(508," 4 "),e()(),i(509,"tr")(510,"td"),t(511),r(512,"translate"),e(),i(513,"td"),t(514," 5 "),e()(),i(515,"tr")(516,"td"),t(517),r(518,"translate"),e(),i(519,"td"),t(520," 6 "),e()()()(),i(521,"h3"),t(522),r(523,"translate"),e(),i(524,"div",47)(525,"div",48)(526,"mat-form-field",49)(527,"mat-label"),t(528,"page"),e(),E(529,"input",50),i(530,"mat-hint"),t(531),r(532,"translate"),e()(),i(533,"mat-form-field",49)(534,"mat-label"),t(535,"size"),e(),E(536,"input",51),i(537,"mat-hint"),t(538),r(539,"translate"),e()()(),i(540,"div",52)(541,"mat-form-field",49)(542,"mat-label"),t(543,"startDate"),e(),E(544,"input",53)(545,"mat-datepicker-toggle",54)(546,"mat-datepicker",null,6),e(),i(548,"mat-form-field",49)(549,"mat-label"),t(550,"endDate"),e(),E(551,"input",55)(552,"mat-datepicker-toggle",54)(553,"mat-datepicker",null,7),e()(),i(555,"div",52)(556,"mat-form-field",49)(557,"mat-label"),t(558,"createdDate"),e(),E(559,"input",56),i(560,"mat-hint"),t(561),r(562,"translate"),e(),E(563,"mat-datepicker-toggle",54)(564,"mat-datepicker",null,8),e()(),i(566,"div",57)(567,"mat-form-field",49)(568,"mat-label"),t(569,"userIds"),e(),E(570,"input",58),i(571,"mat-hint"),t(572),r(573,"translate"),e()()(),i(574,"div",57)(575,"mat-form-field",49)(576,"mat-label"),t(577,"applications"),e(),E(578,"input",59),i(579,"mat-hint"),t(580),r(581,"translate"),e()()(),i(582,"div",48)(583,"mat-form-field",49)(584,"mat-label"),t(585,"statuses"),e(),E(586,"input",60),i(587,"mat-hint"),t(588),r(589,"translate"),e()(),i(590,"mat-form-field",49)(591,"mat-label"),t(592,"synchronizationStatuses"),e(),E(593,"input",61),i(594,"mat-hint"),t(595),r(596,"translate"),e()()(),i(597,"div",43)(598,"pre",44)(599,"code")(600,"strong"),t(601,"[GET]"),e(),t(602),e()(),i(603,"button",45),c("click",function(){return a.copy(a.applicationExampleUrl)}),E(604,"mat-icon",46),e()(),i(605,"button",62),c("click",function(){return a.getApplications()}),t(606),r(607,"translate"),b(608,Ue,2,3),e(),b(609,De,3,3,"button",63),b(610,ze,7,3,"div"),e()(),i(611,"div",41,9)(613,"h3"),t(614),r(615,"translate"),e(),i(616,"p")(617,"strong",42),t(618),r(619,"translate"),e(),t(620),r(621,"translate"),e(),i(622,"div",43)(623,"pre",44)(624,"code")(625,"strong"),t(626,"[GET]"),e(),t(627),e()(),i(628,"button",45),c("click",function(){return a.copy(a.applicationDefinitionGetUrl)}),E(629,"mat-icon",46),e()(),i(630,"p"),t(631),r(632,"translate"),e(),i(633,"div",43)(634,"pre",44)(635,"code")(636,"strong"),t(637,"[200 OK]"),e(),t(638),e()(),i(639,"button",45),c("click",function(){return a.copy(a.applicationsResponseBody)}),E(640,"mat-icon",46),e()(),i(641,"h3"),t(642),r(643,"translate"),e(),i(644,"table")(645,"tbody")(646,"tr")(647,"th"),t(648),r(649,"translate"),e(),i(650,"th"),t(651),r(652,"translate"),e()(),i(653,"tr")(654,"td"),t(655," name: string "),e(),i(656,"td"),t(657),r(658,"translate"),e()()()(),i(659,"h3"),t(660),r(661,"translate"),e(),i(662,"div",47)(663,"div",57)(664,"mat-form-field",49)(665,"mat-label"),t(666,"name"),e(),E(667,"input",64),i(668,"mat-hint"),t(669),r(670,"translate"),e()()(),i(671,"div",43)(672,"pre",44)(673,"code")(674,"strong"),t(675,"[GET]"),e(),t(676),e()(),i(677,"button",45),c("click",function(){return a.copy(a.applicationDefinitionExampleUrl)}),E(678,"mat-icon",46),e()(),i(679,"button",62),c("click",function(){return a.getApplicationsDefinition()}),t(680),r(681,"translate"),b(682,Ae,2,3),e(),b(683,Oe,3,3,"button",63),b(684,Le,7,3,"div"),e()(),i(685,"div",41,10)(687,"h3"),t(688),r(689,"translate"),e(),i(690,"p")(691,"strong",42),t(692),r(693,"translate"),e(),t(694),r(695,"translate"),e(),i(696,"div",43)(697,"pre",44)(698,"code")(699,"strong"),t(700,"[POST]"),e(),t(701),e()(),i(702,"button",45),c("click",function(){return a.copy(a.applicationGetUrl)}),E(703,"mat-icon",46),e()(),i(704,"div",43)(705,"pre",44)(706,"code")(707,"strong"),t(708),r(709,"translate"),e(),t(710),e(),t(711,`
        `),e(),i(712,"button",45),c("click",function(){return a.copy(a.applicationInputBody)}),E(713,"mat-icon",46),e()(),i(714,"div",43)(715,"pre",44)(716,"code")(717,"strong"),t(718),r(719,"translate"),e(),t(720),e()(),i(721,"button",45),c("click",function(){return a.copy(a.applicationOutputBody)}),E(722,"mat-icon",46),e()(),i(723,"h3"),t(724),r(725,"translate"),e(),i(726,"div",47)(727,"div",48)(728,"mat-form-field",49)(729,"mat-label"),t(730,"Json"),e(),E(731,"input",65),e()(),i(732,"div",43)(733,"pre",44)(734,"code")(735,"strong"),t(736,"[POST]"),e(),t(737),e()(),i(738,"button",45),c("click",function(){return a.copy(a.applicationGetUrl)}),E(739,"mat-icon",46),e()(),i(740,"button",62),c("click",function(){return a.importApplications()}),t(741),r(742,"translate"),b(743,Fe,2,3),e(),b(744,Me,2,1,"button",63),e()(),i(745,"div",41,11)(747,"h3"),t(748),r(749,"translate"),e(),i(750,"p")(751,"strong",42),t(752),r(753,"translate"),e(),t(754),r(755,"translate"),e(),i(756,"div",43)(757,"pre",44)(758,"code")(759,"strong"),t(760,"[POST]"),e(),t(761),e()(),i(762,"button",45),c("click",function(){return a.copy(a.applicationCancelPostUrl)}),E(763,"mat-icon",46),e()(),i(764,"div",43)(765,"pre",44)(766,"code")(767,"strong"),t(768,"[BODY]"),e(),t(769),e()(),i(770,"button",45),c("click",function(){return a.copy(a.applicationCancelBody)}),E(771,"mat-icon",46),e()(),i(772,"h3"),t(773),r(774,"translate"),e(),i(775,"div",47)(776,"div",48)(777,"mat-form-field",49)(778,"mat-label"),t(779,"Json"),e(),E(780,"input",65),e()(),i(781,"div",43)(782,"pre",44)(783,"code")(784,"strong"),t(785,"[POST]"),e(),t(786),e()(),i(787,"button",45),c("click",function(){return a.copy(a.applicationCancelPostUrl)}),E(788,"mat-icon",46),e()(),i(789,"button",62),c("click",function(){return a.cancelApplications()}),t(790),r(791,"translate"),b(792,Ne,2,3),e(),b(793,Ve,2,1,"button",63),e()(),E(794,"mat-divider"),i(795,"h2",null,12),t(797),r(798,"translate"),e(),i(799,"div",41,13)(801,"h3"),t(802),r(803,"translate"),e(),i(804,"p")(805,"strong",42),t(806),r(807,"translate"),e(),t(808),r(809,"translate"),e(),i(810,"p"),t(811),r(812,"translate"),e(),i(813,"div",43)(814,"pre",44)(815,"code")(816,"strong"),t(817,"[PUT]"),e(),t(818),e()(),i(819,"button",45),c("click",function(){return a.copy(a.groupChangeManagerGetUrl)}),E(820,"mat-icon",46),e()(),i(821,"div",43)(822,"pre",44)(823,"code")(824,"strong"),t(825,"[BODY]"),e(),t(826),e()(),i(827,"button",45),c("click",function(){return a.copy(a.groupChangeManagerBody)}),E(828,"mat-icon",46),e()(),i(829,"p"),t(830),r(831,"translate"),e(),i(832,"div",43)(833,"pre",44)(834,"code")(835,"strong"),t(836,"[200 OK]"),e()()()(),i(837,"div",43)(838,"pre",44)(839,"code")(840,"strong"),t(841,"[400 Bad Request]"),e(),t(842),r(843,"translate"),e()()(),i(844,"div",43)(845,"pre",44)(846,"code")(847,"strong"),t(848,"[404 Not found]"),e(),t(849,`
User/Manager not found.`),e()()()(),i(850,"h2",null,14),t(852),r(853,"translate"),e(),i(854,"div",41,15)(856,"h3"),t(857),r(858,"translate"),e(),i(859,"p")(860,"strong",42),t(861),r(862,"translate"),e(),t(863),r(864,"translate"),e(),i(865,"div",43)(866,"pre",44)(867,"code")(868,"strong"),t(869,"[GET]"),e(),t(870),e()(),i(871,"button",45),c("click",function(){return a.copy(a.findUserUrl)}),E(872,"mat-icon",46),e()(),i(873,"h3"),t(874),r(875,"translate"),e(),i(876,"table")(877,"tbody")(878,"tr")(879,"th"),t(880),r(881,"translate"),e(),i(882,"th"),t(883),r(884,"translate"),e()(),i(885,"tr")(886,"td"),t(887," id: string "),e(),i(888,"td"),t(889),r(890,"translate"),e()(),i(891,"tr")(892,"td"),t(893," email: string "),e(),i(894,"td"),t(895),r(896,"translate"),e()(),i(897,"tr")(898,"td"),t(899," pesel: boolean "),e(),i(900,"td"),t(901),r(902,"translate"),e()()()(),i(903,"p"),t(904),r(905,"translate"),e(),i(906,"div",43)(907,"pre",44)(908,"code")(909,"strong"),t(910,"[200 OK]"),e(),t(911),e()(),i(912,"button",45),c("click",function(){return a.copy(a.findUserByEmailResponseBody)}),E(913,"mat-icon",46),e()(),i(914,"div",43)(915,"pre",44)(916,"code")(917,"strong"),t(918,"[404 Not found]"),e(),t(919),r(920,"translate"),e()()(),i(921,"h3"),t(922),r(923,"translate"),e(),i(924,"div",47)(925,"div",66)(926,"mat-form-field",49)(927,"mat-label"),t(928,"id"),e(),E(929,"input",67),e(),i(930,"mat-form-field",49)(931,"mat-label"),t(932,"e-mail"),e(),E(933,"input",68),e(),i(934,"div",69)(935,"mat-checkbox",70),t(936,"PESEL "),e()()(),i(937,"div",43)(938,"pre",44)(939,"code")(940,"strong"),t(941,"[GET]"),e(),t(942),e()(),i(943,"button",45),c("click",function(){return a.copy(a.userFindByEmailExampleUrl)}),E(944,"mat-icon",46),e()(),i(945,"button",62),c("click",function(){return a.findUser()}),t(946),r(947,"translate"),b(948,Ge,2,3),e(),b(949,je,3,3,"button",63),b(950,He,7,3,"div"),e()(),i(951,"div",41,16)(953,"h3"),t(954),r(955,"translate"),e(),i(956,"div",43)(957,"pre",44)(958,"code")(959,"strong"),t(960,"[GET]"),e(),t(961),e()(),i(962,"button",45),c("click",function(){return a.copy(a.userExportUrl)}),E(963,"mat-icon",46),e()(),i(964,"p"),t(965),r(966,"translate"),e(),i(967,"div",43)(968,"pre",44)(969,"code")(970,"strong"),t(971,"[200 OK]"),e(),t(972),e()(),i(973,"button",45),c("click",function(){return a.copy(a.exportUserResponseBodyExample)}),E(974,"mat-icon",46),e()(),i(975,"h3"),t(976),r(977,"translate"),e(),i(978,"div",47)(979,"div",66)(980,"div",69)(981,"mat-checkbox",71),t(982),r(983,"translate"),e()()(),i(984,"div",43)(985,"pre",44)(986,"code")(987,"strong"),t(988,"[GET]"),e(),t(989),e()(),i(990,"button",45),c("click",function(){return a.copy(a.userExportExampleUrl)}),E(991,"mat-icon",46),e()(),i(992,"button",62),c("click",function(){return a.getUserExport()}),t(993),r(994,"translate"),b(995,We,2,3),e(),b(996,$e,3,3,"button",63),b(997,Ke,7,3,"div"),e()(),i(998,"h2",null,17),t(1e3),r(1001,"translate"),e(),i(1002,"div",41,18)(1004,"h3"),t(1005),r(1006,"translate"),e(),i(1007,"p")(1008,"strong",42),t(1009),r(1010,"translate"),e(),t(1011),r(1012,"translate"),e(),i(1013,"p")(1014,"strong",42),t(1015),r(1016,"translate"),e(),t(1017),r(1018,"translate"),e(),i(1019,"div",43)(1020,"pre",44)(1021,"code")(1022,"strong"),t(1023,"[POST]"),e(),t(1024),e()(),i(1025,"button",45),c("click",function(){return a.copy(a.importUrl)}),E(1026,"mat-icon",46),e()(),i(1027,"div",43)(1028,"pre",44)(1029,"code")(1030,"strong"),t(1031,"[BODY]"),e(),t(1032),e()(),i(1033,"button",45),c("click",function(){return a.copy(a.importUsersBody)}),E(1034,"mat-icon",46),e()(),i(1035,"h3"),t(1036),r(1037,"translate"),e(),i(1038,"div",47)(1039,"div",48)(1040,"mat-form-field",49)(1041,"mat-label"),t(1042,"Json"),e(),E(1043,"input",65),e()(),i(1044,"div",43)(1045,"pre",44)(1046,"code")(1047,"strong"),t(1048,"[POST]"),e(),t(1049),e()(),i(1050,"button",45),c("click",function(){return a.copy(a.importUrl)}),E(1051,"mat-icon",46),e()(),i(1052,"button",62),c("click",function(){return a.importUsers()}),t(1053),r(1054,"translate"),b(1055,Ye,2,3),e(),b(1056,Je,2,1,"button",63),e()(),i(1057,"h2",null,19),t(1059),r(1060,"translate"),e(),i(1061,"div",41,20)(1063,"h3"),t(1064),r(1065,"translate"),e(),i(1066,"div",43)(1067,"pre",44)(1068,"code")(1069,"strong"),t(1070,"[GET]"),e(),t(1071),e()(),i(1072,"button",45),c("click",function(){return a.copy(a.structureExportUrl)}),E(1073,"mat-icon",46),e()(),i(1074,"p"),t(1075),r(1076,"translate"),e(),i(1077,"div",43)(1078,"pre",44)(1079,"code")(1080,"strong"),t(1081,"[200 OK]"),e(),t(1082),e()(),i(1083,"button",45),c("click",function(){return a.copy(a.structureExportResponseBodyExample)}),E(1084,"mat-icon",46),e()(),i(1085,"button",62),c("click",function(){return a.getStructureExport()}),t(1086),r(1087,"translate"),b(1088,qe,2,3),e(),b(1089,Xe,3,3,"button",63),b(1090,Ze,7,3,"div"),e(),i(1091,"h2",null,21),t(1093),r(1094,"translate"),e(),i(1095,"div",41,22)(1097,"h3"),t(1098),r(1099,"translate"),e(),i(1100,"div",43)(1101,"pre",44)(1102,"code")(1103,"strong"),t(1104,"[POST]"),e(),t(1105),e()(),i(1106,"button",45),c("click",function(){return a.copy(a.rcpImportExampleUrl)}),E(1107,"mat-icon",46),e()(),i(1108,"p"),t(1109),r(1110,"translate"),e(),i(1111,"div",43)(1112,"pre",44)(1113,"code")(1114,"strong"),t(1115,"[200 OK]"),e(),t(1116),e()(),i(1117,"button",45),c("click",function(){return a.copy(a.rcpImportResponseBodyExample)}),E(1118,"mat-icon",46),e()(),i(1119,"button",62),c("click",function(){return a.getRcpImport()}),t(1120),r(1121,"translate"),b(1122,Qe,2,3),e(),b(1123,et,3,3,"button",63),b(1124,tt,7,3,"div"),e(),i(1125,"div",41,23)(1127,"h3"),t(1128),r(1129,"translate"),e(),i(1130,"div",47)(1131,"div",52)(1132,"mat-form-field",49)(1133,"mat-label"),t(1134),r(1135,"translate"),e(),E(1136,"input",53)(1137,"mat-datepicker-toggle",54)(1138,"mat-datepicker",null,24),e()()(),i(1140,"div",43)(1141,"pre",44)(1142,"code")(1143,"strong"),t(1144,"[GET]"),e(),t(1145),e()(),i(1146,"button",45),c("click",function(){return a.copy(a.rcpExportExampleUrl)}),E(1147,"mat-icon",46),e()(),i(1148,"p"),t(1149),r(1150,"translate"),e(),i(1151,"div",43)(1152,"pre",44)(1153,"code")(1154,"strong"),t(1155,"[200 OK]"),e(),t(1156),e()(),i(1157,"button",45),c("click",function(){return a.copy(a.rcpExportResponseBodyExample)}),E(1158,"mat-icon",46),e()(),i(1159,"button",62),c("click",function(){return a.getRcpExport()}),t(1160),r(1161,"translate"),b(1162,it,2,3),e(),b(1163,nt,3,3,"button",63),b(1164,at,7,3,"div"),e(),E(1165,"mat-divider"),i(1166,"h2",null,25),t(1168),r(1169,"translate"),e(),i(1170,"div",41,26)(1172,"h3"),t(1173),r(1174,"translate"),e(),i(1175,"p")(1176,"strong",42),t(1177),r(1178,"translate"),e(),t(1179),r(1180,"translate"),e(),i(1181,"div",43)(1182,"pre",44)(1183,"code")(1184,"strong"),t(1185,"[GET]"),e(),t(1186),e()(),i(1187,"button",45),c("click",function(){return a.copy(a.hrComponentsListUrl)}),E(1188,"mat-icon",46),e()(),i(1189,"p"),t(1190),r(1191,"translate"),e(),i(1192,"div",43)(1193,"pre",44)(1194,"code")(1195,"strong"),t(1196,"[200 OK]"),e(),t(1197),e()(),i(1198,"button",45),c("click",function(){return a.copy(a.hrComponentsListResponseExample)}),E(1199,"mat-icon",46),e()(),i(1200,"h3"),t(1201),r(1202,"translate"),e(),i(1203,"table")(1204,"tbody")(1205,"tr")(1206,"th"),t(1207),r(1208,"translate"),e(),i(1209,"th"),t(1210),r(1211,"translate"),e(),i(1212,"th"),t(1213),r(1214,"translate"),e()(),i(1215,"tr")(1216,"td"),t(1217,"0"),e(),i(1218,"td"),t(1219,"Element"),e(),i(1220,"td"),t(1221),r(1222,"translate"),e()(),i(1223,"tr")(1224,"td"),t(1225,"1"),e(),i(1226,"td"),t(1227,"GroupedElement"),e(),i(1228,"td"),t(1229),r(1230,"translate"),e()(),i(1231,"tr")(1232,"td"),t(1233,"2"),e(),i(1234,"td"),t(1235,"Attribute"),e(),i(1236,"td"),t(1237),r(1238,"translate"),e()()()(),i(1239,"h3"),t(1240),r(1241,"translate"),e(),i(1242,"table")(1243,"tbody")(1244,"tr")(1245,"th"),t(1246),r(1247,"translate"),e(),i(1248,"th"),t(1249),r(1250,"translate"),e(),i(1251,"th"),t(1252),r(1253,"translate"),e()(),i(1254,"tr")(1255,"td"),t(1256,"0"),e(),i(1257,"td"),t(1258,"Napis"),e(),i(1259,"td"),t(1260),r(1261,"translate"),e()(),i(1262,"tr")(1263,"td"),t(1264,"1"),e(),i(1265,"td"),t(1266,"Data"),e(),i(1267,"td"),t(1268),r(1269,"translate"),e()(),i(1270,"tr")(1271,"td"),t(1272,"2"),e(),i(1273,"td"),t(1274,"Slownik"),e(),i(1275,"td"),t(1276),r(1277,"translate"),e()(),i(1278,"tr")(1279,"td"),t(1280,"3"),e(),i(1281,"td"),t(1282,"Ulamek"),e(),i(1283,"td"),t(1284),r(1285,"translate"),e()(),i(1286,"tr")(1287,"td"),t(1288,"4"),e(),i(1289,"td"),t(1290,"UlamekJakoCzas"),e(),i(1291,"td"),t(1292),r(1293,"translate"),e()(),i(1294,"tr")(1295,"td"),t(1296,"5"),e(),i(1297,"td"),t(1298,"LMD"),e(),i(1299,"td"),t(1300),r(1301,"translate"),e()(),i(1302,"tr")(1303,"td"),t(1304,"6"),e(),i(1305,"td"),t(1306,"Email"),e(),i(1307,"td"),t(1308),r(1309,"translate"),e()(),i(1310,"tr")(1311,"td"),t(1312,"7"),e(),i(1313,"td"),t(1314,"Tel"),e(),i(1315,"td"),t(1316),r(1317,"translate"),e()(),i(1318,"tr")(1319,"td"),t(1320,"8"),e(),i(1321,"td"),t(1322,"Procent"),e(),i(1323,"td"),t(1324),r(1325,"translate"),e()(),i(1326,"tr")(1327,"td"),t(1328,"9"),e(),i(1329,"td"),t(1330,"Pesel"),e(),i(1331,"td"),t(1332),r(1333,"translate"),e()(),i(1334,"tr")(1335,"td"),t(1336,"10"),e(),i(1337,"td"),t(1338,"Nip"),e(),i(1339,"td"),t(1340),r(1341,"translate"),e()(),i(1342,"tr")(1343,"td"),t(1344,"11"),e(),i(1345,"td"),t(1346,"Regon"),e(),i(1347,"td"),t(1348),r(1349,"translate"),e()(),i(1350,"tr")(1351,"td"),t(1352,"12"),e(),i(1353,"td"),t(1354,"Iban"),e(),i(1355,"td"),t(1356),r(1357,"translate"),e()(),i(1358,"tr")(1359,"td"),t(1360,"13"),e(),i(1361,"td"),t(1362,"Rating"),e(),i(1363,"td"),t(1364),r(1365,"translate"),e()(),i(1366,"tr")(1367,"td"),t(1368,"14"),e(),i(1369,"td"),t(1370,"Checkbox"),e(),i(1371,"td"),t(1372),r(1373,"translate"),e()(),i(1374,"tr")(1375,"td"),t(1376,"15"),e(),i(1377,"td"),t(1378,"PostalCode"),e(),i(1379,"td"),t(1380),r(1381,"translate"),e()(),i(1382,"tr")(1383,"td"),t(1384,"255"),e(),i(1385,"td"),t(1386,"liczba"),e(),i(1387,"td"),t(1388),r(1389,"translate"),e()()()(),i(1390,"div",72)(1391,"button",62),c("click",function(){return a.getHrComponentsList()}),t(1392),r(1393,"translate"),b(1394,rt,2,3),e(),i(1395,"button",73),c("click",function(){return a.showHrComponentsListTestResponse()}),t(1396),r(1397,"translate"),e(),b(1398,lt,3,3,"button",74),e(),b(1399,ot,7,3,"div"),e(),i(1400,"div",41,27)(1402,"h3"),t(1403),r(1404,"translate"),e(),i(1405,"p")(1406,"strong",42),t(1407),r(1408,"translate"),e(),t(1409),r(1410,"translate"),e(),i(1411,"div",47)(1412,"div",48)(1413,"mat-form-field",49)(1414,"mat-label"),t(1415,"userId"),e(),E(1416,"input",75),i(1417,"mat-hint"),t(1418),r(1419,"translate"),e()()(),i(1420,"div",52)(1421,"mat-form-field",49)(1422,"mat-label"),t(1423,"startDate"),e(),E(1424,"input",53)(1425,"mat-datepicker-toggle",54)(1426,"mat-datepicker",null,28),e(),i(1428,"mat-form-field",49)(1429,"mat-label"),t(1430,"endDate"),e(),E(1431,"input",55)(1432,"mat-datepicker-toggle",54)(1433,"mat-datepicker",null,29),e()()(),i(1435,"div",43)(1436,"pre",44)(1437,"code")(1438,"strong"),t(1439,"[GET]"),e(),t(1440),e()(),i(1441,"button",45),c("click",function(){return a.copy(a.hrComponentsExportExampleUrl)}),E(1442,"mat-icon",46),e()(),i(1443,"p"),t(1444),r(1445,"translate"),e(),i(1446,"div",43)(1447,"pre",44)(1448,"code")(1449,"strong"),t(1450,"[200 OK]"),e(),t(1451),e()(),i(1452,"button",45),c("click",function(){return a.copy(a.hrComponentsExportResponseExample)}),E(1453,"mat-icon",46),e()(),i(1454,"h3"),t(1455),r(1456,"translate"),e(),i(1457,"table")(1458,"tbody")(1459,"tr")(1460,"th"),t(1461),r(1462,"translate"),e(),i(1463,"th"),t(1464),r(1465,"translate"),e(),i(1466,"th"),t(1467),r(1468,"translate"),e()(),i(1469,"tr")(1470,"td"),t(1471,"userId"),e(),i(1472,"td"),t(1473,"string"),e(),i(1474,"td"),t(1475),r(1476,"translate"),e()(),i(1477,"tr")(1478,"td"),t(1479,"userDisplayName"),e(),i(1480,"td"),t(1481,"string"),e(),i(1482,"td"),t(1483),r(1484,"translate"),e()(),i(1485,"tr")(1486,"td"),t(1487,"componentId"),e(),i(1488,"td"),t(1489,"int"),e(),i(1490,"td"),t(1491),r(1492,"translate"),e()(),i(1493,"tr")(1494,"td"),t(1495,"valueId"),e(),i(1496,"td"),t(1497,"int"),e(),i(1498,"td"),t(1499),r(1500,"translate"),e()(),i(1501,"tr")(1502,"td"),t(1503,"value"),e(),i(1504,"td"),t(1505,"string"),e(),i(1506,"td"),t(1507),r(1508,"translate"),e()(),i(1509,"tr")(1510,"td"),t(1511,"dataIndex"),e(),i(1512,"td"),t(1513,"int"),e(),i(1514,"td"),t(1515),r(1516,"translate"),e()(),i(1517,"tr")(1518,"td"),t(1519,"valueIndex"),e(),i(1520,"td"),t(1521,"int"),e(),i(1522,"td"),t(1523),r(1524,"translate"),e()(),i(1525,"tr")(1526,"td"),t(1527,"parentId"),e(),i(1528,"td"),t(1529,"int"),e(),i(1530,"td"),t(1531),r(1532,"translate"),e()(),i(1533,"tr")(1534,"td"),t(1535,"startDate"),e(),i(1536,"td"),t(1537,"DateTime"),e(),i(1538,"td"),t(1539),r(1540,"translate"),e()(),i(1541,"tr")(1542,"td"),t(1543,"endDate"),e(),i(1544,"td"),t(1545,"DateTime"),e(),i(1546,"td"),t(1547),r(1548,"translate"),e()(),i(1549,"tr")(1550,"td"),t(1551,"guid"),e(),i(1552,"td"),t(1553,"string"),e(),i(1554,"td"),t(1555),r(1556,"translate"),e()()()(),i(1557,"div",72)(1558,"button",62),c("click",function(){return a.getHrComponentsExport()}),t(1559),r(1560,"translate"),b(1561,pt,2,3),e(),i(1562,"button",73),c("click",function(){return a.showHrComponentsExportTestResponse()}),t(1563),r(1564,"translate"),e()(),b(1565,dt,3,3,"button",63),b(1566,st,7,3,"div"),e(),E(1567,"mat-divider"),i(1568,"h2",null,30),t(1570),r(1571,"translate"),e(),i(1572,"div",41,31)(1574,"h3"),t(1575),r(1576,"translate"),e(),i(1577,"p")(1578,"strong",42),t(1579),r(1580,"translate"),e(),t(1581),r(1582,"translate"),e(),i(1583,"div",43)(1584,"pre",44)(1585,"code")(1586,"strong"),t(1587,"[GET]"),e(),t(1588),e()(),i(1589,"button",45),c("click",function(){return a.copy(a.scheduleExportUrl)}),E(1590,"mat-icon",46),e()(),i(1591,"p"),t(1592),r(1593,"translate"),e(),i(1594,"div",43)(1595,"pre",44)(1596,"code")(1597,"strong"),t(1598,"[200 OK]"),e(),t(1599),e()(),i(1600,"button",45),c("click",function(){return a.copy(a.scheduleExportResponseExample)}),E(1601,"mat-icon",46),e()(),i(1602,"h3"),t(1603),r(1604,"translate"),e(),i(1605,"table")(1606,"tbody")(1607,"tr")(1608,"th"),t(1609),r(1610,"translate"),e(),i(1611,"th"),t(1612),r(1613,"translate"),e(),i(1614,"th"),t(1615),r(1616,"translate"),e(),i(1617,"th"),t(1618),r(1619,"translate"),e(),i(1620,"th"),t(1621),r(1622,"translate"),e()(),i(1623,"tr")(1624,"td"),t(1625,"startDate"),e(),i(1626,"td"),t(1627,"DateOnly"),e(),i(1628,"td"),t(1629,"yyyy-MM-dd"),e(),i(1630,"td"),t(1631),r(1632,"translate"),e(),i(1633,"td"),t(1634),r(1635,"translate"),e()(),i(1636,"tr")(1637,"td"),t(1638,"endDate"),e(),i(1639,"td"),t(1640,"DateOnly"),e(),i(1641,"td"),t(1642,"yyyy-MM-dd"),e(),i(1643,"td"),t(1644),r(1645,"translate"),e(),i(1646,"td"),t(1647),r(1648,"translate"),e()()()(),i(1649,"h3"),t(1650),r(1651,"translate"),e(),i(1652,"table")(1653,"tbody")(1654,"tr")(1655,"th"),t(1656),r(1657,"translate"),e(),i(1658,"th"),t(1659),r(1660,"translate"),e(),i(1661,"th"),t(1662),r(1663,"translate"),e()(),i(1664,"tr")(1665,"td"),t(1666,"userId"),e(),i(1667,"td"),t(1668,"string"),e(),i(1669,"td"),t(1670),r(1671,"translate"),e()(),i(1672,"tr")(1673,"td"),t(1674,"erpId"),e(),i(1675,"td"),t(1676,"int?"),e(),i(1677,"td"),t(1678),r(1679,"translate"),e()(),i(1680,"tr")(1681,"td"),t(1682,"hours"),e(),i(1683,"td"),t(1684,"array"),e(),i(1685,"td"),t(1686),r(1687,"translate"),e()(),i(1688,"tr")(1689,"td"),t(1690,"hours[].name"),e(),i(1691,"td"),t(1692,"string"),e(),i(1693,"td"),t(1694),r(1695,"translate"),e()(),i(1696,"tr")(1697,"td"),t(1698,"hours[].startTime"),e(),i(1699,"td"),t(1700,"string"),e(),i(1701,"td"),t(1702),r(1703,"translate"),e()(),i(1704,"tr")(1705,"td"),t(1706,"hours[].endTime"),e(),i(1707,"td"),t(1708,"string"),e(),i(1709,"td"),t(1710),r(1711,"translate"),e()(),i(1712,"tr")(1713,"td"),t(1714,"hours[].breaks"),e(),i(1715,"td"),t(1716,"array"),e(),i(1717,"td"),t(1718),r(1719,"translate"),e()(),i(1720,"tr")(1721,"td"),t(1722,"hours[].onlyWorkTime"),e(),i(1723,"td"),t(1724,"boolean"),e(),i(1725,"td"),t(1726),r(1727,"translate"),e()(),i(1728,"tr")(1729,"td"),t(1730,"hours[].isHoliday"),e(),i(1731,"td"),t(1732,"boolean"),e(),i(1733,"td"),t(1734),r(1735,"translate"),e()(),i(1736,"tr")(1737,"td"),t(1738,"hours[].dates"),e(),i(1739,"td"),t(1740,"string[]"),e(),i(1741,"td"),t(1742),r(1743,"translate"),e()()()(),i(1744,"h3"),t(1745),r(1746,"translate"),e(),i(1747,"table")(1748,"tbody")(1749,"tr")(1750,"th"),t(1751,"HTTP status"),e(),i(1752,"th"),t(1753),r(1754,"translate"),e()(),i(1755,"tr")(1756,"td"),t(1757,"400"),e(),i(1758,"td"),t(1759),r(1760,"translate"),e()(),i(1761,"tr")(1762,"td"),t(1763,"401"),e(),i(1764,"td"),t(1765),r(1766,"translate"),e()(),i(1767,"tr")(1768,"td"),t(1769,"403"),e(),i(1770,"td"),t(1771),r(1772,"translate"),e()()()(),i(1773,"h3"),t(1774),r(1775,"translate"),e(),i(1776,"div",47)(1777,"div",52)(1778,"mat-form-field",49)(1779,"mat-label"),t(1780,"startDate"),e(),E(1781,"input",53)(1782,"mat-datepicker-toggle",54)(1783,"mat-datepicker",null,32),e(),i(1785,"mat-form-field",49)(1786,"mat-label"),t(1787,"endDate"),e(),E(1788,"input",55)(1789,"mat-datepicker-toggle",54)(1790,"mat-datepicker",null,33),e()()(),i(1792,"div",43)(1793,"pre",44)(1794,"code")(1795,"strong"),t(1796,"[GET]"),e(),t(1797),e()(),i(1798,"button",45),c("click",function(){return a.copy(a.scheduleExportExampleUrl)}),E(1799,"mat-icon",46),e()(),i(1800,"div",72)(1801,"button",62),c("click",function(){return a.getScheduleExport()}),t(1802),r(1803,"translate"),b(1804,mt,2,3),e(),b(1805,ct,3,3,"button",74),e(),b(1806,ut,7,3,"div"),e()()()}if(x&2){let _=C(547),s=C(554),u=C(565),R=C(1139),g=C(1427),L=C(1434),F=C(1784),M=C(1791);n(3),p("",l(4,389,"Public API")," "),n(5),p(" ",l(9,391,"Eksportuj do pliku PDF")," "),n(6),o(l(15,393,"Uwierzytelnianie")),n(5),o(l(20,395,"Logowanie podstawowe")),n(4),o(l(24,397,"Pobieranie listy firm")),n(4),o(l(28,399,"Logowanie do wybranej firmy")),n(4),o(l(32,401,"Wnioski")),n(5),o(l(37,403,"Pobieranie wniosk\xF3w u\u017Cytkownik\xF3w")),n(4),o(l(41,405,"Pobieranie definicji wniosk\xF3w")),n(4),o(l(45,407,"Import wniosk\xF3w u\u017Cytkownik\xF3w")),n(4),o(l(49,409,"Anulowanie wniosk\xF3w")),n(4),o(l(53,411,"Grupy")),n(5),o(l(58,413,"Przypisanie kierownika")),n(4),o(l(62,415,"U\u017Cytkownicy")),n(5),o(l(67,417,"Znajd\u017A u\u017Cytkownika")),n(4),o(l(71,419,"Eksport u\u017Cytkownik\xF3w")),n(4),o(l(75,421,"Import")),n(5),o(l(80,423,"Import u\u017Cytkownik\xF3w i grup")),n(4),o(l(84,425,"Struktura")),n(5),o(l(89,427,"Eksport struktury")),n(4),o(l(93,429,"Rejestracja czasu pracy")),n(5),o(l(98,431,"Import RCP")),n(5),o(l(103,433,"Eksport czasu pracy pracownik\xF3w")),n(4),o(l(107,435,"Komponenty HR")),n(5),o(l(112,437,"Pobieranie definicji komponent\xF3w")),n(4),o(l(116,439,"Eksport")),n(4),o(l(120,441,"Harmonogramy")),n(5),o(l(125,443,"Eksport harmonogram\xF3w pracownik\xF3w")),n(4),o(l(129,445,"Uwierzytelnianie")),n(2),f("innerHTML",l(131,447,"PUBLIC_API_AUTH_INTRO"),V),n(3),p(" ",l(134,449,"System uwierzytelniania sk\u0142ada si\u0119 z:")," "),n(4),p(" ",l(138,451,"U\u017Cytkownicy.")," "),n(3),p(" ",l(141,453,"PUBLIC_API_AUTH_PERMISSIONS")," "),n(3),p(" ",l(144,455,"PUBLIC_API_AUTH_ROLES")," "),n(3),p(" ",l(147,457,"System haszowania hase\u0142.")," "),n(5),o(l(152,459,"Proces autoryzacji")),n(4),p("[",l(156,461,"Wa\u017Cne"),"]"),n(2),p(" ",l(158,463,"Je\u017Celi API rzuca b\u0142\u0105d 500, sprawd\u017A konfiguracj\u0119 CORS.")),n(5),o(l(163,465,"1. Przekazujemy u\u017Cytkownika i has\u0142o na wskazany adres:")),n(7),p(" ",a.authenticationUrl),n(5),p("[",l(175,467,"Wa\u017Cne"),"]"),n(2),p(" ",l(177,469,"Aby otrzyma\u0107 token w odpowiedzi, musimy ustawi\u0107 DisableCookie na true.")),n(7),p(`
    `,a.authenticationBody),n(4),o(l(188,471,"Odpowiedzi:")),n(7),p(`
  `,a.authenticationResposne),n(6),p(`
`,a.authentication400Resposne),n(5),o(l(206,473,"Nazwa")),n(3),o(l(209,475,"Opis")),n(6),p(" ",l(215,477,"Nieoczekiwany b\u0142\u0105d, skontaktuj si\u0119 ze swoim administratorem.")," "),n(6),p(" ",l(221,479,"Nieprawid\u0142owa nazwa u\u017Cytkownika lub has\u0142o.")," "),n(6),p(" ",l(227,481,"PUBLIC_API_ERROR_LOGIN_ATTEMPTS")," "),n(6),p(" ",l(233,483,"PUBLIC_API_ERROR_ACCOUNT_LOCKED")," "),n(6),o(l(239,485,"2. Pobieramy list\u0119 dost\u0119pnych firm dla u\u017Cytkownika:")),n(7),p(" ",a.userDetailsUrl),n(5),p("[",l(251,487,"Wa\u017Cne"),"]"),n(2),p(" ",l(253,489,"Pami\u0119tamy o dodaniu tokena w Header:")),n(7),p(" ",a.headerBearerToken),n(2),o(l(262,491,"Odpowiedzi:")),n(7),p(`
  `,a.userDetailsResponse),n(2),o(l(271,493,"W odpowiedzi dostajemy list\u0119 firm przypisanych do u\u017Cytkownika.")),n(4),p("[",l(275,495,"Wa\u017Cne"),"]"),n(2),p(" ",l(277,497,"PUBLIC_API_IMPORTANT_COMPANY_PERMISSION")),n(6),o(l(283,499,"3. Logujemy si\u0119 do wybranej firmy:")),n(7),p(" ",a.selectCompanyUrl),n(8),p(`
  `,a.selectCompanyBody),n(4),o(l(302,501,"Odpowied\u017A gdy Two Factor Authentication jest w\u0142\u0105czony:")),n(7),p(`
`,a.selectCompanyResposne),n(2),o(l(311,503,"PUBLIC_API_2FA_DESCRIPTION")),n(3),o(l(314,505,"Odpowied\u017A gdy Two Factor Authentication jest od\u0142\u0105czony lub kod zosta\u0142 poprawnie zweryfikowany:")),n(7),p(`
`,a.authenticationResposne),n(2),p("",l(323,507,"PUBLIC_API_TOKEN_INFO"),`
`),n(5),o(l(328,509,"Wnioski")),n(5),o(l(333,511,"Pobieranie wniosk\xF3w u\u017Cytkownik\xF3w")),n(4),p("[",l(337,513,"Wa\u017Cne"),"]"),n(2),p(" ",l(339,515,"PUBLIC_API_PERM_APPLICATIONS_GET")),n(7),p(" ",a.applicationGetUrl),n(4),o(l(350,517,"Odpowiedzi:")),n(7),p(`
  `,a.applicationsResponseBody),n(4),o(l(361,519,"W\u0142a\u015Bciwo\u015Bci")),n(6),o(l(367,521,"Nazwa")),n(3),o(l(370,523,"Opis")),n(6),p(" ",l(376,525,"PUBLIC_API_PROP_PAGE")," "),n(6),p(" ",l(382,527,"PUBLIC_API_PROP_SIZE")," "),n(6),p(" ",l(388,529,"Data rozpocz\u0119cia wniosku w milisekundach.")," "),n(6),p(" ",l(394,531,"Data zako\u0144czenia wniosku w milisekundach.")," "),n(6),p(" ",l(400,533,"Filtrowanie po nazwie zdarzenia")," "),n(6),p(" ",l(406,535,"PUBLIC_API_PROP_STATUSES")," "),n(6),p(" ",l(412,537,"PUBLIC_API_PROP_SYNC_STATUSES")," "),n(6),p(" ",l(418,539,"Filtrowanie po u\u017Cytkownikach.")," "),n(3),o(l(421,541,"Statusy")),n(6),o(l(427,543,"Nazwa")),n(3),o(l(430,545,"Warto\u015B\u0107")),n(4),p(" ",l(434,547,"Nowy")," "),n(6),p(" ",l(440,549,"Akceptacja zast\u0119pcy")," "),n(6),p(" ",l(446,551,"Akceptacja prze\u0142o\u017Conego")," "),n(6),p(" ",l(452,553,"Zaakceptowany")," "),n(6),p(" ",l(458,555,"Anulowany")," "),n(6),p(" ",l(464,557,"Odrzucony")," "),n(5),o(l(469,559,"Statusy synchronizacji")),n(6),o(l(475,561,"Nazwa")),n(3),o(l(478,563,"Warto\u015B\u0107")),n(4),p(" ",l(482,565,"Brak")," "),n(6),p(" ",l(488,567,"Oczekiwanie na wys\u0142anie do ERP")," "),n(6),p(" ",l(494,569,"Wys\u0142any do ERP")," "),n(6),p(" ",l(500,571,"B\u0142\u0105d synchronizacji ERP")," "),n(6),p(" ",l(506,573,"Pobrano z ERP")," "),n(6),p(" ",l(512,575,"Oczekiwanie na usuni\u0119cie z ERP")," "),n(6),p(" ",l(518,577,"Usuni\u0119to z ERP")," "),n(5),o(l(523,579,"Stosowanie")),n(2),f("formGroup",a.applicationGetForm),n(7),o(l(532,581,"Min warto\u015B\u0107 - 1")),n(7),o(l(539,583,"Min warto\u015B\u0107 - 1")),n(6),f("matDatepicker",_),n(),f("for",_),n(6),f("matDatepicker",s),n(),f("for",s),n(7),f("matDatepicker",u),n(2),o(l(562,585,"Filtrowanie wg daty utworzenia (od)")),n(2),f("for",u),n(9),o(l(573,587,"Wpisz ID u\u017Cytkownik\xF3w po przecinku")),n(8),o(l(581,589,"Wpisz nazw\u0119 wniosk\xF3w po przecinku")),n(8),o(l(589,591,"Wpisz status po przecinku")),n(7),o(l(596,593,"Wpisz status synchronizacji po przecinku")),n(7),p(" ",a.applicationExampleUrl),n(3),f("disabled",a.getApplicationsLoading||!a.canGetApplications),n(),p(" ",l(607,595,"Pobierz")," "),n(2),v(a.canGetApplications?-1:608),n(),v(a.applicationsResponse?609:-1),n(),v(a.applicationsResponse?610:-1),n(4),o(l(615,597,"Pobieranie definicji wniosk\xF3w")),n(4),p("[",l(619,599,"Wa\u017Cne"),"]"),n(2),p(" ",l(621,601,"PUBLIC_API_PERM_APPLICATIONS_DEF")),n(7),p(" ",a.applicationDefinitionGetUrl),n(4),o(l(632,603,"Odpowiedzi:")),n(7),p(`
      `,a.applicationDefinitionResponseBody),n(4),o(l(643,605,"W\u0142a\u015Bciwo\u015Bci")),n(6),o(l(649,607,"Nazwa")),n(3),o(l(652,609,"Opis")),n(6),p(" ",l(658,611,"Filtrowanie wniosk\xF3w po nazwie.")," "),n(3),o(l(661,613,"Stosowanie")),n(2),f("formGroup",a.applicationDefinitionGetForm),n(7),o(l(670,615,"Wpisz fraz\u0119 po kt\xF3rej chcesz wyszuka\u0107 wyst\u0105pienia")),n(7),p(" ",a.applicationDefinitionExampleUrl),n(3),f("disabled",a.getApplicationsDefinitionLoading||!a.canPublicApplicationDefinitions),n(),p(" ",l(681,617,"Pobierz")," "),n(2),v(a.canPublicApplicationDefinitions?-1:682),n(),v(a.applicationsDefinitionResponse?683:-1),n(),v(a.applicationsDefinitionResponse?684:-1),n(4),o(l(689,619,"Import wniosk\xF3w u\u017Cytkownik\xF3w")),n(4),p("[",l(693,621,"Wa\u017Cne"),"]"),n(2),p(" ",l(695,623,"PUBLIC_API_PERM_APPLICATIONS_IMPORT")),n(7),p(" ",a.applicationGetUrl),n(7),p("[BODY] ",l(709,625,"wej\u015Bciowe")),n(2),p(`
            `,a.applicationInputBody,`
          `),n(8),p("[BODY] ",l(719,627,"wyj\u015Bciowe")),n(2),p(`
          `,a.applicationOutputBody,`
        `),n(4),o(l(725,629,"Stosowanie")),n(2),f("formGroup",a.applicationPostForm),n(11),p(" ",a.applicationGetUrl),n(3),f("disabled",a.postApplicationsLoading||!a.canPublicUserApplicationImport||!a.applicationPostForm.valid),n(),p(" ",l(742,631,"Importuj")," "),n(2),v(a.canPublicUserApplicationImport?-1:743),n(),v(a.applicationsPostResponse?744:-1),n(4),o(l(749,633,"Anulowanie wniosk\xF3w")),n(4),p("[",l(753,635,"Wa\u017Cne"),"]"),n(2),p(" ",l(755,637,"PUBLIC_API_PERM_APPLICATIONS_CANCEL")),n(7),p(" ",a.applicationCancelPostUrl),n(8),p(`
          `,a.applicationCancelBody),n(4),o(l(774,639,"Stosowanie")),n(2),f("formGroup",a.applicationCancelPostForm),n(11),p(" ",a.applicationCancelPostUrl),n(3),f("disabled",a.postCancelApplicationsLoading||!a.canPublicUserApplicationCancel||!a.applicationCancelPostForm.valid),n(),p(" ",l(791,641,"Wykonaj")," "),n(2),v(a.canPublicUserApplicationCancel?-1:792),n(),v(a.cancelApplicationsPostResponse?793:-1),n(4),o(l(798,643,"Grupy")),n(5),o(l(803,645,"Przypisanie kierownika")),n(4),p("[",l(807,647,"Wa\u017Cne"),"]"),n(2),p(" ",l(809,649,"PUBLIC_API_PERM_GROUPS_MANAGER")),n(3),o(l(812,651,"Je\u017Celi u\u017Cyjesz tej metody, kiedy kierownik ju\u017C jest przypisany, to zostanie on odpi\u0119ty.")),n(7),p(" ",a.groupChangeManagerGetUrl),n(8),p(`
`,a.groupChangeManagerBody),n(4),o(l(831,653,"Odpowiedzi:")),n(12),p(`
`,l(843,655,"Nie mog\u0119 przypisa\u0107 u\u017Cytkownika kt\xF3ry jest w strukturze pracownika.")),n(10),o(l(853,657,"U\u017Cytkownicy")),n(5),o(l(858,659,"Znajd\u017A u\u017Cytkownika")),n(4),p("[",l(862,661,"Wa\u017Cne"),"]"),n(2),p(" ",l(864,663,"PUBLIC_API_PERM_USERS_FIND")),n(7),p(" ",a.findUserUrl),n(4),o(l(875,665,"W\u0142a\u015Bciwo\u015Bci")),n(6),o(l(881,667,"Nazwa")),n(3),o(l(884,669,"Opis")),n(6),p(" ",l(890,671,"Id u\u017Cytkownika")," "),n(6),p(" ",l(896,673,"Adres e-mail u\u017Cytkownika")," "),n(6),p(" ",l(902,675,"PESEL u\u017Cytkownika")," "),n(3),o(l(905,677,"Odpowiedzi:")),n(7),p(`
`,a.findUserByEmailResponseBody),n(8),p(`
`,l(920,679,"Nie znaleziono u\u017Cytkownika")),n(3),o(l(923,681,"Stosowanie")),n(2),f("formGroup",a.userGetForm),n(18),p(" ",a.userFindByEmailExampleUrl),n(3),f("disabled",a.findUserLoading||!a.canFindUser||!a.userGetForm.valid),n(),p(" ",l(947,683,"Pobierz")," "),n(2),v(a.canFindUser?-1:948),n(),v(a.findUserResponse?949:-1),n(),v(a.findUserResponse?950:-1),n(4),o(l(955,685,"Eksport u\u017Cytkownik\xF3w")),n(7),p(" ",a.userExportUrl),n(4),o(l(966,687,"Odpowiedzi:")),n(7),p(`
  `,a.exportUserResponseBodyExample),n(4),o(l(977,689,"Stosowanie")),n(2),f("formGroup",a.userExportForm),n(4),p("",l(983,691,"Tylko aktywni")," "),n(7),p(" ",a.userExportExampleUrl),n(3),f("disabled",a.userExportLoading||!a.canUserExport),n(),p(" ",l(994,693,"Pobierz")," "),n(2),v(a.canUserExport?-1:995),n(),v(a.userExportResponse?996:-1),n(),v(a.userExportResponse?997:-1),n(3),o(l(1001,695,"Import")),n(5),o(l(1006,697,"Import u\u017Cytkownik\xF3w i grup")),n(4),p("[",l(1010,699,"Wa\u017Cne"),"]"),n(2),p(" ",l(1012,701,"PUBLIC_API_PERM_IMPORT_USERS")),n(4),p("[",l(1016,703,"Wa\u017Cne"),"]"),n(2),p(" ",l(1018,705,"Has\u0142a s\u0105 generowane automatycznie wg konfiguracji.")),n(7),p(" ",a.importUrl),n(8),p(`
`,a.importUsersBody),n(4),o(l(1037,707,"Stosowanie")),n(2),f("formGroup",a.importForm),n(11),p(" ",a.importUrl),n(3),f("disabled",a.importLoading||!a.canImportUser||!a.importForm.valid),n(),p(" ",l(1054,709,"Importuj")," "),n(2),v(a.canImportUser?-1:1055),n(),v(a.importResponse?1056:-1),n(3),o(l(1060,711,"Struktura")),n(5),o(l(1065,713,"Eksport struktury")),n(7),p(" ",a.structureExportUrl),n(4),o(l(1076,715,"Odpowiedzi:")),n(7),p(`
  `,a.structureExportResponseBodyExample),n(3),f("disabled",a.structureExportLoading||!a.canStructureExport),n(),p(" ",l(1087,717,"Pobierz")," "),n(2),v(a.canStructureExport?-1:1088),n(),v(a.structureExportResponse?1089:-1),n(),v(a.structureExportResponse?1090:-1),n(3),o(l(1094,719,"Rejestracja czasu pracy")),n(5),o(l(1099,721,"Import RCP")),n(7),p(" ",a.rcpImportExampleUrl),n(4),o(l(1110,723,"Odpowiedzi:")),n(7),p(`
    `,a.rcpImportResponseBodyExample),n(3),f("disabled",a.rcpImportLoading||!a.canAdministrationImport),n(),p(" ",l(1121,725,"Pobierz")," "),n(2),v(a.canAdministrationImport?-1:1122),n(),v(a.rcpImportResponse?1123:-1),n(),v(a.rcpImportResponse?1124:-1),n(4),o(l(1129,727,"Eksport czasu pracy pracownik\xF3w")),n(2),f("formGroup",a.rcpExportGetForm),n(4),o(l(1135,729,"Data rozpocz\u0119cia")),n(2),f("matDatepicker",R),n(),f("for",R),n(8),p(" ",a.rcpExportExampleUrl),n(4),o(l(1150,731,"Odpowiedzi:")),n(7),p(`
  `,a.rcpExportResponseBodyExample),n(3),f("disabled",a.rcpExportLoading||!a.canAdministrationImport),n(),p(" ",l(1161,733,"Pobierz")," "),n(2),v(a.canAdministrationImport?-1:1162),n(),v(a.rcpExportResponse?1163:-1),n(),v(a.rcpExportResponse?1164:-1),n(4),o(l(1169,735,"Komponenty HR")),n(5),o(l(1174,737,"Pobieranie definicji komponent\xF3w")),n(4),p("[",l(1178,739,"Wa\u017Cne"),"]"),n(2),p(" ",l(1180,741,"PUBLIC_API_PERM_HR_COMPONENTS_LIST")),n(7),p(" ",a.hrComponentsListUrl),n(4),o(l(1191,743,"Odpowiedzi:")),n(7),p(`
  `,a.hrComponentsListResponseExample),n(4),o(l(1202,745,"Typy komponent\xF3w (type)")),n(6),o(l(1208,747,"Warto\u015B\u0107")),n(3),o(l(1211,749,"Typ")),n(3),o(l(1214,751,"Opis")),n(8),o(l(1222,753,"Pojedynczy element komponentu HR")),n(8),o(l(1230,755,"Element grupowany (zawiera inne elementy)")),n(8),o(l(1238,757,"Atrybut komponentu HR")),n(3),o(l(1241,759,"Typy warto\u015Bci (valueType)")),n(6),o(l(1247,761,"Warto\u015B\u0107")),n(3),o(l(1250,763,"Typ")),n(3),o(l(1253,765,"Opis")),n(8),o(l(1261,767,"Warto\u015B\u0107 tekstowa (String)")),n(8),o(l(1269,769,"Data (tylko data bez czasu)")),n(8),o(l(1277,771,"Element wybierany ze s\u0142ownika")),n(8),o(l(1285,773,"PUBLIC_API_HR_VALUETYPE_FRACTION")),n(8),o(l(1293,775,"PUBLIC_API_HR_VALUETYPE_FRACTION_TIME")),n(8),o(l(1301,777,"PUBLIC_API_HR_VALUETYPE_LMD")),n(8),o(l(1309,779,"Adres e-mail")),n(8),o(l(1317,781,"Numer telefonu")),n(8),o(l(1325,783,"Warto\u015B\u0107 procentowa")),n(8),o(l(1333,785,"Numer PESEL")),n(8),o(l(1341,787,"Numer NIP")),n(8),o(l(1349,789,"Numer REGON")),n(8),o(l(1357,791,"Numer IBAN")),n(8),o(l(1365,793,"Ocena/Rating")),n(8),o(l(1373,795,"Pole wyboru (checkbox)")),n(8),o(l(1381,797,"Kod pocztowy")),n(8),o(l(1389,799,"Dowolna liczba (int/double)")),n(3),f("disabled",a.hrComponentsListLoading||!a.canHrComponentsList),n(),p(" ",l(1393,801,"Pobierz z API")," "),n(2),v(a.canHrComponentsList?-1:1394),n(2),p(" ",l(1397,803,"Pobierz model testowy")," "),n(2),v(a.hrComponentsListResponse?1398:-1),n(),v(a.hrComponentsListResponse?1399:-1),n(4),o(l(1404,805,"Eksport")),n(4),p("[",l(1408,807,"Wa\u017Cne"),"]"),n(2),p(" ",l(1410,809,"PUBLIC_API_PERM_HR_COMPONENTS_EXPORT")),n(2),f("formGroup",a.hrComponentsExportForm),n(7),o(l(1419,811,"ID u\u017Cytkownika (opcjonalne)")),n(6),f("matDatepicker",g),n(),f("for",g),n(6),f("matDatepicker",L),n(),f("for",L),n(8),p(" ",a.hrComponentsExportExampleUrl),n(4),o(l(1445,813,"Odpowiedzi:")),n(7),p(`
  `,a.hrComponentsExportResponseExample),n(4),o(l(1456,815,"W\u0142a\u015Bciwo\u015Bci eksportu komponent\xF3w HR")),n(6),o(l(1462,817,"Nazwa")),n(3),o(l(1465,819,"Typ")),n(3),o(l(1468,821,"Opis")),n(8),o(l(1476,823,"Identyfikator u\u017Cytkownika")),n(8),o(l(1484,825,"Nazwa wy\u015Bwietlana u\u017Cytkownika")),n(8),o(l(1492,827,"Identyfikator komponentu HR")),n(8),o(l(1500,829,"Identyfikator warto\u015Bci komponentu")),n(8),o(l(1508,831,"Warto\u015B\u0107 komponentu HR")),n(8),o(l(1516,833,"PUBLIC_API_HR_EXPORT_PROP_DATA_INDEX")),n(8),o(l(1524,835,"PUBLIC_API_HR_EXPORT_PROP_VALUE_INDEX")),n(8),o(l(1532,837,"Identyfikator komponentu nadrz\u0119dnego")),n(8),o(l(1540,839,"Data rozpocz\u0119cia obowi\u0105zywania warto\u015Bci")),n(8),o(l(1548,841,"PUBLIC_API_HR_EXPORT_PROP_END_DATE")),n(8),o(l(1556,843,"PUBLIC_API_HR_EXPORT_PROP_GUID")),n(3),f("disabled",a.hrComponentsExportLoading||!a.canHrComponentsExport),n(),p(" ",l(1560,845,"Eksportuj z API")," "),n(2),v(a.canHrComponentsExport?-1:1561),n(2),p(" ",l(1564,847,"Pobierz model testowy")," "),n(2),v(a.hrComponentsExportResponse?1565:-1),n(),v(a.hrComponentsExportResponse?1566:-1),n(4),o(l(1571,849,"Harmonogramy")),n(5),o(l(1576,851,"Eksport harmonogram\xF3w pracownik\xF3w")),n(4),p("[",l(1580,853,"Wa\u017Cne"),"]"),n(2),p(" ",l(1582,855,"PUBLIC_API_PERM_SCHEDULE_EXPORT")),n(7),p(" ",a.scheduleExportUrl),n(4),o(l(1593,857,"Odpowiedzi:")),n(7),p(`
  `,a.scheduleExportResponseExample),n(4),o(l(1604,859,"W\u0142a\u015Bciwo\u015Bci zapytania")),n(6),o(l(1610,861,"Parametr")),n(3),o(l(1613,863,"Typ")),n(3),o(l(1616,865,"Format")),n(3),o(l(1619,867,"Wymagany")),n(3),o(l(1622,869,"Opis")),n(10),o(l(1632,871,"Tak")),n(3),o(l(1635,873,"Pierwsza data zakresu")),n(10),o(l(1645,875,"Tak")),n(3),o(l(1648,877,"Ostatnia data zakresu (w\u0142\u0105cznie)")),n(3),o(l(1651,879,"Struktura odpowiedzi")),n(6),o(l(1657,881,"Nazwa")),n(3),o(l(1660,883,"Typ")),n(3),o(l(1663,885,"Opis")),n(8),o(l(1671,887,"Wewn\u0119trzny identyfikator u\u017Cytkownika")),n(8),o(l(1679,889,"Identyfikator ERP (mo\u017Ce by\u0107 null)")),n(8),o(l(1687,891,"Tablica wzorc\xF3w godzin pracy")),n(8),o(l(1695,893,"PUBLIC_API_SCHEDULE_HOURS_NAME")),n(8),o(l(1703,895,"Godzina rozpocz\u0119cia pracy (HH:mm:ss)")),n(8),o(l(1711,897,"Godzina zako\u0144czenia pracy (HH:mm:ss)")),n(8),o(l(1719,899,"Lista przerw (obiekt z polem startTime)")),n(8),o(l(1727,901,"Czy dotyczy tylko czasu pracy")),n(8),o(l(1735,903,"Czy dzie\u0144 jest \u015Bwi\u0119tem")),n(8),o(l(1743,905,"Lista dat w formacie ISO 8601 przypisanych do wzorca")),n(3),o(l(1746,907,"Kody b\u0142\u0119d\xF3w")),n(8),o(l(1754,909,"Przyczyna")),n(6),o(l(1760,911,"Brak lub z\u0142y format startDate/endDate")),n(6),o(l(1766,913,"Brak tokenu lub token wygas\u0142")),n(6),o(l(1772,915,"Token wa\u017Cny, ale brak roli 84i")),n(3),o(l(1775,917,"Stosowanie")),n(2),f("formGroup",a.scheduleExportForm),n(5),f("matDatepicker",F),n(),f("for",F),n(6),f("matDatepicker",M),n(),f("for",M),n(8),p(" ",a.scheduleExportExampleUrl),n(4),f("disabled",a.scheduleExportLoading||!a.canScheduleExport||a.scheduleExportForm.invalid),n(),p(" ",l(1803,919,"Wy\u015Blij")," "),n(2),v(a.canScheduleExport?-1:1804),n(),v(a.scheduleExportResponse?1805:-1),n(),v(a.scheduleExportResponse?1806:-1)}},dependencies:[Q,ee,ie,te,ne,oe,ae,re,ce,me,se,de,pe,_e,ue,xe,Ee,be,X,q,fe,Se,ve,Ie,Ce,he,H,J],styles:["#public[_ngcontent-%COMP%]{padding:16px}#public[_ngcontent-%COMP%]   .responseCode[_ngcontent-%COMP%]{max-height:400px;overflow:scroll}#public[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]{max-width:600px;width:100%}#public[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:20px}#public[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-weight:500;font-size:18px;padding-bottom:10px}#public[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .important[_ngcontent-%COMP%]{background-color:#ffbb3f;padding:2px;border-radius:4px}#public[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   pre[_ngcontent-%COMP%]{margin-bottom:1em;padding:12px 8px;width:auto;max-height:600px;overflow:auto;font-size:13px;background-color:var(--mat-sys-tertiary-container);border-radius:3px}#public[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   pre[_ngcontent-%COMP%]   code[_ngcontent-%COMP%]{white-space:inherit;padding:0;font-size:13px}#public[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{background-color:var(--mat-sys-tertiary-container);color:var(--mat-sys-on-background);border-collapse:collapse;border-radius:2px;border-spacing:0;margin:0 0 32px;width:100%;box-shadow:0 2px 2px #0000003d,0 0 2px #0000001f}#public[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{background:var(--mat-sys-tertiary);font-weight:400;max-width:100px;padding:13px 16px;text-align:left}#public[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.03);font-weight:400;font-size:14px;margin:0;padding:8px 16px;font-family:Roboto Mono,monospace}  .light-export .important{background-color:#ffbb3f!important;-webkit-print-color-adjust:exact}  .light-export pre{background-color:#eff0f1!important;-webkit-print-color-adjust:exact}  .light-export table th{background-color:#f5f5f5!important;-webkit-print-color-adjust:exact}  .light-export mat-divider{border-top-color:#0000001f!important;-webkit-print-color-adjust:exact}"]})}}return m})();var xt=[{path:"",component:Be},{path:"**",redirectTo:""}],Pe=(()=>{class m{static{this.\u0275fac=function(x){return new(x||m)}}static{this.\u0275mod=A({type:m})}static{this.\u0275inj=z({imports:[O.forChild(xt),O]})}}return m})();var Gt=(()=>{class m{static{this.\u0275fac=function(x){return new(x||m)}}static{this.\u0275mod=A({type:m})}static{this.\u0275inj=z({imports:[W,ye,Pe]})}}return m})();export{Gt as PublicModule};
