checkoff 0.265.0 → 0.267.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
@@ -56,9 +56,6 @@ module Checkoff
56
56
  ?logger: IO
57
57
  ) -> void
58
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
62
59
  # _@param_ `tasks`
63
60
  #
64
61
  # _@param_ `to_project`
@@ -66,7 +63,6 @@ module Checkoff
66
63
  # _@param_ `to_section`
67
64
  def move_tasks: (::Enumerable[Asana::Resources::Task] tasks, Asana::Resources::Project to_project, Asana::Resources::Section to_section) -> void
68
65
 
69
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
70
66
  # _@param_ `from_workspace_name`
71
67
  #
72
68
  # _@param_ `from_project_name`
@@ -166,11 +162,9 @@ module Checkoff
166
162
  String task_name
167
163
  ) -> String
168
164
 
169
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
170
165
  # _@param_ `task`
171
166
  def task_to_hash: (Asana::Resources::Task task) -> ::Hash[Symbol, untyped]
172
167
 
173
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
174
168
  # _@param_ `tasks`
175
169
  def tasks_to_hash: (::Enumerable[Asana::Resources::Task] tasks) -> ::Array[::Hash[untyped, untyped]]
176
170
 
@@ -239,7 +233,6 @@ module Checkoff
239
233
  LONG_CACHE_TIME: untyped
240
234
  SHORT_CACHE_TIME: untyped
241
235
 
242
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
243
236
  # _@param_ `config`
244
237
  #
245
238
  # _@param_ `clients`
@@ -257,7 +250,6 @@ module Checkoff
257
250
  ?workspaces: Checkoff::Workspaces
258
251
  ) -> void
259
252
 
260
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
261
253
  # _@param_ `workspace_name`
262
254
  #
263
255
  # _@param_ `tag_name`
@@ -272,7 +264,6 @@ module Checkoff
272
264
  ?extra_fields: ::Array[String]
273
265
  ) -> ::Enumerable[Asana::Resources::Task]
274
266
 
275
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
276
267
  # _@param_ `workspace_name`
277
268
  #
278
269
  # _@param_ `tag_gid`
@@ -287,13 +278,11 @@ module Checkoff
287
278
  ?extra_fields: ::Array[String]
288
279
  ) -> ::Enumerable[Asana::Resources::Task]
289
280
 
290
- # sord warn - Asana::Resources::Tag wasn't able to be resolved to a constant in this project
291
281
  # _@param_ `workspace_name`
292
282
  #
293
283
  # _@param_ `tag_name`
294
284
  def tag_or_raise: (String workspace_name, String tag_name) -> Asana::Resources::Tag
295
285
 
296
- # sord warn - Asana::Resources::Tag wasn't able to be resolved to a constant in this project
297
286
  # _@param_ `workspace_name`
298
287
  #
299
288
  # _@param_ `tag_name`
@@ -302,11 +291,10 @@ module Checkoff
302
291
  # _@param_ `options`
303
292
  def build_params: (::Hash[Symbol, Object] options) -> ::Hash[Symbol, Object]
304
293
 
305
- # sord warn - Asana::HttpClient::Response wasn't able to be resolved to a constant in this project
306
294
  # https://github.com/Asana/ruby-asana/blob/master/lib/asana/resource_includes/response_helper.rb#L7
307
295
  #
308
296
  # _@param_ `response`
309
- def parse: (Asana::HttpClient::Response response) -> ::Array[::Hash[untyped, untyped]]
297
+ def parse: (Asana::HttpClient::Response response) -> [::Array[::Hash[untyped, untyped]], ::Hash[untyped, untyped]]
310
298
 
311
299
  def self.run: () -> void
312
300
 
@@ -314,7 +302,6 @@ module Checkoff
314
302
 
315
303
  attr_reader projects: Checkoff::Projects
316
304
 
317
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
318
305
  attr_reader client: Asana::Client
319
306
  end
320
307
 
@@ -329,8 +316,6 @@ module Checkoff
329
316
  LONG_CACHE_TIME: untyped
330
317
  SHORT_CACHE_TIME: untyped
331
318
 
332
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
333
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
334
319
  # _@param_ `config`
335
320
  #
336
321
  # _@param_ `client`
@@ -360,7 +345,6 @@ module Checkoff
360
345
  ?asana_task: singleton(Asana::Resources::Task)
361
346
  ) -> void
362
347
 
363
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
364
348
  # Indicates a task is ready for a person to work on it. This is
365
349
  # subtly different than what is used by Asana to mark a date as
366
350
  # red/green! A task is ready if it is not dependent on an
@@ -378,7 +362,6 @@ module Checkoff
378
362
  # _@param_ `ignore_dependencies`
379
363
  def task_ready?: (Asana::Resources::Task task, ?period: Symbol, ?ignore_dependencies: bool) -> bool
380
364
 
381
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
382
365
  # _@param_ `task`
383
366
  #
384
367
  # _@param_ `field_name`
@@ -386,13 +369,11 @@ module Checkoff
386
369
  # _@param_ `period` — :now_or_before, :this_week - See Checkoff::Timing#in_period?_
387
370
  def in_period?: (Asana::Resources::Task task, (Symbol | ::Array[untyped]) field_name, (Symbol | ::Array[untyped]) period) -> bool
388
371
 
389
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
390
372
  # _@param_ `task`
391
373
  #
392
374
  # _@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'
393
375
  def date_or_time_field_by_name: (Asana::Resources::Task task, (Symbol | ::Array[untyped]) field_name) -> (Date | Time)?
394
376
 
395
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
396
377
  # Pull a specific task by name
397
378
  #
398
379
  # _@param_ `workspace_name`
@@ -429,7 +410,6 @@ module Checkoff
429
410
  String task_name
430
411
  ) -> String?
431
412
 
432
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
433
413
  # Pull a specific task by GID
434
414
  #
435
415
  # _@param_ `task_gid`
@@ -439,7 +419,6 @@ module Checkoff
439
419
  # _@param_ `only_uncompleted`
440
420
  def task_by_gid: (String task_gid, ?extra_fields: ::Array[String], ?only_uncompleted: bool) -> Asana::Resources::Task?
441
421
 
442
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
443
422
  # Add a task
444
423
  #
445
424
  # _@param_ `name`
@@ -449,7 +428,6 @@ module Checkoff
449
428
  # _@param_ `assignee_gid`
450
429
  def add_task: (String name, ?workspace_gid: String, ?assignee_gid: String) -> Asana::Resources::Task
451
430
 
452
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
453
431
  # Return user-accessible URL for a task
454
432
  #
455
433
  # _@param_ `task`
@@ -457,7 +435,6 @@ module Checkoff
457
435
  # _@return_ — end-user URL to the task in question
458
436
  def url_of_task: (Asana::Resources::Task task) -> String
459
437
 
460
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
461
438
  # True if any of the task's dependencies are marked incomplete
462
439
  #
463
440
  # Include 'dependencies.gid' in extra_fields of task passed in.
@@ -465,14 +442,11 @@ module Checkoff
465
442
  # _@param_ `task`
466
443
  def incomplete_dependencies?: (Asana::Resources::Task task) -> bool
467
444
 
468
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
469
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
470
445
  # _@param_ `task`
471
446
  #
472
447
  # _@param_ `extra_task_fields`
473
448
  def all_dependent_tasks: (Asana::Resources::Task task, ?extra_task_fields: ::Array[String]) -> ::Array[Asana::Resources::Task]
474
449
 
475
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
476
450
  # Builds on the standard API representation of an Asana task with some
477
451
  # convenience keys:
478
452
  #
@@ -487,11 +461,9 @@ module Checkoff
487
461
  # _@param_ `task`
488
462
  def task_to_h: (Asana::Resources::Task task) -> ::Hash[untyped, untyped]
489
463
 
490
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
491
464
  # _@param_ `task_data`
492
465
  def h_to_task: (::Hash[String, Object] task_data) -> Asana::Resources::Task
493
466
 
494
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
495
467
  # True if the task is in a project which is in the given portfolio
496
468
  #
497
469
  # _@param_ `task`
@@ -501,7 +473,6 @@ module Checkoff
501
473
  # _@param_ `workspace_name`
502
474
  def in_portfolio_named?: (Asana::Resources::Task task, String portfolio_name, ?workspace_name: String) -> bool
503
475
 
504
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
505
476
  # True if the task is in a project which is in the given portfolio
506
477
  #
507
478
  # _@param_ `task`
@@ -517,7 +488,8 @@ module Checkoff
517
488
 
518
489
  def task_hashes: () -> Checkoff::Internal::TaskHashes
519
490
 
520
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
491
+ def memberships: () -> Checkoff::Internal::Memberships
492
+
521
493
  # _@param_ `workspace_name`
522
494
  #
523
495
  # _@param_ `project_name`
@@ -542,23 +514,22 @@ module Checkoff
542
514
  def logger: () -> ::Logger
543
515
 
544
516
  # _@param_ `message`
545
- def error: (?Object? message) -> void
517
+ def error: (?Object? message) ?{ (*untyped args) -> untyped } -> void
546
518
 
547
519
  # _@param_ `message`
548
- def warn: (?Object? message) -> void
520
+ def warn: (?Object? message) ?{ (*untyped args) -> untyped } -> void
549
521
 
550
522
  # _@param_ `message`
551
- def info: (?Object? message) -> void
523
+ def info: (?Object? message) ?{ (*untyped args) -> untyped } -> void
552
524
 
553
525
  # _@param_ `message`
554
- def debug: (?Object? message) -> void
526
+ def debug: (?Object? message) ?{ (*untyped args) -> untyped } -> void
555
527
 
556
528
  # _@param_ `message`
