index.d.ts 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215
  1. import * as $protobuf from "protobufjs";
  2. /** Properties of a CouncilCandidacyNoteMetadata. */
  3. export interface ICouncilCandidacyNoteMetadata {
  4. /** CouncilCandidacyNoteMetadata header */
  5. header?: (string|null);
  6. /** CouncilCandidacyNoteMetadata bulletPoints */
  7. bulletPoints?: (string[]|null);
  8. /** CouncilCandidacyNoteMetadata bannerImageUri */
  9. bannerImageUri?: (string|null);
  10. /** CouncilCandidacyNoteMetadata description */
  11. description?: (string|null);
  12. }
  13. /** Represents a CouncilCandidacyNoteMetadata. */
  14. export class CouncilCandidacyNoteMetadata implements ICouncilCandidacyNoteMetadata {
  15. /**
  16. * Constructs a new CouncilCandidacyNoteMetadata.
  17. * @param [properties] Properties to set
  18. */
  19. constructor(properties?: ICouncilCandidacyNoteMetadata);
  20. /** CouncilCandidacyNoteMetadata header. */
  21. public header: string;
  22. /** CouncilCandidacyNoteMetadata bulletPoints. */
  23. public bulletPoints: string[];
  24. /** CouncilCandidacyNoteMetadata bannerImageUri. */
  25. public bannerImageUri: string;
  26. /** CouncilCandidacyNoteMetadata description. */
  27. public description: string;
  28. /**
  29. * Creates a new CouncilCandidacyNoteMetadata instance using the specified properties.
  30. * @param [properties] Properties to set
  31. * @returns CouncilCandidacyNoteMetadata instance
  32. */
  33. public static create(properties?: ICouncilCandidacyNoteMetadata): CouncilCandidacyNoteMetadata;
  34. /**
  35. * Encodes the specified CouncilCandidacyNoteMetadata message. Does not implicitly {@link CouncilCandidacyNoteMetadata.verify|verify} messages.
  36. * @param message CouncilCandidacyNoteMetadata message or plain object to encode
  37. * @param [writer] Writer to encode to
  38. * @returns Writer
  39. */
  40. public static encode(message: ICouncilCandidacyNoteMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  41. /**
  42. * Encodes the specified CouncilCandidacyNoteMetadata message, length delimited. Does not implicitly {@link CouncilCandidacyNoteMetadata.verify|verify} messages.
  43. * @param message CouncilCandidacyNoteMetadata message or plain object to encode
  44. * @param [writer] Writer to encode to
  45. * @returns Writer
  46. */
  47. public static encodeDelimited(message: ICouncilCandidacyNoteMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  48. /**
  49. * Decodes a CouncilCandidacyNoteMetadata message from the specified reader or buffer.
  50. * @param reader Reader or buffer to decode from
  51. * @param [length] Message length if known beforehand
  52. * @returns CouncilCandidacyNoteMetadata
  53. * @throws {Error} If the payload is not a reader or valid buffer
  54. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  55. */
  56. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CouncilCandidacyNoteMetadata;
  57. /**
  58. * Decodes a CouncilCandidacyNoteMetadata message from the specified reader or buffer, length delimited.
  59. * @param reader Reader or buffer to decode from
  60. * @returns CouncilCandidacyNoteMetadata
  61. * @throws {Error} If the payload is not a reader or valid buffer
  62. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  63. */
  64. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CouncilCandidacyNoteMetadata;
  65. /**
  66. * Verifies a CouncilCandidacyNoteMetadata message.
  67. * @param message Plain object to verify
  68. * @returns `null` if valid, otherwise the reason why it is not
  69. */
  70. public static verify(message: { [k: string]: any }): (string|null);
  71. /**
  72. * Creates a CouncilCandidacyNoteMetadata message from a plain object. Also converts values to their respective internal types.
  73. * @param object Plain object
  74. * @returns CouncilCandidacyNoteMetadata
  75. */
  76. public static fromObject(object: { [k: string]: any }): CouncilCandidacyNoteMetadata;
  77. /**
  78. * Creates a plain object from a CouncilCandidacyNoteMetadata message. Also converts values to other types if specified.
  79. * @param message CouncilCandidacyNoteMetadata
  80. * @param [options] Conversion options
  81. * @returns Plain object
  82. */
  83. public static toObject(message: CouncilCandidacyNoteMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  84. /**
  85. * Converts this CouncilCandidacyNoteMetadata to JSON.
  86. * @returns JSON object
  87. */
  88. public toJSON(): { [k: string]: any };
  89. }
  90. /** Properties of a MembershipMetadata. */
  91. export interface IMembershipMetadata {
  92. /** MembershipMetadata name */
  93. name?: (string|null);
  94. /** MembershipMetadata avatar */
  95. avatar?: (number|null);
  96. /** MembershipMetadata about */
  97. about?: (string|null);
  98. }
  99. /** Represents a MembershipMetadata. */
  100. export class MembershipMetadata implements IMembershipMetadata {
  101. /**
  102. * Constructs a new MembershipMetadata.
  103. * @param [properties] Properties to set
  104. */
  105. constructor(properties?: IMembershipMetadata);
  106. /** MembershipMetadata name. */
  107. public name: string;
  108. /** MembershipMetadata avatar. */
  109. public avatar: number;
  110. /** MembershipMetadata about. */
  111. public about: string;
  112. /**
  113. * Creates a new MembershipMetadata instance using the specified properties.
  114. * @param [properties] Properties to set
  115. * @returns MembershipMetadata instance
  116. */
  117. public static create(properties?: IMembershipMetadata): MembershipMetadata;
  118. /**
  119. * Encodes the specified MembershipMetadata message. Does not implicitly {@link MembershipMetadata.verify|verify} messages.
  120. * @param message MembershipMetadata message or plain object to encode
  121. * @param [writer] Writer to encode to
  122. * @returns Writer
  123. */
  124. public static encode(message: IMembershipMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  125. /**
  126. * Encodes the specified MembershipMetadata message, length delimited. Does not implicitly {@link MembershipMetadata.verify|verify} messages.
  127. * @param message MembershipMetadata message or plain object to encode
  128. * @param [writer] Writer to encode to
  129. * @returns Writer
  130. */
  131. public static encodeDelimited(message: IMembershipMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  132. /**
  133. * Decodes a MembershipMetadata message from the specified reader or buffer.
  134. * @param reader Reader or buffer to decode from
  135. * @param [length] Message length if known beforehand
  136. * @returns MembershipMetadata
  137. * @throws {Error} If the payload is not a reader or valid buffer
  138. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  139. */
  140. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MembershipMetadata;
  141. /**
  142. * Decodes a MembershipMetadata message from the specified reader or buffer, length delimited.
  143. * @param reader Reader or buffer to decode from
  144. * @returns MembershipMetadata
  145. * @throws {Error} If the payload is not a reader or valid buffer
  146. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  147. */
  148. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MembershipMetadata;
  149. /**
  150. * Verifies a MembershipMetadata message.
  151. * @param message Plain object to verify
  152. * @returns `null` if valid, otherwise the reason why it is not
  153. */
  154. public static verify(message: { [k: string]: any }): (string|null);
  155. /**
  156. * Creates a MembershipMetadata message from a plain object. Also converts values to their respective internal types.
  157. * @param object Plain object
  158. * @returns MembershipMetadata
  159. */
  160. public static fromObject(object: { [k: string]: any }): MembershipMetadata;
  161. /**
  162. * Creates a plain object from a MembershipMetadata message. Also converts values to other types if specified.
  163. * @param message MembershipMetadata
  164. * @param [options] Conversion options
  165. * @returns Plain object
  166. */
  167. public static toObject(message: MembershipMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  168. /**
  169. * Converts this MembershipMetadata to JSON.
  170. * @returns JSON object
  171. */
  172. public toJSON(): { [k: string]: any };
  173. }
  174. /** Properties of a ProposalsDiscussionPostMetadata. */
  175. export interface IProposalsDiscussionPostMetadata {
  176. /** ProposalsDiscussionPostMetadata text */
  177. text?: (string|null);
  178. /** ProposalsDiscussionPostMetadata repliesTo */
  179. repliesTo?: (number|null);
  180. }
  181. /** Represents a ProposalsDiscussionPostMetadata. */
  182. export class ProposalsDiscussionPostMetadata implements IProposalsDiscussionPostMetadata {
  183. /**
  184. * Constructs a new ProposalsDiscussionPostMetadata.
  185. * @param [properties] Properties to set
  186. */
  187. constructor(properties?: IProposalsDiscussionPostMetadata);
  188. /** ProposalsDiscussionPostMetadata text. */
  189. public text: string;
  190. /** ProposalsDiscussionPostMetadata repliesTo. */
  191. public repliesTo: number;
  192. /**
  193. * Creates a new ProposalsDiscussionPostMetadata instance using the specified properties.
  194. * @param [properties] Properties to set
  195. * @returns ProposalsDiscussionPostMetadata instance
  196. */
  197. public static create(properties?: IProposalsDiscussionPostMetadata): ProposalsDiscussionPostMetadata;
  198. /**
  199. * Encodes the specified ProposalsDiscussionPostMetadata message. Does not implicitly {@link ProposalsDiscussionPostMetadata.verify|verify} messages.
  200. * @param message ProposalsDiscussionPostMetadata message or plain object to encode
  201. * @param [writer] Writer to encode to
  202. * @returns Writer
  203. */
  204. public static encode(message: IProposalsDiscussionPostMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  205. /**
  206. * Encodes the specified ProposalsDiscussionPostMetadata message, length delimited. Does not implicitly {@link ProposalsDiscussionPostMetadata.verify|verify} messages.
  207. * @param message ProposalsDiscussionPostMetadata message or plain object to encode
  208. * @param [writer] Writer to encode to
  209. * @returns Writer
  210. */
  211. public static encodeDelimited(message: IProposalsDiscussionPostMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  212. /**
  213. * Decodes a ProposalsDiscussionPostMetadata message from the specified reader or buffer.
  214. * @param reader Reader or buffer to decode from
  215. * @param [length] Message length if known beforehand
  216. * @returns ProposalsDiscussionPostMetadata
  217. * @throws {Error} If the payload is not a reader or valid buffer
  218. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  219. */
  220. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProposalsDiscussionPostMetadata;
  221. /**
  222. * Decodes a ProposalsDiscussionPostMetadata message from the specified reader or buffer, length delimited.
  223. * @param reader Reader or buffer to decode from
  224. * @returns ProposalsDiscussionPostMetadata
  225. * @throws {Error} If the payload is not a reader or valid buffer
  226. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  227. */
  228. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProposalsDiscussionPostMetadata;
  229. /**
  230. * Verifies a ProposalsDiscussionPostMetadata message.
  231. * @param message Plain object to verify
  232. * @returns `null` if valid, otherwise the reason why it is not
  233. */
  234. public static verify(message: { [k: string]: any }): (string|null);
  235. /**
  236. * Creates a ProposalsDiscussionPostMetadata message from a plain object. Also converts values to their respective internal types.
  237. * @param object Plain object
  238. * @returns ProposalsDiscussionPostMetadata
  239. */
  240. public static fromObject(object: { [k: string]: any }): ProposalsDiscussionPostMetadata;
  241. /**
  242. * Creates a plain object from a ProposalsDiscussionPostMetadata message. Also converts values to other types if specified.
  243. * @param message ProposalsDiscussionPostMetadata
  244. * @param [options] Conversion options
  245. * @returns Plain object
  246. */
  247. public static toObject(message: ProposalsDiscussionPostMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  248. /**
  249. * Converts this ProposalsDiscussionPostMetadata to JSON.
  250. * @returns JSON object
  251. */
  252. public toJSON(): { [k: string]: any };
  253. }
  254. /** Properties of an OpeningMetadata. */
  255. export interface IOpeningMetadata {
  256. /** OpeningMetadata shortDescription */
  257. shortDescription?: (string|null);
  258. /** OpeningMetadata description */
  259. description?: (string|null);
  260. /** OpeningMetadata hiringLimit */
  261. hiringLimit?: (number|null);
  262. /** OpeningMetadata expectedEndingTimestamp */
  263. expectedEndingTimestamp?: (number|null);
  264. /** OpeningMetadata applicationDetails */
  265. applicationDetails?: (string|null);
  266. /** OpeningMetadata applicationFormQuestions */
  267. applicationFormQuestions?: (OpeningMetadata.IApplicationFormQuestion[]|null);
  268. }
  269. /** Represents an OpeningMetadata. */
  270. export class OpeningMetadata implements IOpeningMetadata {
  271. /**
  272. * Constructs a new OpeningMetadata.
  273. * @param [properties] Properties to set
  274. */
  275. constructor(properties?: IOpeningMetadata);
  276. /** OpeningMetadata shortDescription. */
  277. public shortDescription: string;
  278. /** OpeningMetadata description. */
  279. public description: string;
  280. /** OpeningMetadata hiringLimit. */
  281. public hiringLimit: number;
  282. /** OpeningMetadata expectedEndingTimestamp. */
  283. public expectedEndingTimestamp: number;
  284. /** OpeningMetadata applicationDetails. */
  285. public applicationDetails: string;
  286. /** OpeningMetadata applicationFormQuestions. */
  287. public applicationFormQuestions: OpeningMetadata.IApplicationFormQuestion[];
  288. /**
  289. * Creates a new OpeningMetadata instance using the specified properties.
  290. * @param [properties] Properties to set
  291. * @returns OpeningMetadata instance
  292. */
  293. public static create(properties?: IOpeningMetadata): OpeningMetadata;
  294. /**
  295. * Encodes the specified OpeningMetadata message. Does not implicitly {@link OpeningMetadata.verify|verify} messages.
  296. * @param message OpeningMetadata message or plain object to encode
  297. * @param [writer] Writer to encode to
  298. * @returns Writer
  299. */
  300. public static encode(message: IOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  301. /**
  302. * Encodes the specified OpeningMetadata message, length delimited. Does not implicitly {@link OpeningMetadata.verify|verify} messages.
  303. * @param message OpeningMetadata message or plain object to encode
  304. * @param [writer] Writer to encode to
  305. * @returns Writer
  306. */
  307. public static encodeDelimited(message: IOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  308. /**
  309. * Decodes an OpeningMetadata message from the specified reader or buffer.
  310. * @param reader Reader or buffer to decode from
  311. * @param [length] Message length if known beforehand
  312. * @returns OpeningMetadata
  313. * @throws {Error} If the payload is not a reader or valid buffer
  314. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  315. */
  316. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OpeningMetadata;
  317. /**
  318. * Decodes an OpeningMetadata message from the specified reader or buffer, length delimited.
  319. * @param reader Reader or buffer to decode from
  320. * @returns OpeningMetadata
  321. * @throws {Error} If the payload is not a reader or valid buffer
  322. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  323. */
  324. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OpeningMetadata;
  325. /**
  326. * Verifies an OpeningMetadata message.
  327. * @param message Plain object to verify
  328. * @returns `null` if valid, otherwise the reason why it is not
  329. */
  330. public static verify(message: { [k: string]: any }): (string|null);
  331. /**
  332. * Creates an OpeningMetadata message from a plain object. Also converts values to their respective internal types.
  333. * @param object Plain object
  334. * @returns OpeningMetadata
  335. */
  336. public static fromObject(object: { [k: string]: any }): OpeningMetadata;
  337. /**
  338. * Creates a plain object from an OpeningMetadata message. Also converts values to other types if specified.
  339. * @param message OpeningMetadata
  340. * @param [options] Conversion options
  341. * @returns Plain object
  342. */
  343. public static toObject(message: OpeningMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  344. /**
  345. * Converts this OpeningMetadata to JSON.
  346. * @returns JSON object
  347. */
  348. public toJSON(): { [k: string]: any };
  349. }
  350. export namespace OpeningMetadata {
  351. /** Properties of an ApplicationFormQuestion. */
  352. interface IApplicationFormQuestion {
  353. /** ApplicationFormQuestion question */
  354. question?: (string|null);
  355. /** ApplicationFormQuestion type */
  356. type?: (OpeningMetadata.ApplicationFormQuestion.InputType|null);
  357. }
  358. /** Represents an ApplicationFormQuestion. */
  359. class ApplicationFormQuestion implements IApplicationFormQuestion {
  360. /**
  361. * Constructs a new ApplicationFormQuestion.
  362. * @param [properties] Properties to set
  363. */
  364. constructor(properties?: OpeningMetadata.IApplicationFormQuestion);
  365. /** ApplicationFormQuestion question. */
  366. public question: string;
  367. /** ApplicationFormQuestion type. */
  368. public type: OpeningMetadata.ApplicationFormQuestion.InputType;
  369. /**
  370. * Creates a new ApplicationFormQuestion instance using the specified properties.
  371. * @param [properties] Properties to set
  372. * @returns ApplicationFormQuestion instance
  373. */
  374. public static create(properties?: OpeningMetadata.IApplicationFormQuestion): OpeningMetadata.ApplicationFormQuestion;
  375. /**
  376. * Encodes the specified ApplicationFormQuestion message. Does not implicitly {@link OpeningMetadata.ApplicationFormQuestion.verify|verify} messages.
  377. * @param message ApplicationFormQuestion message or plain object to encode
  378. * @param [writer] Writer to encode to
  379. * @returns Writer
  380. */
  381. public static encode(message: OpeningMetadata.IApplicationFormQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
  382. /**
  383. * Encodes the specified ApplicationFormQuestion message, length delimited. Does not implicitly {@link OpeningMetadata.ApplicationFormQuestion.verify|verify} messages.
  384. * @param message ApplicationFormQuestion message or plain object to encode
  385. * @param [writer] Writer to encode to
  386. * @returns Writer
  387. */
  388. public static encodeDelimited(message: OpeningMetadata.IApplicationFormQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
  389. /**
  390. * Decodes an ApplicationFormQuestion message from the specified reader or buffer.
  391. * @param reader Reader or buffer to decode from
  392. * @param [length] Message length if known beforehand
  393. * @returns ApplicationFormQuestion
  394. * @throws {Error} If the payload is not a reader or valid buffer
  395. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  396. */
  397. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OpeningMetadata.ApplicationFormQuestion;
  398. /**
  399. * Decodes an ApplicationFormQuestion message from the specified reader or buffer, length delimited.
  400. * @param reader Reader or buffer to decode from
  401. * @returns ApplicationFormQuestion
  402. * @throws {Error} If the payload is not a reader or valid buffer
  403. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  404. */
  405. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OpeningMetadata.ApplicationFormQuestion;
  406. /**
  407. * Verifies an ApplicationFormQuestion message.
  408. * @param message Plain object to verify
  409. * @returns `null` if valid, otherwise the reason why it is not
  410. */
  411. public static verify(message: { [k: string]: any }): (string|null);
  412. /**
  413. * Creates an ApplicationFormQuestion message from a plain object. Also converts values to their respective internal types.
  414. * @param object Plain object
  415. * @returns ApplicationFormQuestion
  416. */
  417. public static fromObject(object: { [k: string]: any }): OpeningMetadata.ApplicationFormQuestion;
  418. /**
  419. * Creates a plain object from an ApplicationFormQuestion message. Also converts values to other types if specified.
  420. * @param message ApplicationFormQuestion
  421. * @param [options] Conversion options
  422. * @returns Plain object
  423. */
  424. public static toObject(message: OpeningMetadata.ApplicationFormQuestion, options?: $protobuf.IConversionOptions): { [k: string]: any };
  425. /**
  426. * Converts this ApplicationFormQuestion to JSON.
  427. * @returns JSON object
  428. */
  429. public toJSON(): { [k: string]: any };
  430. }
  431. namespace ApplicationFormQuestion {
  432. /** InputType enum. */
  433. enum InputType {
  434. TEXTAREA = 0,
  435. TEXT = 1
  436. }
  437. }
  438. }
  439. /** Properties of an UpcomingOpeningMetadata. */
  440. export interface IUpcomingOpeningMetadata {
  441. /** UpcomingOpeningMetadata expectedStart */
  442. expectedStart?: (number|null);
  443. /** UpcomingOpeningMetadata rewardPerBlock */
  444. rewardPerBlock?: (Long|null);
  445. /** UpcomingOpeningMetadata minApplicationStake */
  446. minApplicationStake?: (Long|null);
  447. /** UpcomingOpeningMetadata metadata */
  448. metadata?: (IOpeningMetadata|null);
  449. }
  450. /** Represents an UpcomingOpeningMetadata. */
  451. export class UpcomingOpeningMetadata implements IUpcomingOpeningMetadata {
  452. /**
  453. * Constructs a new UpcomingOpeningMetadata.
  454. * @param [properties] Properties to set
  455. */
  456. constructor(properties?: IUpcomingOpeningMetadata);
  457. /** UpcomingOpeningMetadata expectedStart. */
  458. public expectedStart: number;
  459. /** UpcomingOpeningMetadata rewardPerBlock. */
  460. public rewardPerBlock: Long;
  461. /** UpcomingOpeningMetadata minApplicationStake. */
  462. public minApplicationStake: Long;
  463. /** UpcomingOpeningMetadata metadata. */
  464. public metadata?: (IOpeningMetadata|null);
  465. /**
  466. * Creates a new UpcomingOpeningMetadata instance using the specified properties.
  467. * @param [properties] Properties to set
  468. * @returns UpcomingOpeningMetadata instance
  469. */
  470. public static create(properties?: IUpcomingOpeningMetadata): UpcomingOpeningMetadata;
  471. /**
  472. * Encodes the specified UpcomingOpeningMetadata message. Does not implicitly {@link UpcomingOpeningMetadata.verify|verify} messages.
  473. * @param message UpcomingOpeningMetadata message or plain object to encode
  474. * @param [writer] Writer to encode to
  475. * @returns Writer
  476. */
  477. public static encode(message: IUpcomingOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  478. /**
  479. * Encodes the specified UpcomingOpeningMetadata message, length delimited. Does not implicitly {@link UpcomingOpeningMetadata.verify|verify} messages.
  480. * @param message UpcomingOpeningMetadata message or plain object to encode
  481. * @param [writer] Writer to encode to
  482. * @returns Writer
  483. */
  484. public static encodeDelimited(message: IUpcomingOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  485. /**
  486. * Decodes an UpcomingOpeningMetadata message from the specified reader or buffer.
  487. * @param reader Reader or buffer to decode from
  488. * @param [length] Message length if known beforehand
  489. * @returns UpcomingOpeningMetadata
  490. * @throws {Error} If the payload is not a reader or valid buffer
  491. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  492. */
  493. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UpcomingOpeningMetadata;
  494. /**
  495. * Decodes an UpcomingOpeningMetadata message from the specified reader or buffer, length delimited.
  496. * @param reader Reader or buffer to decode from
  497. * @returns UpcomingOpeningMetadata
  498. * @throws {Error} If the payload is not a reader or valid buffer
  499. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  500. */
  501. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UpcomingOpeningMetadata;
  502. /**
  503. * Verifies an UpcomingOpeningMetadata message.
  504. * @param message Plain object to verify
  505. * @returns `null` if valid, otherwise the reason why it is not
  506. */
  507. public static verify(message: { [k: string]: any }): (string|null);
  508. /**
  509. * Creates an UpcomingOpeningMetadata message from a plain object. Also converts values to their respective internal types.
  510. * @param object Plain object
  511. * @returns UpcomingOpeningMetadata
  512. */
  513. public static fromObject(object: { [k: string]: any }): UpcomingOpeningMetadata;
  514. /**
  515. * Creates a plain object from an UpcomingOpeningMetadata message. Also converts values to other types if specified.
  516. * @param message UpcomingOpeningMetadata
  517. * @param [options] Conversion options
  518. * @returns Plain object
  519. */
  520. public static toObject(message: UpcomingOpeningMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  521. /**
  522. * Converts this UpcomingOpeningMetadata to JSON.
  523. * @returns JSON object
  524. */
  525. public toJSON(): { [k: string]: any };
  526. }
  527. /** Properties of an ApplicationMetadata. */
  528. export interface IApplicationMetadata {
  529. /** ApplicationMetadata answers */
  530. answers?: (string[]|null);
  531. }
  532. /** Represents an ApplicationMetadata. */
  533. export class ApplicationMetadata implements IApplicationMetadata {
  534. /**
  535. * Constructs a new ApplicationMetadata.
  536. * @param [properties] Properties to set
  537. */
  538. constructor(properties?: IApplicationMetadata);
  539. /** ApplicationMetadata answers. */
  540. public answers: string[];
  541. /**
  542. * Creates a new ApplicationMetadata instance using the specified properties.
  543. * @param [properties] Properties to set
  544. * @returns ApplicationMetadata instance
  545. */
  546. public static create(properties?: IApplicationMetadata): ApplicationMetadata;
  547. /**
  548. * Encodes the specified ApplicationMetadata message. Does not implicitly {@link ApplicationMetadata.verify|verify} messages.
  549. * @param message ApplicationMetadata message or plain object to encode
  550. * @param [writer] Writer to encode to
  551. * @returns Writer
  552. */
  553. public static encode(message: IApplicationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  554. /**
  555. * Encodes the specified ApplicationMetadata message, length delimited. Does not implicitly {@link ApplicationMetadata.verify|verify} messages.
  556. * @param message ApplicationMetadata message or plain object to encode
  557. * @param [writer] Writer to encode to
  558. * @returns Writer
  559. */
  560. public static encodeDelimited(message: IApplicationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  561. /**
  562. * Decodes an ApplicationMetadata message from the specified reader or buffer.
  563. * @param reader Reader or buffer to decode from
  564. * @param [length] Message length if known beforehand
  565. * @returns ApplicationMetadata
  566. * @throws {Error} If the payload is not a reader or valid buffer
  567. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  568. */
  569. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ApplicationMetadata;
  570. /**
  571. * Decodes an ApplicationMetadata message from the specified reader or buffer, length delimited.
  572. * @param reader Reader or buffer to decode from
  573. * @returns ApplicationMetadata
  574. * @throws {Error} If the payload is not a reader or valid buffer
  575. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  576. */
  577. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ApplicationMetadata;
  578. /**
  579. * Verifies an ApplicationMetadata message.
  580. * @param message Plain object to verify
  581. * @returns `null` if valid, otherwise the reason why it is not
  582. */
  583. public static verify(message: { [k: string]: any }): (string|null);
  584. /**
  585. * Creates an ApplicationMetadata message from a plain object. Also converts values to their respective internal types.
  586. * @param object Plain object
  587. * @returns ApplicationMetadata
  588. */
  589. public static fromObject(object: { [k: string]: any }): ApplicationMetadata;
  590. /**
  591. * Creates a plain object from an ApplicationMetadata message. Also converts values to other types if specified.
  592. * @param message ApplicationMetadata
  593. * @param [options] Conversion options
  594. * @returns Plain object
  595. */
  596. public static toObject(message: ApplicationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  597. /**
  598. * Converts this ApplicationMetadata to JSON.
  599. * @returns JSON object
  600. */
  601. public toJSON(): { [k: string]: any };
  602. }
  603. /** Properties of a WorkingGroupMetadata. */
  604. export interface IWorkingGroupMetadata {
  605. /** WorkingGroupMetadata description */
  606. description?: (string|null);
  607. /** WorkingGroupMetadata about */
  608. about?: (string|null);
  609. /** WorkingGroupMetadata status */
  610. status?: (string|null);
  611. /** WorkingGroupMetadata statusMessage */
  612. statusMessage?: (string|null);
  613. }
  614. /** Represents a WorkingGroupMetadata. */
  615. export class WorkingGroupMetadata implements IWorkingGroupMetadata {
  616. /**
  617. * Constructs a new WorkingGroupMetadata.
  618. * @param [properties] Properties to set
  619. */
  620. constructor(properties?: IWorkingGroupMetadata);
  621. /** WorkingGroupMetadata description. */
  622. public description: string;
  623. /** WorkingGroupMetadata about. */
  624. public about: string;
  625. /** WorkingGroupMetadata status. */
  626. public status: string;
  627. /** WorkingGroupMetadata statusMessage. */
  628. public statusMessage: string;
  629. /**
  630. * Creates a new WorkingGroupMetadata instance using the specified properties.
  631. * @param [properties] Properties to set
  632. * @returns WorkingGroupMetadata instance
  633. */
  634. public static create(properties?: IWorkingGroupMetadata): WorkingGroupMetadata;
  635. /**
  636. * Encodes the specified WorkingGroupMetadata message. Does not implicitly {@link WorkingGroupMetadata.verify|verify} messages.
  637. * @param message WorkingGroupMetadata message or plain object to encode
  638. * @param [writer] Writer to encode to
  639. * @returns Writer
  640. */
  641. public static encode(message: IWorkingGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  642. /**
  643. * Encodes the specified WorkingGroupMetadata message, length delimited. Does not implicitly {@link WorkingGroupMetadata.verify|verify} messages.
  644. * @param message WorkingGroupMetadata message or plain object to encode
  645. * @param [writer] Writer to encode to
  646. * @returns Writer
  647. */
  648. public static encodeDelimited(message: IWorkingGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  649. /**
  650. * Decodes a WorkingGroupMetadata message from the specified reader or buffer.
  651. * @param reader Reader or buffer to decode from
  652. * @param [length] Message length if known beforehand
  653. * @returns WorkingGroupMetadata
  654. * @throws {Error} If the payload is not a reader or valid buffer
  655. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  656. */
  657. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): WorkingGroupMetadata;
  658. /**
  659. * Decodes a WorkingGroupMetadata message from the specified reader or buffer, length delimited.
  660. * @param reader Reader or buffer to decode from
  661. * @returns WorkingGroupMetadata
  662. * @throws {Error} If the payload is not a reader or valid buffer
  663. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  664. */
  665. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): WorkingGroupMetadata;
  666. /**
  667. * Verifies a WorkingGroupMetadata message.
  668. * @param message Plain object to verify
  669. * @returns `null` if valid, otherwise the reason why it is not
  670. */
  671. public static verify(message: { [k: string]: any }): (string|null);
  672. /**
  673. * Creates a WorkingGroupMetadata message from a plain object. Also converts values to their respective internal types.
  674. * @param object Plain object
  675. * @returns WorkingGroupMetadata
  676. */
  677. public static fromObject(object: { [k: string]: any }): WorkingGroupMetadata;
  678. /**
  679. * Creates a plain object from a WorkingGroupMetadata message. Also converts values to other types if specified.
  680. * @param message WorkingGroupMetadata
  681. * @param [options] Conversion options
  682. * @returns Plain object
  683. */
  684. public static toObject(message: WorkingGroupMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  685. /**
  686. * Converts this WorkingGroupMetadata to JSON.
  687. * @returns JSON object
  688. */
  689. public toJSON(): { [k: string]: any };
  690. }
  691. /** Properties of a SetGroupMetadata. */
  692. export interface ISetGroupMetadata {
  693. /** SetGroupMetadata newMetadata */
  694. newMetadata?: (IWorkingGroupMetadata|null);
  695. }
  696. /** Represents a SetGroupMetadata. */
  697. export class SetGroupMetadata implements ISetGroupMetadata {
  698. /**
  699. * Constructs a new SetGroupMetadata.
  700. * @param [properties] Properties to set
  701. */
  702. constructor(properties?: ISetGroupMetadata);
  703. /** SetGroupMetadata newMetadata. */
  704. public newMetadata?: (IWorkingGroupMetadata|null);
  705. /**
  706. * Creates a new SetGroupMetadata instance using the specified properties.
  707. * @param [properties] Properties to set
  708. * @returns SetGroupMetadata instance
  709. */
  710. public static create(properties?: ISetGroupMetadata): SetGroupMetadata;
  711. /**
  712. * Encodes the specified SetGroupMetadata message. Does not implicitly {@link SetGroupMetadata.verify|verify} messages.
  713. * @param message SetGroupMetadata message or plain object to encode
  714. * @param [writer] Writer to encode to
  715. * @returns Writer
  716. */
  717. public static encode(message: ISetGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  718. /**
  719. * Encodes the specified SetGroupMetadata message, length delimited. Does not implicitly {@link SetGroupMetadata.verify|verify} messages.
  720. * @param message SetGroupMetadata message or plain object to encode
  721. * @param [writer] Writer to encode to
  722. * @returns Writer
  723. */
  724. public static encodeDelimited(message: ISetGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  725. /**
  726. * Decodes a SetGroupMetadata message from the specified reader or buffer.
  727. * @param reader Reader or buffer to decode from
  728. * @param [length] Message length if known beforehand
  729. * @returns SetGroupMetadata
  730. * @throws {Error} If the payload is not a reader or valid buffer
  731. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  732. */
  733. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SetGroupMetadata;
  734. /**
  735. * Decodes a SetGroupMetadata message from the specified reader or buffer, length delimited.
  736. * @param reader Reader or buffer to decode from
  737. * @returns SetGroupMetadata
  738. * @throws {Error} If the payload is not a reader or valid buffer
  739. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  740. */
  741. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SetGroupMetadata;
  742. /**
  743. * Verifies a SetGroupMetadata message.
  744. * @param message Plain object to verify
  745. * @returns `null` if valid, otherwise the reason why it is not
  746. */
  747. public static verify(message: { [k: string]: any }): (string|null);
  748. /**
  749. * Creates a SetGroupMetadata message from a plain object. Also converts values to their respective internal types.
  750. * @param object Plain object
  751. * @returns SetGroupMetadata
  752. */
  753. public static fromObject(object: { [k: string]: any }): SetGroupMetadata;
  754. /**
  755. * Creates a plain object from a SetGroupMetadata message. Also converts values to other types if specified.
  756. * @param message SetGroupMetadata
  757. * @param [options] Conversion options
  758. * @returns Plain object
  759. */
  760. public static toObject(message: SetGroupMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  761. /**
  762. * Converts this SetGroupMetadata to JSON.
  763. * @returns JSON object
  764. */
  765. public toJSON(): { [k: string]: any };
  766. }
  767. /** Properties of an AddUpcomingOpening. */
  768. export interface IAddUpcomingOpening {
  769. /** AddUpcomingOpening metadata */
  770. metadata?: (IUpcomingOpeningMetadata|null);
  771. }
  772. /** Represents an AddUpcomingOpening. */
  773. export class AddUpcomingOpening implements IAddUpcomingOpening {
  774. /**
  775. * Constructs a new AddUpcomingOpening.
  776. * @param [properties] Properties to set
  777. */
  778. constructor(properties?: IAddUpcomingOpening);
  779. /** AddUpcomingOpening metadata. */
  780. public metadata?: (IUpcomingOpeningMetadata|null);
  781. /**
  782. * Creates a new AddUpcomingOpening instance using the specified properties.
  783. * @param [properties] Properties to set
  784. * @returns AddUpcomingOpening instance
  785. */
  786. public static create(properties?: IAddUpcomingOpening): AddUpcomingOpening;
  787. /**
  788. * Encodes the specified AddUpcomingOpening message. Does not implicitly {@link AddUpcomingOpening.verify|verify} messages.
  789. * @param message AddUpcomingOpening message or plain object to encode
  790. * @param [writer] Writer to encode to
  791. * @returns Writer
  792. */
  793. public static encode(message: IAddUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  794. /**
  795. * Encodes the specified AddUpcomingOpening message, length delimited. Does not implicitly {@link AddUpcomingOpening.verify|verify} messages.
  796. * @param message AddUpcomingOpening message or plain object to encode
  797. * @param [writer] Writer to encode to
  798. * @returns Writer
  799. */
  800. public static encodeDelimited(message: IAddUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  801. /**
  802. * Decodes an AddUpcomingOpening message from the specified reader or buffer.
  803. * @param reader Reader or buffer to decode from
  804. * @param [length] Message length if known beforehand
  805. * @returns AddUpcomingOpening
  806. * @throws {Error} If the payload is not a reader or valid buffer
  807. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  808. */
  809. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AddUpcomingOpening;
  810. /**
  811. * Decodes an AddUpcomingOpening message from the specified reader or buffer, length delimited.
  812. * @param reader Reader or buffer to decode from
  813. * @returns AddUpcomingOpening
  814. * @throws {Error} If the payload is not a reader or valid buffer
  815. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  816. */
  817. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AddUpcomingOpening;
  818. /**
  819. * Verifies an AddUpcomingOpening message.
  820. * @param message Plain object to verify
  821. * @returns `null` if valid, otherwise the reason why it is not
  822. */
  823. public static verify(message: { [k: string]: any }): (string|null);
  824. /**
  825. * Creates an AddUpcomingOpening message from a plain object. Also converts values to their respective internal types.
  826. * @param object Plain object
  827. * @returns AddUpcomingOpening
  828. */
  829. public static fromObject(object: { [k: string]: any }): AddUpcomingOpening;
  830. /**
  831. * Creates a plain object from an AddUpcomingOpening message. Also converts values to other types if specified.
  832. * @param message AddUpcomingOpening
  833. * @param [options] Conversion options
  834. * @returns Plain object
  835. */
  836. public static toObject(message: AddUpcomingOpening, options?: $protobuf.IConversionOptions): { [k: string]: any };
  837. /**
  838. * Converts this AddUpcomingOpening to JSON.
  839. * @returns JSON object
  840. */
  841. public toJSON(): { [k: string]: any };
  842. }
  843. /** Properties of a RemoveUpcomingOpening. */
  844. export interface IRemoveUpcomingOpening {
  845. /** RemoveUpcomingOpening id */
  846. id?: (string|null);
  847. }
  848. /** Represents a RemoveUpcomingOpening. */
  849. export class RemoveUpcomingOpening implements IRemoveUpcomingOpening {
  850. /**
  851. * Constructs a new RemoveUpcomingOpening.
  852. * @param [properties] Properties to set
  853. */
  854. constructor(properties?: IRemoveUpcomingOpening);
  855. /** RemoveUpcomingOpening id. */
  856. public id: string;
  857. /**
  858. * Creates a new RemoveUpcomingOpening instance using the specified properties.
  859. * @param [properties] Properties to set
  860. * @returns RemoveUpcomingOpening instance
  861. */
  862. public static create(properties?: IRemoveUpcomingOpening): RemoveUpcomingOpening;
  863. /**
  864. * Encodes the specified RemoveUpcomingOpening message. Does not implicitly {@link RemoveUpcomingOpening.verify|verify} messages.
  865. * @param message RemoveUpcomingOpening message or plain object to encode
  866. * @param [writer] Writer to encode to
  867. * @returns Writer
  868. */
  869. public static encode(message: IRemoveUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  870. /**
  871. * Encodes the specified RemoveUpcomingOpening message, length delimited. Does not implicitly {@link RemoveUpcomingOpening.verify|verify} messages.
  872. * @param message RemoveUpcomingOpening message or plain object to encode
  873. * @param [writer] Writer to encode to
  874. * @returns Writer
  875. */
  876. public static encodeDelimited(message: IRemoveUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  877. /**
  878. * Decodes a RemoveUpcomingOpening message from the specified reader or buffer.
  879. * @param reader Reader or buffer to decode from
  880. * @param [length] Message length if known beforehand
  881. * @returns RemoveUpcomingOpening
  882. * @throws {Error} If the payload is not a reader or valid buffer
  883. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  884. */
  885. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): RemoveUpcomingOpening;
  886. /**
  887. * Decodes a RemoveUpcomingOpening message from the specified reader or buffer, length delimited.
  888. * @param reader Reader or buffer to decode from
  889. * @returns RemoveUpcomingOpening
  890. * @throws {Error} If the payload is not a reader or valid buffer
  891. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  892. */
  893. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): RemoveUpcomingOpening;
  894. /**
  895. * Verifies a RemoveUpcomingOpening message.
  896. * @param message Plain object to verify
  897. * @returns `null` if valid, otherwise the reason why it is not
  898. */
  899. public static verify(message: { [k: string]: any }): (string|null);
  900. /**
  901. * Creates a RemoveUpcomingOpening message from a plain object. Also converts values to their respective internal types.
  902. * @param object Plain object
  903. * @returns RemoveUpcomingOpening
  904. */
  905. public static fromObject(object: { [k: string]: any }): RemoveUpcomingOpening;
  906. /**
  907. * Creates a plain object from a RemoveUpcomingOpening message. Also converts values to other types if specified.
  908. * @param message RemoveUpcomingOpening
  909. * @param [options] Conversion options
  910. * @returns Plain object
  911. */
  912. public static toObject(message: RemoveUpcomingOpening, options?: $protobuf.IConversionOptions): { [k: string]: any };
  913. /**
  914. * Converts this RemoveUpcomingOpening to JSON.
  915. * @returns JSON object
  916. */
  917. public toJSON(): { [k: string]: any };
  918. }
  919. /** Properties of a WorkingGroupMetadataAction. */
  920. export interface IWorkingGroupMetadataAction {
  921. /** WorkingGroupMetadataAction setGroupMetadata */
  922. setGroupMetadata?: (ISetGroupMetadata|null);
  923. /** WorkingGroupMetadataAction addUpcomingOpening */
  924. addUpcomingOpening?: (IAddUpcomingOpening|null);
  925. /** WorkingGroupMetadataAction removeUpcomingOpening */
  926. removeUpcomingOpening?: (IRemoveUpcomingOpening|null);
  927. }
  928. /** Represents a WorkingGroupMetadataAction. */
  929. export class WorkingGroupMetadataAction implements IWorkingGroupMetadataAction {
  930. /**
  931. * Constructs a new WorkingGroupMetadataAction.
  932. * @param [properties] Properties to set
  933. */
  934. constructor(properties?: IWorkingGroupMetadataAction);
  935. /** WorkingGroupMetadataAction setGroupMetadata. */
  936. public setGroupMetadata?: (ISetGroupMetadata|null);
  937. /** WorkingGroupMetadataAction addUpcomingOpening. */
  938. public addUpcomingOpening?: (IAddUpcomingOpening|null);
  939. /** WorkingGroupMetadataAction removeUpcomingOpening. */
  940. public removeUpcomingOpening?: (IRemoveUpcomingOpening|null);
  941. /** WorkingGroupMetadataAction action. */
  942. public action?: ("setGroupMetadata"|"addUpcomingOpening"|"removeUpcomingOpening");
  943. /**
  944. * Creates a new WorkingGroupMetadataAction instance using the specified properties.
  945. * @param [properties] Properties to set
  946. * @returns WorkingGroupMetadataAction instance
  947. */
  948. public static create(properties?: IWorkingGroupMetadataAction): WorkingGroupMetadataAction;
  949. /**
  950. * Encodes the specified WorkingGroupMetadataAction message. Does not implicitly {@link WorkingGroupMetadataAction.verify|verify} messages.
  951. * @param message WorkingGroupMetadataAction message or plain object to encode
  952. * @param [writer] Writer to encode to
  953. * @returns Writer
  954. */
  955. public static encode(message: IWorkingGroupMetadataAction, writer?: $protobuf.Writer): $protobuf.Writer;
  956. /**
  957. * Encodes the specified WorkingGroupMetadataAction message, length delimited. Does not implicitly {@link WorkingGroupMetadataAction.verify|verify} messages.
  958. * @param message WorkingGroupMetadataAction message or plain object to encode
  959. * @param [writer] Writer to encode to
  960. * @returns Writer
  961. */
  962. public static encodeDelimited(message: IWorkingGroupMetadataAction, writer?: $protobuf.Writer): $protobuf.Writer;
  963. /**
  964. * Decodes a WorkingGroupMetadataAction message from the specified reader or buffer.
  965. * @param reader Reader or buffer to decode from
  966. * @param [length] Message length if known beforehand
  967. * @returns WorkingGroupMetadataAction
  968. * @throws {Error} If the payload is not a reader or valid buffer
  969. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  970. */
  971. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): WorkingGroupMetadataAction;
  972. /**
  973. * Decodes a WorkingGroupMetadataAction message from the specified reader or buffer, length delimited.
  974. * @param reader Reader or buffer to decode from
  975. * @returns WorkingGroupMetadataAction
  976. * @throws {Error} If the payload is not a reader or valid buffer
  977. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  978. */
  979. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): WorkingGroupMetadataAction;
  980. /**
  981. * Verifies a WorkingGroupMetadataAction message.
  982. * @param message Plain object to verify
  983. * @returns `null` if valid, otherwise the reason why it is not
  984. */
  985. public static verify(message: { [k: string]: any }): (string|null);
  986. /**
  987. * Creates a WorkingGroupMetadataAction message from a plain object. Also converts values to their respective internal types.
  988. * @param object Plain object
  989. * @returns WorkingGroupMetadataAction
  990. */
  991. public static fromObject(object: { [k: string]: any }): WorkingGroupMetadataAction;
  992. /**
  993. * Creates a plain object from a WorkingGroupMetadataAction message. Also converts values to other types if specified.
  994. * @param message WorkingGroupMetadataAction
  995. * @param [options] Conversion options
  996. * @returns Plain object
  997. */
  998. public static toObject(message: WorkingGroupMetadataAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
  999. /**
  1000. * Converts this WorkingGroupMetadataAction to JSON.
  1001. * @returns JSON object
  1002. */
  1003. public toJSON(): { [k: string]: any };
  1004. }