checkoff 0.230.0 → 0.231.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/checkoff.rbs CHANGED
@@ -1,432 +1,3 @@
1
- class ENV
2
- # _@param_ `key`
3
- #
4
- # _@param_ `default`
5
- def self.fetch: (String key, ?Object default) -> (String | Symbol)?
6
-
7
- # _@param_ `key`
8
- def self.[]: (String key) -> Object?
9
-
10
- # _@param_ `key`
11
- #
12
- # _@param_ `value`
13
- def self.[]=: (String key, Object? value) -> Object?
14
- end
15
-
16
- module Bundler
17
- # _@param_ `groups`
18
- def self.require: (*::Array[Symbol] groups) -> void
19
- end
20
-
21
- module OpenSSL
22
- module SSL
23
- VERIFY_PEER: untyped
24
- VERIFY_NONE: untyped
25
- end
26
- end
27
-
28
- class Time
29
- # _@param_ `time`
30
- #
31
- # _@param_ `now`
32
- def self.parse: (String time, ?Time? now) -> Time
33
-
34
- # https://ruby-doc.org/3.2.2/exts/date/Time.html#method-i-to_date#
35
- def to_date: () -> Date
36
- end
37
-
38
- class Date
39
- # _@param_ `date`
40
- #
41
- # _@param_ `comp`
42
- #
43
- # _@param_ `state`
44
- def self.parse: (?String date, ?bool comp, ?Object state) -> Date
45
-
46
- # _@param_ `start`
47
- def self.today: (?Integer start) -> Date
48
- end
49
-
50
- # Monkeypatches Asana::Resources::Resource so that Ruby marshalling and
51
- # unmarshalling works on Asana resource classes. Currently, it will
52
- # work unless you call an accessor method, which triggers Asana's
53
- # client library Resource class' method_missing() to "cache" the
54
- # result by creating a singleton method. Unfortunately, singleton
55
- # methods break marshalling, which is not smart enough to know that it
56
- # is not necessary to marshall them as they will simply be recreated
57
- # when needed.
58
- module Asana
59
- include Asana::Resources
60
-
61
- class Client
62
- def tags: () -> Asana::ProxiedResourceClasses::Tag
63
-
64
- def tasks: () -> Asana::ProxiedResourceClasses::Task
65
-
66
- def workspaces: () -> Asana::ProxiedResourceClasses::Workspace
67
-
68
- def sections: () -> Asana::ProxiedResourceClasses::Section
69
-
70
- def projects: () -> Asana::ProxiedResourceClasses::Project
71
-
72
- def user_task_lists: () -> Asana::ProxiedResourceClasses::UserTaskList
73
-
74
- def portfolios: () -> Asana::ProxiedResourceClasses::Portfolio
75
-
76
- def users: () -> Asana::ProxiedResourceClasses::User
77
-
78
- def custom_fields: () -> Asana::ProxiedResourceClasses::CustomField
79
-
80
- # sord warn - Asana::HttpClient::Response wasn't able to be resolved to a constant in this project
81
- # Performs a GET request against an arbitrary Asana URL. Allows for
82
- # the user to interact with the API in ways that haven't been
83
- # reflected/foreseen in this library.
84
- #
85
- # _@param_ `args` — the request I/O options
86
- #
87
- # _@param_ `url`
88
- def get: (String url, **Object args) -> Asana::HttpClient::Response
89
- end
90
-
91
- # Monkeypatches:
92
- #
93
- # https://github.com/Asana/ruby-asana/blob/master/lib/asana
94
- module Resources
95
- # https://developers.asana.com/reference/gettask
96
- class Task
97
- def resource_subtype: () -> String
98
-
99
- def is_rendered_as_separator: () -> bool?
100
-
101
- def due_at: () -> String?
102
-
103
- def due_on: () -> String?
104
-
105
- def name: () -> String?
106
-
107
- def assignee: () -> ::Hash[String, String]?
108
-
109
- def html_notes: () -> String?
110
-
111
- def memberships: () -> ::Array[::Hash[String, ::Hash[String, String]]]
112
-
113
- # _@param_ `client`
114
- #
115
- # _@param_ `assignee`
116
- #
117
- # _@param_ `workspace`
118
- #
119
- # _@param_ `name`
120
- def self.create: (
121
- Asana::Client client,
122
- assignee: String,
123
- workspace: String,
124
- name: String
125
- ) -> Asana::Resources::Task
126
-
127
- def assignee_section: () -> (::Hash[untyped, untyped] | Asana::Resources::Section)
128
- end
129
-
130
- class Section
131
- def name: () -> String?
132
- end
133
-
134
- class Project
135
- def name: () -> String?
136
-
137
- def due_date: () -> String?
138
- end
139
-
140
- class Portfolio
141
- # _@param_ `options` — the request I/O options
142
- def get_items: (?::Hash[untyped, untyped] options) -> ::Enumerable[Asana::Resources::Project]
143
- end
144
-
145
- class Workspace
146
- def html_notes: () -> String?
147
-
148
- # _@param_ `client`
149
- #
150
- # _@param_ `id`
151
- #
152
- # _@param_ `options`
153
- def self.find_by_id: (Asana::Client client, String id, ?options: ::Hash[untyped, untyped]) -> Asana::Resources::Workspace
154
- end
155
-
156
- # Public: The base resource class which provides some sugar over common
157
- # resource functionality.
158
- class Resource
159
- def marshal_dump: () -> ::Hash[untyped, untyped]
160
-
161
- # _@param_ `data`
162
- def marshal_load: (::Hash[untyped, untyped] data) -> void
163
- end
164
- end
165
-
166
- module Errors
167
- class NotFound < Asana::Errors::APIError
168
- end
169
- end
170
-
171
- module ProxiedResourceClasses
172
- class CustomField
173
- # sord warn - Asana::Resources::CustomField wasn't able to be resolved to a constant in this project
174
- # Get a workspace's custom fields
175
- #
176
- # _@param_ `workspace_gid` — (required) Globally unique identifier for the workspace or organization.
177
- #
178
- # _@param_ `options` — the request I/O options
179
- def get_custom_fields_for_workspace: (?workspace_gid: String, ?options: ::Hash[untyped, untyped]) -> ::Enumerable[Asana::Resources::CustomField]
180
- end
181
-
182
- class Tag
183
- # sord warn - Asana::Resources::Tag wasn't able to be resolved to a constant in this project
184
- # Get tags in a workspace
185
- #
186
- # > offset - [str] Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. 'Note: You can only pass in an offset that was returned to you via a previously paginated request.'
187
- # > limit - [int] Results per page. The number of objects to return per page. The value must be between 1 and 100.
188
- # > opt_fields - [list[str]] Defines fields to return. Some requests return *compact* representations of objects in order to conserve resources and complete the request more efficiently. Other times requests return more information than you may need. This option allows you to list the exact set of fields that the API should be sure to return for the objects. The field names should be provided as paths, described below. The id of included objects will always be returned, regardless of the field options.
189
- # > opt_pretty - [bool] Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
190
- #
191
- # _@param_ `workspace_gid` — (required) Globally unique identifier for the workspace or organization.
192
- #
193
- # _@param_ `options` — the request I/O options
194
- def get_tags_for_workspace: (workspace_gid: String, ?options: ::Hash[untyped, untyped]) -> ::Enumerable[Asana::Resources::Tag]
195
- end
196
-
197
- class Task
198
- # Get subtasks from a task
199
- #
200
- # > offset - [str] Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. 'Note: You can only pass in an offset that was returned to you via a previously paginated request.'
201
- # > limit - [int] Results per page. The number of objects to return per page. The value must be between 1 and 100.
202
- # > opt_fields - [list[str]] Defines fields to return. Some requests return *compact* representations of objects in order to conserve resources and complete the request more efficiently. Other times requests return more information than you may need. This option allows you to list the exact set of fields that the API should be sure to return for the objects. The field names should be provided as paths, described below. The id of included objects will always be returned, regardless of the field options.
203
- # > opt_pretty - [bool] Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
204
- #
205
- # _@param_ `task_gid` — (required) The task to operate on.
206
- #
207
- # _@param_ `options` — the request I/O options
208
- def get_subtasks_for_task: (?task_gid: String, ?options: ::Hash[untyped, untyped]) -> ::Enumerable[Asana::Resources::Task]
209
-
210
- # Returns the complete task record for a single task.
211
- #
212
- # _@param_ `id` — The task to get.
213
- #
214
- # _@param_ `options` — the request I/O options.
215
- def find_by_id: (String id, ?options: ::Hash[untyped, untyped]) -> Asana::Resources::Task
216
-
217
- # Returns the compact task records for some filtered set of tasks. Use one
218
- # or more of the parameters provided to filter the tasks returned. You must
219
- # specify a `project`, `section`, `tag`, or `user_task_list` if you do not
220
- # specify `assignee` and `workspace`.
221
- #
222
- # completed since this time.
223
- #
224
- # Notes:
225
- #
226
- # If you specify `assignee`, you must also specify the `workspace` to filter on.
227
- #
228
- # If you specify `workspace`, you must also specify the `assignee` to filter on.
229
- #
230
- # Currently, this is only supported in board views.
231
- #
232
- # A task is considered "modified" if any of its properties change,
233
- # or associations between it and other objects are modified (e.g.
234
- # a task being added to a project). A task is not considered modified
235
- # just because another object it is associated with (e.g. a subtask)
236
- # is modified. Actions that count as modifying the task include
237
- # assigning, renaming, completing, and adding stories.
238
- #
239
- # _@param_ `assignee` — The assignee to filter tasks on.
240
- #
241
- # _@param_ `workspace` — The workspace or organization to filter tasks on.
242
- #
243
- # _@param_ `project` — The project to filter tasks on.
244
- #
245
- # _@param_ `section` — The section to filter tasks on.
246
- #
247
- # _@param_ `tag` — The tag to filter tasks on.
248
- #
249
- # _@param_ `user_task_list` — The user task list to filter tasks on.
250
- #
251
- # _@param_ `completed_since` — Only return tasks that are either incomplete or that have been
252
- #
253
- # _@param_ `modified_since` — Only return tasks that have been modified since the given time.
254
- #
255
- # _@param_ `per_page` — the number of records to fetch per page.
256
- #
257
- # _@param_ `options` — the request I/O options.
258
- def find_all: (
259
- ?assignee: String?,
260
- ?workspace: String?,
261
- ?project: String?,
262
- ?section: String?,
263
- ?tag: String?,
264
- ?user_task_list: String?,
265
- ?completed_since: String?,
266
- ?modified_since: String?,
267
- ?per_page: Integer,
268
- ?options: ::Hash[untyped, untyped]
269
- ) -> ::Enumerable[Asana::Resources::Task]
270
-
271
- # _@param_ `assignee`
272
- #
273
- # _@param_ `project`
274
- #
275
- # _@param_ `section`
276
- #
277
- # _@param_ `workspace`
278
- #
279
- # _@param_ `completed_since`
280
- #
281
- # _@param_ `per_page`
282
- #
283
- # _@param_ `modified_since`
284
- #
285
- # _@param_ `section`
286
- #
287
- # _@param_ `options` — the request I/O options.
288
- def get_tasks: (
289
- ?assignee: String?,
290
- ?project: String?,
291
- ?section: String?,
292
- ?workspace: String?,
293
- ?completed_since: Time?,
294
- ?per_page: Integer,
295
- ?modified_since: Time?,
296
- ?options: ::Hash[untyped, untyped]
297
- ) -> ::Enumerable[Asana::Resources::Task]
298
- end
299
-
300
- class Workspace
301
- def find_all: () -> ::Enumerable[Asana::Resources::Workspace]
302
- end
303
-
304
- class Section
305
- # _@param_ `project_gid`
306
- #
307
- # _@param_ `options`
308
- def get_sections_for_project: (project_gid: String, ?options: ::Hash[untyped, untyped]) -> ::Enumerable[Asana::Resources::Section]
309
-
310
- # Returns the complete record for a single section.
311
- #
312
- # _@param_ `id` — - The section to get.
313
- #
314
- # _@param_ `options` — - the request I/O options.
315
- def find_by_id: (String id, ?options: ::Hash[untyped, untyped]) -> Asana::Resources::Section
316
- end
317
-
318
- class Project
319
- # Returns the compact project records for all projects in the workspace.
320
- #
321
- # Filters results to include only template projects.
322
- #
323
- # this parameter.
324
- #
325
- # _@param_ `workspace` — The workspace or organization to find projects in.
326
- #
327
- # _@param_ `is_template` — **Note: This parameter can only be included if a team is also defined, or the workspace is not an organization**
328
- #
329
- # _@param_ `archived` — Only return projects whose `archived` field takes on the value of
330
- #
331
- # _@param_ `per_page` — the number of records to fetch per page.
332
- #
333
- # _@param_ `options` — the request I/O options.
334
- def find_by_workspace: (
335
- ?workspace: String,
336
- ?is_template: bool?,
337
- ?archived: bool?,
338
- ?per_page: Integer,
339
- ?options: ::Hash[untyped, untyped]
340
- ) -> ::Enumerable[Asana::Resources::Project]
341
-
342
- # Returns the complete project record for a single project.
343
- #
344
- # _@param_ `id` — The project to get.
345
- #
346
- # _@param_ `options` — the request I/O options.
347
- def find_by_id: (String id, ?options: ::Hash[untyped, untyped]) -> Asana::Resources::Project
348
- end
349
-
350
- class UserTaskList
351
- # sord warn - Asana::Resources::UserTaskList wasn't able to be resolved to a constant in this project
352
- # _@param_ `user_gid` — (required) A string identifying a user. This can either be the string \"me\", an email, or the gid of a user.
353
- #
354
- # _@param_ `workspace` — (required) The workspace in which to get the user task list.
355
- #
356
- # _@param_ `options` — the request I/O options
357
- def get_user_task_list_for_user: (user_gid: String, ?workspace: String?, ?options: ::Hash[untyped, untyped]) -> Asana::Resources::UserTaskList
358
- end
359
-
360
- class Portfolio
361
- # Returns a list of the portfolios in compact representation that are owned
362
- # by the current API user.
363
- #
364
- # list of portfolios that they themselves own.
365
- #
366
- # _@param_ `workspace` — The workspace or organization to filter portfolios on.
367
- #
368
- # _@param_ `owner` — The user who owns the portfolio. Currently, API users can only get a
369
- #
370
- # _@param_ `per_page` — the number of records to fetch per page.
371
- #
372
- # _@param_ `options` — the request I/O options.
373
- def find_all: (
374
- ?workspace: String,
375
- ?owner: String,
376
- ?per_page: Integer,
377
- ?options: ::Hash[untyped, untyped]
378
- ) -> ::Enumerable[Asana::Resources::Portfolio]
379
-
380
- def find_by_id: (untyped id, ?options: untyped) -> Asana::Resources::Portfolio?
381
-
382
- # Get portfolio items
383
- #
384
- # _@param_ `portfolio_gid` — (required) Globally unique identifier for the portfolio.
385
- #
386
- # _@param_ `options` — the request I/O options
387
- def get_items_for_portfolio: (?portfolio_gid: String, ?options: ::Hash[untyped, untyped]) -> ::Enumerable[Asana::Resources::Project]
388
- end
389
-
390
- class User
391
- # sord warn - Asana::Resources::User wasn't able to be resolved to a constant in this project
392
- # Returns the full user record for the currently authenticated user.
393
- #
394
- # _@param_ `options` — the request I/O options.
395
- def me: (?options: ::Hash[untyped, untyped]) -> Asana::Resources::User
396
- end
397
- end
398
- end
399
-
400
- module T
401
- # sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
402
- # sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
403
- # _@param_ `type`
404
- def self.nilable: ((T::Types::Base | singleton(Object)) _type) -> T::Types::Base
405
-
406
- # sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
407
- # _@param_ `obj`
408
- #
409
- # _@param_ `type`
410
- def self.let: (BasicObject obj, (T::Types::Base | singleton(Object)) _type) -> BasicObject
411
-
412
- # sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
413
- def self.untyped: () -> T::Types::Base
414
-
415
- # sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
416
- # sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
417
- # _@param_ `type`
418
- def nilable: ((T::Types::Base | singleton(Object)) _type) -> T::Types::Base
419
-
420
- # _@param_ `o`
421
- #
422
- # _@param_ `type`
423
- def let: (T o, singleton(T) _type) -> T
424
-
425
- class Struct
426
- extend T::Props::ClassMethods
427
- end
428
- end
429
-
430
1
  # Command-line and gem client for Asana (unofficial)