557
- def finer: (?Object? message) -> void
529
+ def finer: (?Object? message) ?{ (*untyped args) -> untyped } -> void
558
530
 
559
531
  def log_level: () -> Symbol
560
532
 
561
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
562
533
  attr_reader client: Asana::Client
563
534
 
564
535
  attr_reader timing: Checkoff::Timing
@@ -577,7 +548,6 @@ module Checkoff
577
548
  LONG_CACHE_TIME: untyped
578
549
  SHORT_CACHE_TIME: untyped
579
550
 
580
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
581
551
  # _@param_ `config`
582
552
  #
583
553
  # _@param_ `workspaces`
@@ -631,19 +601,19 @@ module Checkoff
631
601
  def logger: () -> ::Logger
632
602
 
633
603
  # _@param_ `message`
634
- def error: (?Object? message) -> void
604
+ def error: (?Object? message) ?{ (*untyped args) -> untyped } -> void
635
605
 
636
606
  # _@param_ `message`
637
- def warn: (?Object? message) -> void
607
+ def warn: (?Object? message) ?{ (*untyped args) -> untyped } -> void
638
608
 
639
609
  # _@param_ `message`
640
- def info: (?Object? message) -> void
610
+ def info: (?Object? message) ?{ (*untyped args) -> untyped } -> void
641
611
 
642
612
  # _@param_ `message`
643
- def debug: (?Object? message) -> void
613
+ def debug: (?Object? message) ?{ (*untyped args) -> untyped } -> void
644
614
 
645
615
  # _@param_ `message`
646
- def finer: (?Object? message) -> void
616
+ def finer: (?Object? message) ?{ (*untyped args) -> untyped } -> void
647
617
 
648
618
  def log_level: () -> Symbol
649
619
 
@@ -655,7 +625,6 @@ module Checkoff
655
625
 
656
626
  attr_reader workspaces: Checkoff::Workspaces
657
627
 
658
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
659
628
  attr_reader client: Asana::Client
660
629
 
661
630
  attr_reader asana_event_enrichment: Checkoff::Internal::AsanaEventEnrichment
@@ -741,19 +710,19 @@ module Checkoff
741
710
  def logger: () -> ::Logger
742
711
 
743
712
  # _@param_ `message`
744
- def error: (?Object? message) -> void
713
+ def error: (?Object? message) ?{ (*untyped args) -> untyped } -> void
745
714
 
746
715
  # _@param_ `message`
747
- def warn: (?Object? message) -> void
716
+ def warn: (?Object? message) ?{ (*untyped args) -> untyped } -> void
748
717
 
749
718
  # _@param_ `message`
750
- def info: (?Object? message) -> void
719
+ def info: (?Object? message) ?{ (*untyped args) -> untyped } -> void
751
720
 
752
721
  # _@param_ `message`
753
- def debug: (?Object? message) -> void
722
+ def debug: (?Object? message) ?{ (*untyped args) -> untyped } -> void
754
723
 
755
724
  # _@param_ `message`
756
- def finer: (?Object? message) -> void
725
+ def finer: (?Object? message) ?{ (*untyped args) -> untyped } -> void
757
726
 
758
727
  def log_level: () -> Symbol
759
728
  end
@@ -767,13 +736,11 @@ module Checkoff
767
736
  LONG_CACHE_TIME: untyped
768
737
  SHORT_CACHE_TIME: untyped
769
738
 
770
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
771
739
  # _@param_ `config`
772
740
  #
773
741
  # _@param_ `asana_client_class`
774
742
  def initialize: (?config: (::Hash[untyped, untyped] | Checkoff::Internal::EnvFallbackConfigLoader), ?asana_client_class: singleton(Asana::Client)) -> void
775
743
 
776
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
777
744
  def client: () -> Asana::Client
778
745
 
779
746
  def self.run: () -> void
@@ -785,7 +752,6 @@ module Checkoff
785
752
  LONG_CACHE_TIME: untyped
786
753
  SHORT_CACHE_TIME: untyped
787
754
 
788
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
789
755
  # _@param_ `config`
790
756
  #
791
757
  # _@param_ `client`
@@ -793,8 +759,6 @@ module Checkoff
793
759
  # _@param_ `projects`
794
760
  def initialize: (?config: (Checkoff::Internal::EnvFallbackConfigLoader | ::Hash[untyped, untyped]), ?client: Asana::Client, ?projects: Checkoff::Projects) -> void
795
761
 
796
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
797
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
798
762
  # Given a 'My Tasks' project object, pull all tasks, then provide
799
763
  # a Hash of tasks with section name -> task list of the
800
764
  # uncompleted tasks.
@@ -809,8 +773,6 @@ module Checkoff
809
773
  # _@param_ `name`
810
774
  def section_key: (String? name) -> String?
811
775
 
812
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
813
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
814
776
  # Given a list of tasks in 'My Tasks', pull a Hash of tasks with
815
777
  # section name -> task list
816
778
  #
@@ -821,7 +783,6 @@ module Checkoff
821
783
 
822
784
  attr_reader projects: Checkoff::Projects
823
785
 
824
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
825
786
  attr_reader client: Asana::Client
826
787
  end
827
788
 
@@ -837,7 +798,6 @@ module Checkoff
837
798
  MEDIUM_CACHE_TIME: Integer
838
799
  SHORT_CACHE_TIME: Integer
839
800
 
840
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
841
801
  # _@param_ `config`
842
802
  #
843
803
  # _@param_ `client`
@@ -882,7 +842,6 @@ module Checkoff
882
842
  # _@param_ `extra_project_fields`
883
843
  def project_options: (?extra_project_fields: ::Array[String]) -> ::Hash[Symbol, Object]
884
844
 
885
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
886
845
  # pulls an Asana API project class given a name
887
846
  #
888
847
  # _@param_ `workspace_name`
@@ -892,7 +851,6 @@ module Checkoff
892
851
  # _@param_ `extra_fields`
893
852
  def project: ((String | Symbol) workspace_name, (String | Symbol) project_name, ?extra_fields: ::Array[String]) -> Asana::Resources::Project?
894
853
 
895
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
896
854
  # _@param_ `workspace_name`
897
855
  #
898
856
  # _@param_ `project_name` — - :my_tasks or a project name
@@ -900,21 +858,16 @@ module Checkoff
900
858
  # _@param_ `extra_fields`
901
859
  def project_or_raise: ((String | Symbol) workspace_name, (String | Symbol) project_name, ?extra_fields: ::Array[String]) -> Asana::Resources::Project
902
860
 
903
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
904
861
  # _@param_ `gid`
905
862
  #
906
863
  # _@param_ `extra_fields`
907
864
  def project_by_gid: (String gid, ?extra_fields: ::Array[String]) -> Asana::Resources::Project?
908
865
 
909
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
910
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
911
866
  # find uncompleted tasks in a list
912
867
  #
913
868
  # _@param_ `tasks`
914
869
  def active_tasks: (::Enumerable[Asana::Resources::Task] tasks) -> ::Enumerable[Asana::Resources::Task]
915
870
 
916
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
917
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
918
871
  # Pull task objects from a named project
919
872
  #
920
873
  # _@param_ `project`
@@ -924,7 +877,6 @@ module Checkoff
924
877
  # _@param_ `extra_fields`
925
878
  def tasks_from_project: (Asana::Resources::Project project, ?only_uncompleted: bool, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Task]
926
879
 
927
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
928
880
  # Pull task objects from a project identified by a gid
929
881
  #
930
882
  # _@param_ `project_gid`
@@ -934,13 +886,11 @@ module Checkoff
934
886
  # _@param_ `extra_fields`
935
887
  def tasks_from_project_gid: (String project_gid, ?only_uncompleted: bool, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Task]
936
888
 
937
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
938
889
  # _@param_ `workspace_name`
939
890
  #
940
891
  # _@param_ `extra_fields`
941
892
  def projects_by_workspace_name: ((String | Symbol) workspace_name, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Project]
942
893
 
943
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
944
894
  # sord warn - "\"unwrapped\"" does not appear to be a type
945
895
  # sord warn - "Hash{\"custom_fields\" => Hash{String =" does not appear to be a type
946
896
  # _@param_ `project_obj`
@@ -948,7 +898,6 @@ module Checkoff
948
898
  # _@param_ `project` — - a String is a project name
949
899
  def project_to_h: (Asana::Resources::Project project_obj, ?project: (String | Symbol)?) -> ::Hash[untyped, untyped]
950
900
 
951
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
952
901
  # Indicates a project is ready for a person to work on it. This
953
902
  # is subtly different than what is used by Asana to mark a date as
954
903
  # red/green!
@@ -961,7 +910,6 @@ module Checkoff
961
910
  # _@param_ `period` — See Checkoff::Timing#in_period? - :now_or_before,:this_week
962
911
  def project_ready?: (Asana::Resources::Project project, ?period: (Symbol | ::Array[(Symbol | Integer)])) -> bool
963
912
 
964
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
965
913
  # _@param_ `project`
966
914
  #
967
915
  # _@param_ `field_name`
@@ -974,26 +922,25 @@ module Checkoff
974
922
  # sord warn - Asana::ProxiedResourceClasses::Project wasn't able to be resolved to a constant in this project
975
923
  def projects: () -> Asana::ProxiedResourceClasses::Project
976
924
 
977
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
978
925
  # _@param_ `workspace_name`
979
926
  def my_tasks: ((String | Symbol) workspace_name) -> Asana::Resources::Project
980
927
 
981
928
  def logger: () -> ::Logger
982
929
 
983
930
  # _@param_ `message`
984
- def error: (?Object? message) -> void
931
+ def error: (?Object? message) ?{ (*untyped args) -> untyped } -> void
985
932
 
