evernote-thrift 1.22.2 → 1.23.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Evernote SDK for Ruby
2
2
  =====================
3
3
 
4
- Evernote API version 1.22
4
+ Evernote API version 1.23
5
5
 
6
6
  Overview
7
7
  --------
@@ -6,7 +6,7 @@ require 'evernote-thrift'
6
6
 
7
7
  majorv = Evernote::EDAM::UserStore::EDAM_VERSION_MAJOR
8
8
  minorv = Evernote::EDAM::UserStore::EDAM_VERSION_MINOR
9
- rev = 2
9
+ rev = 0
10
10
  version = Gem::Version.new("#{majorv}.#{minorv}.#{rev}").version
11
11
 
12
12
  Gem::Specification.new do |s|
@@ -31,7 +31,7 @@ module Evernote
31
31
  end
32
32
 
33
33
  # This exception is thrown by EDAM procedures when a call fails as a result of
34
- # a problem that a user may be able to resolve. For example, if the user
34
+ # a problem that a caller may be able to resolve. For example, if the user
35
35
  # attempts to add a note to their account which would exceed their storage
36
36
  # quota, this type of exception may be thrown to indicate the source of the
37
37
  # error so that they can choose an alternate action.
@@ -68,7 +68,7 @@ module Evernote
68
68
  end
69
69
 
70
70
  # This exception is thrown by EDAM procedures when a call fails as a result of
71
- # an a problem in the service that could not be changed through user action.
71
+ # a problem in the service that could not be changed through caller action.
72
72
  #
73
73
  # errorCode: The numeric code indicating the type of error that occurred.
74
74
  # must be one of the values of EDAMErrorCode.
@@ -97,14 +97,16 @@ module Evernote
97
97
  end
98
98
 
99
99
  # This exception is thrown by EDAM procedures when a caller asks to perform
100
- # an operation that does not exist. This may be thrown based on an invalid
100
+ # an operation on an object that does not exist. This may be thrown based on an invalid
101
101
  # primary identifier (e.g. a bad GUID), or when the caller refers to an object
102
102
  # by another unique identifier (e.g. a User's email address).
103
103
  #
104
- # identifier: the object identifier that was not found on the server.
104
+ # identifier: A description of the object that was not found on the server.
105
+ # For example, "Note.notebookGuid" when a caller attempts to create a note in a
106
+ # notebook that does not exist in the user's account.
105
107
  #
106
- # key: the value passed from the client in the identifier, which was not
107
- # found. E.g. the GUID of an object that was not found.
108
+ # key: The value passed from the client in the identifier, which was not
109
+ # found. For example, the GUID that was not found.
108
110
  class EDAMNotFoundException < ::Thrift::Exception
109
111
  include ::Thrift::Struct, ::Thrift::Struct_Union
110
112
  IDENTIFIER = 1
@@ -35,6 +35,8 @@ require 'limits_types'
35
35
 
36
36
  EDAM_EMAIL_REGEX = %q"^[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*\\.([A-Za-z]{2,})$"
37
37
 
38
+ EDAM_VAT_REGEX = %q"[A-Za-z]{2}.+"
39
+
38
40
  EDAM_TIMEZONE_LEN_MIN = 1
39
41
 
40
42
  EDAM_TIMEZONE_LEN_MAX = 32
@@ -59,6 +61,10 @@ require 'limits_types'
59
61
 
60
62
  EDAM_MIME_TYPE_AMR = %q"audio/amr"
61
63
 
64
+ EDAM_MIME_TYPE_AAC = %q"audio/aac"
65
+
66
+ EDAM_MIME_TYPE_M4A = %q"audio/mp4"
67
+
62
68
  EDAM_MIME_TYPE_MP4_VIDEO = %q"video/mp4"
63
69
 
64
70
  EDAM_MIME_TYPE_INK = %q"application/vnd.evernote.ink"
@@ -77,24 +83,10 @@ require 'limits_types'
77
83
  %q"application/vnd.evernote.ink",
