facebook-nodejs-business-sdk
Version:
SDK for the Facebook Marketing API in Javascript and Node.js
42 lines (38 loc) • 1.22 kB
JavaScript
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import {AbstractCrudObject} from './../abstract-crud-object';
/**
* DraftPost
* @extends AbstractCrudObject
* @see {@link https://developers.facebook.com/docs/marketing-api/}
*/
export default class DraftPost extends AbstractCrudObject {
static get Fields (): Object {
return Object.freeze({
admin_creator: 'admin_creator',
creation_time: 'creation_time',
feed_audience_description: 'feed_audience_description',
feed_targeting: 'feed_targeting',
id: 'id',
is_post_in_good_state: 'is_post_in_good_state',
message: 'message',
modified_time: 'modified_time',
og_action_summary: 'og_action_summary',
permalink_url: 'permalink_url',
place: 'place',
privacy_description: 'privacy_description',
scheduled_failure_notice: 'scheduled_failure_notice',
scheduled_publish_time: 'scheduled_publish_time',
story_token: 'story_token',
thumbnail: 'thumbnail',
video_id: 'video_id',
});
}
}