986
933
  # _@param_ `message`
987
- def warn: (?Object? message) -> void
934
+ def warn: (?Object? message) ?{ (*untyped args) -> untyped } -> void
988
935
 
989
936
  # _@param_ `message`
990
- def info: (?Object? message) -> void
937
+ def info: (?Object? message) ?{ (*untyped args) -> untyped } -> void
991
938
 
992
939
  # _@param_ `message`
993
- def debug: (?Object? message) -> void
940
+ def debug: (?Object? message) ?{ (*untyped args) -> untyped } -> void
994
941
 
995
942
  # _@param_ `message`
996
- def finer: (?Object? message) -> void
943
+ def finer: (?Object? message) ?{ (*untyped args) -> untyped } -> void
997
944
 
998
945
  def log_level: () -> Symbol
999
946
 
@@ -1003,7 +950,6 @@ module Checkoff
1003
950
 
1004
951
  attr_reader project_hashes: Checkoff::Internal::ProjectHashes
1005
952
 
1006
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1007
953
  attr_reader client: Asana::Client
1008
954
  end
1009
955
 
@@ -1018,7 +964,6 @@ module Checkoff
1018
964
  LONG_CACHE_TIME: Integer
1019
965
  SHORT_CACHE_TIME: Integer
1020
966
 
1021
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1022
967
  # _@param_ `config`
1023
968
  #
1024
969
  # _@param_ `client`
@@ -1036,7 +981,6 @@ module Checkoff
1036
981
  ?time: singleton(Time)
1037
982
  ) -> void
1038
983
 
1039
- # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1040
984
  # Returns a list of Asana API section objects for a given project
1041
985
  #
1042
986
  # _@param_ `workspace_name`
@@ -1046,7 +990,6 @@ module Checkoff
1046
990
  # _@param_ `extra_fields`
1047
991
  def sections_or_raise: ((String | Symbol) workspace_name, (String | Symbol) project_name, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Section]
1048
992
 
1049
- # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1050
993
  # Returns a list of Asana API section objects for a given project GID
1051
994
  #
1052
995
  # _@param_ `project_gid`
@@ -1054,7 +997,6 @@ module Checkoff
1054
997
  # _@param_ `extra_fields`
1055
998
  def sections_by_project_gid: (String project_gid, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Section]
1056
999
 
1057
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1058
1000
  # Given a workspace name and project name, then provide a Hash of
1059
1001
  # tasks with section name -> task list of the uncompleted tasks
1060
1002
  #
@@ -1072,7 +1014,6 @@ module Checkoff
1072
1014
  ?extra_fields: ::Array[String]
1073
1015
  ) -> ::Hash[String?, ::Enumerable[Asana::Resources::Task]]
1074
1016
 
1075
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1076
1017
  # _@param_ `section_gid`
1077
1018
  #
1078
1019
  # _@param_ `only_uncompleted`
@@ -1080,7 +1021,6 @@ module Checkoff
1080
1021
  # _@param_ `extra_fields`
1081
1022
  def tasks_by_section_gid: (String section_gid, ?only_uncompleted: bool, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Task]
1082
1023
 
1083
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1084
1024
  # Pulls task objects from a specified section
1085
1025
  #
1086
1026
  # _@param_ `workspace_name`
@@ -1109,7 +1049,6 @@ module Checkoff
1109
1049
  # _@param_ `section_name`
1110
1050
  def section_task_names: (String workspace_name, (String | Symbol) project_name, String? section_name) -> ::Array[String]
1111
1051
 
1112
- # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1113
1052
  # _@param_ `workspace_name`
1114
1053
  #
1115
1054
  # _@param_ `project_name`
@@ -1127,18 +1066,14 @@ module Checkoff
1127
1066
  # _@param_ `name`
1128
1067
  def section_key: (String? name) -> String?
1129
1068
 
1130
- # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1131
- # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1132
1069
  # _@param_ `section`
1133
1070
  def previous_section: (Asana::Resources::Section section) -> Asana::Resources::Section?
1134
1071
 
1135
- # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1136
1072
  # _@param_ `gid`
1137
1073
  def section_by_gid: (String gid) -> Asana::Resources::Section?
1138
1074
 
1139
1075
  def as_cache_key: () -> ::Hash[untyped, untyped]
1140
1076
 
1141
- # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1142
1077
  # _@param_ `workspace_name`
1143
1078
  #
1144
1079
  # _@param_ `project_name`
@@ -1153,14 +1088,17 @@ module Checkoff
1153
1088
  ?extra_section_fields: ::Array[String]
1154
1089
  ) -> Asana::Resources::Section?
1155
1090
 
1156
- # sord warn - Asana::HttpClient::Response wasn't able to be resolved to a constant in this project
1091
+ # Asana returns nil for a section's project unless it was requested
1092
+ # via 'fields' / extra_fields; raise a clear error instead.
1093
+ #
1094
+ # _@param_ `section`
1095
+ def section_project_or_raise: (Asana::Resources::Section section) -> ::Hash[String, String]
1096
+
1157
1097
  # https://github.com/Asana/ruby-asana/blob/master/lib/asana/resource_includes/response_helper.rb#L7
1158
1098
  #
1159
1099
  # _@param_ `response`
1160
- def parse: (Asana::HttpClient::Response response) -> ::Array[::Hash[untyped, untyped]]
1100
+ def parse: (Asana::HttpClient::Response response) -> [::Hash[untyped, untyped], ::Hash[untyped, untyped]]
1161
1101
 
1162
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1163
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1164
1102
  # Given a project object, pull all tasks, then provide a Hash of
1165
1103
  # tasks with section name -> task list of the uncompleted tasks
1166
1104
  #
@@ -1171,8 +1109,6 @@ module Checkoff
1171
1109
  # _@param_ `extra_fields`
1172
1110
  def tasks_by_section_for_project: (Asana::Resources::Project project, ?only_uncompleted: bool, ?extra_fields: ::Array[String]) -> ::Hash[String?, ::Enumerable[Asana::Resources::Task]]
1173
1111
 
1174
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1175
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1176
1112
  # Given a list of tasks, pull a Hash of tasks with section name -> task list
1177
1113
  #
1178
1114
  # _@param_ `tasks`
@@ -1180,8 +1116,6 @@ module Checkoff
1180
1116
  # _@param_ `project_gid`
1181
1117
  def by_section: (::Enumerable[Asana::Resources::Task] tasks, String project_gid) -> ::Hash[String?, ::Enumerable[Asana::Resources::Task]]
1182
1118
 
1183
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1184
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1185
1119
  # _@param_ `by_section`
1186
1120
  #
1187
1121
  # _@param_ `task`
@@ -1189,28 +1123,29 @@ module Checkoff
1189
1123
  # _@param_ `project_gid`
1190
1124
  def file_task_by_section: (::Hash[String?, ::Array[Asana::Resources::Task]] by_section, Asana::Resources::Task task, String project_gid) -> void
1191
1125
 
1192
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1193
1126
  # _@param_ `workspace_name`
1194
1127
  #
1195
1128
  # _@param_ `project_name`
1196
1129
  def project_or_raise: ((String | Symbol) workspace_name, (String | Symbol) project_name) -> Asana::Resources::Project
1197
1130
 
1131
+ def memberships: () -> Checkoff::Internal::Memberships
1132
+
1198
1133
  def logger: () -> ::Logger
1199
1134
 
1200
1135
  # _@param_ `message`
1201
- def error: (?Object? message) -> void
1136
+ def error: (?Object? message) ?{ (*untyped args) -> untyped } -> void
1202
1137
 
1203
1138
  # _@param_ `message`
1204
- def warn: (?Object? message) -> void
1139
+ def warn: (?Object? message) ?{ (*untyped args) -> untyped } -> void
1205
1140
 
1206
1141
  # _@param_ `message`
1207
- def info: (?Object? message) -> void
1142
+ def info: (?Object? message) ?{ (*untyped args) -> untyped } -> void
1208
1143
 
1209
1144
  # _@param_ `message`
1210
- def debug: (?Object? message) -> void
1145
+ def debug: (?Object? message) ?{ (*untyped args) -> untyped } -> void
1211
1146
 
1212
1147
  # _@param_ `message`
1213
- def finer: (?Object? message) -> void
1148
+ def finer: (?Object? message) ?{ (*untyped args) -> untyped } -> void
1214
1149
 
1215
1150
  def log_level: () -> Symbol
1216
1151
 
@@ -1222,7 +1157,6 @@ module Checkoff
1222
1157
 
1223
1158
  attr_reader my_tasks: Checkoff::MyTasks
1224
1159
 
1225
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1226
1160
  attr_reader client: Asana::Client
1227
1161
  end
1228
1162
 
@@ -1241,27 +1175,21 @@ module Checkoff
1241
1175
  # _@param_ `clients`
1242
1176
  def initialize: (?config: (::Hash[untyped, untyped] | Checkoff::Internal::EnvFallbackConfigLoader), ?projects: Checkoff::Projects, ?clients: Checkoff::Clients) -> void
1243
1177
 
1244
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1245
1178
  # True if all subtasks of the task are completed
1246
1179
  #
1247
1180
  # _@param_ `task`
1248
1181
  def all_subtasks_completed?: (Asana::Resources::Task task) -> bool
1249
1182
 
1250
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1251
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1252
1183
  # pulls a Hash of subtasks broken out by section
1253
1184
  #
1254
1185
  # _@param_ `tasks`
1255
1186
  def by_section: (::Enumerable[Asana::Resources::Task] tasks) -> ::Hash[String?, ::Enumerable[Asana::Resources::Task]]
1256
1187
 
