123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526 |
- 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 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 };
- }
|