esim-cli 2026.1202.206 → 2026.1202.208

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esim.js CHANGED
@@ -14992,7 +14992,7 @@ var catalog = [
14992
14992
  { operationId: "ChangeCompany", name: "change-company", method: "POST", path: "/api/companies/{id}/changes", spec: "business.yaml", write: true, retry: "unsafe", description: "Citizen session and company ownership required. Change factory production level, location, or industry.", parameters: [{ name: "id", in: "path", required: true, description: "Resource ID.", schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "Origin", in: "header", required: true, description: "The same origin as the site hosting the API.", schema: { type: "string", format: "uri" } }], body: { required: true, schema: { type: "object", additionalProperties: false, required: ["action"], properties: { action: { type: "string", enum: ["upgrade", "downgrade", "relocate", "convert", "donate", "acceptDonation", "cancelDonation"] }, stockCompanyId: { type: "integer", format: "int64", minimum: 1 }, product: { type: "string", enum: ["small_drink", "large_drink", "snack", "meal", "pistol", "rifle", "ticket_economy", "ticket_business", "iron", "grain", "oil", "stone", "wood", "minerals", "knife", "house", "mansion", "boat", "yacht", "defense_system", "hospital"] } } } }, requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["id", "name", "owner", "land", "item", "workerCount"], properties: { level: { type: "integer", minimum: 0 }, productionBonusPercent: { type: "integer", minimum: 0 }, management: { type: "object", additionalProperties: false, required: ["relocateFee"], properties: { relocateFee: { type: "integer", format: "int64" }, upgradeFee: { type: "integer", format: "int64" }, downgradeRefund: { type: "integer", format: "int64" } } }, conversion: { type: "object", additionalProperties: false, required: ["currentProduct", "fee", "products"], properties: { currentProduct: { type: "string", enum: ["food", "weapon", "minerals", "small_drink", "large_drink", "snack", "meal", "pistol", "rifle", "ticket_economy", "ticket_business", "knife", "house", "mansion", "boat", "yacht", "defense_system", "hospital", "iron", "grain", "oil", "stone", "wood"] }, fee: { type: "integer", format: "int64", minimum: 0, description: "Conversion fee in Gold minor units." }, products: { type: "array", items: { type: "object", additionalProperties: false, required: ["product"], properties: { product: { type: "string", enum: ["small_drink", "large_drink", "snack", "meal", "pistol", "rifle", "ticket_economy", "ticket_business", "iron", "grain", "oil", "stone", "wood", "minerals", "knife", "house", "mansion", "boat", "yacht", "defense_system", "hospital"] }, rawMaterial: { type: "string", enum: ["GRAIN", "IRON", "OIL", "MINERALS", "WOOD", "STONE"], description: "One known material for the product. Omitted for raw products and unverified recipes." } } } } } }, id: { type: "integer", format: "int64", minimum: 1 }, quality: { type: "integer", minimum: 1, maximum: 5 }, name: { type: "string" }, avatarVersion: { type: "string", description: "Version of the public custom avatar when uploaded." }, weaponDamageBonusPercent: { type: "integer", minimum: 0, maximum: 100, description: "Battle damage bonus relative to the ordinary weapon, present only for usable weapon output." }, stockCompanyId: { type: "integer", format: "int64", minimum: 1 }, unitId: { type: "integer", format: "int64", minimum: 1 }, unitName: { type: "string", description: "Public name of the military unit that holds the factory." }, donationTarget: { type: "integer", format: "int64", minimum: 1 }, owner: { type: "string", description: "Citizen ID for personal factories, empty for corporate or military unit ownership." }, ownerSummary: { allOf: [{ type: "object", additionalProperties: false, required: ["id", "name", "nation"], properties: { id: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, name: { type: "string" }, nation: { type: "integer", minimum: 0 } } }, { description: "Public citizen summary when the factory is personally owned." }] }, workers: { description: "Public summaries of up to eight current employees, ordered by numeric citizen ID. Included in company details and company events.", type: "array", maxItems: 8, items: { type: "object", additionalProperties: false, required: ["id", "name", "nation"], properties: { id: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, name: { type: "string" }, nation: { type: "integer", minimum: 0 } } } }, land: { type: "integer", format: "int64", minimum: 0 }, item: { type: "string", enum: ["food", "weapon", "minerals", "small_drink", "large_drink", "snack", "meal", "pistol", "rifle", "ticket_economy", "ticket_business", "knife", "house", "mansion", "boat", "yacht", "defense_system", "hospital", "iron", "grain", "oil", "stone", "wood"] }, workerCount: { type: "integer", format: "int64", minimum: 0 } } } } }, responseFields: ["level", "productionBonusPercent", "management", "conversion", "id", "quality", "name", "avatarVersion", "weaponDamageBonusPercent", "stockCompanyId", "unitId", "unitName", "donationTarget", "owner", "ownerSummary", "workers", "land", "item", "workerCount"] },
14993
14993
  { operationId: "FundCompanyWallet", name: "fund-company-wallet", method: "POST", path: "/api/companies/{id}/wallet/deposits", spec: "business.yaml", write: true, retry: "unsafe", description: "Citizen session and company ownership required. Fund a stock-company factory in its region’s current currency or a currency from one of its offers. Personal factories return personal_factory_accounts.", parameters: [{ name: "id", in: "path", required: true, description: "Resource ID.", schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "Origin", in: "header", required: true, description: "The same origin as the site hosting the API.", schema: { type: "string", format: "uri" } }], body: { required: true, schema: { type: "object", additionalProperties: false, required: ["amount"], properties: { amount: { type: "integer", format: "int64", minimum: 1, maximum: 1000000000000 }, asset: { allOf: [{ type: "string", pattern: "^cur:[0-9]+$" }, { description: "Defaults to the current controlling country’s currency when omitted." }] } } } }, requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["asset", "balance", "balances"], properties: { asset: { type: "string", pattern: "^cur:[0-9]+$" }, balance: { type: "integer", format: "int64", minimum: 0 }, balances: { type: "object", description: "Absolute balances by currency code, including zero for any eligible currency with no funds.", additionalProperties: { type: "integer", format: "int64", minimum: 0 } } } } } }, responseFields: ["asset", "balance", "balances"] },