1257
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1258
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1259
1188
  # Returns all subtasks, including section headers
1260
1189
  #
1261
1190
  # _@param_ `task`
1262
1191
  def raw_subtasks: (Asana::Resources::Task task) -> ::Enumerable[Asana::Resources::Task]
1263
1192
 
1264
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1265
1193
  # Pull a specific task by GID
1266
1194
  #
1267
1195
  # _@param_ `task_gid`
@@ -1271,7 +1199,6 @@ module Checkoff
1271
1199
  # _@param_ `only_uncompleted`
1272
1200
  def subtasks_by_gid: (String task_gid, ?extra_fields: ::Array[String], ?only_uncompleted: bool) -> ::Enumerable[Asana::Resources::Task]
1273
1201
 
1274
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1275
1202
  # True if the subtask passed in represents a section in the subtasks
1276
1203
  #
1277
1204
  # Note: expect this to be removed in a future version, as Asana is
@@ -1281,7 +1208,6 @@ module Checkoff
1281
1208
  # _@param_ `subtask`
1282
1209
  def subtask_section?: (Asana::Resources::Task subtask) -> bool?
1283
1210
 
1284
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1285
1211
  # _@param_ `current_section`
1286
1212
  #
1287
1213
  # _@param_ `by_section`
@@ -1291,7 +1217,6 @@ module Checkoff
1291
1217
 
1292
1218
  attr_reader projects: Checkoff::Projects
1293
1219
 
1294
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1295
1220
  attr_reader client: Asana::Client
1296
1221
  end
1297
1222
 
@@ -1305,7 +1230,6 @@ module Checkoff
1305
1230
  LONG_CACHE_TIME: untyped
1306
1231
  SHORT_CACHE_TIME: untyped
1307
1232
 
1308
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1309
1233
  # _@param_ `config`
1310
1234
  #
1311
1235
  # _@param_ `workspaces`
@@ -1346,15 +1270,12 @@ module Checkoff
1346
1270
  # _@param_ `gid`
1347
1271
  def fetch_gid_by_type: (String resource_type, String gid) -> Asana::Resources::Resource?
1348
1272
 
1349
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1350
1273
  # _@param_ `gid`
1351
1274
  def fetch_task_gid: (String gid) -> Asana::Resources::Task?
1352
1275
 
1353
- # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1354
1276
  # _@param_ `section_gid`
1355
1277
  def fetch_section_gid: (String section_gid) -> Asana::Resources::Section?
1356
1278
 
1357
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1358
1279
  # _@param_ `project_gid`
1359
1280
  def fetch_project_gid: (String project_gid) -> Asana::Resources::Project?
1360
1281
 
@@ -1368,7 +1289,6 @@ module Checkoff
1368
1289
 
1369
1290
  attr_reader tasks: Checkoff::Tasks
1370
1291
 
1371
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1372
1292
  attr_reader client: Asana::Client
1373
1293
  end
1374
1294
 
@@ -1382,7 +1302,6 @@ module Checkoff
1382
1302
  LONG_CACHE_TIME: untyped
1383
1303
  SHORT_CACHE_TIME: untyped
1384
1304
 
1385
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1386
1305
  # _@param_ `config`
1387
1306
  #
1388
1307
  # _@param_ `workspaces`
@@ -1406,39 +1325,35 @@ module Checkoff
1406
1325
  ?client: Asana::Client
1407
1326
  ) -> void
1408
1327
 
1409
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1410
1328
  # _@param_ `task`
1411
1329
  #
1412
1330
  # _@param_ `limit_to_portfolio_gid`
1413
1331
  def task_dependent_on_previous_section_last_milestone?: (Asana::Resources::Task task, ?limit_to_portfolio_gid: String?) -> bool
1414
1332
 
1415
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1416
1333
  # _@param_ `task`
1417
1334
  #
1418
1335
  # _@param_ `limit_to_portfolio_name`
1419
1336
  def last_task_milestone_depends_on_this_task?: (Asana::Resources::Task task, ?limit_to_portfolio_name: String?) -> bool
1420
1337
 
1421
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1422
1338
  # _@param_ `task`
1423
1339
  #
1424
1340
  # _@param_ `limit_to_portfolio_name`
1425
1341
  def any_milestone_depends_on_this_task?: (Asana::Resources::Task task, ?limit_to_portfolio_name: String?) -> bool
1426
1342
 
1427
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1428
1343
  # _@param_ `section_gid`
1429
1344
  def last_milestone_in_section: (String section_gid) -> Asana::Resources::Task?
1430
1345
 
1431
- # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
1432
1346
  # _@param_ `task_data`
1433
1347
  #
1434
1348
  # _@param_ `section`
1435
1349
  def task_data_dependent_on_previous_section_last_milestone?: (::Hash[String, Object] task_data, Asana::Resources::Section section) -> bool
1436
1350
 
1351
+ def memberships: () -> Checkoff::Internal::Memberships
1352
+
1437
1353
  def self.run: () -> void
1438
1354
 
1439
1355
  attr_reader workspaces: Checkoff::Workspaces
1440
1356
 
1441
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1442
1357
  attr_reader client: Asana::Client
1443
1358
  end
1444
1359
 
@@ -1453,7 +1368,6 @@ module Checkoff
1453
1368
  LONG_CACHE_TIME: untyped
1454
1369
  SHORT_CACHE_TIME: untyped
1455
1370
 
1456
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1457
1371
  # _@param_ `config`
1458
1372
  #
1459
1373
  # _@param_ `workspaces`
@@ -1471,19 +1385,16 @@ module Checkoff
1471
1385
  ?workspaces: Checkoff::Workspaces
1472
1386
  ) -> void
1473
1387
 
1474
- # sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
1475
1388
  # _@param_ `workspace_name`
1476
1389
  #
1477
1390
  # _@param_ `portfolio_name`
1478
1391
  def portfolio_or_raise: (String workspace_name, String portfolio_name) -> Asana::Resources::Portfolio
1479
1392
 
1480
- # sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
1481
1393
  # _@param_ `workspace_name`
1482
1394
  #
1483
1395
  # _@param_ `portfolio_name`
1484
1396
  def portfolio: (String workspace_name, String portfolio_name) -> Asana::Resources::Portfolio?
1485
1397
 
1486
- # sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
1487
1398
  # Pull a specific portfolio by gid
1488
1399
  #
1489
1400
  # _@param_ `portfolio_gid`
@@ -1491,7 +1402,6 @@ module Checkoff
1491
1402
  # _@param_ `extra_fields`
1492
1403
  def portfolio_by_gid: (String portfolio_gid, ?extra_fields: ::Array[String]) -> Asana::Resources::Portfolio?
1493
1404
 
1494
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1495
1405
  # _@param_ `workspace_name`
1496
1406
  #
1497
1407
  # _@param_ `portfolio_name`
@@ -1499,8 +1409,6 @@ module Checkoff
1499
1409
  # _@param_ `extra_project_fields`
1500
1410
  def projects_in_portfolio: (String workspace_name, String portfolio_name, ?extra_project_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Project]
1501
1411
 
1502
- # sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
1503
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1504
1412
  # _@param_ `portfolio`
1505
1413
  #
1506
1414
  # _@param_ `extra_project_fields`
@@ -1512,7 +1420,6 @@ module Checkoff
1512
1420
 
1513
1421
  attr_reader projects: Checkoff::Projects
1514
1422
 
1515
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1516
1423
  attr_reader client: Asana::Client
1517
1424
  end
1518
1425
 
@@ -1526,8 +1433,6 @@ module Checkoff
1526
1433
  LONG_CACHE_TIME: untyped
1527
1434
  SHORT_CACHE_TIME: untyped
1528
1435
 
1529
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1530
- # sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
1531
1436
  # _@param_ `config`
1532
1437
  #
1533
1438
  # _@param_ `client`
@@ -1535,22 +1440,18 @@ module Checkoff
1535
1440
  # _@param_ `asana_workspace`
1536
1441
  def initialize: (?config: (::Hash[Symbol, Object] | Checkoff::Internal::EnvFallbackConfigLoader), ?client: Asana::Client, ?asana_workspace: singleton(Asana::Resources::Workspace)) -> void
1537
1442
 
1538
- # sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
1539
1443
  # Pulls an Asana workspace object
1540
1444
  #
1541
1445
  # _@param_ `workspace_name`
1542
1446
  def workspace: ((String | Symbol) workspace_name) -> Asana::Resources::Workspace?
1543
1447
 
1544
- # sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
1545
1448
  def default_workspace: () -> Asana::Resources::Workspace
1546
1449
 
1547
- # sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
1548
1450
  # _@param_ `workspace_name`
1549
1451
  def workspace_or_raise: ((String | Symbol) workspace_name) -> Asana::Resources::Workspace
1550
1452
 
1551
1453
  def default_workspace_gid: () -> String
1552
1454
 
1553
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1554
1455
  attr_reader client: Asana::Client
1555
1456
  end
1556
1457
 
@@ -1564,7 +1465,6 @@ module Checkoff
1564
1465
  LONG_CACHE_TIME: untyped
1565
1466
  SHORT_CACHE_TIME: untyped
1566
1467
 
1567
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1568
1468
  # _@param_ `config`
1569
1469
  #
1570
1470
  # _@param_ `workspaces`
@@ -1579,8 +1479,6 @@ module Checkoff
1579
1479
  ?client: Asana::Client
1580
1480
  ) -> void
1581
1481
 
1582
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1583
- # sord warn - Asana::Resources::Attachment wasn't able to be resolved to a constant in this project
1584
1482
  # _@param_ `url`
1585
1483
  #
1586
1484
  # _@param_ `resource`
