index.d.ts 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119
  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 an OpeningMetadata. */
  175. export interface IOpeningMetadata {
  176. /** OpeningMetadata shortDescription */
  177. shortDescription: string;
  178. /** OpeningMetadata description */
  179. description: string;
  180. /** OpeningMetadata hiringLimit */
  181. hiringLimit?: (number|null);
  182. /** OpeningMetadata expectedEndingTimestamp */
  183. expectedEndingTimestamp?: (number|null);
  184. /** OpeningMetadata applicationDetails */
  185. applicationDetails: string;
  186. /** OpeningMetadata applicationFormQuestions */
  187. applicationFormQuestions?: (OpeningMetadata.IApplicationFormQuestion[]|null);
  188. }
  189. /** Represents an OpeningMetadata. */
  190. export class OpeningMetadata implements IOpeningMetadata {
  191. /**
  192. * Constructs a new OpeningMetadata.
  193. * @param [properties] Properties to set
  194. */
  195. constructor(properties?: IOpeningMetadata);
  196. /** OpeningMetadata shortDescription. */
  197. public shortDescription: string;
  198. /** OpeningMetadata description. */
  199. public description: string;
  200. /** OpeningMetadata hiringLimit. */
  201. public hiringLimit: number;
  202. /** OpeningMetadata expectedEndingTimestamp. */
  203. public expectedEndingTimestamp: number;
  204. /** OpeningMetadata applicationDetails. */
  205. public applicationDetails: string;
  206. /** OpeningMetadata applicationFormQuestions. */
  207. public applicationFormQuestions: OpeningMetadata.IApplicationFormQuestion[];
  208. /**
  209. * Creates a new OpeningMetadata instance using the specified properties.
  210. * @param [properties] Properties to set
  211. * @returns OpeningMetadata instance
  212. */
  213. public static create(properties?: IOpeningMetadata): OpeningMetadata;
  214. /**
  215. * Encodes the specified OpeningMetadata message. Does not implicitly {@link OpeningMetadata.verify|verify} messages.
  216. * @param message OpeningMetadata message or plain object to encode
  217. * @param [writer] Writer to encode to
  218. * @returns Writer
  219. */
  220. public static encode(message: IOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  221. /**
  222. * Encodes the specified OpeningMetadata message, length delimited. Does not implicitly {@link OpeningMetadata.verify|verify} messages.
  223. * @param message OpeningMetadata message or plain object to encode
  224. * @param [writer] Writer to encode to
  225. * @returns Writer
  226. */
  227. public static encodeDelimited(message: IOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  228. /**
  229. * Decodes an OpeningMetadata message from the specified reader or buffer.
  230. * @param reader Reader or buffer to decode from
  231. * @param [length] Message length if known beforehand
  232. * @returns OpeningMetadata
  233. * @throws {Error} If the payload is not a reader or valid buffer
  234. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  235. */
  236. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OpeningMetadata;
  237. /**
  238. * Decodes an OpeningMetadata message from the specified reader or buffer, length delimited.
  239. * @param reader Reader or buffer to decode from
  240. * @returns OpeningMetadata
  241. * @throws {Error} If the payload is not a reader or valid buffer
  242. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  243. */
  244. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OpeningMetadata;
  245. /**
  246. * Verifies an OpeningMetadata message.
  247. * @param message Plain object to verify
  248. * @returns `null` if valid, otherwise the reason why it is not
  249. */
  250. public static verify(message: { [k: string]: any }): (string|null);
  251. /**
  252. * Creates an OpeningMetadata message from a plain object. Also converts values to their respective internal types.
  253. * @param object Plain object
  254. * @returns OpeningMetadata
  255. */
  256. public static fromObject(object: { [k: string]: any }): OpeningMetadata;
  257. /**
  258. * Creates a plain object from an OpeningMetadata message. Also converts values to other types if specified.
  259. * @param message OpeningMetadata
  260. * @param [options] Conversion options
  261. * @returns Plain object
  262. */
  263. public static toObject(message: OpeningMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  264. /**
  265. * Converts this OpeningMetadata to JSON.
  266. * @returns JSON object
  267. */
  268. public toJSON(): { [k: string]: any };
  269. }
  270. export namespace OpeningMetadata {
  271. /** Properties of an ApplicationFormQuestion. */
  272. interface IApplicationFormQuestion {
  273. /** ApplicationFormQuestion question */
  274. question: string;
  275. /** ApplicationFormQuestion type */
  276. type: OpeningMetadata.ApplicationFormQuestion.InputType;
  277. }
  278. /** Represents an ApplicationFormQuestion. */
  279. class ApplicationFormQuestion implements IApplicationFormQuestion {
  280. /**
  281. * Constructs a new ApplicationFormQuestion.
  282. * @param [properties] Properties to set
  283. */
  284. constructor(properties?: OpeningMetadata.IApplicationFormQuestion);
  285. /** ApplicationFormQuestion question. */
  286. public question: string;
  287. /** ApplicationFormQuestion type. */
  288. public type: OpeningMetadata.ApplicationFormQuestion.InputType;
  289. /**
  290. * Creates a new ApplicationFormQuestion instance using the specified properties.
  291. * @param [properties] Properties to set
  292. * @returns ApplicationFormQuestion instance
  293. */
  294. public static create(properties?: OpeningMetadata.IApplicationFormQuestion): OpeningMetadata.ApplicationFormQuestion;
  295. /**
  296. * Encodes the specified ApplicationFormQuestion message. Does not implicitly {@link OpeningMetadata.ApplicationFormQuestion.verify|verify} messages.
  297. * @param message ApplicationFormQuestion message or plain object to encode
  298. * @param [writer] Writer to encode to
  299. * @returns Writer
  300. */
  301. public static encode(message: OpeningMetadata.IApplicationFormQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
  302. /**
  303. * Encodes the specified ApplicationFormQuestion message, length delimited. Does not implicitly {@link OpeningMetadata.ApplicationFormQuestion.verify|verify} messages.
  304. * @param message ApplicationFormQuestion message or plain object to encode
  305. * @param [writer] Writer to encode to
  306. * @returns Writer
  307. */
  308. public static encodeDelimited(message: OpeningMetadata.IApplicationFormQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
  309. /**
  310. * Decodes an ApplicationFormQuestion message from the specified reader or buffer.
  311. * @param reader Reader or buffer to decode from
  312. * @param [length] Message length if known beforehand
  313. * @returns ApplicationFormQuestion
  314. * @throws {Error} If the payload is not a reader or valid buffer
  315. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  316. */
  317. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OpeningMetadata.ApplicationFormQuestion;
  318. /**
  319. * Decodes an ApplicationFormQuestion message from the specified reader or buffer, length delimited.
  320. * @param reader Reader or buffer to decode from
  321. * @returns ApplicationFormQuestion
  322. * @throws {Error} If the payload is not a reader or valid buffer
  323. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  324. */
  325. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OpeningMetadata.ApplicationFormQuestion;
  326. /**
  327. * Verifies an ApplicationFormQuestion message.
  328. * @param message Plain object to verify
  329. * @returns `null` if valid, otherwise the reason why it is not
  330. */
  331. public static verify(message: { [k: string]: any }): (string|null);
  332. /**
  333. * Creates an ApplicationFormQuestion message from a plain object. Also converts values to their respective internal types.
  334. * @param object Plain object
  335. * @returns ApplicationFormQuestion
  336. */
  337. public static fromObject(object: { [k: string]: any }): OpeningMetadata.ApplicationFormQuestion;
  338. /**
  339. * Creates a plain object from an ApplicationFormQuestion message. Also converts values to other types if specified.
  340. * @param message ApplicationFormQuestion
  341. * @param [options] Conversion options
  342. * @returns Plain object
  343. */
  344. public static toObject(message: OpeningMetadata.ApplicationFormQuestion, options?: $protobuf.IConversionOptions): { [k: string]: any };
  345. /**
  346. * Converts this ApplicationFormQuestion to JSON.
  347. * @returns JSON object
  348. */
  349. public toJSON(): { [k: string]: any };
  350. }
  351. namespace ApplicationFormQuestion {
  352. /** InputType enum. */
  353. enum InputType {
  354. TEXT = 1,
  355. TEXTAREA = 2
  356. }
  357. }
  358. }
  359. /** Properties of an UpcomingOpeningMetadata. */
  360. export interface IUpcomingOpeningMetadata {
  361. /** UpcomingOpeningMetadata expectedStart */
  362. expectedStart: number;
  363. /** UpcomingOpeningMetadata rewardPerBlock */
  364. rewardPerBlock: Long;
  365. /** UpcomingOpeningMetadata minApplicationStake */
  366. minApplicationStake: Long;
  367. /** UpcomingOpeningMetadata metadata */
  368. metadata: IOpeningMetadata;
  369. }
  370. /** Represents an UpcomingOpeningMetadata. */
  371. export class UpcomingOpeningMetadata implements IUpcomingOpeningMetadata {
  372. /**
  373. * Constructs a new UpcomingOpeningMetadata.
  374. * @param [properties] Properties to set
  375. */
  376. constructor(properties?: IUpcomingOpeningMetadata);
  377. /** UpcomingOpeningMetadata expectedStart. */
  378. public expectedStart: number;
  379. /** UpcomingOpeningMetadata rewardPerBlock. */
  380. public rewardPerBlock: Long;
  381. /** UpcomingOpeningMetadata minApplicationStake. */
  382. public minApplicationStake: Long;
  383. /** UpcomingOpeningMetadata metadata. */
  384. public metadata: IOpeningMetadata;
  385. /**
  386. * Creates a new UpcomingOpeningMetadata instance using the specified properties.
  387. * @param [properties] Properties to set
  388. * @returns UpcomingOpeningMetadata instance
  389. */
  390. public static create(properties?: IUpcomingOpeningMetadata): UpcomingOpeningMetadata;
  391. /**
  392. * Encodes the specified UpcomingOpeningMetadata message. Does not implicitly {@link UpcomingOpeningMetadata.verify|verify} messages.
  393. * @param message UpcomingOpeningMetadata message or plain object to encode
  394. * @param [writer] Writer to encode to
  395. * @returns Writer
  396. */
  397. public static encode(message: IUpcomingOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  398. /**
  399. * Encodes the specified UpcomingOpeningMetadata message, length delimited. Does not implicitly {@link UpcomingOpeningMetadata.verify|verify} messages.
  400. * @param message UpcomingOpeningMetadata message or plain object to encode
  401. * @param [writer] Writer to encode to
  402. * @returns Writer
  403. */
  404. public static encodeDelimited(message: IUpcomingOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  405. /**
  406. * Decodes an UpcomingOpeningMetadata message from the specified reader or buffer.
  407. * @param reader Reader or buffer to decode from
  408. * @param [length] Message length if known beforehand
  409. * @returns UpcomingOpeningMetadata
  410. * @throws {Error} If the payload is not a reader or valid buffer
  411. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  412. */
  413. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UpcomingOpeningMetadata;
  414. /**
  415. * Decodes an UpcomingOpeningMetadata message from the specified reader or buffer, length delimited.
  416. * @param reader Reader or buffer to decode from
  417. * @returns UpcomingOpeningMetadata
  418. * @throws {Error} If the payload is not a reader or valid buffer
  419. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  420. */
  421. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UpcomingOpeningMetadata;
  422. /**
  423. * Verifies an UpcomingOpeningMetadata message.
  424. * @param message Plain object to verify
  425. * @returns `null` if valid, otherwise the reason why it is not
  426. */
  427. public static verify(message: { [k: string]: any }): (string|null);
  428. /**
  429. * Creates an UpcomingOpeningMetadata message from a plain object. Also converts values to their respective internal types.
  430. * @param object Plain object
  431. * @returns UpcomingOpeningMetadata
  432. */
  433. public static fromObject(object: { [k: string]: any }): UpcomingOpeningMetadata;
  434. /**
  435. * Creates a plain object from an UpcomingOpeningMetadata message. Also converts values to other types if specified.
  436. * @param message UpcomingOpeningMetadata
  437. * @param [options] Conversion options
  438. * @returns Plain object
  439. */
  440. public static toObject(message: UpcomingOpeningMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  441. /**
  442. * Converts this UpcomingOpeningMetadata to JSON.
  443. * @returns JSON object
  444. */
  445. public toJSON(): { [k: string]: any };
  446. }
  447. /** Properties of an ApplicationMetadata. */
  448. export interface IApplicationMetadata {
  449. /** ApplicationMetadata answers */
  450. answers?: (string[]|null);
  451. }
  452. /** Represents an ApplicationMetadata. */
  453. export class ApplicationMetadata implements IApplicationMetadata {
  454. /**
  455. * Constructs a new ApplicationMetadata.
  456. * @param [properties] Properties to set
  457. */
  458. constructor(properties?: IApplicationMetadata);
  459. /** ApplicationMetadata answers. */
  460. public answers: string[];
  461. /**
  462. * Creates a new ApplicationMetadata instance using the specified properties.
  463. * @param [properties] Properties to set
  464. * @returns ApplicationMetadata instance
  465. */
  466. public static create(properties?: IApplicationMetadata): ApplicationMetadata;
  467. /**
  468. * Encodes the specified ApplicationMetadata message. Does not implicitly {@link ApplicationMetadata.verify|verify} messages.
  469. * @param message ApplicationMetadata message or plain object to encode
  470. * @param [writer] Writer to encode to
  471. * @returns Writer
  472. */
  473. public static encode(message: IApplicationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  474. /**
  475. * Encodes the specified ApplicationMetadata message, length delimited. Does not implicitly {@link ApplicationMetadata.verify|verify} messages.
  476. * @param message ApplicationMetadata message or plain object to encode
  477. * @param [writer] Writer to encode to
  478. * @returns Writer
  479. */
  480. public static encodeDelimited(message: IApplicationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  481. /**
  482. * Decodes an ApplicationMetadata message from the specified reader or buffer.
  483. * @param reader Reader or buffer to decode from
  484. * @param [length] Message length if known beforehand
  485. * @returns ApplicationMetadata
  486. * @throws {Error} If the payload is not a reader or valid buffer
  487. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  488. */
  489. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ApplicationMetadata;
  490. /**
  491. * Decodes an ApplicationMetadata message from the specified reader or buffer, length delimited.
  492. * @param reader Reader or buffer to decode from
  493. * @returns ApplicationMetadata
  494. * @throws {Error} If the payload is not a reader or valid buffer
  495. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  496. */
  497. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ApplicationMetadata;
  498. /**
  499. * Verifies an ApplicationMetadata message.
  500. * @param message Plain object to verify
  501. * @returns `null` if valid, otherwise the reason why it is not
  502. */
  503. public static verify(message: { [k: string]: any }): (string|null);
  504. /**
  505. * Creates an ApplicationMetadata message from a plain object. Also converts values to their respective internal types.
  506. * @param object Plain object
  507. * @returns ApplicationMetadata
  508. */
  509. public static fromObject(object: { [k: string]: any }): ApplicationMetadata;
  510. /**
  511. * Creates a plain object from an ApplicationMetadata message. Also converts values to other types if specified.
  512. * @param message ApplicationMetadata
  513. * @param [options] Conversion options
  514. * @returns Plain object
  515. */
  516. public static toObject(message: ApplicationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  517. /**
  518. * Converts this ApplicationMetadata to JSON.
  519. * @returns JSON object
  520. */
  521. public toJSON(): { [k: string]: any };
  522. }
  523. /** Properties of a WorkingGroupMetadata. */
  524. export interface IWorkingGroupMetadata {
  525. /** WorkingGroupMetadata description */
  526. description?: (string|null);
  527. /** WorkingGroupMetadata about */
  528. about?: (string|null);
  529. /** WorkingGroupMetadata status */
  530. status?: (string|null);
  531. /** WorkingGroupMetadata statusMessage */
  532. statusMessage?: (string|null);
  533. }
  534. /** Represents a WorkingGroupMetadata. */
  535. export class WorkingGroupMetadata implements IWorkingGroupMetadata {
  536. /**
  537. * Constructs a new WorkingGroupMetadata.
  538. * @param [properties] Properties to set
  539. */
  540. constructor(properties?: IWorkingGroupMetadata);
  541. /** WorkingGroupMetadata description. */
  542. public description: string;
  543. /** WorkingGroupMetadata about. */
  544. public about: string;
  545. /** WorkingGroupMetadata status. */
  546. public status: string;
  547. /** WorkingGroupMetadata statusMessage. */
  548. public statusMessage: string;
  549. /**
  550. * Creates a new WorkingGroupMetadata instance using the specified properties.
  551. * @param [properties] Properties to set
  552. * @returns WorkingGroupMetadata instance
  553. */
  554. public static create(properties?: IWorkingGroupMetadata): WorkingGroupMetadata;
  555. /**
  556. * Encodes the specified WorkingGroupMetadata message. Does not implicitly {@link WorkingGroupMetadata.verify|verify} messages.
  557. * @param message WorkingGroupMetadata message or plain object to encode
  558. * @param [writer] Writer to encode to
  559. * @returns Writer
  560. */
  561. public static encode(message: IWorkingGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  562. /**
  563. * Encodes the specified WorkingGroupMetadata message, length delimited. Does not implicitly {@link WorkingGroupMetadata.verify|verify} messages.
  564. * @param message WorkingGroupMetadata message or plain object to encode
  565. * @param [writer] Writer to encode to
  566. * @returns Writer
  567. */
  568. public static encodeDelimited(message: IWorkingGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  569. /**
  570. * Decodes a WorkingGroupMetadata message from the specified reader or buffer.
  571. * @param reader Reader or buffer to decode from
  572. * @param [length] Message length if known beforehand
  573. * @returns WorkingGroupMetadata
  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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): WorkingGroupMetadata;
  578. /**
  579. * Decodes a WorkingGroupMetadata message from the specified reader or buffer, length delimited.
  580. * @param reader Reader or buffer to decode from
  581. * @returns WorkingGroupMetadata
  582. * @throws {Error} If the payload is not a reader or valid buffer
  583. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  584. */
  585. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): WorkingGroupMetadata;
  586. /**
  587. * Verifies a WorkingGroupMetadata message.
  588. * @param message Plain object to verify
  589. * @returns `null` if valid, otherwise the reason why it is not
  590. */
  591. public static verify(message: { [k: string]: any }): (string|null);
  592. /**
  593. * Creates a WorkingGroupMetadata message from a plain object. Also converts values to their respective internal types.
  594. * @param object Plain object
  595. * @returns WorkingGroupMetadata
  596. */
  597. public static fromObject(object: { [k: string]: any }): WorkingGroupMetadata;
  598. /**
  599. * Creates a plain object from a WorkingGroupMetadata message. Also converts values to other types if specified.
  600. * @param message WorkingGroupMetadata
  601. * @param [options] Conversion options
  602. * @returns Plain object
  603. */
  604. public static toObject(message: WorkingGroupMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  605. /**
  606. * Converts this WorkingGroupMetadata to JSON.
  607. * @returns JSON object
  608. */
  609. public toJSON(): { [k: string]: any };
  610. }
  611. /** Properties of a SetGroupMetadata. */
  612. export interface ISetGroupMetadata {
  613. /** SetGroupMetadata newMetadata */
  614. newMetadata: IWorkingGroupMetadata;
  615. }
  616. /** Represents a SetGroupMetadata. */
  617. export class SetGroupMetadata implements ISetGroupMetadata {
  618. /**
  619. * Constructs a new SetGroupMetadata.
  620. * @param [properties] Properties to set
  621. */
  622. constructor(properties?: ISetGroupMetadata);
  623. /** SetGroupMetadata newMetadata. */
  624. public newMetadata: IWorkingGroupMetadata;
  625. /**
  626. * Creates a new SetGroupMetadata instance using the specified properties.
  627. * @param [properties] Properties to set
  628. * @returns SetGroupMetadata instance
  629. */
  630. public static create(properties?: ISetGroupMetadata): SetGroupMetadata;
  631. /**
  632. * Encodes the specified SetGroupMetadata message. Does not implicitly {@link SetGroupMetadata.verify|verify} messages.
  633. * @param message SetGroupMetadata message or plain object to encode
  634. * @param [writer] Writer to encode to
  635. * @returns Writer
  636. */
  637. public static encode(message: ISetGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  638. /**
  639. * Encodes the specified SetGroupMetadata message, length delimited. Does not implicitly {@link SetGroupMetadata.verify|verify} messages.
  640. * @param message SetGroupMetadata message or plain object to encode
  641. * @param [writer] Writer to encode to
  642. * @returns Writer
  643. */
  644. public static encodeDelimited(message: ISetGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  645. /**
  646. * Decodes a SetGroupMetadata message from the specified reader or buffer.
  647. * @param reader Reader or buffer to decode from
  648. * @param [length] Message length if known beforehand
  649. * @returns SetGroupMetadata
  650. * @throws {Error} If the payload is not a reader or valid buffer
  651. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  652. */
  653. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SetGroupMetadata;
  654. /**
  655. * Decodes a SetGroupMetadata message from the specified reader or buffer, length delimited.
  656. * @param reader Reader or buffer to decode from
  657. * @returns SetGroupMetadata
  658. * @throws {Error} If the payload is not a reader or valid buffer
  659. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  660. */
  661. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SetGroupMetadata;
  662. /**
  663. * Verifies a SetGroupMetadata message.
  664. * @param message Plain object to verify
  665. * @returns `null` if valid, otherwise the reason why it is not
  666. */
  667. public static verify(message: { [k: string]: any }): (string|null);
  668. /**
  669. * Creates a SetGroupMetadata message from a plain object. Also converts values to their respective internal types.
  670. * @param object Plain object
  671. * @returns SetGroupMetadata
  672. */
  673. public static fromObject(object: { [k: string]: any }): SetGroupMetadata;
  674. /**
  675. * Creates a plain object from a SetGroupMetadata message. Also converts values to other types if specified.
  676. * @param message SetGroupMetadata
  677. * @param [options] Conversion options
  678. * @returns Plain object
  679. */
  680. public static toObject(message: SetGroupMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  681. /**
  682. * Converts this SetGroupMetadata to JSON.
  683. * @returns JSON object
  684. */
  685. public toJSON(): { [k: string]: any };
  686. }
  687. /** Properties of an AddUpcomingOpening. */
  688. export interface IAddUpcomingOpening {
  689. /** AddUpcomingOpening metadata */
  690. metadata: IUpcomingOpeningMetadata;
  691. }
  692. /** Represents an AddUpcomingOpening. */
  693. export class AddUpcomingOpening implements IAddUpcomingOpening {
  694. /**
  695. * Constructs a new AddUpcomingOpening.
  696. * @param [properties] Properties to set
  697. */
  698. constructor(properties?: IAddUpcomingOpening);
  699. /** AddUpcomingOpening metadata. */
  700. public metadata: IUpcomingOpeningMetadata;
  701. /**
  702. * Creates a new AddUpcomingOpening instance using the specified properties.
  703. * @param [properties] Properties to set
  704. * @returns AddUpcomingOpening instance
  705. */
  706. public static create(properties?: IAddUpcomingOpening): AddUpcomingOpening;
  707. /**
  708. * Encodes the specified AddUpcomingOpening message. Does not implicitly {@link AddUpcomingOpening.verify|verify} messages.
  709. * @param message AddUpcomingOpening message or plain object to encode
  710. * @param [writer] Writer to encode to
  711. * @returns Writer
  712. */
  713. public static encode(message: IAddUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  714. /**
  715. * Encodes the specified AddUpcomingOpening message, length delimited. Does not implicitly {@link AddUpcomingOpening.verify|verify} messages.
  716. * @param message AddUpcomingOpening message or plain object to encode
  717. * @param [writer] Writer to encode to
  718. * @returns Writer
  719. */
  720. public static encodeDelimited(message: IAddUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  721. /**
  722. * Decodes an AddUpcomingOpening message from the specified reader or buffer.
  723. * @param reader Reader or buffer to decode from
  724. * @param [length] Message length if known beforehand
  725. * @returns AddUpcomingOpening
  726. * @throws {Error} If the payload is not a reader or valid buffer
  727. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  728. */
  729. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AddUpcomingOpening;
  730. /**
  731. * Decodes an AddUpcomingOpening message from the specified reader or buffer, length delimited.
  732. * @param reader Reader or buffer to decode from
  733. * @returns AddUpcomingOpening
  734. * @throws {Error} If the payload is not a reader or valid buffer
  735. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  736. */
  737. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AddUpcomingOpening;
  738. /**
  739. * Verifies an AddUpcomingOpening message.
  740. * @param message Plain object to verify
  741. * @returns `null` if valid, otherwise the reason why it is not
  742. */
  743. public static verify(message: { [k: string]: any }): (string|null);
  744. /**
  745. * Creates an AddUpcomingOpening message from a plain object. Also converts values to their respective internal types.
  746. * @param object Plain object
  747. * @returns AddUpcomingOpening
  748. */
  749. public static fromObject(object: { [k: string]: any }): AddUpcomingOpening;
  750. /**
  751. * Creates a plain object from an AddUpcomingOpening message. Also converts values to other types if specified.
  752. * @param message AddUpcomingOpening
  753. * @param [options] Conversion options
  754. * @returns Plain object
  755. */
  756. public static toObject(message: AddUpcomingOpening, options?: $protobuf.IConversionOptions): { [k: string]: any };
  757. /**
  758. * Converts this AddUpcomingOpening to JSON.
  759. * @returns JSON object
  760. */
  761. public toJSON(): { [k: string]: any };
  762. }
  763. /** Properties of a RemoveUpcomingOpening. */
  764. export interface IRemoveUpcomingOpening {
  765. /** RemoveUpcomingOpening id */
  766. id: string;
  767. }
  768. /** Represents a RemoveUpcomingOpening. */
  769. export class RemoveUpcomingOpening implements IRemoveUpcomingOpening {
  770. /**
  771. * Constructs a new RemoveUpcomingOpening.
  772. * @param [properties] Properties to set
  773. */
  774. constructor(properties?: IRemoveUpcomingOpening);
  775. /** RemoveUpcomingOpening id. */
  776. public id: string;
  777. /**
  778. * Creates a new RemoveUpcomingOpening instance using the specified properties.
  779. * @param [properties] Properties to set
  780. * @returns RemoveUpcomingOpening instance
  781. */
  782. public static create(properties?: IRemoveUpcomingOpening): RemoveUpcomingOpening;
  783. /**
  784. * Encodes the specified RemoveUpcomingOpening message. Does not implicitly {@link RemoveUpcomingOpening.verify|verify} messages.
  785. * @param message RemoveUpcomingOpening message or plain object to encode
  786. * @param [writer] Writer to encode to
  787. * @returns Writer
  788. */
  789. public static encode(message: IRemoveUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  790. /**
  791. * Encodes the specified RemoveUpcomingOpening message, length delimited. Does not implicitly {@link RemoveUpcomingOpening.verify|verify} messages.
  792. * @param message RemoveUpcomingOpening message or plain object to encode
  793. * @param [writer] Writer to encode to
  794. * @returns Writer
  795. */
  796. public static encodeDelimited(message: IRemoveUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  797. /**
  798. * Decodes a RemoveUpcomingOpening message from the specified reader or buffer.
  799. * @param reader Reader or buffer to decode from
  800. * @param [length] Message length if known beforehand
  801. * @returns RemoveUpcomingOpening
  802. * @throws {Error} If the payload is not a reader or valid buffer
  803. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  804. */
  805. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): RemoveUpcomingOpening;
  806. /**
  807. * Decodes a RemoveUpcomingOpening message from the specified reader or buffer, length delimited.
  808. * @param reader Reader or buffer to decode from
  809. * @returns RemoveUpcomingOpening
  810. * @throws {Error} If the payload is not a reader or valid buffer
  811. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  812. */
  813. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): RemoveUpcomingOpening;
  814. /**
  815. * Verifies a RemoveUpcomingOpening message.
  816. * @param message Plain object to verify
  817. * @returns `null` if valid, otherwise the reason why it is not
  818. */
  819. public static verify(message: { [k: string]: any }): (string|null);
  820. /**
  821. * Creates a RemoveUpcomingOpening message from a plain object. Also converts values to their respective internal types.
  822. * @param object Plain object
  823. * @returns RemoveUpcomingOpening
  824. */
  825. public static fromObject(object: { [k: string]: any }): RemoveUpcomingOpening;
  826. /**
  827. * Creates a plain object from a RemoveUpcomingOpening message. Also converts values to other types if specified.
  828. * @param message RemoveUpcomingOpening
  829. * @param [options] Conversion options
  830. * @returns Plain object
  831. */
  832. public static toObject(message: RemoveUpcomingOpening, options?: $protobuf.IConversionOptions): { [k: string]: any };
  833. /**
  834. * Converts this RemoveUpcomingOpening to JSON.
  835. * @returns JSON object
  836. */
  837. public toJSON(): { [k: string]: any };
  838. }
  839. /** Properties of a WorkingGroupMetadataAction. */
  840. export interface IWorkingGroupMetadataAction {
  841. /** WorkingGroupMetadataAction setGroupMetadata */
  842. setGroupMetadata?: (ISetGroupMetadata|null);
  843. /** WorkingGroupMetadataAction addUpcomingOpening */
  844. addUpcomingOpening?: (IAddUpcomingOpening|null);
  845. /** WorkingGroupMetadataAction removeUpcomingOpening */
  846. removeUpcomingOpening?: (IRemoveUpcomingOpening|null);
  847. }
  848. /** Represents a WorkingGroupMetadataAction. */
  849. export class WorkingGroupMetadataAction implements IWorkingGroupMetadataAction {
  850. /**
  851. * Constructs a new WorkingGroupMetadataAction.
  852. * @param [properties] Properties to set
  853. */
  854. constructor(properties?: IWorkingGroupMetadataAction);
  855. /** WorkingGroupMetadataAction setGroupMetadata. */
  856. public setGroupMetadata?: (ISetGroupMetadata|null);
  857. /** WorkingGroupMetadataAction addUpcomingOpening. */
  858. public addUpcomingOpening?: (IAddUpcomingOpening|null);
  859. /** WorkingGroupMetadataAction removeUpcomingOpening. */
  860. public removeUpcomingOpening?: (IRemoveUpcomingOpening|null);
  861. /** WorkingGroupMetadataAction action. */
  862. public action?: ("setGroupMetadata"|"addUpcomingOpening"|"removeUpcomingOpening");
  863. /**
  864. * Creates a new WorkingGroupMetadataAction instance using the specified properties.
  865. * @param [properties] Properties to set
  866. * @returns WorkingGroupMetadataAction instance
  867. */
  868. public static create(properties?: IWorkingGroupMetadataAction): WorkingGroupMetadataAction;
  869. /**
  870. * Encodes the specified WorkingGroupMetadataAction message. Does not implicitly {@link WorkingGroupMetadataAction.verify|verify} messages.
  871. * @param message WorkingGroupMetadataAction message or plain object to encode
  872. * @param [writer] Writer to encode to
  873. * @returns Writer
  874. */
  875. public static encode(message: IWorkingGroupMetadataAction, writer?: $protobuf.Writer): $protobuf.Writer;
  876. /**
  877. * Encodes the specified WorkingGroupMetadataAction message, length delimited. Does not implicitly {@link WorkingGroupMetadataAction.verify|verify} messages.
  878. * @param message WorkingGroupMetadataAction message or plain object to encode
  879. * @param [writer] Writer to encode to
  880. * @returns Writer
  881. */
  882. public static encodeDelimited(message: IWorkingGroupMetadataAction, writer?: $protobuf.Writer): $protobuf.Writer;
  883. /**
  884. * Decodes a WorkingGroupMetadataAction message from the specified reader or buffer.
  885. * @param reader Reader or buffer to decode from
  886. * @param [length] Message length if known beforehand
  887. * @returns WorkingGroupMetadataAction
  888. * @throws {Error} If the payload is not a reader or valid buffer
  889. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  890. */
  891. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): WorkingGroupMetadataAction;
  892. /**
  893. * Decodes a WorkingGroupMetadataAction message from the specified reader or buffer, length delimited.
  894. * @param reader Reader or buffer to decode from
  895. * @returns WorkingGroupMetadataAction
  896. * @throws {Error} If the payload is not a reader or valid buffer
  897. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  898. */
  899. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): WorkingGroupMetadataAction;
  900. /**
  901. * Verifies a WorkingGroupMetadataAction message.
  902. * @param message Plain object to verify
  903. * @returns `null` if valid, otherwise the reason why it is not
  904. */
  905. public static verify(message: { [k: string]: any }): (string|null);
  906. /**
  907. * Creates a WorkingGroupMetadataAction message from a plain object. Also converts values to their respective internal types.
  908. * @param object Plain object
  909. * @returns WorkingGroupMetadataAction
  910. */
  911. public static fromObject(object: { [k: string]: any }): WorkingGroupMetadataAction;
  912. /**
  913. * Creates a plain object from a WorkingGroupMetadataAction message. Also converts values to other types if specified.
  914. * @param message WorkingGroupMetadataAction
  915. * @param [options] Conversion options
  916. * @returns Plain object
  917. */
  918. public static toObject(message: WorkingGroupMetadataAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
  919. /**
  920. * Converts this WorkingGroupMetadataAction to JSON.
  921. * @returns JSON object
  922. */
  923. public toJSON(): { [k: string]: any };
  924. }