nylas_v2 5.14.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +7 -0
  2. data/lib/nylas_v2/account.rb +56 -0
  3. data/lib/nylas_v2/api.rb +244 -0
  4. data/lib/nylas_v2/application_details.rb +13 -0
  5. data/lib/nylas_v2/calendar.rb +46 -0
  6. data/lib/nylas_v2/calendar_collection.rb +144 -0
  7. data/lib/nylas_v2/categorize.rb +14 -0
  8. data/lib/nylas_v2/collection.rb +175 -0
  9. data/lib/nylas_v2/component.rb +35 -0
  10. data/lib/nylas_v2/component_collection.rb +10 -0
  11. data/lib/nylas_v2/constraints.rb +56 -0
  12. data/lib/nylas_v2/contact.rb +53 -0
  13. data/lib/nylas_v2/contact_group.rb +23 -0
  14. data/lib/nylas_v2/current_account.rb +23 -0
  15. data/lib/nylas_v2/delta.rb +56 -0
  16. data/lib/nylas_v2/deltas.rb +19 -0
  17. data/lib/nylas_v2/deltas_collection.rb +40 -0
  18. data/lib/nylas_v2/draft.rb +100 -0
  19. data/lib/nylas_v2/email_address.rb +12 -0
  20. data/lib/nylas_v2/errors.rb +111 -0
  21. data/lib/nylas_v2/event.rb +141 -0
  22. data/lib/nylas_v2/event_collection.rb +15 -0
  23. data/lib/nylas_v2/event_conferencing.rb +12 -0
  24. data/lib/nylas_v2/event_conferencing_autocreate.rb +10 -0
  25. data/lib/nylas_v2/event_conferencing_details.rb +14 -0
  26. data/lib/nylas_v2/event_notification.rb +17 -0
  27. data/lib/nylas_v2/file.rb +75 -0
  28. data/lib/nylas_v2/filter_attributes.rb +25 -0
  29. data/lib/nylas_v2/folder.rb +26 -0
  30. data/lib/nylas_v2/free_busy.rb +13 -0
  31. data/lib/nylas_v2/free_busy_collection.rb +48 -0
  32. data/lib/nylas_v2/http_client.rb +279 -0
  33. data/lib/nylas_v2/im_address.rb +11 -0
  34. data/lib/nylas_v2/job_status.rb +27 -0
  35. data/lib/nylas_v2/job_status_collection.rb +21 -0
  36. data/lib/nylas_v2/label.rb +27 -0
  37. data/lib/nylas_v2/logging.rb +41 -0
  38. data/lib/nylas_v2/message.rb +98 -0
  39. data/lib/nylas_v2/message_headers.rb +27 -0
  40. data/lib/nylas_v2/message_tracking.rb +13 -0
  41. data/lib/nylas_v2/model/attributable.rb +89 -0
  42. data/lib/nylas_v2/model/attribute_definition.rb +24 -0
  43. data/lib/nylas_v2/model/attributes.rb +97 -0
  44. data/lib/nylas_v2/model/list_attribute_definition.rb +39 -0
  45. data/lib/nylas_v2/model/transferable.rb +53 -0
  46. data/lib/nylas_v2/model.rb +217 -0
  47. data/lib/nylas_v2/native_authentication.rb +39 -0
  48. data/lib/nylas_v2/neural.rb +87 -0
  49. data/lib/nylas_v2/neural_categorizer.rb +29 -0
  50. data/lib/nylas_v2/neural_clean_conversation.rb +33 -0
  51. data/lib/nylas_v2/neural_contact_link.rb +11 -0
  52. data/lib/nylas_v2/neural_contact_name.rb +11 -0
  53. data/lib/nylas_v2/neural_message_options.rb +35 -0
  54. data/lib/nylas_v2/neural_ocr.rb +16 -0
  55. data/lib/nylas_v2/neural_sentiment_analysis.rb +17 -0
  56. data/lib/nylas_v2/neural_signature_contact.rb +81 -0
  57. data/lib/nylas_v2/neural_signature_extraction.rb +18 -0
  58. data/lib/nylas_v2/new_message.rb +39 -0
  59. data/lib/nylas_v2/nylas_date.rb +25 -0
  60. data/lib/nylas_v2/open_hours.rb +15 -0
  61. data/lib/nylas_v2/outbox.rb +116 -0
  62. data/lib/nylas_v2/outbox_job_status.rb +19 -0
  63. data/lib/nylas_v2/outbox_message.rb +17 -0
  64. data/lib/nylas_v2/participant.rb +13 -0
  65. data/lib/nylas_v2/phone_number.rb +11 -0
  66. data/lib/nylas_v2/physical_address.rb +17 -0
  67. data/lib/nylas_v2/raw_message.rb +25 -0
  68. data/lib/nylas_v2/recurrence.rb +11 -0
  69. data/lib/nylas_v2/registry.rb +42 -0
  70. data/lib/nylas_v2/room_resource.rb +19 -0
  71. data/lib/nylas_v2/rsvp.rb +24 -0
  72. data/lib/nylas_v2/scheduler.rb +51 -0
  73. data/lib/nylas_v2/scheduler_booking_confirmation.rb +24 -0
  74. data/lib/nylas_v2/scheduler_booking_request.rb +17 -0
  75. data/lib/nylas_v2/scheduler_collection.rb +104 -0
  76. data/lib/nylas_v2/scheduler_config.rb +20 -0
  77. data/lib/nylas_v2/scheduler_time_slot.rb +14 -0
  78. data/lib/nylas_v2/search_collection.rb +10 -0
  79. data/lib/nylas_v2/send_grid_verified_status.rb +12 -0
  80. data/lib/nylas_v2/thread.rb +66 -0
  81. data/lib/nylas_v2/time_slot.rb +16 -0
  82. data/lib/nylas_v2/time_slot_capacity.rb +13 -0
  83. data/lib/nylas_v2/timespan.rb +20 -0
  84. data/lib/nylas_v2/token_info.rb +20 -0
  85. data/lib/nylas_v2/types.rb +168 -0
  86. data/lib/nylas_v2/version.rb +5 -0
  87. data/lib/nylas_v2/web_page.rb +11 -0
  88. data/lib/nylas_v2/webhook.rb +98 -0
  89. data/lib/nylas_v2/when.rb +75 -0
  90. data/lib/nylas_v2.rb +162 -0
  91. metadata +415 -0