14994
14994
  { operationId: "ListCompanyHiringWorkers", name: "list-company-hiring-workers", method: "GET", path: "/api/companies/{id}/hiring-workers", spec: "business.yaml", write: false, retry: "unsafe", description: "Citizen session and current unit-factory hiring permission required. List active contracts in citizen ID order.", parameters: [{ name: "id", in: "path", required: true, description: "Resource ID.", schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "cursor", in: "query", description: "Opaque cursor from the previous page. Reuse the same filters.", schema: { type: "string" } }, { name: "limit", in: "query", description: "Maximum number of results.", schema: { type: "integer", minimum: 1, maximum: 100, default: 20 } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["items", "nextCursor"], properties: { items: { type: "array", items: { type: "object", additionalProperties: false, required: ["contractId", "citizenId", "name"], properties: { nationId: { type: "integer", minimum: 0 }, contractId: { type: "integer", format: "int64", minimum: 1 }, citizenId: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, name: { type: "string" } } } }, nextCursor: { type: ["string", "null"] } } } } }, responseFields: ["items", "nextCursor"] },
14995
- { operationId: "ListCompanyWorkers", name: "list-company-workers", method: "GET", path: "/api/companies/{id}/workers", spec: "business.yaml", write: false, retry: "unsafe", description: "Citizen session and company management permission required. List current contracts, ordered by citizen ID.", parameters: [{ name: "id", in: "path", required: true, description: "Resource ID.", schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "cursor", in: "query", description: "Opaque cursor from the previous page. Reuse the same filters.", schema: { type: "string" } }, { name: "limit", in: "query", description: "Maximum number of results.", schema: { type: "integer", minimum: 1, maximum: 100, default: 20 } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["items"], properties: { items: { type: "array", items: { type: "object", additionalProperties: false, required: ["contractId", "citizenId", "name", "economySkill", "equipmentBonusHundredths", "wage", "currency"], properties: { nationId: { type: "integer", minimum: 0 }, npc: { type: "boolean" }, contractId: { type: "integer", format: "int64", minimum: 1 }, citizenId: { type: "string", pattern: "^[1-9][0-9]*$" }, name: { type: "string" }, economySkill: { type: "integer", minimum: 1 }, equipmentBonusHundredths: { type: "integer" }, wage: { type: "integer", format: "int64", minimum: 1, maximum: 1000000000000 }, currency: { type: "string", pattern: "^cur:[0-9]+$" } } } }, nextCursor: { type: "string" } } } } }, responseFields: ["items", "nextCursor"] },
14995
+ { operationId: "ListCompanyWorkers", name: "list-company-workers", method: "GET", path: "/api/companies/{id}/workers", spec: "business.yaml", write: false, retry: "unsafe", description: "Citizen session and company management permission required. List current contracts, ordered by citizen ID.", parameters: [{ name: "id", in: "path", required: true, description: "Resource ID.", schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "cursor", in: "query", description: "Opaque cursor from the previous page. Reuse the same filters.", schema: { type: "string" } }, { name: "limit", in: "query", description: "Maximum number of results.", schema: { type: "integer", minimum: 1, maximum: 100, default: 20 } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["items"], properties: { items: { type: "array", items: { type: "object", additionalProperties: false, required: ["contractId", "citizenId", "name", "economySkill", "equipmentBonusHundredths", "wage", "currency"], properties: { avatarVersion: { type: "string", pattern: "^[0-9a-f]{64}$", description: "Version of the worker's public custom avatar, when uploaded." }, nationId: { type: "integer", minimum: 0 }, npc: { type: "boolean" }, contractId: { type: "integer", format: "int64", minimum: 1 }, citizenId: { type: "string", pattern: "^[1-9][0-9]*$" }, name: { type: "string" }, economySkill: { type: "integer", minimum: 1 }, equipmentBonusHundredths: { type: "integer" }, wage: { type: "integer", format: "int64", minimum: 1, maximum: 1000000000000 }, currency: { type: "string", pattern: "^cur:[0-9]+$" } } } }, nextCursor: { type: "string" } } } } }, responseFields: ["items", "nextCursor"] },
14996
14996
  { operationId: "ChangeCompanyWorkerWage", name: "change-company-worker-wage", method: "PATCH", path: "/api/companies/{id}/workers/{contractId}", spec: "business.yaml", write: true, retry: "natural", description: "Citizen session and company management permission required. Set the current contract wage in its original currency.", parameters: [{ name: "id", in: "path", required: true, description: "Resource ID.", schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "contractId", in: "path", required: true, schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "Origin", in: "header", required: true, description: "The same origin as the site hosting the API.", schema: { type: "string", format: "uri" } }], body: { required: true, schema: { type: "object", additionalProperties: false, required: ["wage"], properties: { wage: { type: "integer", format: "int64", minimum: 1, maximum: 1000000000000 } } } }, requiresCredentials: true, responses: { "204": { kind: "empty" } }, responseFields: [] },
14997
14997
  { operationId: "DismissCompanyWorker", name: "dismiss-company-worker", method: "DELETE", path: "/api/companies/{id}/workers/{contractId}", spec: "business.yaml", write: true, retry: "natural", description: "Citizen session and hiring permission required. The current leader acts for unit-owned companies. End the specified current contract.", parameters: [{ name: "id", in: "path", required: true, description: "Resource ID.", schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "contractId", in: "path", required: true, schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "Origin", in: "header", required: true, description: "The same origin as the site hosting the API.", schema: { type: "string", format: "uri" } }], body: { required: true, schema: { type: "object", additionalProperties: false } }, requiresCredentials: true, responses: { "204": { kind: "empty" } }, responseFields: [] },
