QEverCloud
6.1.0
Unofficial Evernote Cloud API for Qt
|
Typedefs | |
using | IRetryPolicyPtr = std::shared_ptr< IRetryPolicy > |
using | IDurableServicePtr = std::shared_ptr< IDurableService > |
using | EverCloudExceptionDataPtr = std::shared_ptr< EverCloudExceptionData > |
using | INoteStorePtr = std::shared_ptr< INoteStore > |
using | IUserStorePtr = std::shared_ptr< IUserStore > |
using | InvalidationSequenceNumber = qint64 |
using | IdentityID = qint64 |
using | UserID = qint32 |
using | Guid = QString |
using | Timestamp = qint64 |
using | MessageEventID = qint64 |
using | MessageThreadID = qint64 |
using | ILoggerPtr = std::shared_ptr< ILogger > |
using | IRequestContextPtr = std::shared_ptr< IRequestContext > |
Original work: Copyright (c) 2014 Sergey Skoblikov Modified work: Copyright (c) 2015-2019 Dmitry Ivanov
This file is a part of QEverCloud project and is distributed under the terms of MIT license: https://opensource.org/licenses/MIT
Copyright (c) 2019 Dmitry Ivanov
This file is a part of QEverCloud project and is distributed under the terms of MIT license: https://opensource.org/licenses/MIT
Original work: Copyright (c) 2014 Sergey Skoblikov Modified work: Copyright (c) 2015-2020 Dmitry Ivanov
This file is a part of QEverCloud project and is distributed under the terms of MIT license: https://opensource.org/licenses/MIT
This file was generated from Evernote Thrift API
Original work: Copyright (c) 2014 Sergey Skoblikov Modified work: Copyright (c) 2015-2020 Dmitry Ivanov
This file is a part of QEverCloud project and is distributed under the terms of MIT license: https://opensource.org/licenses/MIT All the library lives in this namespace.
Copyright (c) 2019-2020 Dmitry Ivanov
This file is a part of QEverCloud project and is distributed under the terms of MIT license: https://opensource.org/licenses/MIT
Copyright (c) 2016-2020 Dmitry Ivanov
This file is a part of QEverCloud project and is distributed under the terms of MIT license: https://opensource.org/licenses/MIT
Original work: Copyright (c) 2014 Sergey Skoblikov Modified work: Copyright (c) 2015-2020 Dmitry Ivanov
This file is a part of QEverCloud project and is distributed under the terms of MIT license: https://opensource.org/licenses/MIT
using qevercloud::EverCloudExceptionDataPtr = typedef std::shared_ptr<EverCloudExceptionData> |
using qevercloud::Guid = typedef QString |
Most data elements within a user's account (e.g. notebooks, notes, tags, resources, etc.) are internally referred to using a globally unique identifier that is written in a standard string format. For example:
"8743428c-ef91-4d05-9e7c-4a2e856e813a"
The internal components of the GUID are not given any particular meaning: only the entire string is relevant as a unique identifier.
using qevercloud::IdentityID = typedef qint64 |
A type alias for the primary identifiers for Identity objects.
using qevercloud::IDurableServicePtr = typedef std::shared_ptr<IDurableService> |
using qevercloud::ILoggerPtr = typedef std::shared_ptr<ILogger> |
using qevercloud::INoteStorePtr = typedef std::shared_ptr<INoteStore> |
using qevercloud::InvalidationSequenceNumber = typedef qint64 |
A monotonically incrementing number on each shard that identifies a cross shard cache invalidation event.
using qevercloud::IRequestContextPtr = typedef std::shared_ptr<IRequestContext> |
using qevercloud::IRetryPolicyPtr = typedef std::shared_ptr<IRetryPolicy> |
using qevercloud::IUserStorePtr = typedef std::shared_ptr<IUserStore> |
using qevercloud::MessageEventID = typedef qint64 |
A sequence number for the MessageStore subsystem.
using qevercloud::MessageThreadID = typedef qint64 |
A type alias for the primary identifiers for MessageThread objects.
using qevercloud::Timestamp = typedef qint64 |
An Evernote Timestamp is the date and time of an event in UTC time. This is expressed as a specific number of milliseconds since the standard base "epoch" of:
January 1, 1970, 00:00:00 GMT
NOTE: the time is expressed at the resolution of milliseconds, but the value is only precise to the level of seconds. This means that the last three (decimal) digits of the timestamp will be '000'.
The Thrift IDL specification does not include a native date/time type, so this value is used instead.
The service will accept timestamp values (e.g. for Note created and update times) between 1000-01-01 and 9999-12-31
using qevercloud::UserID = typedef qint32 |
Every Evernote account is assigned a unique numeric identifier which will not change for the life of the account. This is independent of the (string-based) "username" which is known by the user for login purposes. The user should have no reason to know their UserID.
|
strong |
An enumeration defining the possible states of a BusinessInvitation.
APPROVED: The invitation was created or approved by a business admin and may be redeemed by the invited email.
REQUESTED: The invitation was requested by a non-admin member of the business and must be approved by an admin before it may be redeemed. Invitations in this state do not count against a business' seat limit.
REDEEMED: The invitation has already been redeemed. Invitations in this state do not count against a business' seat limit.
Enumerator | |
---|---|
APPROVED | |
REQUESTED | |
REDEEMED |
|
strong |
Enumeration of the roles that a User can have within an Evernote Business account.
ADMIN: The user is an administrator of the Evernote Business account.
NORMAL: The user is a regular user within the Evernote Business account.
Enumerator | |
---|---|
ADMIN | |
NORMAL |
|
strong |
The BusinessUserStatus indicates the status of the user in the business.
A BusinessUser will typically start as ACTIVE. Only ACTIVE users can authenticate to the Business.
Enumerator | |
---|---|
ACTIVE | |
DEACTIVATED |
|
strong |
This enumeration defines the possible types of canMoveToContainer outcomes.
An outdated client is expected to signal a "Cannot Move, Please Upgrade To Learn Why" like response to the user if an unknown enumeration value is received.
Enumerator | |
---|---|
CAN_BE_MOVED | |
INSUFFICIENT_ENTITY_PRIVILEGE | |
INSUFFICIENT_CONTAINER_PRIVILEGE |
|
strong |
|
strong |
Numeric codes indicating the type of error that occurred on the service.
|
strong |
An enumeration that provides a reason for why a given contact was invalid, for example, as thrown via an EDAMInvalidContactsException.
Note that if multiple reasons may apply, only one is returned. The precedence order is BAD_ADDRESS, DUPLICATE_CONTACT, NO_CONNECTION, meaning that if a contact has a bad address and is also duplicated, it will be returned as a BAD_ADDRESS.
Enumerator | |
---|---|
BAD_ADDRESS | |
DUPLICATE_CONTACT | |
NO_CONNECTION |
|
strong |
|
strong |
|
strong |
|
strong |
This enumeration defines the possible states of a premium account
NONE: the user has never attempted to become a premium subscriber
PENDING: the user has requested a premium account but their charge has not been confirmed
ACTIVE: the user has been charged and their premium account is in good standing
FAILED: the system attempted to charge the was denied. We will periodically attempt to re-validate their order.
CANCELLATION_PENDING: the user has requested that no further charges be made but the current account is still active.
CANCELED: the premium account was canceled either because of failure to pay or user cancelation. No more attempts will be made to activate the account.
Enumerator | |
---|---|
NONE | |
PENDING | |
ACTIVE | |
FAILED | |
CANCELLATION_PENDING | |
CANCELED |
|
strong |
|
strong |
|
strong |
This enumeration defines the possible states that a notebook can be in for a recipient. It encompasses the "inMyList" boolean and default notebook status.
Enumerator | |
---|---|
NOT_IN_MY_LIST | |
IN_MY_LIST | |
IN_MY_LIST_AND_DEFAULT_NOTEBOOK |
|
strong |
This enumeration defines the possible ways to access related content.
NOT_ACCESSIBLE: The content is not accessible given the user's privilege level, but still worth showing as a snippet. The content url may point to a webpage that explains why not, or explains how to access that content.
DIRECT_LINK_ACCESS_OK: The content is accessible directly, and no additional login is required.
DIRECT_LINK_LOGIN_REQUIRED: The content is accessible directly, but an additional login is required.
DIRECT_LINK_EMBEDDED_VIEW: The content is accessible directly, and should be shown in an embedded web view. If the URL refers to a secured location under our control (for example, https://www.evernote.com/<smth>), the client may include user-specific authentication credentials with the request.
Enumerator | |
---|---|
NOT_ACCESSIBLE | |
DIRECT_LINK_ACCESS_OK | |
DIRECT_LINK_LOGIN_REQUIRED | |
DIRECT_LINK_EMBEDDED_VIEW |
|
strong |
This enumeration defines the possible types of related content.
NEWS_ARTICLE: This related content is a news article PROFILE_PERSON: This match refers to the profile of an individual person PROFILE_ORGANIZATION: This match refers to the profile of an organization REFERENCE_MATERIAL: This related content is material from reference works
Enumerator | |
---|---|
NEWS_ARTICLE | |
PROFILE_PERSON | |
PROFILE_ORGANIZATION | |
REFERENCE_MATERIAL |
|
strong |
An enumeration describing the configuration state related to receiving reminder e-mails from the service. Reminder e-mails summarize notes based on their Note.attributes.reminderTime values.
DO_NOT_SEND: The user has selected to not receive reminder e-mail.
SEND_DAILY_EMAIL: The user has selected to receive reminder e-mail for those days when there is a reminder.
Enumerator | |
---|---|
DO_NOT_SEND | |
SEND_DAILY_EMAIL |
|
strong |
|
strong |
An enumeration describing restrictions on the domain of shared notebook instances that are valid for a given operation, as used, for example, in NotebookRestrictions.
ASSIGNED: The domain consists of shared notebooks that belong, or are assigned, to the recipient.
NO_SHARED_NOTEBOOKS: No shared notebooks are applicable to the operation.
Enumerator | |
---|---|
ASSIGNED | |
NO_SHARED_NOTEBOOKS |
|
strong |
Privilege levels for accessing shared notebooks.
Note that as of 2014-04, FULL_ACCESS is synonymous with BUSINESS_FULL_ACCESS. If a user is a member of a business and has FULL_ACCESS privileges, then they will automatically be granted BUSINESS_FULL_ACCESS for notebooks in their business. This will happen implicitly when they attempt to access the corresponding notebooks of the business. BUSINESS_FULL_ACCESS is therefore deprecated.
READ_NOTEBOOK: Recipient is able to read the contents of the shared notebook but does not have access to information about other recipients of the notebook or the activity stream information.
MODIFY_NOTEBOOK_PLUS_ACTIVITY: Recipient has rights to read and modify the contents of the shared notebook, including the right to move notes to the trash and to create notes in the notebook. The recipient can also access information about other recipients and the activity stream.
READ_NOTEBOOK_PLUS_ACTIVITY: Recipient has READ_NOTEBOOK rights and can also access information about other recipients and the activity stream.
GROUP: If the user belongs to a group, such as a Business, that has a defined privilege level, use the privilege level of the group as the privilege for the individual.
FULL_ACCESS: Recipient has full rights to the shared notebook and recipient lists, including privilege to revoke and create invitations and to change privilege levels on invitations for individuals. For members of a business, FULL_ACCESS privilege on business notebooks also grants the ability to change how the notebook will appear when shared with the business, including the rights to share and unshare the notebook with the business.
BUSINESS_FULL_ACCESS: Deprecated. See the note above about BUSINESS_FULL_ACCESS and FULL_ACCESS being synonymous.
Enumerator | |
---|---|
READ_NOTEBOOK | |
MODIFY_NOTEBOOK_PLUS_ACTIVITY | |
READ_NOTEBOOK_PLUS_ACTIVITY | |
GROUP | |
FULL_ACCESS | |
BUSINESS_FULL_ACCESS |
|
strong |
Privilege levels for accessing a shared note. All privilege levels convey "activity feed" access, which allows the recipient to access information about other recipients and the activity stream.
READ_NOTE: Recipient has rights to read the shared note.
MODIFY_NOTE: Recipient has all of the rights of READ_NOTE, plus rights to modify the shared note's content, title and resources. Other fields, including the notebook, tags and metadata, may not be modified.
FULL_ACCESS: Recipient has all of the rights of MODIFY_NOTE, plus rights to share the note with other users via email, public note links, and note sharing. Recipient may also update and remove other recipient's note sharing rights.
Enumerator | |
---|---|
READ_NOTE | |
MODIFY_NOTE | |
FULL_ACCESS |
|
strong |
Privilege levels for accessing shared notebooks.
READ_NOTEBOOK: Recipient is able to read the contents of the shared notebook but does not have access to information about other recipients of the notebook or the activity stream information.
READ_NOTEBOOK_PLUS_ACTIVITY: Recipient has READ_NOTEBOOK rights and can also access information about other recipients and the activity stream.
MODIFY_NOTEBOOK_PLUS_ACTIVITY: Recipient has rights to read and modify the contents of the shared notebook, including the right to move notes to the trash and to create notes in the notebook. The recipient can also access information about other recipients and the activity stream.
FULL_ACCESS: Recipient has full rights to the shared notebook and recipient lists, including privilege to revoke and create invitations and to change privilege levels on invitations for individuals. If the user is a member of the same group, (e.g. the same business) as the shared notebook, they will additionally be granted permissions to update the publishing status of the notebook.
Enumerator | |
---|---|
READ_NOTEBOOK | |
READ_NOTEBOOK_PLUS_ACTIVITY | |
MODIFY_NOTEBOOK_PLUS_ACTIVITY | |
FULL_ACCESS |
|
strong |
Enumeration of the roles that a User can have within a sponsored group.
GROUP_MEMBER: The user is a member of the group with no special privileges.
GROUP_ADMIN: The user is an administrator within the group.
GROUP_OWNER: The user is the owner of the group.
Enumerator | |
---|---|
GROUP_MEMBER | |
GROUP_ADMIN | |
GROUP_OWNER |
|
strong |
QEVERCLOUD_EXPORT QNetworkProxy qevercloud::evernoteNetworkProxy | ( | ) |
Getter for network proxy settings used by QEverCloud. If none were set explicitly, returns the same result as QNetworkProxy::applicationProxy. Hence, QEverCloud uses the same proxy settings as the application which uses QEverCloud by default.
This function is thread-safe although internally it operates on a static object containing proxy settings so it's not recommended to read and write proxy settings concurrently to avoid contention for static object.
WARNING: when QEverCloud is built with QtWebEngine and some proxy settings different from QNetworkProxy::applicationProxy are set, the OAuth call which loads the web page would not use them; instead it would use proxy settings from QNetworkProxy::applicationProxy. This limitation is imposed by Qt: https://doc.qt.io/qt-5/qtwebengine-overview.html#proxy-support
QEVERCLOUD_EXPORT void qevercloud::initializeQEverCloud | ( | ) |
Initialization function for QEverCloud, needs to be called once before using the library. There is no harm if it is called multiple times
QEVERCLOUD_EXPORT int qevercloud::libraryVersion | ( | ) |
QEverCloud library version.
QEVERCLOUD_EXPORT ILoggerPtr qevercloud::logger | ( | ) |
QEVERCLOUD_EXPORT IDurableServicePtr qevercloud::newDurableService | ( | IRetryPolicyPtr | = {} , |
IRequestContextPtr | = {} |
||
) |
QEVERCLOUD_EXPORT INoteStore* qevercloud::newNoteStore | ( | QString | noteStoreUrl = {} , |
IRequestContextPtr | ctx = {} , |
||
QObject * | parent = nullptr , |
||
IRetryPolicyPtr | retryPolicy = {} |
||
) |
QEVERCLOUD_EXPORT IRequestContextPtr qevercloud::newRequestContext | ( | QString | authenticationToken = {} , |
qint64 | requestTimeout = DEFAULT_REQUEST_TIMEOUT_MSEC , |
||
bool | increaseRequestTimeoutExponentially = DEFAULT_REQUEST_TIMEOUT_EXPONENTIAL_INCREASE , |
||
qint64 | maxRequestTimeout = DEFAULT_MAX_REQUEST_TIMEOUT_MSEC , |
||
quint32 | maxRequestRetryCount = DEFAULT_MAX_REQUEST_RETRY_COUNT , |
||
QList< QNetworkCookie > | cookies = {} |
||
) |
QEVERCLOUD_EXPORT IRetryPolicyPtr qevercloud::newRetryPolicy | ( | ) |
QEVERCLOUD_EXPORT ILoggerPtr qevercloud::newStdErrLogger | ( | LogLevel | level = LogLevel::Warn | ) |
QEVERCLOUD_EXPORT IUserStore* qevercloud::newUserStore | ( | QString | userStoreUrl = {} , |
IRequestContextPtr | ctx = {} , |
||
QObject * | parent = nullptr , |
||
IRetryPolicyPtr | retryPolicy = {} |
||
) |
QEVERCLOUD_EXPORT ILoggerPtr qevercloud::nullLogger | ( | ) |
QEVERCLOUD_EXPORT IRetryPolicyPtr qevercloud::nullRetryPolicy | ( | ) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const BusinessInvitationStatus | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const BusinessUserRole | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const BusinessUserStatus | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const CanMoveToContainerStatus | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const ContactType | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const EDAMErrorCode | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const EDAMInvalidContactReason | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const EntityType | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const LogLevel | level | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const NoteSortOrder | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const PremiumOrderStatus | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const PrivilegeLevel | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const QueryFormat | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const RecipientStatus | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const RelatedContentAccess | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const RelatedContentType | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const ReminderEmailConfig | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const ServiceLevel | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const SharedNotebookInstanceRestrictions | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const SharedNotebookPrivilegeLevel | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const SharedNotePrivilegeLevel | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const ShareRelationshipPrivilegeLevel | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const SponsoredGroupRole | value | ||
) |
QEVERCLOUD_EXPORT QDebug& qevercloud::operator<< | ( | QDebug & | out, |
const UserIdentityType | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const BusinessInvitationStatus | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const BusinessUserRole | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const BusinessUserStatus | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const CanMoveToContainerStatus | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const ContactType | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const EDAMErrorCode | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const EDAMInvalidContactReason | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const EntityType | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const LogLevel | level | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const NoteSortOrder | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const PremiumOrderStatus | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const PrivilegeLevel | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const QueryFormat | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const RecipientStatus | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const RelatedContentAccess | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const RelatedContentType | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const ReminderEmailConfig | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const ServiceLevel | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const SharedNotebookInstanceRestrictions | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const SharedNotebookPrivilegeLevel | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const SharedNotePrivilegeLevel | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const ShareRelationshipPrivilegeLevel | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const SponsoredGroupRole | value | ||
) |
QEVERCLOUD_EXPORT QTextStream& qevercloud::operator<< | ( | QTextStream & | out, |
const UserIdentityType | value | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
QEVERCLOUD_EXPORT void qevercloud::resetEvernoteNetworkProxy | ( | ) |
Reset network proxy settings used by QEverCloud to those returned from QNetworkProxy::applicationProxy static method.
This function is thread-safe although internally it operates on a static object containing proxy settings so it's not recommended to read and write proxy settings concurrently to avoid contention for static object.
QEVERCLOUD_EXPORT void qevercloud::setEvernoteNetworkProxy | ( | QNetworkProxy | proxy | ) |
Setter for network proxy settings used by QEverCloud. If this function is never called, QEverCloud would use proxy settings returned from QNetworkProxy::applicationProxy static method.
This function is thread-safe although internally it operates on a static object containing proxy settings so it's not recommended to read and write proxy settings concurrently to avoid contention for static object.
WARNING: when QEverCloud is built with QtWebEngine and some proxy settings different from QNetworkProxy::applicationProxy are set, the OAuth call which loads the web page would not use them; instead it would use proxy settings from QNetworkProxy::applicationProxy. This limitation is imposed by Qt: https://doc.qt.io/qt-5/qtwebengine-overview.html#proxy-support
QEVERCLOUD_EXPORT void qevercloud::setLogger | ( | ILoggerPtr | logger | ) |
void qevercloud::setNonceGenerator | ( | quint64(*)() | nonceGenerator | ) |
Sets the function to use for nonce generation for OAuth authentication.
The default algorithm uses qrand() so do not forget to call qsrand() in your application!
qrand() is not guaranteed to be cryptographically strong. I try to amend the fact by using QUuid::createUuid() which uses /dev/urandom if it's available. But this is no guarantee either. So if you want total control over nonce generation you can write you own algorithm.
setNonceGenerator is NOT thread safe.
QAssociativeContainerConstReferenceWrapper<Container> qevercloud::toRange | ( | const Container & | container | ) |
QAssociativeContainerReferenceWrapper<Container> qevercloud::toRange | ( | Container & | container | ) |
QEVERCLOUD_EXPORT const QString qevercloud::CLASSIFICATION_RECIPE_SERVICE_RECIPE |
A value for the "recipe" key in the "classifications" map in NoteAttributes that indicates the Evernote service has classified a note as being a recipe.
QEVERCLOUD_EXPORT const QString qevercloud::CLASSIFICATION_RECIPE_USER_NON_RECIPE |
A value for the "recipe" key in the "classifications" map in NoteAttributes that indicates the user has classified a note as being a non-recipe.
QEVERCLOUD_EXPORT const QString qevercloud::CLASSIFICATION_RECIPE_USER_RECIPE |
A value for the "recipe" key in the "classifications" map in NoteAttributes that indicates the user has classified a note as being a recipe.
QEVERCLOUD_EXPORT const qint16 qevercloud::EDAM_APP_RATING_MAX |
QEVERCLOUD_EXPORT const qint16 qevercloud::EDAM_APP_RATING_MIN |
App Feedback Rating range
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_APPLICATIONDATA_ENTRY_LEN_MAX |
The total length of an entry in an applicationData LazyMap, which is the sum of the length of the key and the value for the entry.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_APPLICATIONDATA_NAME_LEN_MAX |
Maximum length of an application name, which is the key in an applicationData LazyMap found in entities such as Resources and Notes.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_APPLICATIONDATA_NAME_LEN_MIN |
Minimum length of an application name, which is the key in an applicationData LazyMap found in entities such as Resources and Notes.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_APPLICATIONDATA_NAME_REGEX |
An application name must match this regex. An application name is the key portion of an entry in an applicationData map as found in entities such as Resources and Notes. Note that even if both the name and value regexes match, it is still necessary to check the sum of the lengths against EDAM_APPLICATIONDATA_ENTRY_LEN_MAX.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_APPLICATIONDATA_VALUE_LEN_MAX |
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_APPLICATIONDATA_VALUE_LEN_MIN |
Minimum length of an applicationData value in a LazyMap, found in entities such as Resources and Notes.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_APPLICATIONDATA_VALUE_REGEX |
An applicationData map value must match this regex. Note that even if both the name and value regexes match, it is still necessary to check the sum of the lengths against EDAM_APPLICATIONDATA_ENTRY_LEN_MAX.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_ATTRIBUTE_LEN_MAX |
Maximum length of any string-based attribute, in Unicode chars
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_ATTRIBUTE_LEN_MIN |
Minimum length of any string-based attribute, in Unicode chars
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_ATTRIBUTE_LIST_MAX |
The maximum number of values that can be stored in a list-based attribute (e.g. see UserAttributes.recentMailedAddresses)
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_ATTRIBUTE_MAP_MAX |
The maximum number of entries that can be stored in a map-based attribute such as applicationData fields in Resources and Notes.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_ATTRIBUTE_REGEX |
Any string-based attribute must match the provided regular expression. This excludes all Unicode line endings and control characters.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_BUSINESS_MARKETING_CODE_REGEX_PATTERN |
Valid Evernote Business marketing code / affiliate code format.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MAX |
The maximum length, in Unicode characters, of a description for a business notebook.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MIN |
The minimum length, in Unicode characters, of a description for a business notebook.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_REGEX |
All business notebook descriptions must match this pattern. This excludes control chars or line/paragraph separators. The string may not begin or end with whitespace.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_BUSINESS_NOTEBOOKS_MAX |
Maximum number of Notebooks in a business account
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_BUSINESS_NOTES_MAX |
Maximum number of Notes per business account
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_BUSINESS_PHONE_NUMBER_LEN_MAX |
The maximum length of a business phone number.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_BUSINESS_TAGS_MAX |
Maximum number of Tags per business account.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_BUSINESS_URI_LEN_MAX |
The maximum length of an Evernote Business URI
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_BUSINESS_WORKSPACES_MAX |
Maximum number of Workspaces in a business account
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_CONNECTED_IDENTITY_REQUEST_MAX |
The maximum number of connected identities a client can request.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_CONTENT_CLASS_FOOD_MEAL |
The content class prefix used for structured notes created by Evernote Food that captures the experience of a particular meal. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_CONTENT_CLASS_HELLO_ENCOUNTER |
The content class prefix used for structured notes created by Evernote Hello that represents an encounter with a person. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_CONTENT_CLASS_HELLO_PROFILE |
The content class prefix used for structured notes created by Evernote Hello that represents the user's profile. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_CONTENT_CLASS_PENULTIMATE_NOTEBOOK |
The content class value used for structured notes created by Evernote Penultimate that represents a Penultimate notebook.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_CONTENT_CLASS_PENULTIMATE_PREFIX |
The content class prefix used for structured notes created by Evernote Penultimate. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_CONTENT_CLASS_SKITCH |
The content class value used for structured image notes created by Evernote Skitch.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_CONTENT_CLASS_SKITCH_PDF |
The content class value used for structured PDF notes created by Evernote Skitch.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_CONTENT_CLASS_SKITCH_PREFIX |
The content class prefix used for structured notes created by Evernote Skitch. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_DEVICE_DESCRIPTION_LEN_MAX |
Maximum length of the device description string associated with long sessions.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_DEVICE_DESCRIPTION_REGEX |
Regular expression for device description strings associated with long sessions.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_DEVICE_ID_LEN_MAX |
Maximum length of the device identifier string associated with long sessions.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_DEVICE_ID_REGEX |
Regular expression for device identifier strings associated with long sessions.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_EMAIL_DOMAIN_REGEX |
A regular expression that matches the part of an email address after the '@' symbol.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_EMAIL_LEN_MAX |
The maximum length of any email address
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_EMAIL_LEN_MIN |
The minimum length of any email address
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_EMAIL_LOCAL_REGEX |
A regular expression that matches the part of an email address before the '@' symbol.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_EMAIL_REGEX |
A regular expression that must match any email address given to Evernote. Email addresses must comply with RFC 2821 and 2822.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_FIND_CONTACT_DEFAULT_MAX_RESULTS |
Default maximum number of results the service will return for findContact
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_FIND_CONTACT_MAX_RESULTS |
Absolute maximum number of results the service will return for findContact
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_FOOD_APP_CONTENT_CLASS_PREFIX |
The content class prefix used for all notes created by Evernote Food. This prefix can be used to assemble individual content class strings, or can be used to create a wildcard search to get all notes created by Food. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_GET_ORDERS_MAX_RESULTS |
Absolute maximum number of results the servce will return for PersistentInternalMarket.getOrders()
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_GUID_LEN_MAX |
The maximum length of a GUID generated by the Evernote service
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_GUID_LEN_MIN |
The minimum length of a GUID generated by the Evernote service
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_GUID_REGEX |
GUIDs generated by the Evernote service will match the provided pattern
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_HASH_LEN |
The exact length of a MD5 hash checksum, in binary bytes. This is the exact length that must be matched for any binary hash value.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_HELLO_APP_CONTENT_CLASS_PREFIX |
The content class prefix used for all notes created by Evernote Hello. This prefix can be used to assemble individual content class strings, or can be used to create a wildcard search to get all notes created by Hello. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.
QEVERCLOUD_EXPORT const QSet<QString> qevercloud::EDAM_INDEXABLE_PLAINTEXT_MIME_TYPES |
The set of plain text MIME types that Evernote will parse and index for searching. The MIME types which start with "text/" will be handled separately by each client (i.e. hard-coded in each client).
QEVERCLOUD_EXPORT const QSet<QString> qevercloud::EDAM_INDEXABLE_RESOURCE_MIME_TYPES |
The set of MIME types that Evernote will parse and index for searching. With exception of images, PDFs and plain text files, which are handled in a different way.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_MAX_PREFERENCES |
Maximum number of name/value pairs allowed
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_MAX_VALUES_PER_PREFERENCE |
Maximum number of values per preference name when using values of size no greater than EDAM_PREFERENCE_VALUE_LEN_MAX.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_MESSAGE_ATTACHMENT_SNIPPET_LEN_MAX |
The maximum length of a message attachment snippet in unicode characters.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MESSAGE_ATTACHMENT_SNIPPET_REGEX |
The regex to validate message attachment snippets against
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_MESSAGE_ATTACHMENT_TITLE_LEN_MAX |
The maximum length of a message attachment title in unicode characters.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MESSAGE_ATTACHMENT_TITLE_REGEX |
The regex to validate message attachment titles against
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_MESSAGE_ATTACHMENTS_MAX |
The maximum number of attachments a Message can have.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_MESSAGE_BODY_LEN_MAX |
The maximum length of a message body in unicode characters.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MESSAGE_BODY_REGEX |
The regex to validate message.body against
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_MESSAGE_RECIPIENTS_MAX |
The maximum number of recipients on a MessageThread.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_MIME_LEN_MAX |
The maximum length of any MIME type string given to Evernote
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_MIME_LEN_MIN |
The minimum length of any MIME type string given to Evernote
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MIME_REGEX |
Any MIME type string given to Evernote must match the provided pattern. E.g.: image/gif
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MIME_TYPE_AAC |
Canonical MIME type string for AAC audio resources
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MIME_TYPE_AMR |
Canonical MIME type string for AMR audio resources
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MIME_TYPE_BMP |
Canonical MIME type string for BMP image resources
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MIME_TYPE_DEFAULT |
MIME type used for attachments of an unspecified type
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MIME_TYPE_GIF |
Canonical MIME type string for GIF image resources
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MIME_TYPE_INK |
Canonical MIME type string for Evernote Ink resources
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MIME_TYPE_JPEG |
Canonical MIME type string for JPEG image resources
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MIME_TYPE_M4A |
Canonical MIME type string for MP4 audio resources
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MIME_TYPE_MP3 |
Canonical MIME type string for MP3 audio resources
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MIME_TYPE_MP4_VIDEO |
Canonical MIME type string for MP4 video resources
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MIME_TYPE_PDF |
Canonical MIME type string for PDF resources
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MIME_TYPE_PNG |
Canonical MIME type string for PNG image resources
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MIME_TYPE_TIFF |
Canonical MIME type string for TIFF image resources
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_MIME_TYPE_WAV |
Canonical MIME type string for WAV audio resources
QEVERCLOUD_EXPORT const QSet<QString> qevercloud::EDAM_MIME_TYPES |
The set of resource MIME types that are expected to be handled correctly by all of the major Evernote client applications.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTE_BUSINESS_SHARED_NOTE_MAX |
Maximum number of SharedNote records per business note
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTE_CONTENT_CLASS_LEN_MAX |
The maximum length of the content class attribute of a note.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTE_CONTENT_CLASS_LEN_MIN |
The minimum length of the content class attribute of a note.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_NOTE_CONTENT_CLASS_REGEX |
The regular expression that the content class of a note must match to be valid.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTE_CONTENT_LEN_MAX |
Maximum length of a Note.content field Note.content fields must comply with the ENML DTD.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTE_CONTENT_LEN_MIN |
Minimum length of a Note.content field. Note.content fields must comply with the ENML DTD.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTE_LOCK_VIEWERS_NOTES_MAX |
The maximum number of separate notes that may be queried in a single call to NoteStore.getViewersForNotes.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTE_PERSONAL_SHARED_NOTE_MAX |
Maximum number of SharedNote records per personal note
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTE_RESOURCES_MAX |
The maximum number of Resources per Note
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTE_SIZE_MAX_FREE |
Maximum total size of a Note that can be added to a Free account. The size of a note is calculated as: ENML content length (in Unicode characters) plus the sum of all resource sizes (in bytes).
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTE_SIZE_MAX_PREMIUM |
Maximum total size of a Note that can be added to a Premium account. The size of a note is calculated as: ENML content length (in Unicode characters) plus the sum of all resource sizes (in bytes).
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_NOTE_SOURCE_MAIL_CLIP |
Standardized value for the 'source' NoteAttribute for notes that were clipped from an email message.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_NOTE_SOURCE_MAIL_SMTP_GATEWAY |
Standardized value for the 'source' NoteAttribute for notes that were created via email sent to Evernote's email interface.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_NOTE_SOURCE_WEB_CLIP |
Standardized value for the 'source' NoteAttribute for notes that were clipped from the web in some manner.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_NOTE_SOURCE_WEB_CLIP_SIMPLIFIED |
Standardized value for the 'source' NoteAttribute for notes that were clipped using the "simplified article" function of the clipper.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTE_TAGS_MAX |
The maximum number of Tags per Note
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTE_TITLE_LEN_MAX |
The maximum length of a Note.title, in Unicode characters
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTE_TITLE_LEN_MIN |
The minimum length of a Note.title, in Unicode characters
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTE_TITLE_QUALITY_HIGH |
A NoteAttributes.noteTitleQuality value indicating that the quality of an automatically generated note title is high. Examples of high quality titles include those based on a scanned business card, such as "John Doe - Scanned Business Card".
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTE_TITLE_QUALITY_LOW |
A NoteAttributes.noteTitleQuality value indicating that the quality of an automatically generated note title is low. Examples of low quality titles include those based on a note's type and location, such as "Snapshot from 123 Sesame Street in New York".
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTE_TITLE_QUALITY_MEDIUM |
A NoteAttributes.noteTitleQuality value indicating that the quality of an automatically generated note title is medium. Examples of medium quality titles include those based on a calendar entry, such as "Note from Weekly Staff Meeting".
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTE_TITLE_QUALITY_UNTITLED |
A NoteAttributes.noteTitleQuality value indicating that a note has no meaningful title, only a placeholder value such as "Untitled Note".
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_NOTE_TITLE_REGEX |
All Note.title fields must match this pattern. This excludes control chars or line/paragraph separators. The string may not begin or end with whitespace.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTEBOOK_BUSINESS_SHARED_NOTEBOOK_MAX |
Maximum number of shared notebooks per business notebook
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTEBOOK_NAME_LEN_MAX |
The maximum length of a Notebook.name, in Unicode characters
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTEBOOK_NAME_LEN_MIN |
The minimum length of a Notebook.name, in Unicode characters
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_NOTEBOOK_NAME_REGEX |
All Notebook.name fields must match this pattern. This excludes control chars or line/paragraph separators. The string may not begin or end with whitespace.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTEBOOK_PERSONAL_SHARED_NOTEBOOK_MAX |
Maximum number of shared notebooks per personal notebook
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTEBOOK_STACK_LEN_MAX |
The maximum length of a Notebook.stack, in Unicode characters
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_NOTEBOOK_STACK_LEN_MIN |
The minimum length of a Notebook.stack, in Unicode characters
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_NOTEBOOK_STACK_REGEX |
All Notebook.stack fields must match this pattern. This excludes control chars or line/paragraph separators. The string may not begin or end with whitespace.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_OPEN_ID_ACCESS_TOKEN_MAX |
Maximum length for OpenID token. There is no official enforced limit. The length of the Token ID depends on the provider. 1000 seems to be the safest value at this time.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_PREFERENCE_BUSINESS_DEFAULT_NOTEBOOK |
The name of the preferences entry that contains the notebook GUID (not the linked notebook) of the default business notebook. It must be in the format EDAM_GUID_REGEX. If a default business notebook is not set and the user is a business user the user should be prompted to set the default business notebook. The default business notebook must be a read/write notebook. Whenever the default business notebook guid is used, it must be revalidiated as a writable notebook. If it is not valid, the user should be re-prompted to set the value. This value is used by clients only.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_PREFERENCE_BUSINESS_QUICKNOTE |
The name of the preferences entry that contains a boolean indicating that default quicknotes should go into a business notebook. The EDAM_PREFERENCE_BUSINESS_DEFAULT_NOTEBOOK must be set correctly for this preference to be honored. The quicknote preferences should only be set to "true", if quicknote should use a business notebook. Any value other than "true" (or the omission of a value) should be treated as "false". In this case, quicknotes should be created in in the user's personal default notebook. The interface should not allow users to set quicknote to a business notebook without a valid default business notebook selected, however, clients should handle the edge case of an invalid business notebook guid. If a user stops being a business user or does not have write access to any business notebooks the quicknote preference should be ignored.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_PREFERENCE_NAME_LEN_MAX |
Maximum length of a preference name
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_PREFERENCE_NAME_LEN_MIN |
Minimum length of a preference name
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_PREFERENCE_NAME_REGEX |
A preference name must match this regex.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_PREFERENCE_ONLY_ONE_VALUE_LEN_MAX |
The maximum length of a preference value if you only use one value per preference rather than up to EDAM_MAX_VALUES_PER_PREFERENCE. This option is useful if you want a single string that is larger than EDAM_PREFERENCE_VALUE_LEN_MAX and would otherwise need to split the string into multiple pieces to store it.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_PREFERENCE_ONLY_ONE_VALUE_REGEX |
A preference value must match this regex if you are using a single value for a preference.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_PREFERENCE_SHORTCUTS |
The name of the preferences entry that contains shortcuts.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_PREFERENCE_SHORTCUTS_MAX_VALUES |
The maximum number of shortcuts that a user may have.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_PREFERENCE_VALUE_LEN_MAX |
Maximum length of a preference value
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_PREFERENCE_VALUE_LEN_MIN |
Minimum length of a preference value
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_PREFERENCE_VALUE_REGEX |
A preference value must match this regex if you are using more than a single value for a preference.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_PROMOTION_ID_LEN_MAX |
The maximum length of a promotion ID in unicode characters.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_PROMOTION_ID_REGEX |
The regex to validate promotion IDs against.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_PUBLISHING_DESCRIPTION_LEN_MAX |
The maximum length of a Publishing.publicDescription field.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_PUBLISHING_DESCRIPTION_LEN_MIN |
The minimum length of a Publishing.publicDescription field.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_PUBLISHING_DESCRIPTION_REGEX |
Any public notebook's Publishing.publicDescription field must match this pattern. No control chars or line/paragraph separators, and can't start or end with whitespace.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_PUBLISHING_URI_LEN_MAX |
The maximum length of a public notebook URI component
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_PUBLISHING_URI_LEN_MIN |
The minimum length of a public notebook URI component
QEVERCLOUD_EXPORT const QSet<QString> qevercloud::EDAM_PUBLISHING_URI_PROHIBITED |
The set of strings that may not be used as a publishing URI
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_PUBLISHING_URI_REGEX |
A public notebook URI component must match the provided pattern
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_RELATED_MAX_EXPERTS |
The maximum number of experts that will be returned from a findRelated() query
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_RELATED_MAX_NOTEBOOKS |
The maximum number of notebooks that will be returned from a findRelated() query.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_RELATED_MAX_NOTES |
The maximum number of notes that will be returned from a findRelated() query.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_RELATED_MAX_RELATED_CONTENT |
The maximum number of related content snippets that will be returned from a findRelated() query.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_RELATED_MAX_TAGS |
The maximum number of tags that will be returned from a findRelated() query.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_RELATED_PLAINTEXT_LEN_MAX |
The maximum length of the plain text in a findRelated query, assuming that plaintext is being provided.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_RELATED_PLAINTEXT_LEN_MIN |
The minimum length of the plain text in a findRelated query, assuming that plaintext is being provided.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_RESOURCE_SIZE_MAX_FREE |
Maximum size of a resource, in bytes, for Free accounts
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_RESOURCE_SIZE_MAX_PREMIUM |
Maximum size of a resource, in bytes, for Premium accounts
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_SAVED_SEARCH_NAME_LEN_MAX |
The maximum length of a SavedSearch.name field
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_SAVED_SEARCH_NAME_LEN_MIN |
The minimum length of a SavedSearch.name field
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_SAVED_SEARCH_NAME_REGEX |
SavedSearch.name fields must match this pattern. No control chars or line/paragraph separators, and can't start or end with whitespace.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_SEARCH_QUERY_LEN_MAX |
The maximum length of a user search query string in Unicode chars
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_SEARCH_QUERY_LEN_MIN |
The minimum length of a user search query string in Unicode chars
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_SEARCH_QUERY_REGEX |
Search queries must match the provided pattern. This is used for both ad-hoc queries and SavedSearch.query fields. This excludes all control characters and line/paragraph separators.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_SEARCH_SUGGESTIONS_MAX |
Maximum number of search suggestions that can be returned
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MAX |
Maximum length of the search suggestion prefix
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MIN |
Minimum length of the search suggestion prefix
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_SNIPPETS_NOTES_MAX |
The maximium number of note snippets you can retrieve in a single request
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_SOURCE_APPLICATION_ANDROID_SHARE_EXTENSION |
The NoteAttributes.sourceApplication value used for notes captured with the Android share extension.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_SOURCE_APPLICATION_EN_SCANSNAP |
The NoteAttributes.sourceApplication value used for notes captured by PFU ScanSnap Evernote Edition.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_SOURCE_APPLICATION_EWC |
The NoteAttributes.sourceApplication value used for notes captured with the Embedded Web Clipper.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_SOURCE_APPLICATION_IOS_SHARE_EXTENSION |
The NoteAttributes.sourceApplication value used for notes captured with the iOS share extension.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_SOURCE_APPLICATION_MOLESKINE |
The NoteAttributes.sourceApplication value used for notes captured by the Moleskine page camera.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_SOURCE_APPLICATION_POSTIT |
The NoteAttributes.sourceApplication value used for notes captured by the Post-it camera.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_SOURCE_APPLICATION_WEB_CLIPPER |
The NoteAttributes.sourceApplication value used for notes captured with the Evernote Web Clipper.
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_SOURCE_OUTLOOK_CLIPPER |
The NoteAttributes.source value used for notes captured by the Microsoft Outlook clipper.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_TAG_NAME_LEN_MAX |
The maximum length of a Tag.name, in Unicode characters
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_TAG_NAME_LEN_MIN |
The minimum length of a Tag.name, in Unicode characters
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_TAG_NAME_REGEX |
All Tag.name fields must match this pattern. This excludes control chars, commas or line/paragraph separators. The string may not begin or end with whitespace.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_TIMEZONE_LEN_MAX |
The maximum length of a timezone specification string
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_TIMEZONE_LEN_MIN |
The minimum length of a timezone specification string
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_TIMEZONE_REGEX |
Any timezone string given to Evernote must match the provided pattern. This permits either a locale-based standard timezone or a GMT offset. E.g.:
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_USER_LINKED_NOTEBOOK_MAX |
Maximum number of linked notebooks per account, for a free account.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_USER_LINKED_NOTEBOOK_MAX_PREMIUM |
Maximum number of linked notebooks per account, for a premium account. Users who are part of an active business are also covered under "premium".
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_USER_MAIL_LIMIT_DAILY_FREE |
The number of emails of any type that can be sent by a user with a Free account from the service per day. If an email is sent to two different recipients, this counts as two emails.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_USER_MAIL_LIMIT_DAILY_PREMIUM |
The number of emails of any type that can be sent by a user with a Premium account from the service per day. If an email is sent to two different recipients, this counts as two emails.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_USER_NAME_LEN_MAX |
Maximum length of the User.name field
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_USER_NAME_LEN_MIN |
Minimum length of the User.name field
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_USER_NAME_REGEX |
The User.name field must match this pattern, which excludes line endings and control characters.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_USER_NOTEBOOKS_MAX |
Maximum number of Notebooks per user
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_USER_NOTES_MAX |
Maximum number of Notes per user
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_USER_PASSWORD_LEN_MAX |
The maximum length of an Evernote user password
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_USER_PASSWORD_LEN_MIN |
The minimum length of an Evernote user password
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_USER_PASSWORD_REGEX |
Evernote user passwords must match this regular expression
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_USER_PROFILE_PHOTO_MAX_BYTES |
Maximum user profile photo size, in bytes, that clients may send to the service. Photos may be resized before being stored on the service.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_USER_RECENT_MAILED_ADDRESSES_MAX |
Maximum number of recent email addresses that are maintained (see UserAttributes.recentMailedAddresses)
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_USER_SAVED_SEARCHES_MAX |
Maximum number of SavedSearches per account
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_USER_TAGS_MAX |
Maximum number of Tags per account
QEVERCLOUD_EXPORT const qint64 qevercloud::EDAM_USER_UPLOAD_LIMIT_BUSINESS |
The number of bytes of new data that may be uploaded to a Business user's personal account each month. Note that content uploaded into the Business notebooks by the user does not count against this limit.
QEVERCLOUD_EXPORT const qint64 qevercloud::EDAM_USER_UPLOAD_LIMIT_BUSINESS_FIRST_MONTH |
The number of bytes of new data that may be uploaded to new business account during the first month. 50GB.
QEVERCLOUD_EXPORT const qint64 qevercloud::EDAM_USER_UPLOAD_LIMIT_BUSINESS_NEXT_MONTH |
The number of bytes of new data that may be uploaded to a business account for the next month. 20GB.
QEVERCLOUD_EXPORT const qint64 qevercloud::EDAM_USER_UPLOAD_LIMIT_BUSINESS_PER_USER |
The number of bytes of new data that may be uploaded to a Business for each member of the business per month. The total bytes available can be determined by multiplying this with the number of business users.
QEVERCLOUD_EXPORT const qint64 qevercloud::EDAM_USER_UPLOAD_LIMIT_FREE |
The number of bytes of new data that may be uploaded to a Free user's account each month.
QEVERCLOUD_EXPORT const qint64 qevercloud::EDAM_USER_UPLOAD_LIMIT_PLUS |
The number of bytes of new data that may be uploaded each month to an account at a Plus service level.
QEVERCLOUD_EXPORT const qint64 qevercloud::EDAM_USER_UPLOAD_LIMIT_PREMIUM |
The number of bytes of new data that may be uploaded to a Premium user's account each month.
QEVERCLOUD_EXPORT const qint64 qevercloud::EDAM_USER_UPLOAD_SURVEY_THRESHOLD |
The number of bytes of new data uploaded in a monthly quota cycle at which point users should be prompted with a survey to gather information on how they are using Evernote.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_USER_USERNAME_LEN_MAX |
The maximum length of an Evernote username
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_USER_USERNAME_LEN_MIN |
The minimum length of an Evernote username
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_USER_USERNAME_REGEX |
Any Evernote User.username field must match this pattern. This restricts usernames to a format that could permit use as a domain name component. E.g. "username.whatever.evernote.com"
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_USER_WORKSPACES_MAX |
Maximum number of Workspaces per user
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_VAT_REGEX |
A regular expression that must match any VAT ID given to Evernote. ref http://en.wikipedia.org/wiki/VAT_identification_number ref http://my.safaribooksonline.com/book/programming/regular-expressions/9780596802837/4dot-validation-and-formatting/id2995136
QEVERCLOUD_EXPORT const qint16 qevercloud::EDAM_VERSION_MAJOR |
The major version number for the current revision of the EDAM protocol. Clients pass this to the service using UserStore.checkVersion at the beginning of a session to confirm that they are not out of date.
QEVERCLOUD_EXPORT const qint16 qevercloud::EDAM_VERSION_MINOR |
The minor version number for the current revision of the EDAM protocol. Clients pass this to the service using UserStore.checkVersion at the beginning of a session to confirm that they are not out of date.
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_WORKSPACE_DESCRIPTION_LEN_MAX |
The maximum length of a Workspace.description, in Unicode characters
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_WORKSPACE_NAME_LEN_MAX |
The maximum length of a Workspace.name, in Unicode characters
QEVERCLOUD_EXPORT const qint32 qevercloud::EDAM_WORKSPACE_NAME_LEN_MIN |
The minimum length of a Workspace.name, in Unicode characters
QEVERCLOUD_EXPORT const QString qevercloud::EDAM_WORKSPACE_NAME_REGEX |
All Workspace.name fields must match this pattern. This excludes control chars or line/paragraph separators. The string may not begin or end with whitespace.