@@ -1605,14 +1503,12 @@ module Checkoff
1605
1503
  # _@param_ `uri`
1606
1504
  #
1607
1505
  # _@param_ `verify_mode` — - e.g., OpenSSL::SSL::VERIFY_NONE,OpenSSL::SSL::VERIFY_PEER
1608
- def download_uri: (URI::Generic uri, ?verify_mode: Integer) -> Object
1506
+ def download_uri: (URI::Generic uri, ?verify_mode: Integer) ?{ (*untyped args) -> untyped } -> Object
1609
1507
 
1610
1508
  # sord duck - #read_body looks like a duck type, replacing with untyped
1611
1509
  # _@param_ `response`
1612
1510
  def write_tempfile_from_response: (untyped response) -> void
1613
1511
 
1614
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1615
- # sord warn - Asana::Resources::Attachment wasn't able to be resolved to a constant in this project
1616
1512
  # _@param_ `url`
1617
1513
  #
1618
1514
  # _@param_ `resource`
@@ -1627,8 +1523,6 @@ module Checkoff
1627
1523
  ?verify_mode: Integer
1628
1524
  ) -> Asana::Resources::Attachment
1629
1525
 
1630
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1631
- # sord warn - Asana::Resources::Attachment wasn't able to be resolved to a constant in this project
1632
1526
  # _@param_ `url`
1633
1527
  #
1634
1528
  # _@param_ `resource`
@@ -1639,36 +1533,34 @@ module Checkoff
1639
1533
  # _@param_ `filename`
1640
1534
  def content_type_from_filename: (String filename) -> String?
1641
1535
 
1642
- # sord warn - Asana::HttpClient::Response wasn't able to be resolved to a constant in this project
1643
1536
  # https://github.com/Asana/ruby-asana/blob/master/lib/asana/resource_includes/response_helper.rb#L7
1644
1537
  #
1645
1538
  # _@param_ `response`
1646
- def parse: (Asana::HttpClient::Response response) -> ::Array[::Hash[untyped, untyped]]
1539
+ def parse: (Asana::HttpClient::Response response) -> [::Hash[untyped, untyped], ::Hash[untyped, untyped]]
1647
1540
 
1648
1541
  def self.run: () -> void
1649
1542
 
1650
1543
  def logger: () -> ::Logger
1651
1544
 
1652
1545
  # _@param_ `message`
1653
- def error: (?Object? message) -> void
1546
+ def error: (?Object? message) ?{ (*untyped args) -> untyped } -> void
1654
1547
 
1655
1548
  # _@param_ `message`
1656
- def warn: (?Object? message) -> void
1549
+ def warn: (?Object? message) ?{ (*untyped args) -> untyped } -> void
1657
1550
 
1658
1551
  # _@param_ `message`
1659
- def info: (?Object? message) -> void
1552
+ def info: (?Object? message) ?{ (*untyped args) -> untyped } -> void
1660
1553
 
1661
1554
  # _@param_ `message`
1662
- def debug: (?Object? message) -> void
1555
+ def debug: (?Object? message) ?{ (*untyped args) -> untyped } -> void
1663
1556
 
1664
1557
  # _@param_ `message`
1665
- def finer: (?Object? message) -> void
1558
+ def finer: (?Object? message) ?{ (*untyped args) -> untyped } -> void
1666
1559
 
1667
1560
  def log_level: () -> Symbol
1668
1561
 
1669
1562
  attr_reader workspaces: Checkoff::Workspaces
1670
1563
 
1671
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1672
1564
  attr_reader client: Asana::Client
1673
1565
  end
1674
1566
 
@@ -1682,7 +1574,6 @@ module Checkoff
1682
1574
  LONG_CACHE_TIME: untyped
1683
1575
  SHORT_CACHE_TIME: untyped
1684
1576
 
1685
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1686
1577
  # _@param_ `config`
1687
1578
  #
1688
1579
  # _@param_ `workspaces`
@@ -1697,48 +1588,36 @@ module Checkoff
1697
1588
  ?workspaces: Checkoff::Workspaces
1698
1589
  ) -> void
1699
1590
 
1700
- # sord warn - Asana::Resources::CustomField wasn't able to be resolved to a constant in this project
1701
1591
  # _@param_ `workspace_name`
1702
1592
  #
1703
1593
  # _@param_ `custom_field_name`
1704
1594
  def custom_field_or_raise: (String workspace_name, String custom_field_name) -> Asana::Resources::CustomField
1705
1595
 
1706
- # sord warn - Asana::Resources::CustomField wasn't able to be resolved to a constant in this project
1707
1596
  # _@param_ `workspace_name`
1708
1597
  #
1709
1598
  # _@param_ `custom_field_name`
1710
1599
  def custom_field: (String workspace_name, String custom_field_name) -> Asana::Resources::CustomField?
1711
1600
 
1712
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1713
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1714
1601
  # _@param_ `resource`
1715
1602
  #
1716
1603
  # _@param_ `custom_field_gid`
1717
1604
  def resource_custom_field_values_gids_or_raise: ((Asana::Resources::Project | Asana::Resources::Task) resource, String custom_field_gid) -> ::Array[String]
1718
1605
 
1719
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1720
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1721
1606
  # _@param_ `resource`
1722
1607
  #
1723
1608
  # _@param_ `custom_field_name`
1724
1609
  def resource_custom_field_values_names_by_name: ((Asana::Resources::Project | Asana::Resources::Task) resource, String custom_field_name) -> ::Array[String]
1725
1610
 
1726
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1727
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1728
1611
  # _@param_ `resource`
1729
1612
  #
1730
1613
  # _@param_ `custom_field_name`
1731
1614
  def resource_custom_field_by_name: ((Asana::Resources::Task | Asana::Resources::Project) resource, String custom_field_name) -> ::Hash[String, Object]?
1732
1615
 
1733
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1734
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1735
1616
  # _@param_ `resource`
1736
1617
  #
1737
1618
  # _@param_ `custom_field_name`
1738
1619
  def resource_custom_field_by_name_or_raise: ((Asana::Resources::Task | Asana::Resources::Project) resource, String custom_field_name) -> ::Hash[String, Object]
1739
1620
 
1740
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1741
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1742
1621
  # _@param_ `resource`
1743
1622
  #
1744
1623
  # _@param_ `custom_field_gid`
@@ -1764,7 +1643,6 @@ module Checkoff
1764
1643
 
1765
1644
  attr_reader workspaces: Checkoff::Workspaces
1766
1645
 
1767
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1768
1646
  attr_reader client: Asana::Client
1769
1647
  end
1770
1648
 
@@ -1780,8 +1658,6 @@ module Checkoff
1780
1658
  LONG_CACHE_TIME: untyped
1781
1659
  SHORT_CACHE_TIME: untyped
1782
1660
 
1783
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1784
- # sord warn - Asana::Resources::Collection wasn't able to be resolved to a constant in this project
1785
1661
  # _@param_ `config`
1786
1662
  #
1787
1663
  # _@param_ `workspaces`
@@ -1808,7 +1684,6 @@ module Checkoff
1808
1684
  ?asana_resources_collection_class: singleton(Asana::Resources::Collection)
1809
1685
  ) -> void
1810
1686
 
1811
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1812
1687
  # Perform an equivalent search API to an Asana search URL in the
1813
1688
  # web UI. Not all URL parameters are supported; each one must be
1814
1689
  # added here manually. In addition, not all are supported in the
@@ -1823,7 +1698,6 @@ module Checkoff
1823
1698
  # _@param_ `extra_fields`
1824
1699
  def task_search: (String workspace_name, String url, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Task]
1825
1700
 
1826
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1827
1701
  # Perform a search using the Asana Task Search API:
1828
1702
  #
1829
1703
  # https://developers.asana.com/reference/searchtasksforworkspace
@@ -1847,7 +1721,6 @@ module Checkoff
1847
1721
 
1848
1722
  def as_cache_key: () -> ::Hash[untyped, untyped]
1849
1723
 
1850
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1851
1724
  # Perform a search using the Asana Task Search API:
1852
1725
  #
1853
1726
  # https://developers.asana.com/reference/searchtasksforworkspace
@@ -1859,7 +1732,6 @@ module Checkoff
1859
1732
  # _@param_ `extra_fields`
1860
1733
  def api_task_search_request: (::Hash[String, Object] api_params, workspace_gid: String, extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Task]
1861
1734
 
1862
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1863
1735
  # Perform a search using the Asana Task Search API and use manual pagination to
1864
1736
  # ensure all results are returned:
1865
1737
  #
@@ -1888,19 +1760,19 @@ module Checkoff
1888
1760
  def logger: () -> ::Logger
1889
1761
 
1890
1762
  # _@param_ `message`
1891
- def error: (?Object? message) -> void
1763
+ def error: (?Object? message) ?{ (*untyped args) -> untyped } -> void
1892
1764
 
1893
1765
  # _@param_ `message`
1894
- def warn: (?Object? message) -> void
1766
+ def warn: (?Object? message) ?{ (*untyped args) -> untyped } -> void
1895
1767
 
1896
1768
  # _@param_ `message`
1897
- def info: (?Object? message) -> void
1769
+ def info: (?Object? message) ?{ (*untyped args) -> untyped } -> void
1898
1770
 
1899
1771
  # _@param_ `message`
1900
- def debug: (?Object? message) -> void
1772
+ def debug: (?Object? message) ?{ (*untyped args) -> untyped } -> void
1901
1773
 
1902
1774
  # _@param_ `message`
1903
- def finer: (?Object? message) -> void
1775
+ def finer: (?Object? message) ?{ (*untyped args) -> untyped } -> void
1904
1776
 
