'use strict';
import { getUserId } from '../../auth/users/current-user-id-provider.js';
import { toolboxUserConstants } from '../../../constants/toolbox-users.js';

var __defProp=Object['defineProperty'],__name=(_0x23787b,_0x51e7a6)=>__defProp(_0x23787b,'name',{'value':_0x51e7a6,'configurable':!![]});async function getCrudUpdateConfig(_0x53bb82,_0x15837c,_0x64d9ce){return {'resourceName':_0x15837c,'resource':_0x53bb82,'userId':_0x64d9ce??await getUserId()};}__name(getCrudUpdateConfig,'getCrudUpdateConfig');function getWorkerBotCrudUpdateConfig(_0x5926c9,_0xe8a8ed){return {'resourceName':_0xe8a8ed,'resource':_0x5926c9,'userId':toolboxUserConstants['workerBotId']};}__name(getWorkerBotCrudUpdateConfig,'getWorkerBotCrudUpdateConfig');

export { getCrudUpdateConfig, getWorkerBotCrudUpdateConfig };