14998
14998
  { operationId: "GetMyEmployment", name: "get-my-employment", method: "GET", path: "/api/employments/me", spec: "business.yaml", write: false, retry: "unsafe", description: "Citizen session required. Read the signed-in citizen's employer.", parameters: [], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["companyId"], properties: { companyId: { type: ["integer", "null"], format: "int64", minimum: 1 }, wage: { type: "integer", format: "int64", minimum: 1, maximum: 1000000000000, description: "Contract wage in minor units, present when employed." }, currency: { type: "string", pattern: "^cur:[0-9]+$" }, offerWithdrawn: { type: "boolean", description: "Whether the employer withdrew the offer associated with the employment. Filling the last available position does not count as withdrawal." }, systemEmployer: { type: "boolean", description: "Whether the employer is a system citizen." } } } } }, responseFields: ["companyId", "wage", "currency", "offerWithdrawn", "systemEmployer"] },
@@ -15307,6 +15307,7 @@ Each submission of the built-in gold code awards 50 gold. For other codes, a ret
15307
15307
  { operationId: "ListBattleWatches", name: "list-battle-watches", method: "GET", path: "/api/me/battle-watches", spec: "webhooks.yaml", write: false, retry: "unsafe", description: "ListBattleWatches", parameters: [], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", required: ["items"], properties: { items: { type: "array", items: { type: "object", required: ["battleId", "kind", "round", "roundEndsAt", "nextReminderAt", "watchedAt"], properties: { battleId: { type: "integer", format: "int64", minimum: 1 }, kind: { type: "string", enum: ["war", "resistance", "civil", "tournament", "practice"] }, regionId: { type: "integer" }, attacker: { type: "integer", description: "Attacking country ID for war, resistance and civil battles." }, defender: { type: "integer", description: "Defending country ID for war, resistance and civil battles." }, round: { type: "integer" }, roundEndsAt: { type: "string", format: "date-time" }, nextReminderAt: { description: "When battle.round_ending fires for the current round; null once that moment has passed.", type: ["string", "null"], format: "date-time" }, watchedAt: { type: "string", format: "date-time" } } } } } } } }, responseFields: ["items"] },
15308
15308
  { operationId: "WatchBattle", name: "watch-battle", method: "PUT", path: "/api/me/battle-watches/{battleId}", spec: "webhooks.yaml", write: true, retry: "natural", description: "WatchBattle", parameters: [{ name: "battleId", in: "path", required: true, schema: { type: "integer", format: "int64", minimum: 1 } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", required: ["battleId", "kind", "round", "roundEndsAt", "nextReminderAt", "watchedAt"], properties: { battleId: { type: "integer", format: "int64", minimum: 1 }, kind: { type: "string", enum: ["war", "resistance", "civil", "tournament", "practice"] }, regionId: { type: "integer" }, attacker: { type: "integer", description: "Attacking country ID for war, resistance and civil battles." }, defender: { type: "integer", description: "Defending country ID for war, resistance and civil battles." }, round: { type: "integer" }, roundEndsAt: { type: "string", format: "date-time" }, nextReminderAt: { description: "When battle.round_ending fires for the current round; null once that moment has passed.", type: ["string", "null"], format: "date-time" }, watchedAt: { type: "string", format: "date-time" } } } } }, responseFields: ["battleId", "kind", "regionId", "attacker", "defender", "round", "roundEndsAt", "nextReminderAt", "watchedAt"] },
15309
15309
  { operationId: "UnwatchBattle", name: "unwatch-battle", method: "DELETE", path: "/api/me/battle-watches/{battleId}", spec: "webhooks.yaml", write: true, retry: "natural", description: "UnwatchBattle", parameters: [{ name: "battleId", in: "path", required: true, schema: { type: "integer", format: "int64", minimum: 1 } }], requiresCredentials: true, responses: { "204": { kind: "empty" } }, responseFields: [] },
15310
+ { operationId: "getTownBanners", name: "get-town-banners", method: "GET", path: "/api/town-banners", spec: "world.yaml", write: false, retry: "unsafe", description: "Public display settings for the town page.", parameters: [], requiresCredentials: false, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, properties: { server: { type: "object", additionalProperties: false, required: ["title", "url"], properties: { title: { type: "string", minLength: 1 }, url: { type: "string", format: "uri", pattern: "^https://" } } }, foodRegeneration: { type: "object", additionalProperties: false, required: ["nextAt"], properties: { nextAt: { type: "string", format: "date-time" } } } } } } }, responseFields: ["server", "foodRegeneration"] },
15310
15311
  { operationId: "listCitizens", name: "list-citizens", method: "GET", path: "/api/citizens", spec: "world.yaml", write: false, retry: "unsafe", description: "listCitizens", parameters: [{ name: "q", in: "query", required: true, schema: { type: "string", minLength: 1 } }, { name: "limit", in: "query", schema: { type: "integer", minimum: 1, maximum: 8, default: 8 } }, { name: "cursor", in: "query", description: "Continuation cursor from the preceding search page.", schema: { type: "string", pattern: "^[A-Za-z0-9_-]+$", maxLength: 342 } }, { name: "citizenshipId", in: "query", description: "Public geography country sourceId. Omit or pass 0 for all countries. Unknown source IDs are invalid. Source ID 1 maps to local nation 0.", schema: { type: "integer", minimum: 0 } }, { name: "searchBanned", in: "query", description: "Include banned citizens by default. False excludes citizens whose account ban is active at read time, before applying the limit.", schema: { type: "boolean", default: true } }, { name: "searchInactive", in: "query", description: "Include inactive citizens by default. False requires account creation or session activity during the last seven days.", schema: { type: "boolean", default: true } }], requiresCredentials: false, responses: { "200": { kind: "json", schema: { type: "object", required: ["items", "total"], properties: { total: { type: "integer", format: "int64", minimum: 0 }, items: { type: "array", items: { type: "object", additionalProperties: false, required: ["id", "name", "nation"], properties: { id: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, name: { type: "string" }, nation: { type: "integer", minimum: 0 } } } }, nextCursor: { type: "string" } } } } }, responseFields: ["total", "items", "nextCursor"] },
15311
15312
  { operationId: "listStaff", name: "list-staff", method: "GET", path: "/api/staff", spec: "world.yaml", write: false, retry: "unsafe", description: "Public list of citizens whose account holds the administrator role, ordered by citizen ID.", parameters: [], requiresCredentials: false, responses: { "200": { kind: "json", schema: { type: "object", required: ["items"], properties: { items: { type: "array", items: { type: "object", additionalProperties: false, required: ["id", "name", "nation", "role"], properties: { id: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, name: { type: "string" }, nation: { type: "integer", minimum: 0 }, role: { type: "string", enum: ["admin"] } } } } } } } }, responseFields: ["items"] },
15312
15313
  { operationId: "getCitizen", name: "citizen", method: "GET", path: "/api/citizens/{pid}", spec: "world.yaml", write: false, retry: "unsafe", description: "getCitizen", parameters: [{ name: "pid", in: "path", required: true, schema: { type: "string", pattern: "^\\s*0*[1-9][0-9]*\\s*$" } }], requiresCredentials: false, responses: { "200": { kind: "json", schema: { type: "object", required: ["id", "name", "nation", "land", "level", "xp", "merit", "strength", "globalRank", "nationalRank", "employer", "unit", "party"], properties: { id: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, name: { type: "string" }, nation: { type: "integer", minimum: 0 }, land: { type: "integer" }, level: { type: "integer" }, xp: { type: "integer" }, merit: { type: "integer" }, strength: { type: "integer" }, nonPlayer: { type: "boolean" }, economicSkillHundredths: { type: "integer", format: "int64" }, battlePoints: { type: "integer", format: "int64" }, militaryRank: { type: "string" }, combatStats: { type: "object", description: "Equipped, unarmed damage and chances for a standard battle without situational effects.", required: ["hitMin", "hitMax", "criticalMin", "criticalMax", "criticalChanceBps", "missChanceBps", "saveWeaponChanceBps", "avoidEnergyChanceBps", "freeFlightChanceBps"], properties: { hitMin: { type: "integer", format: "int64" }, hitMax: { type: "integer", format: "int64" }, criticalMin: { type: "integer", format: "int64" }, criticalMax: { type: "integer", format: "int64" }, criticalChanceBps: { type: "integer" }, missChanceBps: { type: "integer" }, saveWeaponChanceBps: { type: "integer" }, avoidEnergyChanceBps: { type: "integer" }, freeFlightChanceBps: { type: "integer" } } }, equipment: { type: "array", items: { type: "object", required: ["id", "slot", "name", "quality"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, slot: { type: "string" }, name: { type: "string" }, quality: { type: "integer" } } } }, bestHit: { type: "integer", format: "int64" }, bestRound: { type: "integer", format: "int64" }, bestBattle: { type: "integer", format: "int64" }, birthday: { type: "integer", format: "int64" }, globalBattleRank: { type: "integer", format: "int64" }, nationalBattleRank: { type: "integer", format: "int64" }, globalTotal: { type: "integer", format: "int64" }, nationalTotal: { type: "integer", format: "int64" }, globalRank: { type: "integer", format: "int64" }, nationalRank: { type: "integer", format: "int64" }, employer: { anyOf: [{ type: "object", required: ["id", "name"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, name: { type: "string" }, avatarVersion: { type: "string", description: "Version of the custom avatar; absent when the unit, party or company uses the blank avatar." }, level: { type: "integer", description: "Company level, only for an employer." }, country: { allOf: [{ type: "integer", minimum: 0 }], description: "Country of a military unit." } } }, { type: "null" }] }, unit: { anyOf: [{ type: "object", required: ["id", "name"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, name: { type: "string" }, avatarVersion: { type: "string", description: "Version of the custom avatar; absent when the unit, party or company uses the blank avatar." }, level: { type: "integer", description: "Company level, only for an employer." }, country: { allOf: [{ type: "integer", minimum: 0 }], description: "Country of a military unit." } } }, { type: "null" }] }, party: { anyOf: [{ type: "object", required: ["id", "name"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, name: { type: "string" }, avatarVersion: { type: "string", description: "Version of the custom avatar; absent when the unit, party or company uses the blank avatar." }, level: { type: "integer", description: "Company level, only for an employer." }, country: { allOf: [{ type: "integer", minimum: 0 }], description: "Country of a military unit." } } }, { type: "null" }] }, ownedCompanies: { type: "integer", format: "int64", description: "Number of companies the citizen owns personally." }, politicalOffice: { type: "string", enum: ["president", "congress", "defenceMinister", "financeMinister"], description: "Current government office in the citizen's country; absent without an office." }, partyLeader: { type: "boolean", description: "True while the citizen chairs their party." } } } } }, responseFields: ["id", "name", "nation", "land", "level", "xp", "merit", "strength", "nonPlayer", "economicSkillHundredths", "battlePoints", "militaryRank", "combatStats", "equipment", "bestHit", "bestRound", "bestBattle", "birthday", "globalBattleRank", "nationalBattleRank", "globalTotal", "nationalTotal", "globalRank", "nationalRank", "employer", "unit", "party", "ownedCompanies", "politicalOffice", "partyLeader"] },
@@ -38075,7 +38076,7 @@ function saveCredentials(store, credentials) {
38075
38076
  }
38076
38077
 
38077
38078
  // version.ts
38078
- var version2 = "2026.1202.206";
38079
+ var version2 = "2026.1202.208";
38079
38080
  var installKind = version2 === "dev" ? "source" : typeof ESIM_CLI_EXECUTABLE === "boolean" && ESIM_CLI_EXECUTABLE ? "executable" : "npm";
38080
38081
  var npmLatestUrl = "https://registry.npmjs.org/esim-cli/latest";
38081
38082
  var releaseUrl = (release) => `https://github.com/CorrectRoadH/open-esim/releases/download/cli-v${release}`;
package/dist/index.js CHANGED
@@ -14988,7 +14988,7 @@ var catalog = [
14988
14988
  { operationId: "ChangeCompany", name: "change-company", method: "POST", path: "/api/companies/{id}/changes", spec: "business.yaml", write: true, retry: "unsafe", description: "Citizen session and company ownership required. Change factory production level, location, or industry.", parameters: [{ name: "id", in: "path", required: true, description: "Resource ID.", schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "Origin", in: "header", required: true, description: "The same origin as the site hosting the API.", schema: { type: "string", format: "uri" } }], body: { required: true, schema: { type: "object", additionalProperties: false, required: ["action"], properties: { action: { type: "string", enum: ["upgrade", "downgrade", "relocate", "convert", "donate", "acceptDonation", "cancelDonation"] }, stockCompanyId: { type: "integer", format: "int64", minimum: 1 }, product: { type: "string", enum: ["small_drink", "large_drink", "snack", "meal", "pistol", "rifle", "ticket_economy", "ticket_business", "iron", "grain", "oil", "stone", "wood", "minerals", "knife", "house", "mansion", "boat", "yacht", "defense_system", "hospital"] } } } }, requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["id", "name", "owner", "land", "item", "workerCount"], properties: { level: { type: "integer", minimum: 0 }, productionBonusPercent: { type: "integer", minimum: 0 }, management: { type: "object", additionalProperties: false, required: ["relocateFee"], properties: { relocateFee: { type: "integer", format: "int64" }, upgradeFee: { type: "integer", format: "int64" }, downgradeRefund: { type: "integer", format: "int64" } } }, conversion: { type: "object", additionalProperties: false, required: ["currentProduct", "fee", "products"], properties: { currentProduct: { type: "string", enum: ["food", "weapon", "minerals", "small_drink", "large_drink", "snack", "meal", "pistol", "rifle", "ticket_economy", "ticket_business", "knife", "house", "mansion", "boat", "yacht", "defense_system", "hospital", "iron", "grain", "oil", "stone", "wood"] }, fee: { type: "integer", format: "int64", minimum: 0, description: "Conversion fee in Gold minor units." }, products: { type: "array", items: { type: "object", additionalProperties: false, required: ["product"], properties: { product: { type: "string", enum: ["small_drink", "large_drink", "snack", "meal", "pistol", "rifle", "ticket_economy", "ticket_business", "iron", "grain", "oil", "stone", "wood", "minerals", "knife", "house", "mansion", "boat", "yacht", "defense_system", "hospital"] }, rawMaterial: { type: "string", enum: ["GRAIN", "IRON", "OIL", "MINERALS", "WOOD", "STONE"], description: "One known material for the product. Omitted for raw products and unverified recipes." } } } } } }, id: { type: "integer", format: "int64", minimum: 1 }, quality: { type: "integer", minimum: 1, maximum: 5 }, name: { type: "string" }, avatarVersion: { type: "string", description: "Version of the public custom avatar when uploaded." }, weaponDamageBonusPercent: { type: "integer", minimum: 0, maximum: 100, description: "Battle damage bonus relative to the ordinary weapon, present only for usable weapon output." }, stockCompanyId: { type: "integer", format: "int64", minimum: 1 }, unitId: { type: "integer", format: "int64", minimum: 1 }, unitName: { type: "string", description: "Public name of the military unit that holds the factory." }, donationTarget: { type: "integer", format: "int64", minimum: 1 }, owner: { type: "string", description: "Citizen ID for personal factories, empty for corporate or military unit ownership." }, ownerSummary: { allOf: [{ type: "object", additionalProperties: false, required: ["id", "name", "nation"], properties: { id: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, name: { type: "string" }, nation: { type: "integer", minimum: 0 } } }, { description: "Public citizen summary when the factory is personally owned." }] }, workers: { description: "Public summaries of up to eight current employees, ordered by numeric citizen ID. Included in company details and company events.", type: "array", maxItems: 8, items: { type: "object", additionalProperties: false, required: ["id", "name", "nation"], properties: { id: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, name: { type: "string" }, nation: { type: "integer", minimum: 0 } } } }, land: { type: "integer", format: "int64", minimum: 0 }, item: { type: "string", enum: ["food", "weapon", "minerals", "small_drink", "large_drink", "snack", "meal", "pistol", "rifle", "ticket_economy", "ticket_business", "knife", "house", "mansion", "boat", "yacht", "defense_system", "hospital", "iron", "grain", "oil", "stone", "wood"] }, workerCount: { type: "integer", format: "int64", minimum: 0 } } } } }, responseFields: ["level", "productionBonusPercent", "management", "conversion", "id", "quality", "name", "avatarVersion", "weaponDamageBonusPercent", "stockCompanyId", "unitId", "unitName", "donationTarget", "owner", "ownerSummary", "workers", "land", "item", "workerCount"] },