78
84
  %q"application/pdf",
79
85
  %q"video/mp4",
86
+ %q"audio/aac",
87
+ %q"audio/mp4",
80
88
  ])
81
89
 
82
- EDAM_COMMERCE_SERVICE_GOOGLE = %q"Google"
83
-
84
- EDAM_COMMERCE_SERVICE_PAYPAL = %q"Paypal"
85
-
86
- EDAM_COMMERCE_SERVICE_GIFT = %q"Gift"
87
-
88
- EDAM_COMMERCE_SERVICE_TRIALPAY = %q"TrialPay"
89
-
90
- EDAM_COMMERCE_SERVICE_TRIAL = %q"Trial"
91
-
92
- EDAM_COMMERCE_SERVICE_GROUP = %q"Group"
93
-
94
- EDAM_COMMERCE_SERVICE_CYBERSOURCE = %q"CYBERSRC"
95
-
96
- EDAM_COMMERCE_DEFAULT_CURRENCY_COUNTRY_CODE = %q"USD"
97
-
98
90
  EDAM_SEARCH_QUERY_LEN_MIN = 0
99
91
 
100
92
  EDAM_SEARCH_QUERY_LEN_MAX = 1024
@@ -185,18 +177,26 @@ require 'limits_types'
185
177
 
186
178
  EDAM_USER_PASSWORD_REGEX = %q"^[A-Za-z0-9!#$%&'()*+,./:;<=>?@^_`{|}~\\[\\]\\\\-]{6,64}$"
187
179
 
180
+ EDAM_BUSINESS_URI_LEN_MAX = 32
181
+
188
182
  EDAM_NOTE_TAGS_MAX = 100
189
183
 
190
184
  EDAM_NOTE_RESOURCES_MAX = 1000
191
185
 
192
186
  EDAM_USER_TAGS_MAX = 100000
193
187
 
188
+ EDAM_BUSINESS_TAGS_MAX = 100000
189
+
194
190
  EDAM_USER_SAVED_SEARCHES_MAX = 100
195
191
 
196
192
  EDAM_USER_NOTES_MAX = 100000
197
193
 
194
+ EDAM_BUSINESS_NOTES_MAX = 500000
195
+
198
196
  EDAM_USER_NOTEBOOKS_MAX = 250
199
197
 
198
+ EDAM_BUSINESS_NOTEBOOKS_MAX = 5000
199
+
200
200
  EDAM_USER_RECENT_MAILED_ADDRESSES_MAX = 10
201
201
 
202
202
  EDAM_USER_MAIL_LIMIT_DAILY_FREE = 50
@@ -207,13 +207,15 @@ require 'limits_types'
207
207
 
208
208
  EDAM_USER_UPLOAD_LIMIT_PREMIUM = 1073741824
209
209
 
210
+ EDAM_USER_UPLOAD_LIMIT_BUSINESS = 1073741824
211
+
210
212
  EDAM_NOTE_SIZE_MAX_FREE = 26214400
211
213
 
212
- EDAM_NOTE_SIZE_MAX_PREMIUM = 52428800
214
+ EDAM_NOTE_SIZE_MAX_PREMIUM = 104857600
213
215
 
214
216
  EDAM_RESOURCE_SIZE_MAX_FREE = 26214400
215
217
 
216
- EDAM_RESOURCE_SIZE_MAX_PREMIUM = 52428800
218
+ EDAM_RESOURCE_SIZE_MAX_PREMIUM = 104857600
217
219
 
218
220
  EDAM_USER_LINKED_NOTEBOOK_MAX = 100
219
221
 
@@ -237,6 +239,8 @@ require 'limits_types'
237
239
 
238
240
  EDAM_CONTENT_CLASS_SKITCH = %q"evernote.skitch"
239
241
 
242
+ EDAM_CONTENT_CLASS_PENULTIMATE = %q"evernote.penultimate"
243
+
240
244
  EDAM_RELATED_PLAINTEXT_LEN_MIN = 1
