@smartlyqofficial/node 0.1.54 → 0.1.55

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
@@ -9183,6 +9183,20 @@ type ValidatePostData = {
9183
9183
  * Media URLs the post would carry (used for required-media and extension checks).
9184
9184
  */
9185
9185
  media_urls?: Array<string>;
9186
+ /**
9187
+ * Optional. Per-platform options as on create (post type, TikTok privacy, ...). The post type decides which media a platform needs.
9188
+ */
9189
+ platform_options?: {
9190
+ [key: string]: {
9191
+ [key: string]: unknown;
9192
+ };
9193
+ };
9194
+ /**
9195
+ * Optional. Per-platform text and media as on create; each platform is checked against its own.
9196
+ */
9197
+ platform_overrides?: {
9198
+ [key: string]: unknown;
9199
+ };
9186
9200
  };
9187
9201
  path?: never;
9188
9202
  query?: never;
@@ -9211,6 +9225,12 @@ type ValidatePostResponses = {
9211
9225
  * Human-readable, actionable problems (empty when valid).
9212
9226
  */
9213
9227
  errors?: Array<string>;
9228
+ /**
9229
+ * Non-blocking advisories per platform (e.g. aspect ratio); they do not make the post invalid.
9230
+ */
9231
+ warnings?: {
9232
+ [key: string]: Array<string>;
9233
+ };
9214
9234
  platforms?: {
9215
9235
  [key: string]: {
9216
9236
  characters?: number;
package/dist/index.d.ts CHANGED
@@ -9183,6 +9183,20 @@ type ValidatePostData = {
9183
9183
  * Media URLs the post would carry (used for required-media and extension checks).
9184
9184
  */
9185
9185
  media_urls?: Array<string>;
9186
+ /**
9187
+ * Optional. Per-platform options as on create (post type, TikTok privacy, ...). The post type decides which media a platform needs.
9188
+ */
9189
+ platform_options?: {
9190
+ [key: string]: {
9191
+ [key: string]: unknown;
9192
+ };
9193
+ };
9194
+ /**
9195
+ * Optional. Per-platform text and media as on create; each platform is checked against its own.
9196
+ */
9197
+ platform_overrides?: {
9198
+ [key: string]: unknown;
9199
+ };
9186
9200
  };
9187
9201
  path?: never;
9188
9202
  query?: never;
@@ -9211,6 +9225,12 @@ type ValidatePostResponses = {
9211
9225
  * Human-readable, actionable problems (empty when valid).
9212
9226
  */
9213
9227
  errors?: Array<string>;
9228
+ /**
9229
+ * Non-blocking advisories per platform (e.g. aspect ratio); they do not make the post invalid.
9230
+ */
9231
+ warnings?: {
9232
+ [key: string]: Array<string>;
9233
+ };
9214
9234
  platforms?: {
9215
9235
  [key: string]: {
9216
9236
  characters?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartlyqofficial/node",
3
- "version": "0.1.54",
3
+ "version": "0.1.55",
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",