index.d.ts 92 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526
  1. import * as $protobuf from "protobufjs";
  2. /** Properties of a ChannelMetadata. */
  3. export interface IChannelMetadata {
  4. /** ChannelMetadata title */
  5. title?: (string|null);
  6. /** ChannelMetadata description */
  7. description?: (string|null);
  8. /** ChannelMetadata isPublic */
  9. isPublic?: (boolean|null);
  10. /** ChannelMetadata language */
  11. language?: (string|null);
  12. /** ChannelMetadata coverPhoto */
  13. coverPhoto?: (number|null);
  14. /** ChannelMetadata avatarPhoto */
  15. avatarPhoto?: (number|null);
  16. /** ChannelMetadata category */
  17. category?: (Long|null);
  18. }
  19. /** Represents a ChannelMetadata. */
  20. export class ChannelMetadata implements IChannelMetadata {
  21. /**
  22. * Constructs a new ChannelMetadata.
  23. * @param [properties] Properties to set
  24. */
  25. constructor(properties?: IChannelMetadata);
  26. /** ChannelMetadata title. */
  27. public title: string;
  28. /** ChannelMetadata description. */
  29. public description: string;
  30. /** ChannelMetadata isPublic. */
  31. public isPublic: boolean;
  32. /** ChannelMetadata language. */
  33. public language: string;
  34. /** ChannelMetadata coverPhoto. */
  35. public coverPhoto: number;
  36. /** ChannelMetadata avatarPhoto. */
  37. public avatarPhoto: number;
  38. /** ChannelMetadata category. */
  39. public category: Long;
  40. /**
  41. * Creates a new ChannelMetadata instance using the specified properties.
  42. * @param [properties] Properties to set
  43. * @returns ChannelMetadata instance
  44. */
  45. public static create(properties?: IChannelMetadata): ChannelMetadata;
  46. /**
  47. * Encodes the specified ChannelMetadata message. Does not implicitly {@link ChannelMetadata.verify|verify} messages.
  48. * @param message ChannelMetadata message or plain object to encode
  49. * @param [writer] Writer to encode to
  50. * @returns Writer
  51. */
  52. public static encode(message: IChannelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  53. /**
  54. * Encodes the specified ChannelMetadata message, length delimited. Does not implicitly {@link ChannelMetadata.verify|verify} messages.
  55. * @param message ChannelMetadata message or plain object to encode
  56. * @param [writer] Writer to encode to
  57. * @returns Writer
  58. */
  59. public static encodeDelimited(message: IChannelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  60. /**
  61. * Decodes a ChannelMetadata message from the specified reader or buffer.
  62. * @param reader Reader or buffer to decode from
  63. * @param [length] Message length if known beforehand
  64. * @returns ChannelMetadata
  65. * @throws {Error} If the payload is not a reader or valid buffer
  66. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  67. */
  68. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ChannelMetadata;
  69. /**
  70. * Decodes a ChannelMetadata message from the specified reader or buffer, length delimited.
  71. * @param reader Reader or buffer to decode from
  72. * @returns ChannelMetadata
  73. * @throws {Error} If the payload is not a reader or valid buffer
  74. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  75. */
  76. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ChannelMetadata;
  77. /**
  78. * Verifies a ChannelMetadata message.
  79. * @param message Plain object to verify
  80. * @returns `null` if valid, otherwise the reason why it is not
  81. */
  82. public static verify(message: { [k: string]: any }): (string|null);
  83. /**
  84. * Creates a ChannelMetadata message from a plain object. Also converts values to their respective internal types.
  85. * @param object Plain object
  86. * @returns ChannelMetadata
  87. */
  88. public static fromObject(object: { [k: string]: any }): ChannelMetadata;
  89. /**
  90. * Creates a plain object from a ChannelMetadata message. Also converts values to other types if specified.
  91. * @param message ChannelMetadata
  92. * @param [options] Conversion options
  93. * @returns Plain object
  94. */
  95. public static toObject(message: ChannelMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  96. /**
  97. * Converts this ChannelMetadata to JSON.
  98. * @returns JSON object
  99. */
  100. public toJSON(): { [k: string]: any };
  101. }
  102. /** Properties of a ChannelCategoryMetadata. */
  103. export interface IChannelCategoryMetadata {
  104. /** ChannelCategoryMetadata name */
  105. name?: (string|null);
  106. }
  107. /** Represents a ChannelCategoryMetadata. */
  108. export class ChannelCategoryMetadata implements IChannelCategoryMetadata {
  109. /**
  110. * Constructs a new ChannelCategoryMetadata.
  111. * @param [properties] Properties to set
  112. */
  113. constructor(properties?: IChannelCategoryMetadata);
  114. /** ChannelCategoryMetadata name. */
  115. public name: string;
  116. /**
  117. * Creates a new ChannelCategoryMetadata instance using the specified properties.
  118. * @param [properties] Properties to set
  119. * @returns ChannelCategoryMetadata instance
  120. */
  121. public static create(properties?: IChannelCategoryMetadata): ChannelCategoryMetadata;
  122. /**
  123. * Encodes the specified ChannelCategoryMetadata message. Does not implicitly {@link ChannelCategoryMetadata.verify|verify} messages.
  124. * @param message ChannelCategoryMetadata message or plain object to encode
  125. * @param [writer] Writer to encode to
  126. * @returns Writer
  127. */
  128. public static encode(message: IChannelCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  129. /**
  130. * Encodes the specified ChannelCategoryMetadata message, length delimited. Does not implicitly {@link ChannelCategoryMetadata.verify|verify} messages.
  131. * @param message ChannelCategoryMetadata message or plain object to encode
  132. * @param [writer] Writer to encode to
  133. * @returns Writer
  134. */
  135. public static encodeDelimited(message: IChannelCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  136. /**
  137. * Decodes a ChannelCategoryMetadata message from the specified reader or buffer.
  138. * @param reader Reader or buffer to decode from
  139. * @param [length] Message length if known beforehand
  140. * @returns ChannelCategoryMetadata
  141. * @throws {Error} If the payload is not a reader or valid buffer
  142. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  143. */
  144. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ChannelCategoryMetadata;
  145. /**
  146. * Decodes a ChannelCategoryMetadata message from the specified reader or buffer, length delimited.
  147. * @param reader Reader or buffer to decode from
  148. * @returns ChannelCategoryMetadata
  149. * @throws {Error} If the payload is not a reader or valid buffer
  150. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  151. */
  152. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ChannelCategoryMetadata;
  153. /**
  154. * Verifies a ChannelCategoryMetadata message.
  155. * @param message Plain object to verify
  156. * @returns `null` if valid, otherwise the reason why it is not
  157. */
  158. public static verify(message: { [k: string]: any }): (string|null);
  159. /**
  160. * Creates a ChannelCategoryMetadata message from a plain object. Also converts values to their respective internal types.
  161. * @param object Plain object
  162. * @returns ChannelCategoryMetadata
  163. */
  164. public static fromObject(object: { [k: string]: any }): ChannelCategoryMetadata;
  165. /**
  166. * Creates a plain object from a ChannelCategoryMetadata message. Also converts values to other types if specified.
  167. * @param message ChannelCategoryMetadata
  168. * @param [options] Conversion options
  169. * @returns Plain object
  170. */
  171. public static toObject(message: ChannelCategoryMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  172. /**
  173. * Converts this ChannelCategoryMetadata to JSON.
  174. * @returns JSON object
  175. */
  176. public toJSON(): { [k: string]: any };
  177. }
  178. /** Properties of a CouncilCandidacyNoteMetadata. */
  179. export interface ICouncilCandidacyNoteMetadata {
  180. /** CouncilCandidacyNoteMetadata header */
  181. header?: (string|null);
  182. /** CouncilCandidacyNoteMetadata bulletPoints */
  183. bulletPoints?: (string[]|null);
  184. /** CouncilCandidacyNoteMetadata bannerImageUri */
  185. bannerImageUri?: (string|null);
  186. /** CouncilCandidacyNoteMetadata description */
  187. description?: (string|null);
  188. }
  189. /** Represents a CouncilCandidacyNoteMetadata. */
  190. export class CouncilCandidacyNoteMetadata implements ICouncilCandidacyNoteMetadata {
  191. /**
  192. * Constructs a new CouncilCandidacyNoteMetadata.
  193. * @param [properties] Properties to set
  194. */
  195. constructor(properties?: ICouncilCandidacyNoteMetadata);
  196. /** CouncilCandidacyNoteMetadata header. */
  197. public header: string;
  198. /** CouncilCandidacyNoteMetadata bulletPoints. */
  199. public bulletPoints: string[];
  200. /** CouncilCandidacyNoteMetadata bannerImageUri. */
  201. public bannerImageUri: string;
  202. /** CouncilCandidacyNoteMetadata description. */
  203. public description: string;
  204. /**
  205. * Creates a new CouncilCandidacyNoteMetadata instance using the specified properties.
  206. * @param [properties] Properties to set
  207. * @returns CouncilCandidacyNoteMetadata instance
  208. */
  209. public static create(properties?: ICouncilCandidacyNoteMetadata): CouncilCandidacyNoteMetadata;
  210. /**
  211. * Encodes the specified CouncilCandidacyNoteMetadata message. Does not implicitly {@link CouncilCandidacyNoteMetadata.verify|verify} messages.
  212. * @param message CouncilCandidacyNoteMetadata message or plain object to encode
  213. * @param [writer] Writer to encode to
  214. * @returns Writer
  215. */
  216. public static encode(message: ICouncilCandidacyNoteMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  217. /**
  218. * Encodes the specified CouncilCandidacyNoteMetadata message, length delimited. Does not implicitly {@link CouncilCandidacyNoteMetadata.verify|verify} messages.
  219. * @param message CouncilCandidacyNoteMetadata message or plain object to encode
  220. * @param [writer] Writer to encode to
  221. * @returns Writer
  222. */
  223. public static encodeDelimited(message: ICouncilCandidacyNoteMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  224. /**
  225. * Decodes a CouncilCandidacyNoteMetadata message from the specified reader or buffer.
  226. * @param reader Reader or buffer to decode from
  227. * @param [length] Message length if known beforehand
  228. * @returns CouncilCandidacyNoteMetadata
  229. * @throws {Error} If the payload is not a reader or valid buffer
  230. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  231. */
  232. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CouncilCandidacyNoteMetadata;
  233. /**
  234. * Decodes a CouncilCandidacyNoteMetadata message from the specified reader or buffer, length delimited.
  235. * @param reader Reader or buffer to decode from
  236. * @returns CouncilCandidacyNoteMetadata
  237. * @throws {Error} If the payload is not a reader or valid buffer
  238. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  239. */
  240. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CouncilCandidacyNoteMetadata;
  241. /**
  242. * Verifies a CouncilCandidacyNoteMetadata message.
  243. * @param message Plain object to verify
  244. * @returns `null` if valid, otherwise the reason why it is not
  245. */
  246. public static verify(message: { [k: string]: any }): (string|null);
  247. /**
  248. * Creates a CouncilCandidacyNoteMetadata message from a plain object. Also converts values to their respective internal types.
  249. * @param object Plain object
  250. * @returns CouncilCandidacyNoteMetadata
  251. */
  252. public static fromObject(object: { [k: string]: any }): CouncilCandidacyNoteMetadata;
  253. /**
  254. * Creates a plain object from a CouncilCandidacyNoteMetadata message. Also converts values to other types if specified.
  255. * @param message CouncilCandidacyNoteMetadata
  256. * @param [options] Conversion options
  257. * @returns Plain object
  258. */
  259. public static toObject(message: CouncilCandidacyNoteMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  260. /**
  261. * Converts this CouncilCandidacyNoteMetadata to JSON.
  262. * @returns JSON object
  263. */
  264. public toJSON(): { [k: string]: any };
  265. }
  266. /** Properties of a ForumPostReaction. */
  267. export interface IForumPostReaction {
  268. }
  269. /** Represents a ForumPostReaction. */
  270. export class ForumPostReaction implements IForumPostReaction {
  271. /**
  272. * Constructs a new ForumPostReaction.
  273. * @param [properties] Properties to set
  274. */
  275. constructor(properties?: IForumPostReaction);
  276. /**
  277. * Creates a new ForumPostReaction instance using the specified properties.
  278. * @param [properties] Properties to set
  279. * @returns ForumPostReaction instance
  280. */
  281. public static create(properties?: IForumPostReaction): ForumPostReaction;
  282. /**
  283. * Encodes the specified ForumPostReaction message. Does not implicitly {@link ForumPostReaction.verify|verify} messages.
  284. * @param message ForumPostReaction message or plain object to encode
  285. * @param [writer] Writer to encode to
  286. * @returns Writer
  287. */
  288. public static encode(message: IForumPostReaction, writer?: $protobuf.Writer): $protobuf.Writer;
  289. /**
  290. * Encodes the specified ForumPostReaction message, length delimited. Does not implicitly {@link ForumPostReaction.verify|verify} messages.
  291. * @param message ForumPostReaction message or plain object to encode
  292. * @param [writer] Writer to encode to
  293. * @returns Writer
  294. */
  295. public static encodeDelimited(message: IForumPostReaction, writer?: $protobuf.Writer): $protobuf.Writer;
  296. /**
  297. * Decodes a ForumPostReaction message from the specified reader or buffer.
  298. * @param reader Reader or buffer to decode from
  299. * @param [length] Message length if known beforehand
  300. * @returns ForumPostReaction
  301. * @throws {Error} If the payload is not a reader or valid buffer
  302. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  303. */
  304. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ForumPostReaction;
  305. /**
  306. * Decodes a ForumPostReaction message from the specified reader or buffer, length delimited.
  307. * @param reader Reader or buffer to decode from
  308. * @returns ForumPostReaction
  309. * @throws {Error} If the payload is not a reader or valid buffer
  310. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  311. */
  312. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ForumPostReaction;
  313. /**
  314. * Verifies a ForumPostReaction message.
  315. * @param message Plain object to verify
  316. * @returns `null` if valid, otherwise the reason why it is not
  317. */
  318. public static verify(message: { [k: string]: any }): (string|null);
  319. /**
  320. * Creates a ForumPostReaction message from a plain object. Also converts values to their respective internal types.
  321. * @param object Plain object
  322. * @returns ForumPostReaction
  323. */
  324. public static fromObject(object: { [k: string]: any }): ForumPostReaction;
  325. /**
  326. * Creates a plain object from a ForumPostReaction message. Also converts values to other types if specified.
  327. * @param message ForumPostReaction
  328. * @param [options] Conversion options
  329. * @returns Plain object
  330. */
  331. public static toObject(message: ForumPostReaction, options?: $protobuf.IConversionOptions): { [k: string]: any };
  332. /**
  333. * Converts this ForumPostReaction to JSON.
  334. * @returns JSON object
  335. */
  336. public toJSON(): { [k: string]: any };
  337. }
  338. export namespace ForumPostReaction {
  339. /** Reaction enum. */
  340. enum Reaction {
  341. CANCEL = 0,
  342. LIKE = 1
  343. }
  344. }
  345. /** Properties of a ForumPostMetadata. */
  346. export interface IForumPostMetadata {
  347. /** ForumPostMetadata text */
  348. text?: (string|null);
  349. /** ForumPostMetadata repliesTo */
  350. repliesTo?: (number|null);
  351. }
  352. /** Represents a ForumPostMetadata. */
  353. export class ForumPostMetadata implements IForumPostMetadata {
  354. /**
  355. * Constructs a new ForumPostMetadata.
  356. * @param [properties] Properties to set
  357. */
  358. constructor(properties?: IForumPostMetadata);
  359. /** ForumPostMetadata text. */
  360. public text: string;
  361. /** ForumPostMetadata repliesTo. */
  362. public repliesTo: number;
  363. /**
  364. * Creates a new ForumPostMetadata instance using the specified properties.
  365. * @param [properties] Properties to set
  366. * @returns ForumPostMetadata instance
  367. */
  368. public static create(properties?: IForumPostMetadata): ForumPostMetadata;
  369. /**
  370. * Encodes the specified ForumPostMetadata message. Does not implicitly {@link ForumPostMetadata.verify|verify} messages.
  371. * @param message ForumPostMetadata message or plain object to encode
  372. * @param [writer] Writer to encode to
  373. * @returns Writer
  374. */
  375. public static encode(message: IForumPostMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  376. /**
  377. * Encodes the specified ForumPostMetadata message, length delimited. Does not implicitly {@link ForumPostMetadata.verify|verify} messages.
  378. * @param message ForumPostMetadata message or plain object to encode
  379. * @param [writer] Writer to encode to
  380. * @returns Writer
  381. */
  382. public static encodeDelimited(message: IForumPostMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  383. /**
  384. * Decodes a ForumPostMetadata message from the specified reader or buffer.
  385. * @param reader Reader or buffer to decode from
  386. * @param [length] Message length if known beforehand
  387. * @returns ForumPostMetadata
  388. * @throws {Error} If the payload is not a reader or valid buffer
  389. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  390. */
  391. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ForumPostMetadata;
  392. /**
  393. * Decodes a ForumPostMetadata message from the specified reader or buffer, length delimited.
  394. * @param reader Reader or buffer to decode from
  395. * @returns ForumPostMetadata
  396. * @throws {Error} If the payload is not a reader or valid buffer
  397. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  398. */
  399. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ForumPostMetadata;
  400. /**
  401. * Verifies a ForumPostMetadata message.
  402. * @param message Plain object to verify
  403. * @returns `null` if valid, otherwise the reason why it is not
  404. */
  405. public static verify(message: { [k: string]: any }): (string|null);
  406. /**
  407. * Creates a ForumPostMetadata message from a plain object. Also converts values to their respective internal types.
  408. * @param object Plain object
  409. * @returns ForumPostMetadata
  410. */
  411. public static fromObject(object: { [k: string]: any }): ForumPostMetadata;
  412. /**
  413. * Creates a plain object from a ForumPostMetadata message. Also converts values to other types if specified.
  414. * @param message ForumPostMetadata
  415. * @param [options] Conversion options
  416. * @returns Plain object
  417. */
  418. public static toObject(message: ForumPostMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  419. /**
  420. * Converts this ForumPostMetadata to JSON.
  421. * @returns JSON object
  422. */
  423. public toJSON(): { [k: string]: any };
  424. }
  425. /** Properties of a MembershipMetadata. */
  426. export interface IMembershipMetadata {
  427. /** MembershipMetadata name */
  428. name?: (string|null);
  429. /** MembershipMetadata avatar */
  430. avatar?: (number|null);
  431. /** MembershipMetadata about */
  432. about?: (string|null);
  433. }
  434. /** Represents a MembershipMetadata. */
  435. export class MembershipMetadata implements IMembershipMetadata {
  436. /**
  437. * Constructs a new MembershipMetadata.
  438. * @param [properties] Properties to set
  439. */
  440. constructor(properties?: IMembershipMetadata);
  441. /** MembershipMetadata name. */
  442. public name: string;
  443. /** MembershipMetadata avatar. */
  444. public avatar: number;
  445. /** MembershipMetadata about. */
  446. public about: string;
  447. /**
  448. * Creates a new MembershipMetadata instance using the specified properties.
  449. * @param [properties] Properties to set
  450. * @returns MembershipMetadata instance
  451. */
  452. public static create(properties?: IMembershipMetadata): MembershipMetadata;
  453. /**
  454. * Encodes the specified MembershipMetadata message. Does not implicitly {@link MembershipMetadata.verify|verify} messages.
  455. * @param message MembershipMetadata message or plain object to encode
  456. * @param [writer] Writer to encode to
  457. * @returns Writer
  458. */
  459. public static encode(message: IMembershipMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  460. /**
  461. * Encodes the specified MembershipMetadata message, length delimited. Does not implicitly {@link MembershipMetadata.verify|verify} messages.
  462. * @param message MembershipMetadata message or plain object to encode
  463. * @param [writer] Writer to encode to
  464. * @returns Writer
  465. */
  466. public static encodeDelimited(message: IMembershipMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  467. /**
  468. * Decodes a MembershipMetadata message from the specified reader or buffer.
  469. * @param reader Reader or buffer to decode from
  470. * @param [length] Message length if known beforehand
  471. * @returns MembershipMetadata
  472. * @throws {Error} If the payload is not a reader or valid buffer
  473. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  474. */
  475. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MembershipMetadata;
  476. /**
  477. * Decodes a MembershipMetadata message from the specified reader or buffer, length delimited.
  478. * @param reader Reader or buffer to decode from
  479. * @returns MembershipMetadata
  480. * @throws {Error} If the payload is not a reader or valid buffer
  481. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  482. */
  483. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MembershipMetadata;
  484. /**
  485. * Verifies a MembershipMetadata message.
  486. * @param message Plain object to verify
  487. * @returns `null` if valid, otherwise the reason why it is not
  488. */
  489. public static verify(message: { [k: string]: any }): (string|null);
  490. /**
  491. * Creates a MembershipMetadata message from a plain object. Also converts values to their respective internal types.
  492. * @param object Plain object
  493. * @returns MembershipMetadata
  494. */
  495. public static fromObject(object: { [k: string]: any }): MembershipMetadata;
  496. /**
  497. * Creates a plain object from a MembershipMetadata message. Also converts values to other types if specified.
  498. * @param message MembershipMetadata
  499. * @param [options] Conversion options
  500. * @returns Plain object
  501. */
  502. public static toObject(message: MembershipMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  503. /**
  504. * Converts this MembershipMetadata to JSON.
  505. * @returns JSON object
  506. */
  507. public toJSON(): { [k: string]: any };
  508. }
  509. /** Properties of a PersonMetadata. */
  510. export interface IPersonMetadata {
  511. /** PersonMetadata firstName */
  512. firstName?: (string|null);
  513. /** PersonMetadata middleName */
  514. middleName?: (string|null);
  515. /** PersonMetadata lastName */
  516. lastName?: (string|null);
  517. /** PersonMetadata about */
  518. about?: (string|null);
  519. /** PersonMetadata coverPhoto */
  520. coverPhoto?: (number|null);
  521. /** PersonMetadata avatarPhoto */
  522. avatarPhoto?: (number|null);
  523. }
  524. /** Represents a PersonMetadata. */
  525. export class PersonMetadata implements IPersonMetadata {
  526. /**
  527. * Constructs a new PersonMetadata.
  528. * @param [properties] Properties to set
  529. */
  530. constructor(properties?: IPersonMetadata);
  531. /** PersonMetadata firstName. */
  532. public firstName: string;
  533. /** PersonMetadata middleName. */
  534. public middleName: string;
  535. /** PersonMetadata lastName. */
  536. public lastName: string;
  537. /** PersonMetadata about. */
  538. public about: string;
  539. /** PersonMetadata coverPhoto. */
  540. public coverPhoto: number;
  541. /** PersonMetadata avatarPhoto. */
  542. public avatarPhoto: number;
  543. /**
  544. * Creates a new PersonMetadata instance using the specified properties.
  545. * @param [properties] Properties to set
  546. * @returns PersonMetadata instance
  547. */
  548. public static create(properties?: IPersonMetadata): PersonMetadata;
  549. /**
  550. * Encodes the specified PersonMetadata message. Does not implicitly {@link PersonMetadata.verify|verify} messages.
  551. * @param message PersonMetadata message or plain object to encode
  552. * @param [writer] Writer to encode to
  553. * @returns Writer
  554. */
  555. public static encode(message: IPersonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  556. /**
  557. * Encodes the specified PersonMetadata message, length delimited. Does not implicitly {@link PersonMetadata.verify|verify} messages.
  558. * @param message PersonMetadata message or plain object to encode
  559. * @param [writer] Writer to encode to
  560. * @returns Writer
  561. */
  562. public static encodeDelimited(message: IPersonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  563. /**
  564. * Decodes a PersonMetadata message from the specified reader or buffer.
  565. * @param reader Reader or buffer to decode from
  566. * @param [length] Message length if known beforehand
  567. * @returns PersonMetadata
  568. * @throws {Error} If the payload is not a reader or valid buffer
  569. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  570. */
  571. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PersonMetadata;
  572. /**
  573. * Decodes a PersonMetadata message from the specified reader or buffer, length delimited.
  574. * @param reader Reader or buffer to decode from
  575. * @returns PersonMetadata
  576. * @throws {Error} If the payload is not a reader or valid buffer
  577. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  578. */
  579. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PersonMetadata;
  580. /**
  581. * Verifies a PersonMetadata message.
  582. * @param message Plain object to verify
  583. * @returns `null` if valid, otherwise the reason why it is not
  584. */
  585. public static verify(message: { [k: string]: any }): (string|null);
  586. /**
  587. * Creates a PersonMetadata message from a plain object. Also converts values to their respective internal types.
  588. * @param object Plain object
  589. * @returns PersonMetadata
  590. */
  591. public static fromObject(object: { [k: string]: any }): PersonMetadata;
  592. /**
  593. * Creates a plain object from a PersonMetadata message. Also converts values to other types if specified.
  594. * @param message PersonMetadata
  595. * @param [options] Conversion options
  596. * @returns Plain object
  597. */
  598. public static toObject(message: PersonMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  599. /**
  600. * Converts this PersonMetadata to JSON.
  601. * @returns JSON object
  602. */
  603. public toJSON(): { [k: string]: any };
  604. }
  605. /** Properties of a PlaylistMetadata. */
  606. export interface IPlaylistMetadata {
  607. /** PlaylistMetadata title */
  608. title?: (string|null);
  609. /** PlaylistMetadata videos */
  610. videos?: (Long[]|null);
  611. }
  612. /** Represents a PlaylistMetadata. */
  613. export class PlaylistMetadata implements IPlaylistMetadata {
  614. /**
  615. * Constructs a new PlaylistMetadata.
  616. * @param [properties] Properties to set
  617. */
  618. constructor(properties?: IPlaylistMetadata);
  619. /** PlaylistMetadata title. */
  620. public title: string;
  621. /** PlaylistMetadata videos. */
  622. public videos: Long[];
  623. /**
  624. * Creates a new PlaylistMetadata instance using the specified properties.
  625. * @param [properties] Properties to set
  626. * @returns PlaylistMetadata instance
  627. */
  628. public static create(properties?: IPlaylistMetadata): PlaylistMetadata;
  629. /**
  630. * Encodes the specified PlaylistMetadata message. Does not implicitly {@link PlaylistMetadata.verify|verify} messages.
  631. * @param message PlaylistMetadata message or plain object to encode
  632. * @param [writer] Writer to encode to
  633. * @returns Writer
  634. */
  635. public static encode(message: IPlaylistMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  636. /**
  637. * Encodes the specified PlaylistMetadata message, length delimited. Does not implicitly {@link PlaylistMetadata.verify|verify} messages.
  638. * @param message PlaylistMetadata message or plain object to encode
  639. * @param [writer] Writer to encode to
  640. * @returns Writer
  641. */
  642. public static encodeDelimited(message: IPlaylistMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  643. /**
  644. * Decodes a PlaylistMetadata message from the specified reader or buffer.
  645. * @param reader Reader or buffer to decode from
  646. * @param [length] Message length if known beforehand
  647. * @returns PlaylistMetadata
  648. * @throws {Error} If the payload is not a reader or valid buffer
  649. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  650. */
  651. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PlaylistMetadata;
  652. /**
  653. * Decodes a PlaylistMetadata message from the specified reader or buffer, length delimited.
  654. * @param reader Reader or buffer to decode from
  655. * @returns PlaylistMetadata
  656. * @throws {Error} If the payload is not a reader or valid buffer
  657. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  658. */
  659. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PlaylistMetadata;
  660. /**
  661. * Verifies a PlaylistMetadata message.
  662. * @param message Plain object to verify
  663. * @returns `null` if valid, otherwise the reason why it is not
  664. */
  665. public static verify(message: { [k: string]: any }): (string|null);
  666. /**
  667. * Creates a PlaylistMetadata message from a plain object. Also converts values to their respective internal types.
  668. * @param object Plain object
  669. * @returns PlaylistMetadata
  670. */
  671. public static fromObject(object: { [k: string]: any }): PlaylistMetadata;
  672. /**
  673. * Creates a plain object from a PlaylistMetadata message. Also converts values to other types if specified.
  674. * @param message PlaylistMetadata
  675. * @param [options] Conversion options
  676. * @returns Plain object
  677. */
  678. public static toObject(message: PlaylistMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  679. /**
  680. * Converts this PlaylistMetadata to JSON.
  681. * @returns JSON object
  682. */
  683. public toJSON(): { [k: string]: any };
  684. }
  685. /** Properties of a SeriesMetadata. */
  686. export interface ISeriesMetadata {
  687. /** SeriesMetadata title */
  688. title?: (string|null);
  689. /** SeriesMetadata description */
  690. description?: (string|null);
  691. /** SeriesMetadata coverPhoto */
  692. coverPhoto?: (number|null);
  693. /** SeriesMetadata persons */
  694. persons?: (Long[]|null);
  695. }
  696. /** Represents a SeriesMetadata. */
  697. export class SeriesMetadata implements ISeriesMetadata {
  698. /**
  699. * Constructs a new SeriesMetadata.
  700. * @param [properties] Properties to set
  701. */
  702. constructor(properties?: ISeriesMetadata);
  703. /** SeriesMetadata title. */
  704. public title: string;
  705. /** SeriesMetadata description. */
  706. public description: string;
  707. /** SeriesMetadata coverPhoto. */
  708. public coverPhoto: number;
  709. /** SeriesMetadata persons. */
  710. public persons: Long[];
  711. /**
  712. * Creates a new SeriesMetadata instance using the specified properties.
  713. * @param [properties] Properties to set
  714. * @returns SeriesMetadata instance
  715. */
  716. public static create(properties?: ISeriesMetadata): SeriesMetadata;
  717. /**
  718. * Encodes the specified SeriesMetadata message. Does not implicitly {@link SeriesMetadata.verify|verify} messages.
  719. * @param message SeriesMetadata message or plain object to encode
  720. * @param [writer] Writer to encode to
  721. * @returns Writer
  722. */
  723. public static encode(message: ISeriesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  724. /**
  725. * Encodes the specified SeriesMetadata message, length delimited. Does not implicitly {@link SeriesMetadata.verify|verify} messages.
  726. * @param message SeriesMetadata message or plain object to encode
  727. * @param [writer] Writer to encode to
  728. * @returns Writer
  729. */
  730. public static encodeDelimited(message: ISeriesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  731. /**
  732. * Decodes a SeriesMetadata message from the specified reader or buffer.
  733. * @param reader Reader or buffer to decode from
  734. * @param [length] Message length if known beforehand
  735. * @returns SeriesMetadata
  736. * @throws {Error} If the payload is not a reader or valid buffer
  737. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  738. */
  739. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SeriesMetadata;
  740. /**
  741. * Decodes a SeriesMetadata message from the specified reader or buffer, length delimited.
  742. * @param reader Reader or buffer to decode from
  743. * @returns SeriesMetadata
  744. * @throws {Error} If the payload is not a reader or valid buffer
  745. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  746. */
  747. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SeriesMetadata;
  748. /**
  749. * Verifies a SeriesMetadata message.
  750. * @param message Plain object to verify
  751. * @returns `null` if valid, otherwise the reason why it is not
  752. */
  753. public static verify(message: { [k: string]: any }): (string|null);
  754. /**
  755. * Creates a SeriesMetadata message from a plain object. Also converts values to their respective internal types.
  756. * @param object Plain object
  757. * @returns SeriesMetadata
  758. */
  759. public static fromObject(object: { [k: string]: any }): SeriesMetadata;
  760. /**
  761. * Creates a plain object from a SeriesMetadata message. Also converts values to other types if specified.
  762. * @param message SeriesMetadata
  763. * @param [options] Conversion options
  764. * @returns Plain object
  765. */
  766. public static toObject(message: SeriesMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  767. /**
  768. * Converts this SeriesMetadata to JSON.
  769. * @returns JSON object
  770. */
  771. public toJSON(): { [k: string]: any };
  772. }
  773. /** Properties of a SeasonMetadata. */
  774. export interface ISeasonMetadata {
  775. /** SeasonMetadata title */
  776. title?: (string|null);
  777. /** SeasonMetadata description */
  778. description?: (string|null);
  779. /** SeasonMetadata coverPhoto */
  780. coverPhoto?: (number|null);
  781. /** SeasonMetadata persons */
  782. persons?: (Long[]|null);
  783. }
  784. /** Represents a SeasonMetadata. */
  785. export class SeasonMetadata implements ISeasonMetadata {
  786. /**
  787. * Constructs a new SeasonMetadata.
  788. * @param [properties] Properties to set
  789. */
  790. constructor(properties?: ISeasonMetadata);
  791. /** SeasonMetadata title. */
  792. public title: string;
  793. /** SeasonMetadata description. */
  794. public description: string;
  795. /** SeasonMetadata coverPhoto. */
  796. public coverPhoto: number;
  797. /** SeasonMetadata persons. */
  798. public persons: Long[];
  799. /**
  800. * Creates a new SeasonMetadata instance using the specified properties.
  801. * @param [properties] Properties to set
  802. * @returns SeasonMetadata instance
  803. */
  804. public static create(properties?: ISeasonMetadata): SeasonMetadata;
  805. /**
  806. * Encodes the specified SeasonMetadata message. Does not implicitly {@link SeasonMetadata.verify|verify} messages.
  807. * @param message SeasonMetadata message or plain object to encode
  808. * @param [writer] Writer to encode to
  809. * @returns Writer
  810. */
  811. public static encode(message: ISeasonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  812. /**
  813. * Encodes the specified SeasonMetadata message, length delimited. Does not implicitly {@link SeasonMetadata.verify|verify} messages.
  814. * @param message SeasonMetadata message or plain object to encode
  815. * @param [writer] Writer to encode to
  816. * @returns Writer
  817. */
  818. public static encodeDelimited(message: ISeasonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  819. /**
  820. * Decodes a SeasonMetadata message from the specified reader or buffer.
  821. * @param reader Reader or buffer to decode from
  822. * @param [length] Message length if known beforehand
  823. * @returns SeasonMetadata
  824. * @throws {Error} If the payload is not a reader or valid buffer
  825. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  826. */
  827. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SeasonMetadata;
  828. /**
  829. * Decodes a SeasonMetadata message from the specified reader or buffer, length delimited.
  830. * @param reader Reader or buffer to decode from
  831. * @returns SeasonMetadata
  832. * @throws {Error} If the payload is not a reader or valid buffer
  833. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  834. */
  835. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SeasonMetadata;
  836. /**
  837. * Verifies a SeasonMetadata message.
  838. * @param message Plain object to verify
  839. * @returns `null` if valid, otherwise the reason why it is not
  840. */
  841. public static verify(message: { [k: string]: any }): (string|null);
  842. /**
  843. * Creates a SeasonMetadata message from a plain object. Also converts values to their respective internal types.
  844. * @param object Plain object
  845. * @returns SeasonMetadata
  846. */
  847. public static fromObject(object: { [k: string]: any }): SeasonMetadata;
  848. /**
  849. * Creates a plain object from a SeasonMetadata message. Also converts values to other types if specified.
  850. * @param message SeasonMetadata
  851. * @param [options] Conversion options
  852. * @returns Plain object
  853. */
  854. public static toObject(message: SeasonMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  855. /**
  856. * Converts this SeasonMetadata to JSON.
  857. * @returns JSON object
  858. */
  859. public toJSON(): { [k: string]: any };
  860. }
  861. /** Properties of a PublishedBeforeJoystream. */
  862. export interface IPublishedBeforeJoystream {
  863. /** PublishedBeforeJoystream isPublished */
  864. isPublished?: (boolean|null);
  865. /** PublishedBeforeJoystream date */
  866. date?: (string|null);
  867. }
  868. /** Represents a PublishedBeforeJoystream. */
  869. export class PublishedBeforeJoystream implements IPublishedBeforeJoystream {
  870. /**
  871. * Constructs a new PublishedBeforeJoystream.
  872. * @param [properties] Properties to set
  873. */
  874. constructor(properties?: IPublishedBeforeJoystream);
  875. /** PublishedBeforeJoystream isPublished. */
  876. public isPublished: boolean;
  877. /** PublishedBeforeJoystream date. */
  878. public date: string;
  879. /**
  880. * Creates a new PublishedBeforeJoystream instance using the specified properties.
  881. * @param [properties] Properties to set
  882. * @returns PublishedBeforeJoystream instance
  883. */
  884. public static create(properties?: IPublishedBeforeJoystream): PublishedBeforeJoystream;
  885. /**
  886. * Encodes the specified PublishedBeforeJoystream message. Does not implicitly {@link PublishedBeforeJoystream.verify|verify} messages.
  887. * @param message PublishedBeforeJoystream message or plain object to encode
  888. * @param [writer] Writer to encode to
  889. * @returns Writer
  890. */
  891. public static encode(message: IPublishedBeforeJoystream, writer?: $protobuf.Writer): $protobuf.Writer;
  892. /**
  893. * Encodes the specified PublishedBeforeJoystream message, length delimited. Does not implicitly {@link PublishedBeforeJoystream.verify|verify} messages.
  894. * @param message PublishedBeforeJoystream message or plain object to encode
  895. * @param [writer] Writer to encode to
  896. * @returns Writer
  897. */
  898. public static encodeDelimited(message: IPublishedBeforeJoystream, writer?: $protobuf.Writer): $protobuf.Writer;
  899. /**
  900. * Decodes a PublishedBeforeJoystream message from the specified reader or buffer.
  901. * @param reader Reader or buffer to decode from
  902. * @param [length] Message length if known beforehand
  903. * @returns PublishedBeforeJoystream
  904. * @throws {Error} If the payload is not a reader or valid buffer
  905. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  906. */
  907. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PublishedBeforeJoystream;
  908. /**
  909. * Decodes a PublishedBeforeJoystream message from the specified reader or buffer, length delimited.
  910. * @param reader Reader or buffer to decode from
  911. * @returns PublishedBeforeJoystream
  912. * @throws {Error} If the payload is not a reader or valid buffer
  913. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  914. */
  915. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PublishedBeforeJoystream;
  916. /**
  917. * Verifies a PublishedBeforeJoystream message.
  918. * @param message Plain object to verify
  919. * @returns `null` if valid, otherwise the reason why it is not
  920. */
  921. public static verify(message: { [k: string]: any }): (string|null);
  922. /**
  923. * Creates a PublishedBeforeJoystream message from a plain object. Also converts values to their respective internal types.
  924. * @param object Plain object
  925. * @returns PublishedBeforeJoystream
  926. */
  927. public static fromObject(object: { [k: string]: any }): PublishedBeforeJoystream;
  928. /**
  929. * Creates a plain object from a PublishedBeforeJoystream message. Also converts values to other types if specified.
  930. * @param message PublishedBeforeJoystream
  931. * @param [options] Conversion options
  932. * @returns Plain object
  933. */
  934. public static toObject(message: PublishedBeforeJoystream, options?: $protobuf.IConversionOptions): { [k: string]: any };
  935. /**
  936. * Converts this PublishedBeforeJoystream to JSON.
  937. * @returns JSON object
  938. */
  939. public toJSON(): { [k: string]: any };
  940. }
  941. /** Properties of a License. */
  942. export interface ILicense {
  943. /** License code */
  944. code?: (number|null);
  945. /** License attribution */
  946. attribution?: (string|null);
  947. /** License customText */
  948. customText?: (string|null);
  949. }
  950. /** Represents a License. */
  951. export class License implements ILicense {
  952. /**
  953. * Constructs a new License.
  954. * @param [properties] Properties to set
  955. */
  956. constructor(properties?: ILicense);
  957. /** License code. */
  958. public code: number;
  959. /** License attribution. */
  960. public attribution: string;
  961. /** License customText. */
  962. public customText: string;
  963. /**
  964. * Creates a new License instance using the specified properties.
  965. * @param [properties] Properties to set
  966. * @returns License instance
  967. */
  968. public static create(properties?: ILicense): License;
  969. /**
  970. * Encodes the specified License message. Does not implicitly {@link License.verify|verify} messages.
  971. * @param message License message or plain object to encode
  972. * @param [writer] Writer to encode to
  973. * @returns Writer
  974. */
  975. public static encode(message: ILicense, writer?: $protobuf.Writer): $protobuf.Writer;
  976. /**
  977. * Encodes the specified License message, length delimited. Does not implicitly {@link License.verify|verify} messages.
  978. * @param message License message or plain object to encode
  979. * @param [writer] Writer to encode to
  980. * @returns Writer
  981. */
  982. public static encodeDelimited(message: ILicense, writer?: $protobuf.Writer): $protobuf.Writer;
  983. /**
  984. * Decodes a License message from the specified reader or buffer.
  985. * @param reader Reader or buffer to decode from
  986. * @param [length] Message length if known beforehand
  987. * @returns License
  988. * @throws {Error} If the payload is not a reader or valid buffer
  989. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  990. */
  991. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): License;
  992. /**
  993. * Decodes a License message from the specified reader or buffer, length delimited.
  994. * @param reader Reader or buffer to decode from
  995. * @returns License
  996. * @throws {Error} If the payload is not a reader or valid buffer
  997. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  998. */
  999. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): License;
  1000. /**
  1001. * Verifies a License message.
  1002. * @param message Plain object to verify
  1003. * @returns `null` if valid, otherwise the reason why it is not
  1004. */
  1005. public static verify(message: { [k: string]: any }): (string|null);
  1006. /**
  1007. * Creates a License message from a plain object. Also converts values to their respective internal types.
  1008. * @param object Plain object
  1009. * @returns License
  1010. */
  1011. public static fromObject(object: { [k: string]: any }): License;
  1012. /**
  1013. * Creates a plain object from a License message. Also converts values to other types if specified.
  1014. * @param message License
  1015. * @param [options] Conversion options
  1016. * @returns Plain object
  1017. */
  1018. public static toObject(message: License, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1019. /**
  1020. * Converts this License to JSON.
  1021. * @returns JSON object
  1022. */
  1023. public toJSON(): { [k: string]: any };
  1024. }
  1025. /** Properties of a MediaType. */
  1026. export interface IMediaType {
  1027. /** MediaType codecName */
  1028. codecName?: (string|null);
  1029. /** MediaType container */
  1030. container?: (string|null);
  1031. /** MediaType mimeMediaType */
  1032. mimeMediaType?: (string|null);
  1033. }
  1034. /** Represents a MediaType. */
  1035. export class MediaType implements IMediaType {
  1036. /**
  1037. * Constructs a new MediaType.
  1038. * @param [properties] Properties to set
  1039. */
  1040. constructor(properties?: IMediaType);
  1041. /** MediaType codecName. */
  1042. public codecName: string;
  1043. /** MediaType container. */
  1044. public container: string;
  1045. /** MediaType mimeMediaType. */
  1046. public mimeMediaType: string;
  1047. /**
  1048. * Creates a new MediaType instance using the specified properties.
  1049. * @param [properties] Properties to set
  1050. * @returns MediaType instance
  1051. */
  1052. public static create(properties?: IMediaType): MediaType;
  1053. /**
  1054. * Encodes the specified MediaType message. Does not implicitly {@link MediaType.verify|verify} messages.
  1055. * @param message MediaType message or plain object to encode
  1056. * @param [writer] Writer to encode to
  1057. * @returns Writer
  1058. */
  1059. public static encode(message: IMediaType, writer?: $protobuf.Writer): $protobuf.Writer;
  1060. /**
  1061. * Encodes the specified MediaType message, length delimited. Does not implicitly {@link MediaType.verify|verify} messages.
  1062. * @param message MediaType message or plain object to encode
  1063. * @param [writer] Writer to encode to
  1064. * @returns Writer
  1065. */
  1066. public static encodeDelimited(message: IMediaType, writer?: $protobuf.Writer): $protobuf.Writer;
  1067. /**
  1068. * Decodes a MediaType message from the specified reader or buffer.
  1069. * @param reader Reader or buffer to decode from
  1070. * @param [length] Message length if known beforehand
  1071. * @returns MediaType
  1072. * @throws {Error} If the payload is not a reader or valid buffer
  1073. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1074. */
  1075. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MediaType;
  1076. /**
  1077. * Decodes a MediaType message from the specified reader or buffer, length delimited.
  1078. * @param reader Reader or buffer to decode from
  1079. * @returns MediaType
  1080. * @throws {Error} If the payload is not a reader or valid buffer
  1081. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1082. */
  1083. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MediaType;
  1084. /**
  1085. * Verifies a MediaType message.
  1086. * @param message Plain object to verify
  1087. * @returns `null` if valid, otherwise the reason why it is not
  1088. */
  1089. public static verify(message: { [k: string]: any }): (string|null);
  1090. /**
  1091. * Creates a MediaType message from a plain object. Also converts values to their respective internal types.
  1092. * @param object Plain object
  1093. * @returns MediaType
  1094. */
  1095. public static fromObject(object: { [k: string]: any }): MediaType;
  1096. /**
  1097. * Creates a plain object from a MediaType message. Also converts values to other types if specified.
  1098. * @param message MediaType
  1099. * @param [options] Conversion options
  1100. * @returns Plain object
  1101. */
  1102. public static toObject(message: MediaType, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1103. /**
  1104. * Converts this MediaType to JSON.
  1105. * @returns JSON object
  1106. */
  1107. public toJSON(): { [k: string]: any };
  1108. }
  1109. /** Properties of a VideoMetadata. */
  1110. export interface IVideoMetadata {
  1111. /** VideoMetadata title */
  1112. title?: (string|null);
  1113. /** VideoMetadata description */
  1114. description?: (string|null);
  1115. /** VideoMetadata video */
  1116. video?: (number|null);
  1117. /** VideoMetadata thumbnailPhoto */
  1118. thumbnailPhoto?: (number|null);
  1119. /** VideoMetadata duration */
  1120. duration?: (number|null);
  1121. /** VideoMetadata mediaPixelHeight */
  1122. mediaPixelHeight?: (number|null);
  1123. /** VideoMetadata mediaPixelWidth */
  1124. mediaPixelWidth?: (number|null);
  1125. /** VideoMetadata mediaType */
  1126. mediaType?: (IMediaType|null);
  1127. /** VideoMetadata language */
  1128. language?: (string|null);
  1129. /** VideoMetadata license */
  1130. license?: (ILicense|null);
  1131. /** VideoMetadata publishedBeforeJoystream */
  1132. publishedBeforeJoystream?: (IPublishedBeforeJoystream|null);
  1133. /** VideoMetadata hasMarketing */
  1134. hasMarketing?: (boolean|null);
  1135. /** VideoMetadata isPublic */
  1136. isPublic?: (boolean|null);
  1137. /** VideoMetadata isExplicit */
  1138. isExplicit?: (boolean|null);
  1139. /** VideoMetadata persons */
  1140. persons?: (Long[]|null);
  1141. /** VideoMetadata category */
  1142. category?: (Long|null);
  1143. }
  1144. /** Represents a VideoMetadata. */
  1145. export class VideoMetadata implements IVideoMetadata {
  1146. /**
  1147. * Constructs a new VideoMetadata.
  1148. * @param [properties] Properties to set
  1149. */
  1150. constructor(properties?: IVideoMetadata);
  1151. /** VideoMetadata title. */
  1152. public title: string;
  1153. /** VideoMetadata description. */
  1154. public description: string;
  1155. /** VideoMetadata video. */
  1156. public video: number;
  1157. /** VideoMetadata thumbnailPhoto. */
  1158. public thumbnailPhoto: number;
  1159. /** VideoMetadata duration. */
  1160. public duration: number;
  1161. /** VideoMetadata mediaPixelHeight. */
  1162. public mediaPixelHeight: number;
  1163. /** VideoMetadata mediaPixelWidth. */
  1164. public mediaPixelWidth: number;
  1165. /** VideoMetadata mediaType. */
  1166. public mediaType?: (IMediaType|null);
  1167. /** VideoMetadata language. */
  1168. public language: string;
  1169. /** VideoMetadata license. */
  1170. public license?: (ILicense|null);
  1171. /** VideoMetadata publishedBeforeJoystream. */
  1172. public publishedBeforeJoystream?: (IPublishedBeforeJoystream|null);
  1173. /** VideoMetadata hasMarketing. */
  1174. public hasMarketing: boolean;
  1175. /** VideoMetadata isPublic. */
  1176. public isPublic: boolean;
  1177. /** VideoMetadata isExplicit. */
  1178. public isExplicit: boolean;
  1179. /** VideoMetadata persons. */
  1180. public persons: Long[];
  1181. /** VideoMetadata category. */
  1182. public category: Long;
  1183. /**
  1184. * Creates a new VideoMetadata instance using the specified properties.
  1185. * @param [properties] Properties to set
  1186. * @returns VideoMetadata instance
  1187. */
  1188. public static create(properties?: IVideoMetadata): VideoMetadata;
  1189. /**
  1190. * Encodes the specified VideoMetadata message. Does not implicitly {@link VideoMetadata.verify|verify} messages.
  1191. * @param message VideoMetadata message or plain object to encode
  1192. * @param [writer] Writer to encode to
  1193. * @returns Writer
  1194. */
  1195. public static encode(message: IVideoMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1196. /**
  1197. * Encodes the specified VideoMetadata message, length delimited. Does not implicitly {@link VideoMetadata.verify|verify} messages.
  1198. * @param message VideoMetadata message or plain object to encode
  1199. * @param [writer] Writer to encode to
  1200. * @returns Writer
  1201. */
  1202. public static encodeDelimited(message: IVideoMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1203. /**
  1204. * Decodes a VideoMetadata message from the specified reader or buffer.
  1205. * @param reader Reader or buffer to decode from
  1206. * @param [length] Message length if known beforehand
  1207. * @returns VideoMetadata
  1208. * @throws {Error} If the payload is not a reader or valid buffer
  1209. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1210. */
  1211. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VideoMetadata;
  1212. /**
  1213. * Decodes a VideoMetadata message from the specified reader or buffer, length delimited.
  1214. * @param reader Reader or buffer to decode from
  1215. * @returns VideoMetadata
  1216. * @throws {Error} If the payload is not a reader or valid buffer
  1217. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1218. */
  1219. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VideoMetadata;
  1220. /**
  1221. * Verifies a VideoMetadata message.
  1222. * @param message Plain object to verify
  1223. * @returns `null` if valid, otherwise the reason why it is not
  1224. */
  1225. public static verify(message: { [k: string]: any }): (string|null);
  1226. /**
  1227. * Creates a VideoMetadata message from a plain object. Also converts values to their respective internal types.
  1228. * @param object Plain object
  1229. * @returns VideoMetadata
  1230. */
  1231. public static fromObject(object: { [k: string]: any }): VideoMetadata;
  1232. /**
  1233. * Creates a plain object from a VideoMetadata message. Also converts values to other types if specified.
  1234. * @param message VideoMetadata
  1235. * @param [options] Conversion options
  1236. * @returns Plain object
  1237. */
  1238. public static toObject(message: VideoMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1239. /**
  1240. * Converts this VideoMetadata to JSON.
  1241. * @returns JSON object
  1242. */
  1243. public toJSON(): { [k: string]: any };
  1244. }
  1245. /** Properties of a VideoCategoryMetadata. */
  1246. export interface IVideoCategoryMetadata {
  1247. /** VideoCategoryMetadata name */
  1248. name?: (string|null);
  1249. }
  1250. /** Represents a VideoCategoryMetadata. */
  1251. export class VideoCategoryMetadata implements IVideoCategoryMetadata {
  1252. /**
  1253. * Constructs a new VideoCategoryMetadata.
  1254. * @param [properties] Properties to set
  1255. */
  1256. constructor(properties?: IVideoCategoryMetadata);
  1257. /** VideoCategoryMetadata name. */
  1258. public name: string;
  1259. /**
  1260. * Creates a new VideoCategoryMetadata instance using the specified properties.
  1261. * @param [properties] Properties to set
  1262. * @returns VideoCategoryMetadata instance
  1263. */
  1264. public static create(properties?: IVideoCategoryMetadata): VideoCategoryMetadata;
  1265. /**
  1266. * Encodes the specified VideoCategoryMetadata message. Does not implicitly {@link VideoCategoryMetadata.verify|verify} messages.
  1267. * @param message VideoCategoryMetadata message or plain object to encode
  1268. * @param [writer] Writer to encode to
  1269. * @returns Writer
  1270. */
  1271. public static encode(message: IVideoCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1272. /**
  1273. * Encodes the specified VideoCategoryMetadata message, length delimited. Does not implicitly {@link VideoCategoryMetadata.verify|verify} messages.
  1274. * @param message VideoCategoryMetadata message or plain object to encode
  1275. * @param [writer] Writer to encode to
  1276. * @returns Writer
  1277. */
  1278. public static encodeDelimited(message: IVideoCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1279. /**
  1280. * Decodes a VideoCategoryMetadata message from the specified reader or buffer.
  1281. * @param reader Reader or buffer to decode from
  1282. * @param [length] Message length if known beforehand
  1283. * @returns VideoCategoryMetadata
  1284. * @throws {Error} If the payload is not a reader or valid buffer
  1285. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1286. */
  1287. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VideoCategoryMetadata;
  1288. /**
  1289. * Decodes a VideoCategoryMetadata message from the specified reader or buffer, length delimited.
  1290. * @param reader Reader or buffer to decode from
  1291. * @returns VideoCategoryMetadata
  1292. * @throws {Error} If the payload is not a reader or valid buffer
  1293. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1294. */
  1295. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VideoCategoryMetadata;
  1296. /**
  1297. * Verifies a VideoCategoryMetadata message.
  1298. * @param message Plain object to verify
  1299. * @returns `null` if valid, otherwise the reason why it is not
  1300. */
  1301. public static verify(message: { [k: string]: any }): (string|null);
  1302. /**
  1303. * Creates a VideoCategoryMetadata message from a plain object. Also converts values to their respective internal types.
  1304. * @param object Plain object
  1305. * @returns VideoCategoryMetadata
  1306. */
  1307. public static fromObject(object: { [k: string]: any }): VideoCategoryMetadata;
  1308. /**
  1309. * Creates a plain object from a VideoCategoryMetadata message. Also converts values to other types if specified.
  1310. * @param message VideoCategoryMetadata
  1311. * @param [options] Conversion options
  1312. * @returns Plain object
  1313. */
  1314. public static toObject(message: VideoCategoryMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1315. /**
  1316. * Converts this VideoCategoryMetadata to JSON.
  1317. * @returns JSON object
  1318. */
  1319. public toJSON(): { [k: string]: any };
  1320. }
  1321. /** Properties of an OpeningMetadata. */
  1322. export interface IOpeningMetadata {
  1323. /** OpeningMetadata shortDescription */
  1324. shortDescription?: (string|null);
  1325. /** OpeningMetadata description */
  1326. description?: (string|null);
  1327. /** OpeningMetadata hiringLimit */
  1328. hiringLimit?: (number|null);
  1329. /** OpeningMetadata expectedEndingTimestamp */
  1330. expectedEndingTimestamp?: (number|null);
  1331. /** OpeningMetadata applicationDetails */
  1332. applicationDetails?: (string|null);
  1333. /** OpeningMetadata applicationFormQuestions */
  1334. applicationFormQuestions?: (OpeningMetadata.IApplicationFormQuestion[]|null);
  1335. }
  1336. /** Represents an OpeningMetadata. */
  1337. export class OpeningMetadata implements IOpeningMetadata {
  1338. /**
  1339. * Constructs a new OpeningMetadata.
  1340. * @param [properties] Properties to set
  1341. */
  1342. constructor(properties?: IOpeningMetadata);
  1343. /** OpeningMetadata shortDescription. */
  1344. public shortDescription: string;
  1345. /** OpeningMetadata description. */
  1346. public description: string;
  1347. /** OpeningMetadata hiringLimit. */
  1348. public hiringLimit: number;
  1349. /** OpeningMetadata expectedEndingTimestamp. */
  1350. public expectedEndingTimestamp: number;
  1351. /** OpeningMetadata applicationDetails. */
  1352. public applicationDetails: string;
  1353. /** OpeningMetadata applicationFormQuestions. */
  1354. public applicationFormQuestions: OpeningMetadata.IApplicationFormQuestion[];
  1355. /**
  1356. * Creates a new OpeningMetadata instance using the specified properties.
  1357. * @param [properties] Properties to set
  1358. * @returns OpeningMetadata instance
  1359. */
  1360. public static create(properties?: IOpeningMetadata): OpeningMetadata;
  1361. /**
  1362. * Encodes the specified OpeningMetadata message. Does not implicitly {@link OpeningMetadata.verify|verify} messages.
  1363. * @param message OpeningMetadata message or plain object to encode
  1364. * @param [writer] Writer to encode to
  1365. * @returns Writer
  1366. */
  1367. public static encode(message: IOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1368. /**
  1369. * Encodes the specified OpeningMetadata message, length delimited. Does not implicitly {@link OpeningMetadata.verify|verify} messages.
  1370. * @param message OpeningMetadata message or plain object to encode
  1371. * @param [writer] Writer to encode to
  1372. * @returns Writer
  1373. */
  1374. public static encodeDelimited(message: IOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1375. /**
  1376. * Decodes an OpeningMetadata message from the specified reader or buffer.
  1377. * @param reader Reader or buffer to decode from
  1378. * @param [length] Message length if known beforehand
  1379. * @returns OpeningMetadata
  1380. * @throws {Error} If the payload is not a reader or valid buffer
  1381. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1382. */
  1383. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OpeningMetadata;
  1384. /**
  1385. * Decodes an OpeningMetadata message from the specified reader or buffer, length delimited.
  1386. * @param reader Reader or buffer to decode from
  1387. * @returns OpeningMetadata
  1388. * @throws {Error} If the payload is not a reader or valid buffer
  1389. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1390. */
  1391. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OpeningMetadata;
  1392. /**
  1393. * Verifies an OpeningMetadata message.
  1394. * @param message Plain object to verify
  1395. * @returns `null` if valid, otherwise the reason why it is not
  1396. */
  1397. public static verify(message: { [k: string]: any }): (string|null);
  1398. /**
  1399. * Creates an OpeningMetadata message from a plain object. Also converts values to their respective internal types.
  1400. * @param object Plain object
  1401. * @returns OpeningMetadata
  1402. */
  1403. public static fromObject(object: { [k: string]: any }): OpeningMetadata;
  1404. /**
  1405. * Creates a plain object from an OpeningMetadata message. Also converts values to other types if specified.
  1406. * @param message OpeningMetadata
  1407. * @param [options] Conversion options
  1408. * @returns Plain object
  1409. */
  1410. public static toObject(message: OpeningMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1411. /**
  1412. * Converts this OpeningMetadata to JSON.
  1413. * @returns JSON object
  1414. */
  1415. public toJSON(): { [k: string]: any };
  1416. }
  1417. export namespace OpeningMetadata {
  1418. /** Properties of an ApplicationFormQuestion. */
  1419. interface IApplicationFormQuestion {
  1420. /** ApplicationFormQuestion question */
  1421. question?: (string|null);
  1422. /** ApplicationFormQuestion type */
  1423. type?: (OpeningMetadata.ApplicationFormQuestion.InputType|null);
  1424. }
  1425. /** Represents an ApplicationFormQuestion. */
  1426. class ApplicationFormQuestion implements IApplicationFormQuestion {
  1427. /**
  1428. * Constructs a new ApplicationFormQuestion.
  1429. * @param [properties] Properties to set
  1430. */
  1431. constructor(properties?: OpeningMetadata.IApplicationFormQuestion);
  1432. /** ApplicationFormQuestion question. */
  1433. public question: string;
  1434. /** ApplicationFormQuestion type. */
  1435. public type: OpeningMetadata.ApplicationFormQuestion.InputType;
  1436. /**
  1437. * Creates a new ApplicationFormQuestion instance using the specified properties.
  1438. * @param [properties] Properties to set
  1439. * @returns ApplicationFormQuestion instance
  1440. */
  1441. public static create(properties?: OpeningMetadata.IApplicationFormQuestion): OpeningMetadata.ApplicationFormQuestion;
  1442. /**
  1443. * Encodes the specified ApplicationFormQuestion message. Does not implicitly {@link OpeningMetadata.ApplicationFormQuestion.verify|verify} messages.
  1444. * @param message ApplicationFormQuestion message or plain object to encode
  1445. * @param [writer] Writer to encode to
  1446. * @returns Writer
  1447. */
  1448. public static encode(message: OpeningMetadata.IApplicationFormQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
  1449. /**
  1450. * Encodes the specified ApplicationFormQuestion message, length delimited. Does not implicitly {@link OpeningMetadata.ApplicationFormQuestion.verify|verify} messages.
  1451. * @param message ApplicationFormQuestion message or plain object to encode
  1452. * @param [writer] Writer to encode to
  1453. * @returns Writer
  1454. */
  1455. public static encodeDelimited(message: OpeningMetadata.IApplicationFormQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
  1456. /**
  1457. * Decodes an ApplicationFormQuestion message from the specified reader or buffer.
  1458. * @param reader Reader or buffer to decode from
  1459. * @param [length] Message length if known beforehand
  1460. * @returns ApplicationFormQuestion
  1461. * @throws {Error} If the payload is not a reader or valid buffer
  1462. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1463. */
  1464. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OpeningMetadata.ApplicationFormQuestion;
  1465. /**
  1466. * Decodes an ApplicationFormQuestion message from the specified reader or buffer, length delimited.
  1467. * @param reader Reader or buffer to decode from
  1468. * @returns ApplicationFormQuestion
  1469. * @throws {Error} If the payload is not a reader or valid buffer
  1470. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1471. */
  1472. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OpeningMetadata.ApplicationFormQuestion;
  1473. /**
  1474. * Verifies an ApplicationFormQuestion message.
  1475. * @param message Plain object to verify
  1476. * @returns `null` if valid, otherwise the reason why it is not
  1477. */
  1478. public static verify(message: { [k: string]: any }): (string|null);
  1479. /**
  1480. * Creates an ApplicationFormQuestion message from a plain object. Also converts values to their respective internal types.
  1481. * @param object Plain object
  1482. * @returns ApplicationFormQuestion
  1483. */
  1484. public static fromObject(object: { [k: string]: any }): OpeningMetadata.ApplicationFormQuestion;
  1485. /**
  1486. * Creates a plain object from an ApplicationFormQuestion message. Also converts values to other types if specified.
  1487. * @param message ApplicationFormQuestion
  1488. * @param [options] Conversion options
  1489. * @returns Plain object
  1490. */
  1491. public static toObject(message: OpeningMetadata.ApplicationFormQuestion, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1492. /**
  1493. * Converts this ApplicationFormQuestion to JSON.
  1494. * @returns JSON object
  1495. */
  1496. public toJSON(): { [k: string]: any };
  1497. }
  1498. namespace ApplicationFormQuestion {
  1499. /** InputType enum. */
  1500. enum InputType {
  1501. TEXTAREA = 0,
  1502. TEXT = 1
  1503. }
  1504. }
  1505. }
  1506. /** Properties of an UpcomingOpeningMetadata. */
  1507. export interface IUpcomingOpeningMetadata {
  1508. /** UpcomingOpeningMetadata expectedStart */
  1509. expectedStart?: (number|null);
  1510. /** UpcomingOpeningMetadata rewardPerBlock */
  1511. rewardPerBlock?: (Long|null);
  1512. /** UpcomingOpeningMetadata minApplicationStake */
  1513. minApplicationStake?: (Long|null);
  1514. /** UpcomingOpeningMetadata metadata */
  1515. metadata?: (IOpeningMetadata|null);
  1516. }
  1517. /** Represents an UpcomingOpeningMetadata. */
  1518. export class UpcomingOpeningMetadata implements IUpcomingOpeningMetadata {
  1519. /**
  1520. * Constructs a new UpcomingOpeningMetadata.
  1521. * @param [properties] Properties to set
  1522. */
  1523. constructor(properties?: IUpcomingOpeningMetadata);
  1524. /** UpcomingOpeningMetadata expectedStart. */
  1525. public expectedStart: number;
  1526. /** UpcomingOpeningMetadata rewardPerBlock. */
  1527. public rewardPerBlock: Long;
  1528. /** UpcomingOpeningMetadata minApplicationStake. */
  1529. public minApplicationStake: Long;
  1530. /** UpcomingOpeningMetadata metadata. */
  1531. public metadata?: (IOpeningMetadata|null);
  1532. /**
  1533. * Creates a new UpcomingOpeningMetadata instance using the specified properties.
  1534. * @param [properties] Properties to set
  1535. * @returns UpcomingOpeningMetadata instance
  1536. */
  1537. public static create(properties?: IUpcomingOpeningMetadata): UpcomingOpeningMetadata;
  1538. /**
  1539. * Encodes the specified UpcomingOpeningMetadata message. Does not implicitly {@link UpcomingOpeningMetadata.verify|verify} messages.
  1540. * @param message UpcomingOpeningMetadata message or plain object to encode
  1541. * @param [writer] Writer to encode to
  1542. * @returns Writer
  1543. */
  1544. public static encode(message: IUpcomingOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1545. /**
  1546. * Encodes the specified UpcomingOpeningMetadata message, length delimited. Does not implicitly {@link UpcomingOpeningMetadata.verify|verify} messages.
  1547. * @param message UpcomingOpeningMetadata message or plain object to encode
  1548. * @param [writer] Writer to encode to
  1549. * @returns Writer
  1550. */
  1551. public static encodeDelimited(message: IUpcomingOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1552. /**
  1553. * Decodes an UpcomingOpeningMetadata message from the specified reader or buffer.
  1554. * @param reader Reader or buffer to decode from
  1555. * @param [length] Message length if known beforehand
  1556. * @returns UpcomingOpeningMetadata
  1557. * @throws {Error} If the payload is not a reader or valid buffer
  1558. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1559. */
  1560. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UpcomingOpeningMetadata;
  1561. /**
  1562. * Decodes an UpcomingOpeningMetadata message from the specified reader or buffer, length delimited.
  1563. * @param reader Reader or buffer to decode from
  1564. * @returns UpcomingOpeningMetadata
  1565. * @throws {Error} If the payload is not a reader or valid buffer
  1566. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1567. */
  1568. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UpcomingOpeningMetadata;
  1569. /**
  1570. * Verifies an UpcomingOpeningMetadata message.
  1571. * @param message Plain object to verify
  1572. * @returns `null` if valid, otherwise the reason why it is not
  1573. */
  1574. public static verify(message: { [k: string]: any }): (string|null);
  1575. /**
  1576. * Creates an UpcomingOpeningMetadata message from a plain object. Also converts values to their respective internal types.
  1577. * @param object Plain object
  1578. * @returns UpcomingOpeningMetadata
  1579. */
  1580. public static fromObject(object: { [k: string]: any }): UpcomingOpeningMetadata;
  1581. /**
  1582. * Creates a plain object from an UpcomingOpeningMetadata message. Also converts values to other types if specified.
  1583. * @param message UpcomingOpeningMetadata
  1584. * @param [options] Conversion options
  1585. * @returns Plain object
  1586. */
  1587. public static toObject(message: UpcomingOpeningMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1588. /**
  1589. * Converts this UpcomingOpeningMetadata to JSON.
  1590. * @returns JSON object
  1591. */
  1592. public toJSON(): { [k: string]: any };
  1593. }
  1594. /** Properties of an ApplicationMetadata. */
  1595. export interface IApplicationMetadata {
  1596. /** ApplicationMetadata answers */
  1597. answers?: (string[]|null);
  1598. }
  1599. /** Represents an ApplicationMetadata. */
  1600. export class ApplicationMetadata implements IApplicationMetadata {
  1601. /**
  1602. * Constructs a new ApplicationMetadata.
  1603. * @param [properties] Properties to set
  1604. */
  1605. constructor(properties?: IApplicationMetadata);
  1606. /** ApplicationMetadata answers. */
  1607. public answers: string[];
  1608. /**
  1609. * Creates a new ApplicationMetadata instance using the specified properties.
  1610. * @param [properties] Properties to set
  1611. * @returns ApplicationMetadata instance
  1612. */
  1613. public static create(properties?: IApplicationMetadata): ApplicationMetadata;
  1614. /**
  1615. * Encodes the specified ApplicationMetadata message. Does not implicitly {@link ApplicationMetadata.verify|verify} messages.
  1616. * @param message ApplicationMetadata message or plain object to encode
  1617. * @param [writer] Writer to encode to
  1618. * @returns Writer
  1619. */
  1620. public static encode(message: IApplicationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1621. /**
  1622. * Encodes the specified ApplicationMetadata message, length delimited. Does not implicitly {@link ApplicationMetadata.verify|verify} messages.
  1623. * @param message ApplicationMetadata message or plain object to encode
  1624. * @param [writer] Writer to encode to
  1625. * @returns Writer
  1626. */
  1627. public static encodeDelimited(message: IApplicationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1628. /**
  1629. * Decodes an ApplicationMetadata message from the specified reader or buffer.
  1630. * @param reader Reader or buffer to decode from
  1631. * @param [length] Message length if known beforehand
  1632. * @returns ApplicationMetadata
  1633. * @throws {Error} If the payload is not a reader or valid buffer
  1634. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1635. */
  1636. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ApplicationMetadata;
  1637. /**
  1638. * Decodes an ApplicationMetadata message from the specified reader or buffer, length delimited.
  1639. * @param reader Reader or buffer to decode from
  1640. * @returns ApplicationMetadata
  1641. * @throws {Error} If the payload is not a reader or valid buffer
  1642. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1643. */
  1644. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ApplicationMetadata;
  1645. /**
  1646. * Verifies an ApplicationMetadata message.
  1647. * @param message Plain object to verify
  1648. * @returns `null` if valid, otherwise the reason why it is not
  1649. */
  1650. public static verify(message: { [k: string]: any }): (string|null);
  1651. /**
  1652. * Creates an ApplicationMetadata message from a plain object. Also converts values to their respective internal types.
  1653. * @param object Plain object
  1654. * @returns ApplicationMetadata
  1655. */
  1656. public static fromObject(object: { [k: string]: any }): ApplicationMetadata;
  1657. /**
  1658. * Creates a plain object from an ApplicationMetadata message. Also converts values to other types if specified.
  1659. * @param message ApplicationMetadata
  1660. * @param [options] Conversion options
  1661. * @returns Plain object
  1662. */
  1663. public static toObject(message: ApplicationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1664. /**
  1665. * Converts this ApplicationMetadata to JSON.
  1666. * @returns JSON object
  1667. */
  1668. public toJSON(): { [k: string]: any };
  1669. }
  1670. /** Properties of a WorkingGroupMetadata. */
  1671. export interface IWorkingGroupMetadata {
  1672. /** WorkingGroupMetadata description */
  1673. description?: (string|null);
  1674. /** WorkingGroupMetadata about */
  1675. about?: (string|null);
  1676. /** WorkingGroupMetadata status */
  1677. status?: (string|null);
  1678. /** WorkingGroupMetadata statusMessage */
  1679. statusMessage?: (string|null);
  1680. }
  1681. /** Represents a WorkingGroupMetadata. */
  1682. export class WorkingGroupMetadata implements IWorkingGroupMetadata {
  1683. /**
  1684. * Constructs a new WorkingGroupMetadata.
  1685. * @param [properties] Properties to set
  1686. */
  1687. constructor(properties?: IWorkingGroupMetadata);
  1688. /** WorkingGroupMetadata description. */
  1689. public description: string;
  1690. /** WorkingGroupMetadata about. */
  1691. public about: string;
  1692. /** WorkingGroupMetadata status. */
  1693. public status: string;
  1694. /** WorkingGroupMetadata statusMessage. */
  1695. public statusMessage: string;
  1696. /**
  1697. * Creates a new WorkingGroupMetadata instance using the specified properties.
  1698. * @param [properties] Properties to set
  1699. * @returns WorkingGroupMetadata instance
  1700. */
  1701. public static create(properties?: IWorkingGroupMetadata): WorkingGroupMetadata;
  1702. /**
  1703. * Encodes the specified WorkingGroupMetadata message. Does not implicitly {@link WorkingGroupMetadata.verify|verify} messages.
  1704. * @param message WorkingGroupMetadata message or plain object to encode
  1705. * @param [writer] Writer to encode to
  1706. * @returns Writer
  1707. */
  1708. public static encode(message: IWorkingGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1709. /**
  1710. * Encodes the specified WorkingGroupMetadata message, length delimited. Does not implicitly {@link WorkingGroupMetadata.verify|verify} messages.
  1711. * @param message WorkingGroupMetadata message or plain object to encode
  1712. * @param [writer] Writer to encode to
  1713. * @returns Writer
  1714. */
  1715. public static encodeDelimited(message: IWorkingGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1716. /**
  1717. * Decodes a WorkingGroupMetadata message from the specified reader or buffer.
  1718. * @param reader Reader or buffer to decode from
  1719. * @param [length] Message length if known beforehand
  1720. * @returns WorkingGroupMetadata
  1721. * @throws {Error} If the payload is not a reader or valid buffer
  1722. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1723. */
  1724. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): WorkingGroupMetadata;
  1725. /**
  1726. * Decodes a WorkingGroupMetadata message from the specified reader or buffer, length delimited.
  1727. * @param reader Reader or buffer to decode from
  1728. * @returns WorkingGroupMetadata
  1729. * @throws {Error} If the payload is not a reader or valid buffer
  1730. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1731. */
  1732. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): WorkingGroupMetadata;
  1733. /**
  1734. * Verifies a WorkingGroupMetadata message.
  1735. * @param message Plain object to verify
  1736. * @returns `null` if valid, otherwise the reason why it is not
  1737. */
  1738. public static verify(message: { [k: string]: any }): (string|null);
  1739. /**
  1740. * Creates a WorkingGroupMetadata message from a plain object. Also converts values to their respective internal types.
  1741. * @param object Plain object
  1742. * @returns WorkingGroupMetadata
  1743. */
  1744. public static fromObject(object: { [k: string]: any }): WorkingGroupMetadata;
  1745. /**
  1746. * Creates a plain object from a WorkingGroupMetadata message. Also converts values to other types if specified.
  1747. * @param message WorkingGroupMetadata
  1748. * @param [options] Conversion options
  1749. * @returns Plain object
  1750. */
  1751. public static toObject(message: WorkingGroupMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1752. /**
  1753. * Converts this WorkingGroupMetadata to JSON.
  1754. * @returns JSON object
  1755. */
  1756. public toJSON(): { [k: string]: any };
  1757. }
  1758. /** Properties of a SetGroupMetadata. */
  1759. export interface ISetGroupMetadata {
  1760. /** SetGroupMetadata newMetadata */
  1761. newMetadata?: (IWorkingGroupMetadata|null);
  1762. }
  1763. /** Represents a SetGroupMetadata. */
  1764. export class SetGroupMetadata implements ISetGroupMetadata {
  1765. /**
  1766. * Constructs a new SetGroupMetadata.
  1767. * @param [properties] Properties to set
  1768. */
  1769. constructor(properties?: ISetGroupMetadata);
  1770. /** SetGroupMetadata newMetadata. */
  1771. public newMetadata?: (IWorkingGroupMetadata|null);
  1772. /**
  1773. * Creates a new SetGroupMetadata instance using the specified properties.
  1774. * @param [properties] Properties to set
  1775. * @returns SetGroupMetadata instance
  1776. */
  1777. public static create(properties?: ISetGroupMetadata): SetGroupMetadata;
  1778. /**
  1779. * Encodes the specified SetGroupMetadata message. Does not implicitly {@link SetGroupMetadata.verify|verify} messages.
  1780. * @param message SetGroupMetadata message or plain object to encode
  1781. * @param [writer] Writer to encode to
  1782. * @returns Writer
  1783. */
  1784. public static encode(message: ISetGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1785. /**
  1786. * Encodes the specified SetGroupMetadata message, length delimited. Does not implicitly {@link SetGroupMetadata.verify|verify} messages.
  1787. * @param message SetGroupMetadata message or plain object to encode
  1788. * @param [writer] Writer to encode to
  1789. * @returns Writer
  1790. */
  1791. public static encodeDelimited(message: ISetGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1792. /**
  1793. * Decodes a SetGroupMetadata message from the specified reader or buffer.
  1794. * @param reader Reader or buffer to decode from
  1795. * @param [length] Message length if known beforehand
  1796. * @returns SetGroupMetadata
  1797. * @throws {Error} If the payload is not a reader or valid buffer
  1798. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1799. */
  1800. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SetGroupMetadata;
  1801. /**
  1802. * Decodes a SetGroupMetadata message from the specified reader or buffer, length delimited.
  1803. * @param reader Reader or buffer to decode from
  1804. * @returns SetGroupMetadata
  1805. * @throws {Error} If the payload is not a reader or valid buffer
  1806. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1807. */
  1808. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SetGroupMetadata;
  1809. /**
  1810. * Verifies a SetGroupMetadata message.
  1811. * @param message Plain object to verify
  1812. * @returns `null` if valid, otherwise the reason why it is not
  1813. */
  1814. public static verify(message: { [k: string]: any }): (string|null);
  1815. /**
  1816. * Creates a SetGroupMetadata message from a plain object. Also converts values to their respective internal types.
  1817. * @param object Plain object
  1818. * @returns SetGroupMetadata
  1819. */
  1820. public static fromObject(object: { [k: string]: any }): SetGroupMetadata;
  1821. /**
  1822. * Creates a plain object from a SetGroupMetadata message. Also converts values to other types if specified.
  1823. * @param message SetGroupMetadata
  1824. * @param [options] Conversion options
  1825. * @returns Plain object
  1826. */
  1827. public static toObject(message: SetGroupMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1828. /**
  1829. * Converts this SetGroupMetadata to JSON.
  1830. * @returns JSON object
  1831. */
  1832. public toJSON(): { [k: string]: any };
  1833. }
  1834. /** Properties of an AddUpcomingOpening. */
  1835. export interface IAddUpcomingOpening {
  1836. /** AddUpcomingOpening metadata */
  1837. metadata?: (IUpcomingOpeningMetadata|null);
  1838. }
  1839. /** Represents an AddUpcomingOpening. */
  1840. export class AddUpcomingOpening implements IAddUpcomingOpening {
  1841. /**
  1842. * Constructs a new AddUpcomingOpening.
  1843. * @param [properties] Properties to set
  1844. */
  1845. constructor(properties?: IAddUpcomingOpening);
  1846. /** AddUpcomingOpening metadata. */
  1847. public metadata?: (IUpcomingOpeningMetadata|null);
  1848. /**
  1849. * Creates a new AddUpcomingOpening instance using the specified properties.
  1850. * @param [properties] Properties to set
  1851. * @returns AddUpcomingOpening instance
  1852. */
  1853. public static create(properties?: IAddUpcomingOpening): AddUpcomingOpening;
  1854. /**
  1855. * Encodes the specified AddUpcomingOpening message. Does not implicitly {@link AddUpcomingOpening.verify|verify} messages.
  1856. * @param message AddUpcomingOpening message or plain object to encode
  1857. * @param [writer] Writer to encode to
  1858. * @returns Writer
  1859. */
  1860. public static encode(message: IAddUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  1861. /**
  1862. * Encodes the specified AddUpcomingOpening message, length delimited. Does not implicitly {@link AddUpcomingOpening.verify|verify} messages.
  1863. * @param message AddUpcomingOpening message or plain object to encode
  1864. * @param [writer] Writer to encode to
  1865. * @returns Writer
  1866. */
  1867. public static encodeDelimited(message: IAddUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  1868. /**
  1869. * Decodes an AddUpcomingOpening message from the specified reader or buffer.
  1870. * @param reader Reader or buffer to decode from
  1871. * @param [length] Message length if known beforehand
  1872. * @returns AddUpcomingOpening
  1873. * @throws {Error} If the payload is not a reader or valid buffer
  1874. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1875. */
  1876. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AddUpcomingOpening;
  1877. /**
  1878. * Decodes an AddUpcomingOpening message from the specified reader or buffer, length delimited.
  1879. * @param reader Reader or buffer to decode from
  1880. * @returns AddUpcomingOpening
  1881. * @throws {Error} If the payload is not a reader or valid buffer
  1882. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1883. */
  1884. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AddUpcomingOpening;
  1885. /**
  1886. * Verifies an AddUpcomingOpening message.
  1887. * @param message Plain object to verify
  1888. * @returns `null` if valid, otherwise the reason why it is not
  1889. */
  1890. public static verify(message: { [k: string]: any }): (string|null);
  1891. /**
  1892. * Creates an AddUpcomingOpening message from a plain object. Also converts values to their respective internal types.
  1893. * @param object Plain object
  1894. * @returns AddUpcomingOpening
  1895. */
  1896. public static fromObject(object: { [k: string]: any }): AddUpcomingOpening;
  1897. /**
  1898. * Creates a plain object from an AddUpcomingOpening message. Also converts values to other types if specified.
  1899. * @param message AddUpcomingOpening
  1900. * @param [options] Conversion options
  1901. * @returns Plain object
  1902. */
  1903. public static toObject(message: AddUpcomingOpening, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1904. /**
  1905. * Converts this AddUpcomingOpening to JSON.
  1906. * @returns JSON object
  1907. */
  1908. public toJSON(): { [k: string]: any };
  1909. }
  1910. /** Properties of a RemoveUpcomingOpening. */
  1911. export interface IRemoveUpcomingOpening {
  1912. /** RemoveUpcomingOpening id */
  1913. id?: (string|null);
  1914. }
  1915. /** Represents a RemoveUpcomingOpening. */
  1916. export class RemoveUpcomingOpening implements IRemoveUpcomingOpening {
  1917. /**
  1918. * Constructs a new RemoveUpcomingOpening.
  1919. * @param [properties] Properties to set
  1920. */
  1921. constructor(properties?: IRemoveUpcomingOpening);
  1922. /** RemoveUpcomingOpening id. */
  1923. public id: string;
  1924. /**
  1925. * Creates a new RemoveUpcomingOpening instance using the specified properties.
  1926. * @param [properties] Properties to set
  1927. * @returns RemoveUpcomingOpening instance
  1928. */
  1929. public static create(properties?: IRemoveUpcomingOpening): RemoveUpcomingOpening;
  1930. /**
  1931. * Encodes the specified RemoveUpcomingOpening message. Does not implicitly {@link RemoveUpcomingOpening.verify|verify} messages.
  1932. * @param message RemoveUpcomingOpening message or plain object to encode
  1933. * @param [writer] Writer to encode to
  1934. * @returns Writer
  1935. */
  1936. public static encode(message: IRemoveUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  1937. /**
  1938. * Encodes the specified RemoveUpcomingOpening message, length delimited. Does not implicitly {@link RemoveUpcomingOpening.verify|verify} messages.
  1939. * @param message RemoveUpcomingOpening message or plain object to encode
  1940. * @param [writer] Writer to encode to
  1941. * @returns Writer
  1942. */
  1943. public static encodeDelimited(message: IRemoveUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  1944. /**
  1945. * Decodes a RemoveUpcomingOpening message from the specified reader or buffer.
  1946. * @param reader Reader or buffer to decode from
  1947. * @param [length] Message length if known beforehand
  1948. * @returns RemoveUpcomingOpening
  1949. * @throws {Error} If the payload is not a reader or valid buffer
  1950. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1951. */
  1952. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): RemoveUpcomingOpening;
  1953. /**
  1954. * Decodes a RemoveUpcomingOpening message from the specified reader or buffer, length delimited.
  1955. * @param reader Reader or buffer to decode from
  1956. * @returns RemoveUpcomingOpening
  1957. * @throws {Error} If the payload is not a reader or valid buffer
  1958. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1959. */
  1960. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): RemoveUpcomingOpening;
  1961. /**
  1962. * Verifies a RemoveUpcomingOpening message.
  1963. * @param message Plain object to verify
  1964. * @returns `null` if valid, otherwise the reason why it is not
  1965. */
  1966. public static verify(message: { [k: string]: any }): (string|null);
  1967. /**
  1968. * Creates a RemoveUpcomingOpening message from a plain object. Also converts values to their respective internal types.
  1969. * @param object Plain object
  1970. * @returns RemoveUpcomingOpening
  1971. */
  1972. public static fromObject(object: { [k: string]: any }): RemoveUpcomingOpening;
  1973. /**
  1974. * Creates a plain object from a RemoveUpcomingOpening message. Also converts values to other types if specified.
  1975. * @param message RemoveUpcomingOpening
  1976. * @param [options] Conversion options
  1977. * @returns Plain object
  1978. */
  1979. public static toObject(message: RemoveUpcomingOpening, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1980. /**
  1981. * Converts this RemoveUpcomingOpening to JSON.
  1982. * @returns JSON object
  1983. */
  1984. public toJSON(): { [k: string]: any };
  1985. }
  1986. /** Properties of a WorkingGroupMetadataAction. */
  1987. export interface IWorkingGroupMetadataAction {
  1988. /** WorkingGroupMetadataAction setGroupMetadata */
  1989. setGroupMetadata?: (ISetGroupMetadata|null);
  1990. /** WorkingGroupMetadataAction addUpcomingOpening */
  1991. addUpcomingOpening?: (IAddUpcomingOpening|null);
  1992. /** WorkingGroupMetadataAction removeUpcomingOpening */
  1993. removeUpcomingOpening?: (IRemoveUpcomingOpening|null);
  1994. }
  1995. /** Represents a WorkingGroupMetadataAction. */
  1996. export class WorkingGroupMetadataAction implements IWorkingGroupMetadataAction {
  1997. /**
  1998. * Constructs a new WorkingGroupMetadataAction.
  1999. * @param [properties] Properties to set
  2000. */
  2001. constructor(properties?: IWorkingGroupMetadataAction);
  2002. /** WorkingGroupMetadataAction setGroupMetadata. */
  2003. public setGroupMetadata?: (ISetGroupMetadata|null);
  2004. /** WorkingGroupMetadataAction addUpcomingOpening. */
  2005. public addUpcomingOpening?: (IAddUpcomingOpening|null);
  2006. /** WorkingGroupMetadataAction removeUpcomingOpening. */
  2007. public removeUpcomingOpening?: (IRemoveUpcomingOpening|null);
  2008. /** WorkingGroupMetadataAction action. */
  2009. public action?: ("setGroupMetadata"|"addUpcomingOpening"|"removeUpcomingOpening");
  2010. /**
  2011. * Creates a new WorkingGroupMetadataAction instance using the specified properties.
  2012. * @param [properties] Properties to set
  2013. * @returns WorkingGroupMetadataAction instance
  2014. */
  2015. public static create(properties?: IWorkingGroupMetadataAction): WorkingGroupMetadataAction;
  2016. /**
  2017. * Encodes the specified WorkingGroupMetadataAction message. Does not implicitly {@link WorkingGroupMetadataAction.verify|verify} messages.
  2018. * @param message WorkingGroupMetadataAction message or plain object to encode
  2019. * @param [writer] Writer to encode to
  2020. * @returns Writer
  2021. */
  2022. public static encode(message: IWorkingGroupMetadataAction, writer?: $protobuf.Writer): $protobuf.Writer;
  2023. /**
  2024. * Encodes the specified WorkingGroupMetadataAction message, length delimited. Does not implicitly {@link WorkingGroupMetadataAction.verify|verify} messages.
  2025. * @param message WorkingGroupMetadataAction message or plain object to encode
  2026. * @param [writer] Writer to encode to
  2027. * @returns Writer
  2028. */
  2029. public static encodeDelimited(message: IWorkingGroupMetadataAction, writer?: $protobuf.Writer): $protobuf.Writer;
  2030. /**
  2031. * Decodes a WorkingGroupMetadataAction message from the specified reader or buffer.
  2032. * @param reader Reader or buffer to decode from
  2033. * @param [length] Message length if known beforehand
  2034. * @returns WorkingGroupMetadataAction
  2035. * @throws {Error} If the payload is not a reader or valid buffer
  2036. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2037. */
  2038. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): WorkingGroupMetadataAction;
  2039. /**
  2040. * Decodes a WorkingGroupMetadataAction message from the specified reader or buffer, length delimited.
  2041. * @param reader Reader or buffer to decode from
  2042. * @returns WorkingGroupMetadataAction
  2043. * @throws {Error} If the payload is not a reader or valid buffer
  2044. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2045. */
  2046. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): WorkingGroupMetadataAction;
  2047. /**
  2048. * Verifies a WorkingGroupMetadataAction message.
  2049. * @param message Plain object to verify
  2050. * @returns `null` if valid, otherwise the reason why it is not
  2051. */
  2052. public static verify(message: { [k: string]: any }): (string|null);
  2053. /**
  2054. * Creates a WorkingGroupMetadataAction message from a plain object. Also converts values to their respective internal types.
  2055. * @param object Plain object
  2056. * @returns WorkingGroupMetadataAction
  2057. */
  2058. public static fromObject(object: { [k: string]: any }): WorkingGroupMetadataAction;
  2059. /**
  2060. * Creates a plain object from a WorkingGroupMetadataAction message. Also converts values to other types if specified.
  2061. * @param message WorkingGroupMetadataAction
  2062. * @param [options] Conversion options
  2063. * @returns Plain object
  2064. */
  2065. public static toObject(message: WorkingGroupMetadataAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2066. /**
  2067. * Converts this WorkingGroupMetadataAction to JSON.
  2068. * @returns JSON object
  2069. */
  2070. public toJSON(): { [k: string]: any };
  2071. }