@smartlyqofficial/node 0.1.75 → 0.1.76

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
@@ -643,6 +643,67 @@ type SocialPost = {
643
643
  scheduled_time?: string;
644
644
  published_at?: string;
645
645
  created_at?: string;
646
+ /**
647
+ * The social accounts the post goes to (the account_ids you sent, account groups expanded).
648
+ */
649
+ account_ids?: Array<number>;
650
+ /**
651
+ * When the post last changed.
652
+ */
653
+ updated_at?: string;
654
+ /**
655
+ * The media attached to the post.
656
+ */
657
+ media_urls?: Array<string>;
658
+ /**
659
+ * Per-platform options as stored (the same keys you send). The top-level link you sent lives here, under the platform that has a link field (e.g. facebook.link).
660
+ */
661
+ platform_options?: {
662
+ [key: string]: unknown;
663
+ };
664
+ /**
665
+ * Per-platform text or media set in the app ("Customize channel"), keyed by platform; null when every platform got the same content. Read only.
666
+ */
667
+ platform_overrides?: {
668
+ [key: string]: unknown;
669
+ };
670
+ /**
671
+ * The posting queue the post was placed in, or null.
672
+ */
673
+ queue_id?: number;
674
+ /**
675
+ * Evergreen recycling settings, or null when the post does not recycle.
676
+ */
677
+ recycle?: {
678
+ interval_hours?: number;
679
+ until?: string;
680
+ max?: number;
681
+ /**
682
+ * Occurrences published so far.
683
+ */
684
+ count?: number;
685
+ };
686
+ /**
687
+ * none (no approval needed) | pending | approved | rejected.
688
+ */
689
+ approval_status?: string;
690
+ /**
691
+ * Why an approver rejected the post.
692
+ */
693
+ rejection_reason?: string;
694
+ approved_at?: string;
695
+ /**
696
+ * Where the post was made: api, app, mcp and so on.
697
+ */
698
+ created_via?: string;
699
+ /**
700
+ * Who wrote the post. Keys of an owner, admin or approver also see teammates' posts (same rule as the app).
701
+ */
702
+ author_name?: string;
703
+ /**
704
+ * Whether this key may change the post (update, delete, unpublish, edit): its own posts, or any post for an owner or admin key.
705
+ */
706
+ can_manage?: boolean;
646
707
  /**
647
708
  * Live progress inside a publish run: validating (pre-publish checks), processing_media (auto-transcode inspecting/converting media), publishing (dispatching to platforms). null when the post is idle or has reached a final status.
648
709
  */
@@ -9425,6 +9486,10 @@ type UnpublishPostErrors = {
9425
9486
  * Missing or invalid API key
9426
9487
  */
9427
9488
  401: ErrorResponse;
9489
+ /**
9490
+ * Forbidden (scope or access)
9491
+ */
9492
+ 403: ErrorResponse;
9428
9493
  /**
9429
9494
  * Resource not found
9430
9495
  */
@@ -9620,6 +9685,10 @@ type StopPostRecycleErrors = {
9620
9685
  * Missing or invalid API key
9621
9686
  */
9622
9687
  401: ErrorResponse;
9688
+ /**
9689
+ * Forbidden (scope or access)
9690
+ */
9691
+ 403: ErrorResponse;
9623
9692
  /**
9624
9693
  * Resource not found
9625
9694
  */
@@ -12220,6 +12289,10 @@ type EditPublishedPostErrors = {
12220
12289
  * Missing or invalid API key
12221
12290
  */
12222
12291
  401: ErrorResponse;
12292
+ /**
12293
+ * Forbidden (scope or access)
12294
+ */
12295
+ 403: ErrorResponse;
12223
12296
  /**
12224
12297
  * Resource not found
12225
12298
  */
@@ -12271,6 +12344,10 @@ type UpdatePostMetadataErrors = {
12271
12344
  * Missing or invalid API key
12272
12345
  */
12273
12346
  401: ErrorResponse;
12347
+ /**
12348
+ * Forbidden (scope or access)
12349
+ */
12350
+ 403: ErrorResponse;
12274
12351
  /**
12275
12352
  * Resource not found
12276
12353
  */
package/dist/index.d.ts CHANGED
@@ -643,6 +643,67 @@ type SocialPost = {
643
643
  scheduled_time?: string;
644
644
  published_at?: string;
645
645
  created_at?: string;
646
+ /**
647
+ * The social accounts the post goes to (the account_ids you sent, account groups expanded).
648
+ */
649
+ account_ids?: Array<number>;
650
+ /**
651
+ * When the post last changed.
652
+ */
653
+ updated_at?: string;
654
+ /**
655
+ * The media attached to the post.
656
+ */
657
+ media_urls?: Array<string>;
658
+ /**
659
+ * Per-platform options as stored (the same keys you send). The top-level link you sent lives here, under the platform that has a link field (e.g. facebook.link).
660
+ */
661
+ platform_options?: {
662
+ [key: string]: unknown;
663
+ };
664
+ /**
665
+ * Per-platform text or media set in the app ("Customize channel"), keyed by platform; null when every platform got the same content. Read only.
666
+ */
667
+ platform_overrides?: {
668
+ [key: string]: unknown;
669
+ };
670
+ /**
671
+ * The posting queue the post was placed in, or null.
672
+ */
673
+ queue_id?: number;
674
+ /**
675
+ * Evergreen recycling settings, or null when the post does not recycle.
676
+ */
677
+ recycle?: {
678
+ interval_hours?: number;
679
+ until?: string;
680
+ max?: number;
681
+ /**
682
+ * Occurrences published so far.
683
+ */
684
+ count?: number;
685
+ };
686
+ /**
687
+ * none (no approval needed) | pending | approved | rejected.
688
+ */
689
+ approval_status?: string;
690
+ /**
691
+ * Why an approver rejected the post.
692
+ */
693
+ rejection_reason?: string;
694
+ approved_at?: string;
695
+ /**
696
+ * Where the post was made: api, app, mcp and so on.
697
+ */
698
+ created_via?: string;
699
+ /**
700
+ * Who wrote the post. Keys of an owner, admin or approver also see teammates' posts (same rule as the app).
701
+ */
702
+ author_name?: string;
703
+ /**
704
+ * Whether this key may change the post (update, delete, unpublish, edit): its own posts, or any post for an owner or admin key.
705
+ */
706
+ can_manage?: boolean;
646
707
  /**
647
708
  * Live progress inside a publish run: validating (pre-publish checks), processing_media (auto-transcode inspecting/converting media), publishing (dispatching to platforms). null when the post is idle or has reached a final status.
648
709
  */
@@ -9425,6 +9486,10 @@ type UnpublishPostErrors = {
9425
9486
  * Missing or invalid API key
9426
9487
  */
9427
9488
  401: ErrorResponse;
9489
+ /**
9490
+ * Forbidden (scope or access)
9491
+ */
9492
+ 403: ErrorResponse;
9428
9493
  /**
9429
9494
  * Resource not found
9430
9495
  */
@@ -9620,6 +9685,10 @@ type StopPostRecycleErrors = {
9620
9685
  * Missing or invalid API key
9621
9686
  */
9622
9687
  401: ErrorResponse;
9688
+ /**
9689
+ * Forbidden (scope or access)
9690
+ */
9691
+ 403: ErrorResponse;
9623
9692
  /**
9624
9693
  * Resource not found
9625
9694
  */
@@ -12220,6 +12289,10 @@ type EditPublishedPostErrors = {
12220
12289
  * Missing or invalid API key
12221
12290
  */
12222
12291
  401: ErrorResponse;
12292
+ /**
12293
+ * Forbidden (scope or access)
12294
+ */
12295
+ 403: ErrorResponse;
12223
12296
  /**
12224
12297
  * Resource not found
12225
12298
  */
@@ -12271,6 +12344,10 @@ type UpdatePostMetadataErrors = {
12271
12344
  * Missing or invalid API key
12272
12345
  */
12273
12346
  401: ErrorResponse;
12347
+ /**
12348
+ * Forbidden (scope or access)
12349
+ */
12350
+ 403: ErrorResponse;
12274
12351
  /**
12275
12352
  * Resource not found
12276
12353
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartlyqofficial/node",
3
- "version": "0.1.75",
3
+ "version": "0.1.76",
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",