14989
14989
  { operationId: "FundCompanyWallet", name: "fund-company-wallet", method: "POST", path: "/api/companies/{id}/wallet/deposits", spec: "business.yaml", write: true, retry: "unsafe", description: "Citizen session and company ownership required. Fund a stock-company factory in its region’s current currency or a currency from one of its offers. Personal factories return personal_factory_accounts.", parameters: [{ name: "id", in: "path", required: true, description: "Resource ID.", schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "Origin", in: "header", required: true, description: "The same origin as the site hosting the API.", schema: { type: "string", format: "uri" } }], body: { required: true, schema: { type: "object", additionalProperties: false, required: ["amount"], properties: { amount: { type: "integer", format: "int64", minimum: 1, maximum: 1000000000000 }, asset: { allOf: [{ type: "string", pattern: "^cur:[0-9]+$" }, { description: "Defaults to the current controlling country’s currency when omitted." }] } } } }, requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["asset", "balance", "balances"], properties: { asset: { type: "string", pattern: "^cur:[0-9]+$" }, balance: { type: "integer", format: "int64", minimum: 0 }, balances: { type: "object", description: "Absolute balances by currency code, including zero for any eligible currency with no funds.", additionalProperties: { type: "integer", format: "int64", minimum: 0 } } } } } }, responseFields: ["asset", "balance", "balances"] },
