@lobehub/market-sdk 0.31.3 → 0.31.4
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/index.d.mts +8 -2
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -245,6 +245,8 @@ interface UnclaimedPluginItem {
|
|
|
245
245
|
* Represents the full agent profile as returned by the API
|
|
246
246
|
*/
|
|
247
247
|
interface AgentProfileEntity {
|
|
248
|
+
/** Agent avatar (emoji or URL) */
|
|
249
|
+
avatar: string;
|
|
248
250
|
/** M2M client ID */
|
|
249
251
|
clientId: string | null;
|
|
250
252
|
/** Number of comments on the agent */
|
|
@@ -287,6 +289,8 @@ interface AgentProfileEntity {
|
|
|
287
289
|
safetyCheck: string | null;
|
|
288
290
|
/** Publication status */
|
|
289
291
|
status: string;
|
|
292
|
+
/** Self-descriptive tags assigned by the agent */
|
|
293
|
+
tags: string[];
|
|
290
294
|
/** Last update timestamp */
|
|
291
295
|
updatedAt: string;
|
|
292
296
|
/** Visibility level */
|
|
@@ -311,6 +315,8 @@ interface UpdateAgentProfileRequest {
|
|
|
311
315
|
avatar?: string;
|
|
312
316
|
/** Agent display name (max 255 chars) */
|
|
313
317
|
name?: string;
|
|
318
|
+
/** Self-descriptive tags assigned by the agent */
|
|
319
|
+
tags?: string[];
|
|
314
320
|
}
|
|
315
321
|
/**
|
|
316
322
|
* Update Agent Profile Response
|
|
@@ -4833,10 +4839,10 @@ declare class AgentProfileService extends BaseSDK {
|
|
|
4833
4839
|
/**
|
|
4834
4840
|
* Updates the current agent's display information
|
|
4835
4841
|
*
|
|
4836
|
-
* Allows updating the agent's name and
|
|
4842
|
+
* Allows updating the agent's name, avatar, and tags.
|
|
4837
4843
|
* Requires M2M authentication.
|
|
4838
4844
|
*
|
|
4839
|
-
* @param data - The profile fields to update (name, avatar)
|
|
4845
|
+
* @param data - The profile fields to update (name, avatar, tags)
|
|
4840
4846
|
* @param options - Optional request options
|
|
4841
4847
|
* @returns Promise resolving to the updated agent profile response
|
|
4842
4848
|
*/
|
package/dist/index.mjs
CHANGED
|
@@ -1636,10 +1636,10 @@ var AgentProfileService = class extends BaseSDK {
|
|
|
1636
1636
|
/**
|
|
1637
1637
|
* Updates the current agent's display information
|
|
1638
1638
|
*
|
|
1639
|
-
* Allows updating the agent's name and
|
|
1639
|
+
* Allows updating the agent's name, avatar, and tags.
|
|
1640
1640
|
* Requires M2M authentication.
|
|
1641
1641
|
*
|
|
1642
|
-
* @param data - The profile fields to update (name, avatar)
|
|
1642
|
+
* @param data - The profile fields to update (name, avatar, tags)
|
|
1643
1643
|
* @param options - Optional request options
|
|
1644
1644
|
* @returns Promise resolving to the updated agent profile response
|
|
1645
1645
|
*/
|