431
2
  module Checkoff
432
3
  VERSION: untyped
@@ -485,6 +56,9 @@ module Checkoff
485
56
  ?logger: IO
486
57
  ) -> void
487
58
 
59
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
60
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
61
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
488
62
  # _@param_ `tasks`
489
63
  #
490
64
  # _@param_ `to_project`
@@ -492,6 +66,7 @@ module Checkoff
492
66
  # _@param_ `to_section`
493
67
  def move_tasks: (::Enumerable[Asana::Resources::Task] tasks, Asana::Resources::Project to_project, Asana::Resources::Section to_section) -> void
494
68
 
69
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
495
70
  # _@param_ `from_workspace_name`
496
71
  #
497
72
  # _@param_ `from_project_name`
@@ -591,11 +166,13 @@ module Checkoff
591
166
  String task_name
592
167
  ) -> String
593
168
 
169
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
594
170
  # sord warn - undefined is probably not a type, but using anyway
595
171
  # sord warn - undefined wasn't able to be resolved to a constant in this project
596
172
  # _@param_ `task`
597
173
  def task_to_hash: (Asana::Resources::Task task) -> ::Hash[Symbol, undefined]
598
174
 
175
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
599
176
  # _@param_ `tasks`
600
177
  def tasks_to_hash: (::Enumerable[Asana::Resources::Task] tasks) -> ::Array[::Hash[untyped, untyped]]
601
178
 
@@ -664,6 +241,7 @@ module Checkoff
664
241
  LONG_CACHE_TIME: untyped
665
242
  SHORT_CACHE_TIME: untyped
666
243
 
244
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
667
245
  # _@param_ `config`
668
246
  #
669
247
  # _@param_ `clients`
@@ -681,6 +259,7 @@ module Checkoff
681
259
  ?workspaces: Checkoff::Workspaces
682
260
  ) -> void
683
261
 
262
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
684
263
  # _@param_ `workspace_name`
685
264
  #
686
265
  # _@param_ `tag_name`
@@ -695,6 +274,7 @@ module Checkoff
695
274
  ?extra_fields: ::Array[String]
696
275
  ) -> ::Enumerable[Asana::Resources::Task]
697
276
 
277
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
698
278
  # _@param_ `workspace_name`
699
279
  #
700
280
  # _@param_ `tag_gid`
@@ -740,6 +320,7 @@ module Checkoff
740
320
 