14990
14990
  { operationId: "ListCompanyHiringWorkers", name: "list-company-hiring-workers", method: "GET", path: "/api/companies/{id}/hiring-workers", spec: "business.yaml", write: false, retry: "unsafe", description: "Citizen session and current unit-factory hiring permission required. List active contracts in citizen ID order.", parameters: [{ name: "id", in: "path", required: true, description: "Resource ID.", schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "cursor", in: "query", description: "Opaque cursor from the previous page. Reuse the same filters.", schema: { type: "string" } }, { name: "limit", in: "query", description: "Maximum number of results.", schema: { type: "integer", minimum: 1, maximum: 100, default: 20 } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["items", "nextCursor"], properties: { items: { type: "array", items: { type: "object", additionalProperties: false, required: ["contractId", "citizenId", "name"], properties: { nationId: { type: "integer", minimum: 0 }, contractId: { type: "integer", format: "int64", minimum: 1 }, citizenId: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, name: { type: "string" } } } }, nextCursor: { type: ["string", "null"] } } } } }, responseFields: ["items", "nextCursor"] },
14991
- { operationId: "ListCompanyWorkers", name: "list-company-workers", method: "GET", path: "/api/companies/{id}/workers", spec: "business.yaml", write: false, retry: "unsafe", description: "Citizen session and company management permission required. List current contracts, ordered by citizen ID.", parameters: [{ name: "id", in: "path", required: true, description: "Resource ID.", schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "cursor", in: "query", description: "Opaque cursor from the previous page. Reuse the same filters.", schema: { type: "string" } }, { name: "limit", in: "query", description: "Maximum number of results.", schema: { type: "integer", minimum: 1, maximum: 100, default: 20 } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["items"], properties: { items: { type: "array", items: { type: "object", additionalProperties: false, required: ["contractId", "citizenId", "name", "economySkill", "equipmentBonusHundredths", "wage", "currency"], properties: { nationId: { type: "integer", minimum: 0 }, npc: { type: "boolean" }, contractId: { type: "integer", format: "int64", minimum: 1 }, citizenId: { type: "string", pattern: "^[1-9][0-9]*$" }, name: { type: "string" }, economySkill: { type: "integer", minimum: 1 }, equipmentBonusHundredths: { type: "integer" }, wage: { type: "integer", format: "int64", minimum: 1, maximum: 1000000000000 }, currency: { type: "string", pattern: "^cur:[0-9]+$" } } } }, nextCursor: { type: "string" } } } } }, responseFields: ["items", "nextCursor"] },
14991
+ { operationId: "ListCompanyWorkers", name: "list-company-workers", method: "GET", path: "/api/companies/{id}/workers", spec: "business.yaml", write: false, retry: "unsafe", description: "Citizen session and company management permission required. List current contracts, ordered by citizen ID.", parameters: [{ name: "id", in: "path", required: true, description: "Resource ID.", schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "cursor", in: "query", description: "Opaque cursor from the previous page. Reuse the same filters.", schema: { type: "string" } }, { name: "limit", in: "query", description: "Maximum number of results.", schema: { type: "integer", minimum: 1, maximum: 100, default: 20 } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["items"], properties: { items: { type: "array", items: { type: "object", additionalProperties: false, required: ["contractId", "citizenId", "name", "economySkill", "equipmentBonusHundredths", "wage", "currency"], properties: { avatarVersion: { type: "string", pattern: "^[0-9a-f]{64}$", description: "Version of the worker's public custom avatar, when uploaded." }, nationId: { type: "integer", minimum: 0 }, npc: { type: "boolean" }, contractId: { type: "integer", format: "int64", minimum: 1 }, citizenId: { type: "string", pattern: "^[1-9][0-9]*$" }, name: { type: "string" }, economySkill: { type: "integer", minimum: 1 }, equipmentBonusHundredths: { type: "integer" }, wage: { type: "integer", format: "int64", minimum: 1, maximum: 1000000000000 }, currency: { type: "string", pattern: "^cur:[0-9]+$" } } } }, nextCursor: { type: "string" } } } } }, responseFields: ["items", "nextCursor"] },
14992
14992
  { operationId: "ChangeCompanyWorkerWage", name: "change-company-worker-wage", method: "PATCH", path: "/api/companies/{id}/workers/{contractId}", spec: "business.yaml", write: true, retry: "natural", description: "Citizen session and company management permission required. Set the current contract wage in its original currency.", parameters: [{ name: "id", in: "path", required: true, description: "Resource ID.", schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "contractId", in: "path", required: true, schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "Origin", in: "header", required: true, description: "The same origin as the site hosting the API.", schema: { type: "string", format: "uri" } }], body: { required: true, schema: { type: "object", additionalProperties: false, required: ["wage"], properties: { wage: { type: "integer", format: "int64", minimum: 1, maximum: 1000000000000 } } } }, requiresCredentials: true, responses: { "204": { kind: "empty" } }, responseFields: [] },
