esim-cli 2026.1201.197 → 2026.1201.198
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 +2 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/esim.js
CHANGED
|
@@ -15041,6 +15041,7 @@ var catalog = [
|
|
|
15041
15041
|
{ operationId: "createQuickEquipmentAuction", name: "create-quick-equipment-auction", method: "POST", path: "/api/auctions/quick-equipment", spec: "civic.yaml", write: true, retry: "unsafe", description: "快捷挂牌装备", parameters: [{ name: "Origin", in: "header", required: true, description: "网页的同源地址。", schema: { type: "string", format: "uri" } }], body: { required: true, schema: { type: "object", additionalProperties: false, required: ["equipmentId"], properties: { equipmentId: { type: "integer", format: "int64", minimum: 1 } } } }, requiresCredentials: true, responses: { "201": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["id", "seller", "minimum", "endsAt", "bid", "bidCount", "status", "systemSeller", "minNextBid"], properties: { systemSeller: { type: "boolean" }, minNextBid: { type: ["integer", "null"], format: "int64", minimum: 1, description: "最低公开领先出价,单位为金币的分。已结束时为 null。" }, sellerName: { type: "string", description: "卖家的公民姓名,系统装备拍卖的卖家为 Item vendor。" }, sellerNation: { type: "integer", minimum: 0 }, bidderName: { type: "string" }, bidderNation: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, seller: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, qty: { type: "integer", minimum: 1, maximum: 999 }, equipment: { type: "object", additionalProperties: false, required: ["id", "slot", "quality"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, slot: { type: "string", minLength: 1 }, quality: { type: "integer", minimum: 1, maximum: 8 }, set: { type: "string", minLength: 1, description: "挂牌时公开的装备套装。" } } }, specialItem: { type: "string", enum: ["medkit", "steroids", "extra_vacations", "extra_spa", "tank", "bunker", "sewer_guide"] }, company: { type: "object", additionalProperties: false, required: ["id", "name", "item"], properties: { level: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, name: { type: "string" }, 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"] } } }, minimum: { type: "integer", minimum: 1, maximum: 1000000000000, format: "int64", description: "金币以百分之一金币计。100 表示 1.00 金币。" }, endsAt: { type: "string", format: "date-time" }, bidder: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, bid: { type: "integer", minimum: 0, maximum: 1000000000000, format: "int64", description: "公开的当前价或成交价,以分计。无人出价为 0,仅一位出价时为起拍价,其余为不同竞买人的第二高委托价。" }, bidCount: { type: "integer", format: "int64", minimum: 0, description: "已入账的有效出价次数,含提高上限及被即时超价的委托。同额重试不重复计数。" }, status: { type: "string", enum: ["open", "sold", "unsold", "cancelled"], "x-enum-varnames": ["AuctionStatusOpen", "AuctionStatusSold", "AuctionStatusUnsold", "AuctionStatusCancelled"] } } } } }, responseFields: ["systemSeller", "minNextBid", "sellerName", "sellerNation", "bidderName", "bidderNation", "id", "seller", "qty", "equipment", "specialItem", "company", "minimum", "endsAt", "bidder", "bid", "bidCount", "status"] },
|
|
15042
15042
|
{ operationId: "listOwnAuctions", name: "list-own-auctions", method: "GET", path: "/api/auctions/mine", spec: "civic.yaml", write: false, retry: "unsafe", description: "读取本人挂单", parameters: [{ name: "limit", in: "query", schema: { type: "integer", minimum: 1, maximum: 100, default: 20 } }, { name: "status", in: "query", schema: { type: "string", enum: ["open", "sold", "unsold", "cancelled"], "x-enum-varnames": ["AuctionStatusOpen", "AuctionStatusSold", "AuctionStatusUnsold", "AuctionStatusCancelled"] } }, { name: "page", in: "query", description: "页码从 1 开始,默认第 1 页。", schema: { type: "integer", format: "int32", minimum: 1 } }, { name: "sort", in: "query", description: "time 按截止时间升序,price 按公开展示价降序(无人出价使用起拍价),bids 按成功出价次数降序。相同值时 ID 降序。不传时按 ID 降序。", schema: { type: "string", enum: ["time", "price", "bids"] } }, { name: "order", in: "query", description: "省略时使用排序键默认方向。", schema: { type: "string", enum: ["asc", "desc"] } }, { name: "seller", in: "query", schema: { type: "string", enum: ["system", "players"] } }, { name: "minPrice", in: "query", description: "公开展示价的下限(含),单位为金币的分。", schema: { type: "integer", format: "int64", minimum: 0 } }, { name: "maxPrice", in: "query", description: "公开展示价的上限(含),单位为金币的分。", schema: { type: "integer", format: "int64", minimum: 0 } }, { name: "noBids", in: "query", schema: { type: "boolean" } }, { name: "kind", in: "query", schema: { type: "string", enum: ["equipment", "special", "company"] } }, { name: "quality", in: "query", description: "重复参数表示任一品质。本条件只匹配装备。", schema: { type: "array", items: { type: "integer", minimum: 1, maximum: 8 } } }, { name: "slot", in: "query", description: "重复参数表示任一槽位。本条件只匹配装备。", schema: { type: "array", items: { type: "string", enum: ["head", "body", "legs", "offHand", "footwear", "accessory", "charm", "eye"] } } }, { name: "stat", in: "query", description: "重复参数表示任一属性值大于零。本条件只匹配仍有属性记录的装备。品质、槽位、属性三组条件同时满足。", schema: { type: "array", items: { type: "string", enum: ["baseHit", "strength", "missChanceReduction", "damagePercent", "criticalChance", "maxDamagePercent", "avoidEnergyChance", "morningDamagePercent", "noonDamagePercent", "eveningDamagePercent", "nightDamagePercent", "saveWeaponChance", "findWeaponChance", "economySkillHundredths", "freeFlightChance", "ironProductionPercent", "woodProductionPercent", "grainProductionPercent", "oilProductionPercent", "diamondProductionPercent", "foodProductionPercent", "weaponProductionPercent", "ticketProductionPercent", "improvedSplitChance", "saveAmmunitionChance", "restorationChance", "bonusMergeChance", "otherParametersPercent", "mergePriceReduction", "hitMinBonus", "hitMaxBonus", "accuracy", "endurance", "guard", "agility", "impact"] } } }, { name: "specialItem", in: "query", schema: { type: "string", enum: ["medkit", "steroids", "extra_vacations", "extra_spa", "tank", "bunker", "sewer_guide"] } }, { name: "companyLevel", in: "query", schema: { type: "array", items: { type: "integer", minimum: 0, maximum: 21 } } }, { name: "companyProduct", in: "query", schema: { type: "array", items: { 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"] } } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["items", "page", "total"], properties: { items: { type: "array", items: { type: "object", additionalProperties: false, required: ["id", "seller", "minimum", "endsAt", "bid", "bidCount", "status", "systemSeller", "minNextBid"], properties: { systemSeller: { type: "boolean" }, minNextBid: { type: ["integer", "null"], format: "int64", minimum: 1, description: "最低公开领先出价,单位为金币的分。已结束时为 null。" }, sellerName: { type: "string", description: "卖家的公民姓名,系统装备拍卖的卖家为 Item vendor。" }, sellerNation: { type: "integer", minimum: 0 }, bidderName: { type: "string" }, bidderNation: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, seller: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, qty: { type: "integer", minimum: 1, maximum: 999 }, equipment: { type: "object", additionalProperties: false, required: ["id", "slot", "quality"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, slot: { type: "string", minLength: 1 }, quality: { type: "integer", minimum: 1, maximum: 8 }, set: { type: "string", minLength: 1, description: "挂牌时公开的装备套装。" } } }, specialItem: { type: "string", enum: ["medkit", "steroids", "extra_vacations", "extra_spa", "tank", "bunker", "sewer_guide"] }, company: { type: "object", additionalProperties: false, required: ["id", "name", "item"], properties: { level: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, name: { type: "string" }, 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"] } } }, minimum: { type: "integer", minimum: 1, maximum: 1000000000000, format: "int64", description: "金币以百分之一金币计。100 表示 1.00 金币。" }, endsAt: { type: "string", format: "date-time" }, bidder: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, bid: { type: "integer", minimum: 0, maximum: 1000000000000, format: "int64", description: "公开的当前价或成交价,以分计。无人出价为 0,仅一位出价时为起拍价,其余为不同竞买人的第二高委托价。" }, bidCount: { type: "integer", format: "int64", minimum: 0, description: "已入账的有效出价次数,含提高上限及被即时超价的委托。同额重试不重复计数。" }, status: { type: "string", enum: ["open", "sold", "unsold", "cancelled"], "x-enum-varnames": ["AuctionStatusOpen", "AuctionStatusSold", "AuctionStatusUnsold", "AuctionStatusCancelled"] } } } }, page: { type: "integer", format: "int32", minimum: 1, description: "当前页码。" }, total: { type: "integer", format: "int64", minimum: 0, description: "所有符合筛选条件的拍卖数量。" } } } } }, responseFields: ["items", "page", "total"] },
|
|
15043
15043
|
{ operationId: "listOwnBidAuctions", name: "list-own-bid-auctions", method: "GET", path: "/api/auctions/my-bids", spec: "civic.yaml", write: false, retry: "unsafe", description: "读取本人曾成功出价的拍卖(含被超价及已结束)", parameters: [{ name: "limit", in: "query", schema: { type: "integer", minimum: 1, maximum: 100, default: 20 } }, { name: "status", in: "query", schema: { type: "string", enum: ["open", "sold", "unsold", "cancelled"], "x-enum-varnames": ["AuctionStatusOpen", "AuctionStatusSold", "AuctionStatusUnsold", "AuctionStatusCancelled"] } }, { name: "page", in: "query", description: "页码从 1 开始,默认第 1 页。", schema: { type: "integer", format: "int32", minimum: 1 } }, { name: "sort", in: "query", description: "time 按截止时间升序,price 按公开展示价降序(无人出价使用起拍价),bids 按成功出价次数降序。相同值时 ID 降序。不传时按 ID 降序。", schema: { type: "string", enum: ["time", "price", "bids"] } }, { name: "order", in: "query", description: "省略时使用排序键默认方向。", schema: { type: "string", enum: ["asc", "desc"] } }, { name: "seller", in: "query", schema: { type: "string", enum: ["system", "players"] } }, { name: "minPrice", in: "query", description: "公开展示价的下限(含),单位为金币的分。", schema: { type: "integer", format: "int64", minimum: 0 } }, { name: "maxPrice", in: "query", description: "公开展示价的上限(含),单位为金币的分。", schema: { type: "integer", format: "int64", minimum: 0 } }, { name: "noBids", in: "query", schema: { type: "boolean" } }, { name: "kind", in: "query", schema: { type: "string", enum: ["equipment", "special", "company"] } }, { name: "quality", in: "query", description: "重复参数表示任一品质。本条件只匹配装备。", schema: { type: "array", items: { type: "integer", minimum: 1, maximum: 8 } } }, { name: "slot", in: "query", description: "重复参数表示任一槽位。本条件只匹配装备。", schema: { type: "array", items: { type: "string", enum: ["head", "body", "legs", "offHand", "footwear", "accessory", "charm", "eye"] } } }, { name: "stat", in: "query", description: "重复参数表示任一属性值大于零。本条件只匹配仍有属性记录的装备。品质、槽位、属性三组条件同时满足。", schema: { type: "array", items: { type: "string", enum: ["baseHit", "strength", "missChanceReduction", "damagePercent", "criticalChance", "maxDamagePercent", "avoidEnergyChance", "morningDamagePercent", "noonDamagePercent", "eveningDamagePercent", "nightDamagePercent", "saveWeaponChance", "findWeaponChance", "economySkillHundredths", "freeFlightChance", "ironProductionPercent", "woodProductionPercent", "grainProductionPercent", "oilProductionPercent", "diamondProductionPercent", "foodProductionPercent", "weaponProductionPercent", "ticketProductionPercent", "improvedSplitChance", "saveAmmunitionChance", "restorationChance", "bonusMergeChance", "otherParametersPercent", "mergePriceReduction", "hitMinBonus", "hitMaxBonus", "accuracy", "endurance", "guard", "agility", "impact"] } } }, { name: "specialItem", in: "query", schema: { type: "string", enum: ["medkit", "steroids", "extra_vacations", "extra_spa", "tank", "bunker", "sewer_guide"] } }, { name: "companyLevel", in: "query", schema: { type: "array", items: { type: "integer", minimum: 0, maximum: 21 } } }, { name: "companyProduct", in: "query", schema: { type: "array", items: { 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"] } } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["items", "page", "total"], properties: { items: { type: "array", items: { type: "object", additionalProperties: false, required: ["id", "seller", "minimum", "endsAt", "bid", "bidCount", "status", "systemSeller", "minNextBid"], properties: { systemSeller: { type: "boolean" }, minNextBid: { type: ["integer", "null"], format: "int64", minimum: 1, description: "最低公开领先出价,单位为金币的分。已结束时为 null。" }, sellerName: { type: "string", description: "卖家的公民姓名,系统装备拍卖的卖家为 Item vendor。" }, sellerNation: { type: "integer", minimum: 0 }, bidderName: { type: "string" }, bidderNation: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, seller: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, qty: { type: "integer", minimum: 1, maximum: 999 }, equipment: { type: "object", additionalProperties: false, required: ["id", "slot", "quality"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, slot: { type: "string", minLength: 1 }, quality: { type: "integer", minimum: 1, maximum: 8 }, set: { type: "string", minLength: 1, description: "挂牌时公开的装备套装。" } } }, specialItem: { type: "string", enum: ["medkit", "steroids", "extra_vacations", "extra_spa", "tank", "bunker", "sewer_guide"] }, company: { type: "object", additionalProperties: false, required: ["id", "name", "item"], properties: { level: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, name: { type: "string" }, 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"] } } }, minimum: { type: "integer", minimum: 1, maximum: 1000000000000, format: "int64", description: "金币以百分之一金币计。100 表示 1.00 金币。" }, endsAt: { type: "string", format: "date-time" }, bidder: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, bid: { type: "integer", minimum: 0, maximum: 1000000000000, format: "int64", description: "公开的当前价或成交价,以分计。无人出价为 0,仅一位出价时为起拍价,其余为不同竞买人的第二高委托价。" }, bidCount: { type: "integer", format: "int64", minimum: 0, description: "已入账的有效出价次数,含提高上限及被即时超价的委托。同额重试不重复计数。" }, status: { type: "string", enum: ["open", "sold", "unsold", "cancelled"], "x-enum-varnames": ["AuctionStatusOpen", "AuctionStatusSold", "AuctionStatusUnsold", "AuctionStatusCancelled"] } } } }, page: { type: "integer", format: "int32", minimum: 1, description: "当前页码。" }, total: { type: "integer", format: "int64", minimum: 0, description: "所有符合筛选条件的拍卖数量。" } } } } }, responseFields: ["items", "page", "total"] },
|
|
15044
|
+
{ operationId: "listOwnAuctionBidMaximums", name: "list-own-auction-bid-maximums", method: "GET", path: "/api/auctions/my-bid-maximums", spec: "civic.yaml", write: false, retry: "unsafe", description: "批量读取本人的拍卖委托上限", parameters: [{ name: "id", in: "query", required: true, style: "form", explode: true, schema: { type: "array", minItems: 1, maxItems: 20, items: { type: "integer", format: "int64", minimum: 1 } } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "array", items: { type: "object", additionalProperties: false, required: ["auctionId", "bid"], properties: { auctionId: { type: "integer", format: "int64", minimum: 1 }, bid: { type: "integer", minimum: 1, maximum: 1000000000000, format: "int64", description: "本人的委托上限,以金币的分计。" } } } } } }, responseFields: [] },
|
|
15044
15045
|
{ operationId: "getAuction", name: "get-auction", method: "GET", path: "/api/auctions/{id}", spec: "civic.yaml", write: false, retry: "unsafe", description: "公开读取拍卖详情", parameters: [{ name: "id", in: "path", required: true, schema: { type: "integer", format: "int64", minimum: 1 } }], requiresCredentials: false, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["id", "seller", "minimum", "endsAt", "bid", "bidCount", "status", "systemSeller", "minNextBid"], properties: { systemSeller: { type: "boolean" }, minNextBid: { type: ["integer", "null"], format: "int64", minimum: 1, description: "最低公开领先出价,单位为金币的分。已结束时为 null。" }, sellerName: { type: "string", description: "卖家的公民姓名,系统装备拍卖的卖家为 Item vendor。" }, sellerNation: { type: "integer", minimum: 0 }, bidderName: { type: "string" }, bidderNation: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, seller: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, qty: { type: "integer", minimum: 1, maximum: 999 }, equipment: { type: "object", additionalProperties: false, required: ["id", "slot", "quality"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, slot: { type: "string", minLength: 1 }, quality: { type: "integer", minimum: 1, maximum: 8 }, set: { type: "string", minLength: 1, description: "挂牌时公开的装备套装。" } } }, specialItem: { type: "string", enum: ["medkit", "steroids", "extra_vacations", "extra_spa", "tank", "bunker", "sewer_guide"] }, company: { type: "object", additionalProperties: false, required: ["id", "name", "item"], properties: { level: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, name: { type: "string" }, 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"] } } }, minimum: { type: "integer", minimum: 1, maximum: 1000000000000, format: "int64", description: "金币以百分之一金币计。100 表示 1.00 金币。" }, endsAt: { type: "string", format: "date-time" }, bidder: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, bid: { type: "integer", minimum: 0, maximum: 1000000000000, format: "int64", description: "公开的当前价或成交价,以分计。无人出价为 0,仅一位出价时为起拍价,其余为不同竞买人的第二高委托价。" }, bidCount: { type: "integer", format: "int64", minimum: 0, description: "已入账的有效出价次数,含提高上限及被即时超价的委托。同额重试不重复计数。" }, status: { type: "string", enum: ["open", "sold", "unsold", "cancelled"], "x-enum-varnames": ["AuctionStatusOpen", "AuctionStatusSold", "AuctionStatusUnsold", "AuctionStatusCancelled"] } } } } }, responseFields: ["systemSeller", "minNextBid", "sellerName", "sellerNation", "bidderName", "bidderNation", "id", "seller", "qty", "equipment", "specialItem", "company", "minimum", "endsAt", "bidder", "bid", "bidCount", "status"] },
|
|
15045
15046
|
{ operationId: "cancelAuction", name: "cancel-auction", method: "DELETE", path: "/api/auctions/{id}", spec: "civic.yaml", write: true, retry: "natural", description: "卖家取消尚无出价的拍卖", parameters: [{ name: "id", in: "path", required: true, schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "Origin", in: "header", required: true, description: "网页的同源地址。", schema: { type: "string", format: "uri" } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["id", "seller", "minimum", "endsAt", "bid", "bidCount", "status", "systemSeller", "minNextBid"], properties: { systemSeller: { type: "boolean" }, minNextBid: { type: ["integer", "null"], format: "int64", minimum: 1, description: "最低公开领先出价,单位为金币的分。已结束时为 null。" }, sellerName: { type: "string", description: "卖家的公民姓名,系统装备拍卖的卖家为 Item vendor。" }, sellerNation: { type: "integer", minimum: 0 }, bidderName: { type: "string" }, bidderNation: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, seller: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, qty: { type: "integer", minimum: 1, maximum: 999 }, equipment: { type: "object", additionalProperties: false, required: ["id", "slot", "quality"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, slot: { type: "string", minLength: 1 }, quality: { type: "integer", minimum: 1, maximum: 8 }, set: { type: "string", minLength: 1, description: "挂牌时公开的装备套装。" } } }, specialItem: { type: "string", enum: ["medkit", "steroids", "extra_vacations", "extra_spa", "tank", "bunker", "sewer_guide"] }, company: { type: "object", additionalProperties: false, required: ["id", "name", "item"], properties: { level: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, name: { type: "string" }, 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"] } } }, minimum: { type: "integer", minimum: 1, maximum: 1000000000000, format: "int64", description: "金币以百分之一金币计。100 表示 1.00 金币。" }, endsAt: { type: "string", format: "date-time" }, bidder: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, bid: { type: "integer", minimum: 0, maximum: 1000000000000, format: "int64", description: "公开的当前价或成交价,以分计。无人出价为 0,仅一位出价时为起拍价,其余为不同竞买人的第二高委托价。" }, bidCount: { type: "integer", format: "int64", minimum: 0, description: "已入账的有效出价次数,含提高上限及被即时超价的委托。同额重试不重复计数。" }, status: { type: "string", enum: ["open", "sold", "unsold", "cancelled"], "x-enum-varnames": ["AuctionStatusOpen", "AuctionStatusSold", "AuctionStatusUnsold", "AuctionStatusCancelled"] } } } } }, responseFields: ["systemSeller", "minNextBid", "sellerName", "sellerNation", "bidderName", "bidderNation", "id", "seller", "qty", "equipment", "specialItem", "company", "minimum", "endsAt", "bidder", "bid", "bidCount", "status"] },
|
|
15046
15047
|
{ operationId: "getOwnAuctionBid", name: "get-own-auction-bid", method: "GET", path: "/api/auctions/{id}/my-bid", spec: "civic.yaml", write: false, retry: "unsafe", description: "读取本人的出价上限", parameters: [{ name: "id", in: "path", required: true, schema: { type: "integer", format: "int64", minimum: 1 } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { description: "委托上限只对出价者本人开放。金额以分计。", type: "object", additionalProperties: false, required: ["bid"], properties: { bid: { type: "integer", minimum: 1, maximum: 1000000000000, format: "int64", description: "金币以百分之一金币计。100 表示 1.00 金币。" } } } } }, responseFields: ["bid"] },
|
|
@@ -38080,7 +38081,7 @@ function saveCredentials(store, credentials) {
|
|
|
38080
38081
|
}
|
|
38081
38082
|
|
|
38082
38083
|
// version.ts
|
|
38083
|
-
var version2 = "2026.1201.
|
|
38084
|
+
var version2 = "2026.1201.198";
|
|
38084
38085
|
var installKind = version2 === "dev" ? "source" : typeof ESIM_CLI_EXECUTABLE === "boolean" && ESIM_CLI_EXECUTABLE ? "executable" : "npm";
|
|
38085
38086
|
var npmLatestUrl = "https://registry.npmjs.org/esim-cli/latest";
|
|
38086
38087
|
var releaseUrl = (release) => `https://github.com/CorrectRoadH/open-esim/releases/download/cli-v${release}`;
|
package/dist/index.js
CHANGED
|
@@ -15037,6 +15037,7 @@ var catalog = [
|
|
|
15037
15037
|
{ operationId: "createQuickEquipmentAuction", name: "create-quick-equipment-auction", method: "POST", path: "/api/auctions/quick-equipment", spec: "civic.yaml", write: true, retry: "unsafe", description: "快捷挂牌装备", parameters: [{ name: "Origin", in: "header", required: true, description: "网页的同源地址。", schema: { type: "string", format: "uri" } }], body: { required: true, schema: { type: "object", additionalProperties: false, required: ["equipmentId"], properties: { equipmentId: { type: "integer", format: "int64", minimum: 1 } } } }, requiresCredentials: true, responses: { "201": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["id", "seller", "minimum", "endsAt", "bid", "bidCount", "status", "systemSeller", "minNextBid"], properties: { systemSeller: { type: "boolean" }, minNextBid: { type: ["integer", "null"], format: "int64", minimum: 1, description: "最低公开领先出价,单位为金币的分。已结束时为 null。" }, sellerName: { type: "string", description: "卖家的公民姓名,系统装备拍卖的卖家为 Item vendor。" }, sellerNation: { type: "integer", minimum: 0 }, bidderName: { type: "string" }, bidderNation: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, seller: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, qty: { type: "integer", minimum: 1, maximum: 999 }, equipment: { type: "object", additionalProperties: false, required: ["id", "slot", "quality"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, slot: { type: "string", minLength: 1 }, quality: { type: "integer", minimum: 1, maximum: 8 }, set: { type: "string", minLength: 1, description: "挂牌时公开的装备套装。" } } }, specialItem: { type: "string", enum: ["medkit", "steroids", "extra_vacations", "extra_spa", "tank", "bunker", "sewer_guide"] }, company: { type: "object", additionalProperties: false, required: ["id", "name", "item"], properties: { level: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, name: { type: "string" }, 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"] } } }, minimum: { type: "integer", minimum: 1, maximum: 1000000000000, format: "int64", description: "金币以百分之一金币计。100 表示 1.00 金币。" }, endsAt: { type: "string", format: "date-time" }, bidder: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, bid: { type: "integer", minimum: 0, maximum: 1000000000000, format: "int64", description: "公开的当前价或成交价,以分计。无人出价为 0,仅一位出价时为起拍价,其余为不同竞买人的第二高委托价。" }, bidCount: { type: "integer", format: "int64", minimum: 0, description: "已入账的有效出价次数,含提高上限及被即时超价的委托。同额重试不重复计数。" }, status: { type: "string", enum: ["open", "sold", "unsold", "cancelled"], "x-enum-varnames": ["AuctionStatusOpen", "AuctionStatusSold", "AuctionStatusUnsold", "AuctionStatusCancelled"] } } } } }, responseFields: ["systemSeller", "minNextBid", "sellerName", "sellerNation", "bidderName", "bidderNation", "id", "seller", "qty", "equipment", "specialItem", "company", "minimum", "endsAt", "bidder", "bid", "bidCount", "status"] },
|
|
15038
15038
|
{ operationId: "listOwnAuctions", name: "list-own-auctions", method: "GET", path: "/api/auctions/mine", spec: "civic.yaml", write: false, retry: "unsafe", description: "读取本人挂单", parameters: [{ name: "limit", in: "query", schema: { type: "integer", minimum: 1, maximum: 100, default: 20 } }, { name: "status", in: "query", schema: { type: "string", enum: ["open", "sold", "unsold", "cancelled"], "x-enum-varnames": ["AuctionStatusOpen", "AuctionStatusSold", "AuctionStatusUnsold", "AuctionStatusCancelled"] } }, { name: "page", in: "query", description: "页码从 1 开始,默认第 1 页。", schema: { type: "integer", format: "int32", minimum: 1 } }, { name: "sort", in: "query", description: "time 按截止时间升序,price 按公开展示价降序(无人出价使用起拍价),bids 按成功出价次数降序。相同值时 ID 降序。不传时按 ID 降序。", schema: { type: "string", enum: ["time", "price", "bids"] } }, { name: "order", in: "query", description: "省略时使用排序键默认方向。", schema: { type: "string", enum: ["asc", "desc"] } }, { name: "seller", in: "query", schema: { type: "string", enum: ["system", "players"] } }, { name: "minPrice", in: "query", description: "公开展示价的下限(含),单位为金币的分。", schema: { type: "integer", format: "int64", minimum: 0 } }, { name: "maxPrice", in: "query", description: "公开展示价的上限(含),单位为金币的分。", schema: { type: "integer", format: "int64", minimum: 0 } }, { name: "noBids", in: "query", schema: { type: "boolean" } }, { name: "kind", in: "query", schema: { type: "string", enum: ["equipment", "special", "company"] } }, { name: "quality", in: "query", description: "重复参数表示任一品质。本条件只匹配装备。", schema: { type: "array", items: { type: "integer", minimum: 1, maximum: 8 } } }, { name: "slot", in: "query", description: "重复参数表示任一槽位。本条件只匹配装备。", schema: { type: "array", items: { type: "string", enum: ["head", "body", "legs", "offHand", "footwear", "accessory", "charm", "eye"] } } }, { name: "stat", in: "query", description: "重复参数表示任一属性值大于零。本条件只匹配仍有属性记录的装备。品质、槽位、属性三组条件同时满足。", schema: { type: "array", items: { type: "string", enum: ["baseHit", "strength", "missChanceReduction", "damagePercent", "criticalChance", "maxDamagePercent", "avoidEnergyChance", "morningDamagePercent", "noonDamagePercent", "eveningDamagePercent", "nightDamagePercent", "saveWeaponChance", "findWeaponChance", "economySkillHundredths", "freeFlightChance", "ironProductionPercent", "woodProductionPercent", "grainProductionPercent", "oilProductionPercent", "diamondProductionPercent", "foodProductionPercent", "weaponProductionPercent", "ticketProductionPercent", "improvedSplitChance", "saveAmmunitionChance", "restorationChance", "bonusMergeChance", "otherParametersPercent", "mergePriceReduction", "hitMinBonus", "hitMaxBonus", "accuracy", "endurance", "guard", "agility", "impact"] } } }, { name: "specialItem", in: "query", schema: { type: "string", enum: ["medkit", "steroids", "extra_vacations", "extra_spa", "tank", "bunker", "sewer_guide"] } }, { name: "companyLevel", in: "query", schema: { type: "array", items: { type: "integer", minimum: 0, maximum: 21 } } }, { name: "companyProduct", in: "query", schema: { type: "array", items: { 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"] } } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["items", "page", "total"], properties: { items: { type: "array", items: { type: "object", additionalProperties: false, required: ["id", "seller", "minimum", "endsAt", "bid", "bidCount", "status", "systemSeller", "minNextBid"], properties: { systemSeller: { type: "boolean" }, minNextBid: { type: ["integer", "null"], format: "int64", minimum: 1, description: "最低公开领先出价,单位为金币的分。已结束时为 null。" }, sellerName: { type: "string", description: "卖家的公民姓名,系统装备拍卖的卖家为 Item vendor。" }, sellerNation: { type: "integer", minimum: 0 }, bidderName: { type: "string" }, bidderNation: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, seller: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, qty: { type: "integer", minimum: 1, maximum: 999 }, equipment: { type: "object", additionalProperties: false, required: ["id", "slot", "quality"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, slot: { type: "string", minLength: 1 }, quality: { type: "integer", minimum: 1, maximum: 8 }, set: { type: "string", minLength: 1, description: "挂牌时公开的装备套装。" } } }, specialItem: { type: "string", enum: ["medkit", "steroids", "extra_vacations", "extra_spa", "tank", "bunker", "sewer_guide"] }, company: { type: "object", additionalProperties: false, required: ["id", "name", "item"], properties: { level: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, name: { type: "string" }, 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"] } } }, minimum: { type: "integer", minimum: 1, maximum: 1000000000000, format: "int64", description: "金币以百分之一金币计。100 表示 1.00 金币。" }, endsAt: { type: "string", format: "date-time" }, bidder: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, bid: { type: "integer", minimum: 0, maximum: 1000000000000, format: "int64", description: "公开的当前价或成交价,以分计。无人出价为 0,仅一位出价时为起拍价,其余为不同竞买人的第二高委托价。" }, bidCount: { type: "integer", format: "int64", minimum: 0, description: "已入账的有效出价次数,含提高上限及被即时超价的委托。同额重试不重复计数。" }, status: { type: "string", enum: ["open", "sold", "unsold", "cancelled"], "x-enum-varnames": ["AuctionStatusOpen", "AuctionStatusSold", "AuctionStatusUnsold", "AuctionStatusCancelled"] } } } }, page: { type: "integer", format: "int32", minimum: 1, description: "当前页码。" }, total: { type: "integer", format: "int64", minimum: 0, description: "所有符合筛选条件的拍卖数量。" } } } } }, responseFields: ["items", "page", "total"] },
|
|
15039
15039
|
{ operationId: "listOwnBidAuctions", name: "list-own-bid-auctions", method: "GET", path: "/api/auctions/my-bids", spec: "civic.yaml", write: false, retry: "unsafe", description: "读取本人曾成功出价的拍卖(含被超价及已结束)", parameters: [{ name: "limit", in: "query", schema: { type: "integer", minimum: 1, maximum: 100, default: 20 } }, { name: "status", in: "query", schema: { type: "string", enum: ["open", "sold", "unsold", "cancelled"], "x-enum-varnames": ["AuctionStatusOpen", "AuctionStatusSold", "AuctionStatusUnsold", "AuctionStatusCancelled"] } }, { name: "page", in: "query", description: "页码从 1 开始,默认第 1 页。", schema: { type: "integer", format: "int32", minimum: 1 } }, { name: "sort", in: "query", description: "time 按截止时间升序,price 按公开展示价降序(无人出价使用起拍价),bids 按成功出价次数降序。相同值时 ID 降序。不传时按 ID 降序。", schema: { type: "string", enum: ["time", "price", "bids"] } }, { name: "order", in: "query", description: "省略时使用排序键默认方向。", schema: { type: "string", enum: ["asc", "desc"] } }, { name: "seller", in: "query", schema: { type: "string", enum: ["system", "players"] } }, { name: "minPrice", in: "query", description: "公开展示价的下限(含),单位为金币的分。", schema: { type: "integer", format: "int64", minimum: 0 } }, { name: "maxPrice", in: "query", description: "公开展示价的上限(含),单位为金币的分。", schema: { type: "integer", format: "int64", minimum: 0 } }, { name: "noBids", in: "query", schema: { type: "boolean" } }, { name: "kind", in: "query", schema: { type: "string", enum: ["equipment", "special", "company"] } }, { name: "quality", in: "query", description: "重复参数表示任一品质。本条件只匹配装备。", schema: { type: "array", items: { type: "integer", minimum: 1, maximum: 8 } } }, { name: "slot", in: "query", description: "重复参数表示任一槽位。本条件只匹配装备。", schema: { type: "array", items: { type: "string", enum: ["head", "body", "legs", "offHand", "footwear", "accessory", "charm", "eye"] } } }, { name: "stat", in: "query", description: "重复参数表示任一属性值大于零。本条件只匹配仍有属性记录的装备。品质、槽位、属性三组条件同时满足。", schema: { type: "array", items: { type: "string", enum: ["baseHit", "strength", "missChanceReduction", "damagePercent", "criticalChance", "maxDamagePercent", "avoidEnergyChance", "morningDamagePercent", "noonDamagePercent", "eveningDamagePercent", "nightDamagePercent", "saveWeaponChance", "findWeaponChance", "economySkillHundredths", "freeFlightChance", "ironProductionPercent", "woodProductionPercent", "grainProductionPercent", "oilProductionPercent", "diamondProductionPercent", "foodProductionPercent", "weaponProductionPercent", "ticketProductionPercent", "improvedSplitChance", "saveAmmunitionChance", "restorationChance", "bonusMergeChance", "otherParametersPercent", "mergePriceReduction", "hitMinBonus", "hitMaxBonus", "accuracy", "endurance", "guard", "agility", "impact"] } } }, { name: "specialItem", in: "query", schema: { type: "string", enum: ["medkit", "steroids", "extra_vacations", "extra_spa", "tank", "bunker", "sewer_guide"] } }, { name: "companyLevel", in: "query", schema: { type: "array", items: { type: "integer", minimum: 0, maximum: 21 } } }, { name: "companyProduct", in: "query", schema: { type: "array", items: { 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"] } } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["items", "page", "total"], properties: { items: { type: "array", items: { type: "object", additionalProperties: false, required: ["id", "seller", "minimum", "endsAt", "bid", "bidCount", "status", "systemSeller", "minNextBid"], properties: { systemSeller: { type: "boolean" }, minNextBid: { type: ["integer", "null"], format: "int64", minimum: 1, description: "最低公开领先出价,单位为金币的分。已结束时为 null。" }, sellerName: { type: "string", description: "卖家的公民姓名,系统装备拍卖的卖家为 Item vendor。" }, sellerNation: { type: "integer", minimum: 0 }, bidderName: { type: "string" }, bidderNation: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, seller: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, qty: { type: "integer", minimum: 1, maximum: 999 }, equipment: { type: "object", additionalProperties: false, required: ["id", "slot", "quality"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, slot: { type: "string", minLength: 1 }, quality: { type: "integer", minimum: 1, maximum: 8 }, set: { type: "string", minLength: 1, description: "挂牌时公开的装备套装。" } } }, specialItem: { type: "string", enum: ["medkit", "steroids", "extra_vacations", "extra_spa", "tank", "bunker", "sewer_guide"] }, company: { type: "object", additionalProperties: false, required: ["id", "name", "item"], properties: { level: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, name: { type: "string" }, 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"] } } }, minimum: { type: "integer", minimum: 1, maximum: 1000000000000, format: "int64", description: "金币以百分之一金币计。100 表示 1.00 金币。" }, endsAt: { type: "string", format: "date-time" }, bidder: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, bid: { type: "integer", minimum: 0, maximum: 1000000000000, format: "int64", description: "公开的当前价或成交价,以分计。无人出价为 0,仅一位出价时为起拍价,其余为不同竞买人的第二高委托价。" }, bidCount: { type: "integer", format: "int64", minimum: 0, description: "已入账的有效出价次数,含提高上限及被即时超价的委托。同额重试不重复计数。" }, status: { type: "string", enum: ["open", "sold", "unsold", "cancelled"], "x-enum-varnames": ["AuctionStatusOpen", "AuctionStatusSold", "AuctionStatusUnsold", "AuctionStatusCancelled"] } } } }, page: { type: "integer", format: "int32", minimum: 1, description: "当前页码。" }, total: { type: "integer", format: "int64", minimum: 0, description: "所有符合筛选条件的拍卖数量。" } } } } }, responseFields: ["items", "page", "total"] },
|
|
15040
|
+
{ operationId: "listOwnAuctionBidMaximums", name: "list-own-auction-bid-maximums", method: "GET", path: "/api/auctions/my-bid-maximums", spec: "civic.yaml", write: false, retry: "unsafe", description: "批量读取本人的拍卖委托上限", parameters: [{ name: "id", in: "query", required: true, style: "form", explode: true, schema: { type: "array", minItems: 1, maxItems: 20, items: { type: "integer", format: "int64", minimum: 1 } } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "array", items: { type: "object", additionalProperties: false, required: ["auctionId", "bid"], properties: { auctionId: { type: "integer", format: "int64", minimum: 1 }, bid: { type: "integer", minimum: 1, maximum: 1000000000000, format: "int64", description: "本人的委托上限,以金币的分计。" } } } } } }, responseFields: [] },
|
|
15040
15041
|
{ operationId: "getAuction", name: "get-auction", method: "GET", path: "/api/auctions/{id}", spec: "civic.yaml", write: false, retry: "unsafe", description: "公开读取拍卖详情", parameters: [{ name: "id", in: "path", required: true, schema: { type: "integer", format: "int64", minimum: 1 } }], requiresCredentials: false, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["id", "seller", "minimum", "endsAt", "bid", "bidCount", "status", "systemSeller", "minNextBid"], properties: { systemSeller: { type: "boolean" }, minNextBid: { type: ["integer", "null"], format: "int64", minimum: 1, description: "最低公开领先出价,单位为金币的分。已结束时为 null。" }, sellerName: { type: "string", description: "卖家的公民姓名,系统装备拍卖的卖家为 Item vendor。" }, sellerNation: { type: "integer", minimum: 0 }, bidderName: { type: "string" }, bidderNation: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, seller: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, qty: { type: "integer", minimum: 1, maximum: 999 }, equipment: { type: "object", additionalProperties: false, required: ["id", "slot", "quality"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, slot: { type: "string", minLength: 1 }, quality: { type: "integer", minimum: 1, maximum: 8 }, set: { type: "string", minLength: 1, description: "挂牌时公开的装备套装。" } } }, specialItem: { type: "string", enum: ["medkit", "steroids", "extra_vacations", "extra_spa", "tank", "bunker", "sewer_guide"] }, company: { type: "object", additionalProperties: false, required: ["id", "name", "item"], properties: { level: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, name: { type: "string" }, 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"] } } }, minimum: { type: "integer", minimum: 1, maximum: 1000000000000, format: "int64", description: "金币以百分之一金币计。100 表示 1.00 金币。" }, endsAt: { type: "string", format: "date-time" }, bidder: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, bid: { type: "integer", minimum: 0, maximum: 1000000000000, format: "int64", description: "公开的当前价或成交价,以分计。无人出价为 0,仅一位出价时为起拍价,其余为不同竞买人的第二高委托价。" }, bidCount: { type: "integer", format: "int64", minimum: 0, description: "已入账的有效出价次数,含提高上限及被即时超价的委托。同额重试不重复计数。" }, status: { type: "string", enum: ["open", "sold", "unsold", "cancelled"], "x-enum-varnames": ["AuctionStatusOpen", "AuctionStatusSold", "AuctionStatusUnsold", "AuctionStatusCancelled"] } } } } }, responseFields: ["systemSeller", "minNextBid", "sellerName", "sellerNation", "bidderName", "bidderNation", "id", "seller", "qty", "equipment", "specialItem", "company", "minimum", "endsAt", "bidder", "bid", "bidCount", "status"] },
|
|
15041
15042
|
{ operationId: "cancelAuction", name: "cancel-auction", method: "DELETE", path: "/api/auctions/{id}", spec: "civic.yaml", write: true, retry: "natural", description: "卖家取消尚无出价的拍卖", parameters: [{ name: "id", in: "path", required: true, schema: { type: "integer", format: "int64", minimum: 1 } }, { name: "Origin", in: "header", required: true, description: "网页的同源地址。", schema: { type: "string", format: "uri" } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { type: "object", additionalProperties: false, required: ["id", "seller", "minimum", "endsAt", "bid", "bidCount", "status", "systemSeller", "minNextBid"], properties: { systemSeller: { type: "boolean" }, minNextBid: { type: ["integer", "null"], format: "int64", minimum: 1, description: "最低公开领先出价,单位为金币的分。已结束时为 null。" }, sellerName: { type: "string", description: "卖家的公民姓名,系统装备拍卖的卖家为 Item vendor。" }, sellerNation: { type: "integer", minimum: 0 }, bidderName: { type: "string" }, bidderNation: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, seller: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, qty: { type: "integer", minimum: 1, maximum: 999 }, equipment: { type: "object", additionalProperties: false, required: ["id", "slot", "quality"], properties: { id: { type: "integer", format: "int64", minimum: 1 }, slot: { type: "string", minLength: 1 }, quality: { type: "integer", minimum: 1, maximum: 8 }, set: { type: "string", minLength: 1, description: "挂牌时公开的装备套装。" } } }, specialItem: { type: "string", enum: ["medkit", "steroids", "extra_vacations", "extra_spa", "tank", "bunker", "sewer_guide"] }, company: { type: "object", additionalProperties: false, required: ["id", "name", "item"], properties: { level: { type: "integer", minimum: 0 }, id: { type: "integer", format: "int64", minimum: 1 }, name: { type: "string" }, 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"] } } }, minimum: { type: "integer", minimum: 1, maximum: 1000000000000, format: "int64", description: "金币以百分之一金币计。100 表示 1.00 金币。" }, endsAt: { type: "string", format: "date-time" }, bidder: { type: "string", pattern: "^[1-9][0-9]*$", description: "Decimal encoding of the citizen ID." }, bid: { type: "integer", minimum: 0, maximum: 1000000000000, format: "int64", description: "公开的当前价或成交价,以分计。无人出价为 0,仅一位出价时为起拍价,其余为不同竞买人的第二高委托价。" }, bidCount: { type: "integer", format: "int64", minimum: 0, description: "已入账的有效出价次数,含提高上限及被即时超价的委托。同额重试不重复计数。" }, status: { type: "string", enum: ["open", "sold", "unsold", "cancelled"], "x-enum-varnames": ["AuctionStatusOpen", "AuctionStatusSold", "AuctionStatusUnsold", "AuctionStatusCancelled"] } } } } }, responseFields: ["systemSeller", "minNextBid", "sellerName", "sellerNation", "bidderName", "bidderNation", "id", "seller", "qty", "equipment", "specialItem", "company", "minimum", "endsAt", "bidder", "bid", "bidCount", "status"] },
|
|
15042
15043
|
{ operationId: "getOwnAuctionBid", name: "get-own-auction-bid", method: "GET", path: "/api/auctions/{id}/my-bid", spec: "civic.yaml", write: false, retry: "unsafe", description: "读取本人的出价上限", parameters: [{ name: "id", in: "path", required: true, schema: { type: "integer", format: "int64", minimum: 1 } }], requiresCredentials: true, responses: { "200": { kind: "json", schema: { description: "委托上限只对出价者本人开放。金额以分计。", type: "object", additionalProperties: false, required: ["bid"], properties: { bid: { type: "integer", minimum: 1, maximum: 1000000000000, format: "int64", description: "金币以百分之一金币计。100 表示 1.00 金币。" } } } } }, responseFields: ["bid"] },
|
|
@@ -38086,7 +38087,7 @@ function saveCredentials(store, credentials) {
|
|
|
38086
38087
|
}
|
|
38087
38088
|
|
|
38088
38089
|
// version.ts
|
|
38089
|
-
var version2 = "2026.1201.
|
|
38090
|
+
var version2 = "2026.1201.198";
|
|
38090
38091
|
var installKind = version2 === "dev" ? "source" : typeof ESIM_CLI_EXECUTABLE === "boolean" && ESIM_CLI_EXECUTABLE ? "executable" : "npm";
|
|
38091
38092
|
var npmLatestUrl = "https://registry.npmjs.org/esim-cli/latest";
|
|
38092
38093
|
var releaseVersion = /^\d+\.\d+\.\d+$/;
|