{
  "components": {
    "schemas": {
      "public_models.AkcijaPoArtikluFull": {
        "properties": {
          "artikl": {
            "$ref": "#/components/schemas/public_models.ArtiklSimple"
          },
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "maxKolicinaNaRacunu": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "naziv": {
            "example": "Naziv akcije",
            "type": "string"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "vrijediDo": {
            "example": "2021-12-31T23:59:59Z",
            "type": "string"
          },
          "vrijediOd": {
            "example": "2021-01-01T00:00:00Z",
            "type": "string"
          }
        },
        "required": [
          "artiklId",
          "id",
          "maxKolicinaNaRacunu",
          "naziv",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "valutaId",
          "vrijediDo",
          "vrijediOd"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.AkcijaPoArtikluSimple": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "maxKolicinaNaRacunu": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "naziv": {
            "example": "Naziv akcije",
            "type": "string"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "vrijediDo": {
            "example": "2021-12-31T23:59:59Z",
            "type": "string"
          },
          "vrijediOd": {
            "example": "2021-01-01T00:00:00Z",
            "type": "string"
          }
        },
        "required": [
          "artiklId",
          "id",
          "maxKolicinaNaRacunu",
          "naziv",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "valutaId",
          "vrijediDo",
          "vrijediOd"
        ],
        "type": "object"
      },
      "public_models.AkcijaPoGrupiArtikalaFull": {
        "properties": {
          "artiklGrupa": {
            "$ref": "#/components/schemas/public_models.ArtiklGrupaSimple"
          },
          "artiklGrupaId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "maxKolicinaNaRacunu": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "naziv": {
            "example": "Naziv akcije",
            "type": "string"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "vrijediDo": {
            "example": "2021-12-31T23:59:59Z",
            "type": "string"
          },
          "vrijediOd": {
            "example": "2021-01-01T00:00:00Z",
            "type": "string"
          }
        },
        "required": [
          "artiklGrupaId",
          "id",
          "maxKolicinaNaRacunu",
          "naziv",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "valutaId",
          "vrijediDo",
          "vrijediOd"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.AkcijaPoGrupiUslugaFull": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "maxKolicinaNaRacunu": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "naziv": {
            "example": "Naziv akcije",
            "type": "string"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "uslugeGrupa": {
            "$ref": "#/components/schemas/public_models.UslugeGrupaSimple"
          },
          "uslugeGrupaId": {
            "example": 1,
            "type": "integer"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "vrijediDo": {
            "example": "2021-12-31T23:59:59Z",
            "type": "string"
          },
          "vrijediOd": {
            "example": "2021-01-01T00:00:00Z",
            "type": "string"
          }
        },
        "required": [
          "id",
          "maxKolicinaNaRacunu",
          "naziv",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "uslugeGrupaId",
          "valutaId",
          "vrijediDo",
          "vrijediOd"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.AkcijaPoUsluziFull": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "maxKolicinaNaRacunu": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv akcije",
            "type": "string"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "usluga": {
            "$ref": "#/components/schemas/public_models.UslugaSimple"
          },
          "uslugaId": {
            "example": 1,
            "type": "integer"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "vrijediDo": {
            "example": "2021-12-31T23:59:59Z",
            "type": "string"
          },
          "vrijediOd": {
            "example": "2021-01-01T00:00:00Z",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "uslugaId",
          "valutaId",
          "vrijediDo",
          "vrijediOd"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.AkcijaPoUsluziSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "maxKolicinaNaRacunu": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv akcije",
            "type": "string"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "uslugaId": {
            "example": 1,
            "type": "integer"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "vrijediDo": {
            "example": "2021-12-31T23:59:59Z",
            "type": "string"
          },
          "vrijediOd": {
            "example": "2021-01-01T00:00:00Z",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "uslugaId",
          "valutaId",
          "vrijediDo",
          "vrijediOd"
        ],
        "type": "object"
      },
      "public_models.ArtiklDeklaracijaFull": {
        "properties": {
          "artikl": {
            "$ref": "#/components/schemas/public_models.ArtiklFull"
          },
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "brZaIspis": {
            "example": 10,
            "type": "integer"
          },
          "godina": {
            "example": 2025,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "imaMpc": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "opis": {
            "example": "Opis",
            "type": "string"
          },
          "primka": {
            "$ref": "#/components/schemas/public_models.PrimkaSimple"
          },
          "primkaId": {
            "example": 1,
            "type": "integer"
          },
          "proizvodac": {
            "$ref": "#/components/schemas/public_models.ProizvodacSimple"
          },
          "proizvodacId": {
            "example": 1,
            "type": "integer"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "uvoznikNaziv": {
            "example": "Uvoznik",
            "type": "string"
          },
          "zemljaPorijeklaNaziv": {
            "example": "Zemlja porijekla",
            "type": "string"
          }
        },
        "required": [
          "artiklId",
          "brZaIspis",
          "godina",
          "id",
          "imaMpc",
          "opis",
          "primkaId",
          "proizvodacId",
          "tvrtkaId",
          "uvoznikNaziv",
          "zemljaPorijeklaNaziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ArtiklDeklaracijaSimple": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "brZaIspis": {
            "example": 10,
            "type": "integer"
          },
          "godina": {
            "example": 2025,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "imaMpc": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "opis": {
            "example": "Opis",
            "type": "string"
          },
          "primkaId": {
            "example": 1,
            "type": "integer"
          },
          "proizvodacId": {
            "example": 1,
            "type": "integer"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "uvoznikNaziv": {
            "example": "Uvoznik",
            "type": "string"
          },
          "zemljaPorijeklaNaziv": {
            "example": "Zemlja porijekla",
            "type": "string"
          }
        },
        "required": [
          "artiklId",
          "brZaIspis",
          "godina",
          "id",
          "imaMpc",
          "opis",
          "primkaId",
          "proizvodacId",
          "tvrtkaId",
          "uvoznikNaziv",
          "zemljaPorijeklaNaziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ArtiklEanFull": {
        "properties": {
          "artikl": {
            "$ref": "#/components/schemas/public_models.ArtiklFull"
          },
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "ean": {
            "example": "1234567890123",
            "type": "string"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          }
        },
        "required": [
          "artiklId",
          "ean",
          "id",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ArtiklEanSimple": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "ean": {
            "example": "1234567890123",
            "type": "string"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          }
        },
        "required": [
          "artiklId",
          "ean",
          "id",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ArtiklFull": {
        "properties": {
          "akcijePoArtiklu": {
            "items": {
              "$ref": "#/components/schemas/public_models.AkcijaPoArtikluSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "artiklGrupa": {
            "$ref": "#/components/schemas/public_models.ArtiklGrupaSimple"
          },
          "artiklGrupaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "artikliEani": {
            "items": {
              "$ref": "#/components/schemas/public_models.ArtiklEanSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "artikliPoslovniProstori": {
            "items": {
              "$ref": "#/components/schemas/public_models.ArtiklPoslovniProstorSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "artikliSastojciSastojci": {
            "items": {
              "$ref": "#/components/schemas/public_models.ArtiklSastojakFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "brojArtikalaUPakiranju": {
            "default": 1,
            "example": 1,
            "type": "number"
          },
          "cijena": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "cijenaValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "cijenaValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "datumIVrijemeZadnjegUlaza": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "dopustitiProdajuRabatIznadMax": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "jamstvo": {
            "default": 0,
            "example": 1,
            "type": "integer"
          },
          "jedinicaMjere": {
            "$ref": "#/components/schemas/public_models.JedinicaMjereSimple"
          },
          "jedinicaMjereId": {
            "example": 1,
            "type": "integer"
          },
          "kaloMasa": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "kaloVolumen": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "kpdTrecaRazina": {
            "$ref": "#/components/schemas/public_models.KpdTrecaRazinaFull"
          },
          "kpdTrecaRazinaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "maxDopusteniRabat": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "maxKolicinaNaSkladistu": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "minKolicinaNaSkladistu": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "nabavnaCijena": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "nabavnaCijenaValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "nabavnaCijenaValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Artikl",
            "type": "string"
          },
          "negativnoStanje": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "nivelacijeCijene": {
            "items": {
              "$ref": "#/components/schemas/public_models.NivelacijaCijeneFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "normativ": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "normativKolicina": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "oslobodenjePoClanku39": {
            "example": false,
            "type": "boolean"
          },
          "porezniRazred": {
            "$ref": "#/components/schemas/public_models.PorezniRazredSimple"
          },
          "porezniRazredId": {
            "example": 1,
            "type": "integer"
          },
          "poslovniProstorIdZadnjegUlaza": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "poslovniProstorZadnjegUlaza": {
            "$ref": "#/components/schemas/public_models.PoslovniProstorSimple"
          },
          "povratnaNaknada": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "povratnaNaknadaIznos": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "povratnaNaknadaIznosValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "povratnaNaknadaIznosValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "proizvodac": {
            "$ref": "#/components/schemas/public_models.ProizvodacSimple"
          },
          "proizvodacId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "rabatiPartnerPoArtiklu": {
            "items": {
              "$ref": "#/components/schemas/public_models.RabatPartnerPoArtikluSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "rabatiPoArtiklu": {
            "items": {
              "$ref": "#/components/schemas/public_models.RabatPoArtikluSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "sifra": {
            "example": "00100001",
            "type": "string"
          },
          "tezinaBruto": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "tezinaNeto": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "zemljaPorijekla": {
            "example": "Hrvatska",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "brojArtikalaUPakiranju",
          "cijena",
          "cijenaValutaId",
          "dopustitiProdajuRabatIznadMax",
          "id",
          "jamstvo",
          "jedinicaMjereId",
          "kaloMasa",
          "kaloVolumen",
          "maxDopusteniRabat",
          "maxKolicinaNaSkladistu",
          "minKolicinaNaSkladistu",
          "nabavnaCijena",
          "nabavnaCijenaValutaId",
          "naziv",
          "negativnoStanje",
          "normativ",
          "oslobodenjePoClanku39",
          "porezniRazredId",
          "povratnaNaknada",
          "povratnaNaknadaIznos",
          "povratnaNaknadaIznosValutaId",
          "sifra",
          "tezinaBruto",
          "tezinaNeto",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ArtiklGrupaFull": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": "boolean"
          },
          "artikli": {
            "items": {
              "$ref": "#/components/schemas/public_models.ArtiklSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv grupe",
            "type": "string"
          },
          "sifra": {
            "example": "123456",
            "type": "string"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          }
        },
        "required": [
          "aktivan",
          "id",
          "naziv",
          "sifra",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ArtiklGrupaSimple": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": "boolean"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv grupe",
            "type": "string"
          },
          "sifra": {
            "example": "123456",
            "type": "string"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          }
        },
        "required": [
          "aktivan",
          "id",
          "naziv",
          "sifra",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ArtiklPoslovniProstorFull": {
        "properties": {
          "artikl": {
            "$ref": "#/components/schemas/public_models.ArtiklSimple"
          },
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "poslovniProstor": {
            "$ref": "#/components/schemas/public_models.PoslovniProstorSimple"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "stanje": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "stanjeNormativ": {
            "default": 0,
            "example": 1,
            "type": "number"
          }
        },
        "required": [
          "artiklId",
          "id",
          "poslovniProstorId",
          "stanje",
          "stanjeNormativ"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ArtiklPoslovniProstorSimple": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "stanje": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "stanjeNormativ": {
            "default": 0,
            "example": 1,
            "type": "number"
          }
        },
        "required": [
          "artiklId",
          "id",
          "poslovniProstorId",
          "stanje",
          "stanjeNormativ"
        ],
        "type": "object"
      },
      "public_models.ArtiklSastojakFull": {
        "properties": {
          "artikl": {
            "$ref": "#/components/schemas/public_models.ArtiklSimple"
          },
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "kolicina": {
            "default": 1,
            "example": 1,
            "type": "number"
          },
          "sastojakArtikl": {
            "$ref": "#/components/schemas/public_models.ArtiklFull"
          },
          "sastojakArtiklId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "sastojakUsluga": {
            "$ref": "#/components/schemas/public_models.UslugaFull"
          },
          "sastojakUslugaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "artiklId",
          "id",
          "kolicina"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ArtiklSimple": {
        "properties": {
          "artiklGrupaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "brojArtikalaUPakiranju": {
            "default": 1,
            "example": 1,
            "type": "number"
          },
          "cijena": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "cijenaValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "datumIVrijemeZadnjegUlaza": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "dopustitiProdajuRabatIznadMax": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "jamstvo": {
            "default": 0,
            "example": 1,
            "type": "integer"
          },
          "jedinicaMjereId": {
            "example": 1,
            "type": "integer"
          },
          "kaloMasa": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "kaloVolumen": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "kpdTrecaRazinaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "maxDopusteniRabat": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "maxKolicinaNaSkladistu": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "minKolicinaNaSkladistu": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "nabavnaCijena": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "nabavnaCijenaValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Artikl",
            "type": "string"
          },
          "negativnoStanje": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "normativ": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "normativKolicina": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "oslobodenjePoClanku39": {
            "example": false,
            "type": "boolean"
          },
          "porezniRazredId": {
            "example": 1,
            "type": "integer"
          },
          "poslovniProstorIdZadnjegUlaza": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "povratnaNaknada": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "povratnaNaknadaIznos": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "povratnaNaknadaIznosValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "proizvodacId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "sifra": {
            "example": "00100001",
            "type": "string"
          },
          "tezinaBruto": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "tezinaNeto": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "zemljaPorijekla": {
            "example": "Hrvatska",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "brojArtikalaUPakiranju",
          "cijena",
          "cijenaValutaId",
          "dopustitiProdajuRabatIznadMax",
          "id",
          "jamstvo",
          "jedinicaMjereId",
          "kaloMasa",
          "kaloVolumen",
          "maxDopusteniRabat",
          "maxKolicinaNaSkladistu",
          "minKolicinaNaSkladistu",
          "nabavnaCijena",
          "nabavnaCijenaValutaId",
          "naziv",
          "negativnoStanje",
          "normativ",
          "oslobodenjePoClanku39",
          "porezniRazredId",
          "povratnaNaknada",
          "povratnaNaknadaIznos",
          "povratnaNaknadaIznosValutaId",
          "sifra",
          "tezinaBruto",
          "tezinaNeto",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.DeklaracijaTipSimple": {
        "properties": {
          "brojRedakaNaPapiru": {
            "example": 1,
            "type": "integer"
          },
          "brojStupacaNaPapiru": {
            "example": 1,
            "type": "integer"
          },
          "horiznotalnaMargina": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "ispisBezBarkoda": {
            "example": false,
            "type": "boolean"
          },
          "ispisBezCijene": {
            "example": false,
            "type": "boolean"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          },
          "sirina": {
            "example": 1,
            "type": "integer"
          },
          "vertikalnaMargina": {
            "example": 1,
            "type": "integer"
          },
          "visina": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "brojRedakaNaPapiru",
          "brojStupacaNaPapiru",
          "horiznotalnaMargina",
          "id",
          "ispisBezBarkoda",
          "ispisBezCijene",
          "naziv",
          "sirina",
          "vertikalnaMargina",
          "visina"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.DnevniPrometFull": {
        "properties": {
          "datumIVrijemeUnosa": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "gotovina": {
            "example": 1,
            "type": "number"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "kartice": {
            "example": 1,
            "type": "number"
          },
          "karticeOnline": {
            "example": 1,
            "type": "number"
          },
          "korisnik": {
            "$ref": "#/components/schemas/public_models.KorisnikSimple"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": [
              "string",
              "null"
            ]
          },
          "naplatniUredaj": {
            "$ref": "#/components/schemas/public_models.NaplatniUredajSimple"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "ostalo": {
            "example": 1,
            "type": "number"
          },
          "transakcijskiRacun": {
            "example": 1,
            "type": "number"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "ukupno": {
            "example": 1,
            "type": "number"
          },
          "zaDatum": {
            "example": "2025-01-01",
            "type": "string"
          }
        },
        "required": [
          "gotovina",
          "id",
          "kartice",
          "karticeOnline",
          "naplatniUredajId",
          "ostalo",
          "transakcijskiRacun",
          "tvrtkaId",
          "ukupno",
          "zaDatum"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.DobavljacFull": {
        "properties": {
          "drzavaNaziv": {
            "example": "Drzava",
            "type": "string"
          },
          "email": {
            "example": "email@example.com",
            "type": "string"
          },
          "gradNaziv": {
            "example": "Grad",
            "type": "string"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "jeIno": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "korisnik": {
            "$ref": "#/components/schemas/public_models.KorisnikSimple"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "naziv": {
            "example": "Dobavljac",
            "type": "string"
          },
          "oib": {
            "example": "12345678901",
            "type": "string"
          },
          "povratnice": {
            "items": {
              "$ref": "#/components/schemas/public_models.PovratnicaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "primke": {
            "items": {
              "$ref": "#/components/schemas/public_models.PrimkaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "telefonskiBroj": {
            "example": "+385123456789",
            "type": "string"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "ulica": {
            "example": "Ulica",
            "type": "string"
          },
          "zupanijaNaziv": {
            "example": "Zupanija",
            "type": "string"
          }
        },
        "required": [
          "drzavaNaziv",
          "email",
          "gradNaziv",
          "id",
          "jeIno",
          "korisnikId",
          "naziv",
          "oib",
          "telefonskiBroj",
          "tvrtkaId",
          "ulica",
          "zupanijaNaziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.DobavljacSimple": {
        "properties": {
          "drzavaNaziv": {
            "example": "Drzava",
            "type": "string"
          },
          "email": {
            "example": "email@example.com",
            "type": "string"
          },
          "gradNaziv": {
            "example": "Grad",
            "type": "string"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "jeIno": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "naziv": {
            "example": "Dobavljac",
            "type": "string"
          },
          "oib": {
            "example": "12345678901",
            "type": "string"
          },
          "telefonskiBroj": {
            "example": "+385123456789",
            "type": "string"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "ulica": {
            "example": "Ulica",
            "type": "string"
          },
          "zupanijaNaziv": {
            "example": "Zupanija",
            "type": "string"
          }
        },
        "required": [
          "drzavaNaziv",
          "email",
          "gradNaziv",
          "id",
          "jeIno",
          "korisnikId",
          "naziv",
          "oib",
          "telefonskiBroj",
          "tvrtkaId",
          "ulica",
          "zupanijaNaziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.DokumentTipSimple": {
        "properties": {
          "dokumentVrstaId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Dokument tip",
            "type": "string"
          }
        },
        "required": [
          "dokumentVrstaId",
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.DokumentVrstaSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Dokument vrsta",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.DrzavaSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Drzava",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.EracunVrstaSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Fiskalizacija v1",
            "type": "string"
          },
          "oznaka": {
            "example": "F1",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv",
          "oznaka"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.FiskalizacijaStatusSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Skica",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.GodinaNaplatniUredajSimple": {
        "properties": {
          "brPrvePonude": {
            "example": 1,
            "type": "integer"
          },
          "brPrvogRacuna": {
            "example": 1,
            "type": "integer"
          },
          "godinaId": {
            "example": 1,
            "type": "integer"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "brPrvePonude",
          "brPrvogRacuna",
          "godinaId",
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_models.GodinaPoslovniProstorSimple": {
        "properties": {
          "brPrveInventure": {
            "example": 1,
            "type": "integer"
          },
          "brPrveMeduskladisnice": {
            "example": 1,
            "type": "integer"
          },
          "brPrveOtpremnice": {
            "example": 1,
            "type": "integer"
          },
          "brPrvePovratnice": {
            "example": 1,
            "type": "integer"
          },
          "brPrvePrimke": {
            "example": 1,
            "type": "integer"
          },
          "godinaId": {
            "example": 1,
            "type": "integer"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "brPrveInventure",
          "brPrveMeduskladisnice",
          "brPrveOtpremnice",
          "brPrvePovratnice",
          "brPrvePrimke",
          "godinaId",
          "poslovniProstorId"
        ],
        "type": "object"
      },
      "public_models.GradSimple": {
        "properties": {
          "drzavaId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Grad",
            "type": "string"
          },
          "posta": {
            "example": "12345",
            "type": "string"
          },
          "zupanijaId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "drzavaId",
          "id",
          "naziv",
          "posta",
          "zupanijaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.InterniAktSimple": {
        "properties": {
          "download": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          },
          "url": {
            "example": "https://example.com/akt.pdf",
            "type": "string"
          }
        },
        "required": [
          "download",
          "id",
          "naziv",
          "url"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.InventuraArtiklFull": {
        "properties": {
          "artikl": {
            "$ref": "#/components/schemas/public_models.ArtiklFull"
          },
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "inventura": {
            "$ref": "#/components/schemas/public_models.InventuraSimple"
          },
          "inventuraId": {
            "example": 1,
            "type": "integer"
          },
          "kolicina": {
            "example": 10,
            "type": "number"
          },
          "maloprodajnaCijena": {
            "example": 10,
            "type": "number"
          },
          "maloprodajnaCijenaValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "maloprodajnaCijenaValutaId": {
            "example": 1,
            "type": "integer"
          },
          "nabavnaCijena": {
            "example": 10,
            "type": "number"
          },
          "nabavnaCijenaValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "nabavnaCijenaValutaId": {
            "example": 1,
            "type": "integer"
          },
          "staraKolicina": {
            "example": 10,
            "type": "number"
          }
        },
        "required": [
          "artiklId",
          "id",
          "inventuraId",
          "kolicina",
          "maloprodajnaCijena",
          "maloprodajnaCijenaValutaId",
          "nabavnaCijena",
          "nabavnaCijenaValutaId",
          "staraKolicina"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.InventuraFull": {
        "properties": {
          "datum": {
            "example": "2025-01-01",
            "type": "string"
          },
          "datumZakljucavanja": {
            "example": "2025-01-01",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "inventuraArtikli": {
            "items": {
              "$ref": "#/components/schemas/public_models.InventuraArtiklFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "korisnik": {
            "$ref": "#/components/schemas/public_models.KorisnikSimple"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "opis": {
            "example": "Opis",
            "type": "string"
          },
          "oznaka": {
            "example": "1-1-2025",
            "type": "string"
          },
          "poslovniProstor": {
            "$ref": "#/components/schemas/public_models.PoslovniProstorSimple"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          }
        },
        "required": [
          "datum",
          "id",
          "korisnikId",
          "opis",
          "oznaka",
          "poslovniProstorId",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.InventuraSimple": {
        "properties": {
          "datum": {
            "example": "2025-01-01",
            "type": "string"
          },
          "datumZakljucavanja": {
            "example": "2025-01-01",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "opis": {
            "example": "Opis",
            "type": "string"
          },
          "oznaka": {
            "example": "1-1-2025",
            "type": "string"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          }
        },
        "required": [
          "datum",
          "id",
          "korisnikId",
          "opis",
          "oznaka",
          "poslovniProstorId",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.JedinicaMjereSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "kom",
            "type": "string"
          },
          "zaArtikle": {
            "example": true,
            "type": "boolean"
          },
          "zaUsluge": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "naziv",
          "zaArtikle",
          "zaUsluge"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.JezikSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.KaloSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "masa": {
            "example": 0.5,
            "type": "number"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          },
          "volumen": {
            "example": 0.5,
            "type": "number"
          }
        },
        "required": [
          "id",
          "masa",
          "naziv",
          "volumen"
        ],
        "type": "object"
      },
      "public_models.KorisnikAkcijaSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "poruka": {
            "example": "Poruka",
            "type": "string"
          },
          "timestamp": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          }
        },
        "required": [
          "id",
          "korisnikId",
          "naplatniUredajId",
          "poruka",
          "timestamp"
        ],
        "type": "object"
      },
      "public_models.KorisnikFull": {
        "properties": {
          "adminPoslovnice": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "adminTvrtke": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "aktivan": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "drzava": {
            "$ref": "#/components/schemas/public_models.DrzavaSimple"
          },
          "drzavaId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "email": {
            "example": "korisnik@domena.hr",
            "type": "string"
          },
          "grad": {
            "$ref": "#/components/schemas/public_models.GradSimple"
          },
          "gradId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "id": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "imeIPrezime": {
            "example": "Ime Prezime",
            "type": "string"
          },
          "korisnikAkcije": {
            "items": {
              "$ref": "#/components/schemas/public_models.KorisnikAkcijaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "oib": {
            "example": "12345678901",
            "type": "string"
          },
          "oznakaNaRacunu": {
            "example": "Oznaka",
            "type": "string"
          },
          "poslovniProstor": {
            "$ref": "#/components/schemas/public_models.PoslovniProstorSimple"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "potvrden": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "registriranDana": {
            "default": "now()",
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "telefonskiBroj": {
            "example": "0911234567",
            "type": [
              "string",
              "null"
            ]
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": [
              "string",
              "null"
            ]
          },
          "ulicaIBroj": {
            "example": "Ulica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanija": {
            "$ref": "#/components/schemas/public_models.ZupanijaSimple"
          },
          "zupanijaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "adminPoslovnice",
          "adminTvrtke",
          "aktivan",
          "drzavaId",
          "email",
          "id",
          "imeIPrezime",
          "oib",
          "oznakaNaRacunu",
          "potvrden",
          "registriranDana"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.KorisnikFullTvrtkaPoslovniProstor": {
        "properties": {
          "adminPoslovnice": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "adminTvrtke": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "aktivan": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "drzava": {
            "$ref": "#/components/schemas/public_models.DrzavaSimple"
          },
          "drzavaId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "email": {
            "example": "korisnik@domena.hr",
            "type": "string"
          },
          "grad": {
            "$ref": "#/components/schemas/public_models.GradSimple"
          },
          "gradId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "id": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "imeIPrezime": {
            "example": "Ime Prezime",
            "type": "string"
          },
          "korisnikAkcije": {
            "items": {
              "$ref": "#/components/schemas/public_models.KorisnikAkcijaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "oib": {
            "example": "12345678901",
            "type": "string"
          },
          "oznakaNaRacunu": {
            "example": "Oznaka",
            "type": "string"
          },
          "poslovniProstor": {
            "$ref": "#/components/schemas/public_models.PoslovniProstorFull"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "potvrden": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "registriranDana": {
            "default": "now()",
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "telefonskiBroj": {
            "example": "0911234567",
            "type": [
              "string",
              "null"
            ]
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaFull"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": [
              "string",
              "null"
            ]
          },
          "ulicaIBroj": {
            "example": "Ulica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanija": {
            "$ref": "#/components/schemas/public_models.ZupanijaSimple"
          },
          "zupanijaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "adminPoslovnice",
          "adminTvrtke",
          "aktivan",
          "drzavaId",
          "email",
          "id",
          "imeIPrezime",
          "oib",
          "oznakaNaRacunu",
          "potvrden",
          "registriranDana"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.KorisnikSimple": {
        "properties": {
          "adminPoslovnice": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "adminTvrtke": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "aktivan": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "drzavaId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "email": {
            "example": "korisnik@domena.hr",
            "type": "string"
          },
          "gradId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "id": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "imeIPrezime": {
            "example": "Ime Prezime",
            "type": "string"
          },
          "oib": {
            "example": "12345678901",
            "type": "string"
          },
          "oznakaNaRacunu": {
            "example": "Oznaka",
            "type": "string"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "potvrden": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "registriranDana": {
            "default": "now()",
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "telefonskiBroj": {
            "example": "0911234567",
            "type": [
              "string",
              "null"
            ]
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": [
              "string",
              "null"
            ]
          },
          "ulicaIBroj": {
            "example": "Ulica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "adminPoslovnice",
          "adminTvrtke",
          "aktivan",
          "drzavaId",
          "email",
          "id",
          "imeIPrezime",
          "oib",
          "oznakaNaRacunu",
          "potvrden",
          "registriranDana"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.KpdDrugaRazinaFull": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "kod": {
            "example": "01.1",
            "type": "string"
          },
          "kpdPrvaRazina": {
            "$ref": "#/components/schemas/public_models.KpdPrvaRazinaFull"
          },
          "kpdPrvaRazinaId": {
            "example": 1,
            "type": "integer"
          },
          "kpdTreceRazine": {
            "items": {
              "$ref": "#/components/schemas/public_models.KpdTrecaRazinaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "naziv": {
            "example": "Naziv druge razine",
            "type": "string"
          }
        },
        "required": [
          "id",
          "kod",
          "kpdPrvaRazina",
          "kpdPrvaRazinaId",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.KpdDrugaRazinaSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "kod": {
            "example": "01.1",
            "type": "string"
          },
          "kpdPrvaRazinaId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv druge razine",
            "type": "string"
          }
        },
        "required": [
          "id",
          "kod",
          "kpdPrvaRazinaId",
          "naziv"
        ],
        "type": "object"
      },
      "public_models.KpdGrupaFull": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "kpdPrveRazine": {
            "items": {
              "$ref": "#/components/schemas/public_models.KpdPrvaRazinaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "naziv": {
            "example": "Naziv grupe",
            "type": "string"
          },
          "slovo": {
            "example": "A",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv",
          "slovo"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.KpdGrupaSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv grupe",
            "type": "string"
          },
          "slovo": {
            "example": "A",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv",
          "slovo"
        ],
        "type": "object"
      },
      "public_models.KpdPrvaRazinaFull": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "kod": {
            "example": "01",
            "type": "string"
          },
          "kpdDrugeRazine": {
            "items": {
              "$ref": "#/components/schemas/public_models.KpdDrugaRazinaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "kpdGrupa": {
            "$ref": "#/components/schemas/public_models.KpdGrupaSimple"
          },
          "kpdGrupaId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv prve razine",
            "type": "string"
          }
        },
        "required": [
          "id",
          "kod",
          "kpdGrupa",
          "kpdGrupaId",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.KpdPrvaRazinaSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "kod": {
            "example": "01",
            "type": "string"
          },
          "kpdGrupaId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv prve razine",
            "type": "string"
          }
        },
        "required": [
          "id",
          "kod",
          "kpdGrupaId",
          "naziv"
        ],
        "type": "object"
      },
      "public_models.KpdTrecaRazinaFull": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "kod": {
            "example": "01.11.1",
            "type": "string"
          },
          "kpdDrugaRazina": {
            "$ref": "#/components/schemas/public_models.KpdDrugaRazinaFull"
          },
          "kpdDrugaRazinaId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv treće razine",
            "type": "string"
          }
        },
        "required": [
          "id",
          "kod",
          "kpdDrugaRazina",
          "kpdDrugaRazinaId",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.KpdTrecaRazinaSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "kod": {
            "example": "01.11.1",
            "type": "string"
          },
          "kpdDrugaRazinaId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv treće razine",
            "type": "string"
          }
        },
        "required": [
          "id",
          "kod",
          "kpdDrugaRazinaId",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.KupacTipSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "jeTuzemnaPravna": {
            "example": true,
            "type": "boolean"
          },
          "naziv": {
            "example": "B2C",
            "type": "string"
          }
        },
        "required": [
          "id",
          "jeTuzemnaPravna",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.MeduskladisnicaArtiklSimple": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "kolicina": {
            "example": 10,
            "type": "number"
          },
          "meduskladisnicaId": {
            "example": 1,
            "type": "integer"
          },
          "staroStanje": {
            "example": 100,
            "type": "number"
          }
        },
        "required": [
          "artiklId",
          "id",
          "kolicina",
          "meduskladisnicaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.MeduskladisnicaTipSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": "object"
      },
      "public_models.NacinPlacanjaSimple": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": "boolean"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          },
          "oznaka": {
            "example": "O",
            "maxLength": 1,
            "type": "string"
          }
        },
        "required": [
          "aktivan",
          "id",
          "naziv",
          "oznaka"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.NaplatniUredajFull": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": "boolean"
          },
          "godineNaplatniUredaji": {
            "items": {
              "$ref": "#/components/schemas/public_models.GodinaNaplatniUredajSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          },
          "poslovniProstor": {
            "$ref": "#/components/schemas/public_models.PoslovniProstorSimple"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          }
        },
        "required": [
          "aktivan",
          "id",
          "naziv",
          "poslovniProstorId",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.NaplatniUredajSimple": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": "boolean"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          }
        },
        "required": [
          "aktivan",
          "id",
          "naziv",
          "poslovniProstorId",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.NivelacijaCijeneFull": {
        "properties": {
          "artikl": {
            "$ref": "#/components/schemas/public_models.ArtiklFull"
          },
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "kolicina": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "nabavnaCijena": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "nabavnaCijenaValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "nabavnaCijenaValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "nivelacijaCijeneGrupa": {
            "$ref": "#/components/schemas/public_models.NivelacijaCijeneGrupaSimple"
          },
          "nivelacijaCijeneGrupaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "novaCijena": {
            "example": 1,
            "type": "number"
          },
          "novaCijenaValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "novaCijenaValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "razlog": {
            "example": "Razlog nivelacije cijene",
            "type": "string"
          },
          "staraCijena": {
            "example": 1,
            "type": "number"
          },
          "staraCijenaValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "staraCijenaValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "timestamp": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          }
        },
        "required": [
          "artiklId",
          "id",
          "kolicina",
          "nabavnaCijena",
          "nabavnaCijenaValutaId",
          "novaCijena",
          "novaCijenaValutaId",
          "razlog",
          "staraCijena",
          "staraCijenaValutaId",
          "timestamp",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.NivelacijaCijeneGrupaFull": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "korisnik": {
            "$ref": "#/components/schemas/public_models.KorisnikSimple"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": [
              "string",
              "null"
            ]
          },
          "nivelacijeCijene": {
            "items": {
              "$ref": "#/components/schemas/public_models.NivelacijaCijeneFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "oznaka": {
            "example": "1-2025",
            "type": "string"
          },
          "timestamp": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          }
        },
        "required": [
          "id",
          "oznaka",
          "timestamp",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.NivelacijaCijeneGrupaSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": [
              "string",
              "null"
            ]
          },
          "oznaka": {
            "example": "1-2025",
            "type": "string"
          },
          "timestamp": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          }
        },
        "required": [
          "id",
          "oznaka",
          "timestamp",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.OslobodenjePoClanku39TipSimple": {
        "properties": {
          "opis": {
            "example": "Opis",
            "type": "string"
          },
          "tocka": {
            "example": "a",
            "type": "string"
          }
        },
        "required": [
          "opis",
          "tocka"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.OtpremnicaArtiklSimple": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "kolicina": {
            "example": 1,
            "type": "number"
          },
          "naziv": {
            "example": "Artikl naziv",
            "type": "string"
          },
          "otpremnicaId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "artiklId",
          "id",
          "kolicina",
          "otpremnicaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.OtpremnicaSimple": {
        "properties": {
          "datumIVrijeme": {
            "default": "now()",
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "jezikId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": [
              "string",
              "null"
            ]
          },
          "otpremnicaTipId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "oznaka": {
            "example": "1/1/2025",
            "type": "string"
          },
          "partnerId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "racunId": {
            "example": 1,
            "type": "integer"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "vrstaOtpremeId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "datumIVrijeme",
          "id",
          "jezikId",
          "otpremnicaTipId",
          "oznaka",
          "poslovniProstorId",
          "racunId",
          "tvrtkaId",
          "vrstaOtpremeId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.OtpremnicaTipSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": "object"
      },
      "public_models.PartnerFull": {
        "properties": {
          "dozvolitiProdajuBezRokaPlacanja": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "dozvolitiProdajuSOdgodom": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "drzavaNaziv": {
            "example": "Drzava",
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "example": "partner@domena.hr",
            "type": [
              "string",
              "null"
            ]
          },
          "gradNaziv": {
            "example": "Grad",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "jeIno": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "jezik": {
            "$ref": "#/components/schemas/public_models.JezikSimple"
          },
          "jezikId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "korisnik": {
            "$ref": "#/components/schemas/public_models.KorisnikSimple"
          },
          "korisnikUuid": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacTip": {
            "$ref": "#/components/schemas/public_models.KupacTipSimple"
          },
          "kupacTipId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "maxVrijednostRobeSOdgodomPlacanja": {
            "default": 0,
            "example": 100,
            "type": "number"
          },
          "maxVrijednostRobeSOdgodomPlacanjaValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "maxVrijednostRobeSOdgodomPlacanjaValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "napomena": {
            "example": "Napomena",
            "type": [
              "string",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          },
          "odgodaPlacanjaDana": {
            "default": 0,
            "example": 1,
            "type": "integer"
          },
          "oib": {
            "example": "12345678901",
            "type": "string"
          },
          "partnerTip": {
            "$ref": "#/components/schemas/public_models.PartnerTipSimple"
          },
          "partnerTipId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "posta": {
            "example": "10000",
            "type": [
              "string",
              "null"
            ]
          },
          "postanskiBroj": {
            "example": "10000",
            "type": [
              "string",
              "null"
            ]
          },
          "telefonskiBroj": {
            "example": "0911234567",
            "type": [
              "string",
              "null"
            ]
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "ulicaIBroj": {
            "example": "Ulica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaNaziv": {
            "example": "Zupanija",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "dozvolitiProdajuBezRokaPlacanja",
          "dozvolitiProdajuSOdgodom",
          "id",
          "jeIno",
          "jezikId",
          "kupacTipId",
          "maxVrijednostRobeSOdgodomPlacanja",
          "maxVrijednostRobeSOdgodomPlacanjaValutaId",
          "naziv",
          "odgodaPlacanjaDana",
          "oib",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PartnerOpomenaSimple": {
        "properties": {
          "autoSlanje": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "autoSlanjeDana": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "datum": {
            "default": "now()",
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "email": {
            "example": "partner@domena.hr",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "iznos": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": [
              "string",
              "null"
            ]
          },
          "opis": {
            "example": "Opis",
            "type": "string"
          },
          "partnerId": {
            "example": 1,
            "type": "integer"
          },
          "placeno": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "posljednjeSlanje": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "racunId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "autoSlanje",
          "datum",
          "id",
          "iznos",
          "opis",
          "partnerId",
          "placeno",
          "tvrtkaId",
          "valutaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PartnerSimple": {
        "properties": {
          "dozvolitiProdajuBezRokaPlacanja": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "dozvolitiProdajuSOdgodom": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "drzavaNaziv": {
            "example": "Drzava",
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "example": "partner@domena.hr",
            "type": [
              "string",
              "null"
            ]
          },
          "gradNaziv": {
            "example": "Grad",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "jeIno": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "jezikId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "korisnikUuid": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacTipId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "maxVrijednostRobeSOdgodomPlacanja": {
            "default": 0,
            "example": 100,
            "type": "number"
          },
          "maxVrijednostRobeSOdgodomPlacanjaValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "napomena": {
            "example": "Napomena",
            "type": [
              "string",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          },
          "odgodaPlacanjaDana": {
            "default": 0,
            "example": 1,
            "type": "integer"
          },
          "oib": {
            "example": "12345678901",
            "type": "string"
          },
          "partnerTipId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "posta": {
            "example": "10000",
            "type": [
              "string",
              "null"
            ]
          },
          "postanskiBroj": {
            "example": "10000",
            "type": [
              "string",
              "null"
            ]
          },
          "telefonskiBroj": {
            "example": "0911234567",
            "type": [
              "string",
              "null"
            ]
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "ulicaIBroj": {
            "example": "Ulica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaNaziv": {
            "example": "Zupanija",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "dozvolitiProdajuBezRokaPlacanja",
          "dozvolitiProdajuSOdgodom",
          "id",
          "jeIno",
          "jezikId",
          "kupacTipId",
          "maxVrijednostRobeSOdgodomPlacanja",
          "maxVrijednostRobeSOdgodomPlacanjaValutaId",
          "naziv",
          "odgodaPlacanjaDana",
          "oib",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PartnerTipSimple": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": "boolean"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "jePravna": {
            "example": true,
            "type": "boolean"
          },
          "naziv": {
            "example": "Partner Tip",
            "type": "string"
          }
        },
        "required": [
          "aktivan",
          "id",
          "jePravna",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PonavljajuciRacunFull": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": "boolean"
          },
          "danDospijecaId": {
            "example": 1,
            "type": "integer"
          },
          "danId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "korisnik": {
            "$ref": "#/components/schemas/public_models.KorisnikSimple"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "naplatniUredaj": {
            "$ref": "#/components/schemas/public_models.NaplatniUredajSimple"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          },
          "ponavljajuciRacunPartneri": {
            "items": {
              "$ref": "#/components/schemas/public_models.PonavljajuciRacunPartnerSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "ponuda": {
            "$ref": "#/components/schemas/public_models.PonudaSimple"
          },
          "ponudaId": {
            "example": 1,
            "type": "integer"
          },
          "poslovniProstor": {
            "$ref": "#/components/schemas/public_models.PoslovniProstorSimple"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "racuni": {
            "items": {
              "$ref": "#/components/schemas/public_models.RacunSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          }
        },
        "required": [
          "aktivan",
          "danDospijecaId",
          "danId",
          "id",
          "korisnikId",
          "naplatniUredajId",
          "naziv",
          "ponudaId",
          "poslovniProstorId",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PonavljajuciRacunPartnerSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "partnerId": {
            "example": 1,
            "type": "integer"
          },
          "ponavljajuciRacunId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "partnerId",
          "ponavljajuciRacunId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PonavljajuciRacunSimple": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": "boolean"
          },
          "danDospijecaId": {
            "example": 1,
            "type": "integer"
          },
          "danId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          },
          "ponudaId": {
            "example": 1,
            "type": "integer"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          }
        },
        "required": [
          "aktivan",
          "danDospijecaId",
          "danId",
          "id",
          "korisnikId",
          "naplatniUredajId",
          "naziv",
          "ponudaId",
          "poslovniProstorId",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PonudaFull": {
        "properties": {
          "datumIVrijemeIzrade": {
            "default": "now()",
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "iznos": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "jePpo": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "jezik": {
            "$ref": "#/components/schemas/public_models.JezikSimple"
          },
          "jezikId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "korisnik": {
            "$ref": "#/components/schemas/public_models.KorisnikSimple"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacDrzavaNaziv": {
            "example": "Hrvatska",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacEmail": {
            "example": "kupac@kupac.hr",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacGradNaziv": {
            "example": "Zagreb",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacNaziv": {
            "example": "Kupac d.o.o.",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacOib": {
            "example": "12345678901",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacUlicaIBroj": {
            "example": "Ulica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacZupanijaNaziv": {
            "example": "Zagrebačka županija",
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "example": "HR00",
            "type": [
              "string",
              "null"
            ]
          },
          "nacinPlacanja": {
            "$ref": "#/components/schemas/public_models.NacinPlacanjaSimple"
          },
          "nacinPlacanjaId": {
            "default": 3,
            "example": 1,
            "type": "integer"
          },
          "naplatniUredaj": {
            "$ref": "#/components/schemas/public_models.NaplatniUredajSimple"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "napomena": {
            "example": "Napomena",
            "type": [
              "string",
              "null"
            ]
          },
          "oznaka": {
            "example": "1/1/1",
            "type": "string"
          },
          "partner": {
            "$ref": "#/components/schemas/public_models.PartnerSimple"
          },
          "partnerId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "podaciOKupcu": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "ponudaStavke": {
            "items": {
              "$ref": "#/components/schemas/public_models.PonudaStavkaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "ponudaTip": {
            "$ref": "#/components/schemas/public_models.PonudaTipSimple"
          },
          "ponudaTipId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "popust": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "poslovniProstor": {
            "$ref": "#/components/schemas/public_models.PoslovniProstorSimple"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "pozivNaBroj": {
            "example": "Poziv na broj",
            "type": [
              "string",
              "null"
            ]
          },
          "racuni": {
            "items": {
              "$ref": "#/components/schemas/public_models.RacunSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "trajanjePonudeDana": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "trebaFisk": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "zakljucanoFiskaliziranoTimestamp": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "zakljucanoIsprintan": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "zakljucanoJIR": {
            "example": "2cf55235-9470-4b5c-a539-463f52b109d2",
            "type": [
              "string",
              "null"
            ]
          },
          "zakljucanoTimestamp": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "zakljucanoZKI": {
            "example": "a1e6b1428f0cc755f0c82aa7a1327e35",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "datumIVrijemeIzrade",
          "id",
          "jePpo",
          "jezikId",
          "nacinPlacanjaId",
          "naplatniUredajId",
          "oznaka",
          "podaciOKupcu",
          "ponudaTipId",
          "popust",
          "popustBrojcano",
          "poslovniProstorId",
          "trebaFisk",
          "tvrtkaId",
          "valutaId",
          "zakljucanoIsprintan"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PonudaSimple": {
        "properties": {
          "datumIVrijemeIzrade": {
            "default": "now()",
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "iznos": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "jePpo": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "jezikId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacDrzavaNaziv": {
            "example": "Hrvatska",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacEmail": {
            "example": "kupac@kupac.hr",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacGradNaziv": {
            "example": "Zagreb",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacNaziv": {
            "example": "Kupac d.o.o.",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacOib": {
            "example": "12345678901",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacUlicaIBroj": {
            "example": "Ulica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacZupanijaNaziv": {
            "example": "Zagrebačka županija",
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "example": "HR00",
            "type": [
              "string",
              "null"
            ]
          },
          "nacinPlacanjaId": {
            "default": 3,
            "example": 1,
            "type": "integer"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "napomena": {
            "example": "Napomena",
            "type": [
              "string",
              "null"
            ]
          },
          "oznaka": {
            "example": "1/1/1",
            "type": "string"
          },
          "partnerId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "podaciOKupcu": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "ponudaTipId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "popust": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "pozivNaBroj": {
            "example": "Poziv na broj",
            "type": [
              "string",
              "null"
            ]
          },
          "trajanjePonudeDana": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "trebaFisk": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "zakljucanoFiskaliziranoTimestamp": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "zakljucanoIsprintan": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "zakljucanoJIR": {
            "example": "2cf55235-9470-4b5c-a539-463f52b109d2",
            "type": [
              "string",
              "null"
            ]
          },
          "zakljucanoTimestamp": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "zakljucanoZKI": {
            "example": "a1e6b1428f0cc755f0c82aa7a1327e35",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "datumIVrijemeIzrade",
          "id",
          "jePpo",
          "jezikId",
          "nacinPlacanjaId",
          "naplatniUredajId",
          "oznaka",
          "podaciOKupcu",
          "ponudaTipId",
          "popust",
          "popustBrojcano",
          "poslovniProstorId",
          "trebaFisk",
          "tvrtkaId",
          "valutaId",
          "zakljucanoIsprintan"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PonudaSlanjeFull": {
        "properties": {
          "datumIVrijeme": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "email": {
            "example": "email@example.com",
            "type": "string"
          },
          "korisnik": {
            "$ref": "#/components/schemas/public_models.KorisnikSimple"
          },
          "korisnikUuid": {
            "example": "korisnikUuid",
            "type": "string"
          },
          "ponuda": {
            "$ref": "#/components/schemas/public_models.PonudaSimple"
          },
          "ponudaId": {
            "example": 1,
            "type": "integer"
          },
          "status": {
            "example": true,
            "type": "boolean"
          },
          "uuid": {
            "example": "uuid",
            "type": "string"
          }
        },
        "required": [
          "datumIVrijeme",
          "email",
          "korisnikUuid",
          "ponudaId",
          "status",
          "uuid"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PonudaStavkaFull": {
        "properties": {
          "artikl": {
            "$ref": "#/components/schemas/public_models.ArtiklSimple"
          },
          "artiklId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "cijena": {
            "example": 1,
            "type": "number"
          },
          "cijenaValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "cijenaValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "jedinicaMjere": {
            "$ref": "#/components/schemas/public_models.JedinicaMjereSimple"
          },
          "jedinicaMjereId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "kolicina": {
            "default": 1,
            "example": 1,
            "type": "number"
          },
          "maxKolicinaNaRacunu": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "naziv": {
            "example": "Naziv stavke",
            "type": "string"
          },
          "ponuda": {
            "$ref": "#/components/schemas/public_models.PonudaSimple"
          },
          "ponudaId": {
            "example": 1,
            "type": "integer"
          },
          "ponudaStavka": {
            "$ref": "#/components/schemas/public_models.PonudaStavkaPonudaStavkaPovezanaSimple"
          },
          "ponudaStavkePovezane": {
            "items": {
              "$ref": "#/components/schemas/public_models.PonudaStavkaPonudaStavkaPovezanaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "popust": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "popustValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "popustValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "porezniRazred": {
            "$ref": "#/components/schemas/public_models.PorezniRazredSimple"
          },
          "porezniRazredId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "poslovniProstor": {
            "$ref": "#/components/schemas/public_models.PoslovniProstorSimple"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "usluga": {
            "$ref": "#/components/schemas/public_models.UslugaSimple"
          },
          "uslugaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "cijena",
          "cijenaValutaId",
          "id",
          "kolicina",
          "maxKolicinaNaRacunu",
          "naziv",
          "ponudaId",
          "popust",
          "popustBrojcano",
          "popustValutaId",
          "poslovniProstorId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PonudaStavkaPonudaStavkaPovezanaSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "ponudaStavkaId": {
            "example": 1,
            "type": "integer"
          },
          "ponudaStavkaPovezanaId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "ponudaStavkaId",
          "ponudaStavkaPovezanaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PonudaTipSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Tip ponude",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PorezniRazredSimple": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": "boolean"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Porezni razred",
            "type": "string"
          },
          "opis": {
            "example": "Opis poreznog razreda",
            "type": "string"
          },
          "stopa": {
            "example": 25,
            "type": "number"
          },
          "zaArtikle": {
            "example": true,
            "type": "boolean"
          },
          "zaUsluge": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "aktivan",
          "id",
          "naziv",
          "opis",
          "stopa",
          "zaArtikle",
          "zaUsluge"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PoslovniProstorFull": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": "boolean"
          },
          "cetRadi": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "cetRadnoVrijemeDo": {
            "example": "16:00:00",
            "type": "string"
          },
          "cetRadnoVrijemeOd": {
            "example": "08:00:00",
            "type": "string"
          },
          "cijenaFaktor": {
            "default": 1,
            "example": 1,
            "type": "number"
          },
          "datumPocetka": {
            "default": "now()",
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "drzava": {
            "$ref": "#/components/schemas/public_models.DrzavaSimple"
          },
          "drzavaId": {
            "example": 1,
            "type": "integer"
          },
          "godinePoslovniProstori": {
            "items": {
              "$ref": "#/components/schemas/public_models.GodinaPoslovniProstorSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "grad": {
            "$ref": "#/components/schemas/public_models.GradSimple"
          },
          "gradId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "imaPovratAmbalaze": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "naplatniUredaji": {
            "items": {
              "$ref": "#/components/schemas/public_models.NaplatniUredajSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "nedRadi": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "nedRadnoVrijemeDo": {
            "example": "16:00:00",
            "type": "string"
          },
          "nedRadnoVrijemeOd": {
            "example": "08:00:00",
            "type": "string"
          },
          "oznaka": {
            "example": "Oznaka",
            "type": "string"
          },
          "petRadi": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "petRadnoVrijemeDo": {
            "example": "16:00:00",
            "type": "string"
          },
          "petRadnoVrijemeOd": {
            "example": "08:00:00",
            "type": "string"
          },
          "ponRadi": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "ponRadnoVrijemeDo": {
            "example": "16:00:00",
            "type": "string"
          },
          "ponRadnoVrijemeOd": {
            "example": "08:00:00",
            "type": "string"
          },
          "sriRadi": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "sriRadnoVrijemeDo": {
            "example": "16:00:00",
            "type": "string"
          },
          "sriRadnoVrijemeOd": {
            "example": "08:00:00",
            "type": "string"
          },
          "subRadi": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "subRadnoVrijemeDo": {
            "example": "16:00:00",
            "type": "string"
          },
          "subRadnoVrijemeOd": {
            "example": "08:00:00",
            "type": "string"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "ulica": {
            "example": "Ulica 1",
            "type": "string"
          },
          "utoRadi": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "utoRadnoVrijemeDo": {
            "example": "16:00:00",
            "type": "string"
          },
          "utoRadnoVrijemeOd": {
            "example": "08:00:00",
            "type": "string"
          },
          "zupanija": {
            "$ref": "#/components/schemas/public_models.ZupanijaSimple"
          },
          "zupanijaId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "aktivan",
          "cetRadi",
          "cetRadnoVrijemeDo",
          "cetRadnoVrijemeOd",
          "cijenaFaktor",
          "datumPocetka",
          "drzavaId",
          "gradId",
          "id",
          "imaPovratAmbalaze",
          "nedRadi",
          "nedRadnoVrijemeDo",
          "nedRadnoVrijemeOd",
          "oznaka",
          "petRadi",
          "petRadnoVrijemeDo",
          "petRadnoVrijemeOd",
          "ponRadi",
          "ponRadnoVrijemeDo",
          "ponRadnoVrijemeOd",
          "sriRadi",
          "sriRadnoVrijemeDo",
          "sriRadnoVrijemeOd",
          "subRadi",
          "subRadnoVrijemeDo",
          "subRadnoVrijemeOd",
          "tvrtkaId",
          "ulica",
          "utoRadi",
          "utoRadnoVrijemeDo",
          "utoRadnoVrijemeOd",
          "zupanijaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PoslovniProstorSimple": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": "boolean"
          },
          "cetRadi": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "cetRadnoVrijemeDo": {
            "example": "16:00:00",
            "type": "string"
          },
          "cetRadnoVrijemeOd": {
            "example": "08:00:00",
            "type": "string"
          },
          "cijenaFaktor": {
            "default": 1,
            "example": 1,
            "type": "number"
          },
          "datumPocetka": {
            "default": "now()",
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "drzavaId": {
            "example": 1,
            "type": "integer"
          },
          "gradId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "imaPovratAmbalaze": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "nedRadi": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "nedRadnoVrijemeDo": {
            "example": "16:00:00",
            "type": "string"
          },
          "nedRadnoVrijemeOd": {
            "example": "08:00:00",
            "type": "string"
          },
          "oznaka": {
            "example": "Oznaka",
            "type": "string"
          },
          "petRadi": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "petRadnoVrijemeDo": {
            "example": "16:00:00",
            "type": "string"
          },
          "petRadnoVrijemeOd": {
            "example": "08:00:00",
            "type": "string"
          },
          "ponRadi": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "ponRadnoVrijemeDo": {
            "example": "16:00:00",
            "type": "string"
          },
          "ponRadnoVrijemeOd": {
            "example": "08:00:00",
            "type": "string"
          },
          "sriRadi": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "sriRadnoVrijemeDo": {
            "example": "16:00:00",
            "type": "string"
          },
          "sriRadnoVrijemeOd": {
            "example": "08:00:00",
            "type": "string"
          },
          "subRadi": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "subRadnoVrijemeDo": {
            "example": "16:00:00",
            "type": "string"
          },
          "subRadnoVrijemeOd": {
            "example": "08:00:00",
            "type": "string"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "ulica": {
            "example": "Ulica 1",
            "type": "string"
          },
          "utoRadi": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "utoRadnoVrijemeDo": {
            "example": "16:00:00",
            "type": "string"
          },
          "utoRadnoVrijemeOd": {
            "example": "08:00:00",
            "type": "string"
          },
          "zupanijaId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "aktivan",
          "cetRadi",
          "cetRadnoVrijemeDo",
          "cetRadnoVrijemeOd",
          "cijenaFaktor",
          "datumPocetka",
          "drzavaId",
          "gradId",
          "id",
          "imaPovratAmbalaze",
          "nedRadi",
          "nedRadnoVrijemeDo",
          "nedRadnoVrijemeOd",
          "oznaka",
          "petRadi",
          "petRadnoVrijemeDo",
          "petRadnoVrijemeOd",
          "ponRadi",
          "ponRadnoVrijemeDo",
          "ponRadnoVrijemeOd",
          "sriRadi",
          "sriRadnoVrijemeDo",
          "sriRadnoVrijemeOd",
          "subRadi",
          "subRadnoVrijemeDo",
          "subRadnoVrijemeOd",
          "tvrtkaId",
          "ulica",
          "utoRadi",
          "utoRadnoVrijemeDo",
          "utoRadnoVrijemeOd",
          "zupanijaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PovratnaAmbalazaTipSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PovratnicaArtiklFull": {
        "properties": {
          "artikl": {
            "$ref": "#/components/schemas/public_models.ArtiklSimple"
          },
          "artiklEan": {
            "$ref": "#/components/schemas/public_models.ArtiklEanSimple"
          },
          "artiklEanId": {
            "example": 1,
            "type": "integer"
          },
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "kolicina": {
            "example": 1,
            "type": "number"
          },
          "nabavnaCijena": {
            "example": 1,
            "type": "number"
          },
          "nabavnaCijenaValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "nabavnaCijenaValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "povratnaNaknada": {
            "default": 0,
            "example": 0,
            "type": "number"
          },
          "povratnaNaknadaValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "povratnaNaknadaValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "povratnica": {
            "$ref": "#/components/schemas/public_models.PovratnicaSimple"
          },
          "povratnicaId": {
            "example": 1,
            "type": "integer"
          },
          "prodajnaCijena": {
            "example": 1,
            "type": "number"
          },
          "prodajnaCijenaValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "prodajnaCijenaValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "rabat": {
            "default": 0,
            "example": 0,
            "type": "number"
          }
        },
        "required": [
          "artiklEanId",
          "artiklId",
          "id",
          "kolicina",
          "nabavnaCijena",
          "nabavnaCijenaValutaId",
          "povratnaNaknada",
          "povratnaNaknadaValutaId",
          "povratnicaId",
          "prodajnaCijena",
          "prodajnaCijenaValutaId",
          "rabat"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PovratnicaArtiklSimple": {
        "properties": {
          "artiklEanId": {
            "example": 1,
            "type": "integer"
          },
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "kolicina": {
            "example": 1,
            "type": "number"
          },
          "nabavnaCijena": {
            "example": 1,
            "type": "number"
          },
          "nabavnaCijenaValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "povratnaNaknada": {
            "default": 0,
            "example": 0,
            "type": "number"
          },
          "povratnaNaknadaValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "povratnicaId": {
            "example": 1,
            "type": "integer"
          },
          "prodajnaCijena": {
            "example": 1,
            "type": "number"
          },
          "prodajnaCijenaValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "rabat": {
            "default": 0,
            "example": 0,
            "type": "number"
          }
        },
        "required": [
          "artiklEanId",
          "artiklId",
          "id",
          "kolicina",
          "nabavnaCijena",
          "nabavnaCijenaValutaId",
          "povratnaNaknada",
          "povratnaNaknadaValutaId",
          "povratnicaId",
          "prodajnaCijena",
          "prodajnaCijenaValutaId",
          "rabat"
        ],
        "type": "object"
      },
      "public_models.PovratnicaFull": {
        "properties": {
          "datumIVrijeme": {
            "default": "now()",
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "datumZakljucavanja": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "dobavljac": {
            "$ref": "#/components/schemas/public_models.DobavljacSimple"
          },
          "dobavljacId": {
            "example": 1,
            "type": "integer"
          },
          "dokumentTip": {
            "$ref": "#/components/schemas/public_models.DokumentTipSimple"
          },
          "dokumentTipId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "korisnik": {
            "$ref": "#/components/schemas/public_models.KorisnikSimple"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "napomena": {
            "example": "Napomena",
            "type": "string"
          },
          "oznaka": {
            "example": "1-1-1-2025",
            "type": "string"
          },
          "poslovniProstor": {
            "$ref": "#/components/schemas/public_models.PoslovniProstorSimple"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "povratnicaArtikli": {
            "items": {
              "$ref": "#/components/schemas/public_models.PovratnicaArtiklSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "povratnicaStornoPovratnicaPovratnica": {
            "$ref": "#/components/schemas/public_models.PovratnicaStornoPovratnicaSimple"
          },
          "povratnicaStornoPovratnicaStornoPovratnica": {
            "$ref": "#/components/schemas/public_models.PovratnicaStornoPovratnicaSimple"
          },
          "povratnicaTip": {
            "$ref": "#/components/schemas/public_models.PovratnicaTipSimple"
          },
          "povratnicaTipId": {
            "example": 1,
            "type": "integer"
          },
          "primka": {
            "$ref": "#/components/schemas/public_models.PrimkaSimple"
          },
          "primkaId": {
            "example": 1,
            "type": "integer"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          }
        },
        "required": [
          "datumIVrijeme",
          "dobavljacId",
          "dokumentTipId",
          "id",
          "korisnikId",
          "napomena",
          "oznaka",
          "poslovniProstorId",
          "povratnicaTipId",
          "primkaId",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PovratnicaSimple": {
        "properties": {
          "datumIVrijeme": {
            "default": "now()",
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "datumZakljucavanja": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "dobavljacId": {
            "example": 1,
            "type": "integer"
          },
          "dokumentTipId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "napomena": {
            "example": "Napomena",
            "type": "string"
          },
          "oznaka": {
            "example": "1-1-1-2025",
            "type": "string"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "povratnicaTipId": {
            "example": 1,
            "type": "integer"
          },
          "primkaId": {
            "example": 1,
            "type": "integer"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          }
        },
        "required": [
          "datumIVrijeme",
          "dobavljacId",
          "dokumentTipId",
          "id",
          "korisnikId",
          "napomena",
          "oznaka",
          "poslovniProstorId",
          "povratnicaTipId",
          "primkaId",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PovratnicaStornoPovratnicaSimple": {
        "properties": {
          "id": {
            "type": "integer"
          },
          "povratnicaId": {
            "type": "integer"
          },
          "stornoPovratnicaId": {
            "type": "integer"
          }
        },
        "required": [
          "id",
          "povratnicaId",
          "stornoPovratnicaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PovratnicaTipSimple": {
        "properties": {
          "id": {
            "type": "integer"
          },
          "naziv": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PrijevodSimple": {
        "properties": {
          "jezikId": {
            "example": 1,
            "type": "integer"
          },
          "key": {
            "example": "Naziv",
            "type": "string"
          },
          "value": {
            "example": "Naziv",
            "type": "string"
          }
        },
        "required": [
          "jezikId",
          "key",
          "value"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PrimkaArtiklFull": {
        "properties": {
          "artikl": {
            "$ref": "#/components/schemas/public_models.ArtiklFull"
          },
          "artiklDeklaracija": {
            "$ref": "#/components/schemas/public_models.ArtiklDeklaracijaSimple"
          },
          "artiklEan": {
            "$ref": "#/components/schemas/public_models.ArtiklEanSimple"
          },
          "artiklEanId": {
            "example": 1,
            "type": "integer"
          },
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "brojPakiranja": {
            "example": 10,
            "type": "number"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "kolicina": {
            "example": 10,
            "type": "number"
          },
          "nabavnaCijenaPoArtiklu": {
            "example": 100,
            "type": "number"
          },
          "nabavnaCijenaPoArtikluValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "nabavnaCijenaPoArtikluValutaId": {
            "example": 1,
            "type": "integer"
          },
          "porezniRazred": {
            "$ref": "#/components/schemas/public_models.PorezniRazredSimple"
          },
          "porezniRazredId": {
            "example": 1,
            "type": "integer"
          },
          "povratnaNaknadaPoArtiklu": {
            "example": 0.1,
            "type": "number"
          },
          "povratnaNaknadaPoArtikluValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "povratnaNaknadaPoArtikluValutaId": {
            "example": 1,
            "type": "integer"
          },
          "primka": {
            "$ref": "#/components/schemas/public_models.PrimkaFull"
          },
          "primkaId": {
            "example": 1,
            "type": "integer"
          },
          "prodajnaCijenaPoArtiklu": {
            "example": 100,
            "type": "number"
          },
          "prodajnaCijenaPoArtikluValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "prodajnaCijenaPoArtikluValutaId": {
            "example": 1,
            "type": "integer"
          },
          "rabat": {
            "example": 10,
            "type": "number"
          }
        },
        "required": [
          "artiklEanId",
          "artiklId",
          "brojPakiranja",
          "id",
          "kolicina",
          "nabavnaCijenaPoArtiklu",
          "nabavnaCijenaPoArtikluValutaId",
          "porezniRazredId",
          "povratnaNaknadaPoArtiklu",
          "povratnaNaknadaPoArtikluValutaId",
          "primkaId",
          "prodajnaCijenaPoArtiklu",
          "prodajnaCijenaPoArtikluValutaId",
          "rabat"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PrimkaFull": {
        "properties": {
          "artikliDeklaracije": {
            "items": {
              "$ref": "#/components/schemas/public_models.ArtiklDeklaracijaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "brojDokumenta": {
            "example": "1",
            "type": "string"
          },
          "brojDostavnice": {
            "example": "1",
            "type": [
              "string",
              "null"
            ]
          },
          "datumDospijeca": {
            "default": "now()",
            "example": "2025-01-01",
            "type": "string"
          },
          "datumIzrade": {
            "default": "now()",
            "example": "2025-01-01",
            "type": "string"
          },
          "datumNaDokumentu": {
            "default": "now()",
            "example": "2025-01-01",
            "type": "string"
          },
          "datumPlacanja": {
            "default": "now()",
            "example": "2025-01-01",
            "type": "string"
          },
          "datumZakljucavanja": {
            "example": "2025-01-01",
            "type": [
              "string",
              "null"
            ]
          },
          "dobavljac": {
            "$ref": "#/components/schemas/public_models.DobavljacSimple"
          },
          "dobavljacId": {
            "example": 1,
            "type": "integer"
          },
          "dokumenatDatoteka": {
            "example": "dokumenat.pdf",
            "type": [
              "string",
              "null"
            ]
          },
          "dokumentTip": {
            "$ref": "#/components/schemas/public_models.DokumentTipSimple"
          },
          "dokumentTipId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "korisnik": {
            "$ref": "#/components/schemas/public_models.KorisnikSimple"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "oznaka": {
            "example": "1-1-1-2025",
            "type": "string"
          },
          "pdv13": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "pdv25": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "pdv5": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "poslovniProstor": {
            "$ref": "#/components/schemas/public_models.PoslovniProstorSimple"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "povratnice": {
            "items": {
              "$ref": "#/components/schemas/public_models.PovratnicaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "primkaArtikli": {
            "items": {
              "$ref": "#/components/schemas/public_models.PrimkaArtiklFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "primkaStornoPrimkaPrimka": {
            "$ref": "#/components/schemas/public_models.PrimkaStornoPrimkaFull"
          },
          "primkaStornoPrimkaStornoPrimka": {
            "$ref": "#/components/schemas/public_models.PrimkaStornoPrimkaFull"
          },
          "primkaTip": {
            "$ref": "#/components/schemas/public_models.PrimkaTipSimple"
          },
          "primkaTipId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "primkaTroskovi": {
            "items": {
              "$ref": "#/components/schemas/public_models.PrimkaTrosakFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "tecaj": {
            "default": 1,
            "example": 1,
            "type": "number"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "ukupanIznos": {
            "example": 100,
            "type": "number"
          },
          "ukupanIznosValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "ukupanIznosValutaId": {
            "example": 1,
            "type": "integer"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "brojDokumenta",
          "datumDospijeca",
          "datumIzrade",
          "datumNaDokumentu",
          "datumPlacanja",
          "dobavljacId",
          "dokumentTipId",
          "id",
          "korisnikId",
          "oznaka",
          "pdv13",
          "pdv25",
          "pdv5",
          "poslovniProstorId",
          "primkaTipId",
          "tecaj",
          "tvrtkaId",
          "ukupanIznos",
          "ukupanIznosValutaId",
          "valutaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PrimkaSimple": {
        "properties": {
          "brojDokumenta": {
            "example": "1",
            "type": "string"
          },
          "brojDostavnice": {
            "example": "1",
            "type": [
              "string",
              "null"
            ]
          },
          "datumDospijeca": {
            "default": "now()",
            "example": "2025-01-01",
            "type": "string"
          },
          "datumIzrade": {
            "default": "now()",
            "example": "2025-01-01",
            "type": "string"
          },
          "datumNaDokumentu": {
            "default": "now()",
            "example": "2025-01-01",
            "type": "string"
          },
          "datumPlacanja": {
            "default": "now()",
            "example": "2025-01-01",
            "type": "string"
          },
          "datumZakljucavanja": {
            "example": "2025-01-01",
            "type": [
              "string",
              "null"
            ]
          },
          "dobavljacId": {
            "example": 1,
            "type": "integer"
          },
          "dokumenatDatoteka": {
            "example": "dokumenat.pdf",
            "type": [
              "string",
              "null"
            ]
          },
          "dokumentTipId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "oznaka": {
            "example": "1-1-1-2025",
            "type": "string"
          },
          "pdv13": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "pdv25": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "pdv5": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "primkaTipId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "tecaj": {
            "default": 1,
            "example": 1,
            "type": "number"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "ukupanIznos": {
            "example": 100,
            "type": "number"
          },
          "ukupanIznosValutaId": {
            "example": 1,
            "type": "integer"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "brojDokumenta",
          "datumDospijeca",
          "datumIzrade",
          "datumNaDokumentu",
          "datumPlacanja",
          "dobavljacId",
          "dokumentTipId",
          "id",
          "korisnikId",
          "oznaka",
          "pdv13",
          "pdv25",
          "pdv5",
          "poslovniProstorId",
          "primkaTipId",
          "tecaj",
          "tvrtkaId",
          "ukupanIznos",
          "ukupanIznosValutaId",
          "valutaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PrimkaStornoPrimkaFull": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "primka": {
            "$ref": "#/components/schemas/public_models.PrimkaSimple"
          },
          "primkaId": {
            "example": 1,
            "type": "integer"
          },
          "stornoPrimka": {
            "$ref": "#/components/schemas/public_models.PrimkaSimple"
          },
          "stornoPrimkaId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "primkaId",
          "stornoPrimkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PrimkaTipSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Primka",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PrimkaTrosakFull": {
        "properties": {
          "brojDokumenta": {
            "example": "1/1/1",
            "type": "string"
          },
          "cijena": {
            "example": 100,
            "type": "number"
          },
          "cijenaValutaId": {
            "example": 1,
            "type": "integer"
          },
          "dobavljacNaziv": {
            "example": "Dobavljac",
            "type": "string"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "jeNaknadni": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "primka": {
            "$ref": "#/components/schemas/public_models.PrimkaSimple"
          },
          "primkaId": {
            "example": 1,
            "type": "integer"
          },
          "primkaTrosakOsnova": {
            "$ref": "#/components/schemas/public_models.PrimkaTrosakOsnovaSimple"
          },
          "primkaTrosakOsnovaId": {
            "example": 1,
            "type": "integer"
          },
          "tecaj": {
            "example": 1,
            "type": "number"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "brojDokumenta",
          "cijena",
          "cijenaValutaId",
          "dobavljacNaziv",
          "id",
          "jeNaknadni",
          "primkaId",
          "primkaTrosakOsnovaId",
          "tecaj",
          "valutaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.PrimkaTrosakOsnovaSimple": {
        "properties": {
          "id": {
            "type": "integer"
          },
          "naziv": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ProizvodacFull": {
        "properties": {
          "drzavaNaziv": {
            "example": "Hrvatska",
            "type": [
              "string",
              "null"
            ]
          },
          "gradNaziv": {
            "example": "Zagreb",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "jeIno": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "naziv": {
            "example": "Naziv proizvođača",
            "type": "string"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "ulicaIBroj": {
            "example": "Ulica i broj",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaNaziv": {
            "example": "Zagrebačka",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "jeIno",
          "naziv",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ProizvodacSimple": {
        "properties": {
          "drzavaNaziv": {
            "example": "Hrvatska",
            "type": [
              "string",
              "null"
            ]
          },
          "gradNaziv": {
            "example": "Zagreb",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "jeIno": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "naziv": {
            "example": "Naziv proizvođača",
            "type": "string"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "ulicaIBroj": {
            "example": "Ulica i broj",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaNaziv": {
            "example": "Zagrebačka",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "jeIno",
          "naziv",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RabatPartnerPoArtikluFull": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": "boolean"
          },
          "artikl": {
            "$ref": "#/components/schemas/public_models.ArtiklSimple"
          },
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "partner": {
            "$ref": "#/components/schemas/public_models.PartnerSimple"
          },
          "partnerId": {
            "example": 1,
            "type": "integer"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "aktivan",
          "artiklId",
          "id",
          "naziv",
          "partnerId",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "valutaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RabatPartnerPoArtikluSimple": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": "boolean"
          },
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "partnerId": {
            "example": 1,
            "type": "integer"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "aktivan",
          "artiklId",
          "id",
          "naziv",
          "partnerId",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "valutaId"
        ],
        "type": "object"
      },
      "public_models.RabatPartnerPoGrupiArtikalaFull": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": "boolean"
          },
          "artiklGrupa": {
            "$ref": "#/components/schemas/public_models.ArtiklGrupaSimple"
          },
          "artiklGrupaId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "partner": {
            "$ref": "#/components/schemas/public_models.PartnerSimple"
          },
          "partnerId": {
            "example": 1,
            "type": "integer"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "aktivan",
          "artiklGrupaId",
          "id",
          "naziv",
          "partnerId",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "valutaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RabatPartnerPoGrupiUslugaFull": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": "boolean"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "partner": {
            "$ref": "#/components/schemas/public_models.PartnerSimple"
          },
          "partnerId": {
            "example": 1,
            "type": "integer"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "uslugaGrupa": {
            "$ref": "#/components/schemas/public_models.UslugeGrupaSimple"
          },
          "uslugaGrupaId": {
            "example": 1,
            "type": "integer"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "aktivan",
          "id",
          "naziv",
          "partnerId",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "uslugaGrupaId",
          "valutaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RabatPartnerPoUsluziFull": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": "boolean"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "partner": {
            "$ref": "#/components/schemas/public_models.PartnerSimple"
          },
          "partnerId": {
            "example": 1,
            "type": "integer"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "usluga": {
            "$ref": "#/components/schemas/public_models.UslugaSimple"
          },
          "uslugaId": {
            "example": 1,
            "type": "integer"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "aktivan",
          "id",
          "naziv",
          "partnerId",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "uslugaId",
          "valutaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RabatPartnerPoUsluziSimple": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": "boolean"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "partnerId": {
            "example": 1,
            "type": "integer"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "uslugaId": {
            "example": 1,
            "type": "integer"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "aktivan",
          "id",
          "naziv",
          "partnerId",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "uslugaId",
          "valutaId"
        ],
        "type": "object"
      },
      "public_models.RabatPoArtikluFull": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": "boolean"
          },
          "artikl": {
            "$ref": "#/components/schemas/public_models.ArtiklSimple"
          },
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "maxKolicinaNaRacunu": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "vrijediDo": {
            "example": "2021-12-31T23:59:59Z",
            "type": "string"
          },
          "vrijediOd": {
            "example": "2021-01-01T00:00:00Z",
            "type": "string"
          }
        },
        "required": [
          "aktivan",
          "artiklId",
          "id",
          "maxKolicinaNaRacunu",
          "naziv",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "valutaId",
          "vrijediDo",
          "vrijediOd"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RabatPoArtikluSimple": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": "boolean"
          },
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "maxKolicinaNaRacunu": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "vrijediDo": {
            "example": "2021-12-31T23:59:59Z",
            "type": "string"
          },
          "vrijediOd": {
            "example": "2021-01-01T00:00:00Z",
            "type": "string"
          }
        },
        "required": [
          "aktivan",
          "artiklId",
          "id",
          "maxKolicinaNaRacunu",
          "naziv",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "valutaId",
          "vrijediDo",
          "vrijediOd"
        ],
        "type": "object"
      },
      "public_models.RabatPoGrupiArtikalaFull": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": "boolean"
          },
          "artiklGrupa": {
            "$ref": "#/components/schemas/public_models.ArtiklGrupaSimple"
          },
          "artiklGrupaId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "aktivan",
          "artiklGrupaId",
          "id",
          "naziv",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "valutaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RabatPoGrupiUslugaFull": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": "boolean"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "uslugeGrupa": {
            "$ref": "#/components/schemas/public_models.UslugeGrupaSimple"
          },
          "uslugeGrupaId": {
            "example": 1,
            "type": "integer"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "aktivan",
          "id",
          "naziv",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "uslugeGrupaId",
          "valutaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RabatPoUsluziFull": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": "boolean"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "maxKolicinaNaRacunu": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "usluga": {
            "$ref": "#/components/schemas/public_models.UslugaSimple"
          },
          "uslugaId": {
            "example": 1,
            "type": "integer"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "vrijediDo": {
            "example": "2021-12-31T23:59:59Z",
            "type": "string"
          },
          "vrijediOd": {
            "example": "2021-01-01T00:00:00Z",
            "type": "string"
          }
        },
        "required": [
          "aktivan",
          "id",
          "maxKolicinaNaRacunu",
          "naziv",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "uslugaId",
          "valutaId",
          "vrijediDo",
          "vrijediOd"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RabatPoUsluziSimple": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": "boolean"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "maxKolicinaNaRacunu": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "popust": {
            "default": 0,
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "uslugaId": {
            "example": 1,
            "type": "integer"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "vrijediDo": {
            "example": "2021-12-31T23:59:59Z",
            "type": "string"
          },
          "vrijediOd": {
            "example": "2021-01-01T00:00:00Z",
            "type": "string"
          }
        },
        "required": [
          "aktivan",
          "id",
          "maxKolicinaNaRacunu",
          "naziv",
          "popust",
          "popustBrojcano",
          "tvrtkaId",
          "uslugaId",
          "valutaId",
          "vrijediDo",
          "vrijediOd"
        ],
        "type": "object"
      },
      "public_models.RacunFull": {
        "properties": {
          "datumDospijeca": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "datumIVrijemeIzrade": {
            "default": "now()",
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "datumIsporuke": {
            "default": "now()",
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "datumPlacanja": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "dokumentBase64": {
            "example": "base64 encoded document",
            "type": [
              "string",
              "null"
            ]
          },
          "eracunVrsta": {
            "$ref": "#/components/schemas/public_models.EracunVrstaSimple"
          },
          "eracunVrstaId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "fiskalizacijaStatus": {
            "$ref": "#/components/schemas/public_models.FiskalizacijaStatusSimple"
          },
          "fiskalizacijaStatusId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "iznos": {
            "example": 100,
            "type": [
              "number",
              "null"
            ]
          },
          "iznosPlaceno": {
            "example": 50,
            "type": [
              "number",
              "null"
            ]
          },
          "jePpo": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "jezik": {
            "$ref": "#/components/schemas/public_models.JezikSimple"
          },
          "jezikId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "korisnik": {
            "$ref": "#/components/schemas/public_models.KorisnikSimple"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "kupacDrzavaNaziv": {
            "example": "Hrvatska",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacEmail": {
            "example": "kupac@kupac.hr",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacGradNaziv": {
            "example": "Zagreb",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacNaziv": {
            "example": "Kupac d.o.o.",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacOib": {
            "example": "12345678901",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacPostanskiBroj": {
            "example": "12345",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacTip": {
            "$ref": "#/components/schemas/public_models.KupacTipSimple"
          },
          "kupacTipId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "kupacUlicaIBroj": {
            "example": "Ulica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacZupanijaNaziv": {
            "example": "Zagrebačka županija",
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "example": "HR00",
            "type": [
              "string",
              "null"
            ]
          },
          "nacinPlacanja": {
            "$ref": "#/components/schemas/public_models.NacinPlacanjaSimple"
          },
          "nacinPlacanjaId": {
            "default": 3,
            "example": 1,
            "type": "integer"
          },
          "naknadnaFiskalizacija": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "naplatniUredaj": {
            "$ref": "#/components/schemas/public_models.NaplatniUredajSimple"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "napomena": {
            "example": "Napomena",
            "type": [
              "string",
              "null"
            ]
          },
          "otpremnice": {
            "items": {
              "$ref": "#/components/schemas/public_models.OtpremnicaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "oznaka": {
            "example": "1/1/1",
            "type": "string"
          },
          "paragonOznaka": {
            "example": "1/1/1",
            "type": [
              "string",
              "null"
            ]
          },
          "paragonSpecNamjena": {
            "example": "Razlog zašto je korišten paragon",
            "type": [
              "string",
              "null"
            ]
          },
          "partner": {
            "$ref": "#/components/schemas/public_models.PartnerSimple"
          },
          "partnerId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "partnerOpomene": {
            "items": {
              "$ref": "#/components/schemas/public_models.PartnerOpomenaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "podaciOKupcu": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "ponavljajuciRacun": {
            "$ref": "#/components/schemas/public_models.PonavljajuciRacunSimple"
          },
          "ponavljajuciRacunId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "ponuda": {
            "$ref": "#/components/schemas/public_models.PonudaSimple"
          },
          "ponudaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "popust": {
            "default": 0,
            "example": 0,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "poslovniProstor": {
            "$ref": "#/components/schemas/public_models.PoslovniProstorSimple"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "pozivNaBroj": {
            "example": "Poziv na broj",
            "type": [
              "string",
              "null"
            ]
          },
          "racunPovratneAmbalaze": {
            "items": {
              "$ref": "#/components/schemas/public_models.RacunPovratnaAmbalazaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "racunStavke": {
            "items": {
              "$ref": "#/components/schemas/public_models.RacunStavkaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "racunStornoRacunRacun": {
            "$ref": "#/components/schemas/public_models.RacunStornoRacunSimple"
          },
          "racunStornoRacunStornoRacun": {
            "$ref": "#/components/schemas/public_models.RacunStornoRacunSimple"
          },
          "racunTip": {
            "$ref": "#/components/schemas/public_models.RacunTipSimple"
          },
          "racunTipId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "racuniNaplate": {
            "items": {
              "$ref": "#/components/schemas/public_models.RacunNaplataSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "racuniPovijesti": {
            "items": {
              "$ref": "#/components/schemas/public_models.RacunPovijestFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "sveracunDocumentId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": [
              "string",
              "null"
            ]
          },
          "tipFiskalizacije": {
            "$ref": "#/components/schemas/public_models.TipFiskalizacijeSimple"
          },
          "tipFiskalizacijeId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "tipPoslovnogProcesa": {
            "$ref": "#/components/schemas/public_models.TipPoslovnogProcesaSimple"
          },
          "tipPoslovnogProcesaId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "zakljucanoFiskaliziranoTimestamp": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "zakljucanoIsprintan": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "zakljucanoJIR": {
            "example": "2cf55235-9470-4b5c-a539-463f52b109d2",
            "type": [
              "string",
              "null"
            ]
          },
          "zakljucanoTimestamp": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "zakljucanoZKI": {
            "example": "a1e6b1428f0cc755f0c82aa7a1327e35",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "datumIVrijemeIzrade",
          "datumIsporuke",
          "eracunVrstaId",
          "fiskalizacijaStatusId",
          "id",
          "jePpo",
          "jezikId",
          "korisnikId",
          "kupacTipId",
          "nacinPlacanjaId",
          "naknadnaFiskalizacija",
          "naplatniUredajId",
          "oznaka",
          "podaciOKupcu",
          "popust",
          "popustBrojcano",
          "poslovniProstorId",
          "racunTipId",
          "tipFiskalizacijeId",
          "tipPoslovnogProcesaId",
          "tvrtkaId",
          "valutaId",
          "zakljucanoIsprintan"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RacunNaplataSimple": {
        "properties": {
          "datumNaplate": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "iznos": {
            "example": 100,
            "type": "number"
          },
          "jePuniIznos": {
            "example": true,
            "type": "boolean"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "racunId": {
            "example": 1,
            "type": "integer"
          },
          "timestamp": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          }
        },
        "required": [
          "datumNaplate",
          "id",
          "iznos",
          "jePuniIznos",
          "korisnikId",
          "racunId",
          "timestamp"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RacunPovijestFull": {
        "properties": {
          "opis": {
            "example": "Opis",
            "type": "string"
          },
          "racun": {
            "$ref": "#/components/schemas/public_models.RacunSimple"
          },
          "racunId": {
            "example": 1,
            "type": "integer"
          },
          "racunPovijestTip": {
            "$ref": "#/components/schemas/public_models.RacunPovijestTipSimple"
          },
          "racunPovijestTipId": {
            "example": 1,
            "type": "integer"
          },
          "timestamp": {
            "example": "2021-01-01T00:00:00Z",
            "type": "string"
          },
          "uuid": {
            "example": "1",
            "type": "string"
          }
        },
        "required": [
          "opis",
          "racunId",
          "racunPovijestTipId",
          "timestamp",
          "uuid"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RacunPovijestTipSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RacunPovratnaAmbalazaFull": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "iznos": {
            "example": 1,
            "type": "number"
          },
          "kolicina": {
            "example": 1,
            "type": "integer"
          },
          "povratnaAmbalazaTip": {
            "$ref": "#/components/schemas/public_models.PovratnaAmbalazaTipSimple"
          },
          "povratnaAmbalazaTipId": {
            "example": 1,
            "type": "integer"
          },
          "racunId": {
            "example": 1,
            "type": "integer"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "iznos",
          "kolicina",
          "povratnaAmbalazaTipId",
          "racunId",
          "valutaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RacunPovratnaAmbalazaSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "iznos": {
            "example": 1,
            "type": "number"
          },
          "kolicina": {
            "example": 1,
            "type": "integer"
          },
          "povratnaAmbalazaTipId": {
            "example": 1,
            "type": "integer"
          },
          "racunId": {
            "example": 1,
            "type": "integer"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "iznos",
          "kolicina",
          "povratnaAmbalazaTipId",
          "racunId",
          "valutaId"
        ],
        "type": "object"
      },
      "public_models.RacunSimple": {
        "properties": {
          "datumDospijeca": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "datumIVrijemeIzrade": {
            "default": "now()",
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "datumIsporuke": {
            "default": "now()",
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "datumPlacanja": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "dokumentBase64": {
            "example": "base64 encoded document",
            "type": [
              "string",
              "null"
            ]
          },
          "eracunVrstaId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "fiskalizacijaStatusId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "iznos": {
            "example": 100,
            "type": [
              "number",
              "null"
            ]
          },
          "iznosPlaceno": {
            "example": 50,
            "type": [
              "number",
              "null"
            ]
          },
          "jePpo": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "jezikId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "korisnikId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "kupacDrzavaNaziv": {
            "example": "Hrvatska",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacEmail": {
            "example": "kupac@kupac.hr",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacGradNaziv": {
            "example": "Zagreb",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacNaziv": {
            "example": "Kupac d.o.o.",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacOib": {
            "example": "12345678901",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacPostanskiBroj": {
            "example": "12345",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacTipId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "kupacUlicaIBroj": {
            "example": "Ulica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacZupanijaNaziv": {
            "example": "Zagrebačka županija",
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "example": "HR00",
            "type": [
              "string",
              "null"
            ]
          },
          "nacinPlacanjaId": {
            "default": 3,
            "example": 1,
            "type": "integer"
          },
          "naknadnaFiskalizacija": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "napomena": {
            "example": "Napomena",
            "type": [
              "string",
              "null"
            ]
          },
          "oznaka": {
            "example": "1/1/1",
            "type": "string"
          },
          "paragonOznaka": {
            "example": "1/1/1",
            "type": [
              "string",
              "null"
            ]
          },
          "paragonSpecNamjena": {
            "example": "Razlog zašto je korišten paragon",
            "type": [
              "string",
              "null"
            ]
          },
          "partnerId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "podaciOKupcu": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "ponavljajuciRacunId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "ponudaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "popust": {
            "default": 0,
            "example": 0,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "pozivNaBroj": {
            "example": "Poziv na broj",
            "type": [
              "string",
              "null"
            ]
          },
          "racunTipId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "sveracunDocumentId": {
            "example": "1234567890",
            "type": [
              "string",
              "null"
            ]
          },
          "tipFiskalizacijeId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "tipPoslovnogProcesaId": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "zakljucanoFiskaliziranoTimestamp": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "zakljucanoIsprintan": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "zakljucanoJIR": {
            "example": "2cf55235-9470-4b5c-a539-463f52b109d2",
            "type": [
              "string",
              "null"
            ]
          },
          "zakljucanoTimestamp": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "zakljucanoZKI": {
            "example": "a1e6b1428f0cc755f0c82aa7a1327e35",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "datumIVrijemeIzrade",
          "datumIsporuke",
          "eracunVrstaId",
          "fiskalizacijaStatusId",
          "id",
          "jePpo",
          "jezikId",
          "korisnikId",
          "kupacTipId",
          "nacinPlacanjaId",
          "naknadnaFiskalizacija",
          "naplatniUredajId",
          "oznaka",
          "podaciOKupcu",
          "popust",
          "popustBrojcano",
          "poslovniProstorId",
          "racunTipId",
          "tipFiskalizacijeId",
          "tipPoslovnogProcesaId",
          "tvrtkaId",
          "valutaId",
          "zakljucanoIsprintan"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RacunSlanjeFull": {
        "properties": {
          "datumIVrijeme": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "email": {
            "example": "email@example.com",
            "type": "string"
          },
          "korisnik": {
            "$ref": "#/components/schemas/public_models.KorisnikSimple"
          },
          "korisnikUuid": {
            "example": "korisnikUuid",
            "type": "string"
          },
          "racun": {
            "$ref": "#/components/schemas/public_models.RacunSimple"
          },
          "racunId": {
            "example": 1,
            "type": "integer"
          },
          "status": {
            "example": true,
            "type": "boolean"
          },
          "uuid": {
            "example": "uuid",
            "type": "string"
          }
        },
        "required": [
          "datumIVrijeme",
          "email",
          "korisnikUuid",
          "racunId",
          "status",
          "uuid"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RacunStavkaFull": {
        "properties": {
          "artikl": {
            "$ref": "#/components/schemas/public_models.ArtiklSimple"
          },
          "artiklId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "cijena": {
            "example": 1,
            "type": "number"
          },
          "cijenaValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "cijenaValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "jedinicaMjere": {
            "$ref": "#/components/schemas/public_models.JedinicaMjereSimple"
          },
          "jedinicaMjereId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "kolicina": {
            "default": 1,
            "example": 1,
            "type": "number"
          },
          "maxKolicinaNaRacunu": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          },
          "popust": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": true,
            "type": "boolean"
          },
          "popustValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "popustValutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          },
          "porezniRazred": {
            "$ref": "#/components/schemas/public_models.PorezniRazredSimple"
          },
          "porezniRazredId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "poslovniProstor": {
            "$ref": "#/components/schemas/public_models.PoslovniProstorSimple"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "racun": {
            "$ref": "#/components/schemas/public_models.RacunSimple"
          },
          "racunId": {
            "example": 1,
            "type": "integer"
          },
          "racunStavka": {
            "$ref": "#/components/schemas/public_models.RacunStavkaRacunStavkaPovezanaSimple"
          },
          "racunStavkePovezane": {
            "items": {
              "$ref": "#/components/schemas/public_models.RacunStavkaRacunStavkaPovezanaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "usluga": {
            "$ref": "#/components/schemas/public_models.UslugaSimple"
          },
          "uslugaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "cijena",
          "cijenaValutaId",
          "id",
          "kolicina",
          "maxKolicinaNaRacunu",
          "naziv",
          "popust",
          "popustBrojcano",
          "popustValutaId",
          "poslovniProstorId",
          "racunId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RacunStavkaRacunStavkaPovezanaSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "racunStavkaId": {
            "example": 1,
            "type": "integer"
          },
          "racunStavkaPovezanaId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "racunStavkaId",
          "racunStavkaPovezanaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RacunStornoRacunSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "racunId": {
            "example": 1,
            "type": "integer"
          },
          "stornoRacunId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "racunId",
          "stornoRacunId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RacunTipSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RadnaGrupaSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "tvrtkaId": {
            "example": "uuid",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv",
          "poslovniProstorId",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.RadnoMjestoSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          },
          "tvrtkaId": {
            "example": "uuid",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.SkupSustavnihKlasa": {
        "properties": {
          "deklaracijeTipovi": {
            "items": {
              "$ref": "#/components/schemas/public_models.DeklaracijaTipSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "dokumentiTipovi": {
            "items": {
              "$ref": "#/components/schemas/public_models.DokumentTipSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "dokumentiVrste": {
            "items": {
              "$ref": "#/components/schemas/public_models.DokumentVrstaSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "drzave": {
            "items": {
              "$ref": "#/components/schemas/public_models.DrzavaSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "eracuniVrste": {
            "items": {
              "$ref": "#/components/schemas/public_models.EracunVrstaSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "fiskalizacijeStatusi": {
            "items": {
              "$ref": "#/components/schemas/public_models.FiskalizacijaStatusSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "gradovi": {
            "items": {
              "$ref": "#/components/schemas/public_models.GradSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "interniAkti": {
            "items": {
              "$ref": "#/components/schemas/public_models.InterniAktSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "jediniceMjere": {
            "items": {
              "$ref": "#/components/schemas/public_models.JedinicaMjereSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "kala": {
            "items": {
              "$ref": "#/components/schemas/public_models.KaloSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "kpdDrugeRazine": {
            "items": {
              "$ref": "#/components/schemas/public_models.KpdDrugaRazinaSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "kpdGrupe": {
            "items": {
              "$ref": "#/components/schemas/public_models.KpdGrupaSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "kpdPrveRazine": {
            "items": {
              "$ref": "#/components/schemas/public_models.KpdPrvaRazinaSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "kpdTreceRazine": {
            "items": {
              "$ref": "#/components/schemas/public_models.KpdTrecaRazinaSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "kupciTipovi": {
            "items": {
              "$ref": "#/components/schemas/public_models.KupacTipSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "meduskladisniceTipovi": {
            "items": {
              "$ref": "#/components/schemas/public_models.MeduskladisnicaTipSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "naciniPlacanja": {
            "items": {
              "$ref": "#/components/schemas/public_models.NacinPlacanjaSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "otpremniceTipovi": {
            "items": {
              "$ref": "#/components/schemas/public_models.OtpremnicaTipSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "partneriTipovi": {
            "items": {
              "$ref": "#/components/schemas/public_models.PartnerTipSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "ponudeTipovi": {
            "items": {
              "$ref": "#/components/schemas/public_models.PonudaTipSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "porezniRazredi": {
            "items": {
              "$ref": "#/components/schemas/public_models.PorezniRazredSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "povratneAmbalazeTipovi": {
            "items": {
              "$ref": "#/components/schemas/public_models.PovratnaAmbalazaTipSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "povratniceTipovi": {
            "items": {
              "$ref": "#/components/schemas/public_models.PovratnicaTipSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "primkeTipovi": {
            "items": {
              "$ref": "#/components/schemas/public_models.PrimkaTipSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "primkeTroskoviOsnove": {
            "items": {
              "$ref": "#/components/schemas/public_models.PrimkaTrosakOsnovaSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "racuniPovijestTipovi": {
            "items": {
              "$ref": "#/components/schemas/public_models.RacunPovijestTipSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "racuniTipovi": {
            "items": {
              "$ref": "#/components/schemas/public_models.RacunTipSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "tipoviFiskalizacije": {
            "items": {
              "$ref": "#/components/schemas/public_models.TipFiskalizacijeSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "tipoviPoslovnogProcesa": {
            "items": {
              "$ref": "#/components/schemas/public_models.TipPoslovnogProcesaSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "tvrtkeVrste": {
            "items": {
              "$ref": "#/components/schemas/public_models.TvrtkaVrstaSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "ugovorVrste": {
            "items": {
              "$ref": "#/components/schemas/public_models.UgovorVrstaSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "uvoznikTipovi": {
            "items": {
              "$ref": "#/components/schemas/public_models.UvoznikTipSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "valute": {
            "items": {
              "$ref": "#/components/schemas/public_models.ValutaSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "vrsteOtpreme": {
            "items": {
              "$ref": "#/components/schemas/public_models.VrstaOtpremeSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "vrsteRazlogaOdbijanjaEracuna": {
            "items": {
              "$ref": "#/components/schemas/public_models.VrstaRazlogaOdbijanjaEracunaSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "zaposleniciDokumentiTipovi": {
            "items": {
              "$ref": "#/components/schemas/public_models.ZaposlenikDokumenatTipSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "zaprimljeniEracuniPovijestTipovi": {
            "items": {
              "$ref": "#/components/schemas/public_models.ZaprimljeniEracunPovijestTipSimple"
            },
            "type": "array",
            "uniqueItems": false
          },
          "zupanije": {
            "items": {
              "$ref": "#/components/schemas/public_models.ZupanijaSimple"
            },
            "type": "array",
            "uniqueItems": false
          }
        },
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.TipFiskalizacijeSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Fiskalizacija v1",
            "type": "string"
          },
          "oznaka": {
            "example": "F1",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv",
          "oznaka"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.TipPoslovnogProcesaSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Fiskalizacija v1",
            "type": "string"
          },
          "oznaka": {
            "example": "F1",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv",
          "oznaka"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.TvrtkaFull": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": "boolean"
          },
          "certVrijediDo": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "cijenaBrojDecimala": {
            "default": 2,
            "description": "CijenaBrojDecimala — broj decimala za prikaz/unos cijena artikala, popusta i sl.\nmonetarnih vrijednosti. Dozvoljeno: 2 (default) ili 6. Konačni totali na\ndokumentu i fiskalni XML uvijek koriste 2 dec neovisno o ovom settingu.",
            "example": 2,
            "type": "integer"
          },
          "drzava": {
            "$ref": "#/components/schemas/public_models.DrzavaSimple"
          },
          "drzavaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "email": {
            "example": "tvrtka@domena.hr",
            "type": "string"
          },
          "grad": {
            "$ref": "#/components/schemas/public_models.GradSimple"
          },
          "gradId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "iban": {
            "example": "HR1234567890123456789",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "jeAdresaPotvrdenaFisk2": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "jeOvlastenjeDodijeljenoFisk2": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "jePausal": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "jePpo": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "jeRegistriranaFisk2": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "jeUObveziERacuna": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "logo": {
            "example": "https://www.example.com/logo.png",
            "type": [
              "string",
              "null"
            ]
          },
          "maxAktivnihKorisnika": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          },
          "neaktivanOd": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "nijeObveznikFiskalizacije": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "oib": {
            "example": "12345678901",
            "type": "string"
          },
          "oslobodenjePoClanku39": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "oslobodenjePoClanku39Tip": {
            "$ref": "#/components/schemas/public_models.OslobodenjePoClanku39TipSimple"
          },
          "oslobodenjePoClanku39TipTocka": {
            "example": "a",
            "type": [
              "string",
              "null"
            ]
          },
          "pdvId": {
            "example": "HR12345678901",
            "type": [
              "string",
              "null"
            ]
          },
          "podnozjePonudaRacuna": {
            "example": "Podnozje",
            "type": [
              "string",
              "null"
            ]
          },
          "registriranaDana": {
            "default": "now()",
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "sveracunOrganizationId": {
            "example": "12345678901",
            "type": [
              "string",
              "null"
            ]
          },
          "telefonskiBroj": {
            "example": "0911234567",
            "type": [
              "string",
              "null"
            ]
          },
          "testnaTvrtka": {
            "default": true,
            "example": true,
            "type": "boolean"
          },
          "tvrtkaVrstaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "uSustavuPdvaOd": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "ulicaIBroj": {
            "example": "Ulica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "zaglavljePonudaRacuna": {
            "example": "Zaglavlje",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanija": {
            "$ref": "#/components/schemas/public_models.ZupanijaSimple"
          },
          "zupanijaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "aktivan",
          "cijenaBrojDecimala",
          "email",
          "id",
          "jeAdresaPotvrdenaFisk2",
          "jeOvlastenjeDodijeljenoFisk2",
          "jePausal",
          "jePpo",
          "jeRegistriranaFisk2",
          "jeUObveziERacuna",
          "maxAktivnihKorisnika",
          "naziv",
          "nijeObveznikFiskalizacije",
          "oib",
          "oslobodenjePoClanku39",
          "registriranaDana",
          "testnaTvrtka"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.TvrtkaSimple": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": "boolean"
          },
          "certVrijediDo": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "cijenaBrojDecimala": {
            "default": 2,
            "description": "CijenaBrojDecimala — broj decimala za prikaz/unos cijena artikala, popusta i sl.\nmonetarnih vrijednosti. Dozvoljeno: 2 (default) ili 6. Konačni totali na\ndokumentu i fiskalni XML uvijek koriste 2 dec neovisno o ovom settingu.",
            "example": 2,
            "type": "integer"
          },
          "drzavaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "email": {
            "example": "tvrtka@domena.hr",
            "type": "string"
          },
          "gradId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "iban": {
            "example": "HR1234567890123456789",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "jeAdresaPotvrdenaFisk2": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "jeOvlastenjeDodijeljenoFisk2": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "jePausal": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "jePpo": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "jeRegistriranaFisk2": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "jeUObveziERacuna": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "logo": {
            "example": "https://www.example.com/logo.png",
            "type": [
              "string",
              "null"
            ]
          },
          "maxAktivnihKorisnika": {
            "default": 1,
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          },
          "neaktivanOd": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "nijeObveznikFiskalizacije": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "oib": {
            "example": "12345678901",
            "type": "string"
          },
          "oslobodenjePoClanku39": {
            "default": false,
            "example": false,
            "type": "boolean"
          },
          "oslobodenjePoClanku39TipTocka": {
            "example": "a",
            "type": [
              "string",
              "null"
            ]
          },
          "pdvId": {
            "example": "HR12345678901",
            "type": [
              "string",
              "null"
            ]
          },
          "podnozjePonudaRacuna": {
            "example": "Podnozje",
            "type": [
              "string",
              "null"
            ]
          },
          "registriranaDana": {
            "default": "now()",
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "sveracunOrganizationId": {
            "example": "12345678901",
            "type": [
              "string",
              "null"
            ]
          },
          "telefonskiBroj": {
            "example": "0911234567",
            "type": [
              "string",
              "null"
            ]
          },
          "testnaTvrtka": {
            "default": true,
            "example": true,
            "type": "boolean"
          },
          "tvrtkaVrstaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "uSustavuPdvaOd": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "ulicaIBroj": {
            "example": "Ulica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "zaglavljePonudaRacuna": {
            "example": "Zaglavlje",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "aktivan",
          "cijenaBrojDecimala",
          "email",
          "id",
          "jeAdresaPotvrdenaFisk2",
          "jeOvlastenjeDodijeljenoFisk2",
          "jePausal",
          "jePpo",
          "jeRegistriranaFisk2",
          "jeUObveziERacuna",
          "maxAktivnihKorisnika",
          "naziv",
          "nijeObveznikFiskalizacije",
          "oib",
          "oslobodenjePoClanku39",
          "registriranaDana",
          "testnaTvrtka"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.TvrtkaVrstaSimple": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": "boolean"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          }
        },
        "required": [
          "aktivan",
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.UgovorVrstaSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.UslugaFull": {
        "properties": {
          "akcijePoUsluzi": {
            "items": {
              "$ref": "#/components/schemas/public_models.AkcijaPoUsluziSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "cijena": {
            "example": 100,
            "type": "number"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "jedinicaMjere": {
            "$ref": "#/components/schemas/public_models.JedinicaMjereSimple"
          },
          "jedinicaMjereId": {
            "example": 1,
            "type": "integer"
          },
          "kpdTrecaRazina": {
            "$ref": "#/components/schemas/public_models.KpdTrecaRazinaFull"
          },
          "kpdTrecaRazinaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv usluge",
            "type": "string"
          },
          "oslobodenjePoClanku39": {
            "example": false,
            "type": "boolean"
          },
          "porezniRazred": {
            "$ref": "#/components/schemas/public_models.PorezniRazredSimple"
          },
          "porezniRazredId": {
            "example": 1,
            "type": "integer"
          },
          "rabatiPartnerPoUsluzi": {
            "items": {
              "$ref": "#/components/schemas/public_models.RabatPartnerPoUsluziSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "rabatiPoUsluzi": {
            "items": {
              "$ref": "#/components/schemas/public_models.RabatPoUsluziSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "sifra": {
            "example": "123456",
            "type": [
              "string",
              "null"
            ]
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "uslugaGrupa": {
            "$ref": "#/components/schemas/public_models.UslugeGrupaSimple"
          },
          "uslugeGrupaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "cijena",
          "id",
          "jedinicaMjereId",
          "naziv",
          "oslobodenjePoClanku39",
          "porezniRazredId",
          "tvrtkaId",
          "valutaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.UslugaGrupaFull": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": "boolean"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv grupe",
            "type": "string"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "usluge": {
            "items": {
              "$ref": "#/components/schemas/public_models.UslugaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          }
        },
        "required": [
          "aktivan",
          "id",
          "naziv",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.UslugaSimple": {
        "properties": {
          "cijena": {
            "example": 100,
            "type": "number"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "jedinicaMjereId": {
            "example": 1,
            "type": "integer"
          },
          "kpdTrecaRazinaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv usluge",
            "type": "string"
          },
          "oslobodenjePoClanku39": {
            "example": false,
            "type": "boolean"
          },
          "porezniRazredId": {
            "example": 1,
            "type": "integer"
          },
          "sifra": {
            "example": "123456",
            "type": [
              "string",
              "null"
            ]
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "uslugeGrupaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "cijena",
          "id",
          "jedinicaMjereId",
          "naziv",
          "oslobodenjePoClanku39",
          "porezniRazredId",
          "tvrtkaId",
          "valutaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.UslugeGrupaSimple": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": "boolean"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv grupe usluga",
            "type": "string"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          }
        },
        "required": [
          "aktivan",
          "id",
          "naziv",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.UvoznikTipSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Proizvođač",
            "type": "string"
          },
          "tvrtkaNaziv": {
            "example": "",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ValutaSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.VrstaOtpremeSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": "object"
      },
      "public_models.VrstaRazlogaOdbijanjaEracunaSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Fiskalizacija v1",
            "type": "string"
          },
          "oznaka": {
            "example": "F1",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv",
          "oznaka"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ZaposlenikDokumenatSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv dokumenta",
            "type": "string"
          },
          "putanja": {
            "example": "/putanja/do/datoteke",
            "type": "string"
          },
          "timestamp": {
            "example": "2024-01-01T00:00:00Z",
            "type": "string"
          },
          "zaposlenikDokumenatTipId": {
            "example": 1,
            "type": "integer"
          },
          "zaposlenikId": {
            "example": "uuid",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv",
          "putanja",
          "zaposlenikDokumenatTipId",
          "zaposlenikId"
        ],
        "type": "object"
      },
      "public_models.ZaposlenikDokumenatTipSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": "object"
      },
      "public_models.ZaposlenikFull": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": "boolean"
          },
          "datumRodenja": {
            "example": "1990-01-01T00:00:00Z",
            "type": "string"
          },
          "drzavaNaziv": {
            "example": "Hrvatska",
            "type": "string"
          },
          "email": {
            "example": "email@example.com",
            "type": "string"
          },
          "gradNaziv": {
            "example": "Zagreb",
            "type": "string"
          },
          "ibanRacuna": {
            "example": "HR1234567890123456789",
            "type": "string"
          },
          "id": {
            "example": "uuid",
            "type": "string"
          },
          "imeIPrezime": {
            "example": "Ime i prezime",
            "type": "string"
          },
          "napomena": {
            "example": "Napomena",
            "type": "string"
          },
          "oib": {
            "example": "1234567890123",
            "type": "string"
          },
          "poslovniProstor": {
            "$ref": "#/components/schemas/public_models.PoslovniProstorSimple"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "postBroj": {
            "example": "10000",
            "type": "string"
          },
          "radnaGrupa": {
            "$ref": "#/components/schemas/public_models.RadnaGrupaSimple"
          },
          "radnaGrupaId": {
            "example": 1,
            "type": "integer"
          },
          "radnoMjesto": {
            "$ref": "#/components/schemas/public_models.RadnoMjestoSimple"
          },
          "radnoMjestoId": {
            "example": 1,
            "type": "integer"
          },
          "telefonskiBroj": {
            "example": "1234567890",
            "type": "string"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "uuid",
            "type": "string"
          },
          "ugovorDatoteka": {
            "example": "datoteka.pdf",
            "type": "string"
          },
          "ugovorTrajanjeDo": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "ugovorTrajanjeOd": {
            "example": "2024-01-01T00:00:00Z",
            "type": "string"
          },
          "ugovorVrsta": {
            "$ref": "#/components/schemas/public_models.UgovorVrstaSimple"
          },
          "ugovorVrstaId": {
            "example": 1,
            "type": "integer"
          },
          "ugovorenaBrutoPlaca": {
            "example": 5000,
            "type": "number"
          },
          "ugovorenaBrutoPlacaValuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "ugovorenaBrutoPlacaValutaId": {
            "example": 2,
            "type": "integer"
          },
          "ulicaIBroj": {
            "example": "Ilica 1",
            "type": "string"
          },
          "zaposleniciNadredeniZaposleniciNadredeniZaposlenici": {
            "items": {
              "$ref": "#/components/schemas/public_models.ZaposlenikNadredeniZaposlenikSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "zaposlenikDokumenti": {
            "items": {
              "$ref": "#/components/schemas/public_models.ZaposlenikDokumenatSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "zaposlenikNadredeniZaposlenikZaposlenik": {
            "$ref": "#/components/schemas/public_models.ZaposlenikNadredeniZaposlenikSimple"
          },
          "zastitaNaRadu": {
            "example": false,
            "type": "boolean"
          },
          "zastitaNaRaduOd": {
            "example": "2024-01-01T00:00:00Z",
            "type": "string"
          },
          "zupanijaNaziv": {
            "example": "Zagrebačka",
            "type": "string"
          }
        },
        "required": [
          "aktivan",
          "email",
          "id",
          "imeIPrezime",
          "oib",
          "poslovniProstorId",
          "telefonskiBroj",
          "tvrtkaId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ZaposlenikNadredeniZaposlenikSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "nadredeniZaposlenikId": {
            "example": "uuid",
            "type": "string"
          },
          "zaposlenikId": {
            "example": "uuid",
            "type": "string"
          }
        },
        "required": [
          "id",
          "nadredeniZaposlenikId",
          "zaposlenikId"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ZaprimljeniEracunFull": {
        "properties": {
          "brojEracuna": {
            "example": "1234567890",
            "type": "string"
          },
          "datumDospijeca": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "datumIsporuke": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "datumIzdavanja": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "datumZaprimanja": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "dokumentBase64": {
            "example": "base64 encoded document",
            "type": "string"
          },
          "eracunVrsta": {
            "$ref": "#/components/schemas/public_models.EracunVrstaSimple"
          },
          "eracunVrstaId": {
            "example": 1,
            "type": "integer"
          },
          "fiskalizacijaStatus": {
            "$ref": "#/components/schemas/public_models.FiskalizacijaStatusSimple"
          },
          "fiskalizacijaStatusId": {
            "example": 1,
            "type": "integer"
          },
          "iban": {
            "example": "HR12345678901234567890123",
            "type": "string"
          },
          "iznos": {
            "example": 100,
            "type": "number"
          },
          "iznosPdv13": {
            "example": 100,
            "type": "number"
          },
          "iznosPdv25": {
            "example": 100,
            "type": "number"
          },
          "iznosPdv5": {
            "example": 100,
            "type": "number"
          },
          "model": {
            "example": "HR00",
            "type": "string"
          },
          "nacinPlacanja": {
            "$ref": "#/components/schemas/public_models.NacinPlacanjaSimple"
          },
          "nacinPlacanjaId": {
            "example": 1,
            "type": "integer"
          },
          "napomena": {
            "example": "Napomena",
            "type": "string"
          },
          "narudzbenicaOznaka": {
            "example": "1234567890",
            "type": "string"
          },
          "nazivBanke": {
            "example": "Bank of Croatia",
            "type": "string"
          },
          "ponudaOznaka": {
            "example": "1234567890",
            "type": "string"
          },
          "posiljateljDrzava": {
            "example": "Hrvatska",
            "type": "string"
          },
          "posiljateljElektronickiIdentifikator": {
            "example": "12345678901",
            "type": "string"
          },
          "posiljateljGrad": {
            "example": "Zagreb",
            "type": "string"
          },
          "posiljateljNaziv": {
            "example": "Posiljatelj",
            "type": "string"
          },
          "posiljateljOib": {
            "example": "12345678901",
            "type": "string"
          },
          "posiljateljPostanskiBroj": {
            "example": "12345",
            "type": "string"
          },
          "posiljateljUlicaIBroj": {
            "example": "Ulica 1",
            "type": "string"
          },
          "pozivNaBroj": {
            "example": "Poziv na broj",
            "type": "string"
          },
          "razlogOdbijanja": {
            "example": "Razlog odbijanja",
            "type": [
              "string",
              "null"
            ]
          },
          "rokZaOdbijanje": {
            "example": "2025-01-15T00:00:00Z",
            "type": "string"
          },
          "tipPoslovnogProcesa": {
            "$ref": "#/components/schemas/public_models.TipPoslovnogProcesaSimple"
          },
          "tipPoslovnogProcesaId": {
            "example": 1,
            "type": "integer"
          },
          "tvrtka": {
            "$ref": "#/components/schemas/public_models.TvrtkaSimple"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "uuid": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "valuta": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "valutaId": {
            "example": 1,
            "type": "integer"
          },
          "vrstaRazlogaOdbijanjaEracuna": {
            "$ref": "#/components/schemas/public_models.VrstaRazlogaOdbijanjaEracunaSimple"
          },
          "vrstaRazlogaOdbijanjaEracunaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "zadnjaIzmjena": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "zaprimljeniEracuniPovijesti": {
            "items": {
              "$ref": "#/components/schemas/public_models.ZaprimljeniEracunPovijestFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "zaprimljeniEracuniStavke": {
            "items": {
              "$ref": "#/components/schemas/public_models.ZaprimljeniEracunStavkaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          }
        },
        "required": [
          "brojEracuna",
          "datumDospijeca",
          "datumIsporuke",
          "datumIzdavanja",
          "datumZaprimanja",
          "dokumentBase64",
          "eracunVrstaId",
          "fiskalizacijaStatusId",
          "iban",
          "iznos",
          "iznosPdv13",
          "iznosPdv25",
          "iznosPdv5",
          "model",
          "nacinPlacanjaId",
          "napomena",
          "narudzbenicaOznaka",
          "nazivBanke",
          "ponudaOznaka",
          "posiljateljDrzava",
          "posiljateljElektronickiIdentifikator",
          "posiljateljGrad",
          "posiljateljNaziv",
          "posiljateljOib",
          "posiljateljPostanskiBroj",
          "posiljateljUlicaIBroj",
          "pozivNaBroj",
          "rokZaOdbijanje",
          "tipPoslovnogProcesaId",
          "tvrtkaId",
          "uuid",
          "valutaId",
          "zadnjaIzmjena"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ZaprimljeniEracunPovijestFull": {
        "properties": {
          "opis": {
            "example": "Opis",
            "type": "string"
          },
          "timestamp": {
            "example": "2021-01-01T00:00:00Z",
            "type": "string"
          },
          "uuid": {
            "example": "1",
            "type": "string"
          },
          "zaprimljeniEracun": {
            "$ref": "#/components/schemas/public_models.ZaprimljeniEracunSimple"
          },
          "zaprimljeniEracunPovijestTip": {
            "$ref": "#/components/schemas/public_models.ZaprimljeniEracunPovijestTipSimple"
          },
          "zaprimljeniEracunPovijestTipId": {
            "example": 1,
            "type": "integer"
          },
          "zaprimljeniEracunUuid": {
            "example": "1",
            "type": "string"
          }
        },
        "required": [
          "opis",
          "timestamp",
          "uuid",
          "zaprimljeniEracunPovijestTipId",
          "zaprimljeniEracunUuid"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ZaprimljeniEracunPovijestTipSimple": {
        "properties": {
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          }
        },
        "required": [
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ZaprimljeniEracunSimple": {
        "properties": {
          "brojEracuna": {
            "example": "1234567890",
            "type": "string"
          },
          "datumDospijeca": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "datumIsporuke": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "datumIzdavanja": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "datumZaprimanja": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "dokumentBase64": {
            "example": "base64 encoded document",
            "type": "string"
          },
          "eracunVrstaId": {
            "example": 1,
            "type": "integer"
          },
          "fiskalizacijaStatusId": {
            "example": 1,
            "type": "integer"
          },
          "iban": {
            "example": "HR12345678901234567890123",
            "type": "string"
          },
          "iznos": {
            "example": 100,
            "type": "number"
          },
          "iznosPdv13": {
            "example": 100,
            "type": "number"
          },
          "iznosPdv25": {
            "example": 100,
            "type": "number"
          },
          "iznosPdv5": {
            "example": 100,
            "type": "number"
          },
          "model": {
            "example": "HR00",
            "type": "string"
          },
          "nacinPlacanjaId": {
            "example": 1,
            "type": "integer"
          },
          "napomena": {
            "example": "Napomena",
            "type": "string"
          },
          "narudzbenicaOznaka": {
            "example": "1234567890",
            "type": "string"
          },
          "nazivBanke": {
            "example": "Bank of Croatia",
            "type": "string"
          },
          "ponudaOznaka": {
            "example": "1234567890",
            "type": "string"
          },
          "posiljateljDrzava": {
            "example": "Hrvatska",
            "type": "string"
          },
          "posiljateljElektronickiIdentifikator": {
            "example": "12345678901",
            "type": "string"
          },
          "posiljateljGrad": {
            "example": "Zagreb",
            "type": "string"
          },
          "posiljateljNaziv": {
            "example": "Posiljatelj",
            "type": "string"
          },
          "posiljateljOib": {
            "example": "12345678901",
            "type": "string"
          },
          "posiljateljPostanskiBroj": {
            "example": "12345",
            "type": "string"
          },
          "posiljateljUlicaIBroj": {
            "example": "Ulica 1",
            "type": "string"
          },
          "pozivNaBroj": {
            "example": "Poziv na broj",
            "type": "string"
          },
          "razlogOdbijanja": {
            "example": "Razlog odbijanja",
            "type": [
              "string",
              "null"
            ]
          },
          "rokZaOdbijanje": {
            "example": "2025-01-15T00:00:00Z",
            "type": "string"
          },
          "tipPoslovnogProcesaId": {
            "example": 1,
            "type": "integer"
          },
          "tvrtkaId": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "uuid": {
            "example": "514195dd-5d5f-4185-9072-799f81ba3281",
            "type": "string"
          },
          "valutaId": {
            "example": 1,
            "type": "integer"
          },
          "vrstaRazlogaOdbijanjaEracunaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "zadnjaIzmjena": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          }
        },
        "required": [
          "brojEracuna",
          "datumDospijeca",
          "datumIsporuke",
          "datumIzdavanja",
          "datumZaprimanja",
          "dokumentBase64",
          "eracunVrstaId",
          "fiskalizacijaStatusId",
          "iban",
          "iznos",
          "iznosPdv13",
          "iznosPdv25",
          "iznosPdv5",
          "model",
          "nacinPlacanjaId",
          "napomena",
          "narudzbenicaOznaka",
          "nazivBanke",
          "ponudaOznaka",
          "posiljateljDrzava",
          "posiljateljElektronickiIdentifikator",
          "posiljateljGrad",
          "posiljateljNaziv",
          "posiljateljOib",
          "posiljateljPostanskiBroj",
          "posiljateljUlicaIBroj",
          "pozivNaBroj",
          "rokZaOdbijanje",
          "tipPoslovnogProcesaId",
          "tvrtkaId",
          "uuid",
          "valutaId",
          "zadnjaIzmjena"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ZaprimljeniEracunStavkaFull": {
        "properties": {
          "iznos": {
            "example": 1,
            "type": "number"
          },
          "jedinicaMjere": {
            "$ref": "#/components/schemas/public_models.JedinicaMjereSimple"
          },
          "jedinicaMjereId": {
            "example": 1,
            "type": "integer"
          },
          "kolicina": {
            "default": 1,
            "example": 1,
            "type": "number"
          },
          "kpdTrecaRazina": {
            "$ref": "#/components/schemas/public_models.KpdTrecaRazinaSimple"
          },
          "kpdTrecaRazinaId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          },
          "porezniRazred": {
            "$ref": "#/components/schemas/public_models.PorezniRazredSimple"
          },
          "porezniRazredId": {
            "example": 1,
            "type": "integer"
          },
          "uuid": {
            "example": "1",
            "type": "string"
          },
          "zaprimljeniEracun": {
            "$ref": "#/components/schemas/public_models.ZaprimljeniEracunSimple"
          },
          "zaprimljeniEracunUuid": {
            "example": "1",
            "type": "string"
          }
        },
        "required": [
          "iznos",
          "jedinicaMjereId",
          "kolicina",
          "kpdTrecaRazinaId",
          "naziv",
          "porezniRazredId",
          "uuid",
          "zaprimljeniEracunUuid"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_models.ZupanijaSimple": {
        "properties": {
          "drzavaId": {
            "example": 1,
            "type": "integer"
          },
          "id": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Zupanija",
            "type": "string"
          }
        },
        "required": [
          "drzavaId",
          "id",
          "naziv"
        ],
        "type": [
          "object",
          "null"
        ]
      },
      "public_request_models.AkcijaPoArtikluPatchRequest": {
        "properties": {
          "najvecaDozvoljenaKolicinaNaRacunu": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Novi naziv akcije",
            "type": [
              "string",
              "null"
            ]
          },
          "popust": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "vrijediDo": {
            "example": "2025-01-01",
            "type": [
              "string",
              "null"
            ]
          },
          "vrijediOd": {
            "example": "2025-01-01",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.AkcijaPoArtikluPostRequest": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "najvecaDozvoljenaKolicinaNaRacunu": {
            "example": 10,
            "type": "number"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv akcije",
            "type": "string"
          },
          "popust": {
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "vrijediDo": {
            "example": "2025-01-01",
            "type": "string"
          },
          "vrijediOd": {
            "example": "2025-01-01",
            "type": "string"
          }
        },
        "required": [
          "artiklId",
          "najvecaDozvoljenaKolicinaNaRacunu",
          "naplatniUredajId",
          "naziv",
          "popust",
          "vrijediDo",
          "vrijediOd"
        ],
        "type": "object"
      },
      "public_request_models.AkcijaPoGrupiArtikalaPatchRequest": {
        "properties": {
          "artiklGrupaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "maxKolicinaNaRacunu": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Novi naziv akcije",
            "type": [
              "string",
              "null"
            ]
          },
          "popust": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "valutaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "vrijediDo": {
            "example": "2025-01-01",
            "type": [
              "string",
              "null"
            ]
          },
          "vrijediOd": {
            "example": "2025-01-01",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.AkcijaPoGrupiArtikalaPostRequest": {
        "properties": {
          "artiklGrupaId": {
            "example": 1,
            "type": "integer"
          },
          "maxKolicinaNaRacunu": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv akcije",
            "type": "string"
          },
          "popust": {
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "valutaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "vrijediDo": {
            "example": "2025-01-01",
            "type": "string"
          },
          "vrijediOd": {
            "example": "2025-01-01",
            "type": "string"
          }
        },
        "required": [
          "artiklGrupaId",
          "naplatniUredajId",
          "naziv",
          "popust",
          "vrijediDo",
          "vrijediOd"
        ],
        "type": "object"
      },
      "public_request_models.AkcijaPoGrupiUslugaPatchRequest": {
        "properties": {
          "maxKolicinaNaRacunu": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Novi naziv akcije",
            "type": [
              "string",
              "null"
            ]
          },
          "popust": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "uslugeGrupaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "valutaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "vrijediDo": {
            "example": "2025-01-01",
            "type": [
              "string",
              "null"
            ]
          },
          "vrijediOd": {
            "example": "2025-01-01",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.AkcijaPoGrupiUslugaPostRequest": {
        "properties": {
          "maxKolicinaNaRacunu": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv akcije",
            "type": "string"
          },
          "popust": {
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "uslugeGrupaId": {
            "example": 1,
            "type": "integer"
          },
          "valutaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "vrijediDo": {
            "example": "2025-01-01",
            "type": "string"
          },
          "vrijediOd": {
            "example": "2025-01-01",
            "type": "string"
          }
        },
        "required": [
          "naplatniUredajId",
          "naziv",
          "popust",
          "uslugeGrupaId",
          "vrijediDo",
          "vrijediOd"
        ],
        "type": "object"
      },
      "public_request_models.AkcijaPoUsluziPatchRequest": {
        "properties": {
          "najvecaDozvoljenaKolicinaNaRacunu": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Novi naziv akcije",
            "type": [
              "string",
              "null"
            ]
          },
          "popust": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "vrijediDo": {
            "example": "2025-01-01",
            "type": [
              "string",
              "null"
            ]
          },
          "vrijediOd": {
            "example": "2025-01-01",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.AkcijaPoUsluziPostRequest": {
        "properties": {
          "najvecaDozvoljenaKolicinaNaRacunu": {
            "example": 10,
            "type": "number"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv akcije",
            "type": "string"
          },
          "popust": {
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "uslugaId": {
            "example": 1,
            "type": "integer"
          },
          "vrijediDo": {
            "example": "2025-01-01",
            "type": "string"
          },
          "vrijediOd": {
            "example": "2025-01-01",
            "type": "string"
          }
        },
        "required": [
          "najvecaDozvoljenaKolicinaNaRacunu",
          "naplatniUredajId",
          "naziv",
          "popust",
          "uslugaId",
          "vrijediDo",
          "vrijediOd"
        ],
        "type": "object"
      },
      "public_request_models.ArtiklDeklaracijaPatchRequest": {
        "properties": {
          "godina": {
            "example": 2025,
            "type": [
              "integer",
              "null"
            ]
          },
          "proizvodacId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "uvoznikNaziv": {
            "example": "Uvoznik",
            "type": [
              "string",
              "null"
            ]
          },
          "zemljaPorijeklaNaziv": {
            "example": "Zemlja porijekla",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.ArtiklDeklaracijaPostRequest": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "brZaIspis": {
            "example": 10,
            "type": "integer"
          },
          "godina": {
            "example": 2025,
            "type": "integer"
          },
          "imaMpc": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "opis": {
            "example": "Opis",
            "type": [
              "string",
              "null"
            ]
          },
          "primkaId": {
            "example": 1,
            "type": "integer"
          },
          "proizvodacId": {
            "example": 1,
            "type": "integer"
          },
          "uvoznikNaziv": {
            "example": "Uvoznik",
            "type": "string"
          },
          "zemljaPorijeklaNaziv": {
            "example": "Zemlja porijekla",
            "type": "string"
          }
        },
        "required": [
          "artiklId",
          "brZaIspis",
          "godina",
          "primkaId",
          "proizvodacId",
          "uvoznikNaziv",
          "zemljaPorijeklaNaziv"
        ],
        "type": "object"
      },
      "public_request_models.ArtiklEanPatchRequest": {
        "properties": {
          "ean": {
            "example": "1234567890123",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.ArtiklEanPostRequest": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "ean": {
            "example": "1234567890123",
            "type": "string"
          }
        },
        "required": [
          "artiklId",
          "ean"
        ],
        "type": "object"
      },
      "public_request_models.ArtiklGrupaPatchRequest": {
        "properties": {
          "aktivan": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Novi naziv grupe",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.ArtiklGrupaPostRequest": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv grupe",
            "type": "string"
          }
        },
        "required": [
          "naplatniUredajId",
          "naziv"
        ],
        "type": "object"
      },
      "public_request_models.ArtiklPatchRequest": {
        "properties": {
          "brojArtikalaUPakiranju": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "cijena": {
            "example": 100,
            "type": [
              "number",
              "null"
            ]
          },
          "dopustitiProdajuRabatIznadMax": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "jamstvo": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "kaloMasa": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "kaloVolumen": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "kpdTrecaRazinaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "maxDopusteniRabat": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "maxKolicinaNaSkladistu": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "minKolicinaNaSkladistu": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "negativnoStanje": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "normativKolicina": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "porezniRazredId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "povratnaNaknaIznos": {
            "example": 0.07,
            "type": [
              "number",
              "null"
            ]
          },
          "povratnaNaknada": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "proizvodacId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "zemljaPorijekla": {
            "example": "Hrvatska",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.ArtiklPostRequest": {
        "properties": {
          "artiklGrupaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "brojArtikalaUPakiranju": {
            "example": 1,
            "type": "number"
          },
          "cijena": {
            "example": 100,
            "type": "number"
          },
          "dopustitiProdajuRabatIznadMax": {
            "example": false,
            "type": "boolean"
          },
          "jamstvo": {
            "example": 1,
            "type": "integer"
          },
          "jedinicaMjereId": {
            "example": 1,
            "type": "integer"
          },
          "kaloMasa": {
            "example": 1,
            "type": "number"
          },
          "kaloVolumen": {
            "example": 1,
            "type": "number"
          },
          "kpdTrecaRazinaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "maxDopusteniRabat": {
            "example": 1,
            "type": "number"
          },
          "maxKolicinaNaSkladistu": {
            "example": 1,
            "type": "number"
          },
          "minKolicinaNaSkladistu": {
            "example": 1,
            "type": "number"
          },
          "naziv": {
            "example": "Naziv usluge",
            "type": "string"
          },
          "negativnoStanje": {
            "example": false,
            "type": "boolean"
          },
          "normativ": {
            "example": false,
            "type": "boolean"
          },
          "normativKolicina": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "oslobodenjePoClanku39": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "porezniRazredId": {
            "example": 1,
            "type": "integer"
          },
          "povratnaNaknaIznos": {
            "example": 0.07,
            "type": "number"
          },
          "povratnaNaknada": {
            "example": false,
            "type": "boolean"
          },
          "proizvodacId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "sifra": {
            "example": "123456",
            "type": "string"
          },
          "tezinaBruto": {
            "example": 1,
            "type": "number"
          },
          "tezinaNeto": {
            "example": 1,
            "type": "number"
          },
          "zemljaPorijekla": {
            "example": "Hrvatska",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "brojArtikalaUPakiranju",
          "cijena",
          "dopustitiProdajuRabatIznadMax",
          "jamstvo",
          "jedinicaMjereId",
          "kaloMasa",
          "kaloVolumen",
          "maxDopusteniRabat",
          "maxKolicinaNaSkladistu",
          "minKolicinaNaSkladistu",
          "naziv",
          "negativnoStanje",
          "normativ",
          "porezniRazredId",
          "povratnaNaknaIznos",
          "povratnaNaknada",
          "sifra",
          "tezinaBruto",
          "tezinaNeto"
        ],
        "type": "object"
      },
      "public_request_models.ArtiklSastojakPatchRequest": {
        "properties": {
          "kolicina": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.ArtiklSastojakPostRequest": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "kolicina": {
            "default": 1,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "sastojakArtiklId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "sastojakUslugaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "artiklId",
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.DnevniPrometPostRequest": {
        "properties": {
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "zaDatum": {
            "example": "2025-01-01",
            "type": "string"
          }
        },
        "required": [
          "naplatniUredajId",
          "zaDatum"
        ],
        "type": "object"
      },
      "public_request_models.DobavljacPatchRequest": {
        "properties": {
          "drzavaNaziv": {
            "example": "Naziv države",
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "example": "Email",
            "type": [
              "string",
              "null"
            ]
          },
          "gradNaziv": {
            "example": "Naziv grada",
            "type": [
              "string",
              "null"
            ]
          },
          "jeIno": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "korisnikId": {
            "example": "ID komercijalista",
            "type": [
              "string",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv dobavljača",
            "type": [
              "string",
              "null"
            ]
          },
          "oib": {
            "example": "OIB",
            "type": [
              "string",
              "null"
            ]
          },
          "telefonskiBroj": {
            "example": "Telefonski broj",
            "type": [
              "string",
              "null"
            ]
          },
          "ulica": {
            "example": "Naziv ulice",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaNaziv": {
            "example": "Naziv županije",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.DobavljacPostRequest": {
        "properties": {
          "drzavaNaziv": {
            "example": "Naziv države",
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "example": "Email",
            "type": [
              "string",
              "null"
            ]
          },
          "gradNaziv": {
            "example": "Naziv grada",
            "type": [
              "string",
              "null"
            ]
          },
          "jeIno": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "korisnikId": {
            "example": "ID komercijalista",
            "type": [
              "string",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv dobavljača",
            "type": "string"
          },
          "oib": {
            "example": "OIB",
            "type": [
              "string",
              "null"
            ]
          },
          "telefonskiBroj": {
            "example": "Telefonski broj",
            "type": [
              "string",
              "null"
            ]
          },
          "ulica": {
            "example": "Naziv ulice",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaNaziv": {
            "example": "Naziv županije",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "naziv"
        ],
        "type": "object"
      },
      "public_request_models.InventuraArtiklPatchRequest": {
        "properties": {
          "kolicina": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "maloprodajnaCijena": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.InventuraArtiklPostRequest": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "inventuraId": {
            "example": 1,
            "type": "integer"
          },
          "kolicina": {
            "example": 1,
            "type": "number"
          },
          "maloprodajnaCijena": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "artiklId",
          "inventuraId",
          "kolicina"
        ],
        "type": "object"
      },
      "public_request_models.InventuraArtikliPostListRequest": {
        "properties": {
          "inventuraArtikli": {
            "items": {
              "$ref": "#/components/schemas/public_request_models.InventuraArtiklPostRequest"
            },
            "type": "array",
            "uniqueItems": false
          }
        },
        "required": [
          "inventuraArtikli"
        ],
        "type": "object"
      },
      "public_request_models.InventuraDeleteRequest": {
        "properties": {
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.InventuraInventuraArtiklPostRequest": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "kolicina": {
            "example": 1,
            "type": "number"
          },
          "maloprodajnaCijena": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "artiklId",
          "kolicina"
        ],
        "type": "object"
      },
      "public_request_models.InventuraPostRequest": {
        "properties": {
          "inventuraArtikli": {
            "items": {
              "$ref": "#/components/schemas/public_request_models.InventuraInventuraArtiklPostRequest"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "jeZakljucana": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "opis": {
            "example": "Opis",
            "type": "string"
          }
        },
        "required": [
          "naplatniUredajId",
          "opis"
        ],
        "type": "object"
      },
      "public_request_models.InventuraZakljucajRequest": {
        "properties": {
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.KarticaUslugaIArtikalaPdfArtiklUslugaItem": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "uslugaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.KarticaUslugaIArtikalaPdfRequest": {
        "properties": {
          "artikliUsluge": {
            "items": {
              "$ref": "#/components/schemas/public_request_models.KarticaUslugaIArtikalaPdfArtiklUslugaItem"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "godinaId": {
            "example": 2025,
            "type": "integer"
          },
          "porezniRazredId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "printArtikala": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "printUsluga": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "godinaId"
        ],
        "type": "object"
      },
      "public_request_models.KorisnikPatchRequest": {
        "properties": {
          "adminPoslovnice": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "adminTvrtke": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "aktivan": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "drzavaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "email": {
            "example": "email@example.com",
            "type": [
              "string",
              "null"
            ]
          },
          "gradId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "imeIPrezime": {
            "example": "Ime i prezime",
            "type": [
              "string",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "oib": {
            "example": "1234567890123",
            "type": [
              "string",
              "null"
            ]
          },
          "oznakaNaRacunu": {
            "example": "Oznaka na računu",
            "type": [
              "string",
              "null"
            ]
          },
          "poslovniProstorId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "telefonskiBroj": {
            "example": "1234567890",
            "type": [
              "string",
              "null"
            ]
          },
          "ulicaIBroj": {
            "example": "Ulica i broj",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.KorisnikPostRequest": {
        "properties": {
          "adminPoslovnice": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "adminTvrtke": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "aktivan": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "drzavaId": {
            "default": 1,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "email": {
            "example": "email@example.com",
            "type": "string"
          },
          "gradId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "imeIPrezime": {
            "example": "Ime i prezime",
            "type": "string"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "oib": {
            "example": "1234567890123",
            "type": "string"
          },
          "oznakaNaRacunu": {
            "example": "Oznaka na računu",
            "type": "string"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "telefonskiBroj": {
            "example": "1234567890",
            "type": "string"
          },
          "ulicaIBroj": {
            "example": "Ulica i broj",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "email",
          "imeIPrezime",
          "naplatniUredajId",
          "oib",
          "oznakaNaRacunu",
          "poslovniProstorId",
          "telefonskiBroj"
        ],
        "type": "object"
      },
      "public_request_models.KorisnikProvjeraKodaRequest": {
        "properties": {
          "kod": {
            "example": "12345678",
            "type": "string"
          }
        },
        "required": [
          "kod"
        ],
        "type": "object"
      },
      "public_request_models.KorisnikZatraziResetLozinkeRequest": {
        "properties": {
          "email": {
            "example": "korisnik@example.com",
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "type": "object"
      },
      "public_request_models.MeduskladisnicaArtiklPatchRequest": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "kolicina": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "staroStanje": {
            "example": 100,
            "type": [
              "number",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.MeduskladisnicaArtiklPostRequest": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "kolicina": {
            "example": 10,
            "type": "number"
          },
          "meduskladisnicaId": {
            "example": 1,
            "type": "integer"
          },
          "staroStanje": {
            "example": 100,
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "artiklId",
          "kolicina",
          "meduskladisnicaId"
        ],
        "type": "object"
      },
      "public_request_models.NaplatniUredajPatchRequest": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": [
              "string",
              "null"
            ]
          },
          "poslovniProstorId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.NaplatniUredajPostRequest": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv",
            "type": "string"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "naplatniUredajId",
          "naziv",
          "poslovniProstorId"
        ],
        "type": "object"
      },
      "public_request_models.NivelacijaCijeneGrupaNivelacijaCijenePostRequest": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "kolicina": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "nabavnaCijena": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "novaCijena": {
            "example": 1,
            "type": "number"
          },
          "razlog": {
            "example": "Razlog nivelacije cijene",
            "type": "string"
          },
          "staraCijena": {
            "example": 1,
            "type": "number"
          }
        },
        "required": [
          "artiklId",
          "kolicina",
          "nabavnaCijena",
          "novaCijena",
          "razlog",
          "staraCijena"
        ],
        "type": "object"
      },
      "public_request_models.NivelacijaCijeneGrupaPostRequest": {
        "properties": {
          "nivelacijeCijene": {
            "items": {
              "$ref": "#/components/schemas/public_request_models.NivelacijaCijeneGrupaNivelacijaCijenePostRequest"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          }
        },
        "type": "object"
      },
      "public_request_models.NivelacijaCijenePostRequest": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "kolicina": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "nabavnaCijena": {
            "default": 0,
            "example": 1,
            "type": "number"
          },
          "nivelacijaCijenaGrupaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "novaCijena": {
            "example": 1,
            "type": "number"
          },
          "razlog": {
            "example": "Razlog nivelacije cijene",
            "type": "string"
          },
          "staraCijena": {
            "example": 1,
            "type": "number"
          }
        },
        "required": [
          "artiklId",
          "kolicina",
          "nabavnaCijena",
          "novaCijena",
          "razlog",
          "staraCijena"
        ],
        "type": "object"
      },
      "public_request_models.OtpremnicaPostRequest": {
        "properties": {
          "jezikId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "racunId": {
            "example": 1,
            "type": "integer"
          },
          "storno": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "vrstaOtpremeId": {
            "default": 1,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "racunId"
        ],
        "type": "object"
      },
      "public_request_models.PartnerOpomenaPatchRequest": {
        "properties": {
          "autoSlanje": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "autoSlanjeDana": {
            "example": 7,
            "type": [
              "integer",
              "null"
            ]
          },
          "datum": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "example": "partner@domena.hr",
            "type": [
              "string",
              "null"
            ]
          },
          "iznos": {
            "example": 100,
            "type": [
              "number",
              "null"
            ]
          },
          "opis": {
            "example": "Opis opomene",
            "type": [
              "string",
              "null"
            ]
          },
          "partnerId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "placeno": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "posljednjeSlanje": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "racunId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "valutaId": {
            "example": 2,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.PartnerOpomenaPostRequest": {
        "properties": {
          "autoSlanje": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "autoSlanjeDana": {
            "example": 7,
            "type": [
              "integer",
              "null"
            ]
          },
          "datum": {
            "example": "2025-01-01T00:00:00Z",
            "type": "string"
          },
          "email": {
            "example": "partner@domena.hr",
            "type": [
              "string",
              "null"
            ]
          },
          "iznos": {
            "default": 0,
            "example": 100,
            "type": "number"
          },
          "opis": {
            "example": "Opis opomene",
            "type": "string"
          },
          "partnerId": {
            "example": 1,
            "type": "integer"
          },
          "racunId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "valutaId": {
            "example": 2,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "datum",
          "iznos",
          "opis",
          "partnerId"
        ],
        "type": "object"
      },
      "public_request_models.PartnerPatchRequest": {
        "properties": {
          "dozvolitiProdajuBezRokaPlacanja": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "dozvolitiProdajuSOdgodom": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "drzavaNaziv": {
            "example": "Hrvatska",
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "example": "Email",
            "type": [
              "string",
              "null"
            ]
          },
          "gradNaziv": {
            "example": "Zagreb",
            "type": [
              "string",
              "null"
            ]
          },
          "jezikId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "korisnikId": {
            "example": "UUID korisnika",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacTipId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "maxVrijednostRobeSOdgodomPlacanja": {
            "example": 1000,
            "type": [
              "number",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "napomena": {
            "example": "Napomena",
            "type": [
              "string",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv partnera",
            "type": [
              "string",
              "null"
            ]
          },
          "odgodaPlacanjaDana": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "oib": {
            "example": "OIB",
            "type": [
              "string",
              "null"
            ]
          },
          "partnerTipId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "posta": {
            "example": "10000",
            "type": [
              "string",
              "null"
            ]
          },
          "postanskiBroj": {
            "example": "10000",
            "type": [
              "string",
              "null"
            ]
          },
          "telefonskiBroj": {
            "example": "Telefonski broj",
            "type": [
              "string",
              "null"
            ]
          },
          "ulicaIBroj": {
            "example": "Naziv ulice i broj",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaNaziv": {
            "example": "Zagrebačka",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.PartnerPostRequest": {
        "properties": {
          "dozvolitiProdajuBezRokaPlacanja": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "dozvolitiProdajuSOdgodom": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "drzavaNaziv": {
            "example": "Hrvatska",
            "type": "string"
          },
          "email": {
            "example": "Email",
            "type": [
              "string",
              "null"
            ]
          },
          "gradNaziv": {
            "example": "Zagreb",
            "type": "string"
          },
          "jezikId": {
            "default": 1,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "korisnikId": {
            "example": "UUID korisnika",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacTipId": {
            "default": 1,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "maxVrijednostRobeSOdgodomPlacanja": {
            "default": 0,
            "example": 1000,
            "type": [
              "number",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "napomena": {
            "example": "Napomena",
            "type": [
              "string",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv partnera",
            "type": "string"
          },
          "odgodaPlacanjaDana": {
            "default": 0,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "oib": {
            "example": "OIB",
            "type": "string"
          },
          "partnerTipId": {
            "example": 1,
            "type": "integer"
          },
          "posta": {
            "example": "10000",
            "type": "string"
          },
          "postanskiBroj": {
            "example": "10000",
            "type": [
              "string",
              "null"
            ]
          },
          "telefonskiBroj": {
            "example": "Telefonski broj",
            "type": [
              "string",
              "null"
            ]
          },
          "ulicaIBroj": {
            "example": "Naziv ulice i broj",
            "type": "string"
          },
          "zupanijaNaziv": {
            "example": "Zagrebačka",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "drzavaNaziv",
          "gradNaziv",
          "naplatniUredajId",
          "naziv",
          "oib",
          "partnerTipId",
          "posta",
          "ulicaIBroj"
        ],
        "type": "object"
      },
      "public_request_models.PonavljajuciRacunPartnerDeleteRequest": {
        "properties": {
          "partnerId": {
            "type": "integer"
          },
          "ponavljajuciRacunId": {
            "type": "integer"
          }
        },
        "required": [
          "partnerId",
          "ponavljajuciRacunId"
        ],
        "type": "object"
      },
      "public_request_models.PonavljajuciRacunPartnerPostRequest": {
        "properties": {
          "partnerId": {
            "type": "integer"
          },
          "ponavljajuciRacunId": {
            "type": "integer"
          }
        },
        "required": [
          "partnerId",
          "ponavljajuciRacunId"
        ],
        "type": "object"
      },
      "public_request_models.PonavljajuciRacunPatchRequest": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "danDospijecaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "danId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "korisnikId": {
            "example": "UUID",
            "type": [
              "string",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv ponavljajućeg računa",
            "type": [
              "string",
              "null"
            ]
          },
          "ponudaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "poslovniProstorId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.PonavljajuciRacunPostRequest": {
        "properties": {
          "aktivan": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "danDospijecaId": {
            "default": 1,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "danId": {
            "default": 1,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "korisnikId": {
            "example": "UUID",
            "type": "string"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv ponavljajućeg računa",
            "type": "string"
          },
          "ponudaId": {
            "example": 1,
            "type": "integer"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "korisnikId",
          "naplatniUredajId",
          "naziv",
          "ponudaId",
          "poslovniProstorId"
        ],
        "type": "object"
      },
      "public_request_models.PonudaEmailRequest": {
        "properties": {
          "email": {
            "example": "kupac@kupac.hr",
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "type": "object"
      },
      "public_request_models.PonudaPatchRequest": {
        "properties": {
          "jePpo": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "jezikId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "kupacDrzavaNaziv": {
            "example": "Hrvatska",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacEmail": {
            "example": "kupac@kupac.hr",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacGradNaziv": {
            "example": "Zagreb",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacNaziv": {
            "example": "Kupac d.o.o.",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacOib": {
            "example": "12345678901",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacUlicaIBroj": {
            "example": "Ulica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacZupanijaNaziv": {
            "example": "Zagrebačka županija",
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "example": "HR00",
            "type": [
              "string",
              "null"
            ]
          },
          "nacinPlacanjaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "napomena": {
            "example": "napomena",
            "type": [
              "string",
              "null"
            ]
          },
          "partnerId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "podaciOKupcu": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "popust": {
            "example": 0,
            "type": [
              "number",
              "null"
            ]
          },
          "pozivNaBroj": {
            "example": "123456789",
            "type": [
              "string",
              "null"
            ]
          },
          "trajanjePonudeDana": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.PonudaPonudaStavkaPostRequest": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "cijena": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "jedinicaMjereId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "kolicina": {
            "default": 1,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "maxKolicinaNaRacunu": {
            "default": 0,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv stavke",
            "type": [
              "string",
              "null"
            ]
          },
          "popust": {
            "default": 0,
            "example": 0,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "porezniRazredId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "uslugaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.PonudaPostRequest": {
        "properties": {
          "jePpo": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "jeZakljucan": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "jeZakljucanFiskaliziraj": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "jezikId": {
            "default": 1,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "kupacDrzavaNaziv": {
            "example": "Hrvatska",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacEmail": {
            "example": "kupac@kupac.hr",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacGradNaziv": {
            "example": "Zagreb",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacNaziv": {
            "example": "Kupac d.o.o.",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacOib": {
            "example": "12345678901",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacUlicaIBroj": {
            "example": "Ulica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacZupanijaNaziv": {
            "example": "Zagrebačka županija",
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "example": "HR00",
            "type": [
              "string",
              "null"
            ]
          },
          "nacinPlacanjaId": {
            "default": 3,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "napomena": {
            "example": "napomena",
            "type": [
              "string",
              "null"
            ]
          },
          "partnerId": {
            "default": 0,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "podaciOKupcu": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "ponudaStavke": {
            "items": {
              "$ref": "#/components/schemas/public_request_models.PonudaPonudaStavkaPostRequest"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "popust": {
            "default": 0,
            "example": 0,
            "type": [
              "number",
              "null"
            ]
          },
          "pozivNaBroj": {
            "example": "123456789",
            "type": [
              "string",
              "null"
            ]
          },
          "trajanjePonudeDana": {
            "default": 0,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.PonudaStavkaPatchRequest": {
        "properties": {
          "cijena": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "jedinicaMjereId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "kolicina": {
            "default": 1,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "maxKolicinaNaRacunu": {
            "default": 0,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv artikla",
            "type": [
              "string",
              "null"
            ]
          },
          "popust": {
            "default": 0,
            "example": 0,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "porezniRazredId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.PonudaStavkaPostRequest": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "cijena": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "jedinicaMjereId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "kolicina": {
            "default": 1,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "maxKolicinaNaRacunu": {
            "default": 0,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv artikla",
            "type": [
              "string",
              "null"
            ]
          },
          "ponudaId": {
            "example": 1,
            "type": "integer"
          },
          "popust": {
            "default": 0,
            "example": 0,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "porezniRazredId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "uslugaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "ponudaId"
        ],
        "type": "object"
      },
      "public_request_models.PoslovniProstorPatchRequest": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "cetRadi": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "cetRadnoVrijemeDo": {
            "default": "00:00:00",
            "example": "16:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "cetRadnoVrijemeOd": {
            "default": "00:00:00",
            "example": "08:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "cijenaFaktor": {
            "default": 1,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "drzavaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "gradId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "imaPovratAmbalaze": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "nedRadi": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "nedRadnoVrijemeDo": {
            "default": "00:00:00",
            "example": "16:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "nedRadnoVrijemeOd": {
            "default": "00:00:00",
            "example": "08:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "oznaka": {
            "example": "Oznaka",
            "type": [
              "string",
              "null"
            ]
          },
          "petRadi": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "petRadnoVrijemeDo": {
            "default": "00:00:00",
            "example": "16:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "petRadnoVrijemeOd": {
            "default": "00:00:00",
            "example": "08:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "ponRadi": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "ponRadnoVrijemeDo": {
            "default": "00:00:00",
            "example": "16:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "ponRadnoVrijemeOd": {
            "default": "00:00:00",
            "example": "08:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "sriRadi": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "sriRadnoVrijemeDo": {
            "default": "00:00:00",
            "example": "16:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "sriRadnoVrijemeOd": {
            "default": "00:00:00",
            "example": "08:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "subRadi": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "subRadnoVrijemeDo": {
            "default": "00:00:00",
            "example": "16:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "subRadnoVrijemeOd": {
            "default": "00:00:00",
            "example": "08:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "ulica": {
            "example": "Ulica i broj",
            "type": [
              "string",
              "null"
            ]
          },
          "utoRadi": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "utoRadnoVrijemeDo": {
            "default": "00:00:00",
            "example": "16:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "utoRadnoVrijemeOd": {
            "default": "00:00:00",
            "example": "08:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.PoslovniProstorPostRequest": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "cetRadi": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "cetRadnoVrijemeDo": {
            "default": "00:00:00",
            "example": "16:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "cetRadnoVrijemeOd": {
            "default": "00:00:00",
            "example": "08:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "cijenaFaktor": {
            "default": 1,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "drzavaId": {
            "example": 1,
            "type": "integer"
          },
          "gradId": {
            "example": 1,
            "type": "integer"
          },
          "imaPovratAmbalaze": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "nedRadi": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "nedRadnoVrijemeDo": {
            "default": "00:00:00",
            "example": "16:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "nedRadnoVrijemeOd": {
            "default": "00:00:00",
            "example": "08:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "oznaka": {
            "example": "Oznaka",
            "type": "string"
          },
          "petRadi": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "petRadnoVrijemeDo": {
            "default": "00:00:00",
            "example": "16:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "petRadnoVrijemeOd": {
            "default": "00:00:00",
            "example": "08:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "ponRadi": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "ponRadnoVrijemeDo": {
            "default": "00:00:00",
            "example": "16:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "ponRadnoVrijemeOd": {
            "default": "00:00:00",
            "example": "08:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "sriRadi": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "sriRadnoVrijemeDo": {
            "default": "00:00:00",
            "example": "16:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "sriRadnoVrijemeOd": {
            "default": "00:00:00",
            "example": "08:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "subRadi": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "subRadnoVrijemeDo": {
            "default": "00:00:00",
            "example": "16:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "subRadnoVrijemeOd": {
            "default": "00:00:00",
            "example": "08:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "ulica": {
            "example": "Ulica i broj",
            "type": "string"
          },
          "utoRadi": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "utoRadnoVrijemeDo": {
            "default": "00:00:00",
            "example": "16:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "utoRadnoVrijemeOd": {
            "default": "00:00:00",
            "example": "08:00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "drzavaId",
          "gradId",
          "naplatniUredajId",
          "oznaka",
          "ulica",
          "zupanijaId"
        ],
        "type": "object"
      },
      "public_request_models.PovratnicaArtiklPatchRequest": {
        "properties": {
          "kolicina": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.PovratnicaArtiklPostRequest": {
        "properties": {
          "kolicina": {
            "example": 1,
            "type": "number"
          },
          "povratnicaId": {
            "example": 1,
            "type": "integer"
          },
          "primkaArtiklId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "kolicina",
          "povratnicaId",
          "primkaArtiklId"
        ],
        "type": "object"
      },
      "public_request_models.PovratnicaDeleteRequest": {
        "properties": {
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.PovratnicaPatchRequest": {
        "properties": {
          "jeZakljucana": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "napomena": {
            "example": "Napomena",
            "type": [
              "string",
              "null"
            ]
          },
          "povratnicaArtikli": {
            "items": {
              "$ref": "#/components/schemas/public_request_models.PovratnicaPovratnicaArtiklPostRequest"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.PovratnicaPostRequest": {
        "properties": {
          "dobavljacId": {
            "example": 1,
            "type": "integer"
          },
          "dokumentTipId": {
            "example": 1,
            "type": "integer"
          },
          "jeZakljucana": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "napomena": {
            "example": "Napomena",
            "type": [
              "string",
              "null"
            ]
          },
          "povratnicaArtikli": {
            "items": {
              "$ref": "#/components/schemas/public_request_models.PovratnicaPovratnicaArtiklPostRequest"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "primkaId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "dobavljacId",
          "dokumentTipId",
          "naplatniUredajId",
          "primkaId"
        ],
        "type": "object"
      },
      "public_request_models.PovratnicaPovratnicaArtiklPostRequest": {
        "properties": {
          "kolicina": {
            "example": 1,
            "type": "number"
          },
          "primkaArtiklId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "kolicina",
          "primkaArtiklId"
        ],
        "type": "object"
      },
      "public_request_models.PovratnicaStornirajRequest": {
        "properties": {
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.PrimkaArtiklPatchRequest": {
        "properties": {
          "brojPakiranja": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "kolicina": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "povratnaNaknadaPoArtiklu": {
            "example": 0.1,
            "type": [
              "number",
              "null"
            ]
          },
          "prodajnaCijenaPoArtiklu": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "rabat": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.PrimkaArtiklPostRequest": {
        "properties": {
          "artiklEanId": {
            "example": 1,
            "type": "integer"
          },
          "brZaIspis": {
            "default": 0,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "brojPakiranja": {
            "default": 0,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "godina": {
            "default": 2025,
            "example": 2025,
            "type": [
              "integer",
              "null"
            ]
          },
          "imaMpc": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "kolicina": {
            "example": 1,
            "type": "number"
          },
          "nabavnaCijenaPoArtiklu": {
            "example": 10,
            "type": "number"
          },
          "opis": {
            "example": "Opis",
            "type": [
              "string",
              "null"
            ]
          },
          "povratnaNaknadaPoArtiklu": {
            "default": 0,
            "example": 0.1,
            "type": [
              "number",
              "null"
            ]
          },
          "primkaId": {
            "example": 1,
            "type": "integer"
          },
          "prodajnaCijenaPoArtiklu": {
            "example": 10,
            "type": "number"
          },
          "proizvodacId": {
            "example": 1,
            "type": "integer"
          },
          "rabat": {
            "default": 0,
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "uvoznikNaziv": {
            "example": "Uvoznik",
            "type": [
              "string",
              "null"
            ]
          },
          "zemljaPorijeklaNaziv": {
            "example": "Zemlja",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "artiklEanId",
          "kolicina",
          "nabavnaCijenaPoArtiklu",
          "primkaId",
          "prodajnaCijenaPoArtiklu",
          "proizvodacId"
        ],
        "type": "object"
      },
      "public_request_models.PrimkaDeleteRequest": {
        "properties": {
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.PrimkaPatchRequest": {
        "properties": {
          "datumDospijeca": {
            "example": "2025-01-01T00:00:00+00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "datumNaDokumentu": {
            "example": "2025-01-01T00:00:00+00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "datumPlacanja": {
            "example": "2025-01-01T00:00:00+00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "jeZakljucana": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "primkaArtikli": {
            "items": {
              "$ref": "#/components/schemas/public_request_models.PrimkaPrimkaArtiklPostRequest"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "primkaTroskovi": {
            "items": {
              "$ref": "#/components/schemas/public_request_models.PrimkaPrimkaTrosakPostRequest"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.PrimkaPostRequest": {
        "properties": {
          "brojDokumenta": {
            "example": "1/1/1",
            "type": "string"
          },
          "brojDostavnice": {
            "example": "1/1/1",
            "type": [
              "string",
              "null"
            ]
          },
          "datumDospijeca": {
            "example": "2025-01-01T00:00:00+00:00",
            "type": "string"
          },
          "datumNaDokumentu": {
            "example": "2025-01-01T00:00:00+00:00",
            "type": "string"
          },
          "datumPlacanja": {
            "example": "2025-01-01T00:00:00+00:00",
            "type": "string"
          },
          "dobavljacId": {
            "example": 1,
            "type": "integer"
          },
          "dokumenatDatoteka": {
            "example": "base64",
            "type": [
              "string",
              "null"
            ]
          },
          "dokumentTipId": {
            "example": 1,
            "type": "integer"
          },
          "jeZakljucana": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "pdv13": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "pdv25": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "pdv5": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "primkaArtikli": {
            "items": {
              "$ref": "#/components/schemas/public_request_models.PrimkaPrimkaArtiklPostRequest"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "primkaTroskovi": {
            "items": {
              "$ref": "#/components/schemas/public_request_models.PrimkaPrimkaTrosakPostRequest"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "tecaj": {
            "default": 1,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "ukupanIznos": {
            "example": 1,
            "type": "number"
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "brojDokumenta",
          "datumDospijeca",
          "datumNaDokumentu",
          "datumPlacanja",
          "dobavljacId",
          "dokumentTipId",
          "naplatniUredajId",
          "ukupanIznos"
        ],
        "type": "object"
      },
      "public_request_models.PrimkaPrimkaArtiklPostRequest": {
        "properties": {
          "artiklEanId": {
            "example": 1,
            "type": "integer"
          },
          "brZaIspis": {
            "default": 0,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "brojPakiranja": {
            "default": 0,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "godina": {
            "default": 2025,
            "example": 2025,
            "type": [
              "integer",
              "null"
            ]
          },
          "imaMpc": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "kolicina": {
            "example": 1,
            "type": "number"
          },
          "nabavnaCijenaPoArtiklu": {
            "example": 10,
            "type": "number"
          },
          "opis": {
            "example": "Opis",
            "type": [
              "string",
              "null"
            ]
          },
          "povratnaNaknadaPoArtiklu": {
            "default": 0,
            "example": 0.1,
            "type": [
              "number",
              "null"
            ]
          },
          "prodajnaCijenaPoArtiklu": {
            "example": 10,
            "type": "number"
          },
          "proizvodacId": {
            "example": 1,
            "type": "integer"
          },
          "rabat": {
            "default": 0,
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "uvoznikNaziv": {
            "example": "Uvoznik",
            "type": [
              "string",
              "null"
            ]
          },
          "zemljaPorijeklaNaziv": {
            "example": "Zemlja",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "artiklEanId",
          "kolicina",
          "nabavnaCijenaPoArtiklu",
          "prodajnaCijenaPoArtiklu",
          "proizvodacId"
        ],
        "type": "object"
      },
      "public_request_models.PrimkaPrimkaTrosakPostRequest": {
        "properties": {
          "brojDokumenta": {
            "example": "1/1/1",
            "type": "string"
          },
          "cijena": {
            "example": 10,
            "type": "number"
          },
          "dobavljacNaziv": {
            "example": "Dobavljac",
            "type": [
              "string",
              "null"
            ]
          },
          "jeNaknadni": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "primkaTrosakOsnovaId": {
            "example": 1,
            "type": "integer"
          },
          "tecaj": {
            "default": 1,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "brojDokumenta",
          "cijena",
          "primkaTrosakOsnovaId"
        ],
        "type": "object"
      },
      "public_request_models.PrimkaStornirajRequest": {
        "properties": {
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.PrimkaTrosakPatchRequest": {
        "properties": {
          "brojDokumenta": {
            "example": "1/1/1",
            "type": [
              "string",
              "null"
            ]
          },
          "cijena": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "dobavljacNaziv": {
            "example": "Dobavljac",
            "type": [
              "string",
              "null"
            ]
          },
          "primkaTrosakOsnovaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "tecaj": {
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "valutaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.PrimkaTrosakPostRequest": {
        "properties": {
          "brojDokumenta": {
            "example": "1/1/1",
            "type": [
              "string",
              "null"
            ]
          },
          "cijena": {
            "example": 10,
            "type": "number"
          },
          "dobavljacNaziv": {
            "example": "Dobavljac",
            "type": "string"
          },
          "jeNaknadni": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "primkaId": {
            "example": 1,
            "type": "integer"
          },
          "primkaTrosakOsnovaId": {
            "example": 1,
            "type": "integer"
          },
          "tecaj": {
            "default": 1,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "valutaId": {
            "default": 2,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "cijena",
          "dobavljacNaziv",
          "primkaId",
          "primkaTrosakOsnovaId"
        ],
        "type": "object"
      },
      "public_request_models.ProizvodacPatchRequest": {
        "properties": {
          "drzavaNaziv": {
            "example": "Naziv države",
            "type": [
              "string",
              "null"
            ]
          },
          "gradNaziv": {
            "example": "Naziv grada",
            "type": [
              "string",
              "null"
            ]
          },
          "jeIno": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv dobavljača",
            "type": [
              "string",
              "null"
            ]
          },
          "ulicaIBroj": {
            "example": "Naziv ulice",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaNaziv": {
            "example": "Naziv županije",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.ProizvodacPostRequest": {
        "properties": {
          "drzavaNaziv": {
            "example": "Naziv države",
            "type": [
              "string",
              "null"
            ]
          },
          "gradNaziv": {
            "example": "Naziv grada",
            "type": [
              "string",
              "null"
            ]
          },
          "jeIno": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv dobavljača",
            "type": "string"
          },
          "ulicaIBroj": {
            "example": "Naziv ulice",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaNaziv": {
            "example": "Naziv županije",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "naziv"
        ],
        "type": "object"
      },
      "public_request_models.RabatPartnerPoArtikluPatchRequest": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Novi naziv rabata",
            "type": [
              "string",
              "null"
            ]
          },
          "popust": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.RabatPartnerPoArtikluPostRequest": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "partnerId": {
            "example": 1,
            "type": "integer"
          },
          "popust": {
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "artiklId",
          "naplatniUredajId",
          "naziv",
          "partnerId",
          "popust"
        ],
        "type": "object"
      },
      "public_request_models.RabatPartnerPoGrupiArtikalaPatchRequest": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "artiklGrupaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Novi naziv rabata",
            "type": [
              "string",
              "null"
            ]
          },
          "partnerId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "popust": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "valutaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.RabatPartnerPoGrupiArtikalaPostRequest": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "artiklGrupaId": {
            "example": 1,
            "type": "integer"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "partnerId": {
            "example": 1,
            "type": "integer"
          },
          "popust": {
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "valutaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "artiklGrupaId",
          "naplatniUredajId",
          "naziv",
          "partnerId",
          "popust"
        ],
        "type": "object"
      },
      "public_request_models.RabatPartnerPoGrupiUslugaPatchRequest": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Novi naziv rabata",
            "type": [
              "string",
              "null"
            ]
          },
          "partnerId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "popust": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "uslugaGrupaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "valutaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.RabatPartnerPoGrupiUslugaPostRequest": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "partnerId": {
            "example": 1,
            "type": "integer"
          },
          "popust": {
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "uslugaGrupaId": {
            "example": 1,
            "type": "integer"
          },
          "valutaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId",
          "naziv",
          "partnerId",
          "popust",
          "uslugaGrupaId"
        ],
        "type": "object"
      },
      "public_request_models.RabatPartnerPoUsluziPatchRequest": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Novi naziv rabata",
            "type": [
              "string",
              "null"
            ]
          },
          "popust": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.RabatPartnerPoUsluziPostRequest": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "partnerId": {
            "example": 1,
            "type": "integer"
          },
          "popust": {
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "uslugaId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "naplatniUredajId",
          "naziv",
          "partnerId",
          "popust",
          "uslugaId"
        ],
        "type": "object"
      },
      "public_request_models.RabatPoArtikluPatchRequest": {
        "properties": {
          "najvecaDozvoljenaKolicinaNaRacunu": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Novi naziv rabata",
            "type": [
              "string",
              "null"
            ]
          },
          "popust": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "vrijediDo": {
            "example": "2025-01-01",
            "type": [
              "string",
              "null"
            ]
          },
          "vrijediOd": {
            "example": "2025-01-01",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.RabatPoArtikluPostRequest": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": "integer"
          },
          "najvecaDozvoljenaKolicinaNaRacunu": {
            "example": 10,
            "type": "number"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "popust": {
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "vrijediDo": {
            "example": "2025-01-01",
            "type": "string"
          },
          "vrijediOd": {
            "example": "2025-01-01",
            "type": "string"
          }
        },
        "required": [
          "artiklId",
          "najvecaDozvoljenaKolicinaNaRacunu",
          "naplatniUredajId",
          "naziv",
          "popust",
          "vrijediDo",
          "vrijediOd"
        ],
        "type": "object"
      },
      "public_request_models.RabatPoGrupiArtikalaPatchRequest": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "artiklGrupaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Novi naziv rabata",
            "type": [
              "string",
              "null"
            ]
          },
          "popust": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "valutaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.RabatPoGrupiArtikalaPostRequest": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "artiklGrupaId": {
            "example": 1,
            "type": "integer"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "popust": {
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "valutaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "artiklGrupaId",
          "naplatniUredajId",
          "naziv",
          "popust"
        ],
        "type": "object"
      },
      "public_request_models.RabatPoGrupiUslugaPatchRequest": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Novi naziv rabata",
            "type": [
              "string",
              "null"
            ]
          },
          "popust": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "uslugeGrupaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "valutaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.RabatPoGrupiUslugaPostRequest": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "popust": {
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "uslugeGrupaId": {
            "example": 1,
            "type": "integer"
          },
          "valutaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId",
          "naziv",
          "popust",
          "uslugeGrupaId"
        ],
        "type": "object"
      },
      "public_request_models.RabatPoUsluziPatchRequest": {
        "properties": {
          "najvecaDozvoljenaKolicinaNaRacunu": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Novi naziv rabata",
            "type": [
              "string",
              "null"
            ]
          },
          "popust": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "vrijediDo": {
            "example": "2025-01-01",
            "type": [
              "string",
              "null"
            ]
          },
          "vrijediOd": {
            "example": "2025-01-01",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.RabatPoUsluziPostRequest": {
        "properties": {
          "najvecaDozvoljenaKolicinaNaRacunu": {
            "example": 10,
            "type": "number"
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv rabata",
            "type": "string"
          },
          "popust": {
            "example": 10,
            "type": "number"
          },
          "popustBrojcano": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "uslugaId": {
            "example": 1,
            "type": "integer"
          },
          "vrijediDo": {
            "example": "2025-01-01",
            "type": "string"
          },
          "vrijediOd": {
            "example": "2025-01-01",
            "type": "string"
          }
        },
        "required": [
          "najvecaDozvoljenaKolicinaNaRacunu",
          "naplatniUredajId",
          "naziv",
          "popust",
          "uslugaId",
          "vrijediDo",
          "vrijediOd"
        ],
        "type": "object"
      },
      "public_request_models.RacunEmailRequest": {
        "properties": {
          "email": {
            "example": "kupac@kupac.hr",
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "type": "object"
      },
      "public_request_models.RacunNaplataPostRequest": {
        "properties": {
          "datumNaplate": {
            "type": [
              "string",
              "null"
            ]
          },
          "iznos": {
            "type": "number"
          },
          "jePuniIznos": {
            "type": "boolean"
          },
          "racunId": {
            "type": "integer"
          }
        },
        "required": [
          "iznos",
          "jePuniIznos",
          "racunId"
        ],
        "type": "object"
      },
      "public_request_models.RacunOznaciPlacenRequest": {
        "properties": {
          "jePlaceno": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "jePlaceno"
        ],
        "type": "object"
      },
      "public_request_models.RacunPatchRequest": {
        "properties": {
          "datumDospijeca": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "datumIsporuke": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "datumPlacanja": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "dokumentBase64": {
            "example": "base64",
            "type": [
              "string",
              "null"
            ]
          },
          "eracunVrstaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "fiskalizacijaStatusId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "iznosPlaceno": {
            "example": 50,
            "type": [
              "number",
              "null"
            ]
          },
          "jePpo": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "jezikId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "kupacDrzavaNaziv": {
            "example": "Hrvatska",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacEmail": {
            "example": "kupac@kupac.hr",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacGradNaziv": {
            "example": "Zagreb",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacNaziv": {
            "example": "Kupac d.o.o.",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacOib": {
            "example": "12345678901",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacPostanskiBroj": {
            "example": "12345",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacTipId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "kupacUlicaIBroj": {
            "example": "Ulica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacZupanijaNaziv": {
            "example": "Zagrebačka županija",
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "example": "HR00",
            "type": [
              "string",
              "null"
            ]
          },
          "nacinPlacanjaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "naknadnaFiskalizacija": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "napomena": {
            "example": "napomena",
            "type": [
              "string",
              "null"
            ]
          },
          "paragonOznaka": {
            "example": "1/1/1",
            "type": [
              "string",
              "null"
            ]
          },
          "paragonSpecNamjena": {
            "example": "Razlog zašto je korišten paragon",
            "type": [
              "string",
              "null"
            ]
          },
          "partnerId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "podaciOKupcu": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "popust": {
            "example": 0,
            "type": [
              "number",
              "null"
            ]
          },
          "pozivNaBroj": {
            "example": "123456789",
            "type": [
              "string",
              "null"
            ]
          },
          "sveracunDocumentId": {
            "example": "1234567890",
            "type": [
              "string",
              "null"
            ]
          },
          "tipFiskalizacijeId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "tipPoslovnogProcesaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.RacunPostRequest": {
        "properties": {
          "datumDospijeca": {
            "example": "2025-01-01T00:00:00+00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "datumIsporuke": {
            "default": "now()",
            "example": "2025-01-01T00:00:00+00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "datumPlacanja": {
            "example": "2025-01-01T00:00:00+00:00",
            "type": [
              "string",
              "null"
            ]
          },
          "dokumentBase64": {
            "example": "base64",
            "type": [
              "string",
              "null"
            ]
          },
          "eracunVrstaId": {
            "default": 1,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "fiskalizacijaStatusId": {
            "default": 1,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "iznosPlaceno": {
            "example": 50,
            "type": [
              "number",
              "null"
            ]
          },
          "jePpo": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "jeZakljucan": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "jeZakljucanFiskaliziraj": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "jezikId": {
            "default": 1,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "kupacDrzavaNaziv": {
            "example": "Hrvatska",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacEmail": {
            "example": "kupac@kupac.hr",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacGradNaziv": {
            "example": "Zagreb",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacNaziv": {
            "example": "Kupac d.o.o.",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacOib": {
            "example": "12345678901",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacPostanskiBroj": {
            "example": "12345",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacTipId": {
            "default": 1,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "kupacUlicaIBroj": {
            "example": "Ulica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "kupacZupanijaNaziv": {
            "example": "Zagrebačka županija",
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "example": "HR00",
            "type": [
              "string",
              "null"
            ]
          },
          "nacinPlacanjaId": {
            "default": 3,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "naknadnaFiskalizacija": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "napomena": {
            "example": "napomena",
            "type": [
              "string",
              "null"
            ]
          },
          "paragonOznaka": {
            "example": "1/1/1",
            "type": [
              "string",
              "null"
            ]
          },
          "paragonSpecNamjena": {
            "example": "Razlog zašto je korišten paragon",
            "type": [
              "string",
              "null"
            ]
          },
          "partnerId": {
            "default": 0,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "podaciOKupcu": {
            "default": false,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "ponudaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "popust": {
            "default": 0,
            "example": 0,
            "type": [
              "number",
              "null"
            ]
          },
          "pozivNaBroj": {
            "example": "123456789",
            "type": [
              "string",
              "null"
            ]
          },
          "racunPovratneAmbalaze": {
            "items": {
              "$ref": "#/components/schemas/public_request_models.RacunRacunPovratnaAmbalazaPostRequest"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "racunStavke": {
            "items": {
              "$ref": "#/components/schemas/public_request_models.RacunRacunStavkaPostRequest"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "sveracunDocumentId": {
            "example": "1234567890",
            "type": [
              "string",
              "null"
            ]
          },
          "tipFiskalizacijeId": {
            "default": 2,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "tipPoslovnogProcesaId": {
            "default": 1,
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.RacunPovratnaAmbalazaPatchRequest": {
        "properties": {
          "iznos": {
            "type": [
              "number",
              "null"
            ]
          },
          "kolicina": {
            "type": [
              "integer",
              "null"
            ]
          },
          "povratnaAmbalazaTipId": {
            "type": [
              "integer",
              "null"
            ]
          },
          "valutaId": {
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.RacunPovratnaAmbalazaPostRequest": {
        "properties": {
          "iznos": {
            "type": "number"
          },
          "kolicina": {
            "type": "integer"
          },
          "povratnaAmbalazaTipId": {
            "type": "integer"
          },
          "racunId": {
            "type": "integer"
          },
          "valutaId": {
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "iznos",
          "kolicina",
          "povratnaAmbalazaTipId",
          "racunId"
        ],
        "type": "object"
      },
      "public_request_models.RacunRacunPovratnaAmbalazaPostRequest": {
        "properties": {
          "iznos": {
            "example": 0.07,
            "type": "number"
          },
          "kolicina": {
            "example": 1,
            "type": "integer"
          },
          "povratnaAmbalazaTipId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "iznos",
          "kolicina",
          "povratnaAmbalazaTipId"
        ],
        "type": "object"
      },
      "public_request_models.RacunRacunStavkaPostRequest": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "cijena": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "jedinicaMjereId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "kolicina": {
            "default": 1,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "maxKolicinaNaRacunu": {
            "default": 0,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv stavke",
            "type": [
              "string",
              "null"
            ]
          },
          "popust": {
            "default": 0,
            "example": 0,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "porezniRazredId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "uslugaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.RacunStavkaPatchRequest": {
        "properties": {
          "cijena": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "jedinicaMjereId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "kolicina": {
            "default": 1,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "maxKolicinaNaRacunu": {
            "default": 0,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv artikla",
            "type": [
              "string",
              "null"
            ]
          },
          "popust": {
            "default": 0,
            "example": 0,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "porezniRazredId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.RacunStavkaPostRequest": {
        "properties": {
          "artiklId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "cijena": {
            "example": 10,
            "type": [
              "number",
              "null"
            ]
          },
          "jedinicaMjereId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "kolicina": {
            "default": 1,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "maxKolicinaNaRacunu": {
            "default": 0,
            "example": 1,
            "type": [
              "number",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv artikla",
            "type": [
              "string",
              "null"
            ]
          },
          "popust": {
            "default": 0,
            "example": 0,
            "type": [
              "number",
              "null"
            ]
          },
          "popustBrojcano": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "porezniRazredId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "racunId": {
            "example": 1,
            "type": "integer"
          },
          "uslugaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "racunId"
        ],
        "type": "object"
      },
      "public_request_models.RacunStornirajRequest": {
        "properties": {
          "razlog": {
            "example": "Razlog storniranja",
            "type": "string"
          }
        },
        "required": [
          "razlog"
        ],
        "type": "object"
      },
      "public_request_models.RadnaGrupaPatchRequest": {
        "properties": {
          "naziv": {
            "example": "Naziv radne grupe",
            "type": [
              "string",
              "null"
            ]
          },
          "poslovniProstorId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.RadnaGrupaPostRequest": {
        "properties": {
          "naziv": {
            "example": "Naziv radne grupe",
            "type": "string"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          }
        },
        "required": [
          "naziv",
          "poslovniProstorId"
        ],
        "type": "object"
      },
      "public_request_models.RadnoMjestoPatchRequest": {
        "properties": {
          "naziv": {
            "example": "Naziv radnog mjesta",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.RadnoMjestoPostRequest": {
        "properties": {
          "naziv": {
            "example": "Naziv radnog mjesta",
            "type": "string"
          }
        },
        "required": [
          "naziv"
        ],
        "type": "object"
      },
      "public_request_models.TvrtkaPatchRequest": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "drzavaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "email": {
            "example": "tvrtka@domena.hr",
            "type": [
              "string",
              "null"
            ]
          },
          "gradId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "iban": {
            "example": "HR1234567890123456789",
            "type": [
              "string",
              "null"
            ]
          },
          "logo": {
            "example": "https://www.example.com/logo.png",
            "type": [
              "string",
              "null"
            ]
          },
          "maxAktivnihKorisnika": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv tvrtke",
            "type": [
              "string",
              "null"
            ]
          },
          "neaktivanOd": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "oib": {
            "example": "12345678901",
            "type": [
              "string",
              "null"
            ]
          },
          "pdvId": {
            "example": "HR12345678901",
            "type": [
              "string",
              "null"
            ]
          },
          "podnozjePonudaRacuna": {
            "example": "Podnozje",
            "type": [
              "string",
              "null"
            ]
          },
          "telefonskiBroj": {
            "example": "0911234567",
            "type": [
              "string",
              "null"
            ]
          },
          "testnaTvrtka": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "tvrtkaVrstaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "uSustavuPdvaOd": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "ulicaIBroj": {
            "example": "Ulica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.TvrtkaPostRequest": {
        "properties": {
          "aktivan": {
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "drzavaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "email": {
            "example": "tvrtka@domena.hr",
            "type": "string"
          },
          "gradId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "iban": {
            "example": "HR1234567890123456789",
            "type": [
              "string",
              "null"
            ]
          },
          "logo": {
            "example": "https://www.example.com/logo.png",
            "type": [
              "string",
              "null"
            ]
          },
          "maxAktivnihKorisnika": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv tvrtke",
            "type": "string"
          },
          "neaktivanOd": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "oib": {
            "example": "12345678901",
            "type": "string"
          },
          "pdvId": {
            "example": "HR12345678901",
            "type": [
              "string",
              "null"
            ]
          },
          "podnozjePonudaRacuna": {
            "example": "Podnozje",
            "type": [
              "string",
              "null"
            ]
          },
          "telefonskiBroj": {
            "example": "0911234567",
            "type": [
              "string",
              "null"
            ]
          },
          "testnaTvrtka": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "tvrtkaVrstaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "uSustavuPdvaOd": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "ulicaIBroj": {
            "example": "Ulica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "email",
          "maxAktivnihKorisnika",
          "naziv",
          "oib"
        ],
        "type": "object"
      },
      "public_request_models.UslugaGrupaPatchRequest": {
        "properties": {
          "aktivan": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Novi naziv grupe",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "naplatniUredajId"
        ],
        "type": "object"
      },
      "public_request_models.UslugaGrupaPostRequest": {
        "properties": {
          "aktivan": {
            "default": true,
            "example": true,
            "type": [
              "boolean",
              "null"
            ]
          },
          "naplatniUredajId": {
            "example": 1,
            "type": "integer"
          },
          "naziv": {
            "example": "Naziv grupe",
            "type": "string"
          }
        },
        "required": [
          "naplatniUredajId",
          "naziv"
        ],
        "type": "object"
      },
      "public_request_models.UslugaPatchRequest": {
        "properties": {
          "cijena": {
            "example": 100,
            "type": [
              "number",
              "null"
            ]
          },
          "kpdTrecaRazinaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv usluge",
            "type": [
              "string",
              "null"
            ]
          },
          "uslugeGrupaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.UslugaPostRequest": {
        "properties": {
          "cijena": {
            "example": 100,
            "type": "number"
          },
          "jedinicaMjereId": {
            "example": 1,
            "type": "integer"
          },
          "kpdTrecaRazinaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "naziv": {
            "example": "Naziv usluge",
            "type": "string"
          },
          "oslobodenjePoClanku39": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "porezniRazredId": {
            "example": 1,
            "type": "integer"
          },
          "sifra": {
            "example": "123456",
            "type": "string"
          },
          "uslugeGrupaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "cijena",
          "jedinicaMjereId",
          "naziv",
          "porezniRazredId",
          "sifra"
        ],
        "type": "object"
      },
      "public_request_models.ZaposlenikPatchRequest": {
        "properties": {
          "aktivan": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "datumRodenja": {
            "example": "1990-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "drzavaNaziv": {
            "example": "Hrvatska",
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "example": "email@example.com",
            "type": [
              "string",
              "null"
            ]
          },
          "gradNaziv": {
            "example": "Zagreb",
            "type": [
              "string",
              "null"
            ]
          },
          "ibanRacuna": {
            "example": "HR1234567890123456789",
            "type": [
              "string",
              "null"
            ]
          },
          "imeIPrezime": {
            "example": "Ime i prezime",
            "type": [
              "string",
              "null"
            ]
          },
          "nadredeniZaposlenikId": {
            "example": "uuid",
            "type": [
              "string",
              "null"
            ]
          },
          "napomena": {
            "example": "Napomena",
            "type": [
              "string",
              "null"
            ]
          },
          "oib": {
            "example": "1234567890123",
            "type": [
              "string",
              "null"
            ]
          },
          "poslovniProstorId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "postBroj": {
            "example": "10000",
            "type": [
              "string",
              "null"
            ]
          },
          "radnaGrupaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "radnoMjestoId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "telefonskiBroj": {
            "example": "1234567890",
            "type": [
              "string",
              "null"
            ]
          },
          "ugovorDatoteka": {
            "example": "datoteka.pdf",
            "type": [
              "string",
              "null"
            ]
          },
          "ugovorTrajanjeDo": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "ugovorTrajanjeOd": {
            "example": "2024-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "ugovorVrstaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "ugovorenaBrutoPlaca": {
            "example": 5000,
            "type": [
              "number",
              "null"
            ]
          },
          "ugovorenaBrutoPlacaValutaId": {
            "example": 2,
            "type": [
              "integer",
              "null"
            ]
          },
          "ulicaIBroj": {
            "example": "Ilica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "zastitaNaRadu": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "zastitaNaRaduOd": {
            "example": "2024-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaNaziv": {
            "example": "Zagrebačka",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "public_request_models.ZaposlenikPostRequest": {
        "properties": {
          "aktivan": {
            "default": false,
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "datumRodenja": {
            "example": "1990-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "drzavaNaziv": {
            "example": "Hrvatska",
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "example": "email@example.com",
            "type": "string"
          },
          "gradNaziv": {
            "example": "Zagreb",
            "type": [
              "string",
              "null"
            ]
          },
          "ibanRacuna": {
            "example": "HR1234567890123456789",
            "type": [
              "string",
              "null"
            ]
          },
          "imeIPrezime": {
            "example": "Ime i prezime",
            "type": "string"
          },
          "napomena": {
            "example": "Napomena",
            "type": [
              "string",
              "null"
            ]
          },
          "oib": {
            "example": "1234567890123",
            "type": "string"
          },
          "poslovniProstorId": {
            "example": 1,
            "type": "integer"
          },
          "postBroj": {
            "example": "10000",
            "type": [
              "string",
              "null"
            ]
          },
          "radnaGrupaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "radnoMjestoId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "telefonskiBroj": {
            "example": "1234567890",
            "type": [
              "string",
              "null"
            ]
          },
          "ugovorDatoteka": {
            "example": "datoteka.pdf",
            "type": [
              "string",
              "null"
            ]
          },
          "ugovorTrajanjeDo": {
            "example": "2025-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "ugovorTrajanjeOd": {
            "example": "2024-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "ugovorVrstaId": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "ugovorenaBrutoPlaca": {
            "example": 5000,
            "type": [
              "number",
              "null"
            ]
          },
          "ugovorenaBrutoPlacaValutaId": {
            "example": 2,
            "type": [
              "integer",
              "null"
            ]
          },
          "ulicaIBroj": {
            "example": "Ilica 1",
            "type": [
              "string",
              "null"
            ]
          },
          "zastitaNaRadu": {
            "example": false,
            "type": [
              "boolean",
              "null"
            ]
          },
          "zastitaNaRaduOd": {
            "example": "2024-01-01T00:00:00Z",
            "type": [
              "string",
              "null"
            ]
          },
          "zupanijaNaziv": {
            "example": "Zagrebačka",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "email",
          "imeIPrezime",
          "oib",
          "poslovniProstorId"
        ],
        "type": "object"
      },
      "public_responses.AkcijaPoArtikluResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.AkcijaPoArtikluFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.AkcijaPoGrupiArtikalaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.AkcijaPoGrupiArtikalaFull"
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.AkcijaPoGrupiUslugaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.AkcijaPoGrupiUslugaFull"
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.AkcijaPoUsluziResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.AkcijaPoUsluziFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.AkcijePoArtikluCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.AkcijePoArtikluResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.AkcijaPoArtikluFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.AkcijePoGrupiArtikalaCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.AkcijePoGrupiArtikalaResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.AkcijaPoGrupiArtikalaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.AkcijePoGrupiUslugaCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.AkcijePoGrupiUslugaResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.AkcijaPoGrupiUslugaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.AkcijePoUsluziCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.AkcijePoUsluziResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.AkcijaPoUsluziFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtiklDeklaracijaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.ArtiklDeklaracijaFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtiklEanResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.ArtiklEanFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtiklGrupaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.ArtiklGrupaFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtiklPoslovniProstorResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.ArtiklPoslovniProstorFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtiklResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.ArtiklFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtiklSastojakResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.ArtiklSastojakFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtiklSastojciCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtiklSastojciResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.ArtiklSastojakFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtikliCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtikliDeklaracijeCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtikliDeklaracijeResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.ArtiklDeklaracijaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtikliEaniCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtikliEaniResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.ArtiklEanFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtikliGrupeCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtikliGrupeResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.ArtiklGrupaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtikliPdfResponse": {
        "properties": {
          "data": {
            "example": "base64",
            "type": [
              "string",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtikliPoslovniProstoriCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtikliPoslovniProstoriResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.ArtiklPoslovniProstorFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtikliResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.ArtiklFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ArtikliSifraResponse": {
        "properties": {
          "data": {
            "example": "123456",
            "type": [
              "string",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DeklaracijaTipResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.DeklaracijaTipSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DeklaracijeTipoviCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DeklaracijeTipoviResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.DeklaracijaTipSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DnevniPrometPdfResponse": {
        "properties": {
          "data": {
            "example": "base64",
            "type": [
              "string",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DnevniPrometResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.DnevniPrometFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DnevniPrometiCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DnevniPrometiResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.DnevniPrometFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DobavljacResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.DobavljacFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DobavljaciCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DobavljaciResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.DobavljacFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DokumentiTipResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.DokumentTipSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DokumentiTipoviCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DokumentiTipoviResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.DokumentTipSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DokumentiVrstaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.DokumentVrstaSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DokumentiVrsteCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DokumentiVrsteResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.DokumentVrstaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DrzavaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.DrzavaSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DrzaveCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.DrzaveResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.DrzavaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ErrorResponse": {
        "properties": {
          "errors": {
            "example": "Poruka pogreške",
            "type": "string"
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "errors",
          "success"
        ],
        "type": "object"
      },
      "public_responses.GradResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.GradSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.GradoviCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.GradoviResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.GradSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.InterniAktResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.InterniAktSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.InterniAktiCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.InterniAktiResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.InterniAktSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.InventuraArtiklResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.InventuraArtiklFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.InventuraArtikliCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.InventuraArtikliResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.InventuraArtiklFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.InventuraPdfResponse": {
        "properties": {
          "data": {
            "example": "base64",
            "type": [
              "string",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.InventuraResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.InventuraFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.InventureCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.InventureResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.InventuraFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.JedinicaMjereResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.JedinicaMjereSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.JediniceMjereCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.JediniceMjereResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.JedinicaMjereSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.JeziciCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.JeziciResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.JezikSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.JezikResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.JezikSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.KarticaUslugaIArtikalaPdfResponse": {
        "properties": {
          "data": {
            "example": "base64",
            "type": [
              "string",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.KorisniciCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.KorisniciResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.KorisnikFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.KorisnikFullTvrtkaPoslovniProstorResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.KorisnikFullTvrtkaPoslovniProstor"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.KorisnikResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.KorisnikFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.KpdDrugaRazinaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.KpdDrugaRazinaFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.KpdDrugeRazineCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.KpdDrugeRazineResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.KpdDrugaRazinaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.KpdGrupaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.KpdGrupaFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.KpdGrupeCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.KpdGrupeResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.KpdGrupaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.KpdPrvaRazinaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.KpdPrvaRazinaFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.KpdPrveRazineCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.KpdPrveRazineResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.KpdPrvaRazinaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.KpdTrecaRazinaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.KpdTrecaRazinaFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.KpdTreceRazineCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.KpdTreceRazineResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.KpdTrecaRazinaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.MeduskladisnicaArtiklResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.MeduskladisnicaArtiklSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.MeduskladisniceArtikliCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.MeduskladisniceArtikliResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.MeduskladisnicaArtiklSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.NacinPlacanjaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.NacinPlacanjaSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.NaciniPlacanjaCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.NaciniPlacanjaResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.NacinPlacanjaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.NaplatniUredajResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.NaplatniUredajFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.NaplatniUredajiCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.NaplatniUredajiResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.NaplatniUredajFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.NivelacijaCijeneResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.NivelacijaCijeneFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.NivelacijeCijeneCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.NivelacijeCijeneGrupaPdfResponse": {
        "properties": {
          "data": {
            "example": "base64",
            "type": [
              "string",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.NivelacijeCijeneGrupaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.NivelacijaCijeneGrupaFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.NivelacijeCijeneGrupeCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.NivelacijeCijeneGrupeResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.NivelacijaCijeneGrupaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.NivelacijeCijeneResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.NivelacijaCijeneFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.OslobodenjaPoClanku39TipoviCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.OslobodenjaPoClanku39TipoviResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.OslobodenjePoClanku39TipSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.OslobodenjePoClanku39TipResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.OslobodenjePoClanku39TipSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.OtpremnicaArtiklResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.OtpremnicaArtiklSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.OtpremnicaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.OtpremnicaSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.OtpremniceArtikliCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.OtpremniceArtikliResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.OtpremnicaArtiklSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.OtpremniceCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.OtpremniceResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.OtpremnicaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PartnerOpomenaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PartnerOpomenaSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PartnerOpomeneCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PartnerOpomeneResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PartnerOpomenaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PartnerResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PartnerFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PartnerTipResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PartnerTipSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PartneriCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PartneriResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PartnerFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PartneriTipoviCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PartneriTipoviResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PartnerTipSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PonavljajuciRacunPartnerResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PonavljajuciRacunPartnerSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PonavljajuciRacunResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PonavljajuciRacunFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PonavljajuciRacuniCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PonavljajuciRacuniPartneriResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PonavljajuciRacunPartnerSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PonavljajuciRacuniResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PonavljajuciRacunFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PonudaPdfResponse": {
        "properties": {
          "data": {
            "example": "base64",
            "type": [
              "string",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PonudaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PonudaFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PonudaSlanjeResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PonudaSlanjeFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PonudaStavkaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PonudaStavkaFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PonudaStavkeCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PonudaStavkeResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PonudaStavkaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PonudeCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PonudeOznakaResponse": {
        "properties": {
          "data": {
            "example": "1/1/1",
            "type": [
              "string",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PonudeResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PonudaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PonudeSlanjaCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PonudeSlanjaResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PonudaSlanjeFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PorezniRazredResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PorezniRazredSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PorezniRazrediCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PorezniRazrediResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PorezniRazredSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PoslovniProstorResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PoslovniProstorFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PoslovniProstoriCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PoslovniProstoriResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PoslovniProstorFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PovratnicaArtiklResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PovratnicaArtiklFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PovratnicaArtikliCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PovratnicaArtikliResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PovratnicaArtiklFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PovratnicaPdfResponse": {
        "properties": {
          "data": {
            "example": "base64",
            "type": [
              "string",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PovratnicaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PovratnicaFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PovratniceCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PovratniceResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PovratnicaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrijevodResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PrijevodSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrijevodiCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrijevodiResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PrijevodSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrimkaArtiklResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PrimkaArtiklFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrimkaArtikliCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrimkaArtikliResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PrimkaArtiklFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrimkaPdfResponse": {
        "properties": {
          "data": {
            "example": "base64",
            "type": [
              "string",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrimkaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PrimkaFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrimkaTipResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PrimkaTipSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrimkaTipoviCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrimkaTipoviResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PrimkaTipSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrimkaTrosakOsnovaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PrimkaTrosakOsnovaSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrimkaTrosakOsnoveCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrimkaTrosakOsnoveResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PrimkaTrosakOsnovaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrimkaTrosakResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.PrimkaTrosakFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrimkaTroskoviCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrimkaTroskoviResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PrimkaTrosakFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrimkeCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrimkeOznakaResponse": {
        "properties": {
          "data": {
            "example": "1-1-1-2025",
            "type": [
              "string",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.PrimkeResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.PrimkaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ProizvodacResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.ProizvodacFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ProizvodaciCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ProizvodaciResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.ProizvodacFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatPartnerPoArtikluResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RabatPartnerPoArtikluFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatPartnerPoGrupiArtikalaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RabatPartnerPoGrupiArtikalaFull"
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatPartnerPoGrupiUslugaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RabatPartnerPoGrupiUslugaFull"
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatPartnerPoUsluziResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RabatPartnerPoUsluziFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatPoArtikluResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RabatPoArtikluFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatPoGrupiArtikalaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RabatPoGrupiArtikalaFull"
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatPoGrupiUslugaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RabatPoGrupiUslugaFull"
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatPoUsluziResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RabatPoUsluziFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatiPartnerPoArtikluCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatiPartnerPoArtikluResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RabatPartnerPoArtikluFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatiPartnerPoGrupiArtikalaCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatiPartnerPoGrupiArtikalaResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RabatPartnerPoGrupiArtikalaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatiPartnerPoGrupiUslugaCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatiPartnerPoGrupiUslugaResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RabatPartnerPoGrupiUslugaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatiPartnerPoUsluziCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatiPartnerPoUsluziResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RabatPartnerPoUsluziFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatiPoArtikluCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatiPoArtikluResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RabatPoArtikluFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatiPoGrupiArtikalaCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatiPoGrupiArtikalaResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RabatPoGrupiArtikalaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatiPoGrupiUslugaCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatiPoGrupiUslugaResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RabatPoGrupiUslugaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatiPoUsluziCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RabatiPoUsluziResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RabatPoUsluziFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacunNaplataResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RacunNaplataSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacunPdfResponse": {
        "properties": {
          "data": {
            "example": "base64",
            "type": [
              "string",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacunPovijestResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RacunPovijestFull"
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacunPovijestTipResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RacunPovijestTipSimple"
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacunPovratnaAmbalazaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RacunPovratnaAmbalazaFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacunResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RacunFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacunSlanjeResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RacunSlanjeFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacunStavkaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RacunStavkaFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacunStavkeCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacunStavkeResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RacunStavkaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacuniCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacuniNaplateResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RacunNaplataSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacuniOznakaResponse": {
        "properties": {
          "data": {
            "example": "1/1/1",
            "type": [
              "string",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacuniPovijestTipoviCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacuniPovijestTipoviResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RacunPovijestTipSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacuniPovijestiCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacuniPovijestiResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RacunPovijestFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreske",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacuniPovratneAmbalazeResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RacunPovratnaAmbalazaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacuniResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RacunFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacuniSlanjaCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacuniSlanjaResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RacunSlanjeFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacuniTipResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RacunTipSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacuniTipoviCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RacuniTipoviResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RacunTipSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RadnaGrupaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RadnaGrupaSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RadnaMjestaCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RadnaMjestaResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RadnoMjestoSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RadneGrupeCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RadneGrupeResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.RadnaGrupaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.RadnoMjestoResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.RadnoMjestoSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.SkupSustavnihKlasaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.SkupSustavnihKlasa"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.SuccessResponse": {
        "properties": {
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.TipPoslovnogProcesaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.TipPoslovnogProcesaSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.TipoviPoslovnogProcesaCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.TipoviPoslovnogProcesaResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.TipPoslovnogProcesaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.TvrtkaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.TvrtkaFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.TvrtkaVrstaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.TvrtkaVrstaSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.TvrtkeCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.TvrtkeResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.TvrtkaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.TvrtkeVrsteCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.TvrtkeVrsteResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.TvrtkaVrstaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.UslugaGrupaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.UslugaGrupaFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.UslugaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.UslugaFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.UslugeCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.UslugeGrupeCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.UslugeGrupeResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.UslugaGrupaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.UslugeResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.UslugaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.UvoznikTipResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.UvoznikTipSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.UvoznikTipoviCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.UvoznikTipoviResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.UvoznikTipSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ValutaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.ValutaSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ValuteCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ValuteResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.ValutaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.VrstaRazlogaOdbijanjaEracunaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.VrstaRazlogaOdbijanjaEracunaSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.VrsteRazlogaOdbijanjaEracunaCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.VrsteRazlogaOdbijanjaEracunaResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.VrstaRazlogaOdbijanjaEracunaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZaposleniciCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZaposleniciResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.ZaposlenikFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZaposlenikResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.ZaposlenikFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZaprimljeniEracunPovijestResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.ZaprimljeniEracunPovijestFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZaprimljeniEracunPovijestTipResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.ZaprimljeniEracunPovijestTipSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZaprimljeniEracunResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.ZaprimljeniEracunFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZaprimljeniEracunStavkaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.ZaprimljeniEracunStavkaFull"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZaprimljeniEracuniCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZaprimljeniEracuniPovijestTipoviCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZaprimljeniEracuniPovijestTipoviResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.ZaprimljeniEracunPovijestTipSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZaprimljeniEracuniPovijestiCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZaprimljeniEracuniPovijestiResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.ZaprimljeniEracunPovijestFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZaprimljeniEracuniResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.ZaprimljeniEracunFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZaprimljeniEracuniStavkeCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZaprimljeniEracuniStavkeResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.ZaprimljeniEracunStavkaFull"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZupanijaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/public_models.ZupanijaSimple"
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZupanijeCountResponse": {
        "properties": {
          "data": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "public_responses.ZupanijeResponse": {
        "properties": {
          "dataArray": {
            "items": {
              "$ref": "#/components/schemas/public_models.ZupanijaSimple"
            },
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": false
          },
          "dataArrayCount": {
            "example": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "errors": {
            "example": "Poruka pogreške",
            "type": [
              "string",
              "null"
            ]
          },
          "success": {
            "example": true,
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "description": "API token iz Arges ERP sustava",
        "in": "header",
        "name": "apiToken",
        "type": "apiKey"
      },
      "NaplatniUredajAuth": {
        "description": "ID naplatnog uređaja",
        "in": "header",
        "name": "naplatniUredajId",
        "type": "apiKey"
      }
    }
  },
  "externalDocs": {
    "description": "",
    "url": ""
  },
  "info": {
    "contact": {
      "email": "arges@arges.hr",
      "name": "Arges d.o.o.",
      "url": "https://arges.hr/kontakt/"
    },
    "description": "API dokumentacija za sustav Arges ERP",
    "license": {
      "name": "EULA",
      "url": "https://arges.hr/uvjeti-koristenja/"
    },
    "termsOfService": "https://arges.hr/uvjeti-koristenja/",
    "title": "Arges ERP API",
    "version": "1.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/akcije-po-artiklu": {
      "get": {
        "description": "Endpoint za dohvat popisa akcija po artiklu",
        "parameters": [
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Vrijedi od",
            "in": "query",
            "name": "vrijediOd",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Vrijedi do",
            "in": "query",
            "name": "vrijediDo",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraga po nazivu akcije",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. sifra)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijePoArtikluResponse"
                }
              }
            },
            "description": "Popis akcija po artiklu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa akcija po artiklu"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis akcija po artiklu",
        "tags": [
          "Akcije po artiklu"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove akcije po artiklu",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.AkcijaPoArtikluPostRequest"
              }
            }
          },
          "description": "Akcija po artiklu",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijaPoArtikluResponse"
                }
              }
            },
            "description": "Novo kreirana akcija po artiklu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "naziv, največa dozvoljena količina na računu, popust, vrijedi od, vrijedi do, id artikla i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, već postoji akcija po artiklu istog naziva"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje nove akcije po artiklu",
        "tags": [
          "Akcije po artiklu"
        ]
      }
    },
    "/akcije-po-artiklu/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja akcija po artiklu",
        "parameters": [
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Vrijedi od",
            "in": "query",
            "name": "vrijediOd",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Vrijedi do",
            "in": "query",
            "name": "vrijediDo",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraga po nazivu akcije",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijePoArtikluCountResponse"
                }
              }
            },
            "description": "Broj akcija po artiklu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja akcija po artiklu"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj akcija po artiklu",
        "tags": [
          "Akcije po artiklu"
        ]
      }
    },
    "/akcije-po-artiklu/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne akcije po artiklu po ID-u",
        "parameters": [
          {
            "description": "ID akcije po artiklu",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijaPoArtikluResponse"
                }
              }
            },
            "description": "Pojedinačna akcija po artiklu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id akcije po artiklu i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne akcije po artiklu"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna akcija po artiklu po ID-u",
        "tags": [
          "Akcije po artiklu"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojeće akcije po artiklu",
        "parameters": [
          {
            "description": "ID akcije po artiklu",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.AkcijaPoArtikluPatchRequest"
              }
            }
          },
          "description": "Razlike akcije po artiklu",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijaPoArtikluResponse"
                }
              }
            },
            "description": "Uređena akcija po artiklu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id akcije po artiklu i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, već postoji akcija po artiklu istog naziva"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje akcije po artiklu",
        "tags": [
          "Akcije po artiklu"
        ]
      }
    },
    "/akcije-po-grupi-artikala": {
      "get": {
        "description": "Endpoint za dohvat popisa akcija po grupi artikala",
        "parameters": [
          {
            "description": "ID grupe artikala",
            "in": "query",
            "name": "artiklGrupaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Vrijedi od",
            "in": "query",
            "name": "vrijediOd",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Vrijedi do",
            "in": "query",
            "name": "vrijediDo",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraga po nazivu akcije",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijePoGrupiArtikalaResponse"
                }
              }
            },
            "description": "Popis akcija po grupi artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa akcija po grupi artikala"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis akcija po grupi artikala",
        "tags": [
          "Akcije po grupi artikala"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove akcije po grupi artikala",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.AkcijaPoGrupiArtikalaPostRequest"
              }
            }
          },
          "description": "Akcija po grupi artikala",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijaPoGrupiArtikalaResponse"
                }
              }
            },
            "description": "Novo kreirana akcija po grupi artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "naziv, popust, vrijedi od, vrijedi do, id grupe artikala i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje nove akcije po grupi artikala",
        "tags": [
          "Akcije po grupi artikala"
        ]
      }
    },
    "/akcije-po-grupi-artikala/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja akcija po grupi artikala",
        "parameters": [
          {
            "description": "ID grupe artikala",
            "in": "query",
            "name": "artiklGrupaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Vrijedi od",
            "in": "query",
            "name": "vrijediOd",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Vrijedi do",
            "in": "query",
            "name": "vrijediDo",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraga po nazivu akcije",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijePoGrupiArtikalaCountResponse"
                }
              }
            },
            "description": "Broj akcija po grupi artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja akcija po grupi artikala"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj akcija po grupi artikala",
        "tags": [
          "Akcije po grupi artikala"
        ]
      }
    },
    "/akcije-po-grupi-artikala/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne akcije po grupi artikala po ID-u",
        "parameters": [
          {
            "description": "ID akcije po grupi artikala",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijaPoGrupiArtikalaResponse"
                }
              }
            },
            "description": "Pojedinačna akcija po grupi artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id akcije po grupi artikala i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne akcije po grupi artikala"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna akcija po grupi artikala po ID-u",
        "tags": [
          "Akcije po grupi artikala"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojeće akcije po grupi artikala",
        "parameters": [
          {
            "description": "ID akcije po grupi artikala",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.AkcijaPoGrupiArtikalaPatchRequest"
              }
            }
          },
          "description": "Razlike akcije po grupi artikala",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijaPoGrupiArtikalaResponse"
                }
              }
            },
            "description": "Uređena akcija po grupi artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id akcije po grupi artikala i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje akcije po grupi artikala",
        "tags": [
          "Akcije po grupi artikala"
        ]
      }
    },
    "/akcije-po-grupi-usluga": {
      "get": {
        "description": "Endpoint za dohvat popisa akcija po grupi usluga",
        "parameters": [
          {
            "description": "ID grupe usluga",
            "in": "query",
            "name": "uslugeGrupaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Vrijedi od",
            "in": "query",
            "name": "vrijediOd",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Vrijedi do",
            "in": "query",
            "name": "vrijediDo",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraga po nazivu akcije",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijePoGrupiUslugaResponse"
                }
              }
            },
            "description": "Popis akcija po grupi usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa akcija po grupi usluga"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis akcija po grupi usluga",
        "tags": [
          "Akcije po grupi usluga"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove akcije po grupi usluga",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.AkcijaPoGrupiUslugaPostRequest"
              }
            }
          },
          "description": "Akcija po grupi usluga",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijaPoGrupiUslugaResponse"
                }
              }
            },
            "description": "Novo kreirana akcija po grupi usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "naziv, popust, vrijedi od, vrijedi do, id grupe usluga i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje nove akcije po grupi usluga",
        "tags": [
          "Akcije po grupi usluga"
        ]
      }
    },
    "/akcije-po-grupi-usluga/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja akcija po grupi usluga",
        "parameters": [
          {
            "description": "ID grupe usluga",
            "in": "query",
            "name": "uslugeGrupaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Vrijedi od",
            "in": "query",
            "name": "vrijediOd",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Vrijedi do",
            "in": "query",
            "name": "vrijediDo",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraga po nazivu akcije",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijePoGrupiUslugaCountResponse"
                }
              }
            },
            "description": "Broj akcija po grupi usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja akcija po grupi usluga"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj akcija po grupi usluga",
        "tags": [
          "Akcije po grupi usluga"
        ]
      }
    },
    "/akcije-po-grupi-usluga/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne akcije po grupi usluga po ID-u",
        "parameters": [
          {
            "description": "ID akcije po grupi usluga",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijaPoGrupiUslugaResponse"
                }
              }
            },
            "description": "Pojedinačna akcija po grupi usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id akcije po grupi usluga i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne akcije po grupi usluga"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna akcija po grupi usluga po ID-u",
        "tags": [
          "Akcije po grupi usluga"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojeće akcije po grupi usluga",
        "parameters": [
          {
            "description": "ID akcije po grupi usluga",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.AkcijaPoGrupiUslugaPatchRequest"
              }
            }
          },
          "description": "Razlike akcije po grupi usluga",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijaPoGrupiUslugaResponse"
                }
              }
            },
            "description": "Uređena akcija po grupi usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id akcije po grupi usluga i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje akcije po grupi usluga",
        "tags": [
          "Akcije po grupi usluga"
        ]
      }
    },
    "/akcije-po-usluzi": {
      "get": {
        "description": "Endpoint za dohvat popisa akcija po usluzi",
        "parameters": [
          {
            "description": "ID usluge",
            "in": "query",
            "name": "uslugaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Vrijedi od",
            "in": "query",
            "name": "vrijediOd",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Vrijedi do",
            "in": "query",
            "name": "vrijediDo",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraga po nazivu akcije",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. sifra)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijePoUsluziResponse"
                }
              }
            },
            "description": "Popis akcija po usluzi"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa akcija po usluzi"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis akcija po usluzi",
        "tags": [
          "Akcije po usluzi"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove akcije po usluzi",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.AkcijaPoUsluziPostRequest"
              }
            }
          },
          "description": "Akcija po usluzi",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijaPoUsluziResponse"
                }
              }
            },
            "description": "Novo kreirana akcija po usluzi"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "naziv, največa dozvoljena količina na računu, popust, vrijedi od, vrijedi do, id usluge i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, već postoji akcija po usluzi istog naziva"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje nove akcije po usluzi",
        "tags": [
          "Akcije po usluzi"
        ]
      }
    },
    "/akcije-po-usluzi/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja akcija po usluzi",
        "parameters": [
          {
            "description": "ID usluge",
            "in": "query",
            "name": "uslugaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Vrijedi od",
            "in": "query",
            "name": "vrijediOd",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Vrijedi do",
            "in": "query",
            "name": "vrijediDo",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraga po nazivu akcije",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijePoUsluziCountResponse"
                }
              }
            },
            "description": "Broj akcija po usluzi"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja akcija po usluzi"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj akcija po usluzi",
        "tags": [
          "Akcije po usluzi"
        ]
      }
    },
    "/akcije-po-usluzi/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne akcije po usluzi po ID-u",
        "parameters": [
          {
            "description": "ID akcije po usluzi",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijaPoUsluziResponse"
                }
              }
            },
            "description": "Pojedinačna akcija po usluzi"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id akcije po usluzi i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne akcije po usluzi"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna akcija po usluzi po ID-u",
        "tags": [
          "Akcije po usluzi"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojeće akcije po usluzi",
        "parameters": [
          {
            "description": "ID akcije po usluzi",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.AkcijaPoUsluziPatchRequest"
              }
            }
          },
          "description": "Razlike akcije po usluzi",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.AkcijaPoUsluziResponse"
                }
              }
            },
            "description": "Uređena akcija po usluzi"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id akcije po usluzi i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, već postoji akcija po usluzi istog naziva"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje akcije po usluzi",
        "tags": [
          "Akcije po usluzi"
        ]
      }
    },
    "/artikl-sastojci": {
      "post": {
        "description": "Endpoint za kreiranje novog sastojka artikla",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.ArtiklSastojakPostRequest"
              }
            }
          },
          "description": "Sastojak artikla",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklSastojakResponse"
                }
              }
            },
            "description": "Novo kreirani sastojak artikla"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id artikla nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, sastojak artikla (usluga ili artikl) je obavezan, naplatniUredajId je obavezan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje sastojka artikla",
        "tags": [
          "Artikli sastojci"
        ]
      }
    },
    "/artikl-sastojci/{artiklId}/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja sastojaka artikla",
        "parameters": [
          {
            "description": "ID artikla",
            "in": "path",
            "name": "artiklId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklSastojciCountResponse"
                }
              }
            },
            "description": "Broj sastojaka artikla"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id artikla su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id artikla nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja sastojaka artikla"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj sastojaka artikla",
        "tags": [
          "Artikli sastojci"
        ]
      }
    },
    "/artikl-sastojci/{artiklId}/list": {
      "get": {
        "description": "Endpoint za dohvat popisa sastojaka artikla",
        "parameters": [
          {
            "description": "ID artikla",
            "in": "path",
            "name": "artiklId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Broj sastojaka artikla po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih sastojaka artikla",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklSastojciResponse"
                }
              }
            },
            "description": "Popis sastojaka artikla"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id artikla su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id artikla nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa sastojaka artikla"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis sastojaka artikla",
        "tags": [
          "Artikli sastojci"
        ]
      }
    },
    "/artikl-sastojci/{id}": {
      "delete": {
        "description": "Endpoint za brisanje postojećeg sastojka artikla",
        "parameters": [
          {
            "description": "ID sastojka artikla",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklSastojakResponse"
                }
              }
            },
            "description": "Obrisani sastojak artikla"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id sastojka artikla i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Sastojak artikla nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, naplatniUredajId je obavezan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Brisanje sastojka artikla",
        "tags": [
          "Artikli sastojci"
        ]
      },
      "get": {
        "description": "Endpoint za dohvat pojedinačnog sastojka artikla po ID-u",
        "parameters": [
          {
            "description": "ID sastojka artikla",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklSastojakResponse"
                }
              }
            },
            "description": "Pojedinačni sastojak artikla"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id sastojka artikla i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog sastojka artikla"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni sastojak artikla",
        "tags": [
          "Artikli sastojci"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg sastojka artikla",
        "parameters": [
          {
            "description": "ID sastojka artikla",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.ArtiklSastojakPatchRequest"
              }
            }
          },
          "description": "Razlike sastojka artikla",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklSastojakResponse"
                }
              }
            },
            "description": "Uređeni sastojak artikla"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id sastojka artikla i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, naplatniUredajId je obavezan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje sastojka artikla",
        "tags": [
          "Artikli sastojci"
        ]
      }
    },
    "/artikli": {
      "get": {
        "description": "Endpoint za dohvat popisa artikala",
        "parameters": [
          {
            "description": "Broj artikala po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih artikala",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID jedinice mjere",
            "in": "query",
            "name": "jedinicaMjereId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poreznog razreda",
            "in": "query",
            "name": "porezniRazredId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID grupe artikala",
            "in": "query",
            "name": "artiklGrupaId",
            "schema": {
              "default": -1,
              "type": "integer"
            }
          },
          {
            "description": "ID proizvođača",
            "in": "query",
            "name": "proizvodacId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo artikli iz nabave",
            "in": "query",
            "name": "samoIzNabave",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo artikli iz proizvodnje",
            "in": "query",
            "name": "samoIzProizvodnje",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po nazivu ili šifri proizvođača",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. sifra)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtikliResponse"
                }
              }
            },
            "description": "Popis artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa artikala"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis artikala",
        "tags": [
          "Artikli"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog artikla",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.ArtiklPostRequest"
              }
            }
          },
          "description": "Artikl",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklResponse"
                }
              }
            },
            "description": "Novo kreirani artikl"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan,"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog artikla",
        "tags": [
          "Artikli"
        ]
      }
    },
    "/artikli-deklaracije": {
      "get": {
        "description": "Endpoint za dohvat popisa artikala deklaracija sa opcionalnim filterom po primkaId",
        "parameters": [
          {
            "description": "ID primke",
            "in": "query",
            "name": "primkaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Broj artikala deklaracija po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih artikala deklaracija",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID proizvođača",
            "in": "query",
            "name": "proizvodacId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu uvoznika ili zemlji porijekla",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtikliDeklaracijeResponse"
                }
              }
            },
            "description": "Popis artikala deklaracija"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa artikala deklaracija"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis svih artikala deklaracija",
        "tags": [
          "Artikli deklaracije"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog artikla deklaracije",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.ArtiklDeklaracijaPostRequest"
              }
            }
          },
          "description": "Artikl deklaracije",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklDeklaracijaResponse"
                }
              }
            },
            "description": "Novo kreirani artikl deklaracije"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla deklaracije i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id artikla deklaracije nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje artikla deklaracije",
        "tags": [
          "Artikli deklaracije"
        ]
      }
    },
    "/artikli-deklaracije/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja artikala deklaracija sa opcionalnim filterom po primkaId",
        "parameters": [
          {
            "description": "ID primke",
            "in": "query",
            "name": "primkaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID proizvođača",
            "in": "query",
            "name": "proizvodacId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu uvoznika ili zemlji porijekla",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtikliDeklaracijeCountResponse"
                }
              }
            },
            "description": "Broj artikala deklaracija"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja artikala deklaracija"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj svih artikala deklaracija",
        "tags": [
          "Artikli deklaracije"
        ]
      }
    },
    "/artikli-deklaracije/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog artikla deklaracije po ID-u",
        "parameters": [
          {
            "description": "ID artikla deklaracije",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklDeklaracijaResponse"
                }
              }
            },
            "description": "Pojedinačna artikl deklaracija"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla deklaracije i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog artikla deklaracije"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni artikl deklaracija",
        "tags": [
          "Artikli deklaracije"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg artikla deklaracije",
        "parameters": [
          {
            "description": "ID artikla deklaracije",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.ArtiklDeklaracijaPatchRequest"
              }
            }
          },
          "description": "Razlike artikla deklaracije",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklDeklaracijaResponse"
                }
              }
            },
            "description": "Uređeni artikl deklaracija"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla deklaracije i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje artikla deklaracije",
        "tags": [
          "Artikli deklaracije"
        ]
      }
    },
    "/artikli-deklaracije/{primkaId}/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja artikala deklaracija",
        "parameters": [
          {
            "description": "ID primke",
            "in": "path",
            "name": "primkaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID proizvođača",
            "in": "query",
            "name": "proizvodacId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu uvoznika ili zemlji porijekla",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtikliDeklaracijeCountResponse"
                }
              }
            },
            "description": "Broj artikala deklaracija"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id primke su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id primke nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja artikala deklaracija"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj artikala deklaracija",
        "tags": [
          "Artikli deklaracije"
        ]
      }
    },
    "/artikli-deklaracije/{primkaId}/list": {
      "get": {
        "description": "Endpoint za dohvat popisa artikala deklaracija",
        "parameters": [
          {
            "description": "ID primke",
            "in": "path",
            "name": "primkaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Broj artikala deklaracija po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih artikala deklaracija",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID proizvođača",
            "in": "query",
            "name": "proizvodacId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu uvoznika ili zemlji porijekla",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtikliDeklaracijeResponse"
                }
              }
            },
            "description": "Popis artikala deklaracija"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id primke su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id primke nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa artikala deklaracija"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis artikala deklaracija",
        "tags": [
          "Artikli deklaracije"
        ]
      }
    },
    "/artikli-eani": {
      "post": {
        "description": "Endpoint za kreiranje novog EAN koda artikla",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.ArtiklEanPostRequest"
              }
            }
          },
          "description": "EAN kod artikla",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklEanResponse"
                }
              }
            },
            "description": "Novo kreirani EAN kod artikla"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id EAN koda artikla i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id EAN koda artikla nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje EAN koda artikla",
        "tags": [
          "EAN kodovi artikla"
        ]
      }
    },
    "/artikli-eani/po-eanu/{ean}": {
      "get": {
        "description": "Endpoint za dohvat EAN koda artikla po EAN-u",
        "parameters": [
          {
            "description": "EAN kod",
            "in": "path",
            "name": "ean",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklEanResponse"
                }
              }
            },
            "description": "EAN kod artikla"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "ean i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "EAN kod nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "EAN kod artikla po EAN-u",
        "tags": [
          "EAN kodovi artikla"
        ]
      }
    },
    "/artikli-eani/{artiklId}/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja EAN kodova artikla",
        "parameters": [
          {
            "description": "ID artikla",
            "in": "path",
            "name": "artiklId",
            "required": true,
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po vrijednosti EAN koda artikla",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtikliEaniCountResponse"
                }
              }
            },
            "description": "Broj EAN kodova artikla"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id artikla su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id artikla nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja EAN kodova artikla"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj EAN kodova artikla",
        "tags": [
          "EAN kodovi artikla"
        ]
      }
    },
    "/artikli-eani/{artiklId}/list": {
      "get": {
        "description": "Endpoint za dohvat popisa EAN kodova artikla",
        "parameters": [
          {
            "description": "ID artikla",
            "in": "path",
            "name": "artiklId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Broj EAN kodova artikla po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih EAN kodova artikla",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po vrijednosti EAN koda artikla",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtikliEaniResponse"
                }
              }
            },
            "description": "Popis EAN kodova artikla"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id artikla su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id artikla nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa EAN kodova artikla"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis EAN kodova artikla",
        "tags": [
          "EAN kodovi artikla"
        ]
      }
    },
    "/artikli-eani/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog EAN koda artikla po ID-u",
        "parameters": [
          {
            "description": "ID EAN koda artikla",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklEanResponse"
                }
              }
            },
            "description": "Pojedinačni EAN kod artikla"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id EAN koda artikla i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog EAN koda artikla"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni EAN kod artikla",
        "tags": [
          "EAN kodovi artikla"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg EAN koda artikla",
        "parameters": [
          {
            "description": "ID EAN koda artikla",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.ArtiklEanPatchRequest"
              }
            }
          },
          "description": "Razlike EAN koda artikla",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklEanResponse"
                }
              }
            },
            "description": "Uređeni EAN kod artikla"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id EAN koda artikla i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje EAN koda artikla",
        "tags": [
          "EAN kodovi artikla"
        ]
      }
    },
    "/artikli-grupe": {
      "get": {
        "description": "Endpoint za dohvat popisa grupa artikala",
        "parameters": [
          {
            "description": "Broj grupa artikala po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih grupa artikala",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo aktivne grupe artikala",
            "in": "query",
            "name": "aktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo neaktivne grupe artikala",
            "in": "query",
            "name": "neaktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po nazivu grupe artikala",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. sifra)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtikliGrupeResponse"
                }
              }
            },
            "description": "Popis grupa artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa grupa artikala"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis grupa artikala",
        "tags": [
          "Artikli Grupe"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove grupe artikala",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.ArtiklGrupaPostRequest"
              }
            }
          },
          "description": "Grupa artikala",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklGrupaResponse"
                }
              }
            },
            "description": "Novo kreirana grupa artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "naziv, id naplatnog uređaja i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, već postoji grupa artikala istog naziva"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje nove grupe artikala",
        "tags": [
          "Artikli Grupe"
        ]
      }
    },
    "/artikli-grupe/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja grupa artikala",
        "parameters": [
          {
            "description": "Samo aktivne grupe artikala",
            "in": "query",
            "name": "aktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo neaktivne grupe artikala",
            "in": "query",
            "name": "neaktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po nazivu grupe artikala",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtikliGrupeCountResponse"
                }
              }
            },
            "description": "Broj grupa artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja grupa artikala"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj grupa artikala",
        "tags": [
          "Artikli Grupe"
        ]
      }
    },
    "/artikli-grupe/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne grupe artikala po ID-u",
        "parameters": [
          {
            "description": "ID grupe artikala",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklGrupaResponse"
                }
              }
            },
            "description": "Pojedinačna grupa artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id grupe artikala i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne grupe artikala"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna grupa artikala po ID-u",
        "tags": [
          "Artikli Grupe"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojeće grupe artikala",
        "parameters": [
          {
            "description": "ID grupe artikala",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.ArtiklGrupaPatchRequest"
              }
            }
          },
          "description": "Razlike grupe artikala",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklGrupaResponse"
                }
              }
            },
            "description": "Uređena grupa artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id naplatnog uređaja i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, već postoji grupa artikala istog naziva"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje grupe artikala",
        "tags": [
          "Artikli Grupe"
        ]
      }
    },
    "/artikli-poslovni-prostori": {
      "get": {
        "description": "Endpoint za dohvat popisa artikala poslovnih prostora (Stanja)",
        "parameters": [
          {
            "description": "Broj artikli poslovni prostori po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih artikli poslovni prostori",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtikliPoslovniProstoriResponse"
                }
              }
            },
            "description": "Popis artikala poslovnih prostora"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa artikala poslovnih prostora"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis artikala poslovnih prostora (Stanja)",
        "tags": [
          "Artikli poslovni prostori"
        ]
      }
    },
    "/artikli-poslovni-prostori/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja artikala poslovnih prostora",
        "parameters": [
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtikliPoslovniProstoriCountResponse"
                }
              }
            },
            "description": "Broj artikala poslovnih prostora"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja artikala poslovnih prostora"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj artikala poslovnih prostora",
        "tags": [
          "Artikli poslovni prostori"
        ]
      }
    },
    "/artikli-poslovni-prostori/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog artikla poslovnog prostora po ID-u",
        "parameters": [
          {
            "description": "ID artikla poslovnog prostora",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklPoslovniProstorResponse"
                }
              }
            },
            "description": "Pojedinačni artikl poslovni prostor"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla poslovnog prostora i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog artikla poslovnog prostora"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni artikl poslovni prostor",
        "tags": [
          "Artikli poslovni prostori"
        ]
      }
    },
    "/artikli/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja artikala",
        "parameters": [
          {
            "description": "ID jedinice mjere",
            "in": "query",
            "name": "jedinicaMjereId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poreznog razreda",
            "in": "query",
            "name": "porezniRazredId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID grupe artikala",
            "in": "query",
            "name": "artiklGrupaId",
            "schema": {
              "default": -1,
              "type": "integer"
            }
          },
          {
            "description": "ID proizvođača",
            "in": "query",
            "name": "proizvodacId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo artikli iz nabave",
            "in": "query",
            "name": "samoIzNabave",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo artikli iz proizvodnje",
            "in": "query",
            "name": "samoIzProizvodnje",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po nazivu ili šifri artikla",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtikliCountResponse"
                }
              }
            },
            "description": "Broj artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja artikala"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj artikala",
        "tags": [
          "Artikli"
        ]
      }
    },
    "/artikli/kartica-usluga-i-artikala-pdf": {
      "post": {
        "description": "Endpoint za generiranje PDF kartice artikala i usluga",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.KarticaUslugaIArtikalaPdfRequest"
              }
            }
          },
          "description": "Parametri za generiranje PDF-a",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KarticaUslugaIArtikalaPdfResponse"
                }
              }
            },
            "description": "PDF dokument u base64 formatu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom generiranja PDF-a"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Generiranje PDF kartice artikala i usluga",
        "tags": [
          "Artikli"
        ]
      }
    },
    "/artikli/sifra-sljedeceg/{artiklGrupaId}": {
      "get": {
        "description": "Endpoint za dohvat sljedeće šifre artikla za zadanu grupu",
        "parameters": [
          {
            "description": "ID grupe artikala (null za artikle bez grupe)",
            "in": "path",
            "name": "artiklGrupaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtikliSifraResponse"
                }
              }
            },
            "description": "Sljedeća šifra artikla"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata sljedeće šifre artikla"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Sljedeća šifra artikla",
        "tags": [
          "Artikli"
        ]
      }
    },
    "/artikli/stanje-na-datum-pdf/{datum}": {
      "get": {
        "description": "Endpoint za dohvat PDF stanja artikala na određeni datum",
        "parameters": [
          {
            "description": "Datum za koji se generira PDF stanja artikala",
            "in": "path",
            "name": "datum",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtikliPdfResponse"
                }
              }
            },
            "description": "PDF stanja artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "datum i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata PDF-a"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "PDF stanja artikala na datum",
        "tags": [
          "Artikli"
        ]
      }
    },
    "/artikli/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog artikla po ID-u",
        "parameters": [
          {
            "description": "ID artikla",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklResponse"
                }
              }
            },
            "description": "Pojedinačni artikl"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog artikla"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni artikl po ID-u",
        "tags": [
          "Artikli"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg artikla",
        "parameters": [
          {
            "description": "ID artikla",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.ArtiklPatchRequest"
              }
            }
          },
          "description": "Razlike artikla",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ArtiklResponse"
                }
              }
            },
            "description": "Uređeni artikl"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje artikla",
        "tags": [
          "Artikli"
        ]
      }
    },
    "/deklaracije-tipovi": {
      "get": {
        "description": "Endpoint za dohvat popisa tipova deklaracija",
        "parameters": [
          {
            "description": "Broj tipova deklaracija po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih tipova deklaracija",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DeklaracijeTipoviResponse"
                }
              }
            },
            "description": "Popis tipova deklaracija"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa tipova deklaracija"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis tipova deklaracija",
        "tags": [
          "Tipovi deklaracija"
        ]
      }
    },
    "/deklaracije-tipovi/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja tipova deklaracija",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DeklaracijeTipoviCountResponse"
                }
              }
            },
            "description": "Broj tipova deklaracija"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja tipova deklaracija"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj tipova deklaracija",
        "tags": [
          "Tipovi deklaracija"
        ]
      }
    },
    "/deklaracije-tipovi/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog tipa deklaracija po ID-u",
        "parameters": [
          {
            "description": "ID tipa deklaracija",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DeklaracijaTipResponse"
                }
              }
            },
            "description": "Pojedinačni tip deklaracije"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id tipa deklaracija i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog tipa deklaracija"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni tip deklaracija po ID-u",
        "tags": [
          "Tipovi deklaracija"
        ]
      }
    },
    "/dnevni-prometi": {
      "get": {
        "description": "Endpoint za dohvat popisa dnevnih prometa",
        "parameters": [
          {
            "description": "Broj dnevnih prometa po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih dnevnih prometa",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo zaključani",
            "in": "query",
            "name": "zakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo otključani",
            "in": "query",
            "name": "nezakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "ID korisnika koji je zaključao dnevni promet",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "ID naplatnog uređaja",
            "in": "query",
            "name": "naplatniUredajId",
            "required": true,
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Poslovna godina (npr. 2025)",
            "in": "query",
            "name": "poslovnaGodina",
            "schema": {
              "default": 2025,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. zaDatum)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DnevniPrometiResponse"
                }
              }
            },
            "description": "Popis dnevnih prometa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa dnevnih prometa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis dnevnih prometa",
        "tags": [
          "Dnevni prometi"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog dnevnog prometa",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.DnevniPrometPostRequest"
              }
            }
          },
          "description": "Dnevni promet",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DnevniPrometResponse"
                }
              }
            },
            "description": "Novo kreirani dnevni promet"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog dnevnog prometa",
        "tags": [
          "Dnevni prometi"
        ]
      }
    },
    "/dnevni-prometi/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja dnevnih prometa",
        "parameters": [
          {
            "description": "Samo zaključani",
            "in": "query",
            "name": "zakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo otključani",
            "in": "query",
            "name": "nezakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "ID korisnika koji je zaključao dnevni promet",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "ID naplatnog uređaja",
            "in": "query",
            "name": "naplatniUredajId",
            "required": true,
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Poslovna godina (npr. 2025)",
            "in": "query",
            "name": "poslovnaGodina",
            "schema": {
              "default": 2025,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DnevniPrometiCountResponse"
                }
              }
            },
            "description": "Broj dnevnih prometa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja dnevnih prometa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj dnevnih prometa",
        "tags": [
          "Dnevni prometi"
        ]
      }
    },
    "/dnevni-prometi/rekapitulacija-po-nacinu-placanja-pdf/{prviDatum}/{zadnjiDatum}": {
      "get": {
        "description": "Endpoint za dohvaćanje PDF rekapitulacije dnevnih prometa po načinu plaćanja",
        "parameters": [
          {
            "description": "Prvi datum (Datum od)",
            "in": "path",
            "name": "prviDatum",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Zadnji datum (Datum do)",
            "in": "path",
            "name": "zadnjiDatum",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DnevniPrometPdfResponse"
                }
              }
            },
            "description": "PDF rekapitulacija dnevnih prometa po načinu plaćanja"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "prviDatum, drugiDatum i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Dnevni prometi nisu pronađeni"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvaćanje PDF rekapitulacije dnevnih prometa po načinu plaćanja",
        "tags": [
          "Dnevni prometi"
        ]
      }
    },
    "/dnevni-prometi/rekapitulacija-po-poreznom-razredu-pdf/{prviDatum}/{zadnjiDatum}": {
      "get": {
        "description": "Endpoint za dohvaćanje PDF rekapitulacije dnevnih prometa po poreznom razredu",
        "parameters": [
          {
            "description": "Prvi datum (Datum od)",
            "in": "path",
            "name": "prviDatum",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Zadnji datum (Datum do)",
            "in": "path",
            "name": "zadnjiDatum",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DnevniPrometPdfResponse"
                }
              }
            },
            "description": "PDF rekapitulacija dnevnih prometa po poreznom razredu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Dnevni prometi nisu pronađeni"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvaćanje PDF rekapitulacije dnevnih prometa po poreznom razredu",
        "tags": [
          "Dnevni prometi"
        ]
      }
    },
    "/dnevni-prometi/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog dnevnog prometa po ID-u",
        "parameters": [
          {
            "description": "ID dnevnog prometa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DnevniPrometResponse"
                }
              }
            },
            "description": "Pojedinačni dnevni promet "
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id dnevnog prometa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog dnevnog prometa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni dnevni promet po ID-u",
        "tags": [
          "Dnevni prometi"
        ]
      }
    },
    "/dnevni-prometi/{id}/dnevni-izvjestaj-prodaje-pdf": {
      "get": {
        "description": "Endpoint za dohvaćanje PDF dnevnog izvještaja prodaje",
        "parameters": [
          {
            "description": "ID dnevnog prometa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DnevniPrometPdfResponse"
                }
              }
            },
            "description": "PDF dnevni izvještaj prodaje"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id dnevnog prometa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Dnevni promet nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom generiranja PDF-a"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvaćanje PDF dnevnog izvještaja prodaje",
        "tags": [
          "Dnevni prometi"
        ]
      }
    },
    "/dnevni-prometi/{id}/zakljucaj": {
      "post": {
        "description": "Endpoint za zaključavanje dnevnog prometa",
        "parameters": [
          {
            "description": "ID dnevnog prometa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DnevniPrometResponse"
                }
              }
            },
            "description": "Zaključani dnevni promet"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id dnevnog prometa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Dnevni promet nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, dnevni promet je već zakljućan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Zaključavanje dnevnog prometa",
        "tags": [
          "Dnevni prometi"
        ]
      }
    },
    "/dobavljaci": {
      "get": {
        "description": "Endpoint za dohvat popisa dobavljača",
        "parameters": [
          {
            "description": "Broj dobavljača po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih dobavljača",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID komercijalista",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraži samo domaće dobavljače",
            "in": "query",
            "name": "samoDomaci",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraži samo inozemne dobavljače",
            "in": "query",
            "name": "samoIno",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po nazivu dobavljača",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DobavljaciResponse"
                }
              }
            },
            "description": "Popis dobavljača"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa dobavljača"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis dobavljača",
        "tags": [
          "Dobavljači"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog dobavljača",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.DobavljacPostRequest"
              }
            }
          },
          "description": "Dobavljač",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DobavljacResponse"
                }
              }
            },
            "description": "Novo kreirani dobavljač"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan,"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog dobavljača",
        "tags": [
          "Dobavljači"
        ]
      }
    },
    "/dobavljaci/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja dobavljača",
        "parameters": [
          {
            "description": "ID komercijalista",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraži samo domaće dobavljače",
            "in": "query",
            "name": "samoDomaci",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraži samo inozemne dobavljače",
            "in": "query",
            "name": "samoIno",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po nazivu dobavljača",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DobavljaciCountResponse"
                }
              }
            },
            "description": "Broj dobavljača"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja dobavljača"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj dobavljača",
        "tags": [
          "Dobavljači"
        ]
      }
    },
    "/dobavljaci/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog dobavljača po ID-u",
        "parameters": [
          {
            "description": "ID dobavljača",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DobavljacResponse"
                }
              }
            },
            "description": "Pojedinačni dobavljač"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog dobavljača"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni dobavljač po ID-u",
        "tags": [
          "Dobavljači"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg dobavljača",
        "parameters": [
          {
            "description": "ID dobavljača",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.DobavljacPatchRequest"
              }
            }
          },
          "description": "Razlike dobavljača",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DobavljacResponse"
                }
              }
            },
            "description": "Uređen dobavljač"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje dobavljača",
        "tags": [
          "Dobavljači"
        ]
      }
    },
    "/dokument-vrste": {
      "get": {
        "description": "Endpoint za dohvat popisa vrsta dokumenata",
        "parameters": [
          {
            "description": "Broj vrsta dokumenata po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih vrsta dokumenata",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DokumentiVrsteResponse"
                }
              }
            },
            "description": "Popis vrsta dokumenata"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa vrsta dokumenata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis vrsta dokumenata",
        "tags": [
          "Dokumenti Vrste"
        ]
      }
    },
    "/dokumenti-tipovi": {
      "get": {
        "description": "Endpoint za dohvat popisa tipova dokumenata",
        "parameters": [
          {
            "description": "Broj tipova dokumenata po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih tipova dokumenata",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DokumentiTipoviResponse"
                }
              }
            },
            "description": "Popis tipova dokumenata"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa tipova dokumenata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis tipova dokumenata",
        "tags": [
          "Dokumenti Tipovi"
        ]
      }
    },
    "/dokumenti-tipovi/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja tipova dokumenata",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DokumentiTipoviCountResponse"
                }
              }
            },
            "description": "Broj tipova dokumenata"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja tipova dokumenata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj tipova dokumenata",
        "tags": [
          "Dokumenti Tipovi"
        ]
      }
    },
    "/dokumenti-tipovi/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog tipa dokumenata po ID-u",
        "parameters": [
          {
            "description": "ID tipa dokumenata",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DokumentiTipResponse"
                }
              }
            },
            "description": "Pojedinačni tip dokumenata"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id tipa dokumenata i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog tipa dokumenata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni tip dokumenata po ID-u",
        "tags": [
          "Dokumenti Tipovi"
        ]
      }
    },
    "/dokumenti-vrste/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja vrsta dokumenata",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DokumentiVrsteCountResponse"
                }
              }
            },
            "description": "Broj vrsta dokumenata"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja vrsta dokumenata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj vrsta dokumenata",
        "tags": [
          "Dokumenti Vrste"
        ]
      }
    },
    "/dokumenti-vrste/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne vrste dokumenata po ID-u",
        "parameters": [
          {
            "description": "ID vrste dokumenata",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DokumentiVrstaResponse"
                }
              }
            },
            "description": "Pojedinačna vrsta dokumenata"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id vrste dokumenata i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne vrste dokumenata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna vrsta dokumenata po ID-u",
        "tags": [
          "Dokumenti Vrste"
        ]
      }
    },
    "/drzave": {
      "get": {
        "description": "Endpoint za dohvat popisa država",
        "parameters": [
          {
            "description": "Broj država po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih država",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DrzaveResponse"
                }
              }
            },
            "description": "Popis država"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa država"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis država",
        "tags": [
          "Države"
        ]
      }
    },
    "/drzave/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja država",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DrzaveCountResponse"
                }
              }
            },
            "description": "Broj država"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja država"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj država",
        "tags": [
          "Države"
        ]
      }
    },
    "/drzave/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne države po ID-u",
        "parameters": [
          {
            "description": "ID države",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.DrzavaResponse"
                }
              }
            },
            "description": "Pojedinačna država"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id države i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne države"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna država po ID-u",
        "tags": [
          "Države"
        ]
      }
    },
    "/gradovi/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog grada po ID-u",
        "parameters": [
          {
            "description": "ID grada",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.GradResponse"
                }
              }
            },
            "description": "Pojedinačni grad"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id grada i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog grada"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni grad po ID-u",
        "tags": [
          "Gradovi"
        ]
      }
    },
    "/gradovi/{zupanijaId}/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja gradova",
        "parameters": [
          {
            "description": "Id zupanije",
            "in": "path",
            "name": "zupanijaId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.GradoviCountResponse"
                }
              }
            },
            "description": "Broj gradova"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id zupanije su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id zupanije nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja gradova"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj gradova",
        "tags": [
          "Gradovi"
        ]
      }
    },
    "/gradovi/{zupanijaId}/list": {
      "get": {
        "description": "Endpoint za dohvat popisa gradova",
        "parameters": [
          {
            "description": "Id zupanije",
            "in": "path",
            "name": "zupanijaId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Broj gradova po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih gradova",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.GradoviResponse"
                }
              }
            },
            "description": "Popis gradova"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id zupanije su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id zupanije nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa gradova"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis gradova",
        "tags": [
          "Gradovi"
        ]
      }
    },
    "/interni-akti": {
      "get": {
        "description": "Endpoint za dohvat popisa internih akata",
        "parameters": [
          {
            "description": "Broj internih akata po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih internih akata",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu internog akta",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. naziv)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InterniAktiResponse"
                }
              }
            },
            "description": "Popis internih akata"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa internih akata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis internih akata",
        "tags": [
          "Interni Akti"
        ]
      }
    },
    "/interni-akti/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja internih akata",
        "parameters": [
          {
            "description": "Pretraga po nazivu internog akta",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InterniAktiCountResponse"
                }
              }
            },
            "description": "Broj internih akata"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja internih akata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj internih akata",
        "tags": [
          "Interni Akti"
        ]
      }
    },
    "/interni-akti/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog internog akta po ID-u",
        "parameters": [
          {
            "description": "ID internog akta",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InterniAktResponse"
                }
              }
            },
            "description": "Pojedinačni interni akt"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog internog akta"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni interni akt po ID-u",
        "tags": [
          "Interni Akti"
        ]
      }
    },
    "/inventura-artikli": {
      "get": {
        "description": "Endpoint za dohvat popisa artikala inventure sa opcionalnim filterom po inventuraId",
        "parameters": [
          {
            "description": "ID inventure",
            "in": "query",
            "name": "inventuraId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Broj artikala inventure po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih artikala inventure",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Preskoči artikle inventure sa stanjem nula",
            "in": "query",
            "name": "bezStanjaNula",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InventuraArtikliResponse"
                }
              }
            },
            "description": "Popis artikala inventure"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa artikala inventure"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis svih artikala inventure",
        "tags": [
          "Inventura artikli"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog artikla inventure",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.InventuraArtiklPostRequest"
              }
            }
          },
          "description": "Artikl inventure",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InventuraArtiklResponse"
                }
              }
            },
            "description": "Novo kreirani artikl inventure"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla inventure i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id inventure nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, inventura je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje artikla inventure",
        "tags": [
          "Inventura artikli"
        ]
      }
    },
    "/inventura-artikli-list": {
      "post": {
        "description": "Endpoint za kreiranje više artikala inventure odjednom",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.InventuraArtikliPostListRequest"
              }
            }
          },
          "description": "Lista artikala inventure",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InventuraArtikliResponse"
                }
              }
            },
            "description": "Novo kreirani artikli inventure"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom kreiranja"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje liste artikala inventure",
        "tags": [
          "Inventura artikli"
        ]
      }
    },
    "/inventura-artikli/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja artikala inventure sa opcionalnim filterom po inventuraId",
        "parameters": [
          {
            "description": "ID inventure",
            "in": "query",
            "name": "inventuraId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Preskoči artikle inventure sa stanjem nula",
            "in": "query",
            "name": "bezStanjaNula",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InventuraArtikliCountResponse"
                }
              }
            },
            "description": "Broj artikala inventure"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja artikala inventure"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj svih artikala inventure",
        "tags": [
          "Inventura artikli"
        ]
      }
    },
    "/inventura-artikli/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog artikla inventure po ID-u",
        "parameters": [
          {
            "description": "ID artikla inventure",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InventuraArtiklResponse"
                }
              }
            },
            "description": "Pojedinačni artikl inventure"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla inventure i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog artikla inventure"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni artikl inventure",
        "tags": [
          "Inventura artikli"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg artikla inventure",
        "parameters": [
          {
            "description": "ID artikla inventure",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.InventuraArtiklPatchRequest"
              }
            }
          },
          "description": "Razlike artikla inventure",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InventuraArtiklResponse"
                }
              }
            },
            "description": "Uređeni artikl inventure"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla inventure i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, inventura je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje artikla inventure",
        "tags": [
          "Inventura artikli"
        ]
      }
    },
    "/inventura-artikli/{inventuraId}/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja artikala inventure",
        "parameters": [
          {
            "description": "ID inventure",
            "in": "path",
            "name": "inventuraId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Preskoči artikle inventure sa stanjem nula",
            "in": "query",
            "name": "bezStanjaNula",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InventuraArtikliCountResponse"
                }
              }
            },
            "description": "Broj artikala inventure"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id inventure su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id inventure nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja artikala inventure"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj artikala inventure",
        "tags": [
          "Inventura artikli"
        ]
      }
    },
    "/inventura-artikli/{inventuraId}/list": {
      "get": {
        "description": "Endpoint za dohvat popisa artikala inventure",
        "parameters": [
          {
            "description": "ID inventure",
            "in": "path",
            "name": "inventuraId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Broj artikala inventure po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih artikala inventure",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Preskoči artikle inventure sa stanjem nula",
            "in": "query",
            "name": "bezStanjaNula",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InventuraArtikliResponse"
                }
              }
            },
            "description": "Popis artikala inventure"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id inventure su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id inventure nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa artikala inventure"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis artikala inventure",
        "tags": [
          "Inventura artikli"
        ]
      }
    },
    "/inventure": {
      "get": {
        "description": "Endpoint za dohvat popisa inventura",
        "parameters": [
          {
            "description": "Broj inventura po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih inventura",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Datum izrade inventure",
            "in": "query",
            "name": "datum",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Samo zaključane inventure",
            "in": "query",
            "name": "zakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo otključane inventure",
            "in": "query",
            "name": "otkljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "ID korisnika koji je kreirao inventuru",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Poslovna godina (npr. 2025)",
            "in": "query",
            "name": "poslovnaGodina",
            "schema": {
              "default": 2025,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po opisu inventure",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InventureResponse"
                }
              }
            },
            "description": "Popis inventura"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa inventura"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis inventura",
        "tags": [
          "Inventure"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove inventure",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.InventuraPostRequest"
              }
            }
          },
          "description": "Inventura",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InventuraResponse"
                }
              }
            },
            "description": "Novo kreirana inventura"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id naplatnog uređaja i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, postoji ne zaključana inventura"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom kreiranja nove inventure"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje nove inventure",
        "tags": [
          "Inventure"
        ]
      }
    },
    "/inventure/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja inventura",
        "parameters": [
          {
            "description": "Datum izrade inventure",
            "in": "query",
            "name": "datum",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Samo zaključane inventure",
            "in": "query",
            "name": "zakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo otključane inventure",
            "in": "query",
            "name": "otkljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "ID korisnika koji je kreirao inventuru",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Poslovna godina (npr. 2025)",
            "in": "query",
            "name": "poslovnaGodina",
            "schema": {
              "default": 2025,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po opisu inventure",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InventureCountResponse"
                }
              }
            },
            "description": "Ukupan broj inventura"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata ukupnog broja inventura"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Ukupan broj inventura",
        "tags": [
          "Inventure"
        ]
      }
    },
    "/inventure/{id}": {
      "delete": {
        "description": "Endpoint za brisanje postojeće otključane inventure",
        "parameters": [
          {
            "description": "ID inventure",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.InventuraDeleteRequest"
              }
            }
          },
          "description": "Naplatni uređaj",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InventuraResponse"
                }
              }
            },
            "description": "Obrisana inventura"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id inventure, id naplatnog uređaja i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Račun nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, inventura je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Brisanje postojeće otključane inventure",
        "tags": [
          "Inventure"
        ]
      },
      "get": {
        "description": "Endpoint za dohvat pojedinačne inventure po ID-u",
        "parameters": [
          {
            "description": "ID inventure",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InventuraResponse"
                }
              }
            },
            "description": "Pojedinačna inventura"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id inventure i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, nije moguće zakljućati inventuru bez artikala"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne inventure"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvat pojedinačne inventure po ID-u",
        "tags": [
          "Inventure"
        ]
      }
    },
    "/inventure/{id}/pdf": {
      "get": {
        "description": "Endpoint za dohvaćanje PDF-a inventure u base64 formatu",
        "parameters": [
          {
            "description": "ID inventure",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InventuraPdfResponse"
                }
              }
            },
            "description": "PDF inventure"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id inventure i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Inventura nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, inventura je otključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvaćanje PDF-a inventure",
        "tags": [
          "Inventure"
        ]
      }
    },
    "/inventure/{id}/zakljucaj": {
      "post": {
        "description": "Endpoint za zaključivanje inventure",
        "parameters": [
          {
            "description": "ID inventure",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.InventuraZakljucajRequest"
              }
            }
          },
          "description": "Zaključavanje inventure",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.InventuraResponse"
                }
              }
            },
            "description": "Zaključana inventura"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id inventure i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Inventura nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, inventura je već zaključana, izvan radnog vremena poslovnog prostora ste"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Zaključavanje inventure",
        "tags": [
          "Inventure"
        ]
      }
    },
    "/jedinice-mjere": {
      "get": {
        "description": "Endpoint za dohvat popisa jedinica mjere",
        "parameters": [
          {
            "description": "Broj jedinica mjere po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih jedinica mjere",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.JediniceMjereResponse"
                }
              }
            },
            "description": "Popis jedinica mjere"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa jedinica mjere"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis jedinica mjere",
        "tags": [
          "Jedinice mjere"
        ]
      }
    },
    "/jedinice-mjere/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja jedinica mjere",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.JediniceMjereCountResponse"
                }
              }
            },
            "description": "Broj jedinica mjere"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja jedinica mjere"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj jedinica mjere",
        "tags": [
          "Jedinice mjere"
        ]
      }
    },
    "/jedinice-mjere/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne jedinice mjere po ID-u",
        "parameters": [
          {
            "description": "ID jedinice mjere",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.JedinicaMjereResponse"
                }
              }
            },
            "description": "Pojedinačna jedinica mjere"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id jedinice mjere i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne jedinice mjere"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna jedinica mjere po ID-u",
        "tags": [
          "Jedinice mjere"
        ]
      }
    },
    "/jezici": {
      "get": {
        "description": "Endpoint za dohvat popisa jezika",
        "parameters": [
          {
            "description": "Broj jezika po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih jezika",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.JeziciResponse"
                }
              }
            },
            "description": "Popis jezika"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa jezika"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis jezika",
        "tags": [
          "Jezici"
        ]
      }
    },
    "/jezici/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja jezika",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.JeziciCountResponse"
                }
              }
            },
            "description": "Broj jezika"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja jezika"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj jezika",
        "tags": [
          "Jezici"
        ]
      }
    },
    "/jezici/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog jezika po ID-u",
        "parameters": [
          {
            "description": "ID jezika",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.JezikResponse"
                }
              }
            },
            "description": "Pojedinačni jezik"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id jezika i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog jezika"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni jezik po ID-u",
        "tags": [
          "Jezici"
        ]
      }
    },
    "/korisnici": {
      "get": {
        "description": "Endpoint za dohvat popisa korisnika",
        "parameters": [
          {
            "description": "Broj korisnika po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih korisnika",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Dohvati samo administratore tvrtke",
            "in": "query",
            "name": "samoAdministratoriTvrtke",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Dohvati samo korisnike tvrtke",
            "in": "query",
            "name": "samoKorisniciTvrtke",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Dohvati samo administratore poslovnog prostora",
            "in": "query",
            "name": "samoAdministratoriPoslovnice",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Dohvati samo korisnike poslovnog prostora",
            "in": "query",
            "name": "samoKorisniciPoslovnice",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Dohvati samo aktivne korisnike",
            "in": "query",
            "name": "samoAktivni",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Dohvati samo neaktivne korisnike",
            "in": "query",
            "name": "samoNeaktivni",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po Imenu i Prezimenu, Oib, Email, Telefonskom broju",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. sifra)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KorisniciResponse"
                }
              }
            },
            "description": "Popis korisnika"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa korisnika"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis korisnika",
        "tags": [
          "Korisnici"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog korisnika",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.KorisnikPostRequest"
              }
            }
          },
          "description": "Korisnik",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KorisnikResponse"
                }
              }
            },
            "description": "Novo kreirani korisnik"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id naplatnog uređaja, id korisnika i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan,"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik nije administrator tvrtke, korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog korisnika",
        "tags": [
          "Korisnici"
        ]
      }
    },
    "/korisnici/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja korisnika",
        "parameters": [
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Dohvati samo administratore tvrtke",
            "in": "query",
            "name": "samoAdministratoriTvrtke",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Dohvati samo korisnike tvrtke",
            "in": "query",
            "name": "samoKorisniciTvrtke",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Dohvati samo administratore poslovnog prostora",
            "in": "query",
            "name": "samoAdministratoriPoslovnice",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Dohvati samo korisnike poslovnog prostora",
            "in": "query",
            "name": "samoKorisniciPoslovnice",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Dohvati samo aktivne korisnike",
            "in": "query",
            "name": "samoAktivni",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Dohvati samo neaktivne korisnike",
            "in": "query",
            "name": "samoNeaktivni",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po Imenu i Prezimenu, Oib, Email, Telefonskom broju",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KorisniciCountResponse"
                }
              }
            },
            "description": "Broj korisnika"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja korisnika"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj korisnika",
        "tags": [
          "Korisnici"
        ]
      }
    },
    "/korisnici/provjera-koda": {
      "post": {
        "description": "Validira reset kod koji je korisnik primio na email. Postavlja potvrden=true i vraća korisničke podatke za prikaz u drugom koraku reset flow-a.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.KorisnikProvjeraKodaRequest"
              }
            }
          },
          "description": "Reset kod",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KorisnikResponse"
                }
              }
            },
            "description": "Validiran korisnik"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "kod je obavezan"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Nevaljan kod"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška servera"
          }
        },
        "summary": "Provjera reset koda",
        "tags": [
          "Korisnici"
        ]
      }
    },
    "/korisnici/tko-sam-ja": {
      "get": {
        "description": "Endpoint za dohvat prijavljenog korisnika",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KorisnikFullTvrtkaPoslovniProstorResponse"
                }
              }
            },
            "description": "Prijavljeni korisnik"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata prijavljenog korisnika"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Prijavljeni korisnik",
        "tags": [
          "Korisnici"
        ]
      }
    },
    "/korisnici/zatrazi-reset-lozinke": {
      "post": {
        "description": "Pokreće reset lozinke flow - generira 8-znamenkasti kod i šalje ga na email korisnika. Iz sigurnosnih razloga (prevencija email enumeration napada), endpoint uvijek vraća success bez obzira na to postoji li email u sustavu.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.KorisnikZatraziResetLozinkeRequest"
              }
            }
          },
          "description": "Email korisnika",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.SuccessResponse"
                }
              }
            },
            "description": "Zahtjev uspješno obrađen"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "email je obavezan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška servera"
          }
        },
        "summary": "Zatraži reset lozinke",
        "tags": [
          "Korisnici"
        ]
      }
    },
    "/korisnici/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog korisnika po ID-u",
        "parameters": [
          {
            "description": "ID korisnika",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KorisnikResponse"
                }
              }
            },
            "description": "Pojedinačni korisnik"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id korisnika i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog korisnika"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni korisnik po ID-u",
        "tags": [
          "Korisnici"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg korisnika",
        "parameters": [
          {
            "description": "ID korisnika",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.KorisnikPatchRequest"
              }
            }
          },
          "description": "Razlike korisnika",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KorisnikResponse"
                }
              }
            },
            "description": "Uređeni korisnik"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id naplatnog uređaja, id korisnika i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik nije administrator tvrtke, korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje korisnika",
        "tags": [
          "Korisnici"
        ]
      }
    },
    "/kpd-druge-razine": {
      "get": {
        "description": "Endpoint za dohvat popisa KPD druge razine",
        "parameters": [
          {
            "description": "Broj KPD druge razine po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih KPD druge razine",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID KPD prve razine",
            "in": "query",
            "name": "kpdPrvaRazinaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu KPD druge razine",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KpdDrugeRazineResponse"
                }
              }
            },
            "description": "Popis KPD druge razine"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa KPD druge razine"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis KPD druge razine",
        "tags": [
          "KPD druge razine"
        ]
      }
    },
    "/kpd-druge-razine/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja KPD druge razine",
        "parameters": [
          {
            "description": "ID KPD prve razine",
            "in": "query",
            "name": "kpdPrvaRazinaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu KPD druge razine",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KpdDrugeRazineCountResponse"
                }
              }
            },
            "description": "Broj KPD druge razine"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja KPD druge razine"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj KPD druge razine",
        "tags": [
          "KPD druge razine"
        ]
      }
    },
    "/kpd-druge-razine/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne KPD druge razine po ID-u",
        "parameters": [
          {
            "description": "ID KPD druge razine",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KpdDrugaRazinaResponse"
                }
              }
            },
            "description": "Pojedinačna KPD druge razina"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne KPD druge razine"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna KPD druge razina po ID-u",
        "tags": [
          "KPD druge razine"
        ]
      }
    },
    "/kpd-grupe": {
      "get": {
        "description": "Endpoint za dohvat popisa KPD grupa",
        "parameters": [
          {
            "description": "Broj KPD grupa po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih KPD grupa",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu KPD grupe",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KpdGrupeResponse"
                }
              }
            },
            "description": "Popis KPD grupa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa KPD grupa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis KPD grupa",
        "tags": [
          "KPD grupe"
        ]
      }
    },
    "/kpd-grupe/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja KPD grupa",
        "parameters": [
          {
            "description": "Pretraga po nazivu KPD grupe",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KpdGrupeCountResponse"
                }
              }
            },
            "description": "Broj KPD grupa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja KPD grupa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj KPD grupa",
        "tags": [
          "KPD grupe"
        ]
      }
    },
    "/kpd-grupe/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne KPD grupe po ID-u",
        "parameters": [
          {
            "description": "ID KPD grupe",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KpdGrupaResponse"
                }
              }
            },
            "description": "Pojedinačna KPD grupa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne KPD grupe"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna KPD grupa po ID-u",
        "tags": [
          "KPD grupe"
        ]
      }
    },
    "/kpd-prve-razine": {
      "get": {
        "description": "Endpoint za dohvat popisa KPD prve razine",
        "parameters": [
          {
            "description": "Broj KPD prve razine po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih KPD prve razine",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID KPD grupe",
            "in": "query",
            "name": "kpdGrupaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu KPD prve razine",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KpdPrveRazineResponse"
                }
              }
            },
            "description": "Popis KPD prve razine"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa KPD prve razine"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis KPD prve razine",
        "tags": [
          "KPD prve razine"
        ]
      }
    },
    "/kpd-prve-razine/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja KPD prve razine",
        "parameters": [
          {
            "description": "ID KPD grupe",
            "in": "query",
            "name": "kpdGrupaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu KPD prve razine",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KpdPrveRazineCountResponse"
                }
              }
            },
            "description": "Broj KPD prve razine"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja KPD prve razine"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj KPD prve razine",
        "tags": [
          "KPD prve razine"
        ]
      }
    },
    "/kpd-prve-razine/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne KPD prve razine po ID-u",
        "parameters": [
          {
            "description": "ID KPD prve razine",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KpdPrvaRazinaResponse"
                }
              }
            },
            "description": "Pojedinačna KPD prva razina"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne KPD prve razine"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna KPD prva razina po ID-u",
        "tags": [
          "KPD prve razine"
        ]
      }
    },
    "/kpd-trece-razine": {
      "get": {
        "description": "Endpoint za dohvat popisa KPD treće razine",
        "parameters": [
          {
            "description": "Broj KPD treće razine po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih KPD treće razine",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID KPD druge razine",
            "in": "query",
            "name": "kpdDrugaRazinaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu KPD treće razine",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KpdTreceRazineResponse"
                }
              }
            },
            "description": "Popis KPD treće razine"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa KPD treće razine"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis KPD treće razine",
        "tags": [
          "KPD treće razine"
        ]
      }
    },
    "/kpd-trece-razine/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja KPD treće razine",
        "parameters": [
          {
            "description": "ID KPD druge razine",
            "in": "query",
            "name": "kpdDrugaRazinaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu KPD treće razine",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KpdTreceRazineCountResponse"
                }
              }
            },
            "description": "Broj KPD treće razine"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja KPD treće razine"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj KPD treće razine",
        "tags": [
          "KPD treće razine"
        ]
      }
    },
    "/kpd-trece-razine/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne KPD treće razine po ID-u",
        "parameters": [
          {
            "description": "ID KPD treće razine",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KpdTrecaRazinaResponse"
                }
              }
            },
            "description": "Pojedinačna KPD treće razina"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne KPD treće razine"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna KPD treće razina po ID-u",
        "tags": [
          "KPD treće razine"
        ]
      }
    },
    "/meduskladisnice-artikli": {
      "get": {
        "description": "Endpoint za dohvat popisa artikala međuskladišnice",
        "parameters": [
          {
            "description": "ID međuskladišnice",
            "in": "query",
            "name": "meduskladisnicaId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Broj artikala po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih artikala",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.MeduskladisniceArtikliResponse"
                }
              }
            },
            "description": "Popis artikala međuskladišnice"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i meduskladisnicaId su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa artikala međuskladišnice"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis artikala međuskladišnice",
        "tags": [
          "Meduskladisnica artikli"
        ]
      },
      "post": {
        "description": "Endpoint za dodavanje artikla međuskladišnice",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.MeduskladisnicaArtiklPostRequest"
              }
            }
          },
          "description": "Artikl međuskladišnice",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.MeduskladisnicaArtiklResponse"
                }
              }
            },
            "description": "Dodani artikl međuskladišnice"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken, artiklId, kolicina i meduskladisnicaId su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, međuskladišnica je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dodavanja artikla međuskladišnice"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dodavanje artikla međuskladišnice",
        "tags": [
          "Meduskladisnica artikli"
        ]
      }
    },
    "/meduskladisnice-artikli/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja artikala međuskladišnice",
        "parameters": [
          {
            "description": "ID međuskladišnice",
            "in": "query",
            "name": "meduskladisnicaId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.MeduskladisniceArtikliCountResponse"
                }
              }
            },
            "description": "Broj artikala međuskladišnice"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i meduskladisnicaId su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja artikala međuskladišnice"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj artikala međuskladišnice",
        "tags": [
          "Meduskladisnica artikli"
        ]
      }
    },
    "/meduskladisnice-artikli/{id}": {
      "delete": {
        "description": "Endpoint za brisanje artikla međuskladišnice",
        "parameters": [
          {
            "description": "ID artikla međuskladišnice",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.MeduskladisnicaArtiklResponse"
                }
              }
            },
            "description": "Obrisani artikl međuskladišnice"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla međuskladišnice i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, međuskladišnica je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom brisanja artikla međuskladišnice"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Brisanje artikla međuskladišnice",
        "tags": [
          "Meduskladisnica artikli"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje artikla međuskladišnice",
        "parameters": [
          {
            "description": "ID artikla međuskladišnice",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.MeduskladisnicaArtiklPatchRequest"
              }
            }
          },
          "description": "Razlike artikla međuskladišnice",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.MeduskladisnicaArtiklResponse"
                }
              }
            },
            "description": "Uređeni artikl međuskladišnice"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla međuskladišnice i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, međuskladišnica je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom uređivanja"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje artikla međuskladišnice",
        "tags": [
          "Meduskladisnica artikli"
        ]
      }
    },
    "/nacini-placanja": {
      "get": {
        "description": "Endpoint za dohvat popisa načina plaćanja",
        "parameters": [
          {
            "description": "Broj načina plaćanja po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih načina plaćanja",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.NaciniPlacanjaResponse"
                }
              }
            },
            "description": "Popis načina plaćanja"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa načina plaćanja"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis načina plaćanja",
        "tags": [
          "Načini plaćanja"
        ]
      }
    },
    "/nacini-placanja/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja načina plaćanja",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.NaciniPlacanjaCountResponse"
                }
              }
            },
            "description": "Broj načina plaćanja"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja načina plaćanja"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj načina plaćanja",
        "tags": [
          "Načini plaćanja"
        ]
      }
    },
    "/nacini-placanja/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog načina plaćanja po ID-u",
        "parameters": [
          {
            "description": "ID načina plaćanja",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.NacinPlacanjaResponse"
                }
              }
            },
            "description": "Pojedinačni način plaćanja"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id načina plaćanja i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog načina plaćanja"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni način plaćanja po ID-u",
        "tags": [
          "Načini plaćanja"
        ]
      }
    },
    "/naplatni-uredaji": {
      "get": {
        "description": "Endpoint za dohvat popisa naplatnih uređaja",
        "parameters": [
          {
            "description": "Broj naplatnih uređaja po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih naplatnih uređaja",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Poslovni prostor",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo aktivni naplatni uređaji",
            "in": "query",
            "name": "aktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo neaktivni naplatni uređaji",
            "in": "query",
            "name": "neaktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po nazivu naplatnog uređaja",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. naziv)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.NaplatniUredajiResponse"
                }
              }
            },
            "description": "Popis naplatnih uređaja"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa naplatnih uređaja"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis naplatnih uređaja",
        "tags": [
          "Naplatni Uređaji"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog naplatnog uređaja",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.NaplatniUredajPostRequest"
              }
            }
          },
          "description": "Naplatni uređaj",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.NaplatniUredajResponse"
                }
              }
            },
            "description": "Novo kreirani naplatni uređaj"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "naziv, poslovniProstorId i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, već postoji naplatni uređaj iste oznake"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog naplatnog uređaja",
        "tags": [
          "Naplatni Uređaji"
        ]
      }
    },
    "/naplatni-uredaji/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja naplatnih uređaja",
        "parameters": [
          {
            "description": "Poslovni prostor",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo aktivni naplatni uređaji",
            "in": "query",
            "name": "aktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo neaktivni naplatni uređaji",
            "in": "query",
            "name": "neaktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po nazivu naplatnog uređaja",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.NaplatniUredajiCountResponse"
                }
              }
            },
            "description": "Broj naplatnih uređaja"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja naplatnih uređaja"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj naplatnih uređaja",
        "tags": [
          "Naplatni Uređaji"
        ]
      }
    },
    "/naplatni-uredaji/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog naplatnog uređaja po ID-u",
        "parameters": [
          {
            "description": "ID naplatnog uređaja",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.NaplatniUredajResponse"
                }
              }
            },
            "description": "Pojedinačni naplatni uređaj"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id naplatnog uređaja i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog naplatnog uređaja"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni naplatni uređaj po ID-u",
        "tags": [
          "Naplatni Uređaji"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg naplatnog uređaja",
        "parameters": [
          {
            "description": "ID naplatnog uređaja",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.NaplatniUredajPatchRequest"
              }
            }
          },
          "description": "Razlike naplatnog uređaja",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.NaplatniUredajResponse"
                }
              }
            },
            "description": "Uređen naplatni uređaj"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id naplatnog uređaja i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, već postoji naplatni uređaj istog naziva"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje naplatnog uređaja",
        "tags": [
          "Naplatni Uređaji"
        ]
      }
    },
    "/nivelacije-cijene": {
      "get": {
        "description": "Endpoint za dohvat popisa nivelacija cijena",
        "parameters": [
          {
            "description": "Broj po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Prvi datum (Datum od)",
            "in": "query",
            "name": "prviDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Zadnji datum (Datum do)",
            "in": "query",
            "name": "zadnjiDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. timestamp)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.NivelacijeCijeneResponse"
                }
              }
            },
            "description": "Popis nivelacija cijena"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa nivelacija cijena"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis nivelacija cijena",
        "tags": [
          "Nivelacije cijene"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove nivelacije cijene",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.NivelacijaCijenePostRequest"
              }
            }
          },
          "description": "Podaci za kreiranje nove nivelacije cijene",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.NivelacijaCijeneResponse"
                }
              }
            },
            "description": "Novo kreirana nivelacija cijene"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje nove nivelacije cijene",
        "tags": [
          "Nivelacije cijene"
        ]
      }
    },
    "/nivelacije-cijene-grupe": {
      "get": {
        "description": "Endpoint za dohvat popisa grupa nivelacija cijena",
        "parameters": [
          {
            "description": "Broj po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID korisnika koji je kreirao nivelaciju",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Prvi datum (Datum od)",
            "in": "query",
            "name": "prviDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Zadnji datum (Datum do)",
            "in": "query",
            "name": "zadnjiDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraga po Nazivu ili šifri artikla iz grupe",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. zaDatum)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.NivelacijeCijeneGrupeResponse"
                }
              }
            },
            "description": "Popis grupa nivelacija cijena"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa grupa nivelacija cijena"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis grupa nivelacija cijena",
        "tags": [
          "Nivelacija cijene grupe"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove grupe nivelacija cijena",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.NivelacijaCijeneGrupaPostRequest"
              }
            }
          },
          "description": "Podaci za kreiranje nove grupe nivelacija cijena",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.NivelacijeCijeneGrupaResponse"
                }
              }
            },
            "description": "Novo kreirana grupa nivelacija cijena"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje nove grupe nivelacija cijena",
        "tags": [
          "Nivelacija cijene grupe"
        ]
      }
    },
    "/nivelacije-cijene-grupe/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja grupa nivelacija cijena",
        "parameters": [
          {
            "description": "ID korisnika koji je kreirao nivelaciju",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Prvi datum (Datum od)",
            "in": "query",
            "name": "prviDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Zadnji datum (Datum do)",
            "in": "query",
            "name": "zadnjiDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraga po Nazivu ili šifri artikla iz grupe",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.NivelacijeCijeneGrupeCountResponse"
                }
              }
            },
            "description": "Broj grupa nivelacija cijena"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja grupa nivelacija cijena"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj grupa nivelacija cijena",
        "tags": [
          "Nivelacija cijene grupe"
        ]
      }
    },
    "/nivelacije-cijene-grupe/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne grupe nivelacija cijena po ID-u",
        "parameters": [
          {
            "description": "ID grupe nivelacija cijena",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.NivelacijeCijeneGrupaResponse"
                }
              }
            },
            "description": "Pojedinačna grupa nivelacija cijena"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id grupe nivelacije cijena i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne grupe nivelacija cijena"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna grupa nivelacija cijena po ID-u",
        "tags": [
          "Nivelacija cijene grupe"
        ]
      }
    },
    "/nivelacije-cijene-grupe/{id}/pdf": {
      "get": {
        "description": "Endpoint za dohvaćanje PDF grupe nivelacija cijena",
        "parameters": [
          {
            "description": "ID grupe nivelacija cijena",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.NivelacijeCijeneGrupaPdfResponse"
                }
              }
            },
            "description": "PDF grupe nivelacija cijena"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Nivelacija cijene grupa nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvaćanje PDF grupe nivelacija cijena",
        "tags": [
          "Nivelacija cijene grupe"
        ]
      }
    },
    "/nivelacije-cijene/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja nivelacija cijena",
        "parameters": [
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Prvi datum (Datum od)",
            "in": "query",
            "name": "prviDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Zadnji datum (Datum do)",
            "in": "query",
            "name": "zadnjiDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.NivelacijeCijeneCountResponse"
                }
              }
            },
            "description": "Broj nivelacija cijena"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja nivelacija cijena"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj nivelacija cijena",
        "tags": [
          "Nivelacije cijene"
        ]
      }
    },
    "/nivelacije-cijene/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne nivelacije cijene po ID-u",
        "parameters": [
          {
            "description": "ID nivelacije cijene",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.NivelacijaCijeneResponse"
                }
              }
            },
            "description": "Pojedinačna nivelacija cijene"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id nivelacije cijene i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne nivelacije cijene"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna nivelacija cijene po ID-u",
        "tags": [
          "Nivelacije cijene"
        ]
      }
    },
    "/oslobodenja-po-clanku-39-tipovi": {
      "get": {
        "description": "Endpoint za dohvat popisa tipova oslobođenja po članku 39",
        "parameters": [
          {
            "description": "Broj tipova oslobođenja po članku 39 po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih tipova oslobođenja po članku 39",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. tocka)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.OslobodenjaPoClanku39TipoviResponse"
                }
              }
            },
            "description": "Popis tipova oslobođenja po članku 39"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa tipova oslobođenja po članku 39"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis tipova oslobođenja po članku 39",
        "tags": [
          "Oslobodjenja po članku 39 tipovi"
        ]
      }
    },
    "/oslobodenja-po-clanku-39-tipovi/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja tipova oslobođenja po članku 39",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.OslobodenjaPoClanku39TipoviCountResponse"
                }
              }
            },
            "description": "Broj tipova oslobođenja po članku 39"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja tipova oslobođenja po članku 39"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj tipova oslobođenja po članku 39",
        "tags": [
          "Oslobodjenja po članku 39 tipovi"
        ]
      }
    },
    "/oslobodenja-po-clanku-39-tipovi/{tocka}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog tipa oslobođenja po članku 39 po ID-u",
        "parameters": [
          {
            "description": "Točka tipa oslobođenja po članku 39",
            "in": "path",
            "name": "tocka",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.OslobodenjePoClanku39TipResponse"
                }
              }
            },
            "description": "Pojedinačni tip oslobođenja po članku 39"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "tocka tipa oslobođenja po članku 39 i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog tipa oslobođenja po članku 39"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni tip oslobođenja po članku 39 po ID-u",
        "tags": [
          "Oslobodjenja po članku 39 tipovi"
        ]
      }
    },
    "/otpremnice": {
      "get": {
        "description": "Endpoint za dohvat popisa otpremnica",
        "parameters": [
          {
            "description": "Broj otpremnica po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih otpremnica",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID tvrtke",
            "in": "query",
            "name": "tvrtkaId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID tipa otpremnice",
            "in": "query",
            "name": "otpremnicaTipId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID partnera",
            "in": "query",
            "name": "partnerId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID korisnika",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraga po oznaci",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Datum od (RFC3339)",
            "in": "query",
            "name": "datumOd",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Datum do (RFC3339)",
            "in": "query",
            "name": "datumDo",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.OtpremniceResponse"
                }
              }
            },
            "description": "Popis otpremnica"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa otpremnica"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis otpremnica",
        "tags": [
          "Otpremnice"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje otpremnice",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.OtpremnicaPostRequest"
              }
            }
          },
          "description": "Podaci za kreiranje otpremnice",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.OtpremnicaResponse"
                }
              }
            },
            "description": "Kreirana otpremnica"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom kreiranja otpremnice"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje otpremnice",
        "tags": [
          "Otpremnice"
        ]
      }
    },
    "/otpremnice-artikli/{id}": {
      "get": {
        "description": "Endpoint za dohvat artikla otpremnice",
        "parameters": [
          {
            "description": "ID artikla otpremnice",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.OtpremnicaArtiklResponse"
                }
              }
            },
            "description": "Artikl otpremnice"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id artikla otpremnice su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id artikla otpremnice nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata artikla otpremnice"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Artikl otpremnice",
        "tags": [
          "Otpremnica artikli"
        ]
      }
    },
    "/otpremnice-artikli/{otpremnicaId}/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja artikala otpremnice",
        "parameters": [
          {
            "description": "ID otpremnice",
            "in": "path",
            "name": "otpremnicaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.OtpremniceArtikliCountResponse"
                }
              }
            },
            "description": "Broj artikala otpremnice"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id otpremnice su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id otpremnice nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja artikala otpremnice"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj artikala otpremnice",
        "tags": [
          "Otpremnica artikli"
        ]
      }
    },
    "/otpremnice-artikli/{otpremnicaId}/list": {
      "get": {
        "description": "Endpoint za dohvat popisa artikala otpremnice",
        "parameters": [
          {
            "description": "ID otpremnice",
            "in": "path",
            "name": "otpremnicaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Broj artikala otpremnice po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih artikala otpremnice",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.OtpremniceArtikliResponse"
                }
              }
            },
            "description": "Popis artikala otpremnice"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id otpremnice su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id otpremnice nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa artikala otpremnice"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis artikala otpremnice",
        "tags": [
          "Otpremnica artikli"
        ]
      }
    },
    "/otpremnice/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja otpremnica",
        "parameters": [
          {
            "description": "ID tvrtke",
            "in": "query",
            "name": "tvrtkaId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID tipa otpremnice",
            "in": "query",
            "name": "otpremnicaTipId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID partnera",
            "in": "query",
            "name": "partnerId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID korisnika",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraga po oznaci",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Datum od (RFC3339)",
            "in": "query",
            "name": "datumOd",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Datum do (RFC3339)",
            "in": "query",
            "name": "datumDo",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.OtpremniceCountResponse"
                }
              }
            },
            "description": "Broj otpremnica"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja otpremnica"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj otpremnica",
        "tags": [
          "Otpremnice"
        ]
      }
    },
    "/otpremnice/{id}": {
      "get": {
        "description": "Endpoint za dohvat otpremnice",
        "parameters": [
          {
            "description": "ID otpremnice",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.OtpremnicaResponse"
                }
              }
            },
            "description": "Otpremnica"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id otpremnice su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id otpremnice nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata otpremnice"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Otpremnica",
        "tags": [
          "Otpremnice"
        ]
      }
    },
    "/partneri": {
      "get": {
        "description": "Endpoint za dohvat popisa partnera",
        "parameters": [
          {
            "description": "Broj partnera po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih partnera",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID tipa partnera",
            "in": "query",
            "name": "partnerTipId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID komercijalista",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraži samo domaće partnere",
            "in": "query",
            "name": "samoDomaci",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraži samo inozemne partnere",
            "in": "query",
            "name": "samoIno",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po nazivu, OIB-u, Emailu i Telefonskom broju partnera",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PartneriResponse"
                }
              }
            },
            "description": "Popis partnera"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa partnera"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis partnera",
        "tags": [
          "Partneri"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog partnera",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PartnerPostRequest"
              }
            }
          },
          "description": "Partner",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PartnerResponse"
                }
              }
            },
            "description": "Novo kreirani partner"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan,"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog partnera",
        "tags": [
          "Partneri"
        ]
      }
    },
    "/partneri-opomene": {
      "get": {
        "description": "Endpoint za dohvat popisa opomena partnera",
        "parameters": [
          {
            "description": "Broj opomena po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih opomena",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID partnera",
            "in": "query",
            "name": "partnerId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID računa",
            "in": "query",
            "name": "racunId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Filtriraj po statusu plaćanja",
            "in": "query",
            "name": "placeno",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po opisu opomene",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PartnerOpomeneResponse"
                }
              }
            },
            "description": "Popis opomena partnera"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa opomena partnera"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis opomena partnera",
        "tags": [
          "PartneriOpomene"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove opomene partnera",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PartnerOpomenaPostRequest"
              }
            }
          },
          "description": "Opomena partnera",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PartnerOpomenaResponse"
                }
              }
            },
            "description": "Novo kreirana opomena partnera"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom kreiranja opomene partnera"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje opomene partnera",
        "tags": [
          "PartneriOpomene"
        ]
      }
    },
    "/partneri-opomene/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja opomena partnera",
        "parameters": [
          {
            "description": "ID partnera",
            "in": "query",
            "name": "partnerId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID računa",
            "in": "query",
            "name": "racunId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Filtriraj po statusu plaćanja",
            "in": "query",
            "name": "placeno",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po opisu opomene",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PartnerOpomeneCountResponse"
                }
              }
            },
            "description": "Broj opomena partnera"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja opomena partnera"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj opomena partnera",
        "tags": [
          "PartneriOpomene"
        ]
      }
    },
    "/partneri-opomene/{id}": {
      "get": {
        "description": "Endpoint za dohvat opomene partnera po ID-u",
        "parameters": [
          {
            "description": "ID opomene",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PartnerOpomenaResponse"
                }
              }
            },
            "description": "Opomena partnera"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvat opomene partnera",
        "tags": [
          "PartneriOpomene"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojeće opomene partnera",
        "parameters": [
          {
            "description": "ID opomene",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PartnerOpomenaPatchRequest"
              }
            }
          },
          "description": "Razlike opomene partnera",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PartnerOpomenaResponse"
                }
              }
            },
            "description": "Uređena opomena partnera"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom uređivanja opomene partnera"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje opomene partnera",
        "tags": [
          "PartneriOpomene"
        ]
      }
    },
    "/partneri-tipovi": {
      "get": {
        "description": "Endpoint za dohvat popisa tipova partnera",
        "parameters": [
          {
            "description": "Broj tipova partnera po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih tipova partnera",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PartneriTipoviResponse"
                }
              }
            },
            "description": "Popis tipova partnera"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa tipova partnera"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis tipova partnera",
        "tags": [
          "Partneri tipovi"
        ]
      }
    },
    "/partneri-tipovi/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja tipova partnera",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PartneriTipoviCountResponse"
                }
              }
            },
            "description": "Broj tipova partnera"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja tipova partnera"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj tipova partnera",
        "tags": [
          "Partneri tipovi"
        ]
      }
    },
    "/partneri-tipovi/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog tipa partnera po ID-u",
        "parameters": [
          {
            "description": "ID tipa partnera",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PartnerTipResponse"
                }
              }
            },
            "description": "Pojedinačni tip partnera"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id tipa partnera i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog tipa partnera"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni tip partnera po ID-u",
        "tags": [
          "Partneri tipovi"
        ]
      }
    },
    "/partneri/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja partnera",
        "parameters": [
          {
            "description": "ID tipa partnera",
            "in": "query",
            "name": "partnerTipId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID komercijalista",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraži samo domaće partnere",
            "in": "query",
            "name": "samoDomaci",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraži samo inozemne partnere",
            "in": "query",
            "name": "samoIno",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po nazivu, OIB-u, Emailu i Telefonskom broju partnera",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PartneriCountResponse"
                }
              }
            },
            "description": "Broj partnera"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja partnera"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj partnera",
        "tags": [
          "Partneri"
        ]
      }
    },
    "/partneri/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog partnera po ID-u",
        "parameters": [
          {
            "description": "ID partnera",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PartnerResponse"
                }
              }
            },
            "description": "Pojedinačni partner"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog partnera"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni partner po ID-u",
        "tags": [
          "Partneri"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg partnera",
        "parameters": [
          {
            "description": "ID partnera",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PartnerPatchRequest"
              }
            }
          },
          "description": "Razlike partnera",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PartnerResponse"
                }
              }
            },
            "description": "Uređen partner"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje partnera",
        "tags": [
          "Partneri"
        ]
      }
    },
    "/ponavljajuci-racuni": {
      "get": {
        "description": "Endpoint za dohvat popisa ponavljajućih računa",
        "parameters": [
          {
            "description": "Broj ponavljajućih računa po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih ponavljajućih računa",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID ponude",
            "in": "query",
            "name": "ponudaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID korisnika koji je kreirao račun",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "ID naplatnog uređaja",
            "in": "query",
            "name": "naplatniUredajId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Aktivan",
            "in": "query",
            "name": "aktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Neaktivan",
            "in": "query",
            "name": "neaktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po nazivu ponavljajućeg računa",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. naziv)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonavljajuciRacuniResponse"
                }
              }
            },
            "description": "Popis ponavljajućih računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa ponavljajućih računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis ponavljajućih računa",
        "tags": [
          "Ponavljajući računi"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog ponavljajućeg računa",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PonavljajuciRacunPostRequest"
              }
            }
          },
          "description": "Ponavljajući račun",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonavljajuciRacunResponse"
                }
              }
            },
            "description": "Novo kreirani ponavljajući račun"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id ponavljajućeg računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan, naplatni uređaj nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog ponavljajućeg računa",
        "tags": [
          "Ponavljajući računi"
        ]
      }
    },
    "/ponavljajuci-racuni-partneri": {
      "delete": {
        "description": "Endpoint za brisanje partnera s ponavljajućeg računa",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PonavljajuciRacunPartnerDeleteRequest"
              }
            }
          },
          "description": "Partner ponavljajućeg računa za brisanje",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.SuccessResponse"
                }
              }
            },
            "description": "Uspješno obrisano"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom brisanja"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Brisanje partnera s ponavljajućeg računa",
        "tags": [
          "Ponavljajući računi - Partneri"
        ]
      },
      "get": {
        "description": "Endpoint za dohvat popisa partnera ponavljajućeg računa",
        "parameters": [
          {
            "description": "ID ponavljajućeg računa",
            "in": "query",
            "name": "ponavljajuciRacunId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Broj zapisa po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih zapisa",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonavljajuciRacuniPartneriResponse"
                }
              }
            },
            "description": "Popis partnera ponavljajućeg računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis partnera ponavljajućeg računa",
        "tags": [
          "Ponavljajući računi - Partneri"
        ]
      },
      "post": {
        "description": "Endpoint za dodavanje partnera na ponavljajući račun",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PonavljajuciRacunPartnerPostRequest"
              }
            }
          },
          "description": "Partner ponavljajućeg računa",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonavljajuciRacunPartnerResponse"
                }
              }
            },
            "description": "Novo dodani partner"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom spremanja"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dodavanje partnera na ponavljajući račun",
        "tags": [
          "Ponavljajući računi - Partneri"
        ]
      }
    },
    "/ponavljajuci-racuni/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja ponavljajućih računa",
        "parameters": [
          {
            "description": "ID ponude",
            "in": "query",
            "name": "ponudaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID korisnika koji je kreirao račun",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "ID naplatnog uređaja",
            "in": "query",
            "name": "naplatniUredajId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Aktivan",
            "in": "query",
            "name": "aktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Neaktivan",
            "in": "query",
            "name": "neaktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po nazivu ponavljajućeg računa",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. naziv)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonavljajuciRacuniCountResponse"
                }
              }
            },
            "description": "Broj ponavljajućih računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja ponavljajućih računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj ponavljajućih računa",
        "tags": [
          "Ponavljajući računi"
        ]
      }
    },
    "/ponavljajuci-racuni/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog ponavljajućeg računa po ID-u",
        "parameters": [
          {
            "description": "ID ponavljajućeg računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonavljajuciRacunResponse"
                }
              }
            },
            "description": "Pojedinačni ponavljajući račun"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id ponavljajućeg računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog ponavljajućeg računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni ponavljajući račun po ID-u",
        "tags": [
          "Ponavljajući računi"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg ponavljajućeg računa",
        "parameters": [
          {
            "description": "ID ponavljajućeg računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PonavljajuciRacunPatchRequest"
              }
            }
          },
          "description": "Razlike ponavljajućeg računa",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonavljajuciRacunResponse"
                }
              }
            },
            "description": "Uređeni ponavljajući račun"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id ponavljajućeg računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje ponavljajućeg računa",
        "tags": [
          "Ponavljajući računi"
        ]
      }
    },
    "/ponuda-stavke": {
      "post": {
        "description": "Endpoint za kreiranje nove stavke ponude",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PonudaStavkaPostRequest"
              }
            }
          },
          "description": "Stavka ponude",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudaStavkaResponse"
                }
              }
            },
            "description": "Novo kreirana stavka ponude"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id stavke ponude i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id ponude nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, ponuda je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje stavke ponude",
        "tags": [
          "Ponuda stavke"
        ]
      }
    },
    "/ponuda-stavke/{id}": {
      "delete": {
        "description": "Endpoint za brisanje postojeće stavke ponude",
        "parameters": [
          {
            "description": "ID stavke ponude",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudaStavkaResponse"
                }
              }
            },
            "description": "Obrisana stavka ponude"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id stavke ponude i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Stavka ponude nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, ponuda je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Brisanje stavke ponude",
        "tags": [
          "Ponuda stavke"
        ]
      },
      "get": {
        "description": "Endpoint za dohvat pojedinačne stavke ponude po ID-u",
        "parameters": [
          {
            "description": "ID stavke ponude",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudaStavkaResponse"
                }
              }
            },
            "description": "Pojedinačna stavka ponude"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id stavke ponude i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne stavke ponude"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna stavka ponude",
        "tags": [
          "Ponuda stavke"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojeće stavke ponude",
        "parameters": [
          {
            "description": "ID stavke ponude",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PonudaStavkaPatchRequest"
              }
            }
          },
          "description": "Razlike stavke ponude",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudaStavkaResponse"
                }
              }
            },
            "description": "Uređena stavka ponude"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id stavke ponude i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, ponuda je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje stavke ponude",
        "tags": [
          "Ponuda stavke"
        ]
      }
    },
    "/ponuda-stavke/{ponudaId}/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja stavki ponude",
        "parameters": [
          {
            "description": "ID ponude",
            "in": "path",
            "name": "ponudaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID jedinice mjere",
            "in": "query",
            "name": "jedinicaMjereId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poreznog razreda",
            "in": "query",
            "name": "porezniRazredId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudaStavkeCountResponse"
                }
              }
            },
            "description": "Broj stavki ponude"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id ponude su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id ponude nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja stavki ponude"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj stavki ponude",
        "tags": [
          "Ponuda stavke"
        ]
      }
    },
    "/ponuda-stavke/{ponudaId}/list": {
      "get": {
        "description": "Endpoint za dohvat popisa stavki ponude",
        "parameters": [
          {
            "description": "ID ponude",
            "in": "path",
            "name": "ponudaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Broj stavki ponude po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih stavki ponude",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID jedinice mjere",
            "in": "query",
            "name": "jedinicaMjereId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poreznog razreda",
            "in": "query",
            "name": "porezniRazredId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudaStavkeResponse"
                }
              }
            },
            "description": "Popis stavki ponude"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id ponude su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id ponude nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa stavki ponude"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis stavki ponude",
        "tags": [
          "Ponuda stavke"
        ]
      }
    },
    "/ponude": {
      "get": {
        "description": "Endpoint za dohvat popisa ponuda",
        "parameters": [
          {
            "description": "Broj ponuda po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih ponuda",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID partnera",
            "in": "query",
            "name": "partnerId",
            "schema": {
              "default": -1,
              "type": "integer"
            }
          },
          {
            "description": "ID načina plaćanja",
            "in": "query",
            "name": "nacinPlacanjaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo zaključani",
            "in": "query",
            "name": "zakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo otključani",
            "in": "query",
            "name": "nezakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "ID korisnika koji je kreirao ponudu",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "ID naplatnog uređaja",
            "in": "query",
            "name": "naplatniUredajId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Datum zaključavanja ponude",
            "in": "query",
            "name": "zakljucanoTimestamp",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Datum kreiranja ponude od",
            "in": "query",
            "name": "prviDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Datum kreiranja ponude do",
            "in": "query",
            "name": "zadnjiDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Poslovna godina (npr. 2024)",
            "in": "query",
            "name": "poslovnaGodinaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID tipa ponude",
            "in": "query",
            "name": "ponudaTipId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo ponude koje sadrže artikle",
            "in": "query",
            "name": "samoSaArtiklima",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo ponude koje sadrže račune",
            "in": "query",
            "name": "samoSaRacunima",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo ponude koje ne sadrže račune",
            "in": "query",
            "name": "samoBezRacuna",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po oznaki ponude ili nazivu partnera (npr. Fizička osoba)",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. datumIvrijemeIzrade)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudeResponse"
                }
              }
            },
            "description": "Popis ponuda"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa ponuda"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis ponuda",
        "tags": [
          "Ponude"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove ponude",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PonudaPostRequest"
              }
            }
          },
          "description": "Ponuda",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudaResponse"
                }
              }
            },
            "description": "Novo kreirana ponuda"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id ponude i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan, naplatni uređaj nije ispravan, nije moguće zaključati ponudu bez stavki, artikl nije pronađen, sastojak nije pronađen, usluga nije pronađena"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, izvan radnog vremena poslovnog prostora ste"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, trenutno postoji ne zaključana ponuda na odabranom naplatnom uređaju, partner nije pronađen, u testnom načinu rada nije moguče zaključavati ponude"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje nove ponude",
        "tags": [
          "Ponude"
        ]
      }
    },
    "/ponude-slanja": {
      "get": {
        "description": "Endpoint za dohvat popisa slanja ponuda",
        "parameters": [
          {
            "description": "Broj slanja ponuda po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih slanja ponuda",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID ponude",
            "in": "query",
            "name": "ponudaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo uspješno poslani",
            "in": "query",
            "name": "samoPoslano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo neuspješno poslani",
            "in": "query",
            "name": "samoNePoslano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "UUID korisnika koji je poslao ponudu",
            "in": "query",
            "name": "korisnikUuid",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. datumIvrijeme)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudeSlanjaResponse"
                }
              }
            },
            "description": "Popis slanja ponuda"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa slanja ponuda"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis slanja ponuda",
        "tags": [
          "Ponude slanja"
        ]
      }
    },
    "/ponude-slanja/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja slanja ponuda",
        "parameters": [
          {
            "description": "ID ponude",
            "in": "query",
            "name": "ponudaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo uspješno poslani",
            "in": "query",
            "name": "samoPoslano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo neuspješno poslani",
            "in": "query",
            "name": "samoNePoslano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "UUID korisnika koji je poslao ponudu",
            "in": "query",
            "name": "korisnikUuid",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudeSlanjaCountResponse"
                }
              }
            },
            "description": "Broj slanja ponuda"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja slanja ponuda"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj slanja ponuda",
        "tags": [
          "Ponude slanja"
        ]
      }
    },
    "/ponude-slanja/{uuid}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog slanja ponude po UUID-u",
        "parameters": [
          {
            "description": "UUID slanja ponude",
            "in": "path",
            "name": "uuid",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudaSlanjeResponse"
                }
              }
            },
            "description": "Pojedinačno slanje ponude"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "uuid slanja ponude i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog slanja ponude"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačno slanje ponude po UUID-u",
        "tags": [
          "Ponude slanja"
        ]
      }
    },
    "/ponude/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja ponuda",
        "parameters": [
          {
            "description": "ID partnera",
            "in": "query",
            "name": "partnerId",
            "schema": {
              "default": -1,
              "type": "integer"
            }
          },
          {
            "description": "ID načina plaćanja",
            "in": "query",
            "name": "nacinPlacanjaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo zaključani",
            "in": "query",
            "name": "zakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo otključani",
            "in": "query",
            "name": "nezakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "ID korisnika koji je kreirao ponudu",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "ID naplatnog uređaja",
            "in": "query",
            "name": "naplatniUredajId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Datum zaključavanja ponude",
            "in": "query",
            "name": "zakljucanoTimestamp",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Datum kreiranja ponude od",
            "in": "query",
            "name": "prviDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Datum kreiranja ponude do",
            "in": "query",
            "name": "zadnjiDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Poslovna godina (npr. 2024)",
            "in": "query",
            "name": "poslovnaGodinaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID tipa ponude",
            "in": "query",
            "name": "ponudaTipId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo ponude koji sadrže artikle",
            "in": "query",
            "name": "samoSaArtiklima",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo ponude koji sadrže račune",
            "in": "query",
            "name": "samoSaRacunima",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo ponude koji ne sadrže račune",
            "in": "query",
            "name": "samoBezRacuna",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po oznaki ponude ili nazivu partnera (npr. Fizička osoba)",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudeCountResponse"
                }
              }
            },
            "description": "Broj ponude"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja ponuda"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj ponuda",
        "tags": [
          "Ponude"
        ]
      }
    },
    "/ponude/oznaka-sljedeceg": {
      "get": {
        "description": "Endpoint za dohvat oznake sljedeće ponude",
        "parameters": [
          {
            "description": "ID naplatnog uređaja",
            "in": "query",
            "name": "naplatniUredajId",
            "required": true,
            "schema": {
              "default": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudeOznakaResponse"
                }
              }
            },
            "description": "Oznaka sljedeće ponude"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i naplatniUredajId su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata oznake sljedeće ponude"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Oznaka sljedeće ponude",
        "tags": [
          "Ponude"
        ]
      }
    },
    "/ponude/{id}": {
      "delete": {
        "description": "Endpoint za brisanje postojeće otključane ponude",
        "parameters": [
          {
            "description": "ID ponude",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudaResponse"
                }
              }
            },
            "description": "Obrisana ponuda"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Ponuda nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, ponuda je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Brisanje otključane ponude",
        "tags": [
          "Ponude"
        ]
      },
      "get": {
        "description": "Endpoint za dohvat pojedinačne ponude po ID-u",
        "parameters": [
          {
            "description": "ID ponude",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudaResponse"
                }
              }
            },
            "description": "Pojedinačna ponuda"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id ponude i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne ponude"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna ponuda po ID-u",
        "tags": [
          "Ponude"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojeće ponude",
        "parameters": [
          {
            "description": "ID ponude",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PonudaPatchRequest"
              }
            }
          },
          "description": "Razlike ponude",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudaResponse"
                }
              }
            },
            "description": "Uređena ponuda"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id ponude i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, ponuda je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje ponude",
        "tags": [
          "Ponude"
        ]
      }
    },
    "/ponude/{id}/fiskaliziraj": {
      "post": {
        "description": "Endpoint za fiskalizaciju zaključane ponude",
        "parameters": [
          {
            "description": "ID ponude",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudaResponse"
                }
              }
            },
            "description": "Fiskalizirana ponuda"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id ponude i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Ponuda nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, ponuda je otključana, ponuda je već fiskalizirana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Fiskalizacija zaključane ponude",
        "tags": [
          "Ponude"
        ]
      }
    },
    "/ponude/{id}/pdf": {
      "get": {
        "description": "Endpoint za dohvaćanje PDF ponude u base64 formatu",
        "parameters": [
          {
            "description": "ID ponude",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudaPdfResponse"
                }
              }
            },
            "description": "PDF ponuda"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id ponude i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Ponuda nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, ponuda je otključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvaćanje PDF ponude",
        "tags": [
          "Ponude"
        ]
      }
    },
    "/ponude/{id}/posalji-na-email": {
      "post": {
        "description": "Endpoint za slanje PDF ponude na email",
        "parameters": [
          {
            "description": "ID ponude",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PonudaEmailRequest"
              }
            }
          },
          "description": "Email za slanje",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.SuccessResponse"
                }
              }
            },
            "description": "PDF ponude poslan na email"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id ponude i apiToken su obavezni, email je neispravan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Ponuda nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, ponuda je otključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Slanje PDF ponude na email",
        "tags": [
          "Ponude"
        ]
      }
    },
    "/ponude/{id}/zakljucaj": {
      "post": {
        "description": "Endpoint za zaključavanje ponude",
        "parameters": [
          {
            "description": "ID ponude",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PonudaResponse"
                }
              }
            },
            "description": "Zaključana ponuda"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id ponude i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Ponuda nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, ponuda je već zakljućana, u testnom načinu rada nije moguče zaključavati ponude, nije moguće zaključati ponudu bez stavki, izvan radnog vremena poslovnog prostora ste"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Zaključavanje ponude",
        "tags": [
          "Ponude"
        ]
      }
    },
    "/porezni-razredi": {
      "get": {
        "description": "Endpoint za dohvat popisa poreznih razreda",
        "parameters": [
          {
            "description": "Broj poreznih razreda po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih poreznih razreda",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PorezniRazrediResponse"
                }
              }
            },
            "description": "Popis poreznih razreda"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa poreznih razreda"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis poreznih razreda",
        "tags": [
          "Porezni razredi"
        ]
      }
    },
    "/porezni-razredi/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja poreznih razreda",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PorezniRazrediCountResponse"
                }
              }
            },
            "description": "Broj poreznih razreda"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja poreznih razreda"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj poreznih razreda",
        "tags": [
          "Porezni razredi"
        ]
      }
    },
    "/porezni-razredi/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne poreznih razreda po ID-u",
        "parameters": [
          {
            "description": "ID poreznog razreda",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PorezniRazredResponse"
                }
              }
            },
            "description": "Pojedinačni porezni razred"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog poreznog razreda"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni porezni razred po ID-u",
        "tags": [
          "Porezni razredi"
        ]
      }
    },
    "/poslovni-prostori": {
      "get": {
        "description": "Endpoint za dohvat popisa poslovnih prostora",
        "parameters": [
          {
            "description": "Broj poslovnih prostora po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih poslovnih prostora",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo aktivni poslovni prostori",
            "in": "query",
            "name": "aktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo neaktivni poslovni prostori",
            "in": "query",
            "name": "neaktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po oznaci poslovnog prostora",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. oznaka)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PoslovniProstoriResponse"
                }
              }
            },
            "description": "Popis poslovnih prostora"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa poslovnih prostora"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis poslovnih prostora",
        "tags": [
          "Poslovni Prostori"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog poslovnog prostora",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PoslovniProstorPostRequest"
              }
            }
          },
          "description": "Poslovni prostor",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PoslovniProstorResponse"
                }
              }
            },
            "description": "Novo kreirana poslovni prostor"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "oznaka, ulica, drzavaId, zupanijaId, gradId i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, već postoji poslovni prostor iste oznake"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog poslovnog prostora",
        "tags": [
          "Poslovni Prostori"
        ]
      }
    },
    "/poslovni-prostori/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja poslovnih prostora",
        "parameters": [
          {
            "description": "Samo aktivni poslovni prostori",
            "in": "query",
            "name": "aktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo neaktivni poslovni prostori",
            "in": "query",
            "name": "neaktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po oznaci poslovnog prostora",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PoslovniProstoriCountResponse"
                }
              }
            },
            "description": "Broj poslovnih prostora"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja poslovnih prostora"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj poslovnih prostora",
        "tags": [
          "Poslovni Prostori"
        ]
      }
    },
    "/poslovni-prostori/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog poslovnog prostora po ID-u",
        "parameters": [
          {
            "description": "ID poslovnog prostora",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PoslovniProstorResponse"
                }
              }
            },
            "description": "Pojedinačni poslovni prostor"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id poslovnog prostora i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog poslovnog prostora"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni poslovni prostor po ID-u",
        "tags": [
          "Poslovni Prostori"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg poslovnog prostora",
        "parameters": [
          {
            "description": "ID poslovnog prostora",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PoslovniProstorPatchRequest"
              }
            }
          },
          "description": "Razlike poslovnog prostora",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PoslovniProstorResponse"
                }
              }
            },
            "description": "Uređen poslovni prostor"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id naplatnog uređaja i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, već postoji poslovni prostor iste oznake"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje poslovnog prostora",
        "tags": [
          "Poslovni Prostori"
        ]
      }
    },
    "/povratnica-artikli": {
      "post": {
        "description": "Endpoint za kreiranje novog artikla povratnice",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PovratnicaArtiklPostRequest"
              }
            }
          },
          "description": "Artikl povratnice",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PovratnicaArtiklResponse"
                }
              }
            },
            "description": "Novo kreirani artikl povratnice"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla povratnice i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id povratnice nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, povratnica je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje artikla povratnice",
        "tags": [
          "Povratnica artikli"
        ]
      }
    },
    "/povratnica-artikli/{id}": {
      "delete": {
        "description": "Endpoint za brisanje postojećeg artikla povratnice",
        "parameters": [
          {
            "description": "ID artikla povratnice",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PovratnicaArtiklResponse"
                }
              }
            },
            "description": "Obrisani artikl povratnice"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla povratnice i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Artikl povratnice nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, povratnica je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Brisanje artikla povratnice",
        "tags": [
          "Povratnica artikli"
        ]
      },
      "get": {
        "description": "Endpoint za dohvat pojedinačnog artikla povratnice po ID-u",
        "parameters": [
          {
            "description": "ID artikla povratnice",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PovratnicaArtiklResponse"
                }
              }
            },
            "description": "Pojedinačni artikl povratnice"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla povratnice i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog artikla povratnice"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni artikl povratnice",
        "tags": [
          "Povratnica artikli"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg artikla povratnice",
        "parameters": [
          {
            "description": "ID artikla povratnice",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PovratnicaArtiklPatchRequest"
              }
            }
          },
          "description": "Razlike artikla povratnice",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PovratnicaArtiklResponse"
                }
              }
            },
            "description": "Uređeni artikl povratnice"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla povratnice i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, povratnica je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje artikla povratnice",
        "tags": [
          "Povratnica artikli"
        ]
      }
    },
    "/povratnica-artikli/{povratnicaId}/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja artikala povratnice",
        "parameters": [
          {
            "description": "ID povratnice",
            "in": "path",
            "name": "povratnicaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PovratnicaArtikliCountResponse"
                }
              }
            },
            "description": "Broj artikala povratnice"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id povratnice su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id povratnice nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja artikala povratnice"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj artikala povratnice",
        "tags": [
          "Povratnica artikli"
        ]
      }
    },
    "/povratnica-artikli/{povratnicaId}/list": {
      "get": {
        "description": "Endpoint za dohvat popisa artikala povratnice",
        "parameters": [
          {
            "description": "ID povratnice",
            "in": "path",
            "name": "povratnicaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Broj artikala povratnice po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih artikala povratnice",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PovratnicaArtikliResponse"
                }
              }
            },
            "description": "Popis artikala povratnice"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id povratnice su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id povratnice nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa artikala povratnice"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis artikala povratnice",
        "tags": [
          "Povratnica artikli"
        ]
      }
    },
    "/povratnice": {
      "get": {
        "description": "Endpoint za dohvat popisa povratnica",
        "parameters": [
          {
            "description": "Broj povratnica po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih povratnica",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Datum i vrijeme izrade povratnice",
            "in": "query",
            "name": "datumIVrijeme",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Samo zaključane povratnice",
            "in": "query",
            "name": "zakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo otključane povratnice",
            "in": "query",
            "name": "otkljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "ID korisnika koji je kreirao povratnicu",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID dokumenta",
            "in": "query",
            "name": "dokumentTipId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID dobavjača",
            "in": "query",
            "name": "dobavljacId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID primke",
            "in": "query",
            "name": "primkaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID tipa povratnice",
            "in": "query",
            "name": "povratnicaTipId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Poslovna godina",
            "in": "query",
            "name": "poslovnaGodina",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po oznaci povratnice ili nazivu dobavljača",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PovratniceResponse"
                }
              }
            },
            "description": "Popis povratnica"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa povratnica"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis povratnica",
        "tags": [
          "Povratnica"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove povratnice",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PovratnicaPostRequest"
              }
            }
          },
          "description": "Povratnica",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PovratnicaResponse"
                }
              }
            },
            "description": "Novo kreirana povratnica"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id naplatnog uređaja i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan, dobavljač nije pronađen"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom kreiranja nove povratnice"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje nove povratnice",
        "tags": [
          "Povratnice"
        ]
      }
    },
    "/povratnice/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja povratnica",
        "parameters": [
          {
            "description": "Datum i vrijeme izrade povratnice",
            "in": "query",
            "name": "datumIVrijeme",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Samo zaključane povratnice",
            "in": "query",
            "name": "zakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo otključane povratnice",
            "in": "query",
            "name": "otkljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "ID korisnika koji je kreirao povratnicu",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID dokumenta",
            "in": "query",
            "name": "dokumentTipId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID dobavjača",
            "in": "query",
            "name": "dobavljacId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID primke",
            "in": "query",
            "name": "primkaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID tipa povratnice",
            "in": "query",
            "name": "povratnicaTipId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Poslovna godina",
            "in": "query",
            "name": "poslovnaGodina",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po oznaci povratnice ili nazivu dobavljača",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PovratniceCountResponse"
                }
              }
            },
            "description": "Ukupan broj povratnica"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata ukupnog broja povratnica"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Ukupan broj povratnica",
        "tags": [
          "Povratnice"
        ]
      }
    },
    "/povratnice/{id}": {
      "delete": {
        "description": "Endpoint za brisanje postojeće otključane povratnice",
        "parameters": [
          {
            "description": "ID povratnice",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PovratnicaDeleteRequest"
              }
            }
          },
          "description": "Naplatni uređaj",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PovratnicaResponse"
                }
              }
            },
            "description": "Obrisana povratnica"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id povratnice, id naplatnog uređaja i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Račun nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, povratnica je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Brisanje postojeće otključane povratnice",
        "tags": [
          "Povratnice"
        ]
      },
      "get": {
        "description": "Endpoint za dohvat pojedinačne povratnice po ID-u",
        "parameters": [
          {
            "description": "ID povratnice",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PovratnicaResponse"
                }
              }
            },
            "description": "Pojedinačna povratnica"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id povratnice i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne povratnice"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvat pojedinačne povratnice po ID-u",
        "tags": [
          "Povratnice"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojeće povratnice",
        "parameters": [
          {
            "description": "ID povratnice",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PovratnicaPatchRequest"
              }
            }
          },
          "description": "Razlike povratnice",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PovratnicaResponse"
                }
              }
            },
            "description": "Uređena povratnica"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id povratnice, id naplatnog uređaja i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje postojeće povratnice",
        "tags": [
          "Povratnice"
        ]
      }
    },
    "/povratnice/{id}/pdf": {
      "get": {
        "description": "Endpoint za dohvaćanje PDF-a povratnice u base64 formatu",
        "parameters": [
          {
            "description": "ID povratnice",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PovratnicaPdfResponse"
                }
              }
            },
            "description": "PDF povratnice"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id povratnice i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Povratnica nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, povratnica je otključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvaćanje PDF-a povratnice",
        "tags": [
          "Povratnice"
        ]
      }
    },
    "/povratnice/{id}/storniraj": {
      "post": {
        "description": "Endpoint za storniranje povratnice",
        "parameters": [
          {
            "description": "ID povratnice",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PovratnicaStornirajRequest"
              }
            }
          },
          "description": "Naplatni uređaj",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PovratnicaResponse"
                }
              }
            },
            "description": "Storno povratnice"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id povratnice i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Povratnica nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, povratnica je otključana, povratnica je već stornirana, postoji nezaključana povratnica"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Storno povratnice",
        "tags": [
          "Povratnice"
        ]
      }
    },
    "/povratnice/{id}/zakljucaj": {
      "post": {
        "description": "Endpoint za zaključavanje povratnice",
        "parameters": [
          {
            "description": "ID povratnice",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PovratnicaResponse"
                }
              }
            },
            "description": "Zaključana povratnica"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id povratnice i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Povratnica nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, povratnica je već zaključana, nije moguće zaključati povratnicu bez artikala, izvan radnog vremena poslovnog prostora ste"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Zaključavanje povratnice",
        "tags": [
          "Povratnice"
        ]
      }
    },
    "/prijevodi": {
      "get": {
        "description": "Endpoint za dohvat popisa prijevoda",
        "parameters": [
          {
            "description": "Broj prijevoda po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih prijevoda",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID jezika",
            "in": "query",
            "name": "jezikId",
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrijevodiResponse"
                }
              }
            },
            "description": "Popis prijevoda"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa prijevoda"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis prijevoda",
        "tags": [
          "Prijevodi"
        ]
      }
    },
    "/prijevodi/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja prijevoda",
        "parameters": [
          {
            "description": "ID jezika",
            "in": "query",
            "name": "jezikId",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrijevodiCountResponse"
                }
              }
            },
            "description": "Broj prijevoda"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja prijevoda"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj prijevoda",
        "tags": [
          "Prijevodi"
        ]
      }
    },
    "/prijevodi/{jezikId}/{key}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog prijevoda po ključu",
        "parameters": [
          {
            "description": "ID jezika",
            "in": "path",
            "name": "jezikId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Ključ prijevoda",
            "in": "path",
            "name": "key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrijevodResponse"
                }
              }
            },
            "description": "Pojedinačni prijevod"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "jezikId, key i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog prijevoda"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni prijevod po ključu",
        "tags": [
          "Prijevodi"
        ]
      }
    },
    "/primka-artikli": {
      "get": {
        "description": "Endpoint za dohvat popisa artikala primke sa opcionalnim filterom po primkaId",
        "parameters": [
          {
            "description": "ID primke",
            "in": "query",
            "name": "primkaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Broj artikala primke po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih artikala primke",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaArtikliResponse"
                }
              }
            },
            "description": "Popis artikala primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa artikala primke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis svih artikala primke",
        "tags": [
          "Primka artikli"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog artikla primke",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PrimkaArtiklPostRequest"
              }
            }
          },
          "description": "Artikl primke",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaArtiklResponse"
                }
              }
            },
            "description": "Novo kreirani artikl primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla primke i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id primke nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, primka je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje artikla primke",
        "tags": [
          "Primka artikli"
        ]
      }
    },
    "/primka-artikli/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja artikala primke sa opcionalnim filterom po primkaId",
        "parameters": [
          {
            "description": "ID primke",
            "in": "query",
            "name": "primkaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaArtikliCountResponse"
                }
              }
            },
            "description": "Broj artikala primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja artikala primke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj svih artikala primke",
        "tags": [
          "Primka artikli"
        ]
      }
    },
    "/primka-artikli/{id}": {
      "delete": {
        "description": "Endpoint za brisanje postojećeg artikla primke",
        "parameters": [
          {
            "description": "ID artikla primke",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaArtiklResponse"
                }
              }
            },
            "description": "Obrisani artikl primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla primke i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Artikl primke nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, primka je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Brisanje artikla primke",
        "tags": [
          "Primka artikli"
        ]
      },
      "get": {
        "description": "Endpoint za dohvat pojedinačnog artikla primke po ID-u",
        "parameters": [
          {
            "description": "ID artikla primke",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaArtiklResponse"
                }
              }
            },
            "description": "Pojedinačni artikl primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla primke i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog artikla primke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni artikl primke",
        "tags": [
          "Primka artikli"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg artikla primke",
        "parameters": [
          {
            "description": "ID artikla primke",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PrimkaArtiklPatchRequest"
              }
            }
          },
          "description": "Razlike artikla primke",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaArtiklResponse"
                }
              }
            },
            "description": "Uređeni artikl primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id artikla primke i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, primka je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje artikla primke",
        "tags": [
          "Primka artikli"
        ]
      }
    },
    "/primka-artikli/{primkaId}/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja artikala primke",
        "parameters": [
          {
            "description": "ID primke",
            "in": "path",
            "name": "primkaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaArtikliCountResponse"
                }
              }
            },
            "description": "Broj artikala primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id primke su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id primke nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja artikala primke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj artikala primke",
        "tags": [
          "Primka artikli"
        ]
      }
    },
    "/primka-artikli/{primkaId}/list": {
      "get": {
        "description": "Endpoint za dohvat popisa artikala primke",
        "parameters": [
          {
            "description": "ID primke",
            "in": "path",
            "name": "primkaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Broj artikala primke po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih artikala primke",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaArtikliResponse"
                }
              }
            },
            "description": "Popis artikala primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id primke su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id primke nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa artikala primke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis artikala primke",
        "tags": [
          "Primka artikli"
        ]
      }
    },
    "/primka-trosak-osnove": {
      "get": {
        "description": "Endpoint za dohvat popisa osnova troškova primke",
        "parameters": [
          {
            "description": "Broj osnova troškova primke po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih osnova troškova primke",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaTrosakOsnoveResponse"
                }
              }
            },
            "description": "Popis osnova troškova primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa osnova troškova primke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis osnova troškova primke",
        "tags": [
          "Primka Trošak Osnove"
        ]
      }
    },
    "/primka-trosak-osnove/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja osnova troškova primke",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaTrosakOsnoveCountResponse"
                }
              }
            },
            "description": "Broj osnova troškova primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja osnova troškova primke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj osnova troškova primke",
        "tags": [
          "Primka Trošak Osnove"
        ]
      }
    },
    "/primka-trosak-osnove/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne osnove troška primke po ID-u",
        "parameters": [
          {
            "description": "ID osnove troška primke",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaTrosakOsnovaResponse"
                }
              }
            },
            "description": "Pojedinačna osnova troška primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id osnove troška primke i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne osnove troška primke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna osnova troška primke po ID-u",
        "tags": [
          "Primka Trošak Osnove"
        ]
      }
    },
    "/primka-troskovi": {
      "post": {
        "description": "Endpoint za kreiranje novog troška primke",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PrimkaTrosakPostRequest"
              }
            }
          },
          "description": "Trošak primke",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaTrosakResponse"
                }
              }
            },
            "description": "Novo kreirani trošak primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id troška primke i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id troška primke nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, primka je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje troška primke",
        "tags": [
          "Primka troškovi"
        ]
      }
    },
    "/primka-troskovi/{id}": {
      "delete": {
        "description": "Endpoint za brisanje postojećeg troška primke",
        "parameters": [
          {
            "description": "ID troška primke",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaTrosakResponse"
                }
              }
            },
            "description": "Obrisani trošak primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id troška primke i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Trošak primke nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, primka je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Brisanje troška primke",
        "tags": [
          "Primka troškovi"
        ]
      },
      "get": {
        "description": "Endpoint za dohvat pojedinačnog troška primke po ID-u",
        "parameters": [
          {
            "description": "ID troška primke",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaTrosakResponse"
                }
              }
            },
            "description": "Pojedinačni trošak primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id troška primke i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog troška primke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni trošak primke",
        "tags": [
          "Primka troškovi"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg troška primke",
        "parameters": [
          {
            "description": "ID troška primke",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PrimkaTrosakPatchRequest"
              }
            }
          },
          "description": "Razlike troška primke",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaTrosakResponse"
                }
              }
            },
            "description": "Uređeni trošak primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id troška primke i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, primka je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje troška primke",
        "tags": [
          "Primka troškovi"
        ]
      }
    },
    "/primka-troskovi/{primkaId}/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja troškova primke",
        "parameters": [
          {
            "description": "ID primke",
            "in": "path",
            "name": "primkaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID osnove troškova",
            "in": "query",
            "name": "primkaTrosakOsnovaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo naknadni troškovi",
            "in": "query",
            "name": "naknadni",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo nenaknadni troškovi",
            "in": "query",
            "name": "nenaknadni",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaTroskoviCountResponse"
                }
              }
            },
            "description": "Broj troškova primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id primke su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id primke nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja troškova primke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj troškova primke",
        "tags": [
          "Primka troškovi"
        ]
      }
    },
    "/primka-troskovi/{primkaId}/list": {
      "get": {
        "description": "Endpoint za dohvat popisa troškova primke",
        "parameters": [
          {
            "description": "ID primke",
            "in": "path",
            "name": "primkaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Broj troškova primke po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih troškova primke",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID osnove troškova",
            "in": "query",
            "name": "primkaTrosakOsnovaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo naknadni troškovi",
            "in": "query",
            "name": "naknadni",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo nenaknadni troškovi",
            "in": "query",
            "name": "nenaknadni",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaTroskoviResponse"
                }
              }
            },
            "description": "Popis troškova primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id primke su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id primke nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa troškova primke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis troškova primke",
        "tags": [
          "Primka troškovi"
        ]
      }
    },
    "/primke": {
      "get": {
        "description": "Endpoint za dohvat popisa primki",
        "parameters": [
          {
            "description": "Broj primki po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih primki",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Datum izrade primke",
            "in": "query",
            "name": "datumIzrade",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Samo zaključane primke",
            "in": "query",
            "name": "zakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo otključane primke",
            "in": "query",
            "name": "otkljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "ID korisnika koji je kreirao primku",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID valute",
            "in": "query",
            "name": "valutaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID dokumenta",
            "in": "query",
            "name": "dokumentTipId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID dobavjača",
            "in": "query",
            "name": "dobavljacId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID tipa primke",
            "in": "query",
            "name": "primkaTipId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Poslovna godina",
            "in": "query",
            "name": "poslovnaGodina",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po oznaki primke ili nazivu dobavljača",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkeResponse"
                }
              }
            },
            "description": "Popis primki"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa primki"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis primki",
        "tags": [
          "Primke"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove primke",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PrimkaPostRequest"
              }
            }
          },
          "description": "Primka",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaResponse"
                }
              }
            },
            "description": "Novo kreirana primka"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id naplatnog uređaja i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan, dobavljač nije pronađen"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom kreiranja nove primke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje nove primke",
        "tags": [
          "Primke"
        ]
      }
    },
    "/primke-tipovi": {
      "get": {
        "description": "Endpoint za dohvat popisa tipova primke",
        "parameters": [
          {
            "description": "Broj tipova primke po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih tipova primke",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaTipoviResponse"
                }
              }
            },
            "description": "Popis tipova primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa tipova primke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis tipova primke",
        "tags": [
          "Primke tipovi"
        ]
      }
    },
    "/primke-tipovi/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja tipova primke",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaTipoviCountResponse"
                }
              }
            },
            "description": "Broj tipova primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja tipova primke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj tipova primke",
        "tags": [
          "Primke tipovi"
        ]
      }
    },
    "/primke-tipovi/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog tipa primke po ID-u",
        "parameters": [
          {
            "description": "ID tipa primke",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaTipResponse"
                }
              }
            },
            "description": "Pojedinačni tip primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id tipa primke i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog tipa primke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni tip primke po ID-u",
        "tags": [
          "Primke tipovi"
        ]
      }
    },
    "/primke/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja primki",
        "parameters": [
          {
            "description": "Datum izrade primke",
            "in": "query",
            "name": "datumIzrade",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Samo zaključane primke",
            "in": "query",
            "name": "zakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo otključane primke",
            "in": "query",
            "name": "otkljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "ID korisnika koji je kreirao primku",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID valute",
            "in": "query",
            "name": "valutaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID dokumenta",
            "in": "query",
            "name": "dokumentTipId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID dobavjača",
            "in": "query",
            "name": "dobavljacId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID tipa primke",
            "in": "query",
            "name": "primkaTipId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Poslovna godina",
            "in": "query",
            "name": "poslovnaGodina",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po oznaki primke ili nazivu dobavljača",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkeCountResponse"
                }
              }
            },
            "description": "Ukupan broj primki"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata ukupnog broja primki"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Ukupan broj primki",
        "tags": [
          "Primke"
        ]
      }
    },
    "/primke/oznaka-sljedece": {
      "get": {
        "description": "Endpoint za dohvat sljedeće oznake primke",
        "parameters": [
          {
            "description": "ID tipa dokumenta (temeljnice)",
            "in": "query",
            "name": "dokumentTipId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkeOznakaResponse"
                }
              }
            },
            "description": "Sljedeća oznaka primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata sljedeće oznake primke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Sljedeća oznaka primke",
        "tags": [
          "Primke"
        ]
      }
    },
    "/primke/{id}": {
      "delete": {
        "description": "Endpoint za brisanje postojeće otključane primke",
        "parameters": [
          {
            "description": "ID primke",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PrimkaDeleteRequest"
              }
            }
          },
          "description": "Naplatni uređaj",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaResponse"
                }
              }
            },
            "description": "Obrisana primka"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id primke, id naplatnog uređaja i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Račun nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, primka je zaključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Brisanje postojeće otključane primke",
        "tags": [
          "Primke"
        ]
      },
      "get": {
        "description": "Endpoint za dohvat pojedinačne primke po ID-u",
        "parameters": [
          {
            "description": "ID primke",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaResponse"
                }
              }
            },
            "description": "Pojedinačna primka"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id primke i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne primke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvat pojedinačne primke po ID-u",
        "tags": [
          "Primke"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojeće primke",
        "parameters": [
          {
            "description": "ID primke",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PrimkaPatchRequest"
              }
            }
          },
          "description": "Razlike primke",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaResponse"
                }
              }
            },
            "description": "Uređena primka"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id primke, id naplatnog uređaja i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje postojeće primke",
        "tags": [
          "Primke"
        ]
      }
    },
    "/primke/{id}/pdf": {
      "get": {
        "description": "Endpoint za dohvaćanje PDF-a primke u base64 formatu",
        "parameters": [
          {
            "description": "ID primke",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaPdfResponse"
                }
              }
            },
            "description": "PDF primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id primke i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Primka nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, primka je otključana"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvaćanje PDF-a primke",
        "tags": [
          "Primke"
        ]
      }
    },
    "/primke/{id}/storniraj": {
      "post": {
        "description": "Endpoint za storniranje primke",
        "parameters": [
          {
            "description": "ID primke",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.PrimkaStornirajRequest"
              }
            }
          },
          "description": "Naplatni uređaj",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaResponse"
                }
              }
            },
            "description": "Storno primke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id primke i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Primka nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, primka je otključana, primka je već stornirana, postoji nezaključana primka"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Storno primke",
        "tags": [
          "Primke"
        ]
      }
    },
    "/primke/{id}/zakljucaj": {
      "post": {
        "description": "Endpoint za zaključivanje primke",
        "parameters": [
          {
            "description": "ID primke",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.PrimkaResponse"
                }
              }
            },
            "description": "Zaključana primka"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id ponude i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Primka nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, primka je već zaključana, nije moguće zaključati primku bez stavki, izvan radnog vremena poslovnog prostora ste"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Zaključavanje primke",
        "tags": [
          "Primke"
        ]
      }
    },
    "/proizvodaci": {
      "get": {
        "description": "Endpoint za dohvat popisa proizvođača",
        "parameters": [
          {
            "description": "Broj proizvođača po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih proizvođača",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraži samo domaće proizvođače",
            "in": "query",
            "name": "samoDomaci",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraži samo inozemne proizvođače",
            "in": "query",
            "name": "samoIno",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po nazivu proizvođača ili države proizvođača",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ProizvodaciResponse"
                }
              }
            },
            "description": "Popis proizvođača"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa proizvođača"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis proizvođača",
        "tags": [
          "Proizvođači"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog proizvođača",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.ProizvodacPostRequest"
              }
            }
          },
          "description": "Proizvođač",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ProizvodacResponse"
                }
              }
            },
            "description": "Novo kreirani proizvođač"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan,"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog proizvođača",
        "tags": [
          "Proizvođači"
        ]
      }
    },
    "/proizvodaci/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja proizvođača",
        "parameters": [
          {
            "description": "Pretraži samo domaće proizvođači",
            "in": "query",
            "name": "samoDomaci",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraži samo inozemne proizvođači",
            "in": "query",
            "name": "samoIno",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po nazivu proizvođača ili države proizvođača",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ProizvodaciCountResponse"
                }
              }
            },
            "description": "Broj proizvođača"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja proizvođača"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj proizvođača",
        "tags": [
          "Proizvođači"
        ]
      }
    },
    "/proizvodaci/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog proizvođača po ID-u",
        "parameters": [
          {
            "description": "ID proizvođača",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ProizvodacResponse"
                }
              }
            },
            "description": "Pojedinačni proizvođač"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog proizvođača"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni proizvođač po ID-u",
        "tags": [
          "Proizvođači"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg proizvođača",
        "parameters": [
          {
            "description": "ID proizvođača",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.ProizvodacPatchRequest"
              }
            }
          },
          "description": "Razlike proizvođača",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ProizvodacResponse"
                }
              }
            },
            "description": "Uređen proizvođač"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje proizvođača",
        "tags": [
          "Proizvođači"
        ]
      }
    },
    "/rabati-partner-po-artiklu": {
      "get": {
        "description": "Endpoint za dohvat popisa rabata partner po artiklu",
        "parameters": [
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID partnera",
            "in": "query",
            "name": "partnerId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu rabata",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatiPartnerPoArtikluResponse"
                }
              }
            },
            "description": "Popis rabata partner po artiklu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa rabata partner po artiklu"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis rabata partner po artiklu",
        "tags": [
          "Rabati partner po artiklu"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog rabata partner po artiklu",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RabatPartnerPoArtikluPostRequest"
              }
            }
          },
          "description": "Rabat partner po artiklu",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPartnerPoArtikluResponse"
                }
              }
            },
            "description": "Novo kreirani rabat partner po artiklu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "naziv, popust, id artikla, id partnera i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog rabata partner po artiklu",
        "tags": [
          "Rabati partner po artiklu"
        ]
      }
    },
    "/rabati-partner-po-artiklu/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja rabata partner po artiklu",
        "parameters": [
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID partnera",
            "in": "query",
            "name": "partnerId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu rabata",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatiPartnerPoArtikluCountResponse"
                }
              }
            },
            "description": "Broj rabata partner po artiklu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja rabata partner po artiklu"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj rabata partner po artiklu",
        "tags": [
          "Rabati partner po artiklu"
        ]
      }
    },
    "/rabati-partner-po-artiklu/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog rabata partner po artiklu po ID-u",
        "parameters": [
          {
            "description": "ID rabata partner po artiklu",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPartnerPoArtikluResponse"
                }
              }
            },
            "description": "Pojedinačni rabat partner po artiklu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id rabata partner po artiklu i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog rabata partner po artiklu"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni rabat partner po artiklu po ID-u",
        "tags": [
          "Rabati partner po artiklu"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg rabata partner po artiklu",
        "parameters": [
          {
            "description": "ID rabata partner po artiklu",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RabatPartnerPoArtikluPatchRequest"
              }
            }
          },
          "description": "Razlike rabata partner po artiklu",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPartnerPoArtikluResponse"
                }
              }
            },
            "description": "Uređeni rabat partner po artiklu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id rabata partner po artiklu i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje rabata partner po artiklu",
        "tags": [
          "Rabati partner po artiklu"
        ]
      }
    },
    "/rabati-partner-po-grupi-artikala": {
      "get": {
        "description": "Endpoint za dohvat popisa rabata partnera po grupi artikala",
        "parameters": [
          {
            "description": "ID grupe artikala",
            "in": "query",
            "name": "artiklGrupaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID partnera",
            "in": "query",
            "name": "partnerId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu rabata",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatiPartnerPoGrupiArtikalaResponse"
                }
              }
            },
            "description": "Popis rabata partnera po grupi artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa rabata partnera po grupi artikala"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis rabata partnera po grupi artikala",
        "tags": [
          "Rabati partner po grupi artikala"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog rabata partnera po grupi artikala",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RabatPartnerPoGrupiArtikalaPostRequest"
              }
            }
          },
          "description": "Rabat partnera po grupi artikala",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPartnerPoGrupiArtikalaResponse"
                }
              }
            },
            "description": "Novo kreirani rabat partnera po grupi artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "naziv, popust, id grupe artikala, id partnera i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog rabata partnera po grupi artikala",
        "tags": [
          "Rabati partner po grupi artikala"
        ]
      }
    },
    "/rabati-partner-po-grupi-artikala/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja rabata partnera po grupi artikala",
        "parameters": [
          {
            "description": "ID grupe artikala",
            "in": "query",
            "name": "artiklGrupaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID partnera",
            "in": "query",
            "name": "partnerId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu rabata",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatiPartnerPoGrupiArtikalaCountResponse"
                }
              }
            },
            "description": "Broj rabata partnera po grupi artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja rabata partnera po grupi artikala"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj rabata partnera po grupi artikala",
        "tags": [
          "Rabati partner po grupi artikala"
        ]
      }
    },
    "/rabati-partner-po-grupi-artikala/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog rabata partnera po grupi artikala po ID-u",
        "parameters": [
          {
            "description": "ID rabata partnera po grupi artikala",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPartnerPoGrupiArtikalaResponse"
                }
              }
            },
            "description": "Pojedinačni rabat partnera po grupi artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id rabata partnera po grupi artikala i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog rabata partnera po grupi artikala"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni rabat partnera po grupi artikala po ID-u",
        "tags": [
          "Rabati partner po grupi artikala"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg rabata partnera po grupi artikala",
        "parameters": [
          {
            "description": "ID rabata partnera po grupi artikala",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RabatPartnerPoGrupiArtikalaPatchRequest"
              }
            }
          },
          "description": "Razlike rabata partnera po grupi artikala",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPartnerPoGrupiArtikalaResponse"
                }
              }
            },
            "description": "Uređeni rabat partnera po grupi artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id rabata partnera po grupi artikala i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje rabata partnera po grupi artikala",
        "tags": [
          "Rabati partner po grupi artikala"
        ]
      }
    },
    "/rabati-partner-po-grupi-usluga": {
      "get": {
        "description": "Endpoint za dohvat popisa rabata partnera po grupi usluga",
        "parameters": [
          {
            "description": "ID grupe usluga",
            "in": "query",
            "name": "uslugaGrupaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID partnera",
            "in": "query",
            "name": "partnerId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu rabata",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatiPartnerPoGrupiUslugaResponse"
                }
              }
            },
            "description": "Popis rabata partnera po grupi usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa rabata partnera po grupi usluga"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis rabata partnera po grupi usluga",
        "tags": [
          "Rabati partner po grupi usluga"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog rabata partnera po grupi usluga",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RabatPartnerPoGrupiUslugaPostRequest"
              }
            }
          },
          "description": "Rabat partnera po grupi usluga",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPartnerPoGrupiUslugaResponse"
                }
              }
            },
            "description": "Novo kreirani rabat partnera po grupi usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "naziv, popust, id grupe usluga, id partnera i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog rabata partnera po grupi usluga",
        "tags": [
          "Rabati partner po grupi usluga"
        ]
      }
    },
    "/rabati-partner-po-grupi-usluga/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja rabata partnera po grupi usluga",
        "parameters": [
          {
            "description": "ID grupe usluga",
            "in": "query",
            "name": "uslugaGrupaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID partnera",
            "in": "query",
            "name": "partnerId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu rabata",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatiPartnerPoGrupiUslugaCountResponse"
                }
              }
            },
            "description": "Broj rabata partnera po grupi usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja rabata partnera po grupi usluga"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj rabata partnera po grupi usluga",
        "tags": [
          "Rabati partner po grupi usluga"
        ]
      }
    },
    "/rabati-partner-po-grupi-usluga/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog rabata partnera po grupi usluga po ID-u",
        "parameters": [
          {
            "description": "ID rabata partnera po grupi usluga",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPartnerPoGrupiUslugaResponse"
                }
              }
            },
            "description": "Pojedinačni rabat partnera po grupi usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id rabata partnera po grupi usluga i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog rabata partnera po grupi usluga"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni rabat partnera po grupi usluga po ID-u",
        "tags": [
          "Rabati partner po grupi usluga"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg rabata partnera po grupi usluga",
        "parameters": [
          {
            "description": "ID rabata partnera po grupi usluga",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RabatPartnerPoGrupiUslugaPatchRequest"
              }
            }
          },
          "description": "Razlike rabata partnera po grupi usluga",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPartnerPoGrupiUslugaResponse"
                }
              }
            },
            "description": "Uređeni rabat partnera po grupi usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id rabata partnera po grupi usluga i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje rabata partnera po grupi usluga",
        "tags": [
          "Rabati partner po grupi usluga"
        ]
      }
    },
    "/rabati-partner-po-usluzi": {
      "get": {
        "description": "Endpoint za dohvat popisa rabata partner po usluzi",
        "parameters": [
          {
            "description": "ID usluge",
            "in": "query",
            "name": "uslugaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID partnera",
            "in": "query",
            "name": "partnerId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu rabata",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatiPartnerPoUsluziResponse"
                }
              }
            },
            "description": "Popis rabata partner po usluzi"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa rabata partner po usluzi"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis rabata partner po usluzi",
        "tags": [
          "Rabati partner po usluzi"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog rabata partner po usluzi",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RabatPartnerPoUsluziPostRequest"
              }
            }
          },
          "description": "Rabat partner po usluzi",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPartnerPoUsluziResponse"
                }
              }
            },
            "description": "Novo kreirani rabat partner po usluzi"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "naziv, popust, id usluge, id partnera i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog rabata partner po usluzi",
        "tags": [
          "Rabati partner po usluzi"
        ]
      }
    },
    "/rabati-partner-po-usluzi/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja rabata partner po usluzi",
        "parameters": [
          {
            "description": "ID usluge",
            "in": "query",
            "name": "uslugaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID partnera",
            "in": "query",
            "name": "partnerId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu rabata",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatiPartnerPoUsluziCountResponse"
                }
              }
            },
            "description": "Broj rabata partner po usluzi"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja rabata partner po usluzi"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj rabata partner po usluzi",
        "tags": [
          "Rabati partner po usluzi"
        ]
      }
    },
    "/rabati-partner-po-usluzi/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog rabata partner po usluzi po ID-u",
        "parameters": [
          {
            "description": "ID rabata partner po usluzi",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPartnerPoUsluziResponse"
                }
              }
            },
            "description": "Pojedinačni rabat partner po usluzi"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id rabata partner po usluzi i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog rabata partner po usluzi"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni rabat partner po usluzi po ID-u",
        "tags": [
          "Rabati partner po usluzi"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg rabata partner po usluzi",
        "parameters": [
          {
            "description": "ID rabata partner po usluzi",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RabatPartnerPoUsluziPatchRequest"
              }
            }
          },
          "description": "Razlike rabata partner po usluzi",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPartnerPoUsluziResponse"
                }
              }
            },
            "description": "Uređeni rabat partner po usluzi"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id rabata partner po usluzi i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje rabata partner po usluzi",
        "tags": [
          "Rabati partner po usluzi"
        ]
      }
    },
    "/rabati-po-artiklu": {
      "get": {
        "description": "Endpoint za dohvat popisa rabata po artiklu",
        "parameters": [
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Vrijedi od",
            "in": "query",
            "name": "vrijediOd",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Vrijedi do",
            "in": "query",
            "name": "vrijediDo",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraga po nazivu rabata",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. sifra)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatiPoArtikluResponse"
                }
              }
            },
            "description": "Popis rabata po artiklu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa rabata po artiklu"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis rabata po artiklu",
        "tags": [
          "Rabati po artiklu"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog rabata po artiklu",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RabatPoArtikluPostRequest"
              }
            }
          },
          "description": "Rabat po artiklu",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPoArtikluResponse"
                }
              }
            },
            "description": "Novo kreirani rabat po artiklu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "naziv, popust, id artikla i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog rabata po artiklu",
        "tags": [
          "Rabati po artiklu"
        ]
      }
    },
    "/rabati-po-artiklu/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja rabata po artiklu",
        "parameters": [
          {
            "description": "ID artikla",
            "in": "query",
            "name": "artiklId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Vrijedi od",
            "in": "query",
            "name": "vrijediOd",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Vrijedi do",
            "in": "query",
            "name": "vrijediDo",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraga po nazivu rabata",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatiPoArtikluCountResponse"
                }
              }
            },
            "description": "Broj rabata po artiklu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja rabata po artiklu"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj rabata po artiklu",
        "tags": [
          "Rabati po artiklu"
        ]
      }
    },
    "/rabati-po-artiklu/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog rabata po artiklu po ID-u",
        "parameters": [
          {
            "description": "ID rabata po artiklu",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPoArtikluResponse"
                }
              }
            },
            "description": "Pojedinačni rabat po artiklu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id rabata po artiklu i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog rabata po artiklu"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni rabat po artiklu po ID-u",
        "tags": [
          "Rabati po artiklu"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg rabata po artiklu",
        "parameters": [
          {
            "description": "ID rabata po artiklu",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RabatPoArtikluPatchRequest"
              }
            }
          },
          "description": "Razlike rabata po artiklu",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPoArtikluResponse"
                }
              }
            },
            "description": "Uređeni rabat po artiklu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id rabata po artiklu i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje rabata po artiklu",
        "tags": [
          "Rabati po artiklu"
        ]
      }
    },
    "/rabati-po-grupi-artikala": {
      "get": {
        "description": "Endpoint za dohvat popisa rabata po grupi artikala",
        "parameters": [
          {
            "description": "ID grupe artikala",
            "in": "query",
            "name": "artiklGrupaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu rabata",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatiPoGrupiArtikalaResponse"
                }
              }
            },
            "description": "Popis rabata po grupi artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa rabata po grupi artikala"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis rabata po grupi artikala",
        "tags": [
          "Rabati po grupi artikala"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog rabata po grupi artikala",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RabatPoGrupiArtikalaPostRequest"
              }
            }
          },
          "description": "Rabat po grupi artikala",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPoGrupiArtikalaResponse"
                }
              }
            },
            "description": "Novo kreirani rabat po grupi artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "naziv, popust, id grupe artikala i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog rabata po grupi artikala",
        "tags": [
          "Rabati po grupi artikala"
        ]
      }
    },
    "/rabati-po-grupi-artikala/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja rabata po grupi artikala",
        "parameters": [
          {
            "description": "ID grupe artikala",
            "in": "query",
            "name": "artiklGrupaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu rabata",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatiPoGrupiArtikalaCountResponse"
                }
              }
            },
            "description": "Broj rabata po grupi artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja rabata po grupi artikala"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj rabata po grupi artikala",
        "tags": [
          "Rabati po grupi artikala"
        ]
      }
    },
    "/rabati-po-grupi-artikala/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog rabata po grupi artikala po ID-u",
        "parameters": [
          {
            "description": "ID rabata po grupi artikala",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPoGrupiArtikalaResponse"
                }
              }
            },
            "description": "Pojedinačni rabat po grupi artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id rabata po grupi artikala i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog rabata po grupi artikala"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni rabat po grupi artikala po ID-u",
        "tags": [
          "Rabati po grupi artikala"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg rabata po grupi artikala",
        "parameters": [
          {
            "description": "ID rabata po grupi artikala",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RabatPoGrupiArtikalaPatchRequest"
              }
            }
          },
          "description": "Razlike rabata po grupi artikala",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPoGrupiArtikalaResponse"
                }
              }
            },
            "description": "Uređeni rabat po grupi artikala"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id rabata po grupi artikala i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje rabata po grupi artikala",
        "tags": [
          "Rabati po grupi artikala"
        ]
      }
    },
    "/rabati-po-grupi-usluga": {
      "get": {
        "description": "Endpoint za dohvat popisa rabata po grupi usluga",
        "parameters": [
          {
            "description": "ID grupe usluga",
            "in": "query",
            "name": "uslugeGrupaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu rabata",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatiPoGrupiUslugaResponse"
                }
              }
            },
            "description": "Popis rabata po grupi usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa rabata po grupi usluga"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis rabata po grupi usluga",
        "tags": [
          "Rabati po grupi usluga"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog rabata po grupi usluga",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RabatPoGrupiUslugaPostRequest"
              }
            }
          },
          "description": "Rabat po grupi usluga",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPoGrupiUslugaResponse"
                }
              }
            },
            "description": "Novo kreirani rabat po grupi usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "naziv, popust, id grupe usluga i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog rabata po grupi usluga",
        "tags": [
          "Rabati po grupi usluga"
        ]
      }
    },
    "/rabati-po-grupi-usluga/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja rabata po grupi usluga",
        "parameters": [
          {
            "description": "ID grupe usluga",
            "in": "query",
            "name": "uslugeGrupaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu rabata",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatiPoGrupiUslugaCountResponse"
                }
              }
            },
            "description": "Broj rabata po grupi usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja rabata po grupi usluga"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj rabata po grupi usluga",
        "tags": [
          "Rabati po grupi usluga"
        ]
      }
    },
    "/rabati-po-grupi-usluga/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog rabata po grupi usluga po ID-u",
        "parameters": [
          {
            "description": "ID rabata po grupi usluga",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPoGrupiUslugaResponse"
                }
              }
            },
            "description": "Pojedinačni rabat po grupi usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id rabata po grupi usluga i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog rabata po grupi usluga"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni rabat po grupi usluga po ID-u",
        "tags": [
          "Rabati po grupi usluga"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg rabata po grupi usluga",
        "parameters": [
          {
            "description": "ID rabata po grupi usluga",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RabatPoGrupiUslugaPatchRequest"
              }
            }
          },
          "description": "Razlike rabata po grupi usluga",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPoGrupiUslugaResponse"
                }
              }
            },
            "description": "Uređeni rabat po grupi usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id rabata po grupi usluga i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje rabata po grupi usluga",
        "tags": [
          "Rabati po grupi usluga"
        ]
      }
    },
    "/rabati-po-usluzi": {
      "get": {
        "description": "Endpoint za dohvat popisa rabata po usluzi",
        "parameters": [
          {
            "description": "ID usluge",
            "in": "query",
            "name": "uslugaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Vrijedi od",
            "in": "query",
            "name": "vrijediOd",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Vrijedi do",
            "in": "query",
            "name": "vrijediDo",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraga po nazivu rabata",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. sifra)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatiPoUsluziResponse"
                }
              }
            },
            "description": "Popis rabata po usluzi"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa rabata po usluzi"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis rabata po usluzi",
        "tags": [
          "Rabati po usluzi"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog rabata po usluzi",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RabatPoUsluziPostRequest"
              }
            }
          },
          "description": "Rabat po usluzi",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPoUsluziResponse"
                }
              }
            },
            "description": "Novo kreirani rabat po usluzi"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "naziv, popust, id usluge i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog rabata po usluzi",
        "tags": [
          "Rabati po usluzi"
        ]
      }
    },
    "/rabati-po-usluzi/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja rabata po usluzi",
        "parameters": [
          {
            "description": "ID usluge",
            "in": "query",
            "name": "uslugaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Vrijedi od",
            "in": "query",
            "name": "vrijediOd",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Vrijedi do",
            "in": "query",
            "name": "vrijediDo",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Pretraga po nazivu rabata",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatiPoUsluziCountResponse"
                }
              }
            },
            "description": "Broj rabata po usluzi"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja rabata po usluzi"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj rabata po usluzi",
        "tags": [
          "Rabati po usluzi"
        ]
      }
    },
    "/rabati-po-usluzi/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog rabata po usluzi po ID-u",
        "parameters": [
          {
            "description": "ID rabata po usluzi",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPoUsluziResponse"
                }
              }
            },
            "description": "Pojedinačni rabat po usluzi"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id rabata po usluzi i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog rabata po usluzi"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni rabat po usluzi po ID-u",
        "tags": [
          "Rabati po usluzi"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg rabata po usluzi",
        "parameters": [
          {
            "description": "ID rabata po usluzi",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RabatPoUsluziPatchRequest"
              }
            }
          },
          "description": "Razlike rabata po usluzi",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RabatPoUsluziResponse"
                }
              }
            },
            "description": "Uređeni rabat po usluzi"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id rabata po usluzi i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje rabata po usluzi",
        "tags": [
          "Rabati po usluzi"
        ]
      }
    },
    "/racun-stavke": {
      "post": {
        "description": "Endpoint za kreiranje nove stavke računa",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RacunStavkaPostRequest"
              }
            }
          },
          "description": "Stavka računa",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunStavkaResponse"
                }
              }
            },
            "description": "Novo kreirana stavka računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id stavke računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id računa nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, račun je zaključan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje stavke računa",
        "tags": [
          "Račun stavke"
        ]
      }
    },
    "/racun-stavke/{id}": {
      "delete": {
        "description": "Endpoint za brisanje postojeće stavke računa",
        "parameters": [
          {
            "description": "ID stavke računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunStavkaResponse"
                }
              }
            },
            "description": "Obrisana stavka računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id stavke računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Stavka računa nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, račun je zaključan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Brisanje stavke računa",
        "tags": [
          "Račun stavke"
        ]
      },
      "get": {
        "description": "Endpoint za dohvat pojedinačne stavke računa po ID-u",
        "parameters": [
          {
            "description": "ID stavke računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunStavkaResponse"
                }
              }
            },
            "description": "Pojedinačna stavka računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id stavke računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne stavke računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna stavka računa",
        "tags": [
          "Račun stavke"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojeće stavke računa",
        "parameters": [
          {
            "description": "ID stavke računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RacunStavkaPatchRequest"
              }
            }
          },
          "description": "Razlike stavke računa",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunStavkaResponse"
                }
              }
            },
            "description": "Uređena stavka računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id stavke računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, račun je zaključan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje stavke računa",
        "tags": [
          "Račun stavke"
        ]
      }
    },
    "/racun-stavke/{racunId}/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja stavki računa",
        "parameters": [
          {
            "description": "ID računa",
            "in": "path",
            "name": "racunId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID jedinice mjere",
            "in": "query",
            "name": "jedinicaMjereId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poreznog razreda",
            "in": "query",
            "name": "porezniRazredId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunStavkeCountResponse"
                }
              }
            },
            "description": "Broj stavki računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id računa su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id računa nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja stavki računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj stavki računa",
        "tags": [
          "Račun stavke"
        ]
      }
    },
    "/racun-stavke/{racunId}/list": {
      "get": {
        "description": "Endpoint za dohvat popisa stavki računa",
        "parameters": [
          {
            "description": "ID računa",
            "in": "path",
            "name": "racunId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Broj stavki računa po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih stavki računa",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID jedinice mjere",
            "in": "query",
            "name": "jedinicaMjereId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poreznog razreda",
            "in": "query",
            "name": "porezniRazredId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunStavkeResponse"
                }
              }
            },
            "description": "Popis stavki računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id računa su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id računa nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa stavki računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis stavki računa",
        "tags": [
          "Račun stavke"
        ]
      }
    },
    "/racuni": {
      "get": {
        "description": "Endpoint za dohvat popisa računa",
        "parameters": [
          {
            "description": "Broj računa po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih računa",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID partnera",
            "in": "query",
            "name": "partnerId",
            "schema": {
              "default": -1,
              "type": "integer"
            }
          },
          {
            "description": "ID načina plaćanja",
            "in": "query",
            "name": "nacinPlacanjaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo plaćeni",
            "in": "query",
            "name": "placeno",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo neplaćeni",
            "in": "query",
            "name": "neplaceno",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Ima otpremnicu",
            "in": "query",
            "name": "otpremnicaIma",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Nema otpremnicu",
            "in": "query",
            "name": "otpremnicaNema",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo zaključani",
            "in": "query",
            "name": "zakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo otključani",
            "in": "query",
            "name": "nezakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "ID korisnika koji je kreirao račun",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "ID naplatnog uređaja",
            "in": "query",
            "name": "naplatniUredajId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Datum zaključavanja računa",
            "in": "query",
            "name": "zakljucanoTimestamp",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Datum kreiranja računa od",
            "in": "query",
            "name": "prviDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Datum kreiranja računa do",
            "in": "query",
            "name": "zadnjiDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Poslovna godina (npr. 2024)",
            "in": "query",
            "name": "poslovnaGodinaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID tipa računa",
            "in": "query",
            "name": "racunTipId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID ponavljajućeg računa",
            "in": "query",
            "name": "ponavljajuciRacunId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo računi koji sadrže artikle",
            "in": "query",
            "name": "samoSaArtiklima",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po oznaki računa ili nazivu partnera (npr. Fizička osoba)",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. datumIvrijemeIzrade)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "id",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "desc",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacuniResponse"
                }
              }
            },
            "description": "Popis računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis računa",
        "tags": [
          "Računi"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog računa",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RacunPostRequest"
              }
            }
          },
          "description": "Račun",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunResponse"
                }
              }
            },
            "description": "Novo kreirani račun"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan, naplatni uređaj nije ispravan, nije moguće zaključati račun bez stavki, artikl nije pronađen, sastojak nije pronađen, usluga nije pronađena, povratnaAmbalazaTipId povratne ambalaze je obavezan, kolicina povratne ambalaze je obavezna, iznos povratne ambalaze je obaveza"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, izvan radnog vremena poslovnog prostora ste"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, trenutno postoji ne zaključani račun na odabranom naplatnom uređaju, partner nije pronađen, u testnom načinu rada nije moguče zaključavati račune"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog računa",
        "tags": [
          "Računi"
        ]
      }
    },
    "/racuni-naplate": {
      "get": {
        "description": "Endpoint za dohvat popisa naplata računa",
        "parameters": [
          {
            "description": "ID računa",
            "in": "query",
            "name": "racunId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacuniNaplateResponse"
                }
              }
            },
            "description": "Popis naplata računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i racunId su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa naplata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis naplata računa",
        "tags": [
          "Račun naplate"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove naplate računa",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RacunNaplataPostRequest"
              }
            }
          },
          "description": "Naplata računa",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunNaplataResponse"
                }
              }
            },
            "description": "Novo kreirana naplata računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom kreiranja naplate"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje naplate računa",
        "tags": [
          "Račun naplate"
        ]
      }
    },
    "/racuni-naplate/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne naplate računa po ID-u",
        "parameters": [
          {
            "description": "ID naplate",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunNaplataResponse"
                }
              }
            },
            "description": "Pojedinačna naplata računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id naplate i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata naplate"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna naplata računa",
        "tags": [
          "Račun naplate"
        ]
      }
    },
    "/racuni-povijest": {
      "get": {
        "description": "Endpoint za dohvat popisa povijesti racuna",
        "parameters": [
          {
            "description": "Broj zapisa po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskocenih zapisa",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID racuna za filtriranje",
            "in": "query",
            "name": "racunId",
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. timestamp)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacuniPovijestiResponse"
                }
              }
            },
            "description": "Popis povijesti racuna"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio racun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greska"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greska prilikom dohvata popisa povijesti racuna"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis povijesti racuna",
        "tags": [
          "Povijest racuna"
        ]
      }
    },
    "/racuni-povijest-tipovi": {
      "get": {
        "description": "Endpoint za dohvat popisa tipova povijesti racuna",
        "parameters": [
          {
            "description": "Broj tipova po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskocenih tipova",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacuniPovijestTipoviResponse"
                }
              }
            },
            "description": "Popis tipova povijesti racuna"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio racun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greska"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greska prilikom dohvata popisa tipova povijesti racuna"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis tipova povijesti racuna",
        "tags": [
          "Tipovi povijesti racuna"
        ]
      }
    },
    "/racuni-povijest-tipovi/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja tipova povijesti racuna",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacuniPovijestTipoviCountResponse"
                }
              }
            },
            "description": "Broj tipova povijesti racuna"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio racun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greska"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greska prilikom dohvata broja tipova povijesti racuna"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj tipova povijesti racuna",
        "tags": [
          "Tipovi povijesti racuna"
        ]
      }
    },
    "/racuni-povijest-tipovi/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinacnog tipa povijesti racuna po ID-u",
        "parameters": [
          {
            "description": "ID tipa povijesti racuna",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunPovijestTipResponse"
                }
              }
            },
            "description": "Pojedinacni tip povijesti racuna"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio racun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greska"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greska prilikom dohvata tipa povijesti racuna"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinacni tip povijesti racuna po ID-u",
        "tags": [
          "Tipovi povijesti racuna"
        ]
      }
    },
    "/racuni-povijest/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja povijesti racuna",
        "parameters": [
          {
            "description": "ID racuna za filtriranje",
            "in": "query",
            "name": "racunId",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacuniPovijestiCountResponse"
                }
              }
            },
            "description": "Broj povijesti racuna"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio racun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greska"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greska prilikom dohvata broja povijesti racuna"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj povijesti racuna",
        "tags": [
          "Povijest racuna"
        ]
      }
    },
    "/racuni-povijest/{uuid}": {
      "get": {
        "description": "Endpoint za dohvat pojedinacne povijesti racuna po UUID-u",
        "parameters": [
          {
            "description": "UUID povijesti racuna",
            "in": "path",
            "name": "uuid",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunPovijestResponse"
                }
              }
            },
            "description": "Pojedinacna povijest racuna"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "uuid i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio racun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greska"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greska prilikom dohvata povijesti racuna"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinacna povijest racuna po UUID-u",
        "tags": [
          "Povijest racuna"
        ]
      }
    },
    "/racuni-povratne-ambalaze": {
      "get": {
        "description": "Endpoint za dohvat popisa povratnih ambalaza računa",
        "parameters": [
          {
            "description": "ID računa",
            "in": "query",
            "name": "racunId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacuniPovratneAmbalazeResponse"
                }
              }
            },
            "description": "Popis povratnih ambalaza računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i racunId su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa povratnih ambalaza"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis povratnih ambalaza računa",
        "tags": [
          "Račun povratne ambalaze"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove povratne ambalaže računa",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RacunPovratnaAmbalazaPostRequest"
              }
            }
          },
          "description": "Povratna ambalaža računa",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunPovratnaAmbalazaResponse"
                }
              }
            },
            "description": "Novo kreirana povratna ambalaža računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, račun je zaključan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom kreiranja povratne ambalaže"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje povratne ambalaže računa",
        "tags": [
          "Račun povratne ambalaze"
        ]
      }
    },
    "/racuni-povratne-ambalaze/{id}": {
      "delete": {
        "description": "Endpoint za brisanje postojeće povratne ambalaže računa",
        "parameters": [
          {
            "description": "ID povratne ambalaže",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunPovratnaAmbalazaResponse"
                }
              }
            },
            "description": "Obrisana povratna ambalaža računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Povratna ambalaža nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, račun je zaključan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom brisanja povratne ambalaže"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Brisanje povratne ambalaže računa",
        "tags": [
          "Račun povratne ambalaze"
        ]
      },
      "get": {
        "description": "Endpoint za dohvat pojedinačne povratne ambalaže računa po ID-u",
        "parameters": [
          {
            "description": "ID povratne ambalaže",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunPovratnaAmbalazaResponse"
                }
              }
            },
            "description": "Pojedinačna povratna ambalaža računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata povratne ambalaže"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna povratna ambalaža računa",
        "tags": [
          "Račun povratne ambalaze"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojeće povratne ambalaže računa",
        "parameters": [
          {
            "description": "ID povratne ambalaže",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RacunPovratnaAmbalazaPatchRequest"
              }
            }
          },
          "description": "Razlike povratne ambalaže",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunPovratnaAmbalazaResponse"
                }
              }
            },
            "description": "Uređena povratna ambalaža računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, račun je zaključan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom uređivanja povratne ambalaže"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje povratne ambalaže računa",
        "tags": [
          "Račun povratne ambalaze"
        ]
      }
    },
    "/racuni-slanja": {
      "get": {
        "description": "Endpoint za dohvat popisa slanja računa",
        "parameters": [
          {
            "description": "Broj slanja računa po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih slanja računa",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID računa",
            "in": "query",
            "name": "racunId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo uspješno poslani",
            "in": "query",
            "name": "samoPoslano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo neuspješno poslani",
            "in": "query",
            "name": "samoNePoslano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "UUID korisnika koji je poslao račun",
            "in": "query",
            "name": "korisnikUuid",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. datumIvrijeme)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacuniSlanjaResponse"
                }
              }
            },
            "description": "Popis slanja računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa slanja računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis slanja računa",
        "tags": [
          "Računi slanja"
        ]
      }
    },
    "/racuni-slanja/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja slanja računa",
        "parameters": [
          {
            "description": "ID računa",
            "in": "query",
            "name": "racunId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo uspješno poslani",
            "in": "query",
            "name": "samoPoslano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo neuspješno poslani",
            "in": "query",
            "name": "samoNePoslano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "UUID korisnika koji je poslao račun",
            "in": "query",
            "name": "korisnikUuid",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacuniSlanjaCountResponse"
                }
              }
            },
            "description": "Broj slanja računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja slanja računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj slanja računa",
        "tags": [
          "Računi slanja"
        ]
      }
    },
    "/racuni-slanja/{uuid}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog slanja računa po UUID-u",
        "parameters": [
          {
            "description": "UUID slanja računa",
            "in": "path",
            "name": "uuid",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunSlanjeResponse"
                }
              }
            },
            "description": "Pojedinačno slanje računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "uuid slanja računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog slanja računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačno slanje računa po UUID-u",
        "tags": [
          "Računi slanja"
        ]
      }
    },
    "/racuni-tipovi": {
      "get": {
        "description": "Endpoint za dohvat popisa tipova računa",
        "parameters": [
          {
            "description": "Broj tipova računa po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih tipova računa",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacuniTipoviResponse"
                }
              }
            },
            "description": "Popis tipova računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa tipova računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis tipova računa",
        "tags": [
          "Tipovi računa"
        ]
      }
    },
    "/racuni-tipovi/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja tipova računa",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacuniTipoviCountResponse"
                }
              }
            },
            "description": "Broj tipova računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja tipova računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj tipova računa",
        "tags": [
          "Tipovi računa"
        ]
      }
    },
    "/racuni-tipovi/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog tipa računa po ID-u",
        "parameters": [
          {
            "description": "ID tipa računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacuniTipResponse"
                }
              }
            },
            "description": "Pojedinačni tip računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id tipa računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog tipa računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni tip računa po ID-u",
        "tags": [
          "Tipovi računa"
        ]
      }
    },
    "/racuni/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja računa",
        "parameters": [
          {
            "description": "ID partnera",
            "in": "query",
            "name": "partnerId",
            "schema": {
              "default": -1,
              "type": "integer"
            }
          },
          {
            "description": "ID načina plaćanja",
            "in": "query",
            "name": "nacinPlacanjaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo plaćeni",
            "in": "query",
            "name": "placeno",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo neplaćeni",
            "in": "query",
            "name": "neplaceno",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Ima otpremnicu",
            "in": "query",
            "name": "otpremnicaIma",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Nema otpremnicu",
            "in": "query",
            "name": "otpremnicaNema",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo zaključani",
            "in": "query",
            "name": "zakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo otključani",
            "in": "query",
            "name": "nezakljucano",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "ID korisnika koji je kreirao račun",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "ID naplatnog uređaja",
            "in": "query",
            "name": "naplatniUredajId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Datum zaključavanja računa",
            "in": "query",
            "name": "zakljucanoTimestamp",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Datum kreiranja računa od",
            "in": "query",
            "name": "prviDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Datum kreiranja računa do",
            "in": "query",
            "name": "zadnjiDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Poslovna godina (npr. 2024)",
            "in": "query",
            "name": "poslovnaGodinaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID tipa računa",
            "in": "query",
            "name": "racunTipId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID ponavljajućeg računa",
            "in": "query",
            "name": "ponavljajuciRacunId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo računi koji sadrže artikle",
            "in": "query",
            "name": "samoSaArtiklima",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po oznaki računa ili nazivu partnera (npr. Fizička osoba)",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacuniCountResponse"
                }
              }
            },
            "description": "Broj računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj računa",
        "tags": [
          "Računi"
        ]
      }
    },
    "/racuni/iz-ponude/{ponudaId}": {
      "post": {
        "description": "Endpoint za kreiranje računa iz ponude",
        "parameters": [
          {
            "description": "ID ponude",
            "in": "path",
            "name": "ponudaId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunResponse"
                }
              }
            },
            "description": "Kreiran račun"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan ili ponudaId nije ispravan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Ponuda nije pronađena"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili postoji ne zaključani račun na naplatnom uređaju"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom kreiranja računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiraj račun iz ponude",
        "tags": [
          "Računi"
        ]
      }
    },
    "/racuni/oznaka-sljedeceg": {
      "get": {
        "description": "Endpoint za dohvat sljedeće oznake računa",
        "parameters": [
          {
            "description": "ID naplatnog uređaja",
            "in": "query",
            "name": "naplatniUredajId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacuniOznakaResponse"
                }
              }
            },
            "description": "Sljedeća oznaka računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata sljedeće oznake računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Sljedeća oznaka računa",
        "tags": [
          "Računi"
        ]
      }
    },
    "/racuni/pdf": {
      "get": {
        "description": "Endpoint za dohvaćanje PDF računa u base64 formatu",
        "parameters": [
          {
            "description": "ID partnera",
            "in": "query",
            "name": "partnerId",
            "schema": {
              "default": -1,
              "type": "integer"
            }
          },
          {
            "description": "ID načina plaćanja",
            "in": "query",
            "name": "nacinPlacanjaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo plaćeni",
            "in": "query",
            "name": "placeno",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo neplaćeni",
            "in": "query",
            "name": "neplaceno",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Ima otpremnicu",
            "in": "query",
            "name": "otpremnicaIma",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Nema otpremnicu",
            "in": "query",
            "name": "otpremnicaNema",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "ID korisnika koji je kreirao račun",
            "in": "query",
            "name": "korisnikId",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "ID naplatnog uređaja",
            "in": "query",
            "name": "naplatniUredajId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poslovnog prostora",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Datum kreiranja računa od",
            "in": "query",
            "name": "prviDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Datum kreiranja računa do",
            "in": "query",
            "name": "zadnjiDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Poslovna godina (npr. 2024)",
            "in": "query",
            "name": "poslovnaGodinaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID tipa računa",
            "in": "query",
            "name": "racunTipId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID ponavljajućeg računa",
            "in": "query",
            "name": "ponavljajuciRacunId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po oznaci računa ili nazivu partnera (npr. Fizička osoba)",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. datumIvrijemeIzrade)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunPdfResponse"
                }
              }
            },
            "description": "PDF računi u base64 formatu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, račun je otključan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvaćanje popisa PDF računa",
        "tags": [
          "Računi"
        ]
      }
    },
    "/racuni/xml-svih": {
      "get": {
        "description": "Endpoint za dohvaćanje ZIP datoteke svih XML eRačuna u base64 formatu",
        "parameters": [
          {
            "description": "Pretraga po oznaci računa ili nazivu partnera",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira",
            "in": "query",
            "name": "sortiranjeField",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "sortiranjeOrder",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Poslovna godina (npr. 2025)",
            "in": "query",
            "name": "poslovnaGodina",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Datum od (YYYY-MM-DD)",
            "in": "query",
            "name": "prviDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Datum do (YYYY-MM-DD)",
            "in": "query",
            "name": "zadnjiDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunPdfResponse"
                }
              }
            },
            "description": "ZIP eRačuna u base64 formatu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Nema eRačuna za preuzimanje"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvaćanje ZIP-a XML eRačuna",
        "tags": [
          "Računi"
        ]
      }
    },
    "/racuni/{id}": {
      "delete": {
        "description": "Endpoint za brisanje postojećeg otključanog računa",
        "parameters": [
          {
            "description": "ID računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunResponse"
                }
              }
            },
            "description": "Obrisani račun"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Račun nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, račun je zaključan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Brisanje otključanog računa",
        "tags": [
          "Računi"
        ]
      },
      "get": {
        "description": "Endpoint za dohvat pojedinačnog računa po ID-u",
        "parameters": [
          {
            "description": "ID računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunResponse"
                }
              }
            },
            "description": "Pojedinačni račun"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni račun po ID-u",
        "tags": [
          "Računi"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg računa",
        "parameters": [
          {
            "description": "ID računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RacunPatchRequest"
              }
            }
          },
          "description": "Razlike računa",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunResponse"
                }
              }
            },
            "description": "Uređeni račun"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, račun je zaključan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje računa",
        "tags": [
          "Računi"
        ]
      }
    },
    "/racuni/{id}/fiskaliziraj": {
      "post": {
        "description": "Endpoint za fiskalizaciju zaključanog računa",
        "parameters": [
          {
            "description": "ID računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunResponse"
                }
              }
            },
            "description": "Fiskalizirani račun"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Račun nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, račun je otključan, račun je već fiskaliziran"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Fiskalizacija zaključanog računa",
        "tags": [
          "Računi"
        ]
      }
    },
    "/racuni/{id}/fiskaliziraj-v2": {
      "post": {
        "description": "Endpoint za fiskalizaciju računa (V2)",
        "parameters": [
          {
            "description": "ID računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunResponse"
                }
              }
            },
            "description": "Fiskalizirani račun"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Račun nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, račun nije zaključan ili je već fiskaliziran"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Fiskalizacija računa V2",
        "tags": [
          "Računi"
        ]
      }
    },
    "/racuni/{id}/oznaci-placen": {
      "post": {
        "description": "Endpoint za označavanje plaćenog računa",
        "parameters": [
          {
            "description": "ID računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RacunOznaciPlacenRequest"
              }
            }
          },
          "description": "Bool virjdnost da li je plaćen račun",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunResponse"
                }
              }
            },
            "description": "Račun označen kao plaćen"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdjen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, račun nije zaključan, ili je poslovni prostor neaktivan"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Označavanje plaćenog računa",
        "tags": [
          "Računi"
        ]
      }
    },
    "/racuni/{id}/pdf": {
      "get": {
        "description": "Endpoint za dohvaćanje PDF računa u base64 formatu",
        "parameters": [
          {
            "description": "ID računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunPdfResponse"
                }
              }
            },
            "description": "PDF račun"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Račun nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, račun je otključan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvaćanje PDF računa",
        "tags": [
          "Računi"
        ]
      }
    },
    "/racuni/{id}/posalji-na-email": {
      "post": {
        "description": "Endpoint za slanje PDF računa na email",
        "parameters": [
          {
            "description": "ID računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RacunEmailRequest"
              }
            }
          },
          "description": "Email za slanje",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.SuccessResponse"
                }
              }
            },
            "description": "PDF račun poslan na email"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id računa i apiToken su obavezni, email je neispravan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Račun nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, račun je otključan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Slanje PDF računa na email",
        "tags": [
          "Računi"
        ]
      }
    },
    "/racuni/{id}/storniraj": {
      "post": {
        "description": "Endpoint za storniranje računa",
        "parameters": [
          {
            "description": "ID računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RacunStornirajRequest"
              }
            }
          },
          "description": "Razlog storniranja računa",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunResponse"
                }
              }
            },
            "description": "Storno računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id računa i apiToken su obavezni, razlog je neispravan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Račun nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, račun je otključan, račun je već storniran, postoji nezakljućani račun"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Storno računa",
        "tags": [
          "Računi"
        ]
      }
    },
    "/racuni/{id}/zakljucaj": {
      "post": {
        "description": "Endpoint za zaključavanje računa",
        "parameters": [
          {
            "description": "ID računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunResponse"
                }
              }
            },
            "description": "Zaključani račun"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Račun nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan, račun je već zakljućan, u testnom načinu rada nije moguče zaključavati račune, nije moguće zaključati račun bez stavki, izvan radnog vremena poslovnog prostora ste"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Zaključavanje računa",
        "tags": [
          "Računi"
        ]
      }
    },
    "/radna-mjesta": {
      "get": {
        "description": "Endpoint za dohvat popisa radnih mjesta",
        "parameters": [
          {
            "description": "Broj radnih mjesta po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih radnih mjesta",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu radnog mjesta",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. naziv)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RadnaMjestaResponse"
                }
              }
            },
            "description": "Popis radnih mjesta"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa radnih mjesta"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis radnih mjesta",
        "tags": [
          "Radna Mjesta"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog radnog mjesta",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RadnoMjestoPostRequest"
              }
            }
          },
          "description": "Radno mjesto",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RadnoMjestoResponse"
                }
              }
            },
            "description": "Novo kreirano radno mjesto"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom kreiranja radnog mjesta"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog radnog mjesta",
        "tags": [
          "Radna Mjesta"
        ]
      }
    },
    "/radna-mjesta/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja radnih mjesta",
        "parameters": [
          {
            "description": "Pretraga po nazivu radnog mjesta",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RadnaMjestaCountResponse"
                }
              }
            },
            "description": "Broj radnih mjesta"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja radnih mjesta"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj radnih mjesta",
        "tags": [
          "Radna Mjesta"
        ]
      }
    },
    "/radna-mjesta/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog radnog mjesta po ID-u",
        "parameters": [
          {
            "description": "ID radnog mjesta",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RadnoMjestoResponse"
                }
              }
            },
            "description": "Pojedinačno radno mjesto"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog radnog mjesta"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačno radno mjesto po ID-u",
        "tags": [
          "Radna Mjesta"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg radnog mjesta",
        "parameters": [
          {
            "description": "ID radnog mjesta",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RadnoMjestoPatchRequest"
              }
            }
          },
          "description": "Razlike radnog mjesta",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RadnoMjestoResponse"
                }
              }
            },
            "description": "Uređeno radno mjesto"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom uređivanja radnog mjesta"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje radnog mjesta",
        "tags": [
          "Radna Mjesta"
        ]
      }
    },
    "/radne-grupe": {
      "get": {
        "description": "Endpoint za dohvat popisa radnih grupa",
        "parameters": [
          {
            "description": "Broj radnih grupa po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih radnih grupa",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Filter po poslovnom prostoru",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu radne grupe",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. naziv)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RadneGrupeResponse"
                }
              }
            },
            "description": "Popis radnih grupa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa radnih grupa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis radnih grupa",
        "tags": [
          "Radne Grupe"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove radne grupe",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RadnaGrupaPostRequest"
              }
            }
          },
          "description": "Radna grupa",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RadnaGrupaResponse"
                }
              }
            },
            "description": "Novo kreirana radna grupa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom kreiranja radne grupe"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje nove radne grupe",
        "tags": [
          "Radne Grupe"
        ]
      }
    },
    "/radne-grupe/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja radnih grupa",
        "parameters": [
          {
            "description": "Filter po poslovnom prostoru",
            "in": "query",
            "name": "poslovniProstorId",
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu radne grupe",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RadneGrupeCountResponse"
                }
              }
            },
            "description": "Broj radnih grupa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja radnih grupa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj radnih grupa",
        "tags": [
          "Radne Grupe"
        ]
      }
    },
    "/radne-grupe/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne radne grupe po ID-u",
        "parameters": [
          {
            "description": "ID radne grupe",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RadnaGrupaResponse"
                }
              }
            },
            "description": "Pojedinačna radna grupa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne radne grupe"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna radna grupa po ID-u",
        "tags": [
          "Radne Grupe"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojeće radne grupe",
        "parameters": [
          {
            "description": "ID radne grupe",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.RadnaGrupaPatchRequest"
              }
            }
          },
          "description": "Razlike radne grupe",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RadnaGrupaResponse"
                }
              }
            },
            "description": "Uređena radna grupa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom uređivanja radne grupe"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje radne grupe",
        "tags": [
          "Radne Grupe"
        ]
      }
    },
    "/skup-sustavnih-klasa": {
      "get": {
        "description": "Endpoint za dohvat skupa svih sustavnih (lookup) klasa u jednom pozivu",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.SkupSustavnihKlasaResponse"
                }
              }
            },
            "description": "Skup sustavnih klasa"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Autentifikacija nije uspjela"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata podataka iz Hasure"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Skup sustavnih klasa (37 šifrarnika u jednom pozivu)",
        "tags": [
          "Skup sustavnih klasa"
        ]
      }
    },
    "/tipovi-poslovnog-procesa": {
      "get": {
        "description": "Endpoint za dohvat popisa tipova poslovnog procesa",
        "parameters": [
          {
            "description": "Broj tipova poslovnog procesa po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih tipova poslovnog procesa",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.TipoviPoslovnogProcesaResponse"
                }
              }
            },
            "description": "Popis tipova poslovnog procesa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa tipova poslovnog procesa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis tipova poslovnog procesa",
        "tags": [
          "Tipovi poslovnog procesa"
        ]
      }
    },
    "/tipovi-poslovnog-procesa/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja tipova poslovnog procesa",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.TipoviPoslovnogProcesaCountResponse"
                }
              }
            },
            "description": "Broj tipova poslovnog procesa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja tipova poslovnog procesa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj tipova poslovnog procesa",
        "tags": [
          "Tipovi poslovnog procesa"
        ]
      }
    },
    "/tipovi-poslovnog-procesa/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog tipa poslovnog procesa po ID-u",
        "parameters": [
          {
            "description": "ID tipa poslovnog procesa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.TipPoslovnogProcesaResponse"
                }
              }
            },
            "description": "Pojedinačni tip poslovnog procesa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id tipa poslovnog procesa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog tipa poslovnog procesa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni tip poslovnog procesa po ID-u",
        "tags": [
          "Tipovi poslovnog procesa"
        ]
      }
    },
    "/tvrtke": {
      "get": {
        "description": "Endpoint za dohvat popisa tvrtki",
        "parameters": [
          {
            "description": "Broj tvrtki po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih tvrtki",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.TvrtkeResponse"
                }
              }
            },
            "description": "Popis tvrtki"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa tvrtki"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis tvrtki",
        "tags": [
          "Tvrtke"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove tvrtke",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.TvrtkaPostRequest"
              }
            }
          },
          "description": "Tvrtka",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.TvrtkaResponse"
                }
              }
            },
            "description": "Novo kreirana tvrtka"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom kreiranja tvrtke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje nove tvrtke",
        "tags": [
          "Tvrtke"
        ]
      }
    },
    "/tvrtke-vrste": {
      "get": {
        "description": "Endpoint za dohvat popisa vrsta tvrtki",
        "parameters": [
          {
            "description": "Broj vrsta tvrtki po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih vrsta tvrtki",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.TvrtkeVrsteResponse"
                }
              }
            },
            "description": "Popis vrsta tvrtki"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa vrsta tvrtki"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis vrsta tvrtki",
        "tags": [
          "Vrste tvrtki"
        ]
      }
    },
    "/tvrtke-vrste/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja vrsta tvrtki",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.TvrtkeVrsteCountResponse"
                }
              }
            },
            "description": "Broj vrsta tvrtki"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja vrsta tvrtki"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj vrsta tvrtki",
        "tags": [
          "Vrste tvrtki"
        ]
      }
    },
    "/tvrtke-vrste/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne vrste tvrtke po ID-u",
        "parameters": [
          {
            "description": "ID vrste tvrtke",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.TvrtkaVrstaResponse"
                }
              }
            },
            "description": "Pojedinačna vrsta tvrtke"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id vrste tvrtke i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne vrste tvrtke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna vrsta tvrtke po ID-u",
        "tags": [
          "Vrste tvrtki"
        ]
      }
    },
    "/tvrtke/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja tvrtki",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.TvrtkeCountResponse"
                }
              }
            },
            "description": "Broj tvrtki"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja tvrtki"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj tvrtki",
        "tags": [
          "Tvrtke"
        ]
      }
    },
    "/tvrtke/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne tvrtke po ID-u",
        "parameters": [
          {
            "description": "ID tvrtke",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.TvrtkaResponse"
                }
              }
            },
            "description": "Pojedinačna tvrtka"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id tvrtke i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne tvrtke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna tvrtka po ID-u",
        "tags": [
          "Tvrtke"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojeće tvrtke",
        "parameters": [
          {
            "description": "ID tvrtke",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.TvrtkaPatchRequest"
              }
            }
          },
          "description": "Razlike tvrtke",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.TvrtkaResponse"
                }
              }
            },
            "description": "Uređena tvrtka"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom uređivanja tvrtke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje tvrtke",
        "tags": [
          "Tvrtke"
        ]
      }
    },
    "/usluge": {
      "get": {
        "description": "Endpoint za dohvat popisa usluga",
        "parameters": [
          {
            "description": "Broj usluga po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih usluga",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID jedinice mjere",
            "in": "query",
            "name": "jedinicaMjereId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poreznog razreda",
            "in": "query",
            "name": "porezniRazredId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID grupe usluga",
            "in": "query",
            "name": "uslugeGrupaId",
            "schema": {
              "default": -1,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu ili šifri usluge",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. sifra)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.UslugeResponse"
                }
              }
            },
            "description": "Popis usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa usluga"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis usluga",
        "tags": [
          "Usluge"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove usluge",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.UslugaPostRequest"
              }
            }
          },
          "description": "Usluga",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.UslugaResponse"
                }
              }
            },
            "description": "Novo kreirana usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id usluge i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan,"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje nove usluge",
        "tags": [
          "Usluge"
        ]
      }
    },
    "/usluge-grupe": {
      "get": {
        "description": "Endpoint za dohvat popisa grupa usluga",
        "parameters": [
          {
            "description": "Broj grupa usluga po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih grupa usluga",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Samo aktivne grupe usluga",
            "in": "query",
            "name": "aktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo neaktivne grupe usluga",
            "in": "query",
            "name": "neaktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po nazivu grupe usluga",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. sifra)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.UslugeGrupeResponse"
                }
              }
            },
            "description": "Popis grupa usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa grupa usluga"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis grupa usluga",
        "tags": [
          "Usluge Grupe"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje nove grupe usluga",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.UslugaGrupaPostRequest"
              }
            }
          },
          "description": "Grupa usluga",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.UslugaGrupaResponse"
                }
              }
            },
            "description": "Novo kreirana grupa usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "naziv, id naplatnog uređaja i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, već postoji grupa usluga istog naziva"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje nove grupe usluga",
        "tags": [
          "Usluge Grupe"
        ]
      }
    },
    "/usluge-grupe/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja grupa usluga",
        "parameters": [
          {
            "description": "Samo aktivne grupe usluga",
            "in": "query",
            "name": "aktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Samo neaktivne grupe usluga",
            "in": "query",
            "name": "neaktivan",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Pretraga po nazivu grupe usluga",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.UslugeGrupeCountResponse"
                }
              }
            },
            "description": "Broj grupa usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja grupa usluga"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj grupa usluga",
        "tags": [
          "Usluge Grupe"
        ]
      }
    },
    "/usluge-grupe/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne grupe usluga po ID-u",
        "parameters": [
          {
            "description": "ID grupe usluga",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.UslugaGrupaResponse"
                }
              }
            },
            "description": "Pojedinačna grupa usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id grupe usluga i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne grupe usluga"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna grupa usluga po ID-u",
        "tags": [
          "Usluge Grupe"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojeće grupe usluga",
        "parameters": [
          {
            "description": "ID grupe usluga",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.UslugaGrupaPatchRequest"
              }
            }
          },
          "description": "Razlike grupe usluga",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.UslugaGrupaResponse"
                }
              }
            },
            "description": "Uređena grupa usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id naplatnog uređaja i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna, već postoji grupa usluga istog naziva"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje grupe usluga",
        "tags": [
          "Usluge Grupe"
        ]
      }
    },
    "/usluge/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja usluga",
        "parameters": [
          {
            "description": "ID jedinice mjere",
            "in": "query",
            "name": "jedinicaMjereId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID poreznog razreda",
            "in": "query",
            "name": "porezniRazredId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID grupe usluga",
            "in": "query",
            "name": "uslugeGrupaId",
            "schema": {
              "default": -1,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po nazivu ili šifri usluge",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.UslugeCountResponse"
                }
              }
            },
            "description": "Broj usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja usluga"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj usluga",
        "tags": [
          "Usluge"
        ]
      }
    },
    "/usluge/kartica-usluga-i-artikala-pdf": {
      "post": {
        "description": "Endpoint za generiranje PDF kartice artikala i usluga",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.KarticaUslugaIArtikalaPdfRequest"
              }
            }
          },
          "description": "Parametri za generiranje PDF-a",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.KarticaUslugaIArtikalaPdfResponse"
                }
              }
            },
            "description": "PDF dokument u base64 formatu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom generiranja PDF-a"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Generiranje PDF kartice artikala i usluga",
        "tags": [
          "Usluge"
        ]
      }
    },
    "/usluge/po-sifri/{sifra}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne usluge po šifri",
        "parameters": [
          {
            "description": "Šifra usluge",
            "in": "path",
            "name": "sifra",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.UslugaResponse"
                }
              }
            },
            "description": "Pojedinačna usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "šifra usluge i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne usluge"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna usluga po šifri",
        "tags": [
          "Usluge"
        ]
      }
    },
    "/usluge/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne usluge po ID-u",
        "parameters": [
          {
            "description": "ID usluge",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.UslugaResponse"
                }
              }
            },
            "description": "Pojedinačna usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id usluge i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne usluge"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna usluga po ID-u",
        "tags": [
          "Usluge"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojeće usluge",
        "parameters": [
          {
            "description": "ID usluge",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.UslugaPatchRequest"
              }
            }
          },
          "description": "Razlike usluge",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.UslugaResponse"
                }
              }
            },
            "description": "Uređena usluga"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id usluge i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje usluge",
        "tags": [
          "Usluge"
        ]
      }
    },
    "/uvoznik-tipovi": {
      "get": {
        "description": "Endpoint za dohvat popisa tipova uvoznika",
        "parameters": [
          {
            "description": "Broj tipova uvoznika po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih tipova uvoznika",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.UvoznikTipoviResponse"
                }
              }
            },
            "description": "Popis tipova uvoznika"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis tipova uvoznika",
        "tags": [
          "Tipovi uvoznika"
        ]
      }
    },
    "/uvoznik-tipovi/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja tipova uvoznika",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.UvoznikTipoviCountResponse"
                }
              }
            },
            "description": "Broj tipova uvoznika"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj tipova uvoznika",
        "tags": [
          "Tipovi uvoznika"
        ]
      }
    },
    "/uvoznik-tipovi/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog tipa uvoznika po ID-u",
        "parameters": [
          {
            "description": "ID tipa uvoznika",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.UvoznikTipResponse"
                }
              }
            },
            "description": "Pojedinačni tip uvoznika"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id tipa uvoznika i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni tip uvoznika po ID-u",
        "tags": [
          "Tipovi uvoznika"
        ]
      }
    },
    "/valute": {
      "get": {
        "description": "Endpoint za dohvat popisa valuta",
        "parameters": [
          {
            "description": "Broj valuta po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih valuta",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ValuteResponse"
                }
              }
            },
            "description": "Popis valuta"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa valuta"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis valuta",
        "tags": [
          "Valute"
        ]
      }
    },
    "/valute/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja valuta",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ValuteCountResponse"
                }
              }
            },
            "description": "Broj valuta"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja valuta"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj valuta",
        "tags": [
          "Valute"
        ]
      }
    },
    "/valute/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne valute po ID-u",
        "parameters": [
          {
            "description": "ID valute",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ValutaResponse"
                }
              }
            },
            "description": "Pojedinačna valuta"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id valute i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne valute"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna valuta po ID-u",
        "tags": [
          "Valute"
        ]
      }
    },
    "/vrste-razloga-odbijanja-eracuna": {
      "get": {
        "description": "Endpoint za dohvat popisa vrsta razloga odbijanja e-računa",
        "parameters": [
          {
            "description": "Broj vrsta razloga odbijanja e-računa po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih vrsta razloga odbijanja e-računa",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.VrsteRazlogaOdbijanjaEracunaResponse"
                }
              }
            },
            "description": "Popis vrsta razloga odbijanja e-računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa vrsta razloga odbijanja e-računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis vrsta razloga odbijanja e-računa",
        "tags": [
          "Vrste razloga odbijanja e-računa"
        ]
      }
    },
    "/vrste-razloga-odbijanja-eracuna/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja vrsta razloga odbijanja e-računa",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.VrsteRazlogaOdbijanjaEracunaCountResponse"
                }
              }
            },
            "description": "Broj vrsta razloga odbijanja e-računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja vrsta razloga odbijanja e-računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj vrsta razloga odbijanja e-računa",
        "tags": [
          "Vrste razloga odbijanja e-računa"
        ]
      }
    },
    "/vrste-razloga-odbijanja-eracuna/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne vrste razloga odbijanja e-računa po ID-u",
        "parameters": [
          {
            "description": "ID vrste razloga odbijanja e-računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.VrstaRazlogaOdbijanjaEracunaResponse"
                }
              }
            },
            "description": "Pojedinačna vrsta razloga odbijanja e-računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id vrste razloga odbijanja e-računa i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne vrste razloga odbijanja e-računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna vrsta razloga odbijanja e-računa po ID-u",
        "tags": [
          "Vrste razloga odbijanja e-računa"
        ]
      }
    },
    "/zaposlenici": {
      "get": {
        "description": "Endpoint za dohvat popisa zaposlenika",
        "parameters": [
          {
            "description": "Broj zaposlenika po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih zaposlenika",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZaposleniciResponse"
                }
              }
            },
            "description": "Popis zaposlenika"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa zaposlenika"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis zaposlenika",
        "tags": [
          "Zaposlenici"
        ]
      },
      "post": {
        "description": "Endpoint za kreiranje novog zaposlenika",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.ZaposlenikPostRequest"
              }
            }
          },
          "description": "Zaposlenik",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZaposlenikResponse"
                }
              }
            },
            "description": "Novo kreirani zaposlenik"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Kreiranje novog zaposlenika",
        "tags": [
          "Zaposlenici"
        ]
      }
    },
    "/zaposlenici/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja zaposlenika",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZaposleniciCountResponse"
                }
              }
            },
            "description": "Broj zaposlenika"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja zaposlenika"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj zaposlenika",
        "tags": [
          "Zaposlenici"
        ]
      }
    },
    "/zaposlenici/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog zaposlenika po ID-u",
        "parameters": [
          {
            "description": "ID zaposlenika",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZaposlenikResponse"
                }
              }
            },
            "description": "Pojedinačni zaposlenik"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id zaposlenika i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačnog zaposlenika"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni zaposlenik po ID-u",
        "tags": [
          "Zaposlenici"
        ]
      },
      "patch": {
        "description": "Endpoint za uređivanje postojećeg zaposlenika",
        "parameters": [
          {
            "description": "ID zaposlenika",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/public_request_models.ZaposlenikPatchRequest"
              }
            }
          },
          "description": "Razlike zaposlenika",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZaposlenikResponse"
                }
              }
            },
            "description": "Uređeni zaposlenik"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id zaposlenika i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Uređivanje zaposlenika",
        "tags": [
          "Zaposlenici"
        ]
      }
    },
    "/zaprimljeni-eracuni": {
      "get": {
        "description": "Endpoint za dohvat zaprimljenih e-računa",
        "parameters": [
          {
            "description": "Broj zapisa po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Pomak",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID statusa fiskalizacije",
            "in": "query",
            "name": "fiskalizacijaStatusId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID vrste e-računa",
            "in": "query",
            "name": "eracunVrstaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Datum izdavanja od (RFC3339)",
            "in": "query",
            "name": "prviDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Datum izdavanja do (RFC3339)",
            "in": "query",
            "name": "zadnjiDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Poslovna godina (npr. 2025)",
            "in": "query",
            "name": "poslovnaGodinaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po broju eRačuna ili nazivu pošiljatelja",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZaprimljeniEracuniResponse"
                }
              }
            },
            "description": "Lista zaprimljenih e-računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvaćanje zaprimljenih e-računa",
        "tags": [
          "Zaprimljeni e-računi"
        ]
      }
    },
    "/zaprimljeni-eracuni-povijest-tipovi": {
      "get": {
        "description": "Endpoint za dohvat tipova povijesti zaprimljenog e-računa",
        "parameters": [
          {
            "description": "Broj zapisa po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Pomak",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZaprimljeniEracuniPovijestTipoviResponse"
                }
              }
            },
            "description": "Popis tipova povijesti"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis tipova povijesti zaprimljenog e-računa",
        "tags": [
          "Tipovi povijesti zaprimljenih e-računa"
        ]
      }
    },
    "/zaprimljeni-eracuni-povijest-tipovi/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja tipova povijesti zaprimljenog e-računa",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZaprimljeniEracuniPovijestTipoviCountResponse"
                }
              }
            },
            "description": "Broj tipova"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja tipova"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj tipova povijesti zaprimljenog e-računa",
        "tags": [
          "Tipovi povijesti zaprimljenih e-računa"
        ]
      }
    },
    "/zaprimljeni-eracuni-povijest-tipovi/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog tipa povijesti zaprimljenog e-računa po ID-u",
        "parameters": [
          {
            "description": "ID tipa povijesti zaprimljenog e-računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZaprimljeniEracunPovijestTipResponse"
                }
              }
            },
            "description": "Pojedinačni tip"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata tipa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni tip povijesti zaprimljenog e-računa po ID-u",
        "tags": [
          "Tipovi povijesti zaprimljenih e-računa"
        ]
      }
    },
    "/zaprimljeni-eracuni-povijesti": {
      "get": {
        "description": "Endpoint za dohvat povijesti zaprimljenog e-računa",
        "parameters": [
          {
            "description": "Broj zapisa po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Pomak",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "UUID zaprimljenog e-računa (obavezno)",
            "in": "query",
            "name": "zaprimljeniEracunUuid",
            "required": true,
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZaprimljeniEracuniPovijestiResponse"
                }
              }
            },
            "description": "Lista povijesti zaprimljenog e-računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis povijesti zaprimljenog e-računa",
        "tags": [
          "Povijest zaprimljenih e-računa"
        ]
      }
    },
    "/zaprimljeni-eracuni-povijesti/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja povijesti zaprimljenog e-računa",
        "parameters": [
          {
            "description": "UUID zaprimljenog e-računa (obavezno)",
            "in": "query",
            "name": "zaprimljeniEracunUuid",
            "required": true,
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZaprimljeniEracuniPovijestiCountResponse"
                }
              }
            },
            "description": "Broj povijesti"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja povijesti"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj povijesti zaprimljenog e-računa",
        "tags": [
          "Povijest zaprimljenih e-računa"
        ]
      }
    },
    "/zaprimljeni-eracuni-povijesti/{uuid}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne povijesti zaprimljenog e-računa po UUID-u",
        "parameters": [
          {
            "description": "UUID povijesti zaprimljenog e-računa",
            "in": "path",
            "name": "uuid",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZaprimljeniEracunPovijestResponse"
                }
              }
            },
            "description": "Pojedinačna povijest"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "uuid i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata povijesti"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna povijest zaprimljenog e-računa po UUID-u",
        "tags": [
          "Povijest zaprimljenih e-računa"
        ]
      }
    },
    "/zaprimljeni-eracuni-stavke": {
      "get": {
        "description": "Endpoint za dohvat stavki zaprimljenog e-računa",
        "parameters": [
          {
            "description": "Broj zapisa po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Pomak",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "UUID zaprimljenog e-računa (obavezno)",
            "in": "query",
            "name": "zaprimljeniEracunUuid",
            "required": true,
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZaprimljeniEracuniStavkeResponse"
                }
              }
            },
            "description": "Lista stavki zaprimljenog e-računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis stavki zaprimljenog e-računa",
        "tags": [
          "Stavke zaprimljenih e-računa"
        ]
      }
    },
    "/zaprimljeni-eracuni-stavke/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja stavki zaprimljenog e-računa",
        "parameters": [
          {
            "description": "UUID zaprimljenog e-računa (obavezno)",
            "in": "query",
            "name": "zaprimljeniEracunUuid",
            "required": true,
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZaprimljeniEracuniStavkeCountResponse"
                }
              }
            },
            "description": "Broj stavki"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja stavki"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj stavki zaprimljenog e-računa",
        "tags": [
          "Stavke zaprimljenih e-računa"
        ]
      }
    },
    "/zaprimljeni-eracuni-stavke/{uuid}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne stavke zaprimljenog e-računa po UUID-u",
        "parameters": [
          {
            "description": "UUID stavke zaprimljenog e-računa",
            "in": "path",
            "name": "uuid",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZaprimljeniEracunStavkaResponse"
                }
              }
            },
            "description": "Pojedinačna stavka"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "uuid i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata stavke"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna stavka zaprimljenog e-računa po UUID-u",
        "tags": [
          "Stavke zaprimljenih e-računa"
        ]
      }
    },
    "/zaprimljeni-eracuni/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja zaprimljenih e-računa",
        "parameters": [
          {
            "description": "ID statusa fiskalizacije",
            "in": "query",
            "name": "fiskalizacijaStatusId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "ID vrste e-računa",
            "in": "query",
            "name": "eracunVrstaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Datum izdavanja od (RFC3339)",
            "in": "query",
            "name": "prviDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Datum izdavanja do (RFC3339)",
            "in": "query",
            "name": "zadnjiDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Poslovna godina (npr. 2025)",
            "in": "query",
            "name": "poslovnaGodinaId",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Pretraga po broju eRačuna ili nazivu pošiljatelja",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZaprimljeniEracuniCountResponse"
                }
              }
            },
            "description": "Broj zaprimljenih e-računa"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja zaprimljenih e-računa"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj zaprimljenih e-računa",
        "tags": [
          "Zaprimljeni e-računi"
        ]
      }
    },
    "/zaprimljeni-eracuni/xml-svih": {
      "get": {
        "description": "Endpoint za dohvaćanje ZIP datoteke svih XML zaprimljenih eRačuna u base64 formatu",
        "parameters": [
          {
            "description": "Pretraga po broju eRačuna ili nazivu pošiljatelja",
            "in": "query",
            "name": "search",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira",
            "in": "query",
            "name": "sortiranjeField",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "sortiranjeOrder",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Poslovna godina (npr. 2025)",
            "in": "query",
            "name": "poslovnaGodina",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Datum od (YYYY-MM-DD)",
            "in": "query",
            "name": "prviDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Datum do (YYYY-MM-DD)",
            "in": "query",
            "name": "zadnjiDatum",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunPdfResponse"
                }
              }
            },
            "description": "ZIP zaprimljenih eRačuna u base64 formatu"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken je obavezan"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Nema zaprimljenih eRačuna za preuzimanje"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvaćanje ZIP-a XML zaprimljenih eRačuna",
        "tags": [
          "Zaprimljeni e-računi"
        ]
      }
    },
    "/zaprimljeni-eracuni/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačnog zaprimljenog e-računa po UUID-u",
        "parameters": [
          {
            "description": "UUID zaprimljenog e-računa",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZaprimljeniEracunResponse"
                }
              }
            },
            "description": "Pojedinačni zaprimljeni e-račun"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "UUID i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "eRačun nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačni zaprimljeni e-račun po UUID-u",
        "tags": [
          "Zaprimljeni e-računi"
        ]
      }
    },
    "/zaprimljeni-eracuni/{uuid}/pdf": {
      "get": {
        "description": "Endpoint za dohvaćanje PDF zaprimljenog eRačuna u base64 formatu",
        "parameters": [
          {
            "description": "UUID zaprimljenog eRačuna",
            "in": "path",
            "name": "uuid",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.RacunPdfResponse"
                }
              }
            },
            "description": "PDF zaprimljeni eRačun"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "uuid i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun, korisnik nema pravo pristupa"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "eRačun ili XML dokument nije pronađen"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna ili je poslovni prostor neaktivan"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom obrade XML-a ili generiranja PDF-a"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Dohvaćanje PDF zaprimljenog eRačuna",
        "tags": [
          "Zaprimljeni e-računi"
        ]
      }
    },
    "/zupanije/{drzavaId}/count": {
      "get": {
        "description": "Endpoint za dohvat ukupnog broja županija",
        "parameters": [
          {
            "description": "Id države",
            "in": "path",
            "name": "drzavaId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZupanijeCountResponse"
                }
              }
            },
            "description": "Broj županija"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id države su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id države nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata broja županija"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Broj županija",
        "tags": [
          "Županije"
        ]
      }
    },
    "/zupanije/{drzavaId}/list": {
      "get": {
        "description": "Endpoint za dohvat popisa županija",
        "parameters": [
          {
            "description": "Id države",
            "in": "path",
            "name": "drzavaId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Broj županija po stranici",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Broj preskočenih županija",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Naziv polja po kojemu se sortira (npr. id)",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "description": "Sortiranje (asc ili desc)",
            "in": "query",
            "name": "orderBy",
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZupanijeResponse"
                }
              }
            },
            "description": "Popis županija"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken i id države su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id države nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata popisa županija"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Popis županija",
        "tags": [
          "Županije"
        ]
      }
    },
    "/zupanije/{id}": {
      "get": {
        "description": "Endpoint za dohvat pojedinačne županije po ID-u",
        "parameters": [
          {
            "description": "ID županije",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ZupanijaResponse"
                }
              }
            },
            "description": "Pojedinačna županija"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "id županije i apiToken su obavezni"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "apiToken ili id županije nije ispravan"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Korisnik je neaktivan ili nije potvrdio račun"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Tvrtka je neaktivna"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/public_responses.ErrorResponse"
                }
              }
            },
            "description": "Greška prilikom dohvata pojedinačne županije"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "summary": "Pojedinačna županija po ID-u",
        "tags": [
          "Županije"
        ]
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    },
    {
      "NaplatniUredajAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.arges.hr/api/v1"
    }
  ]
}