14993
14993
  { operationId: "DismissCompanyWorker", name: "dismiss-company-worker", method: "DELETE", path: "/api/companies/{id}/workers/{contractId}", spec: "business.yaml", write: true, retry: "natural", description: "Citizen session and hiring permission required. The current leader acts for unit-owned companies. End the specified current contract.", parameters: [{ name: "id", in: "path", required: true, description: "Resource ID.", schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "contractId", in: "path", required: true, schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "Origin", in: "header", required: true, description: "The same origin as the site hosting the API.", schema: { type: "string", format: "uri" } }], body: { required: true, schema: { type: "object", additionalProperties: false } }, requiresCredentials: true, responses: { "204": { kind: "empty" } }, responseFields: [] },
14994
14994
  { operationId: "GetMyEmployment", name: "get-my-employment", method: "GET", path: "/api/employments/me", spec: "business.yaml", write: false, retry: "unsafe", description: "Citizen session required. Read the signed-in citizen's employer.", parameters: [], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["companyId"], properties: { companyId: { type: ["integer", "null"], format: "int64", minimum: 1 }, wage: { type: "integer", format: "int64", minimum: 1, maximum: 1000000000000, description: "Contract wage in minor units, present when employed." }, currency: { type: "string", pattern: "^cur:[0-9]+$" }, offerWithdrawn: { type: "boolean", description: "Whether the employer withdrew the offer associated with the employment. Filling the last available position does not count as withdrawal." }, systemEmployer: { type: "boolean", description: "Whether the employer is a system citizen." } } } } }, responseFields: ["companyId", "wage", "currency", "offerWithdrawn", "systemEmployer"] },
