import GlipCreatePost from "../definitions/GlipCreatePost"; import GlipPostInfo from "../definitions/GlipPostInfo"; import GlipPosts from "../definitions/GlipPosts"; import PathSegment from "../PathSegment"; export default class Posts extends PathSegment { constructor(prv: PathSegment, id?: string, service?: any); /** *

Since 1.0.28 (Release 8.4)

Returns list of posts.

Required Permissions

PermissionDescription
GlipAvailability of Glip

API Group

Light

*/ list(query?: ListQuery): Promise; /** *

Since 1.0.28 (Release 8.4)

Returns list of posts.

Required Permissions

PermissionDescription
GlipAvailability of Glip

API Group

Light

* return {ApiResponse} */ listRaw(query?: ListQuery): Promise; /** *

Since 1.0.28 (Release 8.4)

Creates a post.

Required Permissions

PermissionDescription
GlipAvailability of Glip

API Group

Light

*/ post(body: GlipCreatePost): Promise; /** *

Since 1.0.28 (Release 8.4)

Creates a post.

Required Permissions

PermissionDescription
GlipAvailability of Glip

API Group

Light

* return {ApiResponse} */ postRaw(body: GlipCreatePost): Promise; } export interface ListQuery { /** * Token of a page to be returned, see Glip Navigation Info */ pageToken?: string; /** * Max numbers of records to be returned. The default/maximum value is 250 */ recordCount?: number; }