241
245
 
242
246
  EDAM_RELATED_PLAINTEXT_LEN_MAX = 131072
@@ -247,6 +251,36 @@ require 'limits_types'
247
251
 
248
252
  EDAM_RELATED_MAX_TAGS = 25
249
253
 
254
+ EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MIN = 1
255
+
256
+ EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MAX = 200
257
+
258
+ EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_REGEX = %q"^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,198}[^\\p{Cc}\\p{Z}])?$"
259
+
260
+ EDAM_PREFERENCE_NAME_LEN_MIN = 3
261
+
262
+ EDAM_PREFERENCE_NAME_LEN_MAX = 32
263
+
264
+ EDAM_PREFERENCE_VALUE_LEN_MIN = 1
265
+
266
+ EDAM_PREFERENCE_VALUE_LEN_MAX = 1024
267
+
268
+ EDAM_MAX_PREFERENCES = 100
269
+
270
+ EDAM_MAX_VALUES_PER_PREFERENCE = 250
271
+
272
+ EDAM_PREFERENCE_NAME_REGEX = %q"^[A-Za-z0-9_.-]{3,32}$"
273
+
274
+ EDAM_PREFERENCE_VALUE_REGEX = %q"^[^\\p{Cc}]{1,1024}$"
275
+
276
+ EDAM_DEVICE_ID_LEN_MAX = 32
277
+
278
+ EDAM_DEVICE_ID_REGEX = %q"^[^\\p{Cc}]{1,32}$"
279
+
280
+ EDAM_DEVICE_DESCRIPTION_LEN_MAX = 64
281
+
282
+ EDAM_DEVICE_DESCRIPTION_REGEX = %q"^[^\\p{Cc}]{1,64}$"
283
+
250
284
  end
251
285
  end
252
286
  end
@@ -1028,57 +1028,6 @@ require 'note_store_types'
1028
1028
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getResourceAttributes failed: unknown result')
1029
1029
  end
1030
1030
 
1031
- def getAccountSize(authenticationToken)
1032
- send_getAccountSize(authenticationToken)
1033
- return recv_getAccountSize()
1034
- end
1035
-
1036
- def send_getAccountSize(authenticationToken)
1037
- send_message('getAccountSize', GetAccountSize_args, :authenticationToken => authenticationToken)
1038
- end
1039
-
1040
- def recv_getAccountSize()
1041
- result = receive_message(GetAccountSize_result)
1042
- return result.success unless result.success.nil?
1043
- raise result.userException unless result.userException.nil?
1044
- raise result.systemException unless result.systemException.nil?
1045
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getAccountSize failed: unknown result')
1046
- end
1047
-
1048
- def getAds(authenticationToken, adParameters)
1049
- send_getAds(authenticationToken, adParameters)
1050
- return recv_getAds()
1051
- end
1052
-
1053
- def send_getAds(authenticationToken, adParameters)
1054
- send_message('getAds', GetAds_args, :authenticationToken => authenticationToken, :adParameters => adParameters)
1055
- end
1056
-
1057
- def recv_getAds()
1058
- result = receive_message(GetAds_result)
1059
- return result.success unless result.success.nil?
1060
- raise result.userException unless result.userException.nil?
1061
- raise result.systemException unless result.systemException.nil?
1062
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getAds failed: unknown result')
1063
- end
1064
-
1065
- def getRandomAd(authenticationToken, adParameters)
1066
- send_getRandomAd(authenticationToken, adParameters)
1067
- return recv_getRandomAd()
1068
- end
1069
-
1070
- def send_getRandomAd(authenticationToken, adParameters)
1071
- send_message('getRandomAd', GetRandomAd_args, :authenticationToken => authenticationToken, :adParameters => adParameters)
1072
- end
1073
-
1074
- def recv_getRandomAd()
1075
- result = receive_message(GetRandomAd_result)
1076
- return result.success unless result.success.nil?
1077
- raise result.userException unless result.userException.nil?
1078
- raise result.systemException unless result.systemException.nil?
1079
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRandomAd failed: unknown result')
1080
- end
1081
-
1082
1031
  def getPublicNotebook(userId, publicUri)
