index.d.ts 100 KB

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