@smartlyqofficial/node 0.1.26 → 0.1.27

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
@@ -16253,7 +16253,7 @@ type BulkAdCampaignStatusErrors = {
16253
16253
  type BulkAdCampaignStatusError = BulkAdCampaignStatusErrors[keyof BulkAdCampaignStatusErrors];
16254
16254
  type BulkAdCampaignStatusResponses = {
16255
16255
  /**
16256
- * Per-item results
16256
+ * Per-item results - every id succeeded
16257
16257
  */
16258
16258
  200: {
16259
16259
  success?: true;
@@ -16268,6 +16268,22 @@ type BulkAdCampaignStatusResponses = {
16268
16268
  };
16269
16269
  meta?: RequestMeta;
16270
16270
  };
16271
+ /**
16272
+ * Per-item results - at least one id failed (partial success)
16273
+ */
16274
+ 207: {
16275
+ success?: true;
16276
+ data?: {
16277
+ ok?: number;
16278
+ results?: Array<{
16279
+ id?: number;
16280
+ ok?: number;
16281
+ error?: string;
16282
+ cooldown_warning?: string;
16283
+ }>;
16284
+ };
16285
+ meta?: RequestMeta;
16286
+ };
16271
16287
  };
16272
16288
  type BulkAdCampaignStatusResponse = BulkAdCampaignStatusResponses[keyof BulkAdCampaignStatusResponses];
16273
16289
  type ListAdSetsData = {
package/dist/index.d.ts CHANGED
@@ -16253,7 +16253,7 @@ type BulkAdCampaignStatusErrors = {
16253
16253
  type BulkAdCampaignStatusError = BulkAdCampaignStatusErrors[keyof BulkAdCampaignStatusErrors];
16254
16254
  type BulkAdCampaignStatusResponses = {
16255
16255
  /**
16256
- * Per-item results
16256
+ * Per-item results - every id succeeded
16257
16257
  */
16258
16258
  200: {
16259
16259
  success?: true;
@@ -16268,6 +16268,22 @@ type BulkAdCampaignStatusResponses = {
16268
16268
  };
16269
16269
  meta?: RequestMeta;
16270
16270
  };
16271
+ /**
16272
+ * Per-item results - at least one id failed (partial success)
16273
+ */
16274
+ 207: {
16275
+ success?: true;
16276
+ data?: {
16277
+ ok?: number;
16278
+ results?: Array<{
16279
+ id?: number;
16280
+ ok?: number;
16281
+ error?: string;
16282
+ cooldown_warning?: string;
16283
+ }>;
16284
+ };
16285
+ meta?: RequestMeta;
16286
+ };
16271
16287
  };
16272
16288
  type BulkAdCampaignStatusResponse = BulkAdCampaignStatusResponses[keyof BulkAdCampaignStatusResponses];
16273
16289
  type ListAdSetsData = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartlyqofficial/node",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
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",