1083
1032
  send_getPublicNotebook(userId, publicUri)
1084
1033
  return recv_getPublicNotebook()
@@ -1114,6 +1063,24 @@ require 'note_store_types'
1114
1063
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'createSharedNotebook failed: unknown result')
1115
1064
  end
1116
1065
 
1066
+ def updateSharedNotebook(authenticationToken, sharedNotebook)
1067
+ send_updateSharedNotebook(authenticationToken, sharedNotebook)
1068
+ return recv_updateSharedNotebook()
1069
+ end
1070
+
1071
+ def send_updateSharedNotebook(authenticationToken, sharedNotebook)
1072
+ send_message('updateSharedNotebook', UpdateSharedNotebook_args, :authenticationToken => authenticationToken, :sharedNotebook => sharedNotebook)
1073
+ end
1074
+
1075
+ def recv_updateSharedNotebook()
1076
+ result = receive_message(UpdateSharedNotebook_result)
1077
+ return result.success unless result.success.nil?
1078
+ raise result.userException unless result.userException.nil?
1079
+ raise result.notFoundException unless result.notFoundException.nil?
1080
+ raise result.systemException unless result.systemException.nil?
1081
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateSharedNotebook failed: unknown result')
1082
+ end
1083
+
1117
1084
  def sendMessageToSharedNotebookMembers(authenticationToken, notebookGuid, messageText, recipients)
1118
1085
  send_sendMessageToSharedNotebookMembers(authenticationToken, notebookGuid, messageText, recipients)
1119
1086
  return recv_sendMessageToSharedNotebookMembers()
@@ -2202,45 +2169,6 @@ require 'note_store_types'
2202
2169
  write_result(result, oprot, 'getResourceAttributes', seqid)
2203
2170
  end
2204
2171
 
2205
- def process_getAccountSize(seqid, iprot, oprot)
2206
- args = read_args(iprot, GetAccountSize_args)
2207
- result = GetAccountSize_result.new()
2208
- begin
2209
- result.success = @handler.getAccountSize(args.authenticationToken)
2210
- rescue Evernote::EDAM::Error::EDAMUserException => userException
2211
- result.userException = userException
2212
- rescue Evernote::EDAM::Error::EDAMSystemException => systemException
2213
- result.systemException = systemException
2214
- end
2215
- write_result(result, oprot, 'getAccountSize', seqid)
2216
- end
2217
-
2218
- def process_getAds(seqid, iprot, oprot)
2219
- args = read_args(iprot, GetAds_args)
2220
- result = GetAds_result.new()
2221
- begin
2222
- result.success = @handler.getAds(args.authenticationToken, args.adParameters)
2223
- rescue Evernote::EDAM::Error::EDAMUserException => userException
2224
- result.userException = userException
2225
- rescue Evernote::EDAM::Error::EDAMSystemException => systemException
2226
- result.systemException = systemException
2227
- end
2228
- write_result(result, oprot, 'getAds', seqid)
2229
- end
2230
-
2231
- def process_getRandomAd(seqid, iprot, oprot)
2232
- args = read_args(iprot, GetRandomAd_args)
2233
- result = GetRandomAd_result.new()
2234
- begin
2235
- result.success = @handler.getRandomAd(args.authenticationToken, args.adParameters)
2236
- rescue Evernote::EDAM::Error::EDAMUserException => userException
2237
- result.userException = userException
2238
- rescue Evernote::EDAM::Error::EDAMSystemException => systemException
2239
- result.systemException = systemException
2240
- end
2241
- write_result(result, oprot, 'getRandomAd', seqid)
2242
- end
2243
-
2244
2172
  def process_getPublicNotebook(seqid, iprot, oprot)