1905
1777
  def log_level: () -> Symbol
1906
1778
 
@@ -1910,7 +1782,6 @@ module Checkoff
1910
1782
 
1911
1783
  attr_reader workspaces: Checkoff::Workspaces
1912
1784
 
1913
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1914
1785
  attr_reader client: Asana::Client
1915
1786
  end
1916
1787
 
@@ -1923,7 +1794,6 @@ module Checkoff
1923
1794
  LONG_CACHE_TIME: untyped
1924
1795
  SHORT_CACHE_TIME: untyped
1925
1796
 
1926
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1927
1797
  # _@param_ `config`
1928
1798
  #
1929
1799
  # _@param_ `client`
@@ -1941,7 +1811,6 @@ module Checkoff
1941
1811
  ?custom_fields: Checkoff::CustomFields
1942
1812
  ) -> void
1943
1813
 
1944
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
1945
1814
  # _@param_ `task`
1946
1815
  #
1947
1816
  # _@param_ `task_selector` — Filter based on task details. Examples: [:tag, 'foo'] [:not, [:tag, 'foo']] [:tag, 'foo']
@@ -1974,7 +1843,6 @@ module Checkoff
1974
1843
  LONG_CACHE_TIME: untyped
1975
1844
  SHORT_CACHE_TIME: untyped
1976
1845
 
1977
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
1978
1846
  # _@param_ `config`
1979
1847
  #
1980
1848
  # _@param_ `workspaces`
@@ -1998,7 +1866,6 @@ module Checkoff
1998
1866
  ?client: Asana::Client
1999
1867
  ) -> void
2000
1868
 
2001
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
2002
1869
  # _@param_ `project`
2003
1870
  #
2004
1871
  # _@param_ `project_selector` — Filter based on project details. Examples: [:tag, 'foo'] [:not, [:tag, 'foo']] [:tag, 'foo']
@@ -2014,7 +1881,6 @@ module Checkoff
2014
1881
 
2015
1882
  attr_reader portfolios: Checkoff::Portfolios
2016
1883
 
2017
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2018
1884
  attr_reader client: Asana::Client
2019
1885
  end
2020
1886
 
@@ -2027,7 +1893,6 @@ module Checkoff
2027
1893
  LONG_CACHE_TIME: untyped
2028
1894
  SHORT_CACHE_TIME: untyped
2029
1895
 
2030
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2031
1896
  # _@param_ `config`
2032
1897
  #
2033
1898
  # _@param_ `workspaces`
@@ -2048,7 +1913,6 @@ module Checkoff
2048
1913
  ?client: Asana::Client
2049
1914
  ) -> void
2050
1915
 
2051
- # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
2052
1916
  # _@param_ `section`
2053
1917
  #
2054
1918
  # _@param_ `section_selector` — Filter based on section details. Examples: [:tag, 'foo'] [:not, [:tag, 'foo']] [:tag, 'foo']
@@ -2062,20 +1926,25 @@ module Checkoff
2062
1926
 
2063
1927
  attr_reader custom_fields: Checkoff::CustomFields
2064
1928
 
2065
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2066
1929
  attr_reader client: Asana::Client
2067
1930
  end
2068
1931
 
2069
1932
  module Internal
1933
+ # Reads the project/section memberships of an Asana task
1934
+ class Memberships
1935
+ # Asana returns nil for memberships unless they were requested via
1936
+ # 'fields' / extra_fields; raise a clear error instead.
1937
+ #
1938
+ # _@param_ `task`
1939
+ def memberships_or_raise: (Asana::Resources::Task task) -> ::Array[::Hash[String, ::Hash[String, String]]]
1940
+ end
1941
+
2070
1942
  # Builds on the standard API representation of an Asana task with some
2071
1943
  # convenience keys.
2072
1944
  class TaskHashes
2073
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2074
1945
  # _@param_ `task`
2075
1946
  def task_to_h: (Asana::Resources::Task task) -> ::Hash[untyped, untyped]
2076
1947
 
2077
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2078
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2079
1948
  # _@param_ `task_data`
2080
1949
  #
2081
1950
  # _@param_ `client`
@@ -2112,7 +1981,6 @@ module Checkoff
2112
1981
 
2113
1982
  # Utility methods for working with task dates and times
2114
1983
  class TaskTiming
2115
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2116
1984
  # _@param_ `time_class`
2117
1985
  #
2118
1986
  # _@param_ `date_class`
@@ -2127,33 +1995,26 @@ module Checkoff
2127
1995
  ?custom_fields: Checkoff::CustomFields
2128
1996
  ) -> void
2129
1997
 
2130
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2131
1998
  # _@param_ `task`
2132
1999
  def start_time: (Asana::Resources::Task task) -> Time?
2133
2000
 
2134
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2135
2001
  # _@param_ `task`
2136
2002
  def due_time: (Asana::Resources::Task task) -> Time?
2137
2003
 
2138
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2139
2004
  # _@param_ `task`
2140
2005
  def start_date_or_time: (Asana::Resources::Task task) -> (Date | Time)?
2141
2006
 
2142
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2143
2007
  # _@param_ `task`
2144
2008
  def due_date_or_time: (Asana::Resources::Task task) -> (Date | Time)?
2145
2009
 
2146
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2147
2010
  # _@param_ `task`
2148
2011
  def modified_time: (Asana::Resources::Task task) -> Time?
2149
2012
 
2150
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2151
2013
  # _@param_ `task`
2152
2014
  #
2153
2015
  # _@param_ `custom_field_name`
2154
2016
  def custom_field: (Asana::Resources::Task task, String custom_field_name) -> (Time | Date)?
2155
2017
 
2156
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2157
2018
  # _@param_ `task`
2158
2019
  #
2159
2020
  # _@param_ `field_name`
@@ -2165,7 +2026,7 @@ module Checkoff
2165
2026
  # _@param_ `name`
2166
2027
  #
2167
2028
  # _@param_ `value`
2168
- def with_thread_local_variable: [T] (Symbol name, (Object | bool) value) ?{ () -> T } -> T
2029
+ def with_thread_local_variable: [T] (Symbol name, (Object | bool) value) { () -> T } -> T
2169
2030
  end
2170
2031
 
2171
2032
  # Use the provided config from a YAML file, and fall back to env
@@ -2206,7 +2067,6 @@ module Checkoff
2206
2067
  # _@param_ `_deps`
2207
2068
  def initialize: (?::Hash[untyped, untyped] _deps) -> void
2208
2069
 
2209
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
2210
2070
  # sord warn - "\"unwrapped\"" does not appear to be a type
2211
2071
  # sord warn - "Hash{\"custom_fields\" => Hash{String =" does not appear to be a type
2212
2072
  # The two custom_fields entries below hold the same records: the top-level
@@ -2223,7 +2083,6 @@ module Checkoff
2223
2083
 
2224
2084
  # Utility methods for working with project dates and times
2225
2085
  class ProjectTiming
2226
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2227
2086
  # _@param_ `time_class`
2228
2087
  #
2229
2088
  # _@param_ `date_class`
@@ -2238,21 +2097,17 @@ module Checkoff
2238
2097
  ?custom_fields: Checkoff::CustomFields
2239
2098
  ) -> void
2240
2099
 
2241
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
2242
2100
  # _@param_ `project`
2243
2101
  def start_date: (Asana::Resources::Project project) -> Date?
2244
2102
 
2245
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
2246
2103
  # _@param_ `project`
2247
2104
  def due_date: (Asana::Resources::Project project) -> Date?
2248
2105
 
2249
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
2250
2106
  # _@param_ `project`
2251
2107
  #
2252
2108
  # _@param_ `custom_field_name`
2253
2109
  def custom_field: (Asana::Resources::Project project, String custom_field_name) -> (Time | Date)?
2254
2110
 
2255
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
2256
2111
  # _@param_ `project`
2257
2112
  #
2258
2113
  # _@param_ `field_name`
@@ -2581,7 +2436,6 @@ module Checkoff
2581
2436
  class AsanaEventFilter
2582
2437
  include Logging
2583
2438
 
2584
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2585
2439
  # _@param_ `filters` — The filters to match against
2586
2440
  #
2587
2441
  # _@param_ `clients`
@@ -2613,7 +2467,6 @@ module Checkoff
2613
2467
  # _@param_ `asana_event`
2614
2468
  def asana_event_matches_filter_item?: (String key, (String | ::Array[String]) value, ::Hash[untyped, untyped] asana_event) -> bool
2615
2469
 
2616
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2617
2470
  # _@param_ `key`
2618
2471
  #
2619
2472
  # _@param_ `asana_event`
@@ -2624,19 +2477,19 @@ module Checkoff
2624
2477
  def logger: () -> ::Logger
2625
2478
 
2626
2479
  # _@param_ `message`
2627
- def error: (?Object? message) -> void
2480
+ def error: (?Object? message) ?{ (*untyped args) -> untyped } -> void
2628
2481
 
2629
2482
  # _@param_ `message`
2630
- def warn: (?Object? message) -> void
2483
+ def warn: (?Object? message) ?{ (*untyped args) -> untyped } -> void
2631
2484
 
2632
2485
  # _@param_ `message`
2633
- def info: (?Object? message) -> void
2486
+ def info: (?Object? message) ?{ (*untyped args) -> untyped } -> void
2634
2487
 
2635
2488
  # _@param_ `message`
2636
- def debug: (?Object? message) -> void
2489
+ def debug: (?Object? message) ?{ (*untyped args) -> untyped } -> void
2637
2490
 
2638
2491
  # _@param_ `message`
2639
- def finer: (?Object? message) -> void
2492
+ def finer: (?Object? message) ?{ (*untyped args) -> untyped } -> void
2640
2493
 
