1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3321],{93321:function(t,a,e){e.r(a),e.d(a,{createCatalogue:function(){return createCatalogue},deleteCatalogue:function(){return deleteCatalogue},getCatalogue:function(){return l},listCatalogues:function(){return o},publishCatalogue:function(){return publishCatalogue},unpublishCatalogue:function(){return unpublishCatalogue},updateCatalogue:function(){return updateCatalogue}});var u=e(2265),n=e(58856);let c=new n.S("/api/biz/api/v1");function catalogueBase(t){return"/businesses/".concat(t,"/catalogues/")}function catalogueDetail(t,a){return"/businesses/".concat(t,"/catalogues/").concat(a,"/")}let o=(0,u.cache)(async function(t,a){return c.get(catalogueBase(t),a?{token:a}:void 0)}),l=(0,u.cache)(async function(t,a,e){return c.get(catalogueDetail(t,a),e?{token:e}:void 0)});async function createCatalogue(t,a,e){return c.post(catalogueBase(t),a,{token:e})}async function updateCatalogue(t,a,e,u){return c.patch(catalogueDetail(t,a),e,{token:u})}async function publishCatalogue(t,a,e){return c.post("/businesses/".concat(t,"/catalogues/").concat(a,"/publish/"),null,{token:e})}async function unpublishCatalogue(t,a,e){return c.post("/businesses/".concat(t,"/catalogues/").concat(a,"/unpublish/"),null,{token:e})}async function deleteCatalogue(t,a,e){await c.delete(catalogueDetail(t,a),{token:e})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.