'use strict';
import { createBaseResourceProperties } from '../utils/base-resource-properties.js';
import { createCustomer } from './customer-db.js';
import { userIds } from '../../common/dev/constants/user-ids.js';
import { workspaceConstants } from '../../../fd-toolbox/server/constants/workspace-constants.js';
import { toolboxUserConstants } from '../../meta/constants/toolbox-users.js';

var __defProp=Object['defineProperty'],__name=(_0x454d87,_0x47a3cf)=>__defProp(_0x454d87,'name',{'value':_0x47a3cf,'configurable':!![]});const customerIds={'workerBotCustomerId':'1d70373a-6fc0-4546-be77-ce27b3f010a7','colinCustomerId':'ad02340d-214a-4431-9e79-18264de853ef','timCustomerId':'51383b0e-3068-4182-96ac-a2abe16658b4'};async function seedCustomers(){await seedTimCustomer(),await seedColinCustomer(),await seedWorkerBotCustomer();}__name(seedCustomers,'seedCustomers');async function seedCustomer(_0x491837,_0x5590a2,_0x254181,_0xd81725){const _0x3c5f6e={...createBaseResourceProperties(_0x491837),'workspaceId':_0x5590a2,'userId':_0x254181,'name':_0xd81725};return createCustomer(_0x3c5f6e);}__name(seedCustomer,'seedCustomer');async function seedTimCustomer(){await seedCustomer(customerIds['timCustomerId'],workspaceConstants['defaultWorkspaceId'],userIds['timWId'],'Tim\x20W');}__name(seedTimCustomer,'seedTimCustomer');async function seedColinCustomer(){await seedCustomer(customerIds['colinCustomerId'],workspaceConstants['defaultWorkspaceId'],userIds['colinBId'],'Colin\x20B');}__name(seedColinCustomer,'seedColinCustomer');async function seedWorkerBotCustomer(){await seedCustomer(customerIds['workerBotCustomerId'],workspaceConstants['defaultWorkspaceId'],toolboxUserConstants['workerBotId'],'Worker\x20Bot');}__name(seedWorkerBotCustomer,'seedWorkerBotCustomer');

export { customerIds, seedCustomers };