2641
2494
  def log_level: () -> Symbol
2642
2495
  end
@@ -2646,7 +2499,6 @@ module Checkoff
2646
2499
  class AsanaEventEnrichment
2647
2500
  include Logging
2648
2501
 
2649
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2650
2502
  # _@param_ `config`
2651
2503
  #
2652
2504
  # _@param_ `workspaces`
@@ -2715,19 +2567,19 @@ module Checkoff
2715
2567
  def logger: () -> ::Logger
2716
2568
 
2717
2569
  # _@param_ `message`
2718
- def error: (?Object? message) -> void
2570
+ def error: (?Object? message) ?{ (*untyped args) -> untyped } -> void
2719
2571
 
2720
2572
  # _@param_ `message`
2721
- def warn: (?Object? message) -> void
2573
+ def warn: (?Object? message) ?{ (*untyped args) -> untyped } -> void
2722
2574
 
2723
2575
  # _@param_ `message`
2724
- def info: (?Object? message) -> void
2576
+ def info: (?Object? message) ?{ (*untyped args) -> untyped } -> void
2725
2577
 
2726
2578
  # _@param_ `message`
2727
- def debug: (?Object? message) -> void
2579
+ def debug: (?Object? message) ?{ (*untyped args) -> untyped } -> void
2728
2580
 
2729
2581
  # _@param_ `message`
2730
- def finer: (?Object? message) -> void
2582
+ def finer: (?Object? message) ?{ (*untyped args) -> untyped } -> void
2731
2583
 
2732
2584
  def log_level: () -> Symbol
2733
2585
 
@@ -2741,7 +2593,6 @@ module Checkoff
2741
2593
 
2742
2594
  attr_reader resources: Checkoff::Resources
2743
2595
 
2744
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2745
2596
  attr_reader client: Asana::Client
2746
2597
  end
2747
2598
  end
@@ -2777,7 +2628,6 @@ module Checkoff
2777
2628
  # _@param_ `_index`
2778
2629
  def evaluate_arg?: (Integer _index) -> bool
2779
2630
 
2780
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2781
2631
  # _@param_ `task`
2782
2632
  def evaluate: (Asana::Resources::Task task) -> bool
2783
2633
  end
@@ -2789,7 +2639,6 @@ module Checkoff
2789
2639
  # _@param_ `_index`
2790
2640
  def evaluate_arg?: (Integer _index) -> bool
2791
2641
 
2792
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2793
2642
  # _@param_ `task`
2794
2643
  #
2795
2644
  # _@param_ `section_name_prefix`
@@ -2803,7 +2652,6 @@ module Checkoff
2803
2652
  # _@param_ `_index`
2804
2653
  def evaluate_arg?: (Integer _index) -> bool
2805
2654
 
2806
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2807
2655
  # _@param_ `task`
2808
2656
  #
2809
2657
  # _@param_ `section_name`
@@ -2817,7 +2665,6 @@ module Checkoff
2817
2665
  # _@param_ `_index`
2818
2666
  def evaluate_arg?: (Integer _index) -> bool
2819
2667
 
2820
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2821
2668
  # _@param_ `task`
2822
2669
  #
2823
2670
  # _@param_ `project_name`
@@ -2831,7 +2678,6 @@ module Checkoff
2831
2678
  # _@param_ `_index`
2832
2679
  def evaluate_arg?: (Integer _index) -> bool
2833
2680
 
2834
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2835
2681
  # _@param_ `task`
2836
2682
  #
2837
2683
  # _@param_ `portfolio_name`
@@ -2845,7 +2691,6 @@ module Checkoff
2845
2691
  # _@param_ `_index`
2846
2692
  def evaluate_arg?: (Integer _index) -> bool
2847
2693
 
2848
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2849
2694
  # _@param_ `task`
2850
2695
  #
2851
2696
  # _@param_ `tag_name`
@@ -2861,7 +2706,6 @@ module Checkoff
2861
2706
  # _@param_ `_index`
2862
2707
  def evaluate_arg?: (Integer _index) -> bool
2863
2708
 
2864
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2865
2709
  # rubocop:disable-next Style/OptionalBooleanParameter
2866
2710
  #
2867
2711
  # _@param_ `task`
@@ -2879,7 +2723,6 @@ module Checkoff
2879
2723
  # _@param_ `_index`
2880
2724
  def evaluate_arg?: (Integer _index) -> bool
2881
2725
 
2882
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2883
2726
  # _@param_ `task`
2884
2727
  #
2885
2728
  # _@param_ `field_name` — See Checksoff::Tasks#in_period?
@@ -2892,7 +2735,6 @@ module Checkoff
2892
2735
  class UnassignedPFunctionEvaluator < Checkoff::SelectorClasses::Task::FunctionEvaluator
2893
2736
  def matches?: () -> bool
2894
2737
 
2895
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2896
2738
  # _@param_ `task`
2897
2739
  def evaluate: (Asana::Resources::Task task) -> bool
2898
2740
  end
@@ -2903,7 +2745,6 @@ module Checkoff
2903
2745
 
2904
2746
  def matches?: () -> bool
2905
2747
 
2906
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2907
2748
  # _@param_ `task`
2908
2749
  def evaluate: (Asana::Resources::Task task) -> bool
2909
2750
  end
@@ -2916,13 +2757,15 @@ module Checkoff
2916
2757
 
2917
2758
  def evaluate_arg?: (Integer _index) -> bool
2918
2759
 
2919
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2920
2760
  # _@param_ `task`
2921
2761
  #
2922
2762
  # _@param_ `num_days`
2923
2763
  #
2924
2764
  # _@param_ `excluding_resource_subtypes`
2925
2765
  def evaluate: (Asana::Resources::Task task, Integer num_days, ::Array[String] excluding_resource_subtypes) -> bool
2766
+
2767
+ # _@param_ `story`
2768
+ def created_time: (Asana::Resources::Story story) -> Time
2926
2769
  end
2927
2770
 
2928
2771
  # :estimate_exceeds_duration?
@@ -2931,11 +2774,9 @@ module Checkoff
2931
2774
 
2932
2775
  def matches?: () -> bool
2933
2776
 
2934
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2935
2777
  # _@param_ `task`
2936
2778
  def calculate_allocated_hours: (Asana::Resources::Task task) -> Float
2937
2779
 
2938
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2939
2780
  # _@param_ `task`
2940
2781
  def evaluate: (Asana::Resources::Task task) -> bool
2941
2782
  end
@@ -2946,7 +2787,6 @@ module Checkoff
2946
2787
 
2947
2788
  def matches?: () -> bool
2948
2789
 
2949
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2950
2790
  # _@param_ `task`
2951
2791
  #
2952
2792
  # _@param_ `limit_to_portfolio_gid` — If specified, only projects in this portfolio will be evaluated.
@@ -2959,7 +2799,6 @@ module Checkoff
2959
2799
 
2960
2800
  def matches?: () -> bool
2961
2801
 
2962
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2963
2802
  # _@param_ `task`
2964
2803
  #
2965
2804
  # _@param_ `portfolio_name`
@@ -2974,7 +2813,6 @@ module Checkoff
2974
2813
 
2975
2814
  def evaluate_arg?: (Integer _index) -> bool
2976
2815
 
2977
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2978
2816
  # _@param_ `task`
2979
2817
  #
2980
2818
  # _@param_ `limit_to_portfolio_name`
@@ -2989,7 +2827,6 @@ module Checkoff
2989
2827
 
2990
2828
  def evaluate_arg?: (Integer _index) -> bool
2991
2829
 
2992
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2993
2830
  # _@param_ `task`
2994
2831
  def evaluate: (Asana::Resources::Task task) -> bool
2995
2832
  end
@@ -3002,7 +2839,6 @@ module Checkoff
3002
2839
 
3003
2840
  def evaluate_arg?: (Integer _index) -> bool
3004
2841
 
3005
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3006
2842
  # _@param_ `task`
3007
2843
  #
3008
2844
  # _@param_ `limit_to_portfolio_name`
@@ -3045,8 +2881,6 @@ module Checkoff
3045
2881
 
3046
2882
  def matches?: () -> bool
3047
2883
 
3048
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3049
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3050
2884
  # _@param_ `_resource`
3051
2885
  #
3052
2886
  # _@param_ `args`
@@ -3062,8 +2896,6 @@ module Checkoff
3062
2896
 
3063
2897
  def matches?: () -> bool
3064
2898
 
3065
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3066
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3067
2899
  # _@param_ `_resource`
3068
2900
  #
3069
2901
  # _@param_ `args`
@@ -3076,8 +2908,6 @@ module Checkoff
3076
2908
 
3077
2909
  def matches?: () -> bool
3078
2910
 
3079
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3080
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3081
2911
  # _@param_ `_resource`
3082
2912
  #
3083
2913
  # _@param_ `subvalue`
@@ -3088,8 +2918,6 @@ module Checkoff
3088
2918
  class NilPFunctionEvaluator < Checkoff::SelectorClasses::Common::FunctionEvaluator
3089
2919
  def matches?: () -> bool
3090
2920
 
3091
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3092
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3093
2921
  # _@param_ `_resource`
3094
2922
  #
3095
2923
  # _@param_ `subvalue`
@@ -3102,8 +2930,6 @@ module Checkoff
3102
2930
 
3103
2931
  def matches?: () -> bool
3104
2932
 
3105
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3106
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3107
2933
  # _@param_ `_resource`
3108
2934
  #
3109
2935
  # _@param_ `lhs`
@@ -3121,8 +2947,6 @@ module Checkoff
3121
2947
  # _@param_ `_index`
3122
2948
  def evaluate_arg?: (Integer _index) -> bool