741
321
  attr_reader projects: Checkoff::Projects
742
322
 
323
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
743
324
  attr_reader client: Asana::Client
744
325
  end
745
326
 
@@ -754,6 +335,8 @@ module Checkoff
754
335
  LONG_CACHE_TIME: untyped
755
336
  SHORT_CACHE_TIME: untyped
756
337
 
338
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
339
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
757
340
  # _@param_ `config`
758
341
  #
759
342
  # _@param_ `client`
@@ -783,6 +366,7 @@ module Checkoff
783
366
  ?asana_task: singleton(Asana::Resources::Task)
784
367
  ) -> void
785
368
 
369
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
786
370
  # Indicates a task is ready for a person to work on it. This is
787
371
  # subtly different than what is used by Asana to mark a date as
788
372
  # red/green! A task is ready if it is not dependent on an
@@ -800,6 +384,7 @@ module Checkoff
800
384
  # _@param_ `ignore_dependencies`
801
385
  def task_ready?: (Asana::Resources::Task task, ?period: Symbol, ?ignore_dependencies: bool) -> bool
802
386
 
387
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
803
388
  # _@param_ `task`
804
389
  #
805
390
  # _@param_ `field_name`
@@ -807,11 +392,13 @@ module Checkoff
807
392
  # _@param_ `period` — :now_or_before, :this_week - See Checkoff::Timing#in_period?_
808
393
  def in_period?: (Asana::Resources::Task task, (Symbol | ::Array[untyped]) field_name, (Symbol | ::Array[untyped]) period) -> bool
809
394
 
395
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
810
396
  # _@param_ `task`
811
397
  #
812
398
  # _@param_ `field_name` — :start - start_at or start_on (first set) :due - due_at or due_on (first set) :ready - start_at or start_on or due_at or due_on (first set) :modified - modified_at [:custom_field, "foo"] - 'Date' custom field type named 'foo'
813
399
  def date_or_time_field_by_name: (Asana::Resources::Task task, (Symbol | ::Array[untyped]) field_name) -> (Date | Time)?
814
400
 
401
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
815
402
  # Pull a specific task by name
816
403
  #
817
404
  # @sg-ignore
@@ -852,6 +439,7 @@ module Checkoff
852
439
  String task_name
853
440
  ) -> String?
854
441
 
442
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
855
443
  # Pull a specific task by GID
856
444
  #
857
445
  # _@param_ `task_gid`
@@ -861,6 +449,7 @@ module Checkoff
861
449
  # _@param_ `only_uncompleted`
862
450
  def task_by_gid: (String task_gid, ?extra_fields: ::Array[String], ?only_uncompleted: bool) -> Asana::Resources::Task?
863
451
 
452
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
864
453
  # Add a task
865
454
  #
866
455
  # _@param_ `name`
@@ -870,6 +459,7 @@ module Checkoff
870
459
  # _@param_ `assignee_gid`
871
460
  def add_task: (String name, ?workspace_gid: String, ?assignee_gid: String) -> Asana::Resources::Task
872
461
 
462
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
873
463
  # Return user-accessible URL for a task
874
464
  #
875
465
  # _@param_ `task`
@@ -877,6 +467,7 @@ module Checkoff
877
467
  # _@return_ — end-user URL to the task in question
878
468
  def url_of_task: (Asana::Resources::Task task) -> String
879
469
 
470
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
880
471
  # True if any of the task's dependencies are marked incomplete
881
472
  #
882
473
  # Include 'dependencies.gid' in extra_fields of task passed in.
@@ -884,11 +475,14 @@ module Checkoff
884
475
  # _@param_ `task`
885
476
  def incomplete_dependencies?: (Asana::Resources::Task task) -> bool
886
477
 
478
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
479
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
887
480
  # _@param_ `task`
888
481
  #
889
482
  # _@param_ `extra_task_fields`
890
483
  def all_dependent_tasks: (Asana::Resources::Task task, ?extra_task_fields: ::Array[String]) -> ::Array[Asana::Resources::Task]
891
484
 
485
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
892
486
  # Builds on the standard API representation of an Asana task with some
893
487
  # convenience keys:
894
488
  #
@@ -903,9 +497,11 @@ module Checkoff
903
497
  # _@param_ `task`
904
498
  def task_to_h: (Asana::Resources::Task task) -> ::Hash[untyped, untyped]
905
499
 
500
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
906
501
  # _@param_ `task_data`
907
502
  def h_to_task: (::Hash[untyped, untyped] task_data) -> Asana::Resources::Task
908
503
 
504
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
909
505
  # True if the task is in a project which is in the given portfolio
910
506
  #
911
507
  # _@param_ `task`
@@ -915,6 +511,7 @@ module Checkoff
915
511
  # _@param_ `workspace_name`
916
512
  def in_portfolio_named?: (Asana::Resources::Task task, String portfolio_name, ?workspace_name: String) -> bool
917
513
 
514
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
918
515
  # True if the task is in a project which is in the given portfolio
919
516
  #
920
517
  # _@param_ `task`
@@ -930,6 +527,7 @@ module Checkoff
930
527
 
931
528
  def task_hashes: () -> Checkoff::Internal::TaskHashes
932
529
 
530
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
933
531
  # _@param_ `workspace_name`
934
532
  #
935
533
  # _@param_ `project_name`
@@ -973,6 +571,7 @@ module Checkoff
973
571
  # @sg-ignore
974
572
  def log_level: () -> Symbol
975
573
 
574
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
976
575
  attr_reader client: Asana::Client
977
576
 
978
577
  attr_reader timing: Checkoff::Timing
@@ -991,6 +590,7 @@ module Checkoff
991
590
  LONG_CACHE_TIME: untyped
992
591
  SHORT_CACHE_TIME: untyped
993
592
 
593
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
994
594
  # _@param_ `config`
995
595
  #
996
596
  # _@param_ `workspaces`
@@ -1070,6 +670,7 @@ module Checkoff
1070
670
 
1071
671
  attr_reader workspaces: Checkoff::Workspaces
1072
672
 
673
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1073
674
  attr_reader client: Asana::Client
1074
675
 
1075
676
  attr_reader asana_event_enrichment: Checkoff::Internal::AsanaEventEnrichment
@@ -1183,11 +784,13 @@ module Checkoff
1183
784
  LONG_CACHE_TIME: untyped
1184
785
  SHORT_CACHE_TIME: untyped
1185
786
 
787
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1186
788
  # _@param_ `config`
1187
789
  #
1188
790
  # _@param_ `asana_client_class`
1189
791
  def initialize: (?config: (::Hash[untyped, untyped] | Checkoff::Internal::EnvFallbackConfigLoader), ?asana_client_class: singleton(Asana::Client)) -> void
1190
792
 
793
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1191
794
  def client: () -> Asana::Client
1192
795
 
1193
796
  def self.run: () -> void
@@ -1199,6 +802,7 @@ module Checkoff
1199
802
  LONG_CACHE_TIME: untyped
1200
803
  SHORT_CACHE_TIME: untyped
1201
804
 
805
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1202
806
  # _@param_ `config`
1203
807
  #
1204
808
  # _@param_ `client`
@@ -1206,6 +810,8 @@ module Checkoff
1206
810
  # _@param_ `projects`
1207
811
  def initialize: (?config: (Checkoff::Internal::EnvFallbackConfigLoader | ::Hash[untyped, untyped]), ?client: Asana::Client, ?projects: Checkoff::Projects) -> void
1208
812
 
813
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
814
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1209
815
  # Given a 'My Tasks' project object, pull all tasks, then provide
1210
816
  # a Hash of tasks with section name -> task list of the
1211
817
  # uncompleted tasks.
@@ -1220,6 +826,8 @@ module Checkoff
1220
826
  # _@param_ `name`
1221
827
  def section_key: (String name) -> String?
1222
828
 
829
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
830
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1223
831
  # Given a list of tasks in 'My Tasks', pull a Hash of tasks with
1224
832
  # section name -> task list
1225
833
  #
@@ -1230,6 +838,7 @@ module Checkoff
1230
838
 
1231
839
  attr_reader projects: Checkoff::Projects
1232
840
 
841
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1233
842
  attr_reader client: Asana::Client
1234
843
  end
1235
844
 
@@ -1245,6 +854,7 @@ module Checkoff
1245
854
  MEDIUM_CACHE_TIME: untyped
1246
855
  SHORT_CACHE_TIME: untyped
1247
856
 
857
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1248
858
  # _@param_ `config`
1249
859
  #
1250
860
  # _@param_ `client`
@@ -1285,6 +895,7 @@ module Checkoff
1285
895
  # _@param_ `extra_project_fields`
1286
896
  def project_options: (?extra_project_fields: ::Array[String]) -> ::Hash[Symbol, Object]
1287
897
 
898
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1288
899
  # pulls an Asana API project class given a name
1289
900
  #
1290
901
  # _@param_ `workspace_name`
@@ -1294,6 +905,7 @@ module Checkoff
1294
905
  # _@param_ `extra_fields`
1295
906
  def project: (String workspace_name, (String | Symbol) project_name, ?extra_fields: ::Array[String]) -> Asana::Resources::Project?
1296
907
 
908
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1297
909
  # _@param_ `workspace_name`
1298
910
  #
1299
911
  # _@param_ `project_name` — - :my_tasks or a project name
@@ -1301,16 +913,21 @@ module Checkoff
1301
913
  # _@param_ `extra_fields`
1302
914
  def project_or_raise: (String workspace_name, (String | Symbol) project_name, ?extra_fields: ::Array[String]) -> Asana::Resources::Project
