@mesh-sync/worker-backend-client 4.0.15 → 4.0.18

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/README.md CHANGED
@@ -649,7 +649,7 @@ This is typically triggered after initial connection or periodically to keep mar
649
649
 
650
650
  ### marketplace-listing-description-generation-completed
651
651
 
652
- **Description:** Notifies backend that marketplace description generation completed. Contains generated description with metadata tracking (AI model, confidence, generation timestamp).
652
+ **Description:** Notifies backend that marketplace description generation completed. Contains generated description with metadata tracking (AI model, confidence, generation timestamp) and suggested price.
653
653
 
654
654
  **Method:** `client.marketplaceListingDescriptionGenerationCompleted(data)`
655
655
 
@@ -661,10 +661,14 @@ This is typically triggered after initial connection or periodically to keep mar
661
661
 
662
662
  - `entityType` (string) [✓]: Type of entity processed
663
663
 
664
+ - `targetMarketplace` (string) [✗]: Target marketplace ID (e.g., 'etsy', 'ebay')
665
+
664
666
  - `description` (string) [✓]: SEO-optimized marketplace description (3-5 sentences)
665
667
 
666
668
  - `metadata` (object) [✓]: Content generation metadata for tracking
667
669
 
670
+ - `suggestedPrice` (object) [✗]: Volume-based price calculation for 3D printed item
671
+
668
672
  - `error` (string) [✗]: Error message if generation failed
669
673
 
670
674
 
@@ -1904,7 +1908,7 @@ This is typically triggered after initial connection or periodically to keep mar
1904
1908
 
1905
1909
 
1906
1910
  - `marketplaceListingDescriptionGenerationCompleted(data: MarketplaceListingDescriptionGenerationCompletedMessage): Promise<JobResponse>`
1907
- - Notifies backend that marketplace description generation completed. Contains generated description with metadata tracking (AI model, confidence, generation timestamp).
1911
+ - Notifies backend that marketplace description generation completed. Contains generated description with metadata tracking (AI model, confidence, generation timestamp) and suggested price.
1908
1912
 
1909
1913
  - `marketplaceListingDescriptionGenerationRequest(data: MarketplaceListingDescriptionGenerationRequestMessage): Promise<JobResponse>`
1910
1914
  - Generates SEO-optimized marketplace description for a 3D model using LLM vision analysis. Worker receives model data, technical metadata, and thumbnail URLs to generate compelling product descriptions tailored to the target marketplace.
package/dist/client.d.ts CHANGED
@@ -175,7 +175,7 @@ export declare class WorkerClient {
175
175
  */
176
176
  marketplaceCredentialRotationRequest(data: types.MarketplaceCredentialRotationRequestMessage): Promise<JobResponse>;
177
177
  /**
178
- * Notifies backend that marketplace description generation completed. Contains generated description with metadata tracking (AI model, confidence, generation timestamp).
178
+ * Notifies backend that marketplace description generation completed. Contains generated description with metadata tracking (AI model, confidence, generation timestamp) and suggested price.
179
179
  * @param data - The message payload
180
180
  * @returns Job response with job ID
181
181
  */
package/dist/client.js CHANGED
@@ -232,7 +232,7 @@ export class WorkerClient {
232
232
  return this.sendToQueue(types.MessageTypes.MARKETPLACE_CREDENTIAL_ROTATION_REQUEST, data);
233
233
  }
234
234
  /**
235
- * Notifies backend that marketplace description generation completed. Contains generated description with metadata tracking (AI model, confidence, generation timestamp).
235
+ * Notifies backend that marketplace description generation completed. Contains generated description with metadata tracking (AI model, confidence, generation timestamp) and suggested price.
236
236
  * @param data - The message payload
237
237
  * @returns Job response with job ID
238
238
  */
package/dist/types.d.ts CHANGED
@@ -487,17 +487,21 @@ export interface MarketplaceCredentialRotationRequestMessage {
487
487
  metadata?: Record<string, string | number | boolean>;
488
488
  }
489
489
  /**
490
- * Notifies backend that marketplace description generation completed. Contains generated description with metadata tracking (AI model, confidence, generation timestamp).
490
+ * Notifies backend that marketplace description generation completed. Contains generated description with metadata tracking (AI model, confidence, generation timestamp) and suggested price.
491
491
  */
492
492
  export interface MarketplaceListingDescriptionGenerationCompletedMessage {
493
493
  /** UUID of the model that was processed */
494
494
  modelId: string;
495
495
  /** Type of entity processed */
496
496
  entityType: string;
497
+ /** Target marketplace ID (e.g., 'etsy', 'ebay') */
498
+ targetMarketplace?: string;
497
499
  /** SEO-optimized marketplace description (3-5 sentences) */
498
500
  description: string;
499
501
  /** Content generation metadata for tracking */
500
502
  metadata: Record<string, string | number | boolean>;
503
+ /** Volume-based price calculation for 3D printed item */
504
+ suggestedPrice?: Record<string, string | number | boolean>;
501
505
  /** Error message if generation failed */
502
506
  error?: string;
503
507
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mesh-sync/worker-backend-client",
3
- "version": "4.0.15",
3
+ "version": "4.0.18",
4
4
  "description": "Auto-generated TypeScript client for worker-backend - provides type-safe methods for enqueueing jobs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",