3123
2949
 
3124
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3125
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3126
2950
  # _@param_ `resource`
3127
2951
  #
3128
2952
  # _@param_ `custom_field_name`
@@ -3135,8 +2959,6 @@ module Checkoff
3135
2959
 
3136
2960
  def evaluate_arg?: (Integer _index) -> bool
3137
2961
 
3138
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3139
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3140
2962
  # _@param_ `resource`
3141
2963
  #
3142
2964
  # _@param_ `custom_field_gid`
@@ -3151,8 +2973,6 @@ module Checkoff
3151
2973
 
3152
2974
  def evaluate_arg?: (Integer _index) -> bool
3153
2975
 
3154
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3155
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3156
2976
  # _@param_ `resource`
3157
2977
  #
3158
2978
  # _@param_ `custom_field_gid`
@@ -3169,8 +2989,6 @@ module Checkoff
3169
2989
 
3170
2990
  def evaluate_arg?: (Integer _index) -> bool
3171
2991
 
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
3174
2992
  # _@param_ `resource`
3175
2993
  #
3176
2994
  # _@param_ `custom_field_name`
@@ -3187,8 +3005,6 @@ module Checkoff
3187
3005
 
3188
3006
  def evaluate_arg?: (Integer _index) -> bool
3189
3007
 
3190
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3191
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3192
3008
  # _@param_ `resource`
3193
3009
  #
3194
3010
  # _@param_ `custom_field_gid`
@@ -3205,8 +3021,6 @@ module Checkoff
3205
3021
 
3206
3022
  def evaluate_arg?: (Integer _index) -> bool
3207
3023
 
3208
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3209
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3210
3024
  # sord warn - boolish is probably not a type, but using anyway
3211
3025
  # sord warn - boolish wasn't able to be resolved to a constant in this project
3212
3026
  # _@param_ `resource`
@@ -3219,8 +3033,6 @@ module Checkoff
3219
3033
  class StringLiteralEvaluator < Checkoff::SelectorClasses::Common::FunctionEvaluator
3220
3034
  def matches?: () -> bool
3221
3035
 
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
3224
3036
  # _@param_ `_resource`
3225
3037
  def evaluate: ((Asana::Resources::Task | Asana::Resources::Project) _resource) -> String
3226
3038
  end
@@ -3248,7 +3060,6 @@ module Checkoff
3248
3060
 
3249
3061
  def matches?: () -> bool
3250
3062
 
3251
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3252
3063
  # _@param_ `resource`
3253
3064
  def evaluate: (Asana::Resources::Project resource) -> String?
3254
3065
  end
@@ -3259,7 +3070,6 @@ module Checkoff
3259
3070
 
3260
3071
  def matches?: () -> bool
3261
3072
 
3262
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3263
3073
  # _@param_ `project`
3264
3074
  #
3265
3075
  # _@param_ `period` — - :now_or_before or :this_week
@@ -3272,7 +3082,6 @@ module Checkoff
3272
3082
 
3273
3083
  def matches?: () -> bool
3274
3084
 
3275
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3276
3085
  # _@param_ `project`
3277
3086
  #
3278
3087
  # _@param_ `portfolio_name`
@@ -3325,7 +3134,6 @@ module Checkoff
3325
3134
 
3326
3135
  def matches?: () -> bool
3327
3136
 
3328
- # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
3329
3137
  # _@param_ `section`
3330
3138
  def evaluate: (Asana::Resources::Section section) -> bool
3331
3139
  end
@@ -3336,14 +3144,12 @@ module Checkoff
3336
3144
 
3337
3145
  def matches?: () -> bool
3338
3146
 
3339
- # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
3340
3147
  # _@param_ `section`
3341
3148
  def evaluate: (Asana::Resources::Section section) -> bool
3342
3149
  end
3343
3150
 
3344
3151
  # Base class to evaluate a project selector function given fully evaluated arguments
3345
3152
  class FunctionEvaluator < Checkoff::SelectorClasses::FunctionEvaluator
3346
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3347
3153
  # _@param_ `selector`
3348
3154
  #
3349
3155
  # _@param_ `client`
@@ -3360,7 +3166,6 @@ module Checkoff
3360
3166
 
3361
3167
  attr_reader sections: Checkoff::Sections
3362
3168
 
3363
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3364
3169
  attr_reader client: Asana::Client
3365
3170
 
3366
3171
  attr_reader selector: (::Array[(Symbol | ::Array[untyped])] | Symbol)
@@ -3389,7 +3194,6 @@ module Checkoff
3389
3194
 
3390
3195
  def matches?: () -> bool
3391
3196
 
3392
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3393
3197
  # _@param_ `_task`
3394
3198
  #
3395
3199
  # _@param_ `_args`
@@ -3403,19 +3207,19 @@ module Checkoff
3403
3207
  def logger: () -> ::Logger
3404
3208
 
3405
3209
  # _@param_ `message`
3406
- def error: (?Object? message) -> void
3210
+ def error: (?Object? message) ?{ (*untyped args) -> untyped } -> void
3407
3211
 
3408
3212
  # _@param_ `message`
3409
- def warn: (?Object? message) -> void
3213
+ def warn: (?Object? message) ?{ (*untyped args) -> untyped } -> void
3410
3214
 
3411
3215
  # _@param_ `message`
3412
- def info: (?Object? message) -> void
3216
+ def info: (?Object? message) ?{ (*untyped args) -> untyped } -> void
3413
3217
 
3414
3218
  # _@param_ `message`
3415
- def debug: (?Object? message) -> void
3219
+ def debug: (?Object? message) ?{ (*untyped args) -> untyped } -> void
3416
3220
 
3417
3221
  # _@param_ `message`
3418
- def finer: (?Object? message) -> void
3222
+ def finer: (?Object? message) ?{ (*untyped args) -> untyped } -> void
3419
3223
 
3420
3224
  def log_level: () -> Symbol
3421
3225
  end
@@ -3427,7 +3231,6 @@ module Checkoff
3427
3231
  TASK_FUNCTION_EVALUATORS: untyped
3428
3232
  FUNCTION_EVALUTORS: untyped
3429
3233
 
3430
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3431
3234
  # _@param_ `task`
3432
3235
  #
3433
3236
  # _@param_ `tasks`
@@ -3446,8 +3249,7 @@ module Checkoff
3446
3249
 
3447
3250
  def initializer_kwargs: () -> ::Hash[untyped, untyped]
3448
3251
 
3449
- # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3450
- attr_reader item: Asana::Resources::Task
3252
+ def item: () -> Asana::Resources::Task
3451
3253
 
3452
3254
  attr_reader tasks: Checkoff::Tasks
3453
3255
 
@@ -3462,7 +3264,6 @@ module Checkoff
3462
3264
  PROJECT_FUNCTION_EVALUATORS: untyped
3463
3265
  FUNCTION_EVALUTORS: untyped
3464
3266
 
3465
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3466
3267
  # _@param_ `project`
3467
3268
  #
3468
3269
  # _@param_ `projects`
@@ -3484,8 +3285,7 @@ module Checkoff
3484
3285
 
3485
3286
  def initializer_kwargs: () -> ::Hash[untyped, untyped]
3486
3287
 
3487
- # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3488
- attr_reader item: Asana::Resources::Project
3288
+ def item: () -> Asana::Resources::Project
3489
3289
 
3490
3290
  attr_reader projects: Checkoff::Projects
3491
3291
 
@@ -3502,8 +3302,6 @@ module Checkoff
3502
3302
  SECTION_FUNCTION_EVALUATORS: untyped
3503
3303
  FUNCTION_EVALUATORS: untyped
3504
3304
 
3505
- # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
3506
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3507
3305
  # _@param_ `section`
3508
3306
  #
3509
3307
  # _@param_ `client`
@@ -3528,8 +3326,7 @@ module Checkoff
3528
3326
 
3529
3327
  def initializer_kwargs: () -> ::Hash[untyped, untyped]
3530
3328
 
3531
- # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
3532
- attr_reader item: Asana::Resources::Section
3329
+ def item: () -> Asana::Resources::Section
3533
3330
 
3534
3331
  attr_reader sections: Checkoff::Sections
3535
3332
 
@@ -3537,7 +3334,6 @@ module Checkoff
3537
3334
 
3538
3335
  attr_reader custom_fields: Checkoff::CustomFields
3539
3336
 
3540
- # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3541
3337
  attr_reader client: Asana::Client
3542
3338
  end
3543
3339
  end
@@ -3547,19 +3343,19 @@ module Logging
3547
3343
  def logger: () -> ::Logger
3548
3344
 
3549
3345
  # _@param_ `message`
3550
- def error: (?Object? message) -> void
3346
+ def error: (?Object? message) ?{ (*untyped args) -> untyped } -> void
3551
3347
 
3552
3348
  # _@param_ `message`
3553
- def warn: (?Object? message) -> void
3349
+ def warn: (?Object? message) ?{ (*untyped args) -> untyped } -> void
3554
3350
 
3555
3351
  # _@param_ `message`
3556
- def info: (?Object? message) -> void
3352
+ def info: (?Object? message) ?{ (*untyped args) -> untyped } -> void
3557
3353
 
3558
3354
  # _@param_ `message`
3559
- def debug: (?Object? message) -> void
3355
+ def debug: (?Object? message) ?{ (*untyped args) -> untyped } -> void
3560
3356
 
3561
3357
  # _@param_ `message`
3562
- def finer: (?Object? message) -> void
3358
+ def finer: (?Object? message) ?{ (*untyped args) -> untyped } -> void
3563
3359
 
3564
3360
  def log_level: () -> Symbol
3565
3361
  end