@adspireai/adspire-node-sdk 1.0.52 → 1.0.54

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.
Files changed (2) hide show
  1. package/dist/types.gen.d.ts +25 -20
  2. package/package.json +1 -1
@@ -196,11 +196,16 @@ export type WebhookLogs = {
196
196
  };
197
197
  export type Whiteboards = {
198
198
  id?: string;
199
- brand_id: string;
199
+ brand_id?: string | null;
200
+ campaign_id?: string | null;
201
+ workspace_id: string;
200
202
  title: string;
201
- description?: string;
202
- owner_id?: string;
203
- team?: string;
203
+ start_date?: string | null;
204
+ end_date?: string | null;
205
+ team?: string | null;
206
+ shared?: {
207
+ [key: string]: unknown;
208
+ } | null;
204
209
  created_at?: string;
205
210
  updated_at?: string;
206
211
  };
@@ -210,26 +215,26 @@ export type WhiteboardsWithPosts = Whiteboards & {
210
215
  export type WhiteboardPosts = {
211
216
  id?: string;
212
217
  whiteboard_id: string;
213
- type?: PostType;
214
- platform?: PostPlatform;
215
- content?: string;
216
- title?: string;
217
- image_url?: string;
218
- post_date?: string;
219
- keywords?: Array<string>;
220
- notes?: string;
221
- tags?: Array<string>;
218
+ type?: PostType | null;
219
+ platform?: PostPlatform | null;
220
+ content?: string | null;
221
+ title?: string | null;
222
+ image_url?: string | null;
223
+ post_date?: string | null;
224
+ keywords?: Array<string> | null;
225
+ notes?: string | null;
226
+ tags?: Array<string> | null;
222
227
  platform_metadata?: {
223
228
  [key: string]: unknown;
224
- };
225
- status?: PostStatus;
226
- platform_ad_id?: string;
227
- ad_status?: string;
228
- ad_budget?: number;
229
- ad_objective?: string;
229
+ } | null;
230
+ status?: PostStatus | null;
231
+ platform_ad_id?: string | null;
232
+ ad_status?: string | null;
233
+ ad_budget?: number | null;
234
+ ad_objective?: string | null;
230
235
  ad_targeting?: {
231
236
  [key: string]: unknown;
232
- };
237
+ } | null;
233
238
  order?: number;
234
239
  created_at?: string;
235
240
  updated_at?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adspireai/adspire-node-sdk",
3
- "version": "1.0.52",
3
+ "version": "1.0.54",
4
4
  "description": "Official Node.js SDK for AdspireAI API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",