QEverCloud  6.1.0
Unofficial Evernote Cloud API for Qt
Servers.h
Go to the documentation of this file.
1 
12 #ifndef QEVERCLOUD_GENERATED_SERVERS_H
13 #define QEVERCLOUD_GENERATED_SERVERS_H
14 
15 #include "../Export.h"
16 
17 #include "../Optional.h"
18 #include "../RequestContext.h"
19 #include "Constants.h"
20 #include "Types.h"
21 #include <QObject>
22 #include <functional>
23 
24 namespace qevercloud {
25 
27 
33 class QEVERCLOUD_EXPORT NoteStoreServer: public QObject
34 {
35  Q_OBJECT
36  Q_DISABLE_COPY(NoteStoreServer)
37 public:
38  explicit NoteStoreServer(QObject * parent = nullptr);
39 
40 Q_SIGNALS:
41  // Signals notifying listeners about incoming requests
42  void getSyncStateRequest(
43  IRequestContextPtr ctx);
44 
45  void getFilteredSyncChunkRequest(
46  qint32 afterUSN,
47  qint32 maxEntries,
48  SyncChunkFilter filter,
49  IRequestContextPtr ctx);
50 
51  void getLinkedNotebookSyncStateRequest(
52  LinkedNotebook linkedNotebook,
53  IRequestContextPtr ctx);
54 
55  void getLinkedNotebookSyncChunkRequest(
56  LinkedNotebook linkedNotebook,
57  qint32 afterUSN,
58  qint32 maxEntries,
59  bool fullSyncOnly,
60  IRequestContextPtr ctx);
61 
62  void listNotebooksRequest(
63  IRequestContextPtr ctx);
64 
65  void listAccessibleBusinessNotebooksRequest(
66  IRequestContextPtr ctx);
67 
68  void getNotebookRequest(
69  Guid guid,
70  IRequestContextPtr ctx);
71 
72  void getDefaultNotebookRequest(
73  IRequestContextPtr ctx);
74 
75  void createNotebookRequest(
76  Notebook notebook,
77  IRequestContextPtr ctx);
78 
79  void updateNotebookRequest(
80  Notebook notebook,
81  IRequestContextPtr ctx);
82 
83  void expungeNotebookRequest(
84  Guid guid,
85  IRequestContextPtr ctx);
86 
87  void listTagsRequest(
88  IRequestContextPtr ctx);
89 
90  void listTagsByNotebookRequest(
91  Guid notebookGuid,
92  IRequestContextPtr ctx);
93 
94  void getTagRequest(
95  Guid guid,
96  IRequestContextPtr ctx);
97 
98  void createTagRequest(
99  Tag tag,
100  IRequestContextPtr ctx);
101 
102  void updateTagRequest(
103  Tag tag,
104  IRequestContextPtr ctx);
105 
106  void untagAllRequest(
107  Guid guid,
108  IRequestContextPtr ctx);
109 
110  void expungeTagRequest(
111  Guid guid,
112  IRequestContextPtr ctx);
113 
114  void listSearchesRequest(
115  IRequestContextPtr ctx);
116 
117  void getSearchRequest(
118  Guid guid,
119  IRequestContextPtr ctx);
120 
121  void createSearchRequest(
122  SavedSearch search,
123  IRequestContextPtr ctx);
124 
125  void updateSearchRequest(
126  SavedSearch search,
127  IRequestContextPtr ctx);
128 
129  void expungeSearchRequest(
130  Guid guid,
131  IRequestContextPtr ctx);
132 
133  void findNoteOffsetRequest(
134  NoteFilter filter,
135  Guid guid,
136  IRequestContextPtr ctx);
137 
138  void findNotesMetadataRequest(
139  NoteFilter filter,
140  qint32 offset,
141  qint32 maxNotes,
142  NotesMetadataResultSpec resultSpec,
143  IRequestContextPtr ctx);
144 
145  void findNoteCountsRequest(
146  NoteFilter filter,
147  bool withTrash,
148  IRequestContextPtr ctx);
149 
150  void getNoteWithResultSpecRequest(
151  Guid guid,
152  NoteResultSpec resultSpec,
153  IRequestContextPtr ctx);
154 
155  void getNoteRequest(
156  Guid guid,
157  bool withContent,
158  bool withResourcesData,
159  bool withResourcesRecognition,
160  bool withResourcesAlternateData,
161  IRequestContextPtr ctx);
162 
163  void getNoteApplicationDataRequest(
164  Guid guid,
165  IRequestContextPtr ctx);
166 
167  void getNoteApplicationDataEntryRequest(
168  Guid guid,
169  QString key,
170  IRequestContextPtr ctx);
171 
172  void setNoteApplicationDataEntryRequest(
173  Guid guid,
174  QString key,
175  QString value,
176  IRequestContextPtr ctx);
177 
178  void unsetNoteApplicationDataEntryRequest(
179  Guid guid,
180  QString key,
181  IRequestContextPtr ctx);
182 
183  void getNoteContentRequest(
184  Guid guid,
185  IRequestContextPtr ctx);
186 
187  void getNoteSearchTextRequest(
188  Guid guid,
189  bool noteOnly,
190  bool tokenizeForIndexing,
191  IRequestContextPtr ctx);
192 
193  void getResourceSearchTextRequest(
194  Guid guid,
195  IRequestContextPtr ctx);
196 
197  void getNoteTagNamesRequest(
198  Guid guid,
199  IRequestContextPtr ctx);
200 
201  void createNoteRequest(
202  Note note,
203  IRequestContextPtr ctx);
204 
205  void updateNoteRequest(
206  Note note,
207  IRequestContextPtr ctx);
208 
209  void deleteNoteRequest(
210  Guid guid,
211  IRequestContextPtr ctx);
212 
213  void expungeNoteRequest(
214  Guid guid,
215  IRequestContextPtr ctx);
216 
217  void copyNoteRequest(
218  Guid noteGuid,
219  Guid toNotebookGuid,
220  IRequestContextPtr ctx);
221 
222  void listNoteVersionsRequest(
223  Guid noteGuid,
224  IRequestContextPtr ctx);
225 
226  void getNoteVersionRequest(
227  Guid noteGuid,
228  qint32 updateSequenceNum,
229  bool withResourcesData,
230  bool withResourcesRecognition,
231  bool withResourcesAlternateData,
232  IRequestContextPtr ctx);
233 
234  void getResourceRequest(
235  Guid guid,
236  bool withData,
237  bool withRecognition,
238  bool withAttributes,
239  bool withAlternateData,
240  IRequestContextPtr ctx);
241 
242  void getResourceApplicationDataRequest(
243  Guid guid,
244  IRequestContextPtr ctx);
245 
246  void getResourceApplicationDataEntryRequest(
247  Guid guid,
248  QString key,
249  IRequestContextPtr ctx);
250 
251  void setResourceApplicationDataEntryRequest(
252  Guid guid,
253  QString key,
254  QString value,
255  IRequestContextPtr ctx);
256 
257  void unsetResourceApplicationDataEntryRequest(
258  Guid guid,
259  QString key,
260  IRequestContextPtr ctx);
261 
262  void updateResourceRequest(
263  Resource resource,
264  IRequestContextPtr ctx);
265 
266  void getResourceDataRequest(
267  Guid guid,
268  IRequestContextPtr ctx);
269 
270  void getResourceByHashRequest(
271  Guid noteGuid,
272  QByteArray contentHash,
273  bool withData,
274  bool withRecognition,
275  bool withAlternateData,
276  IRequestContextPtr ctx);
277 
278  void getResourceRecognitionRequest(
279  Guid guid,
280  IRequestContextPtr ctx);
281 
282  void getResourceAlternateDataRequest(
283  Guid guid,
284  IRequestContextPtr ctx);
285 
286  void getResourceAttributesRequest(
287  Guid guid,
288  IRequestContextPtr ctx);
289 
290  void getPublicNotebookRequest(
291  UserID userId,
292  QString publicUri,
293  IRequestContextPtr ctx);
294 
295  void shareNotebookRequest(
296  SharedNotebook sharedNotebook,
297  QString message,
298  IRequestContextPtr ctx);
299 
300  void createOrUpdateNotebookSharesRequest(
301  NotebookShareTemplate shareTemplate,
302  IRequestContextPtr ctx);
303 
304  void updateSharedNotebookRequest(
305  SharedNotebook sharedNotebook,
306  IRequestContextPtr ctx);
307 
308  void setNotebookRecipientSettingsRequest(
309  QString notebookGuid,
310  NotebookRecipientSettings recipientSettings,
311  IRequestContextPtr ctx);
312 
313  void listSharedNotebooksRequest(
314  IRequestContextPtr ctx);
315 
316  void createLinkedNotebookRequest(
317  LinkedNotebook linkedNotebook,
318  IRequestContextPtr ctx);
319 
320  void updateLinkedNotebookRequest(
321  LinkedNotebook linkedNotebook,
322  IRequestContextPtr ctx);
323 
324  void listLinkedNotebooksRequest(
325  IRequestContextPtr ctx);
326 
327  void expungeLinkedNotebookRequest(
328  Guid guid,
329  IRequestContextPtr ctx);
330 
331  void authenticateToSharedNotebookRequest(
332  QString shareKeyOrGlobalId,
333  IRequestContextPtr ctx);
334 
335  void getSharedNotebookByAuthRequest(
336  IRequestContextPtr ctx);
337 
338  void emailNoteRequest(
339  NoteEmailParameters parameters,
340  IRequestContextPtr ctx);
341 
342  void shareNoteRequest(
343  Guid guid,
344  IRequestContextPtr ctx);
345 
346  void stopSharingNoteRequest(
347  Guid guid,
348  IRequestContextPtr ctx);
349 
350  void authenticateToSharedNoteRequest(
351  QString guid,
352  QString noteKey,
353  IRequestContextPtr ctx);
354 
355  void findRelatedRequest(
356  RelatedQuery query,
357  RelatedResultSpec resultSpec,
358  IRequestContextPtr ctx);
359 
360  void updateNoteIfUsnMatchesRequest(
361  Note note,
362  IRequestContextPtr ctx);
363 
364  void manageNotebookSharesRequest(
366  IRequestContextPtr ctx);
367 
368  void getNotebookSharesRequest(
369  QString notebookGuid,
370  IRequestContextPtr ctx);
371 
372  // Signals used to send encoded response data
373  void getSyncStateRequestReady(
374  QByteArray data);
375 
376  void getFilteredSyncChunkRequestReady(
377  QByteArray data);
378 
379  void getLinkedNotebookSyncStateRequestReady(
380  QByteArray data);
381 
382  void getLinkedNotebookSyncChunkRequestReady(
383  QByteArray data);
384 
385  void listNotebooksRequestReady(
386  QByteArray data);
387 
388  void listAccessibleBusinessNotebooksRequestReady(
389  QByteArray data);
390 
391  void getNotebookRequestReady(
392  QByteArray data);
393 
394  void getDefaultNotebookRequestReady(
395  QByteArray data);
396 
397  void createNotebookRequestReady(
398  QByteArray data);
399 
400  void updateNotebookRequestReady(
401  QByteArray data);
402 
403  void expungeNotebookRequestReady(
404  QByteArray data);
405 
406  void listTagsRequestReady(
407  QByteArray data);
408 
409  void listTagsByNotebookRequestReady(
410  QByteArray data);
411 
412  void getTagRequestReady(
413  QByteArray data);
414 
415  void createTagRequestReady(
416  QByteArray data);
417 
418  void updateTagRequestReady(
419  QByteArray data);
420 
421  void untagAllRequestReady(
422  QByteArray data);
423 
424  void expungeTagRequestReady(
425  QByteArray data);
426 
427  void listSearchesRequestReady(
428  QByteArray data);
429 
430  void getSearchRequestReady(
431  QByteArray data);
432 
433  void createSearchRequestReady(
434  QByteArray data);
435 
436  void updateSearchRequestReady(
437  QByteArray data);
438 
439  void expungeSearchRequestReady(
440  QByteArray data);
441 
442  void findNoteOffsetRequestReady(
443  QByteArray data);
444 
445  void findNotesMetadataRequestReady(
446  QByteArray data);
447 
448  void findNoteCountsRequestReady(
449  QByteArray data);
450 
451  void getNoteWithResultSpecRequestReady(
452  QByteArray data);
453 
454  void getNoteRequestReady(
455  QByteArray data);
456 
457  void getNoteApplicationDataRequestReady(
458  QByteArray data);
459 
460  void getNoteApplicationDataEntryRequestReady(
461  QByteArray data);
462 
463  void setNoteApplicationDataEntryRequestReady(
464  QByteArray data);
465 
466  void unsetNoteApplicationDataEntryRequestReady(
467  QByteArray data);
468 
469  void getNoteContentRequestReady(
470  QByteArray data);
471 
472  void getNoteSearchTextRequestReady(
473  QByteArray data);
474 
475  void getResourceSearchTextRequestReady(
476  QByteArray data);
477 
478  void getNoteTagNamesRequestReady(
479  QByteArray data);
480 
481  void createNoteRequestReady(
482  QByteArray data);
483 
484  void updateNoteRequestReady(
485  QByteArray data);
486 
487  void deleteNoteRequestReady(
488  QByteArray data);
489 
490  void expungeNoteRequestReady(
491  QByteArray data);
492 
493  void copyNoteRequestReady(
494  QByteArray data);
495 
496  void listNoteVersionsRequestReady(
497  QByteArray data);
498 
499  void getNoteVersionRequestReady(
500  QByteArray data);
501 
502  void getResourceRequestReady(
503  QByteArray data);
504 
505  void getResourceApplicationDataRequestReady(
506  QByteArray data);
507 
508  void getResourceApplicationDataEntryRequestReady(
509  QByteArray data);
510 
511  void setResourceApplicationDataEntryRequestReady(
512  QByteArray data);
513 
514  void unsetResourceApplicationDataEntryRequestReady(
515  QByteArray data);
516 
517  void updateResourceRequestReady(
518  QByteArray data);
519 
520  void getResourceDataRequestReady(
521  QByteArray data);
522 
523  void getResourceByHashRequestReady(
524  QByteArray data);
525 
526  void getResourceRecognitionRequestReady(
527  QByteArray data);
528 
529  void getResourceAlternateDataRequestReady(
530  QByteArray data);
531 
532  void getResourceAttributesRequestReady(
533  QByteArray data);
534 
535  void getPublicNotebookRequestReady(
536  QByteArray data);
537 
538  void shareNotebookRequestReady(
539  QByteArray data);
540 
541  void createOrUpdateNotebookSharesRequestReady(
542  QByteArray data);
543 
544  void updateSharedNotebookRequestReady(
545  QByteArray data);
546 
547  void setNotebookRecipientSettingsRequestReady(
548  QByteArray data);
549 
550  void listSharedNotebooksRequestReady(
551  QByteArray data);
552 
553  void createLinkedNotebookRequestReady(
554  QByteArray data);
555 
556  void updateLinkedNotebookRequestReady(
557  QByteArray data);
558 
559  void listLinkedNotebooksRequestReady(
560  QByteArray data);
561 
562  void expungeLinkedNotebookRequestReady(
563  QByteArray data);
564 
565  void authenticateToSharedNotebookRequestReady(
566  QByteArray data);
567 
568  void getSharedNotebookByAuthRequestReady(
569  QByteArray data);
570 
571  void emailNoteRequestReady(
572  QByteArray data);
573 
574  void shareNoteRequestReady(
575  QByteArray data);
576 
577  void stopSharingNoteRequestReady(
578  QByteArray data);
579 
580  void authenticateToSharedNoteRequestReady(
581  QByteArray data);
582 
583  void findRelatedRequestReady(
584  QByteArray data);
585 
586  void updateNoteIfUsnMatchesRequestReady(
587  QByteArray data);
588 
589  void manageNotebookSharesRequestReady(
590  QByteArray data);
591 
592  void getNotebookSharesRequestReady(
593  QByteArray data);
594 
595 public Q_SLOTS:
596  // Slot used to deliver requests to the server
597  void onRequest(QByteArray data);
598 
599  // Slots for replies to requests
600  void onGetSyncStateRequestReady(
601  SyncState value,
602  EverCloudExceptionDataPtr exceptionData);
603 
604  void onGetFilteredSyncChunkRequestReady(
605  SyncChunk value,
606  EverCloudExceptionDataPtr exceptionData);
607 
608  void onGetLinkedNotebookSyncStateRequestReady(
609  SyncState value,
610  EverCloudExceptionDataPtr exceptionData);
611 
612  void onGetLinkedNotebookSyncChunkRequestReady(
613  SyncChunk value,
614  EverCloudExceptionDataPtr exceptionData);
615 
616  void onListNotebooksRequestReady(
617  QList<Notebook> value,
618  EverCloudExceptionDataPtr exceptionData);
619 
620  void onListAccessibleBusinessNotebooksRequestReady(
621  QList<Notebook> value,
622  EverCloudExceptionDataPtr exceptionData);
623 
624  void onGetNotebookRequestReady(
625  Notebook value,
626  EverCloudExceptionDataPtr exceptionData);
627 
628  void onGetDefaultNotebookRequestReady(
629  Notebook value,
630  EverCloudExceptionDataPtr exceptionData);
631 
632  void onCreateNotebookRequestReady(
633  Notebook value,
634  EverCloudExceptionDataPtr exceptionData);
635 
636  void onUpdateNotebookRequestReady(
637  qint32 value,
638  EverCloudExceptionDataPtr exceptionData);
639 
640  void onExpungeNotebookRequestReady(
641  qint32 value,
642  EverCloudExceptionDataPtr exceptionData);
643 
644  void onListTagsRequestReady(
645  QList<Tag> value,
646  EverCloudExceptionDataPtr exceptionData);
647 
648  void onListTagsByNotebookRequestReady(
649  QList<Tag> value,
650  EverCloudExceptionDataPtr exceptionData);
651 
652  void onGetTagRequestReady(
653  Tag value,
654  EverCloudExceptionDataPtr exceptionData);
655 
656  void onCreateTagRequestReady(
657  Tag value,
658  EverCloudExceptionDataPtr exceptionData);
659 
660  void onUpdateTagRequestReady(
661  qint32 value,
662  EverCloudExceptionDataPtr exceptionData);
663 
664  void onUntagAllRequestReady(
665  EverCloudExceptionDataPtr exceptionData);
666 
667  void onExpungeTagRequestReady(
668  qint32 value,
669  EverCloudExceptionDataPtr exceptionData);
670 
671  void onListSearchesRequestReady(
672  QList<SavedSearch> value,
673  EverCloudExceptionDataPtr exceptionData);
674 
675  void onGetSearchRequestReady(
676  SavedSearch value,
677  EverCloudExceptionDataPtr exceptionData);
678 
679  void onCreateSearchRequestReady(
680  SavedSearch value,
681  EverCloudExceptionDataPtr exceptionData);
682 
683  void onUpdateSearchRequestReady(
684  qint32 value,
685  EverCloudExceptionDataPtr exceptionData);
686 
687  void onExpungeSearchRequestReady(
688  qint32 value,
689  EverCloudExceptionDataPtr exceptionData);
690 
691  void onFindNoteOffsetRequestReady(
692  qint32 value,
693  EverCloudExceptionDataPtr exceptionData);
694 
695  void onFindNotesMetadataRequestReady(
696  NotesMetadataList value,
697  EverCloudExceptionDataPtr exceptionData);
698 
699  void onFindNoteCountsRequestReady(
700  NoteCollectionCounts value,
701  EverCloudExceptionDataPtr exceptionData);
702 
703  void onGetNoteWithResultSpecRequestReady(
704  Note value,
705  EverCloudExceptionDataPtr exceptionData);
706 
707  void onGetNoteRequestReady(
708  Note value,
709  EverCloudExceptionDataPtr exceptionData);
710 
711  void onGetNoteApplicationDataRequestReady(
712  LazyMap value,
713  EverCloudExceptionDataPtr exceptionData);
714 
715  void onGetNoteApplicationDataEntryRequestReady(
716  QString value,
717  EverCloudExceptionDataPtr exceptionData);
718 
719  void onSetNoteApplicationDataEntryRequestReady(
720  qint32 value,
721  EverCloudExceptionDataPtr exceptionData);
722 
723  void onUnsetNoteApplicationDataEntryRequestReady(
724  qint32 value,
725  EverCloudExceptionDataPtr exceptionData);
726 
727  void onGetNoteContentRequestReady(
728  QString value,
729  EverCloudExceptionDataPtr exceptionData);
730 
731  void onGetNoteSearchTextRequestReady(
732  QString value,
733  EverCloudExceptionDataPtr exceptionData);
734 
735  void onGetResourceSearchTextRequestReady(
736  QString value,
737  EverCloudExceptionDataPtr exceptionData);
738 
739  void onGetNoteTagNamesRequestReady(
740  QStringList value,
741  EverCloudExceptionDataPtr exceptionData);
742 
743  void onCreateNoteRequestReady(
744  Note value,
745  EverCloudExceptionDataPtr exceptionData);
746 
747  void onUpdateNoteRequestReady(
748  Note value,
749  EverCloudExceptionDataPtr exceptionData);
750 
751  void onDeleteNoteRequestReady(
752  qint32 value,
753  EverCloudExceptionDataPtr exceptionData);
754 
755  void onExpungeNoteRequestReady(
756  qint32 value,
757  EverCloudExceptionDataPtr exceptionData);
758 
759  void onCopyNoteRequestReady(
760  Note value,
761  EverCloudExceptionDataPtr exceptionData);
762 
763  void onListNoteVersionsRequestReady(
764  QList<NoteVersionId> value,
765  EverCloudExceptionDataPtr exceptionData);
766 
767  void onGetNoteVersionRequestReady(
768  Note value,
769  EverCloudExceptionDataPtr exceptionData);
770 
771  void onGetResourceRequestReady(
772  Resource value,
773  EverCloudExceptionDataPtr exceptionData);
774 
775  void onGetResourceApplicationDataRequestReady(
776  LazyMap value,
777  EverCloudExceptionDataPtr exceptionData);
778 
779  void onGetResourceApplicationDataEntryRequestReady(
780  QString value,
781  EverCloudExceptionDataPtr exceptionData);
782 
783  void onSetResourceApplicationDataEntryRequestReady(
784  qint32 value,
785  EverCloudExceptionDataPtr exceptionData);
786 
787  void onUnsetResourceApplicationDataEntryRequestReady(
788  qint32 value,
789  EverCloudExceptionDataPtr exceptionData);
790 
791  void onUpdateResourceRequestReady(
792  qint32 value,
793  EverCloudExceptionDataPtr exceptionData);
794 
795  void onGetResourceDataRequestReady(
796  QByteArray value,
797  EverCloudExceptionDataPtr exceptionData);
798 
799  void onGetResourceByHashRequestReady(
800  Resource value,
801  EverCloudExceptionDataPtr exceptionData);
802 
803  void onGetResourceRecognitionRequestReady(
804  QByteArray value,
805  EverCloudExceptionDataPtr exceptionData);
806 
807  void onGetResourceAlternateDataRequestReady(
808  QByteArray value,
809  EverCloudExceptionDataPtr exceptionData);
810 
811  void onGetResourceAttributesRequestReady(
812  ResourceAttributes value,
813  EverCloudExceptionDataPtr exceptionData);
814 
815  void onGetPublicNotebookRequestReady(
816  Notebook value,
817  EverCloudExceptionDataPtr exceptionData);
818 
819  void onShareNotebookRequestReady(
820  SharedNotebook value,
821  EverCloudExceptionDataPtr exceptionData);
822 
823  void onCreateOrUpdateNotebookSharesRequestReady(
825  EverCloudExceptionDataPtr exceptionData);
826 
827  void onUpdateSharedNotebookRequestReady(
828  qint32 value,
829  EverCloudExceptionDataPtr exceptionData);
830 
831  void onSetNotebookRecipientSettingsRequestReady(
832  Notebook value,
833  EverCloudExceptionDataPtr exceptionData);
834 
835  void onListSharedNotebooksRequestReady(
836  QList<SharedNotebook> value,
837  EverCloudExceptionDataPtr exceptionData);
838 
839  void onCreateLinkedNotebookRequestReady(
840  LinkedNotebook value,
841  EverCloudExceptionDataPtr exceptionData);
842 
843  void onUpdateLinkedNotebookRequestReady(
844  qint32 value,
845  EverCloudExceptionDataPtr exceptionData);
846 
847  void onListLinkedNotebooksRequestReady(
848  QList<LinkedNotebook> value,
849  EverCloudExceptionDataPtr exceptionData);
850 
851  void onExpungeLinkedNotebookRequestReady(
852  qint32 value,
853  EverCloudExceptionDataPtr exceptionData);
854 
855  void onAuthenticateToSharedNotebookRequestReady(
856  AuthenticationResult value,
857  EverCloudExceptionDataPtr exceptionData);
858 
859  void onGetSharedNotebookByAuthRequestReady(
860  SharedNotebook value,
861  EverCloudExceptionDataPtr exceptionData);
862 
863  void onEmailNoteRequestReady(
864  EverCloudExceptionDataPtr exceptionData);
865 
866  void onShareNoteRequestReady(
867  QString value,
868  EverCloudExceptionDataPtr exceptionData);
869 
870  void onStopSharingNoteRequestReady(
871  EverCloudExceptionDataPtr exceptionData);
872 
873  void onAuthenticateToSharedNoteRequestReady(
874  AuthenticationResult value,
875  EverCloudExceptionDataPtr exceptionData);
876 
877  void onFindRelatedRequestReady(
878  RelatedResult value,
879  EverCloudExceptionDataPtr exceptionData);
880 
881  void onUpdateNoteIfUsnMatchesRequestReady(
883  EverCloudExceptionDataPtr exceptionData);
884 
885  void onManageNotebookSharesRequestReady(
887  EverCloudExceptionDataPtr exceptionData);
888 
889  void onGetNotebookSharesRequestReady(
890  ShareRelationships value,
891  EverCloudExceptionDataPtr exceptionData);
892 
893 };
894 
896 
902 class QEVERCLOUD_EXPORT UserStoreServer: public QObject
903 {
904  Q_OBJECT
905  Q_DISABLE_COPY(UserStoreServer)
906 public:
907  explicit UserStoreServer(QObject * parent = nullptr);
908 
909 Q_SIGNALS:
910  // Signals notifying listeners about incoming requests
911  void checkVersionRequest(
912  QString clientName,
913  qint16 edamVersionMajor,
914  qint16 edamVersionMinor,
915  IRequestContextPtr ctx);
916 
917  void getBootstrapInfoRequest(
918  QString locale,
919  IRequestContextPtr ctx);
920 
921  void authenticateLongSessionRequest(
922  QString username,
923  QString password,
924  QString consumerKey,
925  QString consumerSecret,
926  QString deviceIdentifier,
927  QString deviceDescription,
928  bool supportsTwoFactor,
929  IRequestContextPtr ctx);
930 
931  void completeTwoFactorAuthenticationRequest(
932  QString oneTimeCode,
933  QString deviceIdentifier,
934  QString deviceDescription,
935  IRequestContextPtr ctx);
936 
937  void revokeLongSessionRequest(
938  IRequestContextPtr ctx);
939 
940  void authenticateToBusinessRequest(
941  IRequestContextPtr ctx);
942 
943  void getUserRequest(
944  IRequestContextPtr ctx);
945 
946  void getPublicUserInfoRequest(
947  QString username,
948  IRequestContextPtr ctx);
949 
950  void getUserUrlsRequest(
951  IRequestContextPtr ctx);
952 
953  void inviteToBusinessRequest(
954  QString emailAddress,
955  IRequestContextPtr ctx);
956 
957  void removeFromBusinessRequest(
958  QString emailAddress,
959  IRequestContextPtr ctx);
960 
961  void updateBusinessUserIdentifierRequest(
962  QString oldEmailAddress,
963  QString newEmailAddress,
964  IRequestContextPtr ctx);
965 
966  void listBusinessUsersRequest(
967  IRequestContextPtr ctx);
968 
969  void listBusinessInvitationsRequest(
970  bool includeRequestedInvitations,
971  IRequestContextPtr ctx);
972 
973  void getAccountLimitsRequest(
974  ServiceLevel serviceLevel,
975  IRequestContextPtr ctx);
976 
977  // Signals used to send encoded response data
978  void checkVersionRequestReady(
979  QByteArray data);
980 
981  void getBootstrapInfoRequestReady(
982  QByteArray data);
983 
984  void authenticateLongSessionRequestReady(
985  QByteArray data);
986 
987  void completeTwoFactorAuthenticationRequestReady(
988  QByteArray data);
989 
990  void revokeLongSessionRequestReady(
991  QByteArray data);
992 
993  void authenticateToBusinessRequestReady(
994  QByteArray data);
995 
996  void getUserRequestReady(
997  QByteArray data);
998 
999  void getPublicUserInfoRequestReady(
1000  QByteArray data);
1001 
1002  void getUserUrlsRequestReady(
1003  QByteArray data);
1004 
1005  void inviteToBusinessRequestReady(
1006  QByteArray data);
1007 
1008  void removeFromBusinessRequestReady(
1009  QByteArray data);
1010 
1011  void updateBusinessUserIdentifierRequestReady(
1012  QByteArray data);
1013 
1014  void listBusinessUsersRequestReady(
1015  QByteArray data);
1016 
1017  void listBusinessInvitationsRequestReady(
1018  QByteArray data);
1019 
1020  void getAccountLimitsRequestReady(
1021  QByteArray data);
1022 
1023 public Q_SLOTS:
1024  // Slot used to deliver requests to the server
1025  void onRequest(QByteArray data);
1026 
1027  // Slots for replies to requests
1028  void onCheckVersionRequestReady(
1029  bool value,
1030  EverCloudExceptionDataPtr exceptionData);
1031 
1032  void onGetBootstrapInfoRequestReady(
1033  BootstrapInfo value,
1034  EverCloudExceptionDataPtr exceptionData);
1035 
1036  void onAuthenticateLongSessionRequestReady(
1037  AuthenticationResult value,
1038  EverCloudExceptionDataPtr exceptionData);
1039 
1040  void onCompleteTwoFactorAuthenticationRequestReady(
1041  AuthenticationResult value,
1042  EverCloudExceptionDataPtr exceptionData);
1043 
1044  void onRevokeLongSessionRequestReady(
1045  EverCloudExceptionDataPtr exceptionData);
1046 
1047  void onAuthenticateToBusinessRequestReady(
1048  AuthenticationResult value,
1049  EverCloudExceptionDataPtr exceptionData);
1050 
1051  void onGetUserRequestReady(
1052  User value,
1053  EverCloudExceptionDataPtr exceptionData);
1054 
1055  void onGetPublicUserInfoRequestReady(
1056  PublicUserInfo value,
1057  EverCloudExceptionDataPtr exceptionData);
1058 
1059  void onGetUserUrlsRequestReady(
1060  UserUrls value,
1061  EverCloudExceptionDataPtr exceptionData);
1062 
1063  void onInviteToBusinessRequestReady(
1064  EverCloudExceptionDataPtr exceptionData);
1065 
1066  void onRemoveFromBusinessRequestReady(
1067  EverCloudExceptionDataPtr exceptionData);
1068 
1069  void onUpdateBusinessUserIdentifierRequestReady(
1070  EverCloudExceptionDataPtr exceptionData);
1071 
1072  void onListBusinessUsersRequestReady(
1073  QList<UserProfile> value,
1074  EverCloudExceptionDataPtr exceptionData);
1075 
1076  void onListBusinessInvitationsRequestReady(
1077  QList<BusinessInvitation> value,
1078  EverCloudExceptionDataPtr exceptionData);
1079 
1080  void onGetAccountLimitsRequestReady(
1081  AccountLimits value,
1082  EverCloudExceptionDataPtr exceptionData);
1083 
1084 };
1085 
1086 } // namespace qevercloud
1087 
1088 #endif // QEVERCLOUD_GENERATED_SERVERS_H
qevercloud::NotesMetadataResultSpec
Definition: Types.h:574
qevercloud::User
Definition: Types.h:2284
qevercloud::UpdateNoteIfUsnMatchesResult
Definition: Types.h:6695
qevercloud::SharedNotebook
Definition: Types.h:4163
qevercloud::AccountLimits
Definition: Types.h:2179
qevercloud::RelatedResult
Definition: Types.h:6568
Types.h
qevercloud::Guid
QString Guid
Definition: Types.h:62
qevercloud::ResourceAttributes
Definition: Types.h:2784
qevercloud::Note
Definition: Types.h:3542
qevercloud::UserID
qint32 UserID
Definition: Types.h:50
qevercloud::NoteEmailParameters
Definition: Types.h:6486
qevercloud::Notebook
Definition: Types.h:4596
qevercloud::NotesMetadataList
Definition: Types.h:6389
qevercloud::CreateOrUpdateNotebookSharesResult
Definition: Types.h:7174
qevercloud::BootstrapInfo
Definition: Types.h:5818
Constants.h
qevercloud
Definition: AsyncResult.h:21
qevercloud::SyncChunk
Definition: Types.h:6063
qevercloud::UserStoreServer
The UserStoreServer class represents customizable server for UserStore requests. It is primarily used...
Definition: Servers.h:902
qevercloud::NoteStoreServer
The NoteStoreServer class represents customizable server for NoteStore requests. It is primarily used...
Definition: Servers.h:33
qevercloud::RelatedQuery
Definition: Types.h:866
qevercloud::Tag
Definition: Types.h:2646
qevercloud::SyncChunkFilter
Definition: Types.h:268
qevercloud::NoteFilter
Definition: Types.h:431
qevercloud::SyncState
Definition: Types.h:165
qevercloud::NotebookRecipientSettings
Definition: Types.h:4090
qevercloud::NoteResultSpec
Definition: Types.h:710
qevercloud::AuthenticationResult
Definition: Types.h:5549
qevercloud::NotebookShareTemplate
Definition: Types.h:7113
qevercloud::ShareRelationships
Definition: Types.h:6812
qevercloud::ManageNotebookSharesParameters
Definition: Types.h:6869
qevercloud::Resource
Definition: Types.h:2914
qevercloud::ManageNotebookSharesResult
Definition: Types.h:7014
qevercloud::NoteCollectionCounts
Definition: Types.h:649
qevercloud::LazyMap
Definition: Types.h:2740
qevercloud::ServiceLevel
ServiceLevel
Definition: EDAMErrorCode.h:325
qevercloud::SavedSearch
Definition: Types.h:3933
qevercloud::RelatedResultSpec
Definition: Types.h:952
qevercloud::IRequestContextPtr
std::shared_ptr< IRequestContext > IRequestContextPtr
Definition: RequestContext.h:81
QEVERCLOUD_EXPORT
#define QEVERCLOUD_EXPORT
Definition: Export.h:19
qevercloud::EverCloudExceptionDataPtr
std::shared_ptr< EverCloudExceptionData > EverCloudExceptionDataPtr
Definition: EverCloudException.h:149
qevercloud::PublicUserInfo
Definition: Types.h:5399
qevercloud::UserUrls
Definition: Types.h:5464
qevercloud::LinkedNotebook
Definition: Types.h:4776