2245
2173
  args = read_args(iprot, GetPublicNotebook_args)
2246
2174
  result = GetPublicNotebook_result.new()
@@ -2269,6 +2197,21 @@ require 'note_store_types'
2269
2197
  write_result(result, oprot, 'createSharedNotebook', seqid)
2270
2198
  end
2271
2199
 
2200
+ def process_updateSharedNotebook(seqid, iprot, oprot)
2201
+ args = read_args(iprot, UpdateSharedNotebook_args)
2202
+ result = UpdateSharedNotebook_result.new()
2203
+ begin
2204
+ result.success = @handler.updateSharedNotebook(args.authenticationToken, args.sharedNotebook)
2205
+ rescue Evernote::EDAM::Error::EDAMUserException => userException
2206
+ result.userException = userException
2207
+ rescue Evernote::EDAM::Error::EDAMNotFoundException => notFoundException
2208
+ result.notFoundException = notFoundException
2209
+ rescue Evernote::EDAM::Error::EDAMSystemException => systemException
2210
+ result.systemException = systemException
2211
+ end
2212
+ write_result(result, oprot, 'updateSharedNotebook', seqid)
2213
+ end
2214
+
2272
2215
  def process_sendMessageToSharedNotebookMembers(seqid, iprot, oprot)
2273
2216
  args = read_args(iprot, SendMessageToSharedNotebookMembers_args)
2274
2217
  result = SendMessageToSharedNotebookMembers_result.new()
@@ -4809,50 +4752,14 @@ require 'note_store_types'
4809
4752
  ::Thrift::Struct.generate_accessors self
4810
4753
  end
4811
4754
 
4812
- class GetAccountSize_args
4813
- include ::Thrift::Struct, ::Thrift::Struct_Union
4814
- AUTHENTICATIONTOKEN = 1
4815
-
4816
- FIELDS = {
4817
- AUTHENTICATIONTOKEN => {:type => ::Thrift::Types::STRING, :name => 'authenticationToken'}
4818
- }
4819
-
4820
- def struct_fields; FIELDS; end
4821
-
4822
- def validate
4823
- end
4824
-
4825
- ::Thrift::Struct.generate_accessors self
4826
- end
4827
-
4828
- class GetAccountSize_result
4829
- include ::Thrift::Struct, ::Thrift::Struct_Union
4830
- SUCCESS = 0
4831
- USEREXCEPTION = 1
4832
- SYSTEMEXCEPTION = 2
4833
-
4834
- FIELDS = {
4835
- SUCCESS => {:type => ::Thrift::Types::I64, :name => 'success'},
4836
- USEREXCEPTION => {:type => ::Thrift::Types::STRUCT, :name => 'userException', :class => Evernote::EDAM::Error::EDAMUserException},
4837
- SYSTEMEXCEPTION => {:type => ::Thrift::Types::STRUCT, :name => 'systemException', :class => Evernote::EDAM::Error::EDAMSystemException}
4838
- }
4839
-
4840
- def struct_fields; FIELDS; end
4841
-
4842
- def validate
4843
- end
4844
-
4845
- ::Thrift::Struct.generate_accessors self
4846
- end
4847
-
4848
- class GetAds_args
4755
+ class GetPublicNotebook_args
4849
4756
  include ::Thrift::Struct, ::Thrift::Struct_Union
4850
- AUTHENTICATIONTOKEN = 1
4851
- ADPARAMETERS = 2
4757
+ USERID = 1
4758
+ PUBLICURI = 2
4852
4759
 
4853
4760
  FIELDS = {
4854
- AUTHENTICATIONTOKEN => {:type => ::Thrift::Types::STRING, :name => 'authenticationToken'},
4855
- ADPARAMETERS => {:type => ::Thrift::Types::STRUCT, :name => 'adParameters', :class => Evernote::EDAM::NoteStore::AdParameters}
4761
+ USERID => {:type => ::Thrift::Types::I32, :name => 'userId'},
4762
+ PUBLICURI => {:type => ::Thrift::Types::STRING, :name => 'publicUri'}
4856
4763
  }
