@smartlyqofficial/node 0.1.72 → 0.1.73

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.cts CHANGED
@@ -600,7 +600,7 @@ type SocialPost = {
600
600
  */
601
601
  publish_stage?: 'validating' | 'processing_media' | 'publishing';
602
602
  /**
603
- * Per-platform permalinks of the published posts, keyed by platform (arrays of URLs). Two reserved keys: _errors holds per-platform failure reasons (plus _post for a whole-post failure), and _transcodes lists what auto-transcode fixed per platform (e.g. 'Frame rate was 15fps (below the 23fps minimum); raised to 30fps.').
603
+ * Per-platform permalinks of the published posts, keyed by platform (arrays of URLs). Three reserved keys: _errors holds per-platform failure reasons (plus _post for a whole-post failure), _transcodes lists what auto-transcode fixed per platform (e.g. 'Frame rate was 15fps (below the 23fps minimum); raised to 30fps.'), and _publish_notes holds the raw form of publish_notes - read publish_notes instead.
604
604
  */
605
605
  post_urls?: {
606
606
  [key: string]: unknown;
@@ -611,6 +611,18 @@ type SocialPost = {
611
611
  post_ids?: {
612
612
  [key: string]: unknown;
613
613
  };
614
+ /**
615
+ * Things that did not go as asked on a post that DID publish. Empty when there are none. first_comment: an Instagram first comment was refused; share_to_story: the Instagram share to story did not go out; privacy_changed: YouTube applied a different privacy than the one requested (for example a forced private). The post itself stays published; reason holds the platform's answer. Returned by GET /social/posts and GET /social/posts/{post_id}.
616
+ */
617
+ publish_notes?: Array<{
618
+ platform?: string;
619
+ kind?: 'first_comment' | 'share_to_story' | 'privacy_changed';
620
+ /**
621
+ * The account's name, when known.
622
+ */
623
+ account?: string;
624
+ reason?: string;
625
+ }>;
614
626
  };
615
627
  type SocialPostResponse = {
616
628
  success?: true;
package/dist/index.d.ts CHANGED
@@ -600,7 +600,7 @@ type SocialPost = {
600
600
  */
601
601
  publish_stage?: 'validating' | 'processing_media' | 'publishing';
602
602
  /**
603
- * Per-platform permalinks of the published posts, keyed by platform (arrays of URLs). Two reserved keys: _errors holds per-platform failure reasons (plus _post for a whole-post failure), and _transcodes lists what auto-transcode fixed per platform (e.g. 'Frame rate was 15fps (below the 23fps minimum); raised to 30fps.').
603
+ * Per-platform permalinks of the published posts, keyed by platform (arrays of URLs). Three reserved keys: _errors holds per-platform failure reasons (plus _post for a whole-post failure), _transcodes lists what auto-transcode fixed per platform (e.g. 'Frame rate was 15fps (below the 23fps minimum); raised to 30fps.'), and _publish_notes holds the raw form of publish_notes - read publish_notes instead.
604
604
  */
605
605
  post_urls?: {
606
606
  [key: string]: unknown;
@@ -611,6 +611,18 @@ type SocialPost = {
611
611
  post_ids?: {
612
612
  [key: string]: unknown;
613
613
  };
614
+ /**
615
+ * Things that did not go as asked on a post that DID publish. Empty when there are none. first_comment: an Instagram first comment was refused; share_to_story: the Instagram share to story did not go out; privacy_changed: YouTube applied a different privacy than the one requested (for example a forced private). The post itself stays published; reason holds the platform's answer. Returned by GET /social/posts and GET /social/posts/{post_id}.
616
+ */
617
+ publish_notes?: Array<{
618
+ platform?: string;
619
+ kind?: 'first_comment' | 'share_to_story' | 'privacy_changed';
620
+ /**
621
+ * The account's name, when known.
622
+ */
623
+ account?: string;
624
+ reason?: string;
625
+ }>;
614
626
  };
615
627
  type SocialPostResponse = {
616
628
  success?: true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartlyqofficial/node",
3
- "version": "0.1.72",
3
+ "version": "0.1.73",
4
4
  "description": "Official Node.js SDK for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
5
5
  "keywords": [
6
6
  "smartlyq",