/*********************************************************************************************************************** * This file is auto-generated. If you have an issue, please create a GitHub issue. * ***********************************************************************************************************************/ import {Base, FindAllResponse} from '../../base'; import {ResourcePath, ResourceNames} from '../../types'; import {Session} from '../../../lib/session/session'; import {ApiVersion} from '../../../lib/types'; interface AllArgs { [key: string]: unknown; session: Session; } export class ResourceFeedback extends Base { public static apiVersion = ApiVersion.October25; protected static hasOne: {[key: string]: typeof Base} = {}; protected static hasMany: {[key: string]: typeof Base} = {}; protected static paths: ResourcePath[] = [ {"http_method": "get", "operation": "get", "ids": [], "path": "resource_feedback.json"}, {"http_method": "post", "operation": "post", "ids": [], "path": "resource_feedback.json"} ]; protected static resourceNames: ResourceNames[] = [ { "singular": "resource_feedback", "plural": "resource_feedbacks" } ]; public static async all( { session, ...otherArgs }: AllArgs ): Promise> { const response = await this.baseFind({ session: session, urlIds: {}, params: {...otherArgs}, }); return response; } public created_at: string | null; public feedback_generated_at: string | null; public messages: string[] | null; public resource_id: string | null; public resource_type: string | null; public state: string | null; public updated_at: string | null; }