4857
4764
 
4858
4765
  def struct_fields; FIELDS; end
@@ -4863,16 +4770,16 @@ require 'note_store_types'
4863
4770
  ::Thrift::Struct.generate_accessors self
4864
4771
  end
4865
4772
 
4866
- class GetAds_result
4773
+ class GetPublicNotebook_result
4867
4774
  include ::Thrift::Struct, ::Thrift::Struct_Union
4868
4775
  SUCCESS = 0
4869
- USEREXCEPTION = 1
4870
- SYSTEMEXCEPTION = 2
4776
+ SYSTEMEXCEPTION = 1
4777
+ NOTFOUNDEXCEPTION = 2
4871
4778
 
4872
4779
  FIELDS = {
4873
- SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => Evernote::EDAM::Type::Ad}},
4874
- USEREXCEPTION => {:type => ::Thrift::Types::STRUCT, :name => 'userException', :class => Evernote::EDAM::Error::EDAMUserException},
4875
- SYSTEMEXCEPTION => {:type => ::Thrift::Types::STRUCT, :name => 'systemException', :class => Evernote::EDAM::Error::EDAMSystemException}
4780
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => Evernote::EDAM::Type::Notebook},
4781
+ SYSTEMEXCEPTION => {:type => ::Thrift::Types::STRUCT, :name => 'systemException', :class => Evernote::EDAM::Error::EDAMSystemException},
4782
+ NOTFOUNDEXCEPTION => {:type => ::Thrift::Types::STRUCT, :name => 'notFoundException', :class => Evernote::EDAM::Error::EDAMNotFoundException}
4876
4783
  }
4877
4784
 
4878
4785
  def struct_fields; FIELDS; end
@@ -4883,14 +4790,14 @@ require 'note_store_types'
4883
4790
  ::Thrift::Struct.generate_accessors self
4884
4791
  end
4885
4792
 
4886
- class GetRandomAd_args
4793
+ class CreateSharedNotebook_args
4887
4794
  include ::Thrift::Struct, ::Thrift::Struct_Union
4888
4795
  AUTHENTICATIONTOKEN = 1
4889
- ADPARAMETERS = 2
4796
+ SHAREDNOTEBOOK = 2
4890
4797
 
4891
4798
  FIELDS = {
4892
4799
  AUTHENTICATIONTOKEN => {:type => ::Thrift::Types::STRING, :name => 'authenticationToken'},
4893
- ADPARAMETERS => {:type => ::Thrift::Types::STRUCT, :name => 'adParameters', :class => Evernote::EDAM::NoteStore::AdParameters}
4800
+ SHAREDNOTEBOOK => {:type => ::Thrift::Types::STRUCT, :name => 'sharedNotebook', :class => Evernote::EDAM::Type::SharedNotebook}
4894
4801
  }
4895
4802
 
4896
4803
  def struct_fields; FIELDS; end
@@ -4901,15 +4808,17 @@ require 'note_store_types'
4901
4808
  ::Thrift::Struct.generate_accessors self
4902
4809
  end
4903
4810
 
4904
- class GetRandomAd_result
4811
+ class CreateSharedNotebook_result
4905
4812
  include ::Thrift::Struct, ::Thrift::Struct_Union
4906
4813
  SUCCESS = 0
4907
4814
  USEREXCEPTION = 1
4908
- SYSTEMEXCEPTION = 2
4815
+ NOTFOUNDEXCEPTION = 2
4816
+ SYSTEMEXCEPTION = 3
4909
4817
 
4910
4818
  FIELDS = {
4911
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => Evernote::EDAM::Type::Ad},
4819
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => Evernote::EDAM::Type::SharedNotebook},
4912
4820
  USEREXCEPTION => {:type => ::Thrift::Types::STRUCT, :name => 'userException', :class => Evernote::EDAM::Error::EDAMUserException},
