@adspireai/adspire-node-sdk 1.0.60 → 1.0.62

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.
@@ -1,6 +1,29 @@
1
1
  export type PostPlatform = 'facebook' | 'linkedin' | 'blog' | 'google_ads' | 'figma';
2
+ export declare const PostPlatform: {
3
+ readonly FACEBOOK: "facebook";
4
+ readonly LINKEDIN: "linkedin";
5
+ readonly BLOG: "blog";
6
+ readonly GOOGLE_ADS: "google_ads";
7
+ readonly FIGMA: "figma";
8
+ };
2
9
  export type PostStatus = 'draft' | 'scheduled' | 'published' | 'error';
10
+ export declare const PostStatus: {
11
+ readonly DRAFT: "draft";
12
+ readonly SCHEDULED: "scheduled";
13
+ readonly PUBLISHED: "published";
14
+ readonly ERROR: "error";
15
+ };
3
16
  export type PostType = 'carousel' | 'reel' | 'short' | 'single_image' | 'video' | 'story' | 'article' | 'design';
17
+ export declare const PostType: {
18
+ readonly CAROUSEL: "carousel";
19
+ readonly REEL: "reel";
20
+ readonly SHORT: "short";
21
+ readonly SINGLE_IMAGE: "single_image";
22
+ readonly VIDEO: "video";
23
+ readonly STORY: "story";
24
+ readonly ARTICLE: "article";
25
+ readonly DESIGN: "design";
26
+ };
4
27
  export type AiCreditUsage = {
5
28
  id?: number;
6
29
  brand_id: string;
@@ -63,6 +86,7 @@ export type Campaigns = {
63
86
  start_date?: string;
64
87
  end_date?: string;
65
88
  status?: string;
89
+ whiteboard?: Whiteboards;
66
90
  created_at?: string;
67
91
  updated_at?: string;
68
92
  };
@@ -210,6 +234,7 @@ export type Whiteboards = {
210
234
  updated_at?: string;
211
235
  };
212
236
  export type WhiteboardsWithPosts = Whiteboards & {
237
+ campaign?: Campaigns;
213
238
  posts?: Array<WhiteboardPosts>;
214
239
  };
215
240
  export type WhiteboardPosts = {
package/dist/types.gen.js CHANGED
@@ -1,4 +1,28 @@
1
1
  "use strict";
2
2
  // This file is auto-generated by @hey-api/openapi-ts
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PostType = exports.PostStatus = exports.PostPlatform = void 0;
5
+ exports.PostPlatform = {
6
+ FACEBOOK: 'facebook',
7
+ LINKEDIN: 'linkedin',
8
+ BLOG: 'blog',
9
+ GOOGLE_ADS: 'google_ads',
10
+ FIGMA: 'figma'
11
+ };
12
+ exports.PostStatus = {
13
+ DRAFT: 'draft',
14
+ SCHEDULED: 'scheduled',
15
+ PUBLISHED: 'published',
16
+ ERROR: 'error'
17
+ };
18
+ exports.PostType = {
19
+ CAROUSEL: 'carousel',
20
+ REEL: 'reel',
21
+ SHORT: 'short',
22
+ SINGLE_IMAGE: 'single_image',
23
+ VIDEO: 'video',
24
+ STORY: 'story',
25
+ ARTICLE: 'article',
26
+ DESIGN: 'design'
27
+ };
4
28
  //# sourceMappingURL=types.gen.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.gen.js","sourceRoot":"","sources":["../src/types.gen.ts"],"names":[],"mappings":";AAAA,qDAAqD"}
1
+ {"version":3,"file":"types.gen.js","sourceRoot":"","sources":["../src/types.gen.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAIxC,QAAA,YAAY,GAAG;IACxB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;CACR,CAAC;AAIE,QAAA,UAAU,GAAG;IACtB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;CACR,CAAC;AAIE,QAAA,QAAQ,GAAG;IACpB,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACV,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adspireai/adspire-node-sdk",
3
- "version": "1.0.60",
3
+ "version": "1.0.62",
4
4
  "description": "Official Node.js SDK for AdspireAI API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",