data/lib/nylas_v2.rb ADDED
@@ -0,0 +1,162 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "json"
4
+ require "rest-client"
5
+
6
+ # BUGFIX
7
+ # See https://github.com/sparklemotion/http-cookie/issues/27
8
+ # and https://github.com/sparklemotion/http-cookie/issues/6
9
+ #
10
+ # CookieJar uses unsafe class caching for dynamically loading cookie jars
11
+ # If 2 rest-client instances are instantiated at the same time, (in threads)
12
+ # non-deterministic behaviour can occur whereby the Hash cookie jar isn't
13
+ # properly loaded and cached.
14
+ # Forcing an instantiation of the jar onload will force the CookieJar to load
15
+ # before the system has a chance to spawn any threads.
16
+ # Note this should technically be fixed in rest-client itself however that
17
+ # library appears to be stagnant so we're forced to fix it here
18
+ # This object should get GC'd as it's not referenced by anything
19
+ HTTP::CookieJar.new
20
+
21
+ require "ostruct"
22
+ require "forwardable"
23
+
24
+ require_relative "nylas_v2/version"
25
+ require_relative "nylas_v2/errors"
26
+
27
+ require_relative "nylas_v2/logging"
28
+ require_relative "nylas_v2/registry"
29
+ require_relative "nylas_v2/types"
30
+ require_relative "nylas_v2/constraints"
31
+
32
+ require_relative "nylas_v2/http_client"
33
+ require_relative "nylas_v2/api"
34
+ require_relative "nylas_v2/collection"
35
+ require_relative "nylas_v2/model"
36
+
37
+ # Attribute types supported by the API
38
+ require_relative "nylas_v2/email_address"
39
+ require_relative "nylas_v2/event"
40
+ require_relative "nylas_v2/file"
41
+ require_relative "nylas_v2/folder"
42
+ require_relative "nylas_v2/im_address"
43
+ require_relative "nylas_v2/label"
44
+ require_relative "nylas_v2/message_headers"
45
+ require_relative "nylas_v2/message_tracking"
46
+ require_relative "nylas_v2/participant"
47
+ require_relative "nylas_v2/physical_address"
48
+ require_relative "nylas_v2/phone_number"
49
+ require_relative "nylas_v2/recurrence"
50
+ require_relative "nylas_v2/rsvp"
51
+ require_relative "nylas_v2/timespan"
52
+ require_relative "nylas_v2/web_page"
53
+ require_relative "nylas_v2/nylas_date"
54
+ require_relative "nylas_v2/when"
55
+ require_relative "nylas_v2/free_busy"
56
+ require_relative "nylas_v2/time_slot"
57
+ require_relative "nylas_v2/time_slot_capacity"
58
+ require_relative "nylas_v2/open_hours"
59
+ require_relative "nylas_v2/event_conferencing"
60
+ require_relative "nylas_v2/event_conferencing_details"
61
+ require_relative "nylas_v2/event_conferencing_autocreate"
62
+ require_relative "nylas_v2/event_notification"
63
+ require_relative "nylas_v2/component"
64
+
65
+ # Custom collection types
66
+ require_relative "nylas_v2/event_collection"
67
+ require_relative "nylas_v2/search_collection"
68
+ require_relative "nylas_v2/deltas_collection"
69
+ require_relative "nylas_v2/free_busy_collection"
70
+ require_relative "nylas_v2/calendar_collection"
71
+ require_relative "nylas_v2/component_collection"
72
+ require_relative "nylas_v2/scheduler_collection"
73
+ require_relative "nylas_v2/job_status_collection"
74
+ require_relative "nylas_v2/outbox"
75
+
76
+ # Models supported by the API
77
+ require_relative "nylas_v2/account"
78
+ require_relative "nylas_v2/calendar"
79
+ require_relative "nylas_v2/contact"
80
+ require_relative "nylas_v2/contact_group"
81
+ require_relative "nylas_v2/current_account"
82
+ require_relative "nylas_v2/deltas"
83
+ require_relative "nylas_v2/delta"
84
+ require_relative "nylas_v2/draft"
85
+ require_relative "nylas_v2/message"
86
+ require_relative "nylas_v2/room_resource"
87
+ require_relative "nylas_v2/new_message"
88
+ require_relative "nylas_v2/raw_message"
89
+ require_relative "nylas_v2/thread"
90
+ require_relative "nylas_v2/webhook"
91
+ require_relative "nylas_v2/scheduler"
92
+ require_relative "nylas_v2/job_status"
93
+ require_relative "nylas_v2/token_info"
94
+ require_relative "nylas_v2/application_details"
95
+ require_relative "nylas_v2/outbox_message"
96
+ require_relative "nylas_v2/outbox_job_status"
97
+ require_relative "nylas_v2/send_grid_verified_status"
98
+
99
+ # Neural specific types
100
+ require_relative "nylas_v2/neural"
101
+ require_relative "nylas_v2/neural_sentiment_analysis"
102
+ require_relative "nylas_v2/neural_ocr"
103
+ require_relative "nylas_v2/neural_categorizer"
104
+ require_relative "nylas_v2/neural_clean_conversation"
105
+ require_relative "nylas_v2/neural_contact_link"
106
+ require_relative "nylas_v2/neural_contact_name"
107
+ require_relative "nylas_v2/neural_signature_contact"
108
+ require_relative "nylas_v2/neural_signature_extraction"
109
+ require_relative "nylas_v2/neural_message_options"
110
+ require_relative "nylas_v2/categorize"
111
+ require_relative "nylas_v2/scheduler_config"
112
+ require_relative "nylas_v2/scheduler_time_slot"
113
+ require_relative "nylas_v2/scheduler_booking_request"
114
+ require_relative "nylas_v2/scheduler_booking_confirmation"
115
+
116
+ require_relative "nylas_v2/native_authentication"
117
+
118
+ require_relative "nylas_v2/filter_attributes"
119
+ # an SDK for interacting with the Nylas API
120
+ # @see https://docs.nylas.com/reference
121
+ module NylasV2
122
+ Types.registry[:account] = Types::ModelType.new(model: Account)
123
+ Types.registry[:calendar] = Types::ModelType.new(model: Calendar)
124
+ Types.registry[:contact] = Types::ModelType.new(model: Contact)
125
+ Types.registry[:delta] = DeltaType.new
126
+ Types.registry[:draft] = Types::ModelType.new(model: Draft)
127
+ Types.registry[:email_address] = Types::ModelType.new(model: EmailAddress)
128
+ Types.registry[:event] = Types::ModelType.new(model: Event)
129
+ Types.registry[:file] = Types::ModelType.new(model: File)
130
+ Types.registry[:folder] = Types::ModelType.new(model: Folder)
131
+ Types.registry[:im_address] = Types::ModelType.new(model: IMAddress)
132
+ Types.registry[:label] = Types::ModelType.new(model: Label)
133
+ Types.registry[:room_resource] = Types::ModelType.new(model: RoomResource)
134
+ Types.registry[:message] = Types::ModelType.new(model: Message)
135
+ Types.registry[:message_headers] = MessageHeadersType.new
136
+ Types.registry[:message_tracking] = Types::ModelType.new(model: MessageTracking)
137
+ Types.registry[:participant] = Types::ModelType.new(model: Participant)
138
+ Types.registry[:physical_address] = Types::ModelType.new(model: PhysicalAddress)
139
+ Types.registry[:phone_number] = Types::ModelType.new(model: PhoneNumber)
140
+ Types.registry[:recurrence] = Types::ModelType.new(model: Recurrence)
141
+ Types.registry[:thread] = Types::ModelType.new(model: Thread)
142
+ Types.registry[:timespan] = Types::ModelType.new(model: Timespan)
143
+ Types.registry[:web_page] = Types::ModelType.new(model: WebPage)
144
+ Types.registry[:nylas_date] = NylasDateType.new
145
+ Types.registry[:contact_group] = Types::ModelType.new(model: ContactGroup)
146
+ Types.registry[:when] = Types::ModelType.new(model: When)
147
+ Types.registry[:time_slot] = Types::ModelType.new(model: TimeSlot)
148
+ Types.registry[:time_slot_capacity] = Types::ModelType.new(model: TimeSlotCapacity)
149
+ Types.registry[:event_conferencing] = Types::ModelType.new(model: EventConferencing)
150
+ Types.registry[:event_conferencing_details] = Types::ModelType.new(model: EventConferencingDetails)
151
+ Types.registry[:event_conferencing_autocreate] = Types::ModelType.new(model: EventConferencingAutocreate)
152
+ Types.registry[:event_notification] = Types::ModelType.new(model: EventNotification)
153
+ Types.registry[:neural] = Types::ModelType.new(model: Neural)
154
+ Types.registry[:categorize] = Types::ModelType.new(model: Categorize)
155
+ Types.registry[:neural_signature_contact] = Types::ModelType.new(model: NeuralSignatureContact)
156
+ Types.registry[:neural_contact_link] = Types::ModelType.new(model: NeuralContactLink)
157
+ Types.registry[:neural_contact_name] = Types::ModelType.new(model: NeuralContactName)
158
+ Types.registry[:scheduler_config] = Types::ModelType.new(model: SchedulerConfig)
159
+ Types.registry[:scheduler_time_slot] = Types::ModelType.new(model: SchedulerTimeSlot)
160
+ Types.registry[:job_status] = Types::ModelType.new(model: JobStatus)
161
+ Types.registry[:outbox_message] = Types::ModelType.new(model: OutboxMessage)
162
+ end
metadata ADDED
@@ -0,0 +1,415 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nylas_v2
3
+ version: !ruby/object:Gem::Version
4
+ version: 5.14.2
5
+ platform: ruby
6
+ authors:
7
+ - Nylas, Inc.
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-05-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 1.3.0
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 1.3.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: yard
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.9.0
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.9.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: awesome_print
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 1.24.1
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 1.24.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop-rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 2.7.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 2.7.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: tzinfo
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 2.0.5
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 2.0.5
97
+ - !ruby/object:Gem::Dependency
98
+ name: overcommit
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.41'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.41'
111
+ - !ruby/object:Gem::Dependency
112
+ name: pry
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.10.4
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 0.10.4
125
+ - !ruby/object:Gem::Dependency
126
+ name: pry-nav
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.2.4
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 0.2.4
139
+ - !ruby/object:Gem::Dependency
140
+ name: pry-stack_explorer
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 0.4.9
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 0.4.9
153
+ - !ruby/object:Gem::Dependency
154
+ name: rspec
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '3.7'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '3.7'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rspec-json_matcher
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '0.1'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '0.1'
181
+ - !ruby/object:Gem::Dependency
182
+ name: webmock
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '3.0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '3.0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: faker
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: '1.8'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: '1.8'
209
+ - !ruby/object:Gem::Dependency
210
+ name: informed
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: '1.0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "~>"
221
+ - !ruby/object:Gem::Version
222
+ version: '1.0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: simplecov
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: 0.21.2
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - "~>"
235
+ - !ruby/object:Gem::Version
236
+ version: 0.21.2
237
+ - !ruby/object:Gem::Dependency
238
+ name: simplecov-cobertura
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - "~>"
242
+ - !ruby/object:Gem::Version
243
+ version: 2.1.0
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: 2.1.0
251
+ - !ruby/object:Gem::Dependency
252
+ name: rest-client
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - ">="
256
+ - !ruby/object:Gem::Version
257
+ version: '2.0'
258
+ - - "<"
259
+ - !ruby/object:Gem::Version
260
+ version: '3.0'
261
+ type: :runtime
262
+ prerelease: false
263
+ version_requirements: !ruby/object:Gem::Requirement
264
+ requirements:
265
+ - - ">="
266
+ - !ruby/object:Gem::Version
267
+ version: '2.0'
268
+ - - "<"
269
+ - !ruby/object:Gem::Version
270
+ version: '3.0'
271
+ - !ruby/object:Gem::Dependency
272
+ name: yajl-ruby
273
+ requirement: !ruby/object:Gem::Requirement
274
+ requirements:
275
+ - - "~>"
276
+ - !ruby/object:Gem::Version
277
+ version: '1.2'
278
+ - - ">="
279
+ - !ruby/object:Gem::Version
280
+ version: 1.2.1
281
+ type: :runtime
282
+ prerelease: false
283
+ version_requirements: !ruby/object:Gem::Requirement
284
+ requirements:
285
+ - - "~>"
286
+ - !ruby/object:Gem::Version
287
+ version: '1.2'
288
+ - - ">="
289
+ - !ruby/object:Gem::Version
290
+ version: 1.2.1
291
+ description: A fork of the nylas gem for interacting with the Nylas V2 API.
292
+ email: support@nylas.com
293
+ executables: []
294
+ extensions: []
295
+ extra_rdoc_files: []
296
+ files:
297
+ - lib/nylas_v2.rb
298
+ - lib/nylas_v2/account.rb
299
+ - lib/nylas_v2/api.rb
300
+ - lib/nylas_v2/application_details.rb
301
+ - lib/nylas_v2/calendar.rb
302
+ - lib/nylas_v2/calendar_collection.rb
303
+ - lib/nylas_v2/categorize.rb
304
+ - lib/nylas_v2/collection.rb
305
+ - lib/nylas_v2/component.rb
306
+ - lib/nylas_v2/component_collection.rb
307
+ - lib/nylas_v2/constraints.rb
308
+ - lib/nylas_v2/contact.rb
309
+ - lib/nylas_v2/contact_group.rb
310
+ - lib/nylas_v2/current_account.rb
311
+ - lib/nylas_v2/delta.rb
312
+ - lib/nylas_v2/deltas.rb
313
+ - lib/nylas_v2/deltas_collection.rb
314
+ - lib/nylas_v2/draft.rb
315
+ - lib/nylas_v2/email_address.rb
316
+ - lib/nylas_v2/errors.rb
317
+ - lib/nylas_v2/event.rb
318
+ - lib/nylas_v2/event_collection.rb
319
+ - lib/nylas_v2/event_conferencing.rb
320
+ - lib/nylas_v2/event_conferencing_autocreate.rb
321
+ - lib/nylas_v2/event_conferencing_details.rb
322
+ - lib/nylas_v2/event_notification.rb
323
+ - lib/nylas_v2/file.rb
324
+ - lib/nylas_v2/filter_attributes.rb
325
+ - lib/nylas_v2/folder.rb
326
+ - lib/nylas_v2/free_busy.rb
327
+ - lib/nylas_v2/free_busy_collection.rb
328
+ - lib/nylas_v2/http_client.rb
329
+ - lib/nylas_v2/im_address.rb
330
+ - lib/nylas_v2/job_status.rb
331
+ - lib/nylas_v2/job_status_collection.rb
332
+ - lib/nylas_v2/label.rb
333
+ - lib/nylas_v2/logging.rb
334
+ - lib/nylas_v2/message.rb
335
+ - lib/nylas_v2/message_headers.rb
336
+ - lib/nylas_v2/message_tracking.rb
337
+ - lib/nylas_v2/model.rb
338
+ - lib/nylas_v2/model/attributable.rb
339
+ - lib/nylas_v2/model/attribute_definition.rb
340
+ - lib/nylas_v2/model/attributes.rb
341
+ - lib/nylas_v2/model/list_attribute_definition.rb
342
+ - lib/nylas_v2/model/transferable.rb
343
+ - lib/nylas_v2/native_authentication.rb
344
+ - lib/nylas_v2/neural.rb
345
+ - lib/nylas_v2/neural_categorizer.rb
346
+ - lib/nylas_v2/neural_clean_conversation.rb
347
+ - lib/nylas_v2/neural_contact_link.rb
348
+ - lib/nylas_v2/neural_contact_name.rb
349
+ - lib/nylas_v2/neural_message_options.rb
350
+ - lib/nylas_v2/neural_ocr.rb
351
+ - lib/nylas_v2/neural_sentiment_analysis.rb
352
+ - lib/nylas_v2/neural_signature_contact.rb
353
+ - lib/nylas_v2/neural_signature_extraction.rb
354
+ - lib/nylas_v2/new_message.rb
355
+ - lib/nylas_v2/nylas_date.rb
356
+ - lib/nylas_v2/open_hours.rb
357
+ - lib/nylas_v2/outbox.rb
358
+ - lib/nylas_v2/outbox_job_status.rb
359
+ - lib/nylas_v2/outbox_message.rb
360
+ - lib/nylas_v2/participant.rb
361
+ - lib/nylas_v2/phone_number.rb
362
+ - lib/nylas_v2/physical_address.rb
363
+ - lib/nylas_v2/raw_message.rb
364
+ - lib/nylas_v2/recurrence.rb
365
+ - lib/nylas_v2/registry.rb
366
+ - lib/nylas_v2/room_resource.rb
367
+ - lib/nylas_v2/rsvp.rb
368
+ - lib/nylas_v2/scheduler.rb
369
+ - lib/nylas_v2/scheduler_booking_confirmation.rb
370
+ - lib/nylas_v2/scheduler_booking_request.rb
371
+ - lib/nylas_v2/scheduler_collection.rb
372
+ - lib/nylas_v2/scheduler_config.rb
373
+ - lib/nylas_v2/scheduler_time_slot.rb
374
+ - lib/nylas_v2/search_collection.rb
375
+ - lib/nylas_v2/send_grid_verified_status.rb
376
+ - lib/nylas_v2/thread.rb
377
+ - lib/nylas_v2/time_slot.rb
378
+ - lib/nylas_v2/time_slot_capacity.rb
379
+ - lib/nylas_v2/timespan.rb
380
+ - lib/nylas_v2/token_info.rb
381
+ - lib/nylas_v2/types.rb
382
+ - lib/nylas_v2/version.rb
383
+ - lib/nylas_v2/web_page.rb
384
+ - lib/nylas_v2/webhook.rb
385
+ - lib/nylas_v2/when.rb
386
+ homepage:
387
+ licenses:
388
+ - MIT
389
+ metadata:
390
+ bug_tracker_uri: https://github.com/nylas_v2/nylas-ruby/issues
391
+ changelog_uri: https://github.com/nylas_v2/nylas-ruby/blob/master/CHANGELOG.md
392
+ documentation_uri: http://www.rubydoc.info/gems/nylas
393
+ homepage_uri: https://www.nylas.com
394
+ source_code_uri: https://github.com/nylas_v2/nylas-ruby
395
+ wiki_uri: https://github.com/nylas_v2/nylas-ruby/wiki
396
+ post_install_message:
397
+ rdoc_options: []
398
+ require_paths:
399
+ - lib
400
+ required_ruby_version: !ruby/object:Gem::Requirement
401
+ requirements:
402
+ - - ">="
403
+ - !ruby/object:Gem::Version
404
+ version: '2.3'
405
+ required_rubygems_version: !ruby/object:Gem::Requirement
406
+ requirements:
407
+ - - ">="
408
+ - !ruby/object:Gem::Version
409
+ version: '0'
410
+ requirements: []
411
+ rubygems_version: 3.2.33
412
+ signing_key:
413
+ specification_version: 4
414
+ summary: A fork of the nylas gem for interacting with the Nylas V2 API
415
+ test_files: []