4821
+ NOTFOUNDEXCEPTION => {:type => ::Thrift::Types::STRUCT, :name => 'notFoundException', :class => Evernote::EDAM::Error::EDAMNotFoundException},
4913
4822
  SYSTEMEXCEPTION => {:type => ::Thrift::Types::STRUCT, :name => 'systemException', :class => Evernote::EDAM::Error::EDAMSystemException}
4914
4823
  }
4915
4824
 
@@ -4921,45 +4830,7 @@ require 'note_store_types'
4921
4830
  ::Thrift::Struct.generate_accessors self
4922
4831
  end
4923
4832
 
4924
- class GetPublicNotebook_args
4925
- include ::Thrift::Struct, ::Thrift::Struct_Union
4926
- USERID = 1
4927
- PUBLICURI = 2
4928
-
4929
- FIELDS = {
4930
- USERID => {:type => ::Thrift::Types::I32, :name => 'userId'},
4931
- PUBLICURI => {:type => ::Thrift::Types::STRING, :name => 'publicUri'}
4932
- }
4933
-
4934
- def struct_fields; FIELDS; end
4935
-
4936
- def validate
4937
- end
4938
-
4939
- ::Thrift::Struct.generate_accessors self
4940
- end
4941
-
4942
- class GetPublicNotebook_result
4943
- include ::Thrift::Struct, ::Thrift::Struct_Union
4944
- SUCCESS = 0
4945
- SYSTEMEXCEPTION = 1
4946
- NOTFOUNDEXCEPTION = 2
4947
-
4948
- FIELDS = {
4949
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => Evernote::EDAM::Type::Notebook},
4950
- SYSTEMEXCEPTION => {:type => ::Thrift::Types::STRUCT, :name => 'systemException', :class => Evernote::EDAM::Error::EDAMSystemException},
4951
- NOTFOUNDEXCEPTION => {:type => ::Thrift::Types::STRUCT, :name => 'notFoundException', :class => Evernote::EDAM::Error::EDAMNotFoundException}
4952
- }
4953
-
4954
- def struct_fields; FIELDS; end
4955
-
4956
- def validate
4957
- end
4958
-
4959
- ::Thrift::Struct.generate_accessors self
4960
- end
4961
-
4962
- class CreateSharedNotebook_args
4833
+ class UpdateSharedNotebook_args
4963
4834
  include ::Thrift::Struct, ::Thrift::Struct_Union
4964
4835
  AUTHENTICATIONTOKEN = 1
4965
4836
  SHAREDNOTEBOOK = 2
@@ -4977,7 +4848,7 @@ require 'note_store_types'
4977
4848
  ::Thrift::Struct.generate_accessors self
4978
4849
  end
4979
4850
 
4980
- class CreateSharedNotebook_result
4851
+ class UpdateSharedNotebook_result
4981
4852
  include ::Thrift::Struct, ::Thrift::Struct_Union
4982
4853
  SUCCESS = 0
4983
4854
  USEREXCEPTION = 1
@@ -4985,7 +4856,7 @@ require 'note_store_types'
4985
4856
  SYSTEMEXCEPTION = 3
4986
4857
 
4987
4858
  FIELDS = {
4988
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => Evernote::EDAM::Type::SharedNotebook},
4859
+ SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'},
4989
4860
  USEREXCEPTION => {:type => ::Thrift::Types::STRUCT, :name => 'userException', :class => Evernote::EDAM::Error::EDAMUserException},
4990
4861
  NOTFOUNDEXCEPTION => {:type => ::Thrift::Types::STRUCT, :name => 'notFoundException', :class => Evernote::EDAM::Error::EDAMNotFoundException},
4991
4862
  SYSTEMEXCEPTION => {:type => ::Thrift::Types::STRUCT, :name => 'systemException', :class => Evernote::EDAM::Error::EDAMSystemException}