1# Copyright (C) 2020 Philipp Hörist <philipp AT hoerist.com>
2#
3# This file is part of nbxmpp.
4#
5# This program is free software; you can redistribute it and/or
6# modify it under the terms of the GNU General Public License
7# as published by the Free Software Foundation; either version 3
8# of the License, or (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; If not, see <http://www.gnu.org/licenses/>.
17
18from dataclasses import dataclass
19
20# pylint: disable=invalid-name
21# pylint: disable=line-too-long
22
23@dataclass(frozen=True)
24class _Namespaces:
25
26    ACTIVITY: str = 'http://jabber.org/protocol/activity'
27    ADDRESS: str = 'http://jabber.org/protocol/address'
28    AGENTS: str = 'jabber:iq:agents'
29    ATTENTION: str = 'urn:xmpp:attention:0'
30    AUTH: str = 'jabber:iq:auth'
31    AVATAR_METADATA: str = 'urn:xmpp:avatar:metadata'
32    AVATAR_DATA: str = 'urn:xmpp:avatar:data'
33    BIND: str = 'urn:ietf:params:xml:ns:xmpp-bind'
34    BLOCKING: str = 'urn:xmpp:blocking'
35    BOB: str = 'urn:xmpp:bob'
36    BOOKMARKS: str = 'storage:bookmarks'
37    BOOKMARKS_1: str = 'urn:xmpp:bookmarks:1'
38    BOOKMARKS_COMPAT: str = 'urn:xmpp:bookmarks:0#compat'
39    BOOKMARKS_COMPAT_PEP: str = 'urn:xmpp:bookmarks:1#compat-pep'
40    BOOKMARK_CONVERSION: str = 'urn:xmpp:bookmarks-conversion:0'
41    BROWSE: str = 'jabber:iq:browse'
42    BYTESTREAM: str = 'http://jabber.org/protocol/bytestreams'
43    CAPS: str = 'http://jabber.org/protocol/caps'
44    CAPTCHA: str = 'urn:xmpp:captcha'
45    CARBONS: str = 'urn:xmpp:carbons:2'
46    CHATMARKERS: str = 'urn:xmpp:chat-markers:0'
47    CHATSTATES: str = 'http://jabber.org/protocol/chatstates'
48    CLIENT: str = 'jabber:client'
49    COMMANDS: str = 'http://jabber.org/protocol/commands'
50    CONFERENCE: str = 'jabber:x:conference'
51    CORRECT: str = 'urn:xmpp:message-correct:0'
52    DATA: str = 'jabber:x:data'
53    DATA_LAYOUT: str = 'http://jabber.org/protocol/xdata-layout'
54    DATA_MEDIA: str = 'urn:xmpp:media-element'
55    DATA_VALIDATE: str = 'http://jabber.org/protocol/xdata-validate'
56    DELAY: str = 'jabber:x:delay'
57    DELAY2: str = 'urn:xmpp:delay'
58    DELIMITER: str = 'roster:delimiter'
59    DISCO: str = 'http://jabber.org/protocol/disco'
60    DISCO_INFO: str = 'http://jabber.org/protocol/disco#info'
61    DISCO_ITEMS: str = 'http://jabber.org/protocol/disco#items'
62    DOMAIN_BASED_NAME: str = 'urn:xmpp:domain-based-name:1'
63    EME: str = 'urn:xmpp:eme:0'
64    ENCRYPTED: str = 'jabber:x:encrypted'
65    FILE_METADATA: str = 'urn:xmpp:file:metadata:0'
66    FORWARD: str = 'urn:xmpp:forward:0'
67    FRAMING: str = 'urn:ietf:params:xml:ns:xmpp-framing'
68    GATEWAY: str = 'jabber:iq:gateway'
69    GEOLOC: str = 'http://jabber.org/protocol/geoloc'
70    HASHES: str = 'urn:xmpp:hashes:1'
71    HASHES_2: str = 'urn:xmpp:hashes:2'
72    HASHES_BLAKE2B_256: str = 'urn:xmpp:hash-function-text-names:id-blake2b256'
73    HASHES_BLAKE2B_512: str = 'urn:xmpp:hash-function-text-names:id-blake2b512'
74    HASHES_MD5: str = 'urn:xmpp:hash-function-text-names:md5'
75    HASHES_SHA1: str = 'urn:xmpp:hash-function-text-names:sha-1'
76    HASHES_SHA256: str = 'urn:xmpp:hash-function-text-names:sha-256'
77    HASHES_SHA512: str = 'urn:xmpp:hash-function-text-names:sha-512'
78    HASHES_SHA3_256: str = 'urn:xmpp:hash-function-text-names:sha3-256'
79    HASHES_SHA3_512: str = 'urn:xmpp:hash-function-text-names:sha3-512'
80    HINTS: str = 'urn:xmpp:hints'
81    HTTPUPLOAD_0: str = 'urn:xmpp:http:upload:0'
82    HTTP_AUTH: str = 'http://jabber.org/protocol/http-auth'
83    IBB: str = 'http://jabber.org/protocol/ibb'
84    IDLE: str = 'urn:xmpp:idle:1'
85    JINGLE: str = 'urn:xmpp:jingle:1'
86    JINGLE_BYTESTREAM: str = 'urn:xmpp:jingle:transports:s5b:1'
87    JINGLE_DTLS: str = 'urn:xmpp:jingle:apps:dtls:0'
88    JINGLE_ERRORS: str = 'urn:xmpp:jingle:errors:1'
89    JINGLE_FILE_TRANSFER: str = 'urn:xmpp:jingle:apps:file-transfer:3'
90    JINGLE_FILE_TRANSFER_5: str = 'urn:xmpp:jingle:apps:file-transfer:5'
91    JINGLE_IBB: str = 'urn:xmpp:jingle:transports:ibb:1'
92    JINGLE_ICE_UDP: str = 'urn:xmpp:jingle:transports:ice-udp:1'
93    JINGLE_RAW_UDP: str = 'urn:xmpp:jingle:transports:raw-udp:1'
94    JINGLE_RTP: str = 'urn:xmpp:jingle:apps:rtp:1'
95    JINGLE_RTP_AUDIO: str = 'urn:xmpp:jingle:apps:rtp:audio'
96    JINGLE_RTP_VIDEO: str = 'urn:xmpp:jingle:apps:rtp:video'
97    JINGLE_XTLS: str = 'urn:xmpp:jingle:security:xtls:0'
98    LAST: str = 'jabber:iq:last'
99    LOCATION: str = 'http://jabber.org/protocol/geoloc'
100    MAM_1: str = 'urn:xmpp:mam:1'
101    MAM_2: str = 'urn:xmpp:mam:2'
102    MOOD: str = 'http://jabber.org/protocol/mood'
103    MSG_HINTS: str = 'urn:xmpp:hints'
104    MUCLUMBUS: str = 'https://xmlns.zombofant.net/muclumbus/search/1.0'
105    MUC: str = 'http://jabber.org/protocol/muc'
106    MUC_USER: str = 'http://jabber.org/protocol/muc#user'
107    MUC_ADMIN: str = 'http://jabber.org/protocol/muc#admin'
108    MUC_OWNER: str = 'http://jabber.org/protocol/muc#owner'
109    MUC_UNIQUE: str = 'http://jabber.org/protocol/muc#unique'
110    MUC_CONFIG: str = 'http://jabber.org/protocol/muc#roomconfig'
111    MUC_REQUEST: str = 'http://jabber.org/protocol/muc#request'
112    MUC_INFO: str = 'http://jabber.org/protocol/muc#roominfo'
113    NICK: str = 'http://jabber.org/protocol/nick'
114    OMEMO_TEMP: str = 'eu.siacs.conversations.axolotl'
115    OMEMO_TEMP_BUNDLE: str = 'eu.siacs.conversations.axolotl.bundles'
116    OMEMO_TEMP_DL: str = 'eu.siacs.conversations.axolotl.devicelist'
117    OPENPGP: str = 'urn:xmpp:openpgp:0'
118    OPENPGP_PK: str = 'urn:xmpp:openpgp:0:public-keys'
119    OPENPGP_SK: str = 'urn:xmpp:openpgp:0:secret-key'
120    PING: str = 'urn:xmpp:ping'
121    PRIVACY: str = 'jabber:iq:privacy'
122    PRIVATE: str = 'jabber:iq:private'
123    PUBKEY_ATTEST: str = 'urn:xmpp:attest:2'
124    PUBKEY_PUBKEY: str = 'urn:xmpp:pubkey:2'
125    PUBKEY_REVOKE: str = 'urn:xmpp:revoke:2'
126    PUBSUB: str = 'http://jabber.org/protocol/pubsub'
127    PUBSUB_ERROR: str = 'http://jabber.org/protocol/pubsub#errors'
128    PUBSUB_CONFIG: str = 'http://jabber.org/protocol/pubsub#node_config'
129    PUBSUB_EVENT: str = 'http://jabber.org/protocol/pubsub#event'
130    PUBSUB_OWNER: str = 'http://jabber.org/protocol/pubsub#owner'
131    PUBSUB_PUBLISH_OPTIONS: str = 'http://jabber.org/protocol/pubsub#publish-options'
132    PUBSUB_NODE_MAX: str = 'http://jabber.org/protocol/pubsub#config-node-max'
133    RECEIPTS: str = 'urn:xmpp:receipts'
134    REGISTER: str = 'jabber:iq:register'
135    REGISTER_FEATURE: str = 'http://jabber.org/features/iq-register'
136    REPORTING: str = 'urn:xmpp:reporting:0'
137    ROSTER: str = 'jabber:iq:roster'
138    ROSTERNOTES: str = 'storage:rosternotes'
139    ROSTERX: str = 'http://jabber.org/protocol/rosterx'
140    ROSTER_VER: str = 'urn:xmpp:features:rosterver'
141    RSM: str = 'http://jabber.org/protocol/rsm'
142    SASL: str = 'urn:ietf:params:xml:ns:xmpp-sasl'
143    SEARCH: str = 'jabber:iq:search'
144    SECLABEL: str = 'urn:xmpp:sec-label:0'
145    SECLABEL_CATALOG: str = 'urn:xmpp:sec-label:catalog:2'
146    SESSION: str = 'urn:ietf:params:xml:ns:xmpp-session'
147    SFS: str = 'urn:xmpp:sfs:0'
148    SID: str = 'urn:xmpp:sid:0'
149    SIGNED: str = 'jabber:x:signed'
150    SIMS: str = 'urn:xmpp:sims:1'
151    STANZAS: str = 'urn:ietf:params:xml:ns:xmpp-stanzas'
152    STICKERS: str = 'urn:xmpp:stickers:0'
153    STREAM: str = 'http://affinix.com/jabber/stream'
154    STREAMS: str = 'http://etherx.jabber.org/streams'
155    STREAM_MGMT: str = 'urn:xmpp:sm:3'
156    STYLING: str = 'urn:xmpp:styling:0'
157    TIME_REVISED: str = 'urn:xmpp:time'
158    TLS: str = 'urn:ietf:params:xml:ns:xmpp-tls'
159    TUNE: str = 'http://jabber.org/protocol/tune'
160    URL_DATA: str = 'http://jabber.org/protocol/url-data'
161    VCARD: str = 'vcard-temp'
162    VCARD_UPDATE: str = 'vcard-temp:x:update'
163    VCARD_CONVERSION: str = 'urn:xmpp:pep-vcard-conversion:0'
164    VCARD4: str = 'urn:ietf:params:xml:ns:vcard-4.0'
165    VCARD4_PUBSUB: str = 'urn:xmpp:vcard4'
166    VERSION: str = 'jabber:iq:version'
167    XHTML_IM: str = 'http://jabber.org/protocol/xhtml-im'
168    XHTML: str = 'http://www.w3.org/1999/xhtml'
169    XMPP_STREAMS: str = 'urn:ietf:params:xml:ns:xmpp-streams'
170    X_OOB: str = 'jabber:x:oob'
171
172
173Namespace = _Namespaces()
174