'use strict';
import { createBaseResourceProperties } from '../utils/base-resource-properties.js';
import { createAddress } from './address-db.js';
import { addressTypes } from '../../common/addresses/address-types.js';
import { userIds } from '../../common/dev/constants/user-ids.js';
import { countryIds } from './country-master-data.js';

var __defProp=Object['defineProperty'],__name=(_0x4a9d09,_0x3c493e)=>__defProp(_0x4a9d09,'name',{'value':_0x3c493e,'configurable':!![]});const addressIds={'address1':'0a1e7629-c6bd-4ac2-9c4a-0b518357b536','address2':'21b2e586-1339-4f1c-b6fd-9bc1f273f8bf','address3':'955afb57-175d-482e-a663-1d0f2c72e383','address4':'0c277b4b-6007-47a8-ab89-950e55c03734','address5':'ceca4d4c-7d4f-447c-8267-86a1416eacca'};async function seedAddresses(){await seedAddress(addressIds['address1'],'Antonovycha\x20158','Kyiv',countryIds['ukraine'],'03150',addressTypes['user']),await seedAddress(addressIds['address2'],'11410\x20Century\x20Oaks\x20Terrace','Austin',countryIds['usa'],'78758',addressTypes['store'],'10931\x20Research\x20Blvd','Texas'),await seedAddress(addressIds['address3'],'Lipowa\x204','Kraków',countryIds['poland'],'30-702',addressTypes['customer'],'Siostry\x20Faustyny\x203'),await seedAddress(addressIds['address4'],'3\x20Rue\x20du\x20Poids\x20de\x20l\x27Huile','Toulouse',countryIds['france'],'31000',addressTypes['user']),await seedAddress(addressIds['address5'],'Alt-Britz\x2073','Berlin',countryIds['germany'],'12359',addressTypes['store']);}__name(seedAddresses,'seedAddresses');async function seedAddress(_0xed415b,_0x10e765,_0x4628d2,_0x338b78,_0x266f7a,_0x2933c6,_0x55647d,_0x2e9f9f){const _0x514f12={...createBaseResourceProperties(_0xed415b),'addressLine':_0x10e765,'addressLine2':_0x55647d,'city':_0x4628d2,'countryId':_0x338b78,'state':_0x2e9f9f,'zip':_0x266f7a,'type':_0x2933c6,'userId':userIds['timWId']};await createAddress(_0x514f12);}__name(seedAddress,'seedAddress');

export { addressIds, seedAddresses };
