1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623 |
- import { Long } from 'long'
- import * as $protobuf from "protobufjs";
- /** Properties of a ChannelMetadata. */
- export interface IChannelMetadata {
- /** ChannelMetadata title */
- title?: (string|null);
- /** ChannelMetadata description */
- description?: (string|null);
- /** ChannelMetadata isPublic */
- isPublic?: (boolean|null);
- /** ChannelMetadata language */
- language?: (string|null);
- /** ChannelMetadata coverPhoto */
- coverPhoto?: (number|null);
- /** ChannelMetadata avatarPhoto */
- avatarPhoto?: (number|null);
- /** ChannelMetadata category */
- category?: (Long|null);
- }
- /** Represents a ChannelMetadata. */
- export class ChannelMetadata implements IChannelMetadata {
- /**
- * Constructs a new ChannelMetadata.
- * @param [properties] Properties to set
- */
- constructor(properties?: IChannelMetadata);
- /** ChannelMetadata title. */
- public title: string;
- /** ChannelMetadata description. */
- public description: string;
- /** ChannelMetadata isPublic. */
- public isPublic: boolean;
- /** ChannelMetadata language. */
- public language: string;
- /** ChannelMetadata coverPhoto. */
- public coverPhoto: number;
- /** ChannelMetadata avatarPhoto. */
- public avatarPhoto: number;
- /** ChannelMetadata category. */
- public category: Long;
- /**
- * Creates a new ChannelMetadata instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ChannelMetadata instance
- */
- public static create(properties?: IChannelMetadata): ChannelMetadata;
- /**
- * Encodes the specified ChannelMetadata message. Does not implicitly {@link ChannelMetadata.verify|verify} messages.
- * @param message ChannelMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IChannelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ChannelMetadata message, length delimited. Does not implicitly {@link ChannelMetadata.verify|verify} messages.
- * @param message ChannelMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IChannelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a ChannelMetadata message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ChannelMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ChannelMetadata;
- /**
- * Decodes a ChannelMetadata message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ChannelMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ChannelMetadata;
- /**
- * Verifies a ChannelMetadata message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a ChannelMetadata message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns ChannelMetadata
- */
- public static fromObject(object: { [k: string]: any }): ChannelMetadata;
- /**
- * Creates a plain object from a ChannelMetadata message. Also converts values to other types if specified.
- * @param message ChannelMetadata
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: ChannelMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ChannelMetadata to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a ChannelCategoryMetadata. */
- export interface IChannelCategoryMetadata {
- /** ChannelCategoryMetadata name */
- name?: (string|null);
- }
- /** Represents a ChannelCategoryMetadata. */
- export class ChannelCategoryMetadata implements IChannelCategoryMetadata {
- /**
- * Constructs a new ChannelCategoryMetadata.
- * @param [properties] Properties to set
- */
- constructor(properties?: IChannelCategoryMetadata);
- /** ChannelCategoryMetadata name. */
- public name: string;
- /**
- * Creates a new ChannelCategoryMetadata instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ChannelCategoryMetadata instance
- */
- public static create(properties?: IChannelCategoryMetadata): ChannelCategoryMetadata;
- /**
- * Encodes the specified ChannelCategoryMetadata message. Does not implicitly {@link ChannelCategoryMetadata.verify|verify} messages.
- * @param message ChannelCategoryMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IChannelCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ChannelCategoryMetadata message, length delimited. Does not implicitly {@link ChannelCategoryMetadata.verify|verify} messages.
- * @param message ChannelCategoryMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IChannelCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a ChannelCategoryMetadata message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ChannelCategoryMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ChannelCategoryMetadata;
- /**
- * Decodes a ChannelCategoryMetadata message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ChannelCategoryMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ChannelCategoryMetadata;
- /**
- * Verifies a ChannelCategoryMetadata message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a ChannelCategoryMetadata message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns ChannelCategoryMetadata
- */
- public static fromObject(object: { [k: string]: any }): ChannelCategoryMetadata;
- /**
- * Creates a plain object from a ChannelCategoryMetadata message. Also converts values to other types if specified.
- * @param message ChannelCategoryMetadata
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: ChannelCategoryMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ChannelCategoryMetadata to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a CouncilCandidacyNoteMetadata. */
- export interface ICouncilCandidacyNoteMetadata {
- /** CouncilCandidacyNoteMetadata header */
- header?: (string|null);
- /** CouncilCandidacyNoteMetadata bulletPoints */
- bulletPoints?: (string[]|null);
- /** CouncilCandidacyNoteMetadata bannerImageUri */
- bannerImageUri?: (string|null);
- /** CouncilCandidacyNoteMetadata description */
- description?: (string|null);
- }
- /** Represents a CouncilCandidacyNoteMetadata. */
- export class CouncilCandidacyNoteMetadata implements ICouncilCandidacyNoteMetadata {
- /**
- * Constructs a new CouncilCandidacyNoteMetadata.
- * @param [properties] Properties to set
- */
- constructor(properties?: ICouncilCandidacyNoteMetadata);
- /** CouncilCandidacyNoteMetadata header. */
- public header: string;
- /** CouncilCandidacyNoteMetadata bulletPoints. */
- public bulletPoints: string[];
- /** CouncilCandidacyNoteMetadata bannerImageUri. */
- public bannerImageUri: string;
- /** CouncilCandidacyNoteMetadata description. */
- public description: string;
- /**
- * Creates a new CouncilCandidacyNoteMetadata instance using the specified properties.
- * @param [properties] Properties to set
- * @returns CouncilCandidacyNoteMetadata instance
- */
- public static create(properties?: ICouncilCandidacyNoteMetadata): CouncilCandidacyNoteMetadata;
- /**
- * Encodes the specified CouncilCandidacyNoteMetadata message. Does not implicitly {@link CouncilCandidacyNoteMetadata.verify|verify} messages.
- * @param message CouncilCandidacyNoteMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: ICouncilCandidacyNoteMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified CouncilCandidacyNoteMetadata message, length delimited. Does not implicitly {@link CouncilCandidacyNoteMetadata.verify|verify} messages.
- * @param message CouncilCandidacyNoteMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: ICouncilCandidacyNoteMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a CouncilCandidacyNoteMetadata message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns CouncilCandidacyNoteMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CouncilCandidacyNoteMetadata;
- /**
- * Decodes a CouncilCandidacyNoteMetadata message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns CouncilCandidacyNoteMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CouncilCandidacyNoteMetadata;
- /**
- * Verifies a CouncilCandidacyNoteMetadata message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a CouncilCandidacyNoteMetadata message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns CouncilCandidacyNoteMetadata
- */
- public static fromObject(object: { [k: string]: any }): CouncilCandidacyNoteMetadata;
- /**
- * Creates a plain object from a CouncilCandidacyNoteMetadata message. Also converts values to other types if specified.
- * @param message CouncilCandidacyNoteMetadata
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: CouncilCandidacyNoteMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this CouncilCandidacyNoteMetadata to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a ForumPostReaction. */
- export interface IForumPostReaction {
- }
- /** Represents a ForumPostReaction. */
- export class ForumPostReaction implements IForumPostReaction {
- /**
- * Constructs a new ForumPostReaction.
- * @param [properties] Properties to set
- */
- constructor(properties?: IForumPostReaction);
- /**
- * Creates a new ForumPostReaction instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ForumPostReaction instance
- */
- public static create(properties?: IForumPostReaction): ForumPostReaction;
- /**
- * Encodes the specified ForumPostReaction message. Does not implicitly {@link ForumPostReaction.verify|verify} messages.
- * @param message ForumPostReaction message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IForumPostReaction, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ForumPostReaction message, length delimited. Does not implicitly {@link ForumPostReaction.verify|verify} messages.
- * @param message ForumPostReaction message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IForumPostReaction, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a ForumPostReaction message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ForumPostReaction
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ForumPostReaction;
- /**
- * Decodes a ForumPostReaction message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ForumPostReaction
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ForumPostReaction;
- /**
- * Verifies a ForumPostReaction message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a ForumPostReaction message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns ForumPostReaction
- */
- public static fromObject(object: { [k: string]: any }): ForumPostReaction;
- /**
- * Creates a plain object from a ForumPostReaction message. Also converts values to other types if specified.
- * @param message ForumPostReaction
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: ForumPostReaction, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ForumPostReaction to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- export namespace ForumPostReaction {
- /** Reaction enum. */
- enum Reaction {
- CANCEL = 0,
- LIKE = 1
- }
- }
- /** Properties of a ForumPostMetadata. */
- export interface IForumPostMetadata {
- /** ForumPostMetadata text */
- text?: (string|null);
- /** ForumPostMetadata repliesTo */
- repliesTo?: (number|null);
- }
- /** Represents a ForumPostMetadata. */
- export class ForumPostMetadata implements IForumPostMetadata {
- /**
- * Constructs a new ForumPostMetadata.
- * @param [properties] Properties to set
- */
- constructor(properties?: IForumPostMetadata);
- /** ForumPostMetadata text. */
- public text: string;
- /** ForumPostMetadata repliesTo. */
- public repliesTo: number;
- /**
- * Creates a new ForumPostMetadata instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ForumPostMetadata instance
- */
- public static create(properties?: IForumPostMetadata): ForumPostMetadata;
- /**
- * Encodes the specified ForumPostMetadata message. Does not implicitly {@link ForumPostMetadata.verify|verify} messages.
- * @param message ForumPostMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IForumPostMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ForumPostMetadata message, length delimited. Does not implicitly {@link ForumPostMetadata.verify|verify} messages.
- * @param message ForumPostMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IForumPostMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a ForumPostMetadata message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ForumPostMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ForumPostMetadata;
- /**
- * Decodes a ForumPostMetadata message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ForumPostMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ForumPostMetadata;
- /**
- * Verifies a ForumPostMetadata message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a ForumPostMetadata message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns ForumPostMetadata
- */
- public static fromObject(object: { [k: string]: any }): ForumPostMetadata;
- /**
- * Creates a plain object from a ForumPostMetadata message. Also converts values to other types if specified.
- * @param message ForumPostMetadata
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: ForumPostMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ForumPostMetadata to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a ForumThreadMetadata. */
- export interface IForumThreadMetadata {
- /** ForumThreadMetadata title */
- title?: (string|null);
- /** ForumThreadMetadata tags */
- tags?: (string[]|null);
- }
- /** Represents a ForumThreadMetadata. */
- export class ForumThreadMetadata implements IForumThreadMetadata {
- /**
- * Constructs a new ForumThreadMetadata.
- * @param [properties] Properties to set
- */
- constructor(properties?: IForumThreadMetadata);
- /** ForumThreadMetadata title. */
- public title: string;
- /** ForumThreadMetadata tags. */
- public tags: string[];
- /**
- * Creates a new ForumThreadMetadata instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ForumThreadMetadata instance
- */
- public static create(properties?: IForumThreadMetadata): ForumThreadMetadata;
- /**
- * Encodes the specified ForumThreadMetadata message. Does not implicitly {@link ForumThreadMetadata.verify|verify} messages.
- * @param message ForumThreadMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IForumThreadMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ForumThreadMetadata message, length delimited. Does not implicitly {@link ForumThreadMetadata.verify|verify} messages.
- * @param message ForumThreadMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IForumThreadMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a ForumThreadMetadata message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ForumThreadMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ForumThreadMetadata;
- /**
- * Decodes a ForumThreadMetadata message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ForumThreadMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ForumThreadMetadata;
- /**
- * Verifies a ForumThreadMetadata message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a ForumThreadMetadata message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns ForumThreadMetadata
- */
- public static fromObject(object: { [k: string]: any }): ForumThreadMetadata;
- /**
- * Creates a plain object from a ForumThreadMetadata message. Also converts values to other types if specified.
- * @param message ForumThreadMetadata
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: ForumThreadMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ForumThreadMetadata to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a MembershipMetadata. */
- export interface IMembershipMetadata {
- /** MembershipMetadata name */
- name?: (string|null);
- /** MembershipMetadata avatar */
- avatar?: (number|null);
- /** MembershipMetadata about */
- about?: (string|null);
- }
- /** Represents a MembershipMetadata. */
- export class MembershipMetadata implements IMembershipMetadata {
- /**
- * Constructs a new MembershipMetadata.
- * @param [properties] Properties to set
- */
- constructor(properties?: IMembershipMetadata);
- /** MembershipMetadata name. */
- public name: string;
- /** MembershipMetadata avatar. */
- public avatar: number;
- /** MembershipMetadata about. */
- public about: string;
- /**
- * Creates a new MembershipMetadata instance using the specified properties.
- * @param [properties] Properties to set
- * @returns MembershipMetadata instance
- */
- public static create(properties?: IMembershipMetadata): MembershipMetadata;
- /**
- * Encodes the specified MembershipMetadata message. Does not implicitly {@link MembershipMetadata.verify|verify} messages.
- * @param message MembershipMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IMembershipMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified MembershipMetadata message, length delimited. Does not implicitly {@link MembershipMetadata.verify|verify} messages.
- * @param message MembershipMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IMembershipMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a MembershipMetadata message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns MembershipMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MembershipMetadata;
- /**
- * Decodes a MembershipMetadata message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns MembershipMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MembershipMetadata;
- /**
- * Verifies a MembershipMetadata message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a MembershipMetadata message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns MembershipMetadata
- */
- public static fromObject(object: { [k: string]: any }): MembershipMetadata;
- /**
- * Creates a plain object from a MembershipMetadata message. Also converts values to other types if specified.
- * @param message MembershipMetadata
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: MembershipMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this MembershipMetadata to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a PersonMetadata. */
- export interface IPersonMetadata {
- /** PersonMetadata firstName */
- firstName?: (string|null);
- /** PersonMetadata middleName */
- middleName?: (string|null);
- /** PersonMetadata lastName */
- lastName?: (string|null);
- /** PersonMetadata about */
- about?: (string|null);
- /** PersonMetadata coverPhoto */
- coverPhoto?: (number|null);
- /** PersonMetadata avatarPhoto */
- avatarPhoto?: (number|null);
- }
- /** Represents a PersonMetadata. */
- export class PersonMetadata implements IPersonMetadata {
- /**
- * Constructs a new PersonMetadata.
- * @param [properties] Properties to set
- */
- constructor(properties?: IPersonMetadata);
- /** PersonMetadata firstName. */
- public firstName: string;
- /** PersonMetadata middleName. */
- public middleName: string;
- /** PersonMetadata lastName. */
- public lastName: string;
- /** PersonMetadata about. */
- public about: string;
- /** PersonMetadata coverPhoto. */
- public coverPhoto: number;
- /** PersonMetadata avatarPhoto. */
- public avatarPhoto: number;
- /**
- * Creates a new PersonMetadata instance using the specified properties.
- * @param [properties] Properties to set
- * @returns PersonMetadata instance
- */
- public static create(properties?: IPersonMetadata): PersonMetadata;
- /**
- * Encodes the specified PersonMetadata message. Does not implicitly {@link PersonMetadata.verify|verify} messages.
- * @param message PersonMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IPersonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified PersonMetadata message, length delimited. Does not implicitly {@link PersonMetadata.verify|verify} messages.
- * @param message PersonMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IPersonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a PersonMetadata message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns PersonMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PersonMetadata;
- /**
- * Decodes a PersonMetadata message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns PersonMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PersonMetadata;
- /**
- * Verifies a PersonMetadata message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a PersonMetadata message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns PersonMetadata
- */
- public static fromObject(object: { [k: string]: any }): PersonMetadata;
- /**
- * Creates a plain object from a PersonMetadata message. Also converts values to other types if specified.
- * @param message PersonMetadata
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: PersonMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this PersonMetadata to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a PlaylistMetadata. */
- export interface IPlaylistMetadata {
- /** PlaylistMetadata title */
- title?: (string|null);
- /** PlaylistMetadata videos */
- videos?: (Long[]|null);
- }
- /** Represents a PlaylistMetadata. */
- export class PlaylistMetadata implements IPlaylistMetadata {
- /**
- * Constructs a new PlaylistMetadata.
- * @param [properties] Properties to set
- */
- constructor(properties?: IPlaylistMetadata);
- /** PlaylistMetadata title. */
- public title: string;
- /** PlaylistMetadata videos. */
- public videos: Long[];
- /**
- * Creates a new PlaylistMetadata instance using the specified properties.
- * @param [properties] Properties to set
- * @returns PlaylistMetadata instance
- */
- public static create(properties?: IPlaylistMetadata): PlaylistMetadata;
- /**
- * Encodes the specified PlaylistMetadata message. Does not implicitly {@link PlaylistMetadata.verify|verify} messages.
- * @param message PlaylistMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IPlaylistMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified PlaylistMetadata message, length delimited. Does not implicitly {@link PlaylistMetadata.verify|verify} messages.
- * @param message PlaylistMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IPlaylistMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a PlaylistMetadata message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns PlaylistMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PlaylistMetadata;
- /**
- * Decodes a PlaylistMetadata message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns PlaylistMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PlaylistMetadata;
- /**
- * Verifies a PlaylistMetadata message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a PlaylistMetadata message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns PlaylistMetadata
- */
- public static fromObject(object: { [k: string]: any }): PlaylistMetadata;
- /**
- * Creates a plain object from a PlaylistMetadata message. Also converts values to other types if specified.
- * @param message PlaylistMetadata
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: PlaylistMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this PlaylistMetadata to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a SeriesMetadata. */
- export interface ISeriesMetadata {
- /** SeriesMetadata title */
- title?: (string|null);
- /** SeriesMetadata description */
- description?: (string|null);
- /** SeriesMetadata coverPhoto */
- coverPhoto?: (number|null);
- /** SeriesMetadata persons */
- persons?: (Long[]|null);
- }
- /** Represents a SeriesMetadata. */
- export class SeriesMetadata implements ISeriesMetadata {
- /**
- * Constructs a new SeriesMetadata.
- * @param [properties] Properties to set
- */
- constructor(properties?: ISeriesMetadata);
- /** SeriesMetadata title. */
- public title: string;
- /** SeriesMetadata description. */
- public description: string;
- /** SeriesMetadata coverPhoto. */
- public coverPhoto: number;
- /** SeriesMetadata persons. */
- public persons: Long[];
- /**
- * Creates a new SeriesMetadata instance using the specified properties.
- * @param [properties] Properties to set
- * @returns SeriesMetadata instance
- */
- public static create(properties?: ISeriesMetadata): SeriesMetadata;
- /**
- * Encodes the specified SeriesMetadata message. Does not implicitly {@link SeriesMetadata.verify|verify} messages.
- * @param message SeriesMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: ISeriesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified SeriesMetadata message, length delimited. Does not implicitly {@link SeriesMetadata.verify|verify} messages.
- * @param message SeriesMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: ISeriesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a SeriesMetadata message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns SeriesMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SeriesMetadata;
- /**
- * Decodes a SeriesMetadata message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns SeriesMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SeriesMetadata;
- /**
- * Verifies a SeriesMetadata message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a SeriesMetadata message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns SeriesMetadata
- */
- public static fromObject(object: { [k: string]: any }): SeriesMetadata;
- /**
- * Creates a plain object from a SeriesMetadata message. Also converts values to other types if specified.
- * @param message SeriesMetadata
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: SeriesMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this SeriesMetadata to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a SeasonMetadata. */
- export interface ISeasonMetadata {
- /** SeasonMetadata title */
- title?: (string|null);
- /** SeasonMetadata description */
- description?: (string|null);
- /** SeasonMetadata coverPhoto */
- coverPhoto?: (number|null);
- /** SeasonMetadata persons */
- persons?: (Long[]|null);
- }
- /** Represents a SeasonMetadata. */
- export class SeasonMetadata implements ISeasonMetadata {
- /**
- * Constructs a new SeasonMetadata.
- * @param [properties] Properties to set
- */
- constructor(properties?: ISeasonMetadata);
- /** SeasonMetadata title. */
- public title: string;
- /** SeasonMetadata description. */
- public description: string;
- /** SeasonMetadata coverPhoto. */
- public coverPhoto: number;
- /** SeasonMetadata persons. */
- public persons: Long[];
- /**
- * Creates a new SeasonMetadata instance using the specified properties.
- * @param [properties] Properties to set
- * @returns SeasonMetadata instance
- */
- public static create(properties?: ISeasonMetadata): SeasonMetadata;
- /**
- * Encodes the specified SeasonMetadata message. Does not implicitly {@link SeasonMetadata.verify|verify} messages.
- * @param message SeasonMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: ISeasonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified SeasonMetadata message, length delimited. Does not implicitly {@link SeasonMetadata.verify|verify} messages.
- * @param message SeasonMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: ISeasonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a SeasonMetadata message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns SeasonMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SeasonMetadata;
- /**
- * Decodes a SeasonMetadata message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns SeasonMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SeasonMetadata;
- /**
- * Verifies a SeasonMetadata message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a SeasonMetadata message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns SeasonMetadata
- */
- public static fromObject(object: { [k: string]: any }): SeasonMetadata;
- /**
- * Creates a plain object from a SeasonMetadata message. Also converts values to other types if specified.
- * @param message SeasonMetadata
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: SeasonMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this SeasonMetadata to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a PublishedBeforeJoystream. */
- export interface IPublishedBeforeJoystream {
- /** PublishedBeforeJoystream isPublished */
- isPublished?: (boolean|null);
- /** PublishedBeforeJoystream date */
- date?: (string|null);
- }
- /** Represents a PublishedBeforeJoystream. */
- export class PublishedBeforeJoystream implements IPublishedBeforeJoystream {
- /**
- * Constructs a new PublishedBeforeJoystream.
- * @param [properties] Properties to set
- */
- constructor(properties?: IPublishedBeforeJoystream);
- /** PublishedBeforeJoystream isPublished. */
- public isPublished: boolean;
- /** PublishedBeforeJoystream date. */
- public date: string;
- /**
- * Creates a new PublishedBeforeJoystream instance using the specified properties.
- * @param [properties] Properties to set
- * @returns PublishedBeforeJoystream instance
- */
- public static create(properties?: IPublishedBeforeJoystream): PublishedBeforeJoystream;
- /**
- * Encodes the specified PublishedBeforeJoystream message. Does not implicitly {@link PublishedBeforeJoystream.verify|verify} messages.
- * @param message PublishedBeforeJoystream message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IPublishedBeforeJoystream, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified PublishedBeforeJoystream message, length delimited. Does not implicitly {@link PublishedBeforeJoystream.verify|verify} messages.
- * @param message PublishedBeforeJoystream message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IPublishedBeforeJoystream, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a PublishedBeforeJoystream message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns PublishedBeforeJoystream
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PublishedBeforeJoystream;
- /**
- * Decodes a PublishedBeforeJoystream message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns PublishedBeforeJoystream
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PublishedBeforeJoystream;
- /**
- * Verifies a PublishedBeforeJoystream message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a PublishedBeforeJoystream message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns PublishedBeforeJoystream
- */
- public static fromObject(object: { [k: string]: any }): PublishedBeforeJoystream;
- /**
- * Creates a plain object from a PublishedBeforeJoystream message. Also converts values to other types if specified.
- * @param message PublishedBeforeJoystream
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: PublishedBeforeJoystream, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this PublishedBeforeJoystream to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a License. */
- export interface ILicense {
- /** License code */
- code?: (number|null);
- /** License attribution */
- attribution?: (string|null);
- /** License customText */
- customText?: (string|null);
- }
- /** Represents a License. */
- export class License implements ILicense {
- /**
- * Constructs a new License.
- * @param [properties] Properties to set
- */
- constructor(properties?: ILicense);
- /** License code. */
- public code: number;
- /** License attribution. */
- public attribution: string;
- /** License customText. */
- public customText: string;
- /**
- * Creates a new License instance using the specified properties.
- * @param [properties] Properties to set
- * @returns License instance
- */
- public static create(properties?: ILicense): License;
- /**
- * Encodes the specified License message. Does not implicitly {@link License.verify|verify} messages.
- * @param message License message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: ILicense, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified License message, length delimited. Does not implicitly {@link License.verify|verify} messages.
- * @param message License message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: ILicense, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a License message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns License
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): License;
- /**
- * Decodes a License message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns License
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): License;
- /**
- * Verifies a License message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a License message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns License
- */
- public static fromObject(object: { [k: string]: any }): License;
- /**
- * Creates a plain object from a License message. Also converts values to other types if specified.
- * @param message License
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: License, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this License to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a MediaType. */
- export interface IMediaType {
- /** MediaType codecName */
- codecName?: (string|null);
- /** MediaType container */
- container?: (string|null);
- /** MediaType mimeMediaType */
- mimeMediaType?: (string|null);
- }
- /** Represents a MediaType. */
- export class MediaType implements IMediaType {
- /**
- * Constructs a new MediaType.
- * @param [properties] Properties to set
- */
- constructor(properties?: IMediaType);
- /** MediaType codecName. */
- public codecName: string;
- /** MediaType container. */
- public container: string;
- /** MediaType mimeMediaType. */
- public mimeMediaType: string;
- /**
- * Creates a new MediaType instance using the specified properties.
- * @param [properties] Properties to set
- * @returns MediaType instance
- */
- public static create(properties?: IMediaType): MediaType;
- /**
- * Encodes the specified MediaType message. Does not implicitly {@link MediaType.verify|verify} messages.
- * @param message MediaType message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IMediaType, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified MediaType message, length delimited. Does not implicitly {@link MediaType.verify|verify} messages.
- * @param message MediaType message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IMediaType, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a MediaType message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns MediaType
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MediaType;
- /**
- * Decodes a MediaType message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns MediaType
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MediaType;
- /**
- * Verifies a MediaType message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a MediaType message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns MediaType
- */
- public static fromObject(object: { [k: string]: any }): MediaType;
- /**
- * Creates a plain object from a MediaType message. Also converts values to other types if specified.
- * @param message MediaType
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: MediaType, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this MediaType to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a VideoMetadata. */
- export interface IVideoMetadata {
- /** VideoMetadata title */
- title?: (string|null);
- /** VideoMetadata description */
- description?: (string|null);
- /** VideoMetadata video */
- video?: (number|null);
- /** VideoMetadata thumbnailPhoto */
- thumbnailPhoto?: (number|null);
- /** VideoMetadata duration */
- duration?: (number|null);
- /** VideoMetadata mediaPixelHeight */
- mediaPixelHeight?: (number|null);
- /** VideoMetadata mediaPixelWidth */
- mediaPixelWidth?: (number|null);
- /** VideoMetadata mediaType */
- mediaType?: (IMediaType|null);
- /** VideoMetadata language */
- language?: (string|null);
- /** VideoMetadata license */
- license?: (ILicense|null);
- /** VideoMetadata publishedBeforeJoystream */
- publishedBeforeJoystream?: (IPublishedBeforeJoystream|null);
- /** VideoMetadata hasMarketing */
- hasMarketing?: (boolean|null);
- /** VideoMetadata isPublic */
- isPublic?: (boolean|null);
- /** VideoMetadata isExplicit */
- isExplicit?: (boolean|null);
- /** VideoMetadata persons */
- persons?: (Long[]|null);
- /** VideoMetadata category */
- category?: (Long|null);
- }
- /** Represents a VideoMetadata. */
- export class VideoMetadata implements IVideoMetadata {
- /**
- * Constructs a new VideoMetadata.
- * @param [properties] Properties to set
- */
- constructor(properties?: IVideoMetadata);
- /** VideoMetadata title. */
- public title: string;
- /** VideoMetadata description. */
- public description: string;
- /** VideoMetadata video. */
- public video: number;
- /** VideoMetadata thumbnailPhoto. */
- public thumbnailPhoto: number;
- /** VideoMetadata duration. */
- public duration: number;
- /** VideoMetadata mediaPixelHeight. */
- public mediaPixelHeight: number;
- /** VideoMetadata mediaPixelWidth. */
- public mediaPixelWidth: number;
- /** VideoMetadata mediaType. */
- public mediaType?: (IMediaType|null);
- /** VideoMetadata language. */
- public language: string;
- /** VideoMetadata license. */
- public license?: (ILicense|null);
- /** VideoMetadata publishedBeforeJoystream. */
- public publishedBeforeJoystream?: (IPublishedBeforeJoystream|null);
- /** VideoMetadata hasMarketing. */
- public hasMarketing: boolean;
- /** VideoMetadata isPublic. */
- public isPublic: boolean;
- /** VideoMetadata isExplicit. */
- public isExplicit: boolean;
- /** VideoMetadata persons. */
- public persons: Long[];
- /** VideoMetadata category. */
- public category: Long;
- /**
- * Creates a new VideoMetadata instance using the specified properties.
- * @param [properties] Properties to set
- * @returns VideoMetadata instance
- */
- public static create(properties?: IVideoMetadata): VideoMetadata;
- /**
- * Encodes the specified VideoMetadata message. Does not implicitly {@link VideoMetadata.verify|verify} messages.
- * @param message VideoMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IVideoMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified VideoMetadata message, length delimited. Does not implicitly {@link VideoMetadata.verify|verify} messages.
- * @param message VideoMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IVideoMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a VideoMetadata message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns VideoMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VideoMetadata;
- /**
- * Decodes a VideoMetadata message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns VideoMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VideoMetadata;
- /**
- * Verifies a VideoMetadata message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a VideoMetadata message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns VideoMetadata
- */
- public static fromObject(object: { [k: string]: any }): VideoMetadata;
- /**
- * Creates a plain object from a VideoMetadata message. Also converts values to other types if specified.
- * @param message VideoMetadata
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: VideoMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this VideoMetadata to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a VideoCategoryMetadata. */
- export interface IVideoCategoryMetadata {
- /** VideoCategoryMetadata name */
- name?: (string|null);
- }
- /** Represents a VideoCategoryMetadata. */
- export class VideoCategoryMetadata implements IVideoCategoryMetadata {
- /**
- * Constructs a new VideoCategoryMetadata.
- * @param [properties] Properties to set
- */
- constructor(properties?: IVideoCategoryMetadata);
- /** VideoCategoryMetadata name. */
- public name: string;
- /**
- * Creates a new VideoCategoryMetadata instance using the specified properties.
- * @param [properties] Properties to set
- * @returns VideoCategoryMetadata instance
- */
- public static create(properties?: IVideoCategoryMetadata): VideoCategoryMetadata;
- /**
- * Encodes the specified VideoCategoryMetadata message. Does not implicitly {@link VideoCategoryMetadata.verify|verify} messages.
- * @param message VideoCategoryMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IVideoCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified VideoCategoryMetadata message, length delimited. Does not implicitly {@link VideoCategoryMetadata.verify|verify} messages.
- * @param message VideoCategoryMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IVideoCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a VideoCategoryMetadata message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns VideoCategoryMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VideoCategoryMetadata;
- /**
- * Decodes a VideoCategoryMetadata message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns VideoCategoryMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VideoCategoryMetadata;
- /**
- * Verifies a VideoCategoryMetadata message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a VideoCategoryMetadata message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns VideoCategoryMetadata
- */
- public static fromObject(object: { [k: string]: any }): VideoCategoryMetadata;
- /**
- * Creates a plain object from a VideoCategoryMetadata message. Also converts values to other types if specified.
- * @param message VideoCategoryMetadata
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: VideoCategoryMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this VideoCategoryMetadata to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of an OpeningMetadata. */
- export interface IOpeningMetadata {
- /** OpeningMetadata shortDescription */
- shortDescription?: (string|null);
- /** OpeningMetadata description */
- description?: (string|null);
- /** OpeningMetadata hiringLimit */
- hiringLimit?: (number|null);
- /** OpeningMetadata expectedEndingTimestamp */
- expectedEndingTimestamp?: (number|null);
- /** OpeningMetadata applicationDetails */
- applicationDetails?: (string|null);
- /** OpeningMetadata applicationFormQuestions */
- applicationFormQuestions?: (OpeningMetadata.IApplicationFormQuestion[]|null);
- }
- /** Represents an OpeningMetadata. */
- export class OpeningMetadata implements IOpeningMetadata {
- /**
- * Constructs a new OpeningMetadata.
- * @param [properties] Properties to set
- */
- constructor(properties?: IOpeningMetadata);
- /** OpeningMetadata shortDescription. */
- public shortDescription: string;
- /** OpeningMetadata description. */
- public description: string;
- /** OpeningMetadata hiringLimit. */
- public hiringLimit: number;
- /** OpeningMetadata expectedEndingTimestamp. */
- public expectedEndingTimestamp: number;
- /** OpeningMetadata applicationDetails. */
- public applicationDetails: string;
- /** OpeningMetadata applicationFormQuestions. */
- public applicationFormQuestions: OpeningMetadata.IApplicationFormQuestion[];
- /**
- * Creates a new OpeningMetadata instance using the specified properties.
- * @param [properties] Properties to set
- * @returns OpeningMetadata instance
- */
- public static create(properties?: IOpeningMetadata): OpeningMetadata;
- /**
- * Encodes the specified OpeningMetadata message. Does not implicitly {@link OpeningMetadata.verify|verify} messages.
- * @param message OpeningMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified OpeningMetadata message, length delimited. Does not implicitly {@link OpeningMetadata.verify|verify} messages.
- * @param message OpeningMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an OpeningMetadata message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns OpeningMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OpeningMetadata;
- /**
- * Decodes an OpeningMetadata message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns OpeningMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OpeningMetadata;
- /**
- * Verifies an OpeningMetadata message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an OpeningMetadata message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns OpeningMetadata
- */
- public static fromObject(object: { [k: string]: any }): OpeningMetadata;
- /**
- * Creates a plain object from an OpeningMetadata message. Also converts values to other types if specified.
- * @param message OpeningMetadata
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: OpeningMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this OpeningMetadata to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- export namespace OpeningMetadata {
- /** Properties of an ApplicationFormQuestion. */
- interface IApplicationFormQuestion {
- /** ApplicationFormQuestion question */
- question?: (string|null);
- /** ApplicationFormQuestion type */
- type?: (OpeningMetadata.ApplicationFormQuestion.InputType|null);
- }
- /** Represents an ApplicationFormQuestion. */
- class ApplicationFormQuestion implements IApplicationFormQuestion {
- /**
- * Constructs a new ApplicationFormQuestion.
- * @param [properties] Properties to set
- */
- constructor(properties?: OpeningMetadata.IApplicationFormQuestion);
- /** ApplicationFormQuestion question. */
- public question: string;
- /** ApplicationFormQuestion type. */
- public type: OpeningMetadata.ApplicationFormQuestion.InputType;
- /**
- * Creates a new ApplicationFormQuestion instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ApplicationFormQuestion instance
- */
- public static create(properties?: OpeningMetadata.IApplicationFormQuestion): OpeningMetadata.ApplicationFormQuestion;
- /**
- * Encodes the specified ApplicationFormQuestion message. Does not implicitly {@link OpeningMetadata.ApplicationFormQuestion.verify|verify} messages.
- * @param message ApplicationFormQuestion message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: OpeningMetadata.IApplicationFormQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ApplicationFormQuestion message, length delimited. Does not implicitly {@link OpeningMetadata.ApplicationFormQuestion.verify|verify} messages.
- * @param message ApplicationFormQuestion message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: OpeningMetadata.IApplicationFormQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an ApplicationFormQuestion message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ApplicationFormQuestion
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OpeningMetadata.ApplicationFormQuestion;
- /**
- * Decodes an ApplicationFormQuestion message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ApplicationFormQuestion
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OpeningMetadata.ApplicationFormQuestion;
- /**
- * Verifies an ApplicationFormQuestion message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an ApplicationFormQuestion message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns ApplicationFormQuestion
- */
- public static fromObject(object: { [k: string]: any }): OpeningMetadata.ApplicationFormQuestion;
- /**
- * Creates a plain object from an ApplicationFormQuestion message. Also converts values to other types if specified.
- * @param message ApplicationFormQuestion
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: OpeningMetadata.ApplicationFormQuestion, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ApplicationFormQuestion to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- namespace ApplicationFormQuestion {
- /** InputType enum. */
- enum InputType {
- TEXTAREA = 0,
- TEXT = 1
- }
- }
- }
- /** Properties of an UpcomingOpeningMetadata. */
- export interface IUpcomingOpeningMetadata {
- /** UpcomingOpeningMetadata expectedStart */
- expectedStart?: (number|null);
- /** UpcomingOpeningMetadata rewardPerBlock */
- rewardPerBlock?: (Long|null);
- /** UpcomingOpeningMetadata minApplicationStake */
- minApplicationStake?: (Long|null);
- /** UpcomingOpeningMetadata metadata */
- metadata?: (IOpeningMetadata|null);
- }
- /** Represents an UpcomingOpeningMetadata. */
- export class UpcomingOpeningMetadata implements IUpcomingOpeningMetadata {
- /**
- * Constructs a new UpcomingOpeningMetadata.
- * @param [properties] Properties to set
- */
- constructor(properties?: IUpcomingOpeningMetadata);
- /** UpcomingOpeningMetadata expectedStart. */
- public expectedStart: number;
- /** UpcomingOpeningMetadata rewardPerBlock. */
- public rewardPerBlock: Long;
- /** UpcomingOpeningMetadata minApplicationStake. */
- public minApplicationStake: Long;
- /** UpcomingOpeningMetadata metadata. */
- public metadata?: (IOpeningMetadata|null);
- /**
- * Creates a new UpcomingOpeningMetadata instance using the specified properties.
- * @param [properties] Properties to set
- * @returns UpcomingOpeningMetadata instance
- */
- public static create(properties?: IUpcomingOpeningMetadata): UpcomingOpeningMetadata;
- /**
- * Encodes the specified UpcomingOpeningMetadata message. Does not implicitly {@link UpcomingOpeningMetadata.verify|verify} messages.
- * @param message UpcomingOpeningMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IUpcomingOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified UpcomingOpeningMetadata message, length delimited. Does not implicitly {@link UpcomingOpeningMetadata.verify|verify} messages.
- * @param message UpcomingOpeningMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IUpcomingOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an UpcomingOpeningMetadata message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns UpcomingOpeningMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UpcomingOpeningMetadata;
- /**
- * Decodes an UpcomingOpeningMetadata message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns UpcomingOpeningMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UpcomingOpeningMetadata;
- /**
- * Verifies an UpcomingOpeningMetadata message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an UpcomingOpeningMetadata message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns UpcomingOpeningMetadata
- */
- public static fromObject(object: { [k: string]: any }): UpcomingOpeningMetadata;
- /**
- * Creates a plain object from an UpcomingOpeningMetadata message. Also converts values to other types if specified.
- * @param message UpcomingOpeningMetadata
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: UpcomingOpeningMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this UpcomingOpeningMetadata to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of an ApplicationMetadata. */
- export interface IApplicationMetadata {
- /** ApplicationMetadata answers */
- answers?: (string[]|null);
- }
- /** Represents an ApplicationMetadata. */
- export class ApplicationMetadata implements IApplicationMetadata {
- /**
- * Constructs a new ApplicationMetadata.
- * @param [properties] Properties to set
- */
- constructor(properties?: IApplicationMetadata);
- /** ApplicationMetadata answers. */
- public answers: string[];
- /**
- * Creates a new ApplicationMetadata instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ApplicationMetadata instance
- */
- public static create(properties?: IApplicationMetadata): ApplicationMetadata;
- /**
- * Encodes the specified ApplicationMetadata message. Does not implicitly {@link ApplicationMetadata.verify|verify} messages.
- * @param message ApplicationMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IApplicationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ApplicationMetadata message, length delimited. Does not implicitly {@link ApplicationMetadata.verify|verify} messages.
- * @param message ApplicationMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IApplicationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an ApplicationMetadata message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ApplicationMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ApplicationMetadata;
- /**
- * Decodes an ApplicationMetadata message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ApplicationMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ApplicationMetadata;
- /**
- * Verifies an ApplicationMetadata message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an ApplicationMetadata message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns ApplicationMetadata
- */
- public static fromObject(object: { [k: string]: any }): ApplicationMetadata;
- /**
- * Creates a plain object from an ApplicationMetadata message. Also converts values to other types if specified.
- * @param message ApplicationMetadata
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: ApplicationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ApplicationMetadata to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a WorkingGroupMetadata. */
- export interface IWorkingGroupMetadata {
- /** WorkingGroupMetadata description */
- description?: (string|null);
- /** WorkingGroupMetadata about */
- about?: (string|null);
- /** WorkingGroupMetadata status */
- status?: (string|null);
- /** WorkingGroupMetadata statusMessage */
- statusMessage?: (string|null);
- }
- /** Represents a WorkingGroupMetadata. */
- export class WorkingGroupMetadata implements IWorkingGroupMetadata {
- /**
- * Constructs a new WorkingGroupMetadata.
- * @param [properties] Properties to set
- */
- constructor(properties?: IWorkingGroupMetadata);
- /** WorkingGroupMetadata description. */
- public description: string;
- /** WorkingGroupMetadata about. */
- public about: string;
- /** WorkingGroupMetadata status. */
- public status: string;
- /** WorkingGroupMetadata statusMessage. */
- public statusMessage: string;
- /**
- * Creates a new WorkingGroupMetadata instance using the specified properties.
- * @param [properties] Properties to set
- * @returns WorkingGroupMetadata instance
- */
- public static create(properties?: IWorkingGroupMetadata): WorkingGroupMetadata;
- /**
- * Encodes the specified WorkingGroupMetadata message. Does not implicitly {@link WorkingGroupMetadata.verify|verify} messages.
- * @param message WorkingGroupMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IWorkingGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified WorkingGroupMetadata message, length delimited. Does not implicitly {@link WorkingGroupMetadata.verify|verify} messages.
- * @param message WorkingGroupMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IWorkingGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a WorkingGroupMetadata message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns WorkingGroupMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): WorkingGroupMetadata;
- /**
- * Decodes a WorkingGroupMetadata message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns WorkingGroupMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): WorkingGroupMetadata;
- /**
- * Verifies a WorkingGroupMetadata message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a WorkingGroupMetadata message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns WorkingGroupMetadata
- */
- public static fromObject(object: { [k: string]: any }): WorkingGroupMetadata;
- /**
- * Creates a plain object from a WorkingGroupMetadata message. Also converts values to other types if specified.
- * @param message WorkingGroupMetadata
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: WorkingGroupMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this WorkingGroupMetadata to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a SetGroupMetadata. */
- export interface ISetGroupMetadata {
- /** SetGroupMetadata newMetadata */
- newMetadata?: (IWorkingGroupMetadata|null);
- }
- /** Represents a SetGroupMetadata. */
- export class SetGroupMetadata implements ISetGroupMetadata {
- /**
- * Constructs a new SetGroupMetadata.
- * @param [properties] Properties to set
- */
- constructor(properties?: ISetGroupMetadata);
- /** SetGroupMetadata newMetadata. */
- public newMetadata?: (IWorkingGroupMetadata|null);
- /**
- * Creates a new SetGroupMetadata instance using the specified properties.
- * @param [properties] Properties to set
- * @returns SetGroupMetadata instance
- */
- public static create(properties?: ISetGroupMetadata): SetGroupMetadata;
- /**
- * Encodes the specified SetGroupMetadata message. Does not implicitly {@link SetGroupMetadata.verify|verify} messages.
- * @param message SetGroupMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: ISetGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified SetGroupMetadata message, length delimited. Does not implicitly {@link SetGroupMetadata.verify|verify} messages.
- * @param message SetGroupMetadata message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: ISetGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a SetGroupMetadata message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns SetGroupMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SetGroupMetadata;
- /**
- * Decodes a SetGroupMetadata message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns SetGroupMetadata
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SetGroupMetadata;
- /**
- * Verifies a SetGroupMetadata message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a SetGroupMetadata message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns SetGroupMetadata
- */
- public static fromObject(object: { [k: string]: any }): SetGroupMetadata;
- /**
- * Creates a plain object from a SetGroupMetadata message. Also converts values to other types if specified.
- * @param message SetGroupMetadata
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: SetGroupMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this SetGroupMetadata to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of an AddUpcomingOpening. */
- export interface IAddUpcomingOpening {
- /** AddUpcomingOpening metadata */
- metadata?: (IUpcomingOpeningMetadata|null);
- }
- /** Represents an AddUpcomingOpening. */
- export class AddUpcomingOpening implements IAddUpcomingOpening {
- /**
- * Constructs a new AddUpcomingOpening.
- * @param [properties] Properties to set
- */
- constructor(properties?: IAddUpcomingOpening);
- /** AddUpcomingOpening metadata. */
- public metadata?: (IUpcomingOpeningMetadata|null);
- /**
- * Creates a new AddUpcomingOpening instance using the specified properties.
- * @param [properties] Properties to set
- * @returns AddUpcomingOpening instance
- */
- public static create(properties?: IAddUpcomingOpening): AddUpcomingOpening;
- /**
- * Encodes the specified AddUpcomingOpening message. Does not implicitly {@link AddUpcomingOpening.verify|verify} messages.
- * @param message AddUpcomingOpening message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IAddUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified AddUpcomingOpening message, length delimited. Does not implicitly {@link AddUpcomingOpening.verify|verify} messages.
- * @param message AddUpcomingOpening message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IAddUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an AddUpcomingOpening message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns AddUpcomingOpening
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AddUpcomingOpening;
- /**
- * Decodes an AddUpcomingOpening message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns AddUpcomingOpening
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AddUpcomingOpening;
- /**
- * Verifies an AddUpcomingOpening message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an AddUpcomingOpening message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns AddUpcomingOpening
- */
- public static fromObject(object: { [k: string]: any }): AddUpcomingOpening;
- /**
- * Creates a plain object from an AddUpcomingOpening message. Also converts values to other types if specified.
- * @param message AddUpcomingOpening
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: AddUpcomingOpening, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this AddUpcomingOpening to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a RemoveUpcomingOpening. */
- export interface IRemoveUpcomingOpening {
- /** RemoveUpcomingOpening id */
- id?: (string|null);
- }
- /** Represents a RemoveUpcomingOpening. */
- export class RemoveUpcomingOpening implements IRemoveUpcomingOpening {
- /**
- * Constructs a new RemoveUpcomingOpening.
- * @param [properties] Properties to set
- */
- constructor(properties?: IRemoveUpcomingOpening);
- /** RemoveUpcomingOpening id. */
- public id: string;
- /**
- * Creates a new RemoveUpcomingOpening instance using the specified properties.
- * @param [properties] Properties to set
- * @returns RemoveUpcomingOpening instance
- */
- public static create(properties?: IRemoveUpcomingOpening): RemoveUpcomingOpening;
- /**
- * Encodes the specified RemoveUpcomingOpening message. Does not implicitly {@link RemoveUpcomingOpening.verify|verify} messages.
- * @param message RemoveUpcomingOpening message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IRemoveUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified RemoveUpcomingOpening message, length delimited. Does not implicitly {@link RemoveUpcomingOpening.verify|verify} messages.
- * @param message RemoveUpcomingOpening message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IRemoveUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a RemoveUpcomingOpening message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns RemoveUpcomingOpening
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): RemoveUpcomingOpening;
- /**
- * Decodes a RemoveUpcomingOpening message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns RemoveUpcomingOpening
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): RemoveUpcomingOpening;
- /**
- * Verifies a RemoveUpcomingOpening message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a RemoveUpcomingOpening message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns RemoveUpcomingOpening
- */
- public static fromObject(object: { [k: string]: any }): RemoveUpcomingOpening;
- /**
- * Creates a plain object from a RemoveUpcomingOpening message. Also converts values to other types if specified.
- * @param message RemoveUpcomingOpening
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: RemoveUpcomingOpening, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this RemoveUpcomingOpening to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a WorkingGroupMetadataAction. */
- export interface IWorkingGroupMetadataAction {
- /** WorkingGroupMetadataAction setGroupMetadata */
- setGroupMetadata?: (ISetGroupMetadata|null);
- /** WorkingGroupMetadataAction addUpcomingOpening */
- addUpcomingOpening?: (IAddUpcomingOpening|null);
- /** WorkingGroupMetadataAction removeUpcomingOpening */
- removeUpcomingOpening?: (IRemoveUpcomingOpening|null);
- }
- /** Represents a WorkingGroupMetadataAction. */
- export class WorkingGroupMetadataAction implements IWorkingGroupMetadataAction {
- /**
- * Constructs a new WorkingGroupMetadataAction.
- * @param [properties] Properties to set
- */
- constructor(properties?: IWorkingGroupMetadataAction);
- /** WorkingGroupMetadataAction setGroupMetadata. */
- public setGroupMetadata?: (ISetGroupMetadata|null);
- /** WorkingGroupMetadataAction addUpcomingOpening. */
- public addUpcomingOpening?: (IAddUpcomingOpening|null);
- /** WorkingGroupMetadataAction removeUpcomingOpening. */
- public removeUpcomingOpening?: (IRemoveUpcomingOpening|null);
- /** WorkingGroupMetadataAction action. */
- public action?: ("setGroupMetadata"|"addUpcomingOpening"|"removeUpcomingOpening");
- /**
- * Creates a new WorkingGroupMetadataAction instance using the specified properties.
- * @param [properties] Properties to set
- * @returns WorkingGroupMetadataAction instance
- */
- public static create(properties?: IWorkingGroupMetadataAction): WorkingGroupMetadataAction;
- /**
- * Encodes the specified WorkingGroupMetadataAction message. Does not implicitly {@link WorkingGroupMetadataAction.verify|verify} messages.
- * @param message WorkingGroupMetadataAction message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IWorkingGroupMetadataAction, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified WorkingGroupMetadataAction message, length delimited. Does not implicitly {@link WorkingGroupMetadataAction.verify|verify} messages.
- * @param message WorkingGroupMetadataAction message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IWorkingGroupMetadataAction, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a WorkingGroupMetadataAction message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns WorkingGroupMetadataAction
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): WorkingGroupMetadataAction;
- /**
- * Decodes a WorkingGroupMetadataAction message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns WorkingGroupMetadataAction
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): WorkingGroupMetadataAction;
- /**
- * Verifies a WorkingGroupMetadataAction message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a WorkingGroupMetadataAction message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns WorkingGroupMetadataAction
- */
- public static fromObject(object: { [k: string]: any }): WorkingGroupMetadataAction;
- /**
- * Creates a plain object from a WorkingGroupMetadataAction message. Also converts values to other types if specified.
- * @param message WorkingGroupMetadataAction
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: WorkingGroupMetadataAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this WorkingGroupMetadataAction to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
|