index.d.ts 96 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623
  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 avatar */
  511. avatar?: (number|null);
  512. /** MembershipMetadata about */
  513. about?: (string|null);
  514. }
  515. /** Represents a MembershipMetadata. */
  516. export class MembershipMetadata implements IMembershipMetadata {
  517. /**
  518. * Constructs a new MembershipMetadata.
  519. * @param [properties] Properties to set
  520. */
  521. constructor(properties?: IMembershipMetadata);
  522. /** MembershipMetadata name. */
  523. public name: string;
  524. /** MembershipMetadata avatar. */
  525. public avatar: number;
  526. /** MembershipMetadata about. */
  527. public about: string;
  528. /**
  529. * Creates a new MembershipMetadata instance using the specified properties.
  530. * @param [properties] Properties to set
  531. * @returns MembershipMetadata instance
  532. */
  533. public static create(properties?: IMembershipMetadata): MembershipMetadata;
  534. /**
  535. * Encodes the specified MembershipMetadata message. Does not implicitly {@link MembershipMetadata.verify|verify} messages.
  536. * @param message MembershipMetadata message or plain object to encode
  537. * @param [writer] Writer to encode to
  538. * @returns Writer
  539. */
  540. public static encode(message: IMembershipMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  541. /**
  542. * Encodes the specified MembershipMetadata message, length delimited. Does not implicitly {@link MembershipMetadata.verify|verify} messages.
  543. * @param message MembershipMetadata message or plain object to encode
  544. * @param [writer] Writer to encode to
  545. * @returns Writer
  546. */
  547. public static encodeDelimited(message: IMembershipMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  548. /**
  549. * Decodes a MembershipMetadata message from the specified reader or buffer.
  550. * @param reader Reader or buffer to decode from
  551. * @param [length] Message length if known beforehand
  552. * @returns MembershipMetadata
  553. * @throws {Error} If the payload is not a reader or valid buffer
  554. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  555. */
  556. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MembershipMetadata;
  557. /**
  558. * Decodes a MembershipMetadata message from the specified reader or buffer, length delimited.
  559. * @param reader Reader or buffer to decode from
  560. * @returns MembershipMetadata
  561. * @throws {Error} If the payload is not a reader or valid buffer
  562. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  563. */
  564. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MembershipMetadata;
  565. /**
  566. * Verifies a MembershipMetadata message.
  567. * @param message Plain object to verify
  568. * @returns `null` if valid, otherwise the reason why it is not
  569. */
  570. public static verify(message: { [k: string]: any }): (string|null);
  571. /**
  572. * Creates a MembershipMetadata message from a plain object. Also converts values to their respective internal types.
  573. * @param object Plain object
  574. * @returns MembershipMetadata
  575. */
  576. public static fromObject(object: { [k: string]: any }): MembershipMetadata;
  577. /**
  578. * Creates a plain object from a MembershipMetadata message. Also converts values to other types if specified.
  579. * @param message MembershipMetadata
  580. * @param [options] Conversion options
  581. * @returns Plain object
  582. */
  583. public static toObject(message: MembershipMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  584. /**
  585. * Converts this MembershipMetadata to JSON.
  586. * @returns JSON object
  587. */
  588. public toJSON(): { [k: string]: any };
  589. }
  590. /** Properties of a PersonMetadata. */
  591. export interface IPersonMetadata {
  592. /** PersonMetadata firstName */
  593. firstName?: (string|null);
  594. /** PersonMetadata middleName */
  595. middleName?: (string|null);
  596. /** PersonMetadata lastName */
  597. lastName?: (string|null);
  598. /** PersonMetadata about */
  599. about?: (string|null);
  600. /** PersonMetadata coverPhoto */
  601. coverPhoto?: (number|null);
  602. /** PersonMetadata avatarPhoto */
  603. avatarPhoto?: (number|null);
  604. }
  605. /** Represents a PersonMetadata. */
  606. export class PersonMetadata implements IPersonMetadata {
  607. /**
  608. * Constructs a new PersonMetadata.
  609. * @param [properties] Properties to set
  610. */
  611. constructor(properties?: IPersonMetadata);
  612. /** PersonMetadata firstName. */
  613. public firstName: string;
  614. /** PersonMetadata middleName. */
  615. public middleName: string;
  616. /** PersonMetadata lastName. */
  617. public lastName: string;
  618. /** PersonMetadata about. */
  619. public about: string;
  620. /** PersonMetadata coverPhoto. */
  621. public coverPhoto: number;
  622. /** PersonMetadata avatarPhoto. */
  623. public avatarPhoto: number;
  624. /**
  625. * Creates a new PersonMetadata instance using the specified properties.
  626. * @param [properties] Properties to set
  627. * @returns PersonMetadata instance
  628. */
  629. public static create(properties?: IPersonMetadata): PersonMetadata;
  630. /**
  631. * Encodes the specified PersonMetadata message. Does not implicitly {@link PersonMetadata.verify|verify} messages.
  632. * @param message PersonMetadata message or plain object to encode
  633. * @param [writer] Writer to encode to
  634. * @returns Writer
  635. */
  636. public static encode(message: IPersonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  637. /**
  638. * Encodes the specified PersonMetadata message, length delimited. Does not implicitly {@link PersonMetadata.verify|verify} messages.
  639. * @param message PersonMetadata message or plain object to encode
  640. * @param [writer] Writer to encode to
  641. * @returns Writer
  642. */
  643. public static encodeDelimited(message: IPersonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  644. /**
  645. * Decodes a PersonMetadata message from the specified reader or buffer.
  646. * @param reader Reader or buffer to decode from
  647. * @param [length] Message length if known beforehand
  648. * @returns PersonMetadata
  649. * @throws {Error} If the payload is not a reader or valid buffer
  650. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  651. */
  652. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PersonMetadata;
  653. /**
  654. * Decodes a PersonMetadata message from the specified reader or buffer, length delimited.
  655. * @param reader Reader or buffer to decode from
  656. * @returns PersonMetadata
  657. * @throws {Error} If the payload is not a reader or valid buffer
  658. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  659. */
  660. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PersonMetadata;
  661. /**
  662. * Verifies a PersonMetadata message.
  663. * @param message Plain object to verify
  664. * @returns `null` if valid, otherwise the reason why it is not
  665. */
  666. public static verify(message: { [k: string]: any }): (string|null);
  667. /**
  668. * Creates a PersonMetadata message from a plain object. Also converts values to their respective internal types.
  669. * @param object Plain object
  670. * @returns PersonMetadata
  671. */
  672. public static fromObject(object: { [k: string]: any }): PersonMetadata;
  673. /**
  674. * Creates a plain object from a PersonMetadata message. Also converts values to other types if specified.
  675. * @param message PersonMetadata
  676. * @param [options] Conversion options
  677. * @returns Plain object
  678. */
  679. public static toObject(message: PersonMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  680. /**
  681. * Converts this PersonMetadata to JSON.
  682. * @returns JSON object
  683. */
  684. public toJSON(): { [k: string]: any };
  685. }
  686. /** Properties of a PlaylistMetadata. */
  687. export interface IPlaylistMetadata {
  688. /** PlaylistMetadata title */
  689. title?: (string|null);
  690. /** PlaylistMetadata videos */
  691. videos?: (Long[]|null);
  692. }
  693. /** Represents a PlaylistMetadata. */
  694. export class PlaylistMetadata implements IPlaylistMetadata {
  695. /**
  696. * Constructs a new PlaylistMetadata.
  697. * @param [properties] Properties to set
  698. */
  699. constructor(properties?: IPlaylistMetadata);
  700. /** PlaylistMetadata title. */
  701. public title: string;
  702. /** PlaylistMetadata videos. */
  703. public videos: Long[];
  704. /**
  705. * Creates a new PlaylistMetadata instance using the specified properties.
  706. * @param [properties] Properties to set
  707. * @returns PlaylistMetadata instance
  708. */
  709. public static create(properties?: IPlaylistMetadata): PlaylistMetadata;
  710. /**
  711. * Encodes the specified PlaylistMetadata message. Does not implicitly {@link PlaylistMetadata.verify|verify} messages.
  712. * @param message PlaylistMetadata message or plain object to encode
  713. * @param [writer] Writer to encode to
  714. * @returns Writer
  715. */
  716. public static encode(message: IPlaylistMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  717. /**
  718. * Encodes the specified PlaylistMetadata message, length delimited. Does not implicitly {@link PlaylistMetadata.verify|verify} messages.
  719. * @param message PlaylistMetadata message or plain object to encode
  720. * @param [writer] Writer to encode to
  721. * @returns Writer
  722. */
  723. public static encodeDelimited(message: IPlaylistMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  724. /**
  725. * Decodes a PlaylistMetadata message from the specified reader or buffer.
  726. * @param reader Reader or buffer to decode from
  727. * @param [length] Message length if known beforehand
  728. * @returns PlaylistMetadata
  729. * @throws {Error} If the payload is not a reader or valid buffer
  730. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  731. */
  732. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PlaylistMetadata;
  733. /**
  734. * Decodes a PlaylistMetadata message from the specified reader or buffer, length delimited.
  735. * @param reader Reader or buffer to decode from
  736. * @returns PlaylistMetadata
  737. * @throws {Error} If the payload is not a reader or valid buffer
  738. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  739. */
  740. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PlaylistMetadata;
  741. /**
  742. * Verifies a PlaylistMetadata message.
  743. * @param message Plain object to verify
  744. * @returns `null` if valid, otherwise the reason why it is not
  745. */
  746. public static verify(message: { [k: string]: any }): (string|null);
  747. /**
  748. * Creates a PlaylistMetadata message from a plain object. Also converts values to their respective internal types.
  749. * @param object Plain object
  750. * @returns PlaylistMetadata
  751. */
  752. public static fromObject(object: { [k: string]: any }): PlaylistMetadata;
  753. /**
  754. * Creates a plain object from a PlaylistMetadata message. Also converts values to other types if specified.
  755. * @param message PlaylistMetadata
  756. * @param [options] Conversion options
  757. * @returns Plain object
  758. */
  759. public static toObject(message: PlaylistMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  760. /**
  761. * Converts this PlaylistMetadata to JSON.
  762. * @returns JSON object
  763. */
  764. public toJSON(): { [k: string]: any };
  765. }
  766. /** Properties of a SeriesMetadata. */
  767. export interface ISeriesMetadata {
  768. /** SeriesMetadata title */
  769. title?: (string|null);
  770. /** SeriesMetadata description */
  771. description?: (string|null);
  772. /** SeriesMetadata coverPhoto */
  773. coverPhoto?: (number|null);
  774. /** SeriesMetadata persons */
  775. persons?: (Long[]|null);
  776. }
  777. /** Represents a SeriesMetadata. */
  778. export class SeriesMetadata implements ISeriesMetadata {
  779. /**
  780. * Constructs a new SeriesMetadata.
  781. * @param [properties] Properties to set
  782. */
  783. constructor(properties?: ISeriesMetadata);
  784. /** SeriesMetadata title. */
  785. public title: string;
  786. /** SeriesMetadata description. */
  787. public description: string;
  788. /** SeriesMetadata coverPhoto. */
  789. public coverPhoto: number;
  790. /** SeriesMetadata persons. */
  791. public persons: Long[];
  792. /**
  793. * Creates a new SeriesMetadata instance using the specified properties.
  794. * @param [properties] Properties to set
  795. * @returns SeriesMetadata instance
  796. */
  797. public static create(properties?: ISeriesMetadata): SeriesMetadata;
  798. /**
  799. * Encodes the specified SeriesMetadata message. Does not implicitly {@link SeriesMetadata.verify|verify} messages.
  800. * @param message SeriesMetadata message or plain object to encode
  801. * @param [writer] Writer to encode to
  802. * @returns Writer
  803. */
  804. public static encode(message: ISeriesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  805. /**
  806. * Encodes the specified SeriesMetadata message, length delimited. Does not implicitly {@link SeriesMetadata.verify|verify} messages.
  807. * @param message SeriesMetadata message or plain object to encode
  808. * @param [writer] Writer to encode to
  809. * @returns Writer
  810. */
  811. public static encodeDelimited(message: ISeriesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  812. /**
  813. * Decodes a SeriesMetadata message from the specified reader or buffer.
  814. * @param reader Reader or buffer to decode from
  815. * @param [length] Message length if known beforehand
  816. * @returns SeriesMetadata
  817. * @throws {Error} If the payload is not a reader or valid buffer
  818. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  819. */
  820. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SeriesMetadata;
  821. /**
  822. * Decodes a SeriesMetadata message from the specified reader or buffer, length delimited.
  823. * @param reader Reader or buffer to decode from
  824. * @returns SeriesMetadata
  825. * @throws {Error} If the payload is not a reader or valid buffer
  826. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  827. */
  828. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SeriesMetadata;
  829. /**
  830. * Verifies a SeriesMetadata message.
  831. * @param message Plain object to verify
  832. * @returns `null` if valid, otherwise the reason why it is not
  833. */
  834. public static verify(message: { [k: string]: any }): (string|null);
  835. /**
  836. * Creates a SeriesMetadata message from a plain object. Also converts values to their respective internal types.
  837. * @param object Plain object
  838. * @returns SeriesMetadata
  839. */
  840. public static fromObject(object: { [k: string]: any }): SeriesMetadata;
  841. /**
  842. * Creates a plain object from a SeriesMetadata message. Also converts values to other types if specified.
  843. * @param message SeriesMetadata
  844. * @param [options] Conversion options
  845. * @returns Plain object
  846. */
  847. public static toObject(message: SeriesMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  848. /**
  849. * Converts this SeriesMetadata to JSON.
  850. * @returns JSON object
  851. */
  852. public toJSON(): { [k: string]: any };
  853. }
  854. /** Properties of a SeasonMetadata. */
  855. export interface ISeasonMetadata {
  856. /** SeasonMetadata title */
  857. title?: (string|null);
  858. /** SeasonMetadata description */
  859. description?: (string|null);
  860. /** SeasonMetadata coverPhoto */
  861. coverPhoto?: (number|null);
  862. /** SeasonMetadata persons */
  863. persons?: (Long[]|null);
  864. }
  865. /** Represents a SeasonMetadata. */
  866. export class SeasonMetadata implements ISeasonMetadata {
  867. /**
  868. * Constructs a new SeasonMetadata.
  869. * @param [properties] Properties to set
  870. */
  871. constructor(properties?: ISeasonMetadata);
  872. /** SeasonMetadata title. */
  873. public title: string;
  874. /** SeasonMetadata description. */
  875. public description: string;
  876. /** SeasonMetadata coverPhoto. */
  877. public coverPhoto: number;
  878. /** SeasonMetadata persons. */
  879. public persons: Long[];
  880. /**
  881. * Creates a new SeasonMetadata instance using the specified properties.
  882. * @param [properties] Properties to set
  883. * @returns SeasonMetadata instance
  884. */
  885. public static create(properties?: ISeasonMetadata): SeasonMetadata;
  886. /**
  887. * Encodes the specified SeasonMetadata message. Does not implicitly {@link SeasonMetadata.verify|verify} messages.
  888. * @param message SeasonMetadata message or plain object to encode
  889. * @param [writer] Writer to encode to
  890. * @returns Writer
  891. */
  892. public static encode(message: ISeasonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  893. /**
  894. * Encodes the specified SeasonMetadata message, length delimited. Does not implicitly {@link SeasonMetadata.verify|verify} messages.
  895. * @param message SeasonMetadata message or plain object to encode
  896. * @param [writer] Writer to encode to
  897. * @returns Writer
  898. */
  899. public static encodeDelimited(message: ISeasonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  900. /**
  901. * Decodes a SeasonMetadata message from the specified reader or buffer.
  902. * @param reader Reader or buffer to decode from
  903. * @param [length] Message length if known beforehand
  904. * @returns SeasonMetadata
  905. * @throws {Error} If the payload is not a reader or valid buffer
  906. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  907. */
  908. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SeasonMetadata;
  909. /**
  910. * Decodes a SeasonMetadata message from the specified reader or buffer, length delimited.
  911. * @param reader Reader or buffer to decode from
  912. * @returns SeasonMetadata
  913. * @throws {Error} If the payload is not a reader or valid buffer
  914. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  915. */
  916. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SeasonMetadata;
  917. /**
  918. * Verifies a SeasonMetadata message.
  919. * @param message Plain object to verify
  920. * @returns `null` if valid, otherwise the reason why it is not
  921. */
  922. public static verify(message: { [k: string]: any }): (string|null);
  923. /**
  924. * Creates a SeasonMetadata message from a plain object. Also converts values to their respective internal types.
  925. * @param object Plain object
  926. * @returns SeasonMetadata
  927. */
  928. public static fromObject(object: { [k: string]: any }): SeasonMetadata;
  929. /**
  930. * Creates a plain object from a SeasonMetadata message. Also converts values to other types if specified.
  931. * @param message SeasonMetadata
  932. * @param [options] Conversion options
  933. * @returns Plain object
  934. */
  935. public static toObject(message: SeasonMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  936. /**
  937. * Converts this SeasonMetadata to JSON.
  938. * @returns JSON object
  939. */
  940. public toJSON(): { [k: string]: any };
  941. }
  942. /** Properties of a PublishedBeforeJoystream. */
  943. export interface IPublishedBeforeJoystream {
  944. /** PublishedBeforeJoystream isPublished */
  945. isPublished?: (boolean|null);
  946. /** PublishedBeforeJoystream date */
  947. date?: (string|null);
  948. }
  949. /** Represents a PublishedBeforeJoystream. */
  950. export class PublishedBeforeJoystream implements IPublishedBeforeJoystream {
  951. /**
  952. * Constructs a new PublishedBeforeJoystream.
  953. * @param [properties] Properties to set
  954. */
  955. constructor(properties?: IPublishedBeforeJoystream);
  956. /** PublishedBeforeJoystream isPublished. */
  957. public isPublished: boolean;
  958. /** PublishedBeforeJoystream date. */
  959. public date: string;
  960. /**
  961. * Creates a new PublishedBeforeJoystream instance using the specified properties.
  962. * @param [properties] Properties to set
  963. * @returns PublishedBeforeJoystream instance
  964. */
  965. public static create(properties?: IPublishedBeforeJoystream): PublishedBeforeJoystream;
  966. /**
  967. * Encodes the specified PublishedBeforeJoystream message. Does not implicitly {@link PublishedBeforeJoystream.verify|verify} messages.
  968. * @param message PublishedBeforeJoystream message or plain object to encode
  969. * @param [writer] Writer to encode to
  970. * @returns Writer
  971. */
  972. public static encode(message: IPublishedBeforeJoystream, writer?: $protobuf.Writer): $protobuf.Writer;
  973. /**
  974. * Encodes the specified PublishedBeforeJoystream message, length delimited. Does not implicitly {@link PublishedBeforeJoystream.verify|verify} messages.
  975. * @param message PublishedBeforeJoystream message or plain object to encode
  976. * @param [writer] Writer to encode to
  977. * @returns Writer
  978. */
  979. public static encodeDelimited(message: IPublishedBeforeJoystream, writer?: $protobuf.Writer): $protobuf.Writer;
  980. /**
  981. * Decodes a PublishedBeforeJoystream message from the specified reader or buffer.
  982. * @param reader Reader or buffer to decode from
  983. * @param [length] Message length if known beforehand
  984. * @returns PublishedBeforeJoystream
  985. * @throws {Error} If the payload is not a reader or valid buffer
  986. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  987. */
  988. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PublishedBeforeJoystream;
  989. /**
  990. * Decodes a PublishedBeforeJoystream message from the specified reader or buffer, length delimited.
  991. * @param reader Reader or buffer to decode from
  992. * @returns PublishedBeforeJoystream
  993. * @throws {Error} If the payload is not a reader or valid buffer
  994. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  995. */
  996. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PublishedBeforeJoystream;
  997. /**
  998. * Verifies a PublishedBeforeJoystream message.
  999. * @param message Plain object to verify
  1000. * @returns `null` if valid, otherwise the reason why it is not
  1001. */
  1002. public static verify(message: { [k: string]: any }): (string|null);
  1003. /**
  1004. * Creates a PublishedBeforeJoystream message from a plain object. Also converts values to their respective internal types.
  1005. * @param object Plain object
  1006. * @returns PublishedBeforeJoystream
  1007. */
  1008. public static fromObject(object: { [k: string]: any }): PublishedBeforeJoystream;
  1009. /**
  1010. * Creates a plain object from a PublishedBeforeJoystream message. Also converts values to other types if specified.
  1011. * @param message PublishedBeforeJoystream
  1012. * @param [options] Conversion options
  1013. * @returns Plain object
  1014. */
  1015. public static toObject(message: PublishedBeforeJoystream, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1016. /**
  1017. * Converts this PublishedBeforeJoystream to JSON.
  1018. * @returns JSON object
  1019. */
  1020. public toJSON(): { [k: string]: any };
  1021. }
  1022. /** Properties of a License. */
  1023. export interface ILicense {
  1024. /** License code */
  1025. code?: (number|null);
  1026. /** License attribution */
  1027. attribution?: (string|null);
  1028. /** License customText */
  1029. customText?: (string|null);
  1030. }
  1031. /** Represents a License. */
  1032. export class License implements ILicense {
  1033. /**
  1034. * Constructs a new License.
  1035. * @param [properties] Properties to set
  1036. */
  1037. constructor(properties?: ILicense);
  1038. /** License code. */
  1039. public code: number;
  1040. /** License attribution. */
  1041. public attribution: string;
  1042. /** License customText. */
  1043. public customText: string;
  1044. /**
  1045. * Creates a new License instance using the specified properties.
  1046. * @param [properties] Properties to set
  1047. * @returns License instance
  1048. */
  1049. public static create(properties?: ILicense): License;
  1050. /**
  1051. * Encodes the specified License message. Does not implicitly {@link License.verify|verify} messages.
  1052. * @param message License message or plain object to encode
  1053. * @param [writer] Writer to encode to
  1054. * @returns Writer
  1055. */
  1056. public static encode(message: ILicense, writer?: $protobuf.Writer): $protobuf.Writer;
  1057. /**
  1058. * Encodes the specified License message, length delimited. Does not implicitly {@link License.verify|verify} messages.
  1059. * @param message License message or plain object to encode
  1060. * @param [writer] Writer to encode to
  1061. * @returns Writer
  1062. */
  1063. public static encodeDelimited(message: ILicense, writer?: $protobuf.Writer): $protobuf.Writer;
  1064. /**
  1065. * Decodes a License message from the specified reader or buffer.
  1066. * @param reader Reader or buffer to decode from
  1067. * @param [length] Message length if known beforehand
  1068. * @returns License
  1069. * @throws {Error} If the payload is not a reader or valid buffer
  1070. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1071. */
  1072. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): License;
  1073. /**
  1074. * Decodes a License message from the specified reader or buffer, length delimited.
  1075. * @param reader Reader or buffer to decode from
  1076. * @returns License
  1077. * @throws {Error} If the payload is not a reader or valid buffer
  1078. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1079. */
  1080. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): License;
  1081. /**
  1082. * Verifies a License message.
  1083. * @param message Plain object to verify
  1084. * @returns `null` if valid, otherwise the reason why it is not
  1085. */
  1086. public static verify(message: { [k: string]: any }): (string|null);
  1087. /**
  1088. * Creates a License message from a plain object. Also converts values to their respective internal types.
  1089. * @param object Plain object
  1090. * @returns License
  1091. */
  1092. public static fromObject(object: { [k: string]: any }): License;
  1093. /**
  1094. * Creates a plain object from a License message. Also converts values to other types if specified.
  1095. * @param message License
  1096. * @param [options] Conversion options
  1097. * @returns Plain object
  1098. */
  1099. public static toObject(message: License, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1100. /**
  1101. * Converts this License to JSON.
  1102. * @returns JSON object
  1103. */
  1104. public toJSON(): { [k: string]: any };
  1105. }
  1106. /** Properties of a MediaType. */
  1107. export interface IMediaType {
  1108. /** MediaType codecName */
  1109. codecName?: (string|null);
  1110. /** MediaType container */
  1111. container?: (string|null);
  1112. /** MediaType mimeMediaType */
  1113. mimeMediaType?: (string|null);
  1114. }
  1115. /** Represents a MediaType. */
  1116. export class MediaType implements IMediaType {
  1117. /**
  1118. * Constructs a new MediaType.
  1119. * @param [properties] Properties to set
  1120. */
  1121. constructor(properties?: IMediaType);
  1122. /** MediaType codecName. */
  1123. public codecName: string;
  1124. /** MediaType container. */
  1125. public container: string;
  1126. /** MediaType mimeMediaType. */
  1127. public mimeMediaType: string;
  1128. /**
  1129. * Creates a new MediaType instance using the specified properties.
  1130. * @param [properties] Properties to set
  1131. * @returns MediaType instance
  1132. */
  1133. public static create(properties?: IMediaType): MediaType;
  1134. /**
  1135. * Encodes the specified MediaType message. Does not implicitly {@link MediaType.verify|verify} messages.
  1136. * @param message MediaType message or plain object to encode
  1137. * @param [writer] Writer to encode to
  1138. * @returns Writer
  1139. */
  1140. public static encode(message: IMediaType, writer?: $protobuf.Writer): $protobuf.Writer;
  1141. /**
  1142. * Encodes the specified MediaType message, length delimited. Does not implicitly {@link MediaType.verify|verify} messages.
  1143. * @param message MediaType message or plain object to encode
  1144. * @param [writer] Writer to encode to
  1145. * @returns Writer
  1146. */
  1147. public static encodeDelimited(message: IMediaType, writer?: $protobuf.Writer): $protobuf.Writer;
  1148. /**
  1149. * Decodes a MediaType message from the specified reader or buffer.
  1150. * @param reader Reader or buffer to decode from
  1151. * @param [length] Message length if known beforehand
  1152. * @returns MediaType
  1153. * @throws {Error} If the payload is not a reader or valid buffer
  1154. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1155. */
  1156. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MediaType;
  1157. /**
  1158. * Decodes a MediaType message from the specified reader or buffer, length delimited.
  1159. * @param reader Reader or buffer to decode from
  1160. * @returns MediaType
  1161. * @throws {Error} If the payload is not a reader or valid buffer
  1162. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1163. */
  1164. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MediaType;
  1165. /**
  1166. * Verifies a MediaType message.
  1167. * @param message Plain object to verify
  1168. * @returns `null` if valid, otherwise the reason why it is not
  1169. */
  1170. public static verify(message: { [k: string]: any }): (string|null);
  1171. /**
  1172. * Creates a MediaType message from a plain object. Also converts values to their respective internal types.
  1173. * @param object Plain object
  1174. * @returns MediaType
  1175. */
  1176. public static fromObject(object: { [k: string]: any }): MediaType;
  1177. /**
  1178. * Creates a plain object from a MediaType message. Also converts values to other types if specified.
  1179. * @param message MediaType
  1180. * @param [options] Conversion options
  1181. * @returns Plain object
  1182. */
  1183. public static toObject(message: MediaType, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1184. /**
  1185. * Converts this MediaType to JSON.
  1186. * @returns JSON object
  1187. */
  1188. public toJSON(): { [k: string]: any };
  1189. }
  1190. /** Properties of a VideoMetadata. */
  1191. export interface IVideoMetadata {
  1192. /** VideoMetadata title */
  1193. title?: (string|null);
  1194. /** VideoMetadata description */
  1195. description?: (string|null);
  1196. /** VideoMetadata video */
  1197. video?: (number|null);
  1198. /** VideoMetadata thumbnailPhoto */
  1199. thumbnailPhoto?: (number|null);
  1200. /** VideoMetadata duration */
  1201. duration?: (number|null);
  1202. /** VideoMetadata mediaPixelHeight */
  1203. mediaPixelHeight?: (number|null);
  1204. /** VideoMetadata mediaPixelWidth */
  1205. mediaPixelWidth?: (number|null);
  1206. /** VideoMetadata mediaType */
  1207. mediaType?: (IMediaType|null);
  1208. /** VideoMetadata language */
  1209. language?: (string|null);
  1210. /** VideoMetadata license */
  1211. license?: (ILicense|null);
  1212. /** VideoMetadata publishedBeforeJoystream */
  1213. publishedBeforeJoystream?: (IPublishedBeforeJoystream|null);
  1214. /** VideoMetadata hasMarketing */
  1215. hasMarketing?: (boolean|null);
  1216. /** VideoMetadata isPublic */
  1217. isPublic?: (boolean|null);
  1218. /** VideoMetadata isExplicit */
  1219. isExplicit?: (boolean|null);
  1220. /** VideoMetadata persons */
  1221. persons?: (Long[]|null);
  1222. /** VideoMetadata category */
  1223. category?: (Long|null);
  1224. }
  1225. /** Represents a VideoMetadata. */
  1226. export class VideoMetadata implements IVideoMetadata {
  1227. /**
  1228. * Constructs a new VideoMetadata.
  1229. * @param [properties] Properties to set
  1230. */
  1231. constructor(properties?: IVideoMetadata);
  1232. /** VideoMetadata title. */
  1233. public title: string;
  1234. /** VideoMetadata description. */
  1235. public description: string;
  1236. /** VideoMetadata video. */
  1237. public video: number;
  1238. /** VideoMetadata thumbnailPhoto. */
  1239. public thumbnailPhoto: number;
  1240. /** VideoMetadata duration. */
  1241. public duration: number;
  1242. /** VideoMetadata mediaPixelHeight. */
  1243. public mediaPixelHeight: number;
  1244. /** VideoMetadata mediaPixelWidth. */
  1245. public mediaPixelWidth: number;
  1246. /** VideoMetadata mediaType. */
  1247. public mediaType?: (IMediaType|null);
  1248. /** VideoMetadata language. */
  1249. public language: string;
  1250. /** VideoMetadata license. */
  1251. public license?: (ILicense|null);
  1252. /** VideoMetadata publishedBeforeJoystream. */
  1253. public publishedBeforeJoystream?: (IPublishedBeforeJoystream|null);
  1254. /** VideoMetadata hasMarketing. */
  1255. public hasMarketing: boolean;
  1256. /** VideoMetadata isPublic. */
  1257. public isPublic: boolean;
  1258. /** VideoMetadata isExplicit. */
  1259. public isExplicit: boolean;
  1260. /** VideoMetadata persons. */
  1261. public persons: Long[];
  1262. /** VideoMetadata category. */
  1263. public category: Long;
  1264. /**
  1265. * Creates a new VideoMetadata instance using the specified properties.
  1266. * @param [properties] Properties to set
  1267. * @returns VideoMetadata instance
  1268. */
  1269. public static create(properties?: IVideoMetadata): VideoMetadata;
  1270. /**
  1271. * Encodes the specified VideoMetadata message. Does not implicitly {@link VideoMetadata.verify|verify} messages.
  1272. * @param message VideoMetadata message or plain object to encode
  1273. * @param [writer] Writer to encode to
  1274. * @returns Writer
  1275. */
  1276. public static encode(message: IVideoMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1277. /**
  1278. * Encodes the specified VideoMetadata message, length delimited. Does not implicitly {@link VideoMetadata.verify|verify} messages.
  1279. * @param message VideoMetadata message or plain object to encode
  1280. * @param [writer] Writer to encode to
  1281. * @returns Writer
  1282. */
  1283. public static encodeDelimited(message: IVideoMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1284. /**
  1285. * Decodes a VideoMetadata message from the specified reader or buffer.
  1286. * @param reader Reader or buffer to decode from
  1287. * @param [length] Message length if known beforehand
  1288. * @returns VideoMetadata
  1289. * @throws {Error} If the payload is not a reader or valid buffer
  1290. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1291. */
  1292. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VideoMetadata;
  1293. /**
  1294. * Decodes a VideoMetadata message from the specified reader or buffer, length delimited.
  1295. * @param reader Reader or buffer to decode from
  1296. * @returns VideoMetadata
  1297. * @throws {Error} If the payload is not a reader or valid buffer
  1298. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1299. */
  1300. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VideoMetadata;
  1301. /**
  1302. * Verifies a VideoMetadata message.
  1303. * @param message Plain object to verify
  1304. * @returns `null` if valid, otherwise the reason why it is not
  1305. */
  1306. public static verify(message: { [k: string]: any }): (string|null);
  1307. /**
  1308. * Creates a VideoMetadata message from a plain object. Also converts values to their respective internal types.
  1309. * @param object Plain object
  1310. * @returns VideoMetadata
  1311. */
  1312. public static fromObject(object: { [k: string]: any }): VideoMetadata;
  1313. /**
  1314. * Creates a plain object from a VideoMetadata message. Also converts values to other types if specified.
  1315. * @param message VideoMetadata
  1316. * @param [options] Conversion options
  1317. * @returns Plain object
  1318. */
  1319. public static toObject(message: VideoMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1320. /**
  1321. * Converts this VideoMetadata to JSON.
  1322. * @returns JSON object
  1323. */
  1324. public toJSON(): { [k: string]: any };
  1325. }
  1326. /** Properties of a VideoCategoryMetadata. */
  1327. export interface IVideoCategoryMetadata {
  1328. /** VideoCategoryMetadata name */
  1329. name?: (string|null);
  1330. }
  1331. /** Represents a VideoCategoryMetadata. */
  1332. export class VideoCategoryMetadata implements IVideoCategoryMetadata {
  1333. /**
  1334. * Constructs a new VideoCategoryMetadata.
  1335. * @param [properties] Properties to set
  1336. */
  1337. constructor(properties?: IVideoCategoryMetadata);
  1338. /** VideoCategoryMetadata name. */
  1339. public name: string;
  1340. /**
  1341. * Creates a new VideoCategoryMetadata instance using the specified properties.
  1342. * @param [properties] Properties to set
  1343. * @returns VideoCategoryMetadata instance
  1344. */
  1345. public static create(properties?: IVideoCategoryMetadata): VideoCategoryMetadata;
  1346. /**
  1347. * Encodes the specified VideoCategoryMetadata message. Does not implicitly {@link VideoCategoryMetadata.verify|verify} messages.
  1348. * @param message VideoCategoryMetadata message or plain object to encode
  1349. * @param [writer] Writer to encode to
  1350. * @returns Writer
  1351. */
  1352. public static encode(message: IVideoCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1353. /**
  1354. * Encodes the specified VideoCategoryMetadata message, length delimited. Does not implicitly {@link VideoCategoryMetadata.verify|verify} messages.
  1355. * @param message VideoCategoryMetadata message or plain object to encode
  1356. * @param [writer] Writer to encode to
  1357. * @returns Writer
  1358. */
  1359. public static encodeDelimited(message: IVideoCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1360. /**
  1361. * Decodes a VideoCategoryMetadata message from the specified reader or buffer.
  1362. * @param reader Reader or buffer to decode from
  1363. * @param [length] Message length if known beforehand
  1364. * @returns VideoCategoryMetadata
  1365. * @throws {Error} If the payload is not a reader or valid buffer
  1366. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1367. */
  1368. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VideoCategoryMetadata;
  1369. /**
  1370. * Decodes a VideoCategoryMetadata message from the specified reader or buffer, length delimited.
  1371. * @param reader Reader or buffer to decode from
  1372. * @returns VideoCategoryMetadata
  1373. * @throws {Error} If the payload is not a reader or valid buffer
  1374. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1375. */
  1376. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VideoCategoryMetadata;
  1377. /**
  1378. * Verifies a VideoCategoryMetadata message.
  1379. * @param message Plain object to verify
  1380. * @returns `null` if valid, otherwise the reason why it is not
  1381. */
  1382. public static verify(message: { [k: string]: any }): (string|null);
  1383. /**
  1384. * Creates a VideoCategoryMetadata message from a plain object. Also converts values to their respective internal types.
  1385. * @param object Plain object
  1386. * @returns VideoCategoryMetadata
  1387. */
  1388. public static fromObject(object: { [k: string]: any }): VideoCategoryMetadata;
  1389. /**
  1390. * Creates a plain object from a VideoCategoryMetadata message. Also converts values to other types if specified.
  1391. * @param message VideoCategoryMetadata
  1392. * @param [options] Conversion options
  1393. * @returns Plain object
  1394. */
  1395. public static toObject(message: VideoCategoryMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1396. /**
  1397. * Converts this VideoCategoryMetadata to JSON.
  1398. * @returns JSON object
  1399. */
  1400. public toJSON(): { [k: string]: any };
  1401. }
  1402. /** Properties of an OpeningMetadata. */
  1403. export interface IOpeningMetadata {
  1404. /** OpeningMetadata shortDescription */
  1405. shortDescription?: (string|null);
  1406. /** OpeningMetadata description */
  1407. description?: (string|null);
  1408. /** OpeningMetadata hiringLimit */
  1409. hiringLimit?: (number|null);
  1410. /** OpeningMetadata expectedEndingTimestamp */
  1411. expectedEndingTimestamp?: (number|null);
  1412. /** OpeningMetadata applicationDetails */
  1413. applicationDetails?: (string|null);
  1414. /** OpeningMetadata applicationFormQuestions */
  1415. applicationFormQuestions?: (OpeningMetadata.IApplicationFormQuestion[]|null);
  1416. }
  1417. /** Represents an OpeningMetadata. */
  1418. export class OpeningMetadata implements IOpeningMetadata {
  1419. /**
  1420. * Constructs a new OpeningMetadata.
  1421. * @param [properties] Properties to set
  1422. */
  1423. constructor(properties?: IOpeningMetadata);
  1424. /** OpeningMetadata shortDescription. */
  1425. public shortDescription: string;
  1426. /** OpeningMetadata description. */
  1427. public description: string;
  1428. /** OpeningMetadata hiringLimit. */
  1429. public hiringLimit: number;
  1430. /** OpeningMetadata expectedEndingTimestamp. */
  1431. public expectedEndingTimestamp: number;
  1432. /** OpeningMetadata applicationDetails. */
  1433. public applicationDetails: string;
  1434. /** OpeningMetadata applicationFormQuestions. */
  1435. public applicationFormQuestions: OpeningMetadata.IApplicationFormQuestion[];
  1436. /**
  1437. * Creates a new OpeningMetadata instance using the specified properties.
  1438. * @param [properties] Properties to set
  1439. * @returns OpeningMetadata instance
  1440. */
  1441. public static create(properties?: IOpeningMetadata): OpeningMetadata;
  1442. /**
  1443. * Encodes the specified OpeningMetadata message. Does not implicitly {@link OpeningMetadata.verify|verify} messages.
  1444. * @param message OpeningMetadata message or plain object to encode
  1445. * @param [writer] Writer to encode to
  1446. * @returns Writer
  1447. */
  1448. public static encode(message: IOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1449. /**
  1450. * Encodes the specified OpeningMetadata message, length delimited. Does not implicitly {@link OpeningMetadata.verify|verify} messages.
  1451. * @param message OpeningMetadata message or plain object to encode
  1452. * @param [writer] Writer to encode to
  1453. * @returns Writer
  1454. */
  1455. public static encodeDelimited(message: IOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1456. /**
  1457. * Decodes an OpeningMetadata message from the specified reader or buffer.
  1458. * @param reader Reader or buffer to decode from
  1459. * @param [length] Message length if known beforehand
  1460. * @returns OpeningMetadata
  1461. * @throws {Error} If the payload is not a reader or valid buffer
  1462. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1463. */
  1464. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OpeningMetadata;
  1465. /**
  1466. * Decodes an OpeningMetadata message from the specified reader or buffer, length delimited.
  1467. * @param reader Reader or buffer to decode from
  1468. * @returns OpeningMetadata
  1469. * @throws {Error} If the payload is not a reader or valid buffer
  1470. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1471. */
  1472. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OpeningMetadata;
  1473. /**
  1474. * Verifies an OpeningMetadata message.
  1475. * @param message Plain object to verify
  1476. * @returns `null` if valid, otherwise the reason why it is not
  1477. */
  1478. public static verify(message: { [k: string]: any }): (string|null);
  1479. /**
  1480. * Creates an OpeningMetadata message from a plain object. Also converts values to their respective internal types.
  1481. * @param object Plain object
  1482. * @returns OpeningMetadata
  1483. */
  1484. public static fromObject(object: { [k: string]: any }): OpeningMetadata;
  1485. /**
  1486. * Creates a plain object from an OpeningMetadata message. Also converts values to other types if specified.
  1487. * @param message OpeningMetadata
  1488. * @param [options] Conversion options
  1489. * @returns Plain object
  1490. */
  1491. public static toObject(message: OpeningMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1492. /**
  1493. * Converts this OpeningMetadata to JSON.
  1494. * @returns JSON object
  1495. */
  1496. public toJSON(): { [k: string]: any };
  1497. }
  1498. export namespace OpeningMetadata {
  1499. /** Properties of an ApplicationFormQuestion. */
  1500. interface IApplicationFormQuestion {
  1501. /** ApplicationFormQuestion question */
  1502. question?: (string|null);
  1503. /** ApplicationFormQuestion type */
  1504. type?: (OpeningMetadata.ApplicationFormQuestion.InputType|null);
  1505. }
  1506. /** Represents an ApplicationFormQuestion. */
  1507. class ApplicationFormQuestion implements IApplicationFormQuestion {
  1508. /**
  1509. * Constructs a new ApplicationFormQuestion.
  1510. * @param [properties] Properties to set
  1511. */
  1512. constructor(properties?: OpeningMetadata.IApplicationFormQuestion);
  1513. /** ApplicationFormQuestion question. */
  1514. public question: string;
  1515. /** ApplicationFormQuestion type. */
  1516. public type: OpeningMetadata.ApplicationFormQuestion.InputType;
  1517. /**
  1518. * Creates a new ApplicationFormQuestion instance using the specified properties.
  1519. * @param [properties] Properties to set
  1520. * @returns ApplicationFormQuestion instance
  1521. */
  1522. public static create(properties?: OpeningMetadata.IApplicationFormQuestion): OpeningMetadata.ApplicationFormQuestion;
  1523. /**
  1524. * Encodes the specified ApplicationFormQuestion message. Does not implicitly {@link OpeningMetadata.ApplicationFormQuestion.verify|verify} messages.
  1525. * @param message ApplicationFormQuestion message or plain object to encode
  1526. * @param [writer] Writer to encode to
  1527. * @returns Writer
  1528. */
  1529. public static encode(message: OpeningMetadata.IApplicationFormQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
  1530. /**
  1531. * Encodes the specified ApplicationFormQuestion message, length delimited. Does not implicitly {@link OpeningMetadata.ApplicationFormQuestion.verify|verify} messages.
  1532. * @param message ApplicationFormQuestion message or plain object to encode
  1533. * @param [writer] Writer to encode to
  1534. * @returns Writer
  1535. */
  1536. public static encodeDelimited(message: OpeningMetadata.IApplicationFormQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
  1537. /**
  1538. * Decodes an ApplicationFormQuestion message from the specified reader or buffer.
  1539. * @param reader Reader or buffer to decode from
  1540. * @param [length] Message length if known beforehand
  1541. * @returns ApplicationFormQuestion
  1542. * @throws {Error} If the payload is not a reader or valid buffer
  1543. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1544. */
  1545. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OpeningMetadata.ApplicationFormQuestion;
  1546. /**
  1547. * Decodes an ApplicationFormQuestion message from the specified reader or buffer, length delimited.
  1548. * @param reader Reader or buffer to decode from
  1549. * @returns ApplicationFormQuestion
  1550. * @throws {Error} If the payload is not a reader or valid buffer
  1551. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1552. */
  1553. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OpeningMetadata.ApplicationFormQuestion;
  1554. /**
  1555. * Verifies an ApplicationFormQuestion message.
  1556. * @param message Plain object to verify
  1557. * @returns `null` if valid, otherwise the reason why it is not
  1558. */
  1559. public static verify(message: { [k: string]: any }): (string|null);
  1560. /**
  1561. * Creates an ApplicationFormQuestion message from a plain object. Also converts values to their respective internal types.
  1562. * @param object Plain object
  1563. * @returns ApplicationFormQuestion
  1564. */
  1565. public static fromObject(object: { [k: string]: any }): OpeningMetadata.ApplicationFormQuestion;
  1566. /**
  1567. * Creates a plain object from an ApplicationFormQuestion message. Also converts values to other types if specified.
  1568. * @param message ApplicationFormQuestion
  1569. * @param [options] Conversion options
  1570. * @returns Plain object
  1571. */
  1572. public static toObject(message: OpeningMetadata.ApplicationFormQuestion, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1573. /**
  1574. * Converts this ApplicationFormQuestion to JSON.
  1575. * @returns JSON object
  1576. */
  1577. public toJSON(): { [k: string]: any };
  1578. }
  1579. namespace ApplicationFormQuestion {
  1580. /** InputType enum. */
  1581. enum InputType {
  1582. TEXTAREA = 0,
  1583. TEXT = 1
  1584. }
  1585. }
  1586. }
  1587. /** Properties of an UpcomingOpeningMetadata. */
  1588. export interface IUpcomingOpeningMetadata {
  1589. /** UpcomingOpeningMetadata expectedStart */
  1590. expectedStart?: (number|null);
  1591. /** UpcomingOpeningMetadata rewardPerBlock */
  1592. rewardPerBlock?: (Long|null);
  1593. /** UpcomingOpeningMetadata minApplicationStake */
  1594. minApplicationStake?: (Long|null);
  1595. /** UpcomingOpeningMetadata metadata */
  1596. metadata?: (IOpeningMetadata|null);
  1597. }
  1598. /** Represents an UpcomingOpeningMetadata. */
  1599. export class UpcomingOpeningMetadata implements IUpcomingOpeningMetadata {
  1600. /**
  1601. * Constructs a new UpcomingOpeningMetadata.
  1602. * @param [properties] Properties to set
  1603. */
  1604. constructor(properties?: IUpcomingOpeningMetadata);
  1605. /** UpcomingOpeningMetadata expectedStart. */
  1606. public expectedStart: number;
  1607. /** UpcomingOpeningMetadata rewardPerBlock. */
  1608. public rewardPerBlock: Long;
  1609. /** UpcomingOpeningMetadata minApplicationStake. */
  1610. public minApplicationStake: Long;
  1611. /** UpcomingOpeningMetadata metadata. */
  1612. public metadata?: (IOpeningMetadata|null);
  1613. /**
  1614. * Creates a new UpcomingOpeningMetadata instance using the specified properties.
  1615. * @param [properties] Properties to set
  1616. * @returns UpcomingOpeningMetadata instance
  1617. */
  1618. public static create(properties?: IUpcomingOpeningMetadata): UpcomingOpeningMetadata;
  1619. /**
  1620. * Encodes the specified UpcomingOpeningMetadata message. Does not implicitly {@link UpcomingOpeningMetadata.verify|verify} messages.
  1621. * @param message UpcomingOpeningMetadata message or plain object to encode
  1622. * @param [writer] Writer to encode to
  1623. * @returns Writer
  1624. */
  1625. public static encode(message: IUpcomingOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1626. /**
  1627. * Encodes the specified UpcomingOpeningMetadata message, length delimited. Does not implicitly {@link UpcomingOpeningMetadata.verify|verify} messages.
  1628. * @param message UpcomingOpeningMetadata message or plain object to encode
  1629. * @param [writer] Writer to encode to
  1630. * @returns Writer
  1631. */
  1632. public static encodeDelimited(message: IUpcomingOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1633. /**
  1634. * Decodes an UpcomingOpeningMetadata message from the specified reader or buffer.
  1635. * @param reader Reader or buffer to decode from
  1636. * @param [length] Message length if known beforehand
  1637. * @returns UpcomingOpeningMetadata
  1638. * @throws {Error} If the payload is not a reader or valid buffer
  1639. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1640. */
  1641. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UpcomingOpeningMetadata;
  1642. /**
  1643. * Decodes an UpcomingOpeningMetadata message from the specified reader or buffer, length delimited.
  1644. * @param reader Reader or buffer to decode from
  1645. * @returns UpcomingOpeningMetadata
  1646. * @throws {Error} If the payload is not a reader or valid buffer
  1647. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1648. */
  1649. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UpcomingOpeningMetadata;
  1650. /**
  1651. * Verifies an UpcomingOpeningMetadata message.
  1652. * @param message Plain object to verify
  1653. * @returns `null` if valid, otherwise the reason why it is not
  1654. */
  1655. public static verify(message: { [k: string]: any }): (string|null);
  1656. /**
  1657. * Creates an UpcomingOpeningMetadata message from a plain object. Also converts values to their respective internal types.
  1658. * @param object Plain object
  1659. * @returns UpcomingOpeningMetadata
  1660. */
  1661. public static fromObject(object: { [k: string]: any }): UpcomingOpeningMetadata;
  1662. /**
  1663. * Creates a plain object from an UpcomingOpeningMetadata message. Also converts values to other types if specified.
  1664. * @param message UpcomingOpeningMetadata
  1665. * @param [options] Conversion options
  1666. * @returns Plain object
  1667. */
  1668. public static toObject(message: UpcomingOpeningMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1669. /**
  1670. * Converts this UpcomingOpeningMetadata to JSON.
  1671. * @returns JSON object
  1672. */
  1673. public toJSON(): { [k: string]: any };
  1674. }
  1675. /** Properties of an ApplicationMetadata. */
  1676. export interface IApplicationMetadata {
  1677. /** ApplicationMetadata answers */
  1678. answers?: (string[]|null);
  1679. }
  1680. /** Represents an ApplicationMetadata. */
  1681. export class ApplicationMetadata implements IApplicationMetadata {
  1682. /**
  1683. * Constructs a new ApplicationMetadata.
  1684. * @param [properties] Properties to set
  1685. */
  1686. constructor(properties?: IApplicationMetadata);
  1687. /** ApplicationMetadata answers. */
  1688. public answers: string[];
  1689. /**
  1690. * Creates a new ApplicationMetadata instance using the specified properties.
  1691. * @param [properties] Properties to set
  1692. * @returns ApplicationMetadata instance
  1693. */
  1694. public static create(properties?: IApplicationMetadata): ApplicationMetadata;
  1695. /**
  1696. * Encodes the specified ApplicationMetadata message. Does not implicitly {@link ApplicationMetadata.verify|verify} messages.
  1697. * @param message ApplicationMetadata message or plain object to encode
  1698. * @param [writer] Writer to encode to
  1699. * @returns Writer
  1700. */
  1701. public static encode(message: IApplicationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1702. /**
  1703. * Encodes the specified ApplicationMetadata message, length delimited. Does not implicitly {@link ApplicationMetadata.verify|verify} messages.
  1704. * @param message ApplicationMetadata message or plain object to encode
  1705. * @param [writer] Writer to encode to
  1706. * @returns Writer
  1707. */
  1708. public static encodeDelimited(message: IApplicationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1709. /**
  1710. * Decodes an ApplicationMetadata message from the specified reader or buffer.
  1711. * @param reader Reader or buffer to decode from
  1712. * @param [length] Message length if known beforehand
  1713. * @returns ApplicationMetadata
  1714. * @throws {Error} If the payload is not a reader or valid buffer
  1715. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1716. */
  1717. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ApplicationMetadata;
  1718. /**
  1719. * Decodes an ApplicationMetadata message from the specified reader or buffer, length delimited.
  1720. * @param reader Reader or buffer to decode from
  1721. * @returns ApplicationMetadata
  1722. * @throws {Error} If the payload is not a reader or valid buffer
  1723. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1724. */
  1725. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ApplicationMetadata;
  1726. /**
  1727. * Verifies an ApplicationMetadata message.
  1728. * @param message Plain object to verify
  1729. * @returns `null` if valid, otherwise the reason why it is not
  1730. */
  1731. public static verify(message: { [k: string]: any }): (string|null);
  1732. /**
  1733. * Creates an ApplicationMetadata message from a plain object. Also converts values to their respective internal types.
  1734. * @param object Plain object
  1735. * @returns ApplicationMetadata
  1736. */
  1737. public static fromObject(object: { [k: string]: any }): ApplicationMetadata;
  1738. /**
  1739. * Creates a plain object from an ApplicationMetadata message. Also converts values to other types if specified.
  1740. * @param message ApplicationMetadata
  1741. * @param [options] Conversion options
  1742. * @returns Plain object
  1743. */
  1744. public static toObject(message: ApplicationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1745. /**
  1746. * Converts this ApplicationMetadata to JSON.
  1747. * @returns JSON object
  1748. */
  1749. public toJSON(): { [k: string]: any };
  1750. }
  1751. /** Properties of a WorkingGroupMetadata. */
  1752. export interface IWorkingGroupMetadata {
  1753. /** WorkingGroupMetadata description */
  1754. description?: (string|null);
  1755. /** WorkingGroupMetadata about */
  1756. about?: (string|null);
  1757. /** WorkingGroupMetadata status */
  1758. status?: (string|null);
  1759. /** WorkingGroupMetadata statusMessage */
  1760. statusMessage?: (string|null);
  1761. }
  1762. /** Represents a WorkingGroupMetadata. */
  1763. export class WorkingGroupMetadata implements IWorkingGroupMetadata {
  1764. /**
  1765. * Constructs a new WorkingGroupMetadata.
  1766. * @param [properties] Properties to set
  1767. */
  1768. constructor(properties?: IWorkingGroupMetadata);
  1769. /** WorkingGroupMetadata description. */
  1770. public description: string;
  1771. /** WorkingGroupMetadata about. */
  1772. public about: string;
  1773. /** WorkingGroupMetadata status. */
  1774. public status: string;
  1775. /** WorkingGroupMetadata statusMessage. */
  1776. public statusMessage: string;
  1777. /**
  1778. * Creates a new WorkingGroupMetadata instance using the specified properties.
  1779. * @param [properties] Properties to set
  1780. * @returns WorkingGroupMetadata instance
  1781. */
  1782. public static create(properties?: IWorkingGroupMetadata): WorkingGroupMetadata;
  1783. /**
  1784. * Encodes the specified WorkingGroupMetadata message. Does not implicitly {@link WorkingGroupMetadata.verify|verify} messages.
  1785. * @param message WorkingGroupMetadata message or plain object to encode
  1786. * @param [writer] Writer to encode to
  1787. * @returns Writer
  1788. */
  1789. public static encode(message: IWorkingGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1790. /**
  1791. * Encodes the specified WorkingGroupMetadata message, length delimited. Does not implicitly {@link WorkingGroupMetadata.verify|verify} messages.
  1792. * @param message WorkingGroupMetadata message or plain object to encode
  1793. * @param [writer] Writer to encode to
  1794. * @returns Writer
  1795. */
  1796. public static encodeDelimited(message: IWorkingGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1797. /**
  1798. * Decodes a WorkingGroupMetadata message from the specified reader or buffer.
  1799. * @param reader Reader or buffer to decode from
  1800. * @param [length] Message length if known beforehand
  1801. * @returns WorkingGroupMetadata
  1802. * @throws {Error} If the payload is not a reader or valid buffer
  1803. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1804. */
  1805. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): WorkingGroupMetadata;
  1806. /**
  1807. * Decodes a WorkingGroupMetadata message from the specified reader or buffer, length delimited.
  1808. * @param reader Reader or buffer to decode from
  1809. * @returns WorkingGroupMetadata
  1810. * @throws {Error} If the payload is not a reader or valid buffer
  1811. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1812. */
  1813. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): WorkingGroupMetadata;
  1814. /**
  1815. * Verifies a WorkingGroupMetadata message.
  1816. * @param message Plain object to verify
  1817. * @returns `null` if valid, otherwise the reason why it is not
  1818. */
  1819. public static verify(message: { [k: string]: any }): (string|null);
  1820. /**
  1821. * Creates a WorkingGroupMetadata message from a plain object. Also converts values to their respective internal types.
  1822. * @param object Plain object
  1823. * @returns WorkingGroupMetadata
  1824. */
  1825. public static fromObject(object: { [k: string]: any }): WorkingGroupMetadata;
  1826. /**
  1827. * Creates a plain object from a WorkingGroupMetadata message. Also converts values to other types if specified.
  1828. * @param message WorkingGroupMetadata
  1829. * @param [options] Conversion options
  1830. * @returns Plain object
  1831. */
  1832. public static toObject(message: WorkingGroupMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1833. /**
  1834. * Converts this WorkingGroupMetadata to JSON.
  1835. * @returns JSON object
  1836. */
  1837. public toJSON(): { [k: string]: any };
  1838. }
  1839. /** Properties of a SetGroupMetadata. */
  1840. export interface ISetGroupMetadata {
  1841. /** SetGroupMetadata newMetadata */
  1842. newMetadata?: (IWorkingGroupMetadata|null);
  1843. }
  1844. /** Represents a SetGroupMetadata. */
  1845. export class SetGroupMetadata implements ISetGroupMetadata {
  1846. /**
  1847. * Constructs a new SetGroupMetadata.
  1848. * @param [properties] Properties to set
  1849. */
  1850. constructor(properties?: ISetGroupMetadata);
  1851. /** SetGroupMetadata newMetadata. */
  1852. public newMetadata?: (IWorkingGroupMetadata|null);
  1853. /**
  1854. * Creates a new SetGroupMetadata instance using the specified properties.
  1855. * @param [properties] Properties to set
  1856. * @returns SetGroupMetadata instance
  1857. */
  1858. public static create(properties?: ISetGroupMetadata): SetGroupMetadata;
  1859. /**
  1860. * Encodes the specified SetGroupMetadata message. Does not implicitly {@link SetGroupMetadata.verify|verify} messages.
  1861. * @param message SetGroupMetadata message or plain object to encode
  1862. * @param [writer] Writer to encode to
  1863. * @returns Writer
  1864. */
  1865. public static encode(message: ISetGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1866. /**
  1867. * Encodes the specified SetGroupMetadata message, length delimited. Does not implicitly {@link SetGroupMetadata.verify|verify} messages.
  1868. * @param message SetGroupMetadata message or plain object to encode
  1869. * @param [writer] Writer to encode to
  1870. * @returns Writer
  1871. */
  1872. public static encodeDelimited(message: ISetGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1873. /**
  1874. * Decodes a SetGroupMetadata message from the specified reader or buffer.
  1875. * @param reader Reader or buffer to decode from
  1876. * @param [length] Message length if known beforehand
  1877. * @returns SetGroupMetadata
  1878. * @throws {Error} If the payload is not a reader or valid buffer
  1879. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1880. */
  1881. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SetGroupMetadata;
  1882. /**
  1883. * Decodes a SetGroupMetadata message from the specified reader or buffer, length delimited.
  1884. * @param reader Reader or buffer to decode from
  1885. * @returns SetGroupMetadata
  1886. * @throws {Error} If the payload is not a reader or valid buffer
  1887. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1888. */
  1889. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SetGroupMetadata;
  1890. /**
  1891. * Verifies a SetGroupMetadata message.
  1892. * @param message Plain object to verify
  1893. * @returns `null` if valid, otherwise the reason why it is not
  1894. */
  1895. public static verify(message: { [k: string]: any }): (string|null);
  1896. /**
  1897. * Creates a SetGroupMetadata message from a plain object. Also converts values to their respective internal types.
  1898. * @param object Plain object
  1899. * @returns SetGroupMetadata
  1900. */
  1901. public static fromObject(object: { [k: string]: any }): SetGroupMetadata;
  1902. /**
  1903. * Creates a plain object from a SetGroupMetadata message. Also converts values to other types if specified.
  1904. * @param message SetGroupMetadata
  1905. * @param [options] Conversion options
  1906. * @returns Plain object
  1907. */
  1908. public static toObject(message: SetGroupMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1909. /**
  1910. * Converts this SetGroupMetadata to JSON.
  1911. * @returns JSON object
  1912. */
  1913. public toJSON(): { [k: string]: any };
  1914. }
  1915. /** Properties of an AddUpcomingOpening. */
  1916. export interface IAddUpcomingOpening {
  1917. /** AddUpcomingOpening metadata */
  1918. metadata?: (IUpcomingOpeningMetadata|null);
  1919. }
  1920. /** Represents an AddUpcomingOpening. */
  1921. export class AddUpcomingOpening implements IAddUpcomingOpening {
  1922. /**
  1923. * Constructs a new AddUpcomingOpening.
  1924. * @param [properties] Properties to set
  1925. */
  1926. constructor(properties?: IAddUpcomingOpening);
  1927. /** AddUpcomingOpening metadata. */
  1928. public metadata?: (IUpcomingOpeningMetadata|null);
  1929. /**
  1930. * Creates a new AddUpcomingOpening instance using the specified properties.
  1931. * @param [properties] Properties to set
  1932. * @returns AddUpcomingOpening instance
  1933. */
  1934. public static create(properties?: IAddUpcomingOpening): AddUpcomingOpening;
  1935. /**
  1936. * Encodes the specified AddUpcomingOpening message. Does not implicitly {@link AddUpcomingOpening.verify|verify} messages.
  1937. * @param message AddUpcomingOpening message or plain object to encode
  1938. * @param [writer] Writer to encode to
  1939. * @returns Writer
  1940. */
  1941. public static encode(message: IAddUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  1942. /**
  1943. * Encodes the specified AddUpcomingOpening message, length delimited. Does not implicitly {@link AddUpcomingOpening.verify|verify} messages.
  1944. * @param message AddUpcomingOpening message or plain object to encode
  1945. * @param [writer] Writer to encode to
  1946. * @returns Writer
  1947. */
  1948. public static encodeDelimited(message: IAddUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  1949. /**
  1950. * Decodes an AddUpcomingOpening message from the specified reader or buffer.
  1951. * @param reader Reader or buffer to decode from
  1952. * @param [length] Message length if known beforehand
  1953. * @returns AddUpcomingOpening
  1954. * @throws {Error} If the payload is not a reader or valid buffer
  1955. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1956. */
  1957. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AddUpcomingOpening;
  1958. /**
  1959. * Decodes an AddUpcomingOpening message from the specified reader or buffer, length delimited.
  1960. * @param reader Reader or buffer to decode from
  1961. * @returns AddUpcomingOpening
  1962. * @throws {Error} If the payload is not a reader or valid buffer
  1963. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1964. */
  1965. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AddUpcomingOpening;
  1966. /**
  1967. * Verifies an AddUpcomingOpening message.
  1968. * @param message Plain object to verify
  1969. * @returns `null` if valid, otherwise the reason why it is not
  1970. */
  1971. public static verify(message: { [k: string]: any }): (string|null);
  1972. /**
  1973. * Creates an AddUpcomingOpening message from a plain object. Also converts values to their respective internal types.
  1974. * @param object Plain object
  1975. * @returns AddUpcomingOpening
  1976. */
  1977. public static fromObject(object: { [k: string]: any }): AddUpcomingOpening;
  1978. /**
  1979. * Creates a plain object from an AddUpcomingOpening message. Also converts values to other types if specified.
  1980. * @param message AddUpcomingOpening
  1981. * @param [options] Conversion options
  1982. * @returns Plain object
  1983. */
  1984. public static toObject(message: AddUpcomingOpening, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1985. /**
  1986. * Converts this AddUpcomingOpening to JSON.
  1987. * @returns JSON object
  1988. */
  1989. public toJSON(): { [k: string]: any };
  1990. }
  1991. /** Properties of a RemoveUpcomingOpening. */
  1992. export interface IRemoveUpcomingOpening {
  1993. /** RemoveUpcomingOpening id */
  1994. id?: (string|null);
  1995. }
  1996. /** Represents a RemoveUpcomingOpening. */
  1997. export class RemoveUpcomingOpening implements IRemoveUpcomingOpening {
  1998. /**
  1999. * Constructs a new RemoveUpcomingOpening.
  2000. * @param [properties] Properties to set
  2001. */
  2002. constructor(properties?: IRemoveUpcomingOpening);
  2003. /** RemoveUpcomingOpening id. */
  2004. public id: string;
  2005. /**
  2006. * Creates a new RemoveUpcomingOpening instance using the specified properties.
  2007. * @param [properties] Properties to set
  2008. * @returns RemoveUpcomingOpening instance
  2009. */
  2010. public static create(properties?: IRemoveUpcomingOpening): RemoveUpcomingOpening;
  2011. /**
  2012. * Encodes the specified RemoveUpcomingOpening message. Does not implicitly {@link RemoveUpcomingOpening.verify|verify} messages.
  2013. * @param message RemoveUpcomingOpening message or plain object to encode
  2014. * @param [writer] Writer to encode to
  2015. * @returns Writer
  2016. */
  2017. public static encode(message: IRemoveUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  2018. /**
  2019. * Encodes the specified RemoveUpcomingOpening message, length delimited. Does not implicitly {@link RemoveUpcomingOpening.verify|verify} messages.
  2020. * @param message RemoveUpcomingOpening message or plain object to encode
  2021. * @param [writer] Writer to encode to
  2022. * @returns Writer
  2023. */
  2024. public static encodeDelimited(message: IRemoveUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  2025. /**
  2026. * Decodes a RemoveUpcomingOpening message from the specified reader or buffer.
  2027. * @param reader Reader or buffer to decode from
  2028. * @param [length] Message length if known beforehand
  2029. * @returns RemoveUpcomingOpening
  2030. * @throws {Error} If the payload is not a reader or valid buffer
  2031. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2032. */
  2033. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): RemoveUpcomingOpening;
  2034. /**
  2035. * Decodes a RemoveUpcomingOpening message from the specified reader or buffer, length delimited.
  2036. * @param reader Reader or buffer to decode from
  2037. * @returns RemoveUpcomingOpening
  2038. * @throws {Error} If the payload is not a reader or valid buffer
  2039. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2040. */
  2041. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): RemoveUpcomingOpening;
  2042. /**
  2043. * Verifies a RemoveUpcomingOpening message.
  2044. * @param message Plain object to verify
  2045. * @returns `null` if valid, otherwise the reason why it is not
  2046. */
  2047. public static verify(message: { [k: string]: any }): (string|null);
  2048. /**
  2049. * Creates a RemoveUpcomingOpening message from a plain object. Also converts values to their respective internal types.
  2050. * @param object Plain object
  2051. * @returns RemoveUpcomingOpening
  2052. */
  2053. public static fromObject(object: { [k: string]: any }): RemoveUpcomingOpening;
  2054. /**
  2055. * Creates a plain object from a RemoveUpcomingOpening message. Also converts values to other types if specified.
  2056. * @param message RemoveUpcomingOpening
  2057. * @param [options] Conversion options
  2058. * @returns Plain object
  2059. */
  2060. public static toObject(message: RemoveUpcomingOpening, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2061. /**
  2062. * Converts this RemoveUpcomingOpening to JSON.
  2063. * @returns JSON object
  2064. */
  2065. public toJSON(): { [k: string]: any };
  2066. }
  2067. /** Properties of a WorkingGroupMetadataAction. */
  2068. export interface IWorkingGroupMetadataAction {
  2069. /** WorkingGroupMetadataAction setGroupMetadata */
  2070. setGroupMetadata?: (ISetGroupMetadata|null);
  2071. /** WorkingGroupMetadataAction addUpcomingOpening */
  2072. addUpcomingOpening?: (IAddUpcomingOpening|null);
  2073. /** WorkingGroupMetadataAction removeUpcomingOpening */
  2074. removeUpcomingOpening?: (IRemoveUpcomingOpening|null);
  2075. }
  2076. /** Represents a WorkingGroupMetadataAction. */
  2077. export class WorkingGroupMetadataAction implements IWorkingGroupMetadataAction {
  2078. /**
  2079. * Constructs a new WorkingGroupMetadataAction.
  2080. * @param [properties] Properties to set
  2081. */
  2082. constructor(properties?: IWorkingGroupMetadataAction);
  2083. /** WorkingGroupMetadataAction setGroupMetadata. */
  2084. public setGroupMetadata?: (ISetGroupMetadata|null);
  2085. /** WorkingGroupMetadataAction addUpcomingOpening. */
  2086. public addUpcomingOpening?: (IAddUpcomingOpening|null);
  2087. /** WorkingGroupMetadataAction removeUpcomingOpening. */
  2088. public removeUpcomingOpening?: (IRemoveUpcomingOpening|null);
  2089. /** WorkingGroupMetadataAction action. */
  2090. public action?: ("setGroupMetadata"|"addUpcomingOpening"|"removeUpcomingOpening");
  2091. /**
  2092. * Creates a new WorkingGroupMetadataAction instance using the specified properties.
  2093. * @param [properties] Properties to set
  2094. * @returns WorkingGroupMetadataAction instance
  2095. */
  2096. public static create(properties?: IWorkingGroupMetadataAction): WorkingGroupMetadataAction;
  2097. /**
  2098. * Encodes the specified WorkingGroupMetadataAction message. Does not implicitly {@link WorkingGroupMetadataAction.verify|verify} messages.
  2099. * @param message WorkingGroupMetadataAction message or plain object to encode
  2100. * @param [writer] Writer to encode to
  2101. * @returns Writer
  2102. */
  2103. public static encode(message: IWorkingGroupMetadataAction, writer?: $protobuf.Writer): $protobuf.Writer;
  2104. /**
  2105. * Encodes the specified WorkingGroupMetadataAction message, length delimited. Does not implicitly {@link WorkingGroupMetadataAction.verify|verify} messages.
  2106. * @param message WorkingGroupMetadataAction message or plain object to encode
  2107. * @param [writer] Writer to encode to
  2108. * @returns Writer
  2109. */
  2110. public static encodeDelimited(message: IWorkingGroupMetadataAction, writer?: $protobuf.Writer): $protobuf.Writer;
  2111. /**
  2112. * Decodes a WorkingGroupMetadataAction 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 WorkingGroupMetadataAction
  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): WorkingGroupMetadataAction;
  2120. /**
  2121. * Decodes a WorkingGroupMetadataAction message from the specified reader or buffer, length delimited.
  2122. * @param reader Reader or buffer to decode from
  2123. * @returns WorkingGroupMetadataAction
  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)): WorkingGroupMetadataAction;
  2128. /**
  2129. * Verifies a WorkingGroupMetadataAction 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 WorkingGroupMetadataAction message from a plain object. Also converts values to their respective internal types.
  2136. * @param object Plain object
  2137. * @returns WorkingGroupMetadataAction
  2138. */
  2139. public static fromObject(object: { [k: string]: any }): WorkingGroupMetadataAction;
  2140. /**
  2141. * Creates a plain object from a WorkingGroupMetadataAction message. Also converts values to other types if specified.
  2142. * @param message WorkingGroupMetadataAction
  2143. * @param [options] Conversion options
  2144. * @returns Plain object
  2145. */
  2146. public static toObject(message: WorkingGroupMetadataAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2147. /**
  2148. * Converts this WorkingGroupMetadataAction to JSON.
  2149. * @returns JSON object
  2150. */
  2151. public toJSON(): { [k: string]: any };
  2152. }