@@ -15303,6 +15303,7 @@ Each submission of the built-in gold code awards 50 gold. For other codes, a ret
15303
15303
  { operationId: "ListBattleWatches", name: "list-battle-watches", method: "GET", path: "/api/me/battle-watches", spec: "webhooks.yaml", write: false, retry: "unsafe", description: "ListBattleWatches", parameters: [], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", required: ["items"], properties: { items: { type: "array", items: { type: "object", required: ["battleId", "kind", "round", "roundEndsAt", "nextReminderAt", "watchedAt"], properties: { battleId: { type: "integer", format: "int64", minimum: 1 }, kind: { type: "string", enum: ["war", "resistance", "civil", "tournament", "practice"] }, regionId: { type: "integer" }, attacker: { type: "integer", description: "Attacking country ID for war, resistance and civil battles." }, defender: { type: "integer", description: "Defending country ID for war, resistance and civil battles." }, round: { type: "integer" }, roundEndsAt: { type: "string", format: "date-time" }, nextReminderAt: { description: "When battle.round_ending fires for the current round; null once that moment has passed.", type: ["string", "null"], format: "date-time" }, watchedAt: { type: "string", format: "date-time" } } } } } } } }, responseFields: ["items"] },
15304
15304
  { operationId: "WatchBattle", name: "watch-battle", method: "PUT", path: "/api/me/battle-watches/{battleId}", spec: "webhooks.yaml", write: true, retry: "natural", description: "WatchBattle", parameters: [{ name: "battleId", in: "path", required: true, schema: { type: "integer", format: "int64", minimum: 1 } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", required: ["battleId", "kind", "round", "roundEndsAt", "nextReminderAt", "watchedAt"], properties: { battleId: { type: "integer", format: "int64", minimum: 1 }, kind: { type: "string", enum: ["war", "resistance", "civil", "tournament", "practice"] }, regionId: { type: "integer" }, attacker: { type: "integer", description: "Attacking country ID for war, resistance and civil battles." }, defender: { type: "integer", description: "Defending country ID for war, resistance and civil battles." }, round: { type: "integer" }, roundEndsAt: { type: "string", format: "date-time" }, nextReminderAt: { description: "When battle.round_ending fires for the current round; null once that moment has passed.", type: ["string", "null"], format: "date-time" }, watchedAt: { type: "string", format: "date-time" } } } } }, responseFields: ["battleId", "kind", "regionId", "attacker", "defender", "round", "roundEndsAt", "nextReminderAt", "watchedAt"] },
15305
15305
  { operationId: "UnwatchBattle", name: "unwatch-battle", method: "DELETE", path: "/api/me/battle-watches/{battleId}", spec: "webhooks.yaml", write: true, retry: "natural", description: "UnwatchBattle", parameters: [{ name: "battleId", in: "path", required: true, schema: { type: "integer", format: "int64", minimum: 1 } }], requiresCredentials: true, responses: { "204": { kind: "empty" } }, responseFields: [] },
15306
+ { operationId: "getTownBanners", name: "get-town-banners", method: "GET", path: "/api/town-banners", spec: "world.yaml", write: false, retry: "unsafe", description: "Public display settings for the town page.", parameters: [], requiresCredentials: false, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, properties: { server: { type: "object", additionalProperties: false, required: ["title", "url"], properties: { title: { type: "string", minLength: 1 }, url: { type: "string", format: "uri", pattern: "^https://" } } }, foodRegeneration: { type: "object", additionalProperties: false, required: ["nextAt"], properties: { nextAt: { type: "string", format: "date-time" } } } } } } }, responseFields: ["server", "foodRegeneration"] },
15306
15307
  { operationId: "listCitizens", name: "list-citizens", method: "GET", path: "/api/citizens", spec: "world.yaml", write: false, retry: "unsafe", description: "listCitizens", parameters: [{ name: "q", in: "query", required: true, schema: { type: "string", minLength: 1 } }, { name: "limit", in: "query", schema: { type: "integer", minimum: 1, maximum: 8, default: 8 } }, { name: "cursor", in: "query", description: "Continuation cursor from the preceding search page.", schema: { type: "string", pattern: "^[A-Za-z0-9_-]+$", maxLength: 342 } }, { name: "citizenshipId", in: "query", description: "Public geography country sourceId. Omit or pass 0 for all countries. Unknown source IDs are invalid. Source ID 1 maps to local nation 0.", schema: { type: "integer", minimum: 0 } }, { name: "searchBanned", in: "query", description: "Include banned citizens by default. False excludes citizens whose account ban is active at read time, before applying the limit.", schema: { type: "boolean", default: true } }, { name: "searchInactive", in: "query", description: "Include inactive citizens by default. False requires account creation or session activity during the last seven days.", schema: { type: "boolean", default: true } }], requiresCredentials: false, responses: { "200": { kind: "json", schema: { type: "object", required: ["items", "total"], properties: { total: { type: "integer", format: "int64", minimum: 0 }, items: { type: "array", items: { type: "object", additionalProperties: false, required: ["id", "name", "nation"], properties: { id: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, name: { type: "string" }, nation: { type: "integer", minimum: 0 } } } }, nextCursor: { type: "string" } } } } }, responseFields: ["total", "items", "nextCursor"] },
15307
15308
  { operationId: "listStaff", name: "list-staff", method: "GET", path: "/api/staff", spec: "world.yaml", write: false, retry: "unsafe", description: "Public list of citizens whose account holds the administrator role, ordered by citizen ID.", parameters: [], requiresCredentials: false, responses: { "200": { kind: "json", schema: { type: "object", required: ["items"], properties: { items: { type: "array", items: { type: "object", additionalProperties: false, required: ["id", "name", "nation", "role"], properties: { id: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, name: { type: "string" }, nation: { type: "integer", minimum: 0 }, role: { type: "string", enum: ["admin"] } } } } } } } }, responseFields: ["items"] },
15308
15309
  { operationId: "getCitizen", name: "citizen", method: "GET", path: "/api/citizens/{pid}", spec: "world.yaml", write: false, retry: "unsafe", description: "getCitizen", parameters: [{ name: "pid", in: "path", required: true, schema: { type: "string", pattern: "^\\s*0*[1-9][0-9]*\\s*$" } }], requiresCredentials: false, responses: { "200": { kind: "json", schema: { type: "object", required: ["id", "name", "nation", "land", "level", "xp", "merit", "strength", "globalRank", "nationalRank", "employer", "unit", "party"], properties: { id: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, name: { type: "string" }, nation: { type: "integer", minimum: 0 }, land: { type: "integer" }, level: { type: "integer" }, xp: { type: "integer" }, merit: { type: "integer" }, strength: { type: "integer" }, nonPlayer: { type: "boolean" }, economicSkillHundredths: { type: "integer", format: "int64" }, battlePoints: { type: "integer", format: "int64" }, militaryRank: { type: "string" }, combatStats: { type: "object", description: "Equipped, unarmed damage and chances for a standard battle without situational effects.", required: ["hitMin", "hitMax", "criticalMin", "criticalMax", "criticalChanceBps", "missChanceBps", "saveWeaponChanceBps", "avoidEnergyChanceBps", "freeFlightChanceBps"], properties: { hitMin: { type: "integer", format: "int64" }, hitMax: { type: "integer", format: "int64" }, criticalMin: { type: "integer", format: "int64" }, criticalMax: { type: "integer", format: "int64" }, criticalChanceBps: { type: "integer" }, missChanceBps: { type: "integer" }, saveWeaponChanceBps: { type: "integer" }, avoidEnergyChanceBps: { type: "integer" }, freeFlightChanceBps: { type: "integer" } } }, equipment: { type: "array", items: { type: "object", required: ["id", "slot", "name", "quality"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, slot: { type: "string" }, name: { type: "string" }, quality: { type: "integer" } } } }, bestHit: { type: "integer", format: "int64" }, bestRound: { type: "integer", format: "int64" }, bestBattle: { type: "integer", format: "int64" }, birthday: { type: "integer", format: "int64" }, globalBattleRank: { type: "integer", format: "int64" }, nationalBattleRank: { type: "integer", format: "int64" }, globalTotal: { type: "integer", format: "int64" }, nationalTotal: { type: "integer", format: "int64" }, globalRank: { type: "integer", format: "int64" }, nationalRank: { type: "integer", format: "int64" }, employer: { anyOf: [{ type: "object", required: ["id", "name"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, name: { type: "string" }, avatarVersion: { type: "string", description: "Version of the custom avatar; absent when the unit, party or company uses the blank avatar." }, level: { type: "integer", description: "Company level, only for an employer." }, country: { allOf: [{ type: "integer", minimum: 0 }], description: "Country of a military unit." } } }, { type: "null" }] }, unit: { anyOf: [{ type: "object", required: ["id", "name"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, name: { type: "string" }, avatarVersion: { type: "string", description: "Version of the custom avatar; absent when the unit, party or company uses the blank avatar." }, level: { type: "integer", description: "Company level, only for an employer." }, country: { allOf: [{ type: "integer", minimum: 0 }], description: "Country of a military unit." } } }, { type: "null" }] }, party: { anyOf: [{ type: "object", required: ["id", "name"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, name: { type: "string" }, avatarVersion: { type: "string", description: "Version of the custom avatar; absent when the unit, party or company uses the blank avatar." }, level: { type: "integer", description: "Company level, only for an employer." }, country: { allOf: [{ type: "integer", minimum: 0 }], description: "Country of a military unit." } } }, { type: "null" }] }, ownedCompanies: { type: "integer", format: "int64", description: "Number of companies the citizen owns personally." }, politicalOffice: { type: "string", enum: ["president", "congress", "defenceMinister", "financeMinister"], description: "Current government office in the citizen's country; absent without an office." }, partyLeader: { type: "boolean", description: "True while the citizen chairs their party." } } } } }, responseFields: ["id", "name", "nation", "land", "level", "xp", "merit", "strength", "nonPlayer", "economicSkillHundredths", "battlePoints", "militaryRank", "combatStats", "equipment", "bestHit", "bestRound", "bestBattle", "birthday", "globalBattleRank", "nationalBattleRank", "globalTotal", "nationalTotal", "globalRank", "nationalRank", "employer", "unit", "party", "ownedCompanies", "politicalOffice", "partyLeader"] },
@@ -38081,7 +38082,7 @@ function saveCredentials(store, credentials) {
38081
38082
  }
38082
38083
 
38083
38084
  // version.ts
38084
- var version2 = "2026.1202.206";
38085
+ var version2 = "2026.1202.208";
38085
38086
  var installKind = version2 === "dev" ? "source" : typeof ESIM_CLI_EXECUTABLE === "boolean" && ESIM_CLI_EXECUTABLE ? "executable" : "npm";
38086
38087
  var npmLatestUrl = "https://registry.npmjs.org/esim-cli/latest";
38087
38088
  var releaseVersion = /^\d+\.\d+\.\d+$/;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esim-cli",
3
- "version": "2026.1202.206",
3
+ "version": "2026.1202.208",
4
4
  "description": "Command-line client and agent project for Open E-Sim",
5
5
  "type": "module",
6
6
  "license": "MIT",