1303
915
 
916
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1304
917
  # _@param_ `gid`
1305
918
  #
1306
919
  # _@param_ `extra_fields`
1307
920
  def project_by_gid: (String gid, ?extra_fields: ::Array[String]) -> Asana::Resources::Project?
1308
921
 
922
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
923
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1309
924
  # find uncompleted tasks in a list
1310
925
  #
1311
926
  # _@param_ `tasks`
1312
927
  def active_tasks: (::Enumerable[Asana::Resources::Task] tasks) -> ::Enumerable[Asana::Resources::Task]
1313
928
 
929
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
930
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1314
931
  # Pull task objects from a named project
1315
932
  #
1316
933
  # _@param_ `project`
@@ -1320,6 +937,7 @@ module Checkoff
1320
937
  # _@param_ `extra_fields`
1321
938
  def tasks_from_project: (Asana::Resources::Project project, ?only_uncompleted: bool, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Task]
1322
939
 
940
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1323
941
  # Pull task objects from a project identified by a gid
1324
942
  #
1325
943
  # _@param_ `project_gid`
@@ -1329,16 +947,19 @@ module Checkoff
1329
947
  # _@param_ `extra_fields`
1330
948
  def tasks_from_project_gid: (String project_gid, ?only_uncompleted: bool, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Task]
1331
949
 
950
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1332
951
  # _@param_ `workspace_name`
1333
952
  #
1334
953
  # _@param_ `extra_fields`
1335
954
  def projects_by_workspace_name: (String workspace_name, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Project]
1336
955
 
956
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1337
957
  # _@param_ `project_obj`
1338
958
  #
1339
959
  # _@param_ `project` — - :not_specified, :my_tasks or a project name
1340
960
  def project_to_h: (Asana::Resources::Project project_obj, ?project: (String | Symbol)) -> ::Hash[untyped, untyped]
1341
961
 
962
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1342
963
  # Indicates a project is ready for a person to work on it. This
1343
964
  # is subtly different than what is used by Asana to mark a date as
1344
965
  # red/green!
@@ -1351,6 +972,7 @@ module Checkoff
1351
972
  # _@param_ `period` — See Checkoff::Timing#in_period? - :now_or_before,:this_week
1352
973
  def project_ready?: (Asana::Resources::Project project, ?period: (Symbol | [Symbol, Integer])) -> bool
1353
974
 
975
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1354
976
  # _@param_ `project`
1355
977
  #
1356
978
  # _@param_ `field_name`
@@ -1360,8 +982,10 @@ module Checkoff
1360
982
 
1361
983
  def as_cache_key: () -> ::Hash[untyped, untyped]
1362
984
 
985
+ # sord warn - Asana::ProxiedResourceClasses::Project wasn't able to be resolved to a constant in this project
1363
986
  def projects: () -> Asana::ProxiedResourceClasses::Project
1364
987
 
988
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1365
989
  # _@param_ `workspace_name`
1366
990
  def my_tasks: (String workspace_name) -> Asana::Resources::Project
1367
991
 
@@ -1392,6 +1016,7 @@ module Checkoff
1392
1016
 
1393
1017
  attr_reader project_hashes: Checkoff::Internal::ProjectHashes
1394
1018
 
1019
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1395
1020
  attr_reader client: Asana::Client
1396
1021
  end
1397
1022
 
@@ -1406,6 +1031,7 @@ module Checkoff
1406
1031
  LONG_CACHE_TIME: untyped
1407
1032
  SHORT_CACHE_TIME: untyped
1408
1033
 
1034
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1409
1035
  # _@param_ `config`
1410
1036
  #
1411
1037
  # _@param_ `client`
@@ -1423,6 +1049,7 @@ module Checkoff
1423
1049
  ?time: singleton(Time)
1424
1050
  ) -> void
1425
1051
 
1052
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1426
1053
  # Returns a list of Asana API section objects for a given project
1427
1054
  #
1428
1055
  # _@param_ `workspace_name`
@@ -1432,6 +1059,7 @@ module Checkoff
1432
1059
  # _@param_ `extra_fields`
1433
1060
  def sections_or_raise: (String workspace_name, (String | Symbol) project_name, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Section]
1434
1061
 
1062
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1435
1063
  # Returns a list of Asana API section objects for a given project GID
1436
1064
  #
1437
1065
  # _@param_ `project_gid`
@@ -1439,6 +1067,7 @@ module Checkoff
1439
1067
  # _@param_ `extra_fields`
1440
1068
  def sections_by_project_gid: (String project_gid, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Section]
1441
1069
 
1070
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1442
1071
  # Given a workspace name and project name, then provide a Hash of
1443
1072
  # tasks with section name -> task list of the uncompleted tasks
1444
1073
  #
@@ -1456,6 +1085,7 @@ module Checkoff
1456
1085
  ?extra_fields: ::Array[String]
1457
1086
  ) -> ::Hash[String?, ::Enumerable[Asana::Resources::Task]]
1458
1087
 
1088
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1459
1089
  # _@param_ `section_gid`
1460
1090
  #
1461
1091
  # _@param_ `only_uncompleted`
@@ -1463,6 +1093,7 @@ module Checkoff
1463
1093
  # _@param_ `extra_fields`
1464
1094
  def tasks_by_section_gid: (String section_gid, ?only_uncompleted: bool, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Task]
1465
1095
 
1096
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1466
1097
  # Pulls task objects from a specified section
1467
1098
  #
1468
1099
  # _@param_ `workspace_name`
@@ -1492,6 +1123,7 @@ module Checkoff
1492
1123
  # _@param_ `section_name`
1493
1124
  def section_task_names: (String workspace_name, (String | Symbol) project_name, String? section_name) -> ::Array[String]
1494
1125
 
1126
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1495
1127
  # @sg-ignore
1496
1128
  #
1497
1129
  # _@param_ `workspace_name`
@@ -1511,14 +1143,18 @@ module Checkoff
1511
1143
  # _@param_ `name`
1512
1144
  def section_key: (String name) -> String?
1513
1145
 
1146
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1147
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1514
1148
  # _@param_ `section`
1515
1149
  def previous_section: (Asana::Resources::Section section) -> Asana::Resources::Section?
1516
1150
 
1151
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1517
1152
  # _@param_ `gid`
1518
1153
  def section_by_gid: (String gid) -> Asana::Resources::Section?
1519
1154
 
1520
1155
  def as_cache_key: () -> ::Hash[untyped, untyped]
1521
1156
 
1157
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1522
1158
  # @sg-ignore
1523
1159
  #
1524
1160
  # _@param_ `workspace_name`
@@ -1541,6 +1177,8 @@ module Checkoff
1541
1177
  # _@param_ `response`
1542
1178
  def parse: (Asana::HttpClient::Response response) -> ::Array[(::Hash[untyped, untyped] | ::Hash[untyped, untyped])]
1543
1179
 
1180
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1181
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1544
1182
  # Given a project object, pull all tasks, then provide a Hash of
1545
1183
  # tasks with section name -> task list of the uncompleted tasks
1546
1184
  #
@@ -1551,6 +1189,8 @@ module Checkoff
1551
1189
  # _@param_ `extra_fields`
1552
1190
  def tasks_by_section_for_project: (Asana::Resources::Project project, ?only_uncompleted: bool, ?extra_fields: ::Array[String]) -> ::Hash[String?, ::Enumerable[Asana::Resources::Task]]
1553
1191
 
1192
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1193
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1554
1194
  # Given a list of tasks, pull a Hash of tasks with section name -> task list
1555
1195
  #
1556
1196
  # _@param_ `tasks`
@@ -1558,6 +1198,8 @@ module Checkoff
1558
1198
  # _@param_ `project_gid`
1559
1199
  def by_section: (::Enumerable[Asana::Resources::Task] tasks, String project_gid) -> ::Hash[String?, ::Enumerable[Asana::Resources::Task]]
1560
1200
 
1201
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1202
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1561
1203
  # _@param_ `by_section`
1562
1204
  #
1563
1205
  # _@param_ `task`
@@ -1565,6 +1207,7 @@ module Checkoff
1565
1207
  # _@param_ `project_gid`
1566
1208
  def file_task_by_section: (::Hash[String?, ::Array[Asana::Resources::Task]] by_section, Asana::Resources::Task task, String project_gid) -> void
1567
1209
 
1210
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1568
1211
  # _@param_ `workspace_name`
1569
1212
  #
1570
1213
  # _@param_ `project_name`
@@ -1599,6 +1242,7 @@ module Checkoff
1599
1242
 
1600
1243
  attr_reader my_tasks: Checkoff::MyTasks
1601
1244
 
1245
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1602
1246
  attr_reader client: Asana::Client
1603
1247
  end
1604
1248
 
@@ -1617,21 +1261,27 @@ module Checkoff
1617
1261
  # _@param_ `clients`
1618
1262
  def initialize: (?config: (::Hash[untyped, untyped] | Checkoff::Internal::EnvFallbackConfigLoader), ?projects: Checkoff::Projects, ?clients: Checkoff::Clients) -> void
1619
1263
 
1264
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1620
1265
  # True if all subtasks of the task are completed
1621
1266
  #
1622
1267
  # _@param_ `task`
1623
1268
  def all_subtasks_completed?: (Asana::Resources::Task task) -> bool
1624
1269
 
1270
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1271
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1625
1272
  # pulls a Hash of subtasks broken out by section
1626
1273
  #
1627
1274
  # _@param_ `tasks`
1628
1275
  def by_section: (::Enumerable[Asana::Resources::Task] tasks) -> ::Hash[String?, ::Enumerable[Asana::Resources::Task]]
1629
1276
 
1277
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1278
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1630
1279
  # Returns all subtasks, including section headers
1631
1280
  #
1632
1281
  # _@param_ `task`
1633
1282
  def raw_subtasks: (Asana::Resources::Task task) -> ::Enumerable[Asana::Resources::Task]
1634
1283
 
1284
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1635
1285
  # Pull a specific task by GID
1636
1286
  #
1637
1287
  # _@param_ `task_gid`
@@ -1641,6 +1291,7 @@ module Checkoff
1641
1291
  # _@param_ `only_uncompleted`
1642
1292
  def subtasks_by_gid: (String task_gid, ?extra_fields: ::Array[String], ?only_uncompleted: bool) -> ::Enumerable[Asana::Resources::Task]
1643
1293
 
1294
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1644
1295
  # True if the subtask passed in represents a section in the subtasks
1645
1296
  #
1646
1297
  # Note: expect this to be removed in a future version, as Asana is
@@ -1650,6 +1301,7 @@ module Checkoff
1650
1301
  # _@param_ `subtask`
1651
1302
  def subtask_section?: (Asana::Resources::Task subtask) -> bool
1652
1303
 
1304
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1653
1305
  # _@param_ `current_section`
1654
1306
  #
1655
1307
  # _@param_ `by_section`
@@ -1659,6 +1311,7 @@ module Checkoff
1659
1311
 
1660
1312
  attr_reader projects: Checkoff::Projects
1661
1313
 
1314
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1662
1315
  attr_reader client: Asana::Client
1663
1316
  end
1664
1317
 
@@ -1672,6 +1325,7 @@ module Checkoff
1672
1325
  LONG_CACHE_TIME: untyped
1673
1326
  SHORT_CACHE_TIME: untyped
1674
1327
 
1328
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1675
1329
  # _@param_ `config`
1676
1330
  #
1677
1331
  # _@param_ `workspaces`
@@ -1707,12 +1361,15 @@ module Checkoff
1707
1361
  # _@param_ `resource_type`
1708
1362
  def resource_by_gid: (String gid, ?resource_type: String?) -> [untyped, untyped, untyped, untyped]
1709
1363
 
1364
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1710
1365
  # _@param_ `gid`
1711
1366
  def fetch_task_gid: (String gid) -> Asana::Resources::Task?
1712
1367
 
1368
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1713
1369
  # _@param_ `section_gid`
1714
1370
  def fetch_section_gid: (String section_gid) -> Asana::Resources::Section?
1715
1371
 
1372
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1716
1373
  # _@param_ `project_gid`
1717
1374
  def fetch_project_gid: (String project_gid) -> Asana::Resources::Project?
1718
1375
 
@@ -1726,6 +1383,7 @@ module Checkoff
1726
1383
 
1727
1384
  attr_reader tasks: Checkoff::Tasks
1728
1385
 
1386
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1729
1387
  attr_reader client: Asana::Client
1730
1388
  end
1731
1389
 
@@ -1739,6 +1397,7 @@ module Checkoff
1739
1397
  LONG_CACHE_TIME: untyped
1740
1398
  SHORT_CACHE_TIME: untyped
1741
1399
 
1400
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1742
1401
  # _@param_ `config`
1743
1402
  #
1744
1403
  # _@param_ `workspaces`
@@ -1762,24 +1421,29 @@ module Checkoff
1762
1421
  ?client: Asana::Client
1763
1422
  ) -> void
1764
1423
 
1424
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1765
1425
  # _@param_ `task`
1766
1426
  #
1767
1427
  # _@param_ `limit_to_portfolio_gid`
1768
1428
  def task_dependent_on_previous_section_last_milestone?: (Asana::Resources::Task task, ?limit_to_portfolio_gid: String?) -> bool
1769
1429
 
1430
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1770
1431
  # _@param_ `task`
1771
1432
  #
1772
1433
  # _@param_ `limit_to_portfolio_name`
1773
1434
  def last_task_milestone_depends_on_this_task?: (Asana::Resources::Task task, ?limit_to_portfolio_name: String?) -> bool
1774
1435
 
1436
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1775
1437
  # _@param_ `task`
1776
1438
  #
1777
1439
  # _@param_ `limit_to_portfolio_name`
1778
1440
  def any_milestone_depends_on_this_task?: (Asana::Resources::Task task, ?limit_to_portfolio_name: String?) -> bool
1779
1441
 
1442
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1780
1443
  # _@param_ `section_gid`
1781
1444
  def last_milestone_in_section: (String section_gid) -> Asana::Resources::Task?
1782
1445
 
1446
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1783
1447
  # _@param_ `task_data`
1784
1448
  #
1785
1449
  # _@param_ `section`
@@ -1789,6 +1453,7 @@ module Checkoff
1789
1453
 
1790
1454
  attr_reader workspaces: Checkoff::Workspaces
1791
1455
 
1456
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1792
1457
  attr_reader client: Asana::Client
1793
1458
  end
1794
1459
 
@@ -1803,6 +1468,7 @@ module Checkoff
1803
1468
  LONG_CACHE_TIME: untyped
1804
1469
  SHORT_CACHE_TIME: untyped
1805
1470
 
1471
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1806
1472
  # _@param_ `config`
1807
1473
  #
1808
1474
  # _@param_ `workspaces`
@@ -1820,11 +1486,13 @@ module Checkoff
1820
1486
  ?workspaces: Checkoff::Workspaces
1821
1487
  ) -> void
1822
1488
 
1489
+ # sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
1823
1490
  # _@param_ `workspace_name`
1824
1491
  #
1825
1492
  # _@param_ `portfolio_name`
1826
1493
  def portfolio_or_raise: (String workspace_name, String portfolio_name) -> Asana::Resources::Portfolio
1827
1494
 
1495
+ # sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
1828
1496
  # @sg-ignore
1829
1497
  #
1830
1498
  # _@param_ `workspace_name`
@@ -1832,6 +1500,7 @@ module Checkoff
1832
1500
  # _@param_ `portfolio_name`
1833
1501
  def portfolio: (String workspace_name, String portfolio_name) -> Asana::Resources::Portfolio?
1834
1502
 
1503
+ # sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
1835
1504
  # Pull a specific portfolio by gid
1836
1505
  #
1837
1506
  # _@param_ `portfolio_gid`
@@ -1839,6 +1508,7 @@ module Checkoff
1839
1508
  # _@param_ `extra_fields`
1840
1509
  def portfolio_by_gid: (String portfolio_gid, ?extra_fields: ::Array[String]) -> Asana::Resources::Portfolio?
1841
1510
 
1511
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1842
1512
  # _@param_ `workspace_name`
1843
1513
  #
1844
1514
  # _@param_ `portfolio_name`
@@ -1846,6 +1516,8 @@ module Checkoff
1846
1516
  # _@param_ `extra_project_fields`
1847
1517
  def projects_in_portfolio: (String workspace_name, String portfolio_name, ?extra_project_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Project]
1848
1518
 
1519
+ # sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
1520
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1849
1521
  # _@param_ `portfolio`
1850
1522
  #
1851
1523
  # _@param_ `extra_project_fields`
@@ -1857,6 +1529,7 @@ module Checkoff
1857
1529
 
1858
1530
  attr_reader projects: Checkoff::Projects
1859
1531
 
1532
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1860
1533
  attr_reader client: Asana::Client
1861
1534
  end
1862
1535
 
@@ -1870,6 +1543,8 @@ module Checkoff
1870
1543
  LONG_CACHE_TIME: untyped
1871
1544
  SHORT_CACHE_TIME: untyped
1872
1545
 
1546
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1547
+ # sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
1873
1548
  # _@param_ `config`
1874
1549
  #
1875
1550
  # _@param_ `client`
@@ -1877,20 +1552,24 @@ module Checkoff
1877
1552
  # _@param_ `asana_workspace`
1878
1553
  def initialize: (?config: (::Hash[untyped, untyped] | Checkoff::Internal::EnvFallbackConfigLoader), ?client: Asana::Client, ?asana_workspace: singleton(Asana::Resources::Workspace)) -> void
1879
1554
 
1555
+ # sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
1880
1556
  # Pulls an Asana workspace object
1881
1557
  # @sg-ignore
1882
1558
  #
1883
1559
  # _@param_ `workspace_name`
1884
1560
  def workspace: (String workspace_name) -> Asana::Resources::Workspace?
1885
1561
 
1562
+ # sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
1886
1563
  def default_workspace: () -> Asana::Resources::Workspace
1887
1564
 
1565
+ # sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
1888
1566
  # _@param_ `workspace_name`
1889
1567
  def workspace_or_raise: (String workspace_name) -> Asana::Resources::Workspace
1890
1568
 
1891
1569
  # @sg-ignore
1892
1570
  def default_workspace_gid: () -> String
1893
1571
 
1572
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1894
1573
  attr_reader client: Asana::Client
1895
1574
  end
1896
1575
 
@@ -1904,6 +1583,7 @@ module Checkoff
1904
1583
  LONG_CACHE_TIME: untyped
1905
1584
  SHORT_CACHE_TIME: untyped
1906
1585
 
1586
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1907
1587
  # _@param_ `config`
1908
1588
  #
1909
1589
  # _@param_ `workspaces`
@@ -2013,6 +1693,7 @@ module Checkoff
2013
1693
 
2014
1694
  attr_reader workspaces: Checkoff::Workspaces
2015
1695
 
1696
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2016
1697
  attr_reader client: Asana::Client
2017
1698
  end
2018
1699
 
@@ -2026,6 +1707,7 @@ module Checkoff
2026
1707
  LONG_CACHE_TIME: untyped
2027
1708
  SHORT_CACHE_TIME: untyped
2028
1709
 
1710
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2029
1711
  # _@param_ `config`
2030
1712
  #
2031
1713
  # _@param_ `workspaces`
@@ -2054,16 +1736,22 @@ module Checkoff
2054
1736
  # _@param_ `custom_field_name`
2055
1737
  def custom_field: (String workspace_name, String custom_field_name) -> Asana::Resources::CustomField?
2056
1738
 
1739
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1740
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2057
1741
  # _@param_ `resource`
2058
1742
  #
2059
1743
  # _@param_ `custom_field_gid`
2060
1744
  def resource_custom_field_values_gids_or_raise: ((Asana::Resources::Project | Asana::Resources::Task) resource, String custom_field_gid) -> ::Array[String]
2061
1745
 
1746
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1747
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2062
1748
  # _@param_ `resource`
2063
1749
  #
2064
1750
  # _@param_ `custom_field_name`
2065
1751
  def resource_custom_field_values_names_by_name: ((Asana::Resources::Project | Asana::Resources::Task) resource, String custom_field_name) -> ::Array[String]
2066
1752
 
1753
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1754
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
2067
1755
  # @sg-ignore
2068
1756
  #
2069
1757
  # _@param_ `resource`
@@ -2071,11 +1759,15 @@ module Checkoff
2071
1759
  # _@param_ `custom_field_name`
2072
1760
  def resource_custom_field_by_name: ((Asana::Resources::Task | Asana::Resources::Project) resource, String custom_field_name) -> ::Hash[untyped, untyped]?
2073
1761
 
1762
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1763
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
2074
1764
  # _@param_ `resource`
2075
1765
  #
2076
1766
  # _@param_ `custom_field_name`
2077
1767
  def resource_custom_field_by_name_or_raise: ((Asana::Resources::Task | Asana::Resources::Project) resource, String custom_field_name) -> ::Hash[untyped, untyped]
2078
1768
 
1769
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1770
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2079
1771
  # _@param_ `resource`
2080
1772
  #
2081
1773
  # _@param_ `custom_field_gid`
@@ -2095,6 +1787,7 @@ module Checkoff
2095
1787
 
2096
1788
  attr_reader workspaces: Checkoff::Workspaces
2097
1789
 
1790
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2098
1791
  attr_reader client: Asana::Client
2099
1792
  end
2100
1793
 
@@ -2110,6 +1803,7 @@ module Checkoff
2110
1803
  LONG_CACHE_TIME: untyped
2111
1804
  SHORT_CACHE_TIME: untyped
2112
1805
 
1806
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2113
1807
  # sord warn - Asana::Resources::Collection wasn't able to be resolved to a constant in this project
2114
1808
  # _@param_ `config`
2115
1809
  #
@@ -2137,6 +1831,7 @@ module Checkoff
2137
1831
  ?asana_resources_collection_class: singleton(Asana::Resources::Collection)
2138
1832
  ) -> void
2139
1833
 
1834
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2140
1835
  # Perform an equivalent search API to an Asana search URL in the
2141
1836
  # web UI. Not all URL parameters are supported; each one must be
2142
1837
  # added here manually. In addition, not all are supported in the
@@ -2151,6 +1846,7 @@ module Checkoff
2151
1846
  # _@param_ `extra_fields`
2152
1847
  def task_search: (String workspace_name, String url, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Task]
2153
1848
 
1849
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2154
1850
  # Perform a search using the Asana Task Search API:
2155
1851
  #
2156
1852
  # https://developers.asana.com/reference/searchtasksforworkspace
@@ -2174,6 +1870,7 @@ module Checkoff
2174
1870
 
2175
1871
  def as_cache_key: () -> ::Hash[untyped, untyped]
2176
1872
 
1873
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2177
1874
  # Perform a search using the Asana Task Search API:
2178
1875
  #
2179
1876
  # https://developers.asana.com/reference/searchtasksforworkspace
@@ -2185,6 +1882,7 @@ module Checkoff
2185
1882
  # _@param_ `extra_fields`
2186
1883
  def api_task_search_request: (::Hash[String, Object] api_params, workspace_gid: String, extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Task]
2187
1884
 
1885
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2188
1886
  # Perform a search using the Asana Task Search API and use manual pagination to
2189
1887
  # ensure all results are returned:
2190
1888
  #
@@ -2241,6 +1939,7 @@ module Checkoff
2241
1939
 
2242
1940
  attr_reader workspaces: Checkoff::Workspaces
2243
1941
 
1942
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2244
1943
  attr_reader client: Asana::Client
2245
1944
  end
2246
1945
 
@@ -2253,6 +1952,7 @@ module Checkoff
2253
1952
  LONG_CACHE_TIME: untyped
2254
1953
  SHORT_CACHE_TIME: untyped
2255
1954
 
1955
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2256
1956
  # @sg-ignore
2257
1957
  #
2258
1958
  # _@param_ `config`
@@ -2272,6 +1972,7 @@ module Checkoff
2272
1972
  ?custom_fields: Checkoff::CustomFields
2273
1973
  ) -> void
2274
1974
 
1975
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2275
1976
  # _@param_ `task`
2276
1977
  #
2277
1978
  # _@param_ `task_selector` — Filter based on task details. Examples: [:tag, 'foo'] [:not, [:tag, 'foo']] [:tag, 'foo']
@@ -2304,6 +2005,7 @@ module Checkoff
2304
2005
  LONG_CACHE_TIME: untyped
2305
2006
  SHORT_CACHE_TIME: untyped
2306
2007
 
2008
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2307
2009
  # _@param_ `config`
2308
2010
  #
2309
2011
  # _@param_ `workspaces`
@@ -2327,6 +2029,7 @@ module Checkoff
2327
2029
  ?client: Asana::Client
2328
2030
  ) -> void
2329
2031
 
2032
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
2330
2033
  # _@param_ `project`
2331
2034
  #
2332
2035
  # _@param_ `project_selector` — Filter based on project details. Examples: [:tag, 'foo'] [:not, [:tag, 'foo']] [:tag, 'foo']
@@ -2342,6 +2045,7 @@ module Checkoff
2342
2045
 
2343
2046
  attr_reader portfolios: Checkoff::Portfolios
2344
2047
 
2048
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2345
2049
  attr_reader client: Asana::Client
2346
2050
  end
2347
2051
 
@@ -2354,6 +2058,7 @@ module Checkoff
2354
2058
  LONG_CACHE_TIME: untyped
2355
2059
  SHORT_CACHE_TIME: untyped
2356
2060
 
2061
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2357
2062
  # _@param_ `config`
2358
2063
  #
2359
2064
  # _@param_ `workspaces`
@@ -2374,6 +2079,7 @@ module Checkoff
2374
2079
  ?client: Asana::Client
2375
2080
  ) -> void
2376
2081
 
2082
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
2377
2083
  # _@param_ `section`
2378
2084
  #
2379
2085
  # _@param_ `section_selector` — Filter based on section details. Examples: [:tag, 'foo'] [:not, [:tag, 'foo']] [:tag, 'foo']
@@ -2387,6 +2093,7 @@ module Checkoff
2387
2093
 
2388
2094
  attr_reader custom_fields: Checkoff::CustomFields
2389
2095
 
2096
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2390
2097
  attr_reader client: Asana::Client
2391
2098
  end
2392
2099
 
@@ -2394,9 +2101,12 @@ module Checkoff
2394
2101
  # Builds on the standard API representation of an Asana task with some
2395
2102
  # convenience keys.
2396
2103
  class TaskHashes
2104
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2397
2105
  # _@param_ `task`
2398
2106
  def task_to_h: (Asana::Resources::Task task) -> ::Hash[untyped, untyped]
2399
2107
 
2108
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2109
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2400
2110
  # _@param_ `task_data`
2401
2111
  #
2402
2112
  # _@param_ `client`
@@ -2430,6 +2140,7 @@ module Checkoff
2430
2140
 
2431
2141
  # Utility methods for working with task dates and times
2432
2142
  class TaskTiming
2143
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2433
2144
  # _@param_ `time_class`
2434
2145
  #
2435
2146
  # _@param_ `date_class`
@@ -2444,30 +2155,37 @@ module Checkoff
2444
2155
  ?custom_fields: Checkoff::CustomFields
2445
2156
  ) -> void
2446
2157
 
2158
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2447
2159
  # _@param_ `task`
2448
2160
  def start_time: (Asana::Resources::Task task) -> Time?
2449
2161
 
2162
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2450
2163
  # _@param_ `task`
2451
2164
  def due_time: (Asana::Resources::Task task) -> Time?
2452
2165
 
2166
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2453
2167
  # @sg-ignore
2454
2168
  #
2455
2169
  # _@param_ `task`
2456
2170
  def start_date_or_time: (Asana::Resources::Task task) -> (Date | Time)?
2457
2171
 
2172
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2458
2173
  # @sg-ignore
2459
2174
  #
2460
2175
  # _@param_ `task`
2461
2176
  def due_date_or_time: (Asana::Resources::Task task) -> (Date | Time)?
2462
2177
 
2178
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2463
2179
  # _@param_ `task`
2464
2180
  def modified_time: (Asana::Resources::Task task) -> Time?
2465
2181
 
2182
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2466
2183
  # _@param_ `task`
2467
2184
  #
2468
2185
  # _@param_ `custom_field_name`
2469
2186
  def custom_field: (Asana::Resources::Task task, String custom_field_name) -> (Time | Date)?
2470
2187
 
2188
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2471
2189
  # @sg-ignore
2472
2190
  #
2473
2191
  # _@param_ `task`
@@ -2478,6 +2196,8 @@ module Checkoff
2478
2196
 
2479
2197
  # Manage thread lock variables in a block
2480
2198
  class ThreadLocal
2199
+ # sord warn - T wasn't able to be resolved to a constant in this project
2200
+ # sord warn - T wasn't able to be resolved to a constant in this project
2481
2201
  # @sg-ignore
2482
2202
  #
2483
2203
  # _@param_ `name`
@@ -2528,6 +2248,7 @@ module Checkoff
2528
2248
  # _@param_ `_deps`
2529
2249
  def initialize: (?::Hash[untyped, untyped] _deps) -> void
2530
2250
 
2251
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
2531
2252
  # _@param_ `project_obj`
2532
2253
  #
2533
2254
  # _@param_ `project` — - :not_specified, :my_tasks
@@ -2539,6 +2260,7 @@ module Checkoff
2539
2260
 
2540
2261
  # Utility methods for working with project dates and times
2541
2262
  class ProjectTiming
2263
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2542
2264
  # _@param_ `time_class`
2543
2265
  #
2544
2266
  # _@param_ `date_class`
@@ -2553,21 +2275,25 @@ module Checkoff
2553
2275
  ?custom_fields: Checkoff::CustomFields
2554
2276
  ) -> void
2555
2277
 
2278
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
2556
2279
  # @sg-ignore
2557
2280
  #
2558
2281
  # _@param_ `project`
2559
2282
  def start_date: (Asana::Resources::Project project) -> Date?
2560
2283
 
2284
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
2561
2285
  # @sg-ignore
2562
2286
  #
2563
2287
  # _@param_ `project`
2564
2288
  def due_date: (Asana::Resources::Project project) -> Date?
2565
2289
 
2290
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
2566
2291
  # _@param_ `project`
2567
2292
  #
2568
2293
  # _@param_ `custom_field_name`
2569
2294
  def custom_field: (Asana::Resources::Project project, String custom_field_name) -> (Time | Date)?
2570
2295
 
2296
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
2571
2297
  # @sg-ignore
2572
2298
  #
2573
2299
  # _@param_ `project`
@@ -2884,6 +2610,7 @@ module Checkoff
2884
2610
  class AsanaEventFilter
2885
2611
  include Logging
2886
2612
 
2613
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2887
2614
  # _@param_ `filters` — The filters to match against
2888
2615
  #
2889
2616
  # _@param_ `clients`
@@ -2919,6 +2646,7 @@ module Checkoff
2919
2646
  # _@param_ `asana_event`
2920
2647
  def asana_event_matches_filter_item?: (String key, (String | ::Array[String]) value, ::Hash[untyped, untyped] asana_event) -> bool
2921
2648
 
2649
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2922
2650
  # _@param_ `key`
2923
2651
  #
2924
2652
  # _@param_ `asana_event`
@@ -2953,6 +2681,7 @@ module Checkoff
2953
2681
  class AsanaEventEnrichment
2954
2682
  include Logging
2955
2683
 
2684
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2956
2685
  # _@param_ `config`
2957
2686
  #
2958
2687
  # _@param_ `workspaces`
@@ -3051,6 +2780,7 @@ module Checkoff
3051
2780
 
3052
2781
  attr_reader resources: Checkoff::Resources
3053
2782
 
2783
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3054
2784
  attr_reader client: Asana::Client
3055
2785
  end
3056
2786
  end
@@ -3087,6 +2817,7 @@ module Checkoff
3087
2817
  # _@param_ `_index`
3088
2818
  def evaluate_arg?: (Integer _index) -> bool
3089
2819
 
2820
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3090
2821
  # @sg-ignore
3091
2822
  #
3092
2823
  # _@param_ `task`
@@ -3100,6 +2831,7 @@ module Checkoff
3100
2831
  # _@param_ `_index`
3101
2832
  def evaluate_arg?: (Integer _index) -> bool
3102
2833
 
2834
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3103
2835
  # @sg-ignore
3104
2836
  #
3105
2837
  # _@param_ `task`
@@ -3115,6 +2847,7 @@ module Checkoff
3115
2847
  # _@param_ `_index`
3116
2848
  def evaluate_arg?: (Integer _index) -> bool
3117
2849
 
2850
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3118
2851
  # @sg-ignore
3119
2852
  #
3120
2853
  # _@param_ `task`
@@ -3130,6 +2863,7 @@ module Checkoff
3130
2863
  # _@param_ `_index`
3131
2864
  def evaluate_arg?: (Integer _index) -> bool
3132
2865
 
2866
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3133
2867
  # @sg-ignore
3134
2868
  #
3135
2869
  # _@param_ `task`
@@ -3145,6 +2879,7 @@ module Checkoff
3145
2879
  # _@param_ `_index`
3146
2880
  def evaluate_arg?: (Integer _index) -> bool
3147
2881
 
2882
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3148
2883
  # @sg-ignore
3149
2884
  #
3150
2885
  # _@param_ `task`
@@ -3160,6 +2895,7 @@ module Checkoff
3160
2895
  # _@param_ `_index`
3161
2896
  def evaluate_arg?: (Integer _index) -> bool
3162
2897
 
2898
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3163
2899
  # @sg-ignore
3164
2900
  #
3165
2901
  # _@param_ `task`
@@ -3177,6 +2913,7 @@ module Checkoff
3177
2913
  # _@param_ `_index`
3178
2914
  def evaluate_arg?: (Integer _index) -> bool
3179
2915
 
2916
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3180
2917
  # rubocop:disable Style/OptionalBooleanParameter
3181
2918
  #
3182
2919
  # _@param_ `task`
@@ -3194,6 +2931,7 @@ module Checkoff
3194
2931
  # _@param_ `_index`
3195
2932
  def evaluate_arg?: (Integer _index) -> bool
3196
2933
 
2934
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3197
2935
  # _@param_ `task`
3198
2936
  #
3199
2937
  # _@param_ `field_name` — See Checksoff::Tasks#in_period?
@@ -3206,6 +2944,7 @@ module Checkoff
3206
2944
  class UnassignedPFunctionEvaluator < Checkoff::SelectorClasses::Task::FunctionEvaluator
3207
2945
  def matches?: () -> bool
3208
2946
 
2947
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3209
2948
  # _@param_ `task`
3210
2949
  def evaluate: (Asana::Resources::Task task) -> bool
3211
2950
  end
@@ -3216,6 +2955,7 @@ module Checkoff
3216
2955
 
3217
2956
  def matches?: () -> bool
3218
2957
 
2958
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3219
2959
  # @sg-ignore
3220
2960
  #
3221
2961
  # _@param_ `task`
@@ -3230,6 +2970,7 @@ module Checkoff
3230
2970
 
3231
2971
  def evaluate_arg?: (Integer _index) -> bool
3232
2972
 
2973
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3233
2974
  # _@param_ `task`
3234
2975
  #
3235
2976
  # _@param_ `num_days`
@@ -3244,9 +2985,11 @@ module Checkoff
3244
2985
 
3245
2986
  def matches?: () -> bool
3246
2987
 
2988
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3247
2989
  # _@param_ `task`
3248
2990
  def calculate_allocated_hours: (Asana::Resources::Task task) -> Float
3249
2991
 
2992
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3250
2993
  # _@param_ `task`
3251
2994
  def evaluate: (Asana::Resources::Task task) -> bool
3252
2995
  end
@@ -3257,6 +3000,7 @@ module Checkoff
3257
3000
 
3258
3001
  def matches?: () -> bool
3259
3002
 
3003
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3260
3004
  # _@param_ `task`
3261
3005
  #
3262
3006
  # _@param_ `limit_to_portfolio_gid` — If specified, only projects in this portfolio will be evaluated.
@@ -3269,6 +3013,7 @@ module Checkoff
3269
3013
 
3270
3014
  def matches?: () -> bool
3271
3015
 
3016
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3272
3017
  # _@param_ `task`
3273
3018
  #
3274
3019
  # _@param_ `portfolio_name`
@@ -3283,6 +3028,7 @@ module Checkoff
3283
3028
 
3284
3029
  def evaluate_arg?: (Integer _index) -> bool
3285
3030
 
3031
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3286
3032
  # _@param_ `task`
3287
3033
  #
3288
3034
  # _@param_ `limit_to_portfolio_name`
@@ -3297,6 +3043,7 @@ module Checkoff
3297
3043
 
3298
3044
  def evaluate_arg?: (Integer _index) -> bool
3299
3045
 
3046
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3300
3047
  # _@param_ `task`
3301
3048
  def evaluate: (Asana::Resources::Task task) -> bool
3302
3049
  end
@@ -3309,6 +3056,7 @@ module Checkoff
3309
3056
 
3310
3057
  def evaluate_arg?: (Integer _index) -> bool
3311
3058
 
3059
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3312
3060
  # _@param_ `task`
3313
3061
  #
3314
3062
  # _@param_ `limit_to_portfolio_name`
@@ -3345,6 +3093,8 @@ module Checkoff
3345
3093
 
3346
3094
  def matches?: () -> bool
3347
3095
 
3096
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3097
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3348
3098
  # _@param_ `_resource`
3349
3099
  #
3350
3100
  # _@param_ `args`
@@ -3360,6 +3110,8 @@ module Checkoff
3360
3110
 
3361
3111
  def matches?: () -> bool
3362
3112
 
3113
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3114
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3363
3115
  # _@param_ `_resource`
3364
3116
  #
3365
3117
  # _@param_ `args`
@@ -3372,6 +3124,8 @@ module Checkoff
3372
3124
 
3373
3125
  def matches?: () -> bool
3374
3126
 
3127
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3128
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3375
3129
  # _@param_ `_resource`
3376
3130
  #
3377
3131
  # _@param_ `subvalue`
@@ -3382,6 +3136,8 @@ module Checkoff
3382
3136
  class NilPFunctionEvaluator < Checkoff::SelectorClasses::Common::FunctionEvaluator
3383
3137
  def matches?: () -> bool
3384
3138
 
3139
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3140
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3385
3141
  # _@param_ `_resource`
3386
3142
  #
3387
3143
  # _@param_ `subvalue`
@@ -3394,6 +3150,8 @@ module Checkoff
3394
3150
 
3395
3151
  def matches?: () -> bool
3396
3152
 
3153
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3154
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3397
3155
  # _@param_ `_resource`
3398
3156
  #
3399
3157
  # _@param_ `lhs`
@@ -3411,6 +3169,8 @@ module Checkoff
3411
3169
  # _@param_ `_index`
3412
3170
  def evaluate_arg?: (Integer _index) -> bool
3413
3171
 
3172
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3173
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3414
3174
  # _@param_ `resource`
3415
3175
  #
3416
3176
  # _@param_ `custom_field_name`
@@ -3423,6 +3183,8 @@ module Checkoff
3423
3183
 
3424
3184
  def evaluate_arg?: (Integer _index) -> bool
3425
3185
 
3186
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3187
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3426
3188
  # @sg-ignore
3427
3189
  #
3428
3190
  # _@param_ `resource`
@@ -3439,6 +3201,8 @@ module Checkoff
3439
3201
 
3440
3202
  def evaluate_arg?: (Integer _index) -> bool
3441
3203
 
3204
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3205
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3442
3206
  # _@param_ `resource`
3443
3207
  #
3444
3208
  # _@param_ `custom_field_gid`
@@ -3455,6 +3219,8 @@ module Checkoff
3455
3219
 
3456
3220
  def evaluate_arg?: (Integer _index) -> bool
3457
3221
 
3222
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3223
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3458
3224
  # _@param_ `resource`
3459
3225
  #
3460
3226
  # _@param_ `custom_field_name`
@@ -3471,6 +3237,8 @@ module Checkoff
3471
3237
 
3472
3238
  def evaluate_arg?: (Integer _index) -> bool
3473
3239
 
3240
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3241
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3474
3242
  # _@param_ `resource`
3475
3243
  #
3476
3244
  # _@param_ `custom_field_gid`
@@ -3487,6 +3255,8 @@ module Checkoff
3487
3255
 
3488
3256
  def evaluate_arg?: (Integer _index) -> bool
3489
3257
 
3258
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3259
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3490
3260
  # sord warn - boolish is probably not a type, but using anyway
3491
3261
  # sord warn - boolish wasn't able to be resolved to a constant in this project
3492
3262
  # _@param_ `resource`
@@ -3499,6 +3269,8 @@ module Checkoff
3499
3269
  class StringLiteralEvaluator < Checkoff::SelectorClasses::Common::FunctionEvaluator
3500
3270
  def matches?: () -> bool
3501
3271
 
3272
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3273
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3502
3274
  # @sg-ignore
3503
3275
  #
3504
3276
  # _@param_ `_resource`
@@ -3526,6 +3298,7 @@ module Checkoff
3526
3298
 
3527
3299
  def matches?: () -> bool
3528
3300
 
3301
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3529
3302
  # _@param_ `resource`
3530
3303
  def evaluate: (Asana::Resources::Project resource) -> String?
3531
3304
  end
@@ -3536,6 +3309,7 @@ module Checkoff
3536
3309
 
3537
3310
  def matches?: () -> bool
3538
3311
 
3312
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3539
3313
  # _@param_ `project`
3540
3314
  #
3541
3315
  # _@param_ `period` — - :now_or_before or :this_week
@@ -3548,6 +3322,7 @@ module Checkoff
3548
3322
 
3549
3323
  def matches?: () -> bool
3550
3324
 
3325
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3551
3326
  # _@param_ `project`
3552
3327
  #
3553
3328
  # _@param_ `portfolio_name`
@@ -3594,6 +3369,7 @@ module Checkoff
3594
3369
 
3595
3370
  def matches?: () -> bool
3596
3371
 
3372
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
3597
3373
  # @sg-ignore
3598
3374
  #
3599
3375
  # _@param_ `section`
@@ -3606,6 +3382,7 @@ module Checkoff
3606
3382
 
3607
3383
  def matches?: () -> bool
3608
3384
 
3385
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
3609
3386
  # @sg-ignore
3610
3387
  #
3611
3388
  # _@param_ `section`
@@ -3614,6 +3391,7 @@ module Checkoff
3614
3391
 
3615
3392
  # Base class to evaluate a project selector function given fully evaluated arguments
3616
3393
  class FunctionEvaluator < Checkoff::SelectorClasses::FunctionEvaluator
3394
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3617
3395
  # _@param_ `selector`
3618
3396
  #
3619
3397
  # _@param_ `client`
@@ -3630,6 +3408,7 @@ module Checkoff
3630
3408
 
3631
3409
  attr_reader selector: [Symbol, ::Array[untyped]]
3632
3410
 
3411
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3633
3412
  attr_reader client: Asana::Client
3634
3413
  end
3635
3414
  end
@@ -3644,6 +3423,7 @@ module Checkoff
3644
3423
  # @sg-ignore
3645
3424
  def matches?: () -> bool
3646
3425
 
3426
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3647
3427
  # @sg-ignore
3648
3428
  #
3649
3429
  # _@param_ `_task`
@@ -3685,6 +3465,7 @@ module Checkoff
3685
3465
  TASK_FUNCTION_EVALUATORS: untyped
3686
3466
  FUNCTION_EVALUTORS: untyped
3687
3467
 
3468
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3688
3469
  # _@param_ `task`
3689
3470
  #
3690
3471
  # _@param_ `tasks`
@@ -3703,6 +3484,7 @@ module Checkoff
3703
3484
 
3704
3485
  def initializer_kwargs: () -> ::Hash[untyped, untyped]
3705
3486
 
3487
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3706
3488
  attr_reader item: Asana::Resources::Task
3707
3489
 
3708
3490
  attr_reader tasks: Checkoff::Tasks
@@ -3718,6 +3500,7 @@ module Checkoff
3718
3500
  PROJECT_FUNCTION_EVALUATORS: untyped
3719
3501
  FUNCTION_EVALUTORS: untyped
3720
3502
 
3503
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3721
3504
  # _@param_ `project`
3722
3505
  #
3723
3506
  # _@param_ `projects`
@@ -3739,6 +3522,7 @@ module Checkoff
3739
3522
 
3740
3523
  def initializer_kwargs: () -> ::Hash[untyped, untyped]
3741
3524
 
3525
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3742
3526
  attr_reader item: Asana::Resources::Project
3743
3527
 
3744
3528
  attr_reader projects: Checkoff::Projects
@@ -3756,6 +3540,8 @@ module Checkoff
3756
3540
  SECTION_FUNCTION_EVALUATORS: untyped
3757
3541
  FUNCTION_EVALUATORS: untyped
3758
3542
 
3543
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
3544
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3759
3545
  # _@param_ `section`
3760
3546
  #
3761
3547
  # _@param_ `client`
@@ -3780,6 +3566,7 @@ module Checkoff
3780
3566
 
3781
3567
  def initializer_kwargs: () -> ::Hash[untyped, untyped]
3782
3568
 
3569
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3783
3570
  attr_reader item: Asana::Resources::Project
3784
3571
 
3785
3572
  attr_reader sections: Checkoff::Sections
@@ -3788,6 +3575,7 @@ module Checkoff
3788
3575
 
3789
3576
  attr_reader custom_fields: Checkoff::CustomFields
3790
3577
 
3578
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3791
3579
  attr_reader client: Asana::Client
3792
3580
  end
3793
3581
  end
@@ -3814,4 +3602,28 @@ module Logging
3814
3602
 
3815
3603
  # @sg-ignore
3816
3604
  def log_level: () -> Symbol
3605
+ end
3606
+
3607
+ # Monkeypatches Asana::Resources::Resource so that Ruby marshalling and
3608
+ # unmarshalling works on Asana resource classes. Currently, it will
3609
+ # work unless you call an accessor method, which triggers Asana's
3610
+ # client library Resource class' method_missing() to "cache" the
3611
+ # result by creating a singleton method. Unfortunately, singleton
3612
+ # methods break marshalling, which is not smart enough to know that it
3613
+ # is not necessary to marshall them as they will simply be recreated
3614
+ # when needed.
3615
+ module Asana
3616
+ # Monkeypatches:
3617
+ #
3618
+ # https://github.com/Asana/ruby-asana/blob/master/lib/asana
3619
+ module Resources
3620
+ # Public: The base resource class which provides some sugar over common
3621
+ # resource functionality.
3622
+ class Resource
3623
+ def marshal_dump: () -> ::Hash[untyped, untyped]
3624
+
3625
+ # _@param_ `data`
3626
+ def marshal_load: (::Hash[untyped, untyped] data) -> void
3627
+ end
3628
+ end
3817
3629
  end