checkoff 0.230.0 → 0.232.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/rbi/checkoff.rbi CHANGED
@@ -57,7 +57,7 @@ module Overcommit
57
57
  end
58
58
 
59
59
  module Checkoff
60
- VERSION = '0.230.0'
60
+ VERSION = '0.232.0'
61
61
 
62
62
  class Attachments
63
63
  include Logging
@@ -2395,505 +2395,9 @@ module Checkoff
2395
2395
  end
2396
2396
  end
2397
2397
  # typed: ignore
2398
- class ENV
2399
- # _@param_ `key`
2400
- #
2401
- # _@param_ `default`
2402
- sig { params(key: String, default: Object).returns(T.nilable(T.any(String, Symbol))) }
2403
- def self.fetch(key, default = :none); end
2404
-
2405
- # _@param_ `key`
2406
- sig { params(key: String).returns(T.nilable(Object)) }
2407
- def self.[](key); end
2408
-
2409
- # _@param_ `key`
2410
- #
2411
- # _@param_ `value`
2412
- sig { params(key: String, value: T.nilable(Object)).returns(T.nilable(Object)) }
2413
- def self.[]=(key, value); end
2414
- end
2415
-
2416
- module Bundler
2417
- # _@param_ `groups`
2418
- sig { params(groups: T::Array[Symbol]).void }
2419
- def self.require(*groups); end
2420
- end
2421
-
2422
- module OpenSSL
2423
- module SSL
2424
- VERIFY_PEER = T.let(1, T.untyped)
2425
- VERIFY_NONE = T.let(0, T.untyped)
2426
- end
2427
- end
2428
-
2429
- class Time
2430
- # _@param_ `time`
2431
- #
2432
- # _@param_ `now`
2433
- sig { params(time: String, now: T.nilable(Time)).returns(Time) }
2434
- def self.parse(time, now = nil); end
2435
-
2436
- # https://ruby-doc.org/3.2.2/exts/date/Time.html#method-i-to_date#
2437
- sig { returns(Date) }
2438
- def to_date; end
2439
- end
2440
-
2441
- class Date
2442
- # _@param_ `date`
2443
- #
2444
- # _@param_ `comp`
2445
- #
2446
- # _@param_ `state`
2447
- sig { params(date: String, comp: T::Boolean, state: Object).returns(Date) }
2448
- def self.parse(date = '-4712-01-01', comp = true, state = Date::ITALY); end
2449
-
2450
- # _@param_ `start`
2451
- sig { params(start: Integer).returns(Date) }
2452
- def self.today(start = Date::ITALY); end
2453
- end
2454
-
2455
- # Monkeypatches Asana::Resources::Resource so that Ruby marshalling and
2456
- # unmarshalling works on Asana resource classes. Currently, it will
2457
- # work unless you call an accessor method, which triggers Asana's
2458
- # client library Resource class' method_missing() to "cache" the
2459
- # result by creating a singleton method. Unfortunately, singleton
2460
- # methods break marshalling, which is not smart enough to know that it
2461
- # is not necessary to marshall them as they will simply be recreated
2462
- # when needed.
2463
- module Asana
2464
- include Asana::Resources
2465
-
2466
- class Client
2467
- sig { returns(Asana::ProxiedResourceClasses::Tag) }
2468
- def tags; end
2469
-
2470
- sig { returns(Asana::ProxiedResourceClasses::Task) }
2471
- def tasks; end
2472
-
2473
- sig { returns(Asana::ProxiedResourceClasses::Workspace) }
2474
- def workspaces; end
2475
-
2476
- sig { returns(Asana::ProxiedResourceClasses::Section) }
2477
- def sections; end
2478
-
2479
- sig { returns(Asana::ProxiedResourceClasses::Project) }
2480
- def projects; end
2481
-
2482
- sig { returns(Asana::ProxiedResourceClasses::UserTaskList) }
2483
- def user_task_lists; end
2484
-
2485
- sig { returns(Asana::ProxiedResourceClasses::Portfolio) }
2486
- def portfolios; end
2487
-
2488
- sig { returns(Asana::ProxiedResourceClasses::User) }
2489
- def users; end
2490
-
2491
- sig { returns(Asana::ProxiedResourceClasses::CustomField) }
2492
- def custom_fields; end
2493
-
2494
- # sord warn - Asana::HttpClient::Response wasn't able to be resolved to a constant in this project
2495
- # Performs a GET request against an arbitrary Asana URL. Allows for
2496
- # the user to interact with the API in ways that haven't been
2497
- # reflected/foreseen in this library.
2498
- #
2499
- # _@param_ `args` — the request I/O options
2500
- #
2501
- # _@param_ `url`
2502
- sig { params(url: String, args: Object).returns(Asana::HttpClient::Response) }
2503
- def get(url, **args); end
2504
- end
2505
-
2506
- # Monkeypatches:
2507
- #
2508
- # https://github.com/Asana/ruby-asana/blob/master/lib/asana
2509
- module Resources
2510
- # https://developers.asana.com/reference/gettask
2511
- class Task
2512
- sig { returns(String) }
2513
- def resource_subtype; end
2514
-
2515
- sig { returns(T.nilable(T::Boolean)) }
2516
- def is_rendered_as_separator; end
2517
-
2518
- sig { returns(T.nilable(String)) }
2519
- def due_at; end
2520
-
2521
- sig { returns(T.nilable(String)) }
2522
- def due_on; end
2523
-
2524
- sig { returns(T.nilable(String)) }
2525
- def name; end
2526
-
2527
- sig { returns(T.nilable(T::Hash[String, String])) }
2528
- def assignee; end
2529
-
2530
- sig { returns(T.nilable(String)) }
2531
- def html_notes; end
2532
-
2533
- sig { returns(T::Array[T::Hash[String, T::Hash[String, String]]]) }
2534
- def memberships; end
2535
-
2536
- # _@param_ `client`
2537
- #
2538
- # _@param_ `assignee`
2539
- #
2540
- # _@param_ `workspace`
2541
- #
2542
- # _@param_ `name`
2543
- sig do
2544
- params(
2545
- client: Asana::Client,
2546
- assignee: String,
2547
- workspace: String,
2548
- name: String
2549
- ).returns(Asana::Resources::Task)
2550
- end
2551
- def self.create(client, assignee:, workspace:, name:); end
2552
-
2553
- sig { returns(T.any(T::Hash[T.untyped, T.untyped], Asana::Resources::Section)) }
2554
- def assignee_section; end
2555
- end
2556
-
2557
- class Section
2558
- sig { returns(T.nilable(String)) }
2559
- def name; end
2560
- end
2561
-
2562
- class Project
2563
- sig { returns(T.nilable(String)) }
2564
- def name; end
2565
-
2566
- sig { returns(T.nilable(String)) }
2567
- def due_date; end
2568
- end
2569
-
2570
- class Portfolio
2571
- # _@param_ `options` — the request I/O options
2572
- sig { params(options: T::Hash[T.untyped, T.untyped]).returns(T::Enumerable[Asana::Resources::Project]) }
2573
- def get_items(options = {}); end
2574
- end
2575
-
2576
- class Workspace
2577
- sig { returns(T.nilable(String)) }
2578
- def html_notes; end
2579
-
2580
- # _@param_ `client`
2581
- #
2582
- # _@param_ `id`
2583
- #
2584
- # _@param_ `options`
2585
- sig { params(client: Asana::Client, id: String, options: T::Hash[T.untyped, T.untyped]).returns(Asana::Resources::Workspace) }
2586
- def self.find_by_id(client, id, options: {}); end
2587
- end
2588
-
2589
- # Public: The base resource class which provides some sugar over common
2590
- # resource functionality.
2591
- class Resource
2592
- sig { returns(T::Hash[T.untyped, T.untyped]) }
2593
- def marshal_dump; end
2594
-
2595
- # _@param_ `data`
2596
- sig { params(data: T::Hash[T.untyped, T.untyped]).void }
2597
- def marshal_load(data); end
2598
- end
2599
- end
2600
-
2601
- module Errors
2602
- class NotFound < Asana::Errors::APIError
2603
- end
2604
- end
2605
-
2606
- module ProxiedResourceClasses
2607
- class CustomField
2608
- # sord warn - Asana::Resources::CustomField wasn't able to be resolved to a constant in this project
2609
- # Get a workspace's custom fields
2610
- #
2611
- # _@param_ `workspace_gid` — (required) Globally unique identifier for the workspace or organization.
2612
- #
2613
- # _@param_ `options` — the request I/O options
2614
- sig { params(workspace_gid: String, options: T::Hash[T.untyped, T.untyped]).returns(T::Enumerable[Asana::Resources::CustomField]) }
2615
- def get_custom_fields_for_workspace(workspace_gid: required("workspace_gid"), options: {}); end
2616
- end
2617
-
2618
- class Tag
2619
- # sord warn - Asana::Resources::Tag wasn't able to be resolved to a constant in this project
2620
- # Get tags in a workspace
2621
- #
2622
- # > 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.'
2623
- # > limit - [int] Results per page. The number of objects to return per page. The value must be between 1 and 100.
2624
- # > 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.
2625
- # > 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.
2626
- #
2627
- # _@param_ `workspace_gid` — (required) Globally unique identifier for the workspace or organization.
2628
- #
2629
- # _@param_ `options` — the request I/O options
2630
- sig { params(workspace_gid: String, options: T::Hash[T.untyped, T.untyped]).returns(T::Enumerable[Asana::Resources::Tag]) }
2631
- def get_tags_for_workspace(workspace_gid:, options: {}); end
2632
- end
2633
-
2634
- class Task
2635
- # Get subtasks from a task
2636
- #
2637
- # > 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.'
2638
- # > limit - [int] Results per page. The number of objects to return per page. The value must be between 1 and 100.
2639
- # > 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.
2640
- # > 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.
2641
- #
2642
- # _@param_ `task_gid` — (required) The task to operate on.
2643
- #
2644
- # _@param_ `options` — the request I/O options
2645
- sig { params(task_gid: String, options: T::Hash[T.untyped, T.untyped]).returns(T::Enumerable[Asana::Resources::Task]) }
2646
- def get_subtasks_for_task(task_gid: required("task_gid"), options: {}); end
2647
-
2648
- # Returns the complete task record for a single task.
2649
- #
2650
- # _@param_ `id` — The task to get.
2651
- #
2652
- # _@param_ `options` — the request I/O options.
2653
- sig { params(id: String, options: T::Hash[T.untyped, T.untyped]).returns(Asana::Resources::Task) }
2654
- def find_by_id(id, options: {}); end
2655
-
2656
- # Returns the compact task records for some filtered set of tasks. Use one
2657
- # or more of the parameters provided to filter the tasks returned. You must
2658
- # specify a `project`, `section`, `tag`, or `user_task_list` if you do not
2659
- # specify `assignee` and `workspace`.
2660
- #
2661
- # completed since this time.
2662
- #
2663
- # Notes:
2664
- #
2665
- # If you specify `assignee`, you must also specify the `workspace` to filter on.
2666
- #
2667
- # If you specify `workspace`, you must also specify the `assignee` to filter on.
2668
- #
2669
- # Currently, this is only supported in board views.
2670
- #
2671
- # A task is considered "modified" if any of its properties change,
2672
- # or associations between it and other objects are modified (e.g.
2673
- # a task being added to a project). A task is not considered modified
2674
- # just because another object it is associated with (e.g. a subtask)
2675
- # is modified. Actions that count as modifying the task include
2676
- # assigning, renaming, completing, and adding stories.
2677
- #
2678
- # _@param_ `assignee` — The assignee to filter tasks on.
2679
- #
2680
- # _@param_ `workspace` — The workspace or organization to filter tasks on.
2681
- #
2682
- # _@param_ `project` — The project to filter tasks on.
2683
- #
2684
- # _@param_ `section` — The section to filter tasks on.
2685
- #
2686
- # _@param_ `tag` — The tag to filter tasks on.
2687
- #
2688
- # _@param_ `user_task_list` — The user task list to filter tasks on.
2689
- #
2690
- # _@param_ `completed_since` — Only return tasks that are either incomplete or that have been
2691
- #
2692
- # _@param_ `modified_since` — Only return tasks that have been modified since the given time.
2693
- #
2694
- # _@param_ `per_page` — the number of records to fetch per page.
2695
- #
2696
- # _@param_ `options` — the request I/O options.
2697
- sig do
2698
- params(
2699
- assignee: T.nilable(String),
2700
- workspace: T.nilable(String),
2701
- project: T.nilable(String),
2702
- section: T.nilable(String),
2703
- tag: T.nilable(String),
2704
- user_task_list: T.nilable(String),
2705
- completed_since: T.nilable(String),
2706
- modified_since: T.nilable(String),
2707
- per_page: Integer,
2708
- options: T::Hash[T.untyped, T.untyped]
2709
- ).returns(T::Enumerable[Asana::Resources::Task])
2710
- end
2711
- def find_all(assignee: nil, workspace: nil, project: nil, section: nil, tag: nil, user_task_list: nil, completed_since: nil, modified_since: nil, per_page: 20, options: {}); end
2712
-
2713
- # _@param_ `assignee`
2714
- #
2715
- # _@param_ `project`
2716
- #
2717
- # _@param_ `section`
2718
- #
2719
- # _@param_ `workspace`
2720
- #
2721
- # _@param_ `completed_since`
2722
- #
2723
- # _@param_ `per_page`
2724
- #
2725
- # _@param_ `modified_since`
2726
- #
2727
- # _@param_ `section`
2728
- #
2729
- # _@param_ `options` — the request I/O options.
2730
- sig do
2731
- params(
2732
- assignee: T.nilable(String),
2733
- project: T.nilable(String),
2734
- section: T.nilable(String),
2735
- workspace: T.nilable(String),
2736
- completed_since: T.nilable(Time),
2737
- per_page: Integer,
2738
- modified_since: T.nilable(Time),
2739
- options: T::Hash[T.untyped, T.untyped]
2740
- ).returns(T::Enumerable[Asana::Resources::Task])
2741
- end
2742
- def get_tasks(assignee: nil, project: nil, section: nil, workspace: nil, completed_since: nil, per_page: 20, modified_since: nil, options: {}); end
2743
- end
2744
-
2745
- class Workspace
2746
- sig { returns(T::Enumerable[Asana::Resources::Workspace]) }
2747
- def find_all; end
2748
- end
2749
-
2750
- class Section
2751
- # _@param_ `project_gid`
2752
- #
2753
- # _@param_ `options`
2754
- sig { params(project_gid: String, options: T::Hash[T.untyped, T.untyped]).returns(T::Enumerable[Asana::Resources::Section]) }
2755
- def get_sections_for_project(project_gid:, options: {}); end
2756
-
2757
- # Returns the complete record for a single section.
2758
- #
2759
- # _@param_ `id` — - The section to get.
2760
- #
2761
- # _@param_ `options` — - the request I/O options.
2762
- sig { params(id: String, options: T::Hash[T.untyped, T.untyped]).returns(Asana::Resources::Section) }
2763
- def find_by_id(id, options: {}); end
2764
- end
2765
-
2766
- class Project
2767
- # Returns the compact project records for all projects in the workspace.
2768
- #
2769
- # Filters results to include only template projects.
2770
- #
2771
- # this parameter.
2772
- #
2773
- # _@param_ `workspace` — The workspace or organization to find projects in.
2774
- #
2775
- # _@param_ `is_template` — **Note: This parameter can only be included if a team is also defined, or the workspace is not an organization**
2776
- #
2777
- # _@param_ `archived` — Only return projects whose `archived` field takes on the value of
2778
- #
2779
- # _@param_ `per_page` — the number of records to fetch per page.
2780
- #
2781
- # _@param_ `options` — the request I/O options.
2782
- sig do
2783
- params(
2784
- workspace: String,
2785
- is_template: T.nilable(T::Boolean),
2786
- archived: T.nilable(T::Boolean),
2787
- per_page: Integer,
2788
- options: T::Hash[T.untyped, T.untyped]
2789
- ).returns(T::Enumerable[Asana::Resources::Project])
2790
- end
2791
- def find_by_workspace(workspace: required("workspace"), is_template: nil, archived: nil, per_page: 20, options: {}); end
2792
-
2793
- # Returns the complete project record for a single project.
2794
- #
2795
- # _@param_ `id` — The project to get.
2796
- #
2797
- # _@param_ `options` — the request I/O options.
2798
- sig { params(id: String, options: T::Hash[T.untyped, T.untyped]).returns(Asana::Resources::Project) }
2799
- def find_by_id(id, options: {}); end
2800
- end
2801
-
2802
- class UserTaskList
2803
- # sord warn - Asana::Resources::UserTaskList wasn't able to be resolved to a constant in this project
2804
- # _@param_ `user_gid` — (required) A string identifying a user. This can either be the string \"me\", an email, or the gid of a user.
2805
- #
2806
- # _@param_ `workspace` — (required) The workspace in which to get the user task list.
2807
- #
2808
- # _@param_ `options` — the request I/O options
2809
- sig { params(user_gid: String, workspace: T.nilable(String), options: T::Hash[T.untyped, T.untyped]).returns(Asana::Resources::UserTaskList) }
2810
- def get_user_task_list_for_user(user_gid:, workspace: nil, options: {}); end
2811
- end
2812
-
2813
- class Portfolio
2814
- # Returns a list of the portfolios in compact representation that are owned
2815
- # by the current API user.
2816
- #
2817
- # list of portfolios that they themselves own.
2818
- #
2819
- # _@param_ `workspace` — The workspace or organization to filter portfolios on.
2820
- #
2821
- # _@param_ `owner` — The user who owns the portfolio. Currently, API users can only get a
2822
- #
2823
- # _@param_ `per_page` — the number of records to fetch per page.
2824
- #
2825
- # _@param_ `options` — the request I/O options.
2826
- sig do
2827
- params(
2828
- workspace: String,
2829
- owner: String,
2830
- per_page: Integer,
2831
- options: T::Hash[T.untyped, T.untyped]
2832
- ).returns(T::Enumerable[Asana::Resources::Portfolio])
2833
- end
2834
- def find_all(workspace: required("workspace"), owner: required("owner"), per_page: 20, options: {}); end
2835
-
2836
- sig { params(id: T.untyped, options: T.untyped).returns(T.nilable(Asana::Resources::Portfolio)) }
2837
- def find_by_id(id, options: {}); end
2838
-
2839
- # Get portfolio items
2840
- #
2841
- # _@param_ `portfolio_gid` — (required) Globally unique identifier for the portfolio.
2842
- #
2843
- # _@param_ `options` — the request I/O options
2844
- sig { params(portfolio_gid: String, options: T::Hash[T.untyped, T.untyped]).returns(T::Enumerable[Asana::Resources::Project]) }
2845
- def get_items_for_portfolio(portfolio_gid: required("portfolio_gid"), options: {}); end
2846
- end
2847
-
2848
- class User
2849
- # sord warn - Asana::Resources::User wasn't able to be resolved to a constant in this project
2850
- # Returns the full user record for the currently authenticated user.
2851
- #
2852
- # _@param_ `options` — the request I/O options.
2853
- sig { params(options: T::Hash[T.untyped, T.untyped]).returns(Asana::Resources::User) }
2854
- def me(options: {}); end
2855
- end
2856
- end
2857
- end
2858
-
2859
- module T
2860
- # sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
2861
- # sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
2862
- # _@param_ `type`
2863
- sig { params(type: T.any(T::Types::Base, T.class_of(Object))).returns(T::Types::Base) }
2864
- def self.nilable(type); end
2865
-
2866
- # sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
2867
- # _@param_ `obj`
2868
- #
2869
- # _@param_ `type`
2870
- sig { params(obj: BasicObject, type: T.any(T::Types::Base, T.class_of(Object))).returns(BasicObject) }
2871
- def self.let(obj, type); end
2872
-
2873
- # sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
2874
- sig { returns(T::Types::Base) }
2875
- def self.untyped; end
2876
-
2877
- # sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
2878
- # sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
2879
- # _@param_ `type`
2880
- sig { params(type: T.any(T::Types::Base, T.class_of(Object))).returns(T::Types::Base) }
2881
- def nilable(type); end
2882
-
2883
- # _@param_ `o`
2884
- #
2885
- # _@param_ `type`
2886
- sig { params(o: T, type: T.class_of(T)).returns(T) }
2887
- def let(o, type); end
2888
-
2889
- class Struct
2890
- extend T::Props::ClassMethods
2891
- end
2892
- end
2893
-
2894
2398
  # Command-line and gem client for Asana (unofficial)
2895
2399
  module Checkoff
2896
- VERSION = T.let('0.230.0', T.untyped)
2400
+ VERSION = T.let('0.232.0', T.untyped)
2897
2401
 
2898
2402
  # Move tasks from one place to another
2899
2403
  class MvSubcommand
@@ -2956,6 +2460,9 @@ module Checkoff
2956
2460
  end
2957
2461
  def initialize(from_workspace_arg:, from_project_arg:, from_section_arg:, to_workspace_arg:, to_project_arg:, to_section_arg:, config: Checkoff::Internal::ConfigLoader.load(:asana), projects: Checkoff::Projects.new(config:), sections: Checkoff::Sections.new(config:), logger: $stderr); end
2958
2462
 
2463
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2464
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
2465
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
2959
2466
  # _@param_ `tasks`
2960
2467
  #
2961
2468
  # _@param_ `to_project`
@@ -2964,6 +2471,7 @@ module Checkoff
2964
2471
  sig { params(tasks: T::Enumerable[Asana::Resources::Task], to_project: Asana::Resources::Project, to_section: Asana::Resources::Section).void }
2965
2472
  def move_tasks(tasks, to_project, to_section); end
2966
2473
 
2474
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2967
2475
  # _@param_ `from_workspace_name`
2968
2476
  #
2969
2477
  # _@param_ `from_project_name`
@@ -3086,12 +2594,12 @@ module Checkoff
3086
2594
  end
3087
2595
  def run_on_task(workspace, project, section, task_name); end
3088
2596
 
3089
- # sord warn - undefined is probably not a type, but using anyway
3090
- # sord warn - undefined wasn't able to be resolved to a constant in this project
2597
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3091
2598
  # _@param_ `task`
3092
- sig { params(task: Asana::Resources::Task).returns(T::Hash[Symbol, undefined]) }
2599
+ sig { params(task: Asana::Resources::Task).returns(T::Hash[Symbol, T.untyped]) }
3093
2600
  def task_to_hash(task); end
3094
2601
 
2602
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3095
2603
  # _@param_ `tasks`
3096
2604
  sig { params(tasks: T::Enumerable[Asana::Resources::Task]).returns(T::Array[T::Hash[T.untyped, T.untyped]]) }
3097
2605
  def tasks_to_hash(tasks); end
@@ -3174,6 +2682,7 @@ module Checkoff
3174
2682
  LONG_CACHE_TIME = T.let(T.let(MINUTE * 15, Numeric), T.untyped)
3175
2683
  SHORT_CACHE_TIME = T.let(T.let(MINUTE, Numeric), T.untyped)
3176
2684
 
2685
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3177
2686
  # _@param_ `config`
3178
2687
  #
3179
2688
  # _@param_ `clients`
@@ -3194,6 +2703,7 @@ module Checkoff
3194
2703
  end
3195
2704
  def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana), clients: Checkoff::Clients.new(config:), client: clients.client, projects: Checkoff::Projects.new(config:, client:), workspaces: Checkoff::Workspaces.new(config:, client:)); end
3196
2705
 
2706
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3197
2707
  # _@param_ `workspace_name`
3198
2708
  #
3199
2709
  # _@param_ `tag_name`
@@ -3211,6 +2721,7 @@ module Checkoff
3211
2721
  end
3212
2722
  def tasks(workspace_name, tag_name, only_uncompleted: true, extra_fields: []); end
3213
2723
 
2724
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3214
2725
  # _@param_ `workspace_name`
3215
2726
  #
3216
2727
  # _@param_ `tag_gid`
@@ -3266,6 +2777,7 @@ module Checkoff
3266
2777
  sig { returns(Checkoff::Projects) }
3267
2778
  attr_reader :projects
3268
2779
 
2780
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3269
2781
  sig { returns(Asana::Client) }
3270
2782
  attr_reader :client
3271
2783
  end
@@ -3281,6 +2793,8 @@ module Checkoff
3281
2793
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
3282
2794
  SHORT_CACHE_TIME = T.let(MINUTE * 5, T.untyped)
3283
2795
 
2796
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2797
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3284
2798
  # _@param_ `config`
3285
2799
  #
3286
2800
  # _@param_ `client`
@@ -3317,6 +2831,7 @@ module Checkoff
3317
2831
  client:), custom_fields: Checkoff::CustomFields.new(config:,
3318
2832
  client:), time_class: Time, date_class: Date, asana_task: Asana::Resources::Task); end
3319
2833
 
2834
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3320
2835
  # Indicates a task is ready for a person to work on it. This is
3321
2836
  # subtly different than what is used by Asana to mark a date as
3322
2837
  # red/green! A task is ready if it is not dependent on an
@@ -3335,6 +2850,7 @@ module Checkoff
3335
2850
  sig { params(task: Asana::Resources::Task, period: Symbol, ignore_dependencies: T::Boolean).returns(T::Boolean) }
3336
2851
  def task_ready?(task, period: :now_or_before, ignore_dependencies: false); end
3337
2852
 
2853
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3338
2854
  # _@param_ `task`
3339
2855
  #
3340
2856
  # _@param_ `field_name`
@@ -3343,12 +2859,14 @@ module Checkoff
3343
2859
  sig { params(task: Asana::Resources::Task, field_name: T.any(Symbol, T::Array[T.untyped]), period: T.any(Symbol, T::Array[T.untyped])).returns(T::Boolean) }
3344
2860
  def in_period?(task, field_name, period); end
3345
2861
 
2862
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3346
2863
  # _@param_ `task`
3347
2864
  #
3348
2865
  # _@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'
3349
2866
  sig { params(task: Asana::Resources::Task, field_name: T.any(Symbol, T::Array[T.untyped])).returns(T.nilable(T.any(Date, Time))) }
3350
2867
  def date_or_time_field_by_name(task, field_name); end
3351
2868
 
2869
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3352
2870
  # Pull a specific task by name
3353
2871
  #
3354
2872
  # @sg-ignore
@@ -3395,6 +2913,7 @@ module Checkoff
3395
2913
  end
3396
2914
  def gid_for_task(workspace_name, project_name, section_name, task_name); end
3397
2915
 
2916
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3398
2917
  # Pull a specific task by GID
3399
2918
  #
3400
2919
  # _@param_ `task_gid`
@@ -3405,6 +2924,7 @@ module Checkoff
3405
2924
  sig { params(task_gid: String, extra_fields: T::Array[String], only_uncompleted: T::Boolean).returns(T.nilable(Asana::Resources::Task)) }
3406
2925
  def task_by_gid(task_gid, extra_fields: [], only_uncompleted: true); end
3407
2926
 
2927
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3408
2928
  # Add a task
3409
2929
  #
3410
2930
  # _@param_ `name`
@@ -3415,6 +2935,7 @@ module Checkoff
3415
2935
  sig { params(name: String, workspace_gid: String, assignee_gid: String).returns(Asana::Resources::Task) }
3416
2936
  def add_task(name, workspace_gid: @workspaces.default_workspace_gid, assignee_gid: default_assignee_gid); end
3417
2937
 
2938
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3418
2939
  # Return user-accessible URL for a task
3419
2940
  #
3420
2941
  # _@param_ `task`
@@ -3423,6 +2944,7 @@ module Checkoff
3423
2944
  sig { params(task: Asana::Resources::Task).returns(String) }
3424
2945
  def url_of_task(task); end
3425
2946
 
2947
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3426
2948
  # True if any of the task's dependencies are marked incomplete
3427
2949
  #
3428
2950
  # Include 'dependencies.gid' in extra_fields of task passed in.
@@ -3431,12 +2953,15 @@ module Checkoff
3431
2953
  sig { params(task: Asana::Resources::Task).returns(T::Boolean) }
3432
2954
  def incomplete_dependencies?(task); end
3433
2955
 
2956
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2957
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3434
2958
  # _@param_ `task`
3435
2959
  #
3436
2960
  # _@param_ `extra_task_fields`
3437
2961
  sig { params(task: Asana::Resources::Task, extra_task_fields: T::Array[String]).returns(T::Array[Asana::Resources::Task]) }
3438
2962
  def all_dependent_tasks(task, extra_task_fields: []); end
3439
2963
 
2964
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3440
2965
  # Builds on the standard API representation of an Asana task with some
3441
2966
  # convenience keys:
3442
2967
  #
@@ -3452,10 +2977,12 @@ module Checkoff
3452
2977
  sig { params(task: Asana::Resources::Task).returns(T::Hash[T.untyped, T.untyped]) }
3453
2978
  def task_to_h(task); end
3454
2979
 
2980
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3455
2981
  # _@param_ `task_data`
3456
2982
  sig { params(task_data: T::Hash[T.untyped, T.untyped]).returns(Asana::Resources::Task) }
3457
2983
  def h_to_task(task_data); end
3458
2984
 
2985
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3459
2986
  # True if the task is in a project which is in the given portfolio
3460
2987
  #
3461
2988
  # _@param_ `task`
@@ -3466,6 +2993,7 @@ module Checkoff
3466
2993
  sig { params(task: Asana::Resources::Task, portfolio_name: String, workspace_name: String).returns(T::Boolean) }
3467
2994
  def in_portfolio_named?(task, portfolio_name, workspace_name: @workspaces.default_workspace.name); end
3468
2995
 
2996
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3469
2997
  # True if the task is in a project which is in the given portfolio
3470
2998
  #
3471
2999
  # _@param_ `task`
@@ -3485,6 +3013,7 @@ module Checkoff
3485
3013
  sig { returns(Checkoff::Internal::TaskHashes) }
3486
3014
  def task_hashes; end
3487
3015
 
3016
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3488
3017
  # _@param_ `workspace_name`
3489
3018
  #
3490
3019
  # _@param_ `project_name`
@@ -3540,6 +3069,7 @@ module Checkoff
3540
3069
  sig { returns(Symbol) }
3541
3070
  def log_level; end
3542
3071
 
3072
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3543
3073
  sig { returns(Asana::Client) }
3544
3074
  attr_reader :client
3545
3075
 
@@ -3561,6 +3091,7 @@ module Checkoff
3561
3091
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
3562
3092
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
3563
3093
 
3094
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3564
3095
  # _@param_ `config`
3565
3096
  #
3566
3097
  # _@param_ `workspaces`
@@ -3659,6 +3190,7 @@ module Checkoff
3659
3190
  sig { returns(Checkoff::Workspaces) }
3660
3191
  attr_reader :workspaces
3661
3192
 
3193
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3662
3194
  sig { returns(Asana::Client) }
3663
3195
  attr_reader :client
3664
3196
 
@@ -3804,12 +3336,14 @@ module Checkoff
3804
3336
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
3805
3337
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
3806
3338
 
3339
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3807
3340
  # _@param_ `config`
3808
3341
  #
3809
3342
  # _@param_ `asana_client_class`
3810
3343
  sig { params(config: T.any(T::Hash[T.untyped, T.untyped], Checkoff::Internal::EnvFallbackConfigLoader), asana_client_class: T.class_of(Asana::Client)).void }
3811
3344
  def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana), asana_client_class: Asana::Client); end
3812
3345
 
3346
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3813
3347
  sig { returns(Asana::Client) }
3814
3348
  def client; end
3815
3349
 
@@ -3823,6 +3357,7 @@ module Checkoff
3823
3357
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
3824
3358
  SHORT_CACHE_TIME = T.let(MINUTE * 5, T.untyped)
3825
3359
 
3360
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3826
3361
  # _@param_ `config`
3827
3362
  #
3828
3363
  # _@param_ `client`
@@ -3832,6 +3367,8 @@ module Checkoff
3832
3367
  def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana), client: Checkoff::Clients.new(config:).client, projects: Checkoff::Projects.new(config:,
3833
3368
  client:)); end
3834
3369
 
3370
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3371
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3835
3372
  # Given a 'My Tasks' project object, pull all tasks, then provide
3836
3373
  # a Hash of tasks with section name -> task list of the
3837
3374
  # uncompleted tasks.
@@ -3848,6 +3385,8 @@ module Checkoff
3848
3385
  sig { params(name: String).returns(T.nilable(String)) }
3849
3386
  def section_key(name); end
3850
3387
 
3388
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3389
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3851
3390
  # Given a list of tasks in 'My Tasks', pull a Hash of tasks with
3852
3391
  # section name -> task list
3853
3392
  #
@@ -3860,6 +3399,7 @@ module Checkoff
3860
3399
  sig { returns(Checkoff::Projects) }
3861
3400
  attr_reader :projects
3862
3401
 
3402
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3863
3403
  sig { returns(Asana::Client) }
3864
3404
  attr_reader :client
3865
3405
  end
@@ -3876,6 +3416,7 @@ module Checkoff
3876
3416
  MEDIUM_CACHE_TIME = T.let(MINUTE * 5, T.untyped)
3877
3417
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
3878
3418
 
3419
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3879
3420
  # _@param_ `config`
3880
3421
  #
3881
3422
  # _@param_ `client`
@@ -3904,14 +3445,12 @@ module Checkoff
3904
3445
  sig { params(extra_fields: T::Array[String]).returns(T::Array[String]) }
3905
3446
  def task_fields(extra_fields: []); end
3906
3447
 
3907
- # sord warn - undefined is probably not a type, but using anyway
3908
- # sord warn - undefined wasn't able to be resolved to a constant in this project
3909
3448
  # Default options used in Asana API to pull tasks
3910
3449
  #
3911
3450
  # _@param_ `extra_fields`
3912
3451
  #
3913
3452
  # _@param_ `only_uncompleted`
3914
- sig { params(extra_fields: T::Array[String], only_uncompleted: T::Boolean).returns(T::Hash[Symbol, undefined]) }
3453
+ sig { params(extra_fields: T::Array[String], only_uncompleted: T::Boolean).returns(T::Hash[Symbol, T.untyped]) }
3915
3454
  def task_options(extra_fields: [], only_uncompleted: false); end
3916
3455
 
3917
3456
  # _@param_ `extra_project_fields`
@@ -3924,6 +3463,7 @@ module Checkoff
3924
3463
  sig { params(extra_project_fields: T::Array[String]).returns(T::Hash[Symbol, Object]) }
3925
3464
  def project_options(extra_project_fields: []); end
3926
3465
 
3466
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3927
3467
  # pulls an Asana API project class given a name
3928
3468
  #
3929
3469
  # _@param_ `workspace_name`
@@ -3934,6 +3474,7 @@ module Checkoff
3934
3474
  sig { params(workspace_name: String, project_name: T.any(String, Symbol), extra_fields: T::Array[String]).returns(T.nilable(Asana::Resources::Project)) }
3935
3475
  def project(workspace_name, project_name, extra_fields: []); end
3936
3476
 
3477
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3937
3478
  # _@param_ `workspace_name`
3938
3479
  #
3939
3480
  # _@param_ `project_name` — - :my_tasks or a project name
@@ -3942,18 +3483,23 @@ module Checkoff
3942
3483
  sig { params(workspace_name: String, project_name: T.any(String, Symbol), extra_fields: T::Array[String]).returns(Asana::Resources::Project) }
3943
3484
  def project_or_raise(workspace_name, project_name, extra_fields: []); end
3944
3485
 
3486
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3945
3487
  # _@param_ `gid`
3946
3488
  #
3947
3489
  # _@param_ `extra_fields`
3948
3490
  sig { params(gid: String, extra_fields: T::Array[String]).returns(T.nilable(Asana::Resources::Project)) }
3949
3491
  def project_by_gid(gid, extra_fields: []); end
3950
3492
 
3493
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3494
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3951
3495
  # find uncompleted tasks in a list
3952
3496
  #
3953
3497
  # _@param_ `tasks`
3954
3498
  sig { params(tasks: T::Enumerable[Asana::Resources::Task]).returns(T::Enumerable[Asana::Resources::Task]) }
3955
3499
  def active_tasks(tasks); end
3956
3500
 
3501
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3502
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3957
3503
  # Pull task objects from a named project
3958
3504
  #
3959
3505
  # _@param_ `project`
@@ -3964,6 +3510,7 @@ module Checkoff
3964
3510
  sig { params(project: Asana::Resources::Project, only_uncompleted: T::Boolean, extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Task]) }
3965
3511
  def tasks_from_project(project, only_uncompleted: true, extra_fields: []); end
3966
3512
 
3513
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3967
3514
  # Pull task objects from a project identified by a gid
3968
3515
  #
3969
3516
  # _@param_ `project_gid`
@@ -3974,18 +3521,21 @@ module Checkoff
3974
3521
  sig { params(project_gid: String, only_uncompleted: T::Boolean, extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Task]) }
3975
3522
  def tasks_from_project_gid(project_gid, only_uncompleted: true, extra_fields: []); end
3976
3523
 
3524
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3977
3525
  # _@param_ `workspace_name`
3978
3526
  #
3979
3527
  # _@param_ `extra_fields`
3980
3528
  sig { params(workspace_name: String, extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Project]) }
3981
3529
  def projects_by_workspace_name(workspace_name, extra_fields: []); end
3982
3530
 
3531
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3983
3532
  # _@param_ `project_obj`
3984
3533
  #
3985
3534
  # _@param_ `project` — - :not_specified, :my_tasks or a project name
3986
3535
  sig { params(project_obj: Asana::Resources::Project, project: T.any(String, Symbol)).returns(T::Hash[T.untyped, T.untyped]) }
3987
3536
  def project_to_h(project_obj, project: :not_specified); end
3988
3537
 
3538
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3989
3539
  # Indicates a project is ready for a person to work on it. This
3990
3540
  # is subtly different than what is used by Asana to mark a date as
3991
3541
  # red/green!
@@ -3999,6 +3549,7 @@ module Checkoff
3999
3549
  sig { params(project: Asana::Resources::Project, period: T.any(Symbol, [Symbol, Integer])).returns(T::Boolean) }
4000
3550
  def project_ready?(project, period: :now_or_before); end
4001
3551
 
3552
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4002
3553
  # _@param_ `project`
4003
3554
  #
4004
3555
  # _@param_ `field_name`
@@ -4010,9 +3561,11 @@ module Checkoff
4010
3561
  sig { returns(T::Hash[T.untyped, T.untyped]) }
4011
3562
  def as_cache_key; end
4012
3563
 
3564
+ # sord warn - Asana::ProxiedResourceClasses::Project wasn't able to be resolved to a constant in this project
4013
3565
  sig { returns(Asana::ProxiedResourceClasses::Project) }
4014
3566
  def projects; end
4015
3567
 
3568
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4016
3569
  # _@param_ `workspace_name`
4017
3570
  sig { params(workspace_name: String).returns(Asana::Resources::Project) }
4018
3571
  def my_tasks(workspace_name); end
@@ -4054,6 +3607,7 @@ module Checkoff
4054
3607
  sig { returns(Checkoff::Internal::ProjectHashes) }
4055
3608
  attr_reader :project_hashes
4056
3609
 
3610
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4057
3611
  sig { returns(Asana::Client) }
4058
3612
  attr_reader :client
4059
3613
  end
@@ -4069,6 +3623,7 @@ module Checkoff
4069
3623
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
4070
3624
  SHORT_CACHE_TIME = T.let(MINUTE * 5, T.untyped)
4071
3625
 
3626
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4072
3627
  # _@param_ `config`
4073
3628
  #
4074
3629
  # _@param_ `client`
@@ -4091,6 +3646,7 @@ module Checkoff
4091
3646
  client:), workspaces: Checkoff::Workspaces.new(config:,
4092
3647
  client:), time: Time); end
4093
3648
 
3649
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
4094
3650
  # Returns a list of Asana API section objects for a given project
4095
3651
  #
4096
3652
  # _@param_ `workspace_name`
@@ -4101,6 +3657,7 @@ module Checkoff
4101
3657
  sig { params(workspace_name: String, project_name: T.any(String, Symbol), extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Section]) }
4102
3658
  def sections_or_raise(workspace_name, project_name, extra_fields: []); end
4103
3659
 
3660
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
4104
3661
  # Returns a list of Asana API section objects for a given project GID
4105
3662
  #
4106
3663
  # _@param_ `project_gid`
@@ -4109,6 +3666,7 @@ module Checkoff
4109
3666
  sig { params(project_gid: String, extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Section]) }
4110
3667
  def sections_by_project_gid(project_gid, extra_fields: []); end
4111
3668
 
3669
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4112
3670
  # Given a workspace name and project name, then provide a Hash of
4113
3671
  # tasks with section name -> task list of the uncompleted tasks
4114
3672
  #
@@ -4129,6 +3687,7 @@ module Checkoff
4129
3687
  end
4130
3688
  def tasks_by_section(workspace_name, project_name, only_uncompleted: true, extra_fields: []); end
4131
3689
 
3690
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4132
3691
  # _@param_ `section_gid`
4133
3692
  #
4134
3693
  # _@param_ `only_uncompleted`
@@ -4137,6 +3696,7 @@ module Checkoff
4137
3696
  sig { params(section_gid: String, only_uncompleted: T::Boolean, extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Task]) }
4138
3697
  def tasks_by_section_gid(section_gid, only_uncompleted: true, extra_fields: []); end
4139
3698
 
3699
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4140
3700
  # Pulls task objects from a specified section
4141
3701
  #
4142
3702
  # _@param_ `workspace_name`
@@ -4170,6 +3730,7 @@ module Checkoff
4170
3730
  sig { params(workspace_name: String, project_name: T.any(String, Symbol), section_name: T.nilable(String)).returns(T::Array[String]) }
4171
3731
  def section_task_names(workspace_name, project_name, section_name); end
4172
3732
 
3733
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
4173
3734
  # @sg-ignore
4174
3735
  #
4175
3736
  # _@param_ `workspace_name`
@@ -4193,10 +3754,13 @@ module Checkoff
4193
3754
  sig { params(name: String).returns(T.nilable(String)) }
4194
3755
  def section_key(name); end
4195
3756
 
3757
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
3758
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
4196
3759
  # _@param_ `section`
4197
3760
  sig { params(section: Asana::Resources::Section).returns(T.nilable(Asana::Resources::Section)) }
4198
3761
  def previous_section(section); end
4199
3762
 
3763
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
4200
3764
  # _@param_ `gid`
4201
3765
  sig { params(gid: String).returns(T.nilable(Asana::Resources::Section)) }
4202
3766
  def section_by_gid(gid); end
@@ -4204,6 +3768,7 @@ module Checkoff
4204
3768
  sig { returns(T::Hash[T.untyped, T.untyped]) }
4205
3769
  def as_cache_key; end
4206
3770
 
3771
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
4207
3772
  # @sg-ignore
4208
3773
  #
4209
3774
  # _@param_ `workspace_name`
@@ -4230,6 +3795,8 @@ module Checkoff
4230
3795
  sig { params(response: Asana::HttpClient::Response).returns(T::Array[T.any(T::Hash[T.untyped, T.untyped], T::Hash[T.untyped, T.untyped])]) }
4231
3796
  def parse(response); end
4232
3797
 
3798
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3799
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4233
3800
  # Given a project object, pull all tasks, then provide a Hash of
4234
3801
  # tasks with section name -> task list of the uncompleted tasks
4235
3802
  #
@@ -4241,6 +3808,8 @@ module Checkoff
4241
3808
  sig { params(project: Asana::Resources::Project, only_uncompleted: T::Boolean, extra_fields: T::Array[String]).returns(T::Hash[T.nilable(String), T::Enumerable[Asana::Resources::Task]]) }
4242
3809
  def tasks_by_section_for_project(project, only_uncompleted: true, extra_fields: []); end
4243
3810
 
3811
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3812
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4244
3813
  # Given a list of tasks, pull a Hash of tasks with section name -> task list
4245
3814
  #
4246
3815
  # _@param_ `tasks`
@@ -4249,6 +3818,8 @@ module Checkoff
4249
3818
  sig { params(tasks: T::Enumerable[Asana::Resources::Task], project_gid: String).returns(T::Hash[T.nilable(String), T::Enumerable[Asana::Resources::Task]]) }
4250
3819
  def by_section(tasks, project_gid); end
4251
3820
 
3821
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3822
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4252
3823
  # _@param_ `by_section`
4253
3824
  #
4254
3825
  # _@param_ `task`
@@ -4257,6 +3828,7 @@ module Checkoff
4257
3828
  sig { params(by_section: T::Hash[T.nilable(String), T::Array[Asana::Resources::Task]], task: Asana::Resources::Task, project_gid: String).void }
4258
3829
  def file_task_by_section(by_section, task, project_gid); end
4259
3830
 
3831
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4260
3832
  # _@param_ `workspace_name`
4261
3833
  #
4262
3834
  # _@param_ `project_name`
@@ -4303,6 +3875,7 @@ module Checkoff
4303
3875
  sig { returns(Checkoff::MyTasks) }
4304
3876
  attr_reader :my_tasks
4305
3877
 
3878
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4306
3879
  sig { returns(Asana::Client) }
4307
3880
  attr_reader :client
4308
3881
  end
@@ -4323,24 +3896,30 @@ module Checkoff
4323
3896
  sig { params(config: T.any(T::Hash[T.untyped, T.untyped], Checkoff::Internal::EnvFallbackConfigLoader), projects: Checkoff::Projects, clients: Checkoff::Clients).void }
4324
3897
  def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana), projects: Checkoff::Projects.new(config:), clients: Checkoff::Clients.new(config:)); end
4325
3898
 
3899
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4326
3900
  # True if all subtasks of the task are completed
4327
3901
  #
4328
3902
  # _@param_ `task`
4329
3903
  sig { params(task: Asana::Resources::Task).returns(T::Boolean) }
4330
3904
  def all_subtasks_completed?(task); end
4331
3905
 
3906
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3907
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4332
3908
  # pulls a Hash of subtasks broken out by section
4333
3909
  #
4334
3910
  # _@param_ `tasks`
4335
3911
  sig { params(tasks: T::Enumerable[Asana::Resources::Task]).returns(T::Hash[T.nilable(String), T::Enumerable[Asana::Resources::Task]]) }
4336
3912
  def by_section(tasks); end
4337
3913
 
3914
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3915
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4338
3916
  # Returns all subtasks, including section headers
4339
3917
  #
4340
3918
  # _@param_ `task`
4341
3919
  sig { params(task: Asana::Resources::Task).returns(T::Enumerable[Asana::Resources::Task]) }
4342
3920
  def raw_subtasks(task); end
4343
3921
 
3922
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4344
3923
  # Pull a specific task by GID
4345
3924
  #
4346
3925
  # _@param_ `task_gid`
@@ -4351,6 +3930,7 @@ module Checkoff
4351
3930
  sig { params(task_gid: String, extra_fields: T::Array[String], only_uncompleted: T::Boolean).returns(T::Enumerable[Asana::Resources::Task]) }
4352
3931
  def subtasks_by_gid(task_gid, extra_fields: [], only_uncompleted: true); end
4353
3932
 
3933
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4354
3934
  # True if the subtask passed in represents a section in the subtasks
4355
3935
  #
4356
3936
  # Note: expect this to be removed in a future version, as Asana is
@@ -4361,6 +3941,7 @@ module Checkoff
4361
3941
  sig { params(subtask: Asana::Resources::Task).returns(T::Boolean) }
4362
3942
  def subtask_section?(subtask); end
4363
3943
 
3944
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4364
3945
  # _@param_ `current_section`
4365
3946
  #
4366
3947
  # _@param_ `by_section`
@@ -4372,6 +3953,7 @@ module Checkoff
4372
3953
  sig { returns(Checkoff::Projects) }
4373
3954
  attr_reader :projects
4374
3955
 
3956
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4375
3957
  sig { returns(Asana::Client) }
4376
3958
  attr_reader :client
4377
3959
  end
@@ -4386,6 +3968,7 @@ module Checkoff
4386
3968
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
4387
3969
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
4388
3970
 
3971
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4389
3972
  # _@param_ `config`
4390
3973
  #
4391
3974
  # _@param_ `workspaces`
@@ -4425,14 +4008,17 @@ module Checkoff
4425
4008
  sig { params(gid: String, resource_type: T.nilable(String)).returns([T.untyped, T.untyped, T.untyped, T.untyped]) }
4426
4009
  def resource_by_gid(gid, resource_type: nil); end
4427
4010
 
4011
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4428
4012
  # _@param_ `gid`
4429
4013
  sig { params(gid: String).returns(T.nilable(Asana::Resources::Task)) }
4430
4014
  def fetch_task_gid(gid); end
4431
4015
 
4016
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
4432
4017
  # _@param_ `section_gid`
4433
4018
  sig { params(section_gid: String).returns(T.nilable(Asana::Resources::Section)) }
4434
4019
  def fetch_section_gid(section_gid); end
4435
4020
 
4021
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4436
4022
  # _@param_ `project_gid`
4437
4023
  sig { params(project_gid: String).returns(T.nilable(Asana::Resources::Project)) }
4438
4024
  def fetch_project_gid(project_gid); end
@@ -4452,6 +4038,7 @@ module Checkoff
4452
4038
  sig { returns(Checkoff::Tasks) }
4453
4039
  attr_reader :tasks
4454
4040
 
4041
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4455
4042
  sig { returns(Asana::Client) }
4456
4043
  attr_reader :client
4457
4044
  end
@@ -4466,6 +4053,7 @@ module Checkoff
4466
4053
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
4467
4054
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
4468
4055
 
4056
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4469
4057
  # _@param_ `config`
4470
4058
  #
4471
4059
  # _@param_ `workspaces`
@@ -4492,28 +4080,33 @@ module Checkoff
4492
4080
  end
4493
4081
  def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana), workspaces: Checkoff::Workspaces.new(config:), sections: Checkoff::Sections.new(config:), tasks: Checkoff::Tasks.new(config:), portfolios: Checkoff::Portfolios.new(config:), clients: Checkoff::Clients.new(config:), client: clients.client); end
4494
4082
 
4083
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4495
4084
  # _@param_ `task`
4496
4085
  #
4497
4086
  # _@param_ `limit_to_portfolio_gid`
4498
4087
  sig { params(task: Asana::Resources::Task, limit_to_portfolio_gid: T.nilable(String)).returns(T::Boolean) }
4499
4088
  def task_dependent_on_previous_section_last_milestone?(task, limit_to_portfolio_gid: nil); end
4500
4089
 
4090
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4501
4091
  # _@param_ `task`
4502
4092
  #
4503
4093
  # _@param_ `limit_to_portfolio_name`
4504
4094
  sig { params(task: Asana::Resources::Task, limit_to_portfolio_name: T.nilable(String)).returns(T::Boolean) }
4505
4095
  def last_task_milestone_depends_on_this_task?(task, limit_to_portfolio_name: nil); end
4506
4096
 
4097
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4507
4098
  # _@param_ `task`
4508
4099
  #
4509
4100
  # _@param_ `limit_to_portfolio_name`
4510
4101
  sig { params(task: Asana::Resources::Task, limit_to_portfolio_name: T.nilable(String)).returns(T::Boolean) }
4511
4102
  def any_milestone_depends_on_this_task?(task, limit_to_portfolio_name: nil); end
4512
4103
 
4104
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4513
4105
  # _@param_ `section_gid`
4514
4106
  sig { params(section_gid: String).returns(T.nilable(Asana::Resources::Task)) }
4515
4107
  def last_milestone_in_section(section_gid); end
4516
4108
 
4109
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
4517
4110
  # _@param_ `task_data`
4518
4111
  #
4519
4112
  # _@param_ `section`
@@ -4526,6 +4119,7 @@ module Checkoff
4526
4119
  sig { returns(Checkoff::Workspaces) }
4527
4120
  attr_reader :workspaces
4528
4121
 
4122
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4529
4123
  sig { returns(Asana::Client) }
4530
4124
  attr_reader :client
4531
4125
  end
@@ -4541,6 +4135,7 @@ module Checkoff
4541
4135
  LONG_CACHE_TIME = T.let(T.let(MINUTE * 15, Numeric), T.untyped)
4542
4136
  SHORT_CACHE_TIME = T.let(T.let(MINUTE, Numeric), T.untyped)
4543
4137
 
4138
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4544
4139
  # _@param_ `config`
4545
4140
  #
4546
4141
  # _@param_ `workspaces`
@@ -4561,12 +4156,14 @@ module Checkoff
4561
4156
  end
4562
4157
  def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana), clients: Checkoff::Clients.new(config:), client: clients.client, projects: Checkoff::Projects.new(config:, client:), workspaces: Checkoff::Workspaces.new(config:, client:)); end
4563
4158
 
4159
+ # sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
4564
4160
  # _@param_ `workspace_name`
4565
4161
  #
4566
4162
  # _@param_ `portfolio_name`
4567
4163
  sig { params(workspace_name: String, portfolio_name: String).returns(Asana::Resources::Portfolio) }
4568
4164
  def portfolio_or_raise(workspace_name, portfolio_name); end
4569
4165
 
4166
+ # sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
4570
4167
  # @sg-ignore
4571
4168
  #
4572
4169
  # _@param_ `workspace_name`
@@ -4575,6 +4172,7 @@ module Checkoff
4575
4172
  sig { params(workspace_name: String, portfolio_name: String).returns(T.nilable(Asana::Resources::Portfolio)) }
4576
4173
  def portfolio(workspace_name, portfolio_name); end
4577
4174
 
4175
+ # sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
4578
4176
  # Pull a specific portfolio by gid
4579
4177
  #
4580
4178
  # _@param_ `portfolio_gid`
@@ -4583,6 +4181,7 @@ module Checkoff
4583
4181
  sig { params(portfolio_gid: String, extra_fields: T::Array[String]).returns(T.nilable(Asana::Resources::Portfolio)) }
4584
4182
  def portfolio_by_gid(portfolio_gid, extra_fields: []); end
4585
4183
 
4184
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4586
4185
  # _@param_ `workspace_name`
4587
4186
  #
4588
4187
  # _@param_ `portfolio_name`
@@ -4591,6 +4190,8 @@ module Checkoff
4591
4190
  sig { params(workspace_name: String, portfolio_name: String, extra_project_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Project]) }
4592
4191
  def projects_in_portfolio(workspace_name, portfolio_name, extra_project_fields: []); end
4593
4192
 
4193
+ # sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
4194
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4594
4195
  # _@param_ `portfolio`
4595
4196
  #
4596
4197
  # _@param_ `extra_project_fields`
@@ -4606,6 +4207,7 @@ module Checkoff
4606
4207
  sig { returns(Checkoff::Projects) }
4607
4208
  attr_reader :projects
4608
4209
 
4210
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4609
4211
  sig { returns(Asana::Client) }
4610
4212
  attr_reader :client
4611
4213
  end
@@ -4620,6 +4222,8 @@ module Checkoff
4620
4222
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
4621
4223
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
4622
4224
 
4225
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4226
+ # sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
4623
4227
  # _@param_ `config`
4624
4228
  #
4625
4229
  # _@param_ `client`
@@ -4628,6 +4232,7 @@ module Checkoff
4628
4232
  sig { params(config: T.any(T::Hash[T.untyped, T.untyped], Checkoff::Internal::EnvFallbackConfigLoader), client: Asana::Client, asana_workspace: T.class_of(Asana::Resources::Workspace)).void }
4629
4233
  def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana), client: Checkoff::Clients.new(config:).client, asana_workspace: Asana::Resources::Workspace); end
4630
4234
 
4235
+ # sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
4631
4236
  # Pulls an Asana workspace object
4632
4237
  # @sg-ignore
4633
4238
  #
@@ -4635,9 +4240,11 @@ module Checkoff
4635
4240
  sig { params(workspace_name: String).returns(T.nilable(Asana::Resources::Workspace)) }
4636
4241
  def workspace(workspace_name); end
4637
4242
 
4243
+ # sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
4638
4244
  sig { returns(Asana::Resources::Workspace) }
4639
4245
  def default_workspace; end
4640
4246
 
4247
+ # sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
4641
4248
  # _@param_ `workspace_name`
4642
4249
  sig { params(workspace_name: String).returns(Asana::Resources::Workspace) }
4643
4250
  def workspace_or_raise(workspace_name); end
@@ -4646,6 +4253,7 @@ module Checkoff
4646
4253
  sig { returns(String) }
4647
4254
  def default_workspace_gid; end
4648
4255
 
4256
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4649
4257
  sig { returns(Asana::Client) }
4650
4258
  attr_reader :client
4651
4259
  end
@@ -4660,6 +4268,7 @@ module Checkoff
4660
4268
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
4661
4269
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
4662
4270
 
4271
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4663
4272
  # _@param_ `config`
4664
4273
  #
4665
4274
  # _@param_ `workspaces`
@@ -4792,6 +4401,7 @@ module Checkoff
4792
4401
  sig { returns(Checkoff::Workspaces) }
4793
4402
  attr_reader :workspaces
4794
4403
 
4404
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4795
4405
  sig { returns(Asana::Client) }
4796
4406
  attr_reader :client
4797
4407
  end
@@ -4806,6 +4416,7 @@ module Checkoff
4806
4416
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
4807
4417
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
4808
4418
 
4419
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4809
4420
  # _@param_ `config`
4810
4421
  #
4811
4422
  # _@param_ `workspaces`
@@ -4840,18 +4451,24 @@ module Checkoff
4840
4451
  sig { params(workspace_name: String, custom_field_name: String).returns(T.nilable(Asana::Resources::CustomField)) }
4841
4452
  def custom_field(workspace_name, custom_field_name); end
4842
4453
 
4454
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4455
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4843
4456
  # _@param_ `resource`
4844
4457
  #
4845
4458
  # _@param_ `custom_field_gid`
4846
4459
  sig { params(resource: T.any(Asana::Resources::Project, Asana::Resources::Task), custom_field_gid: String).returns(T::Array[String]) }
4847
4460
  def resource_custom_field_values_gids_or_raise(resource, custom_field_gid); end
4848
4461
 
4462
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4463
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4849
4464
  # _@param_ `resource`
4850
4465
  #
4851
4466
  # _@param_ `custom_field_name`
4852
4467
  sig { params(resource: T.any(Asana::Resources::Project, Asana::Resources::Task), custom_field_name: String).returns(T::Array[String]) }
4853
4468
  def resource_custom_field_values_names_by_name(resource, custom_field_name); end
4854
4469
 
4470
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4471
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4855
4472
  # @sg-ignore
4856
4473
  #
4857
4474
  # _@param_ `resource`
@@ -4860,12 +4477,16 @@ module Checkoff
4860
4477
  sig { params(resource: T.any(Asana::Resources::Task, Asana::Resources::Project), custom_field_name: String).returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
4861
4478
  def resource_custom_field_by_name(resource, custom_field_name); end
4862
4479
 
4480
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4481
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4863
4482
  # _@param_ `resource`
4864
4483
  #
4865
4484
  # _@param_ `custom_field_name`
4866
4485
  sig { params(resource: T.any(Asana::Resources::Task, Asana::Resources::Project), custom_field_name: String).returns(T::Hash[T.untyped, T.untyped]) }
4867
4486
  def resource_custom_field_by_name_or_raise(resource, custom_field_name); end
4868
4487
 
4488
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4489
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4869
4490
  # _@param_ `resource`
4870
4491
  #
4871
4492
  # _@param_ `custom_field_gid`
@@ -4890,6 +4511,7 @@ module Checkoff
4890
4511
  sig { returns(Checkoff::Workspaces) }
4891
4512
  attr_reader :workspaces
4892
4513
 
4514
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4893
4515
  sig { returns(Asana::Client) }
4894
4516
  attr_reader :client
4895
4517
  end
@@ -4906,6 +4528,7 @@ module Checkoff
4906
4528
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
4907
4529
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
4908
4530
 
4531
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4909
4532
  # sord warn - Asana::Resources::Collection wasn't able to be resolved to a constant in this project
4910
4533
  # _@param_ `config`
4911
4534
  #
@@ -4936,6 +4559,7 @@ module Checkoff
4936
4559
  end
4937
4560
  def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana), workspaces: Checkoff::Workspaces.new(config:), task_selectors: Checkoff::TaskSelectors.new(config:), projects: Checkoff::Projects.new(config:), clients: Checkoff::Clients.new(config:), client: clients.client, search_url_parser: Checkoff::Internal::SearchUrl::Parser.new, asana_resources_collection_class: Asana::Resources::Collection); end
4938
4561
 
4562
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4939
4563
  # Perform an equivalent search API to an Asana search URL in the
4940
4564
  # web UI. Not all URL parameters are supported; each one must be
4941
4565
  # added here manually. In addition, not all are supported in the
@@ -4951,6 +4575,7 @@ module Checkoff
4951
4575
  sig { params(workspace_name: String, url: String, extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Task]) }
4952
4576
  def task_search(workspace_name, url, extra_fields: []); end
4953
4577
 
4578
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4954
4579
  # Perform a search using the Asana Task Search API:
4955
4580
  #
4956
4581
  # https://developers.asana.com/reference/searchtasksforworkspace
@@ -4978,6 +4603,7 @@ module Checkoff
4978
4603
  sig { returns(T::Hash[T.untyped, T.untyped]) }
4979
4604
  def as_cache_key; end
4980
4605
 
4606
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4981
4607
  # Perform a search using the Asana Task Search API:
4982
4608
  #
4983
4609
  # https://developers.asana.com/reference/searchtasksforworkspace
@@ -4990,6 +4616,7 @@ module Checkoff
4990
4616
  sig { params(api_params: T::Hash[String, Object], workspace_gid: String, extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Task]) }
4991
4617
  def api_task_search_request(api_params, workspace_gid:, extra_fields:); end
4992
4618
 
4619
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4993
4620
  # Perform a search using the Asana Task Search API and use manual pagination to
4994
4621
  # ensure all results are returned:
4995
4622
  #
@@ -5011,12 +4638,10 @@ module Checkoff
5011
4638
  sig { params(api_params: T::Hash[String, Object], workspace_gid: String, extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Task]) }
5012
4639
  def iterated_raw_task_search(api_params, workspace_gid:, extra_fields:); end
5013
4640
 
5014
- # sord warn - undefined is probably not a type, but using anyway
5015
- # sord warn - undefined wasn't able to be resolved to a constant in this project
5016
4641
  # @sg-ignore
5017
4642
  #
5018
4643
  # _@param_ `extra_fields`
5019
- sig { params(extra_fields: T::Array[String]).returns(T::Hash[Symbol, undefined]) }
4644
+ sig { params(extra_fields: T::Array[String]).returns(T::Hash[Symbol, T.untyped]) }
5020
4645
  def calculate_api_options(extra_fields); end
5021
4646
 
5022
4647
  sig { void }
@@ -5059,6 +4684,7 @@ module Checkoff
5059
4684
  sig { returns(Checkoff::Workspaces) }
5060
4685
  attr_reader :workspaces
5061
4686
 
4687
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5062
4688
  sig { returns(Asana::Client) }
5063
4689
  attr_reader :client
5064
4690
  end
@@ -5072,6 +4698,7 @@ module Checkoff
5072
4698
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
5073
4699
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
5074
4700
 
4701
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5075
4702
  # @sg-ignore
5076
4703
  #
5077
4704
  # _@param_ `config`
@@ -5097,6 +4724,7 @@ module Checkoff
5097
4724
  client:), custom_fields: Checkoff::CustomFields.new(config:,
5098
4725
  client:)); end
5099
4726
 
4727
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5100
4728
  # _@param_ `task`
5101
4729
  #
5102
4730
  # _@param_ `task_selector` — Filter based on task details. Examples: [:tag, 'foo'] [:not, [:tag, 'foo']] [:tag, 'foo']
@@ -5137,6 +4765,7 @@ module Checkoff
5137
4765
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
5138
4766
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
5139
4767
 
4768
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5140
4769
  # _@param_ `config`
5141
4770
  #
5142
4771
  # _@param_ `workspaces`
@@ -5163,6 +4792,7 @@ module Checkoff
5163
4792
  end
5164
4793
  def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana), workspaces: Checkoff::Workspaces.new(config:), projects: Checkoff::Projects.new(config:), custom_fields: Checkoff::CustomFields.new(config:), portfolios: Checkoff::Portfolios.new(config:), clients: Checkoff::Clients.new(config:), client: clients.client); end
5165
4794
 
4795
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
5166
4796
  # _@param_ `project`
5167
4797
  #
5168
4798
  # _@param_ `project_selector` — Filter based on project details. Examples: [:tag, 'foo'] [:not, [:tag, 'foo']] [:tag, 'foo']
@@ -5184,6 +4814,7 @@ module Checkoff
5184
4814
  sig { returns(Checkoff::Portfolios) }
5185
4815
  attr_reader :portfolios
5186
4816
 
4817
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5187
4818
  sig { returns(Asana::Client) }
5188
4819
  attr_reader :client
5189
4820
  end
@@ -5197,6 +4828,7 @@ module Checkoff
5197
4828
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
5198
4829
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
5199
4830
 
4831
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5200
4832
  # _@param_ `config`
5201
4833
  #
5202
4834
  # _@param_ `workspaces`
@@ -5220,6 +4852,7 @@ module Checkoff
5220
4852
  end
5221
4853
  def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana), workspaces: Checkoff::Workspaces.new(config:), sections: Checkoff::Sections.new(config:), custom_fields: Checkoff::CustomFields.new(config:), clients: Checkoff::Clients.new(config:), client: clients.client); end
5222
4854
 
4855
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
5223
4856
  # _@param_ `section`
5224
4857
  #
5225
4858
  # _@param_ `section_selector` — Filter based on section details. Examples: [:tag, 'foo'] [:not, [:tag, 'foo']] [:tag, 'foo']
@@ -5238,6 +4871,7 @@ module Checkoff
5238
4871
  sig { returns(Checkoff::CustomFields) }
5239
4872
  attr_reader :custom_fields
5240
4873
 
4874
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5241
4875
  sig { returns(Asana::Client) }
5242
4876
  attr_reader :client
5243
4877
  end
@@ -5246,10 +4880,13 @@ module Checkoff
5246
4880
  # Builds on the standard API representation of an Asana task with some
5247
4881
  # convenience keys.
5248
4882
  class TaskHashes
4883
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5249
4884
  # _@param_ `task`
5250
4885
  sig { params(task: Asana::Resources::Task).returns(T::Hash[T.untyped, T.untyped]) }
5251
4886
  def task_to_h(task); end
5252
4887
 
4888
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4889
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5253
4890
  # _@param_ `task_data`
5254
4891
  #
5255
4892
  # _@param_ `client`
@@ -5290,6 +4927,7 @@ module Checkoff
5290
4927
 
5291
4928
  # Utility methods for working with task dates and times
5292
4929
  class TaskTiming
4930
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5293
4931
  # _@param_ `time_class`
5294
4932
  #
5295
4933
  # _@param_ `date_class`
@@ -5307,36 +4945,43 @@ module Checkoff
5307
4945
  end
5308
4946
  def initialize(time_class: Time, date_class: Date, client: Checkoff::Clients.new.client, custom_fields: Checkoff::CustomFields.new(client:)); end
5309
4947
 
4948
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5310
4949
  # _@param_ `task`
5311
4950
  sig { params(task: Asana::Resources::Task).returns(T.nilable(Time)) }
5312
4951
  def start_time(task); end
5313
4952
 
4953
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5314
4954
  # _@param_ `task`
5315
4955
  sig { params(task: Asana::Resources::Task).returns(T.nilable(Time)) }
5316
4956
  def due_time(task); end
5317
4957
 
4958
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5318
4959
  # @sg-ignore
5319
4960
  #
5320
4961
  # _@param_ `task`
5321
4962
  sig { params(task: Asana::Resources::Task).returns(T.nilable(T.any(Date, Time))) }
5322
4963
  def start_date_or_time(task); end
5323
4964
 
4965
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5324
4966
  # @sg-ignore
5325
4967
  #
5326
4968
  # _@param_ `task`
5327
4969
  sig { params(task: Asana::Resources::Task).returns(T.nilable(T.any(Date, Time))) }
5328
4970
  def due_date_or_time(task); end
5329
4971
 
4972
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5330
4973
  # _@param_ `task`
5331
4974
  sig { params(task: Asana::Resources::Task).returns(T.nilable(Time)) }
5332
4975
  def modified_time(task); end
5333
4976
 
4977
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5334
4978
  # _@param_ `task`
5335
4979
  #
5336
4980
  # _@param_ `custom_field_name`
5337
4981
  sig { params(task: Asana::Resources::Task, custom_field_name: String).returns(T.nilable(T.any(Time, Date))) }
5338
4982
  def custom_field(task, custom_field_name); end
5339
4983
 
4984
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5340
4985
  # @sg-ignore
5341
4986
  #
5342
4987
  # _@param_ `task`
@@ -5348,6 +4993,8 @@ module Checkoff
5348
4993
 
5349
4994
  # Manage thread lock variables in a block
5350
4995
  class ThreadLocal
4996
+ # sord warn - T wasn't able to be resolved to a constant in this project
4997
+ # sord warn - T wasn't able to be resolved to a constant in this project
5351
4998
  # @sg-ignore
5352
4999
  #
5353
5000
  # _@param_ `name`
@@ -5360,14 +5007,12 @@ module Checkoff
5360
5007
  # Use the provided config from a YAML file, and fall back to env
5361
5008
  # variable if it's not populated for a key'
5362
5009
  class EnvFallbackConfigLoader
5363
- # sord warn - undefined is probably not a type, but using anyway
5364
- # sord warn - undefined wasn't able to be resolved to a constant in this project
5365
5010
  # _@param_ `config`
5366
5011
  #
5367
5012
  # _@param_ `sym`
5368
5013
  #
5369
5014
  # _@param_ `yaml_filename`
5370
- sig { params(config: T::Hash[Symbol, undefined], sym: Symbol, yaml_filename: String).void }
5015
+ sig { params(config: T::Hash[Symbol, T.untyped], sym: Symbol, yaml_filename: String).void }
5371
5016
  def initialize(config, sym, yaml_filename); end
5372
5017
 
5373
5018
  # _@param_ `key`
@@ -5389,10 +5034,8 @@ module Checkoff
5389
5034
  sig { params(sym: Symbol).returns(EnvFallbackConfigLoader) }
5390
5035
  def self.load(sym); end
5391
5036
 
5392
- # sord warn - undefined is probably not a type, but using anyway
5393
- # sord warn - undefined wasn't able to be resolved to a constant in this project
5394
5037
  # _@param_ `sym`
5395
- sig { params(sym: Symbol).returns(T::Hash[Symbol, undefined]) }
5038
+ sig { params(sym: Symbol).returns(T::Hash[Symbol, T.untyped]) }
5396
5039
  def self.load_yaml_file(sym); end
5397
5040
 
5398
5041
  # _@param_ `sym`
@@ -5407,6 +5050,7 @@ module Checkoff
5407
5050
  sig { params(_deps: T::Hash[T.untyped, T.untyped]).void }
5408
5051
  def initialize(_deps = {}); end
5409
5052
 
5053
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
5410
5054
  # _@param_ `project_obj`
5411
5055
  #
5412
5056
  # _@param_ `project` — - :not_specified, :my_tasks
@@ -5420,6 +5064,7 @@ module Checkoff
5420
5064
 
5421
5065
  # Utility methods for working with project dates and times
5422
5066
  class ProjectTiming
5067
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5423
5068
  # _@param_ `time_class`
5424
5069
  #
5425
5070
  # _@param_ `date_class`
@@ -5437,24 +5082,28 @@ module Checkoff
5437
5082
  end
5438
5083
  def initialize(time_class: Time, date_class: Date, client: Checkoff::Clients.new.client, custom_fields: Checkoff::CustomFields.new(client:)); end
5439
5084
 
5085
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
5440
5086
  # @sg-ignore
5441
5087
  #
5442
5088
  # _@param_ `project`
5443
5089
  sig { params(project: Asana::Resources::Project).returns(T.nilable(Date)) }
5444
5090
  def start_date(project); end
5445
5091
 
5092
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
5446
5093
  # @sg-ignore
5447
5094
  #
5448
5095
  # _@param_ `project`
5449
5096
  sig { params(project: Asana::Resources::Project).returns(T.nilable(Date)) }
5450
5097
  def due_date(project); end
5451
5098
 
5099
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
5452
5100
  # _@param_ `project`
5453
5101
  #
5454
5102
  # _@param_ `custom_field_name`
5455
5103
  sig { params(project: Asana::Resources::Project, custom_field_name: String).returns(T.nilable(T.any(Time, Date))) }
5456
5104
  def custom_field(project, custom_field_name); end
5457
5105
 
5106
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
5458
5107
  # @sg-ignore
5459
5108
  #
5460
5109
  # _@param_ `project`
@@ -5858,6 +5507,7 @@ module Checkoff
5858
5507
  class AsanaEventFilter
5859
5508
  include Logging
5860
5509
 
5510
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5861
5511
  # _@param_ `filters` — The filters to match against
5862
5512
  #
5863
5513
  # _@param_ `clients`
@@ -5899,6 +5549,7 @@ module Checkoff
5899
5549
  sig { params(key: String, value: T.any(String, T::Array[String]), asana_event: T::Hash[T.untyped, T.untyped]).returns(T::Boolean) }
5900
5550
  def asana_event_matches_filter_item?(key, value, asana_event); end
5901
5551
 
5552
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5902
5553
  # _@param_ `key`
5903
5554
  #
5904
5555
  # _@param_ `asana_event`
@@ -5941,6 +5592,7 @@ module Checkoff
5941
5592
  class AsanaEventEnrichment
5942
5593
  include Logging
5943
5594
 
5595
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5944
5596
  # _@param_ `config`
5945
5597
  #
5946
5598
  # _@param_ `workspaces`
@@ -6063,6 +5715,7 @@ module Checkoff
6063
5715
  sig { returns(Checkoff::Resources) }
6064
5716
  attr_reader :resources
6065
5717
 
5718
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
6066
5719
  sig { returns(Asana::Client) }
6067
5720
  attr_reader :client
6068
5721
  end
@@ -6108,6 +5761,7 @@ module Checkoff
6108
5761
  sig { params(_index: Integer).returns(T::Boolean) }
6109
5762
  def evaluate_arg?(_index); end
6110
5763
 
5764
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6111
5765
  # @sg-ignore
6112
5766
  #
6113
5767
  # _@param_ `task`
@@ -6124,6 +5778,7 @@ module Checkoff
6124
5778
  sig { params(_index: Integer).returns(T::Boolean) }
6125
5779
  def evaluate_arg?(_index); end
6126
5780
 
5781
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6127
5782
  # @sg-ignore
6128
5783
  #
6129
5784
  # _@param_ `task`
@@ -6142,6 +5797,7 @@ module Checkoff
6142
5797
  sig { params(_index: Integer).returns(T::Boolean) }
6143
5798
  def evaluate_arg?(_index); end
6144
5799
 
5800
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6145
5801
  # @sg-ignore
6146
5802
  #
6147
5803
  # _@param_ `task`
@@ -6160,6 +5816,7 @@ module Checkoff
6160
5816
  sig { params(_index: Integer).returns(T::Boolean) }
6161
5817
  def evaluate_arg?(_index); end
6162
5818
 
5819
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6163
5820
  # @sg-ignore
6164
5821
  #
6165
5822
  # _@param_ `task`
@@ -6178,6 +5835,7 @@ module Checkoff
6178
5835
  sig { params(_index: Integer).returns(T::Boolean) }
6179
5836
  def evaluate_arg?(_index); end
6180
5837
 
5838
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6181
5839
  # @sg-ignore
6182
5840
  #
6183
5841
  # _@param_ `task`
@@ -6196,6 +5854,7 @@ module Checkoff
6196
5854
  sig { params(_index: Integer).returns(T::Boolean) }
6197
5855
  def evaluate_arg?(_index); end
6198
5856
 
5857
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6199
5858
  # @sg-ignore
6200
5859
  #
6201
5860
  # _@param_ `task`
@@ -6216,6 +5875,7 @@ module Checkoff
6216
5875
  sig { params(_index: Integer).returns(T::Boolean) }
6217
5876
  def evaluate_arg?(_index); end
6218
5877
 
5878
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6219
5879
  # rubocop:disable Style/OptionalBooleanParameter
6220
5880
  #
6221
5881
  # _@param_ `task`
@@ -6236,6 +5896,7 @@ module Checkoff
6236
5896
  sig { params(_index: Integer).returns(T::Boolean) }
6237
5897
  def evaluate_arg?(_index); end
6238
5898
 
5899
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6239
5900
  # _@param_ `task`
6240
5901
  #
6241
5902
  # _@param_ `field_name` — See Checksoff::Tasks#in_period?
@@ -6250,6 +5911,7 @@ module Checkoff
6250
5911
  sig { returns(T::Boolean) }
6251
5912
  def matches?; end
6252
5913
 
5914
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6253
5915
  # _@param_ `task`
6254
5916
  sig { params(task: Asana::Resources::Task).returns(T::Boolean) }
6255
5917
  def evaluate(task); end
@@ -6262,6 +5924,7 @@ module Checkoff
6262
5924
  sig { returns(T::Boolean) }
6263
5925
  def matches?; end
6264
5926
 
5927
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6265
5928
  # @sg-ignore
6266
5929
  #
6267
5930
  # _@param_ `task`
@@ -6279,6 +5942,7 @@ module Checkoff
6279
5942
  sig { params(_index: Integer).returns(T::Boolean) }
6280
5943
  def evaluate_arg?(_index); end
6281
5944
 
5945
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6282
5946
  # _@param_ `task`
6283
5947
  #
6284
5948
  # _@param_ `num_days`
@@ -6295,10 +5959,12 @@ module Checkoff
6295
5959
  sig { returns(T::Boolean) }
6296
5960
  def matches?; end
6297
5961
 
5962
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6298
5963
  # _@param_ `task`
6299
5964
  sig { params(task: Asana::Resources::Task).returns(Float) }
6300
5965
  def calculate_allocated_hours(task); end
6301
5966
 
5967
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6302
5968
  # _@param_ `task`
6303
5969
  sig { params(task: Asana::Resources::Task).returns(T::Boolean) }
6304
5970
  def evaluate(task); end
@@ -6311,6 +5977,7 @@ module Checkoff
6311
5977
  sig { returns(T::Boolean) }
6312
5978
  def matches?; end
6313
5979
 
5980
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6314
5981
  # _@param_ `task`
6315
5982
  #
6316
5983
  # _@param_ `limit_to_portfolio_gid` — If specified, only projects in this portfolio will be evaluated.
@@ -6325,6 +5992,7 @@ module Checkoff
6325
5992
  sig { returns(T::Boolean) }
6326
5993
  def matches?; end
6327
5994
 
5995
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6328
5996
  # _@param_ `task`
6329
5997
  #
6330
5998
  # _@param_ `portfolio_name`
@@ -6342,6 +6010,7 @@ module Checkoff
6342
6010
  sig { params(_index: Integer).returns(T::Boolean) }
6343
6011
  def evaluate_arg?(_index); end
6344
6012
 
6013
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6345
6014
  # _@param_ `task`
6346
6015
  #
6347
6016
  # _@param_ `limit_to_portfolio_name`
@@ -6359,6 +6028,7 @@ module Checkoff
6359
6028
  sig { params(_index: Integer).returns(T::Boolean) }
6360
6029
  def evaluate_arg?(_index); end
6361
6030
 
6031
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6362
6032
  # _@param_ `task`
6363
6033
  sig { params(task: Asana::Resources::Task).returns(T::Boolean) }
6364
6034
  def evaluate(task); end
@@ -6374,6 +6044,7 @@ module Checkoff
6374
6044
  sig { params(_index: Integer).returns(T::Boolean) }
6375
6045
  def evaluate_arg?(_index); end
6376
6046
 
6047
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6377
6048
  # _@param_ `task`
6378
6049
  #
6379
6050
  # _@param_ `limit_to_portfolio_name`
@@ -6416,6 +6087,8 @@ module Checkoff
6416
6087
  sig { returns(T::Boolean) }
6417
6088
  def matches?; end
6418
6089
 
6090
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6091
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6419
6092
  # _@param_ `_resource`
6420
6093
  #
6421
6094
  # _@param_ `args`
@@ -6433,6 +6106,8 @@ module Checkoff
6433
6106
  sig { returns(T::Boolean) }
6434
6107
  def matches?; end
6435
6108
 
6109
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6110
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6436
6111
  # _@param_ `_resource`
6437
6112
  #
6438
6113
  # _@param_ `args`
@@ -6447,6 +6122,8 @@ module Checkoff
6447
6122
  sig { returns(T::Boolean) }
6448
6123
  def matches?; end
6449
6124
 
6125
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6126
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6450
6127
  # _@param_ `_resource`
6451
6128
  #
6452
6129
  # _@param_ `subvalue`
@@ -6459,6 +6136,8 @@ module Checkoff
6459
6136
  sig { returns(T::Boolean) }
6460
6137
  def matches?; end
6461
6138
 
6139
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6140
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6462
6141
  # _@param_ `_resource`
6463
6142
  #
6464
6143
  # _@param_ `subvalue`
@@ -6473,6 +6152,8 @@ module Checkoff
6473
6152
  sig { returns(T::Boolean) }
6474
6153
  def matches?; end
6475
6154
 
6155
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6156
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6476
6157
  # _@param_ `_resource`
6477
6158
  #
6478
6159
  # _@param_ `lhs`
@@ -6493,6 +6174,8 @@ module Checkoff
6493
6174
  sig { params(_index: Integer).returns(T::Boolean) }
6494
6175
  def evaluate_arg?(_index); end
6495
6176
 
6177
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6178
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6496
6179
  # _@param_ `resource`
6497
6180
  #
6498
6181
  # _@param_ `custom_field_name`
@@ -6508,6 +6191,8 @@ module Checkoff
6508
6191
  sig { params(_index: Integer).returns(T::Boolean) }
6509
6192
  def evaluate_arg?(_index); end
6510
6193
 
6194
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6195
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6511
6196
  # @sg-ignore
6512
6197
  #
6513
6198
  # _@param_ `resource`
@@ -6527,6 +6212,8 @@ module Checkoff
6527
6212
  sig { params(_index: Integer).returns(T::Boolean) }
6528
6213
  def evaluate_arg?(_index); end
6529
6214
 
6215
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6216
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6530
6217
  # _@param_ `resource`
6531
6218
  #
6532
6219
  # _@param_ `custom_field_gid`
@@ -6546,6 +6233,8 @@ module Checkoff
6546
6233
  sig { params(_index: Integer).returns(T::Boolean) }
6547
6234
  def evaluate_arg?(_index); end
6548
6235
 
6236
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6237
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6549
6238
  # _@param_ `resource`
6550
6239
  #
6551
6240
  # _@param_ `custom_field_name`
@@ -6565,6 +6254,8 @@ module Checkoff
6565
6254
  sig { params(_index: Integer).returns(T::Boolean) }
6566
6255
  def evaluate_arg?(_index); end
6567
6256
 
6257
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6258
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6568
6259
  # _@param_ `resource`
6569
6260
  #
6570
6261
  # _@param_ `custom_field_gid`
@@ -6584,6 +6275,8 @@ module Checkoff
6584
6275
  sig { params(_index: Integer).returns(T::Boolean) }
6585
6276
  def evaluate_arg?(_index); end
6586
6277
 
6278
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6279
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6587
6280
  # sord warn - boolish is probably not a type, but using anyway
6588
6281
  # sord warn - boolish wasn't able to be resolved to a constant in this project
6589
6282
  # _@param_ `resource`
@@ -6598,6 +6291,8 @@ module Checkoff
6598
6291
  sig { returns(T::Boolean) }
6599
6292
  def matches?; end
6600
6293
 
6294
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6295
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6601
6296
  # @sg-ignore
6602
6297
  #
6603
6298
  # _@param_ `_resource`
@@ -6629,6 +6324,7 @@ module Checkoff
6629
6324
  sig { returns(T::Boolean) }
6630
6325
  def matches?; end
6631
6326
 
6327
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6632
6328
  # _@param_ `resource`
6633
6329
  sig { params(resource: Asana::Resources::Project).returns(T.nilable(String)) }
6634
6330
  def evaluate(resource); end
@@ -6641,6 +6337,7 @@ module Checkoff
6641
6337
  sig { returns(T::Boolean) }
6642
6338
  def matches?; end
6643
6339
 
6340
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6644
6341
  # _@param_ `project`
6645
6342
  #
6646
6343
  # _@param_ `period` — - :now_or_before or :this_week
@@ -6655,6 +6352,7 @@ module Checkoff
6655
6352
  sig { returns(T::Boolean) }
6656
6353
  def matches?; end
6657
6354
 
6355
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6658
6356
  # _@param_ `project`
6659
6357
  #
6660
6358
  # _@param_ `portfolio_name`
@@ -6709,6 +6407,7 @@ module Checkoff
6709
6407
  sig { returns(T::Boolean) }
6710
6408
  def matches?; end
6711
6409
 
6410
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
6712
6411
  # @sg-ignore
6713
6412
  #
6714
6413
  # _@param_ `section`
@@ -6723,6 +6422,7 @@ module Checkoff
6723
6422
  sig { returns(T::Boolean) }
6724
6423
  def matches?; end
6725
6424
 
6425
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
6726
6426
  # @sg-ignore
6727
6427
  #
6728
6428
  # _@param_ `section`
@@ -6732,6 +6432,7 @@ module Checkoff
6732
6432
 
6733
6433
  # Base class to evaluate a project selector function given fully evaluated arguments
6734
6434
  class FunctionEvaluator < Checkoff::SelectorClasses::FunctionEvaluator
6435
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
6735
6436
  # _@param_ `selector`
6736
6437
  #
6737
6438
  # _@param_ `client`
@@ -6752,6 +6453,7 @@ module Checkoff
6752
6453
  sig { returns([Symbol, T::Array[T.untyped]]) }
6753
6454
  attr_reader :selector
6754
6455
 
6456
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
6755
6457
  sig { returns(Asana::Client) }
6756
6458
  attr_reader :client
6757
6459
  end
@@ -6769,6 +6471,7 @@ module Checkoff
6769
6471
  sig { returns(T::Boolean) }
6770
6472
  def matches?; end
6771
6473
 
6474
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6772
6475
  # @sg-ignore
6773
6476
  #
6774
6477
  # _@param_ `_task`
@@ -6823,6 +6526,7 @@ end - [Checkoff::SelectorClasses::Common::FunctionEvaluator]).freeze, T.untyped)
6823
6526
  end - [Checkoff::SelectorClasses::Task::FunctionEvaluator]).freeze, T.untyped)
6824
6527
  FUNCTION_EVALUTORS = T.let((COMMON_FUNCTION_EVALUATORS + TASK_FUNCTION_EVALUATORS).freeze, T.untyped)
6825
6528
 
6529
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6826
6530
  # _@param_ `task`
6827
6531
  #
6828
6532
  # _@param_ `tasks`
@@ -6846,6 +6550,7 @@ end - [Checkoff::SelectorClasses::Task::FunctionEvaluator]).freeze, T.untyped)
6846
6550
  sig { returns(T::Hash[T.untyped, T.untyped]) }
6847
6551
  def initializer_kwargs; end
6848
6552
 
6553
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6849
6554
  sig { returns(Asana::Resources::Task) }
6850
6555
  attr_reader :item
6851
6556
 
@@ -6869,6 +6574,7 @@ end - [Checkoff::SelectorClasses::Common::FunctionEvaluator]).freeze, T.untyped)
6869
6574
  end - [Checkoff::SelectorClasses::Project::FunctionEvaluator]).freeze, T.untyped)
6870
6575
  FUNCTION_EVALUTORS = T.let((COMMON_FUNCTION_EVALUATORS + PROJECT_FUNCTION_EVALUATORS).freeze, T.untyped)
6871
6576
 
6577
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6872
6578
  # _@param_ `project`
6873
6579
  #
6874
6580
  # _@param_ `projects`
@@ -6895,6 +6601,7 @@ end - [Checkoff::SelectorClasses::Project::FunctionEvaluator]).freeze, T.untyped
6895
6601
  sig { returns(T::Hash[T.untyped, T.untyped]) }
6896
6602
  def initializer_kwargs; end
6897
6603
 
6604
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6898
6605
  sig { returns(Asana::Resources::Project) }
6899
6606
  attr_reader :item
6900
6607
 
@@ -6921,6 +6628,8 @@ end - [Checkoff::SelectorClasses::Common::FunctionEvaluator]).freeze, T.untyped)
6921
6628
  end - [Checkoff::SelectorClasses::Section::FunctionEvaluator]).freeze, T.untyped)
6922
6629
  FUNCTION_EVALUATORS = T.let((COMMON_FUNCTION_EVALUATORS + SECTION_FUNCTION_EVALUATORS).freeze, T.untyped)
6923
6630
 
6631
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
6632
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
6924
6633
  # _@param_ `section`
6925
6634
  #
6926
6635
  # _@param_ `client`
@@ -6950,6 +6659,7 @@ end - [Checkoff::SelectorClasses::Section::FunctionEvaluator]).freeze, T.untyped
6950
6659
  sig { returns(T::Hash[T.untyped, T.untyped]) }
6951
6660
  def initializer_kwargs; end
6952
6661
 
6662
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6953
6663
  sig { returns(Asana::Resources::Project) }
6954
6664
  attr_reader :item
6955
6665
 
@@ -6962,6 +6672,7 @@ end - [Checkoff::SelectorClasses::Section::FunctionEvaluator]).freeze, T.untyped
6962
6672
  sig { returns(Checkoff::CustomFields) }
6963
6673
  attr_reader :custom_fields
6964
6674
 
6675
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
6965
6676
  sig { returns(Asana::Client) }
6966
6677
  attr_reader :client
6967
6678
  end
@@ -6997,3 +6708,29 @@ module Logging
6997
6708
  sig { returns(Symbol) }
6998
6709
  def log_level; end
6999
6710
  end
6711
+
6712
+ # Monkeypatches Asana::Resources::Resource so that Ruby marshalling and
6713
+ # unmarshalling works on Asana resource classes. Currently, it will
6714
+ # work unless you call an accessor method, which triggers Asana's
6715
+ # client library Resource class' method_missing() to "cache" the
6716
+ # result by creating a singleton method. Unfortunately, singleton
6717
+ # methods break marshalling, which is not smart enough to know that it
6718
+ # is not necessary to marshall them as they will simply be recreated
6719
+ # when needed.
6720
+ module Asana
6721
+ # Monkeypatches:
6722
+ #
6723
+ # https://github.com/Asana/ruby-asana/blob/master/lib/asana
6724
+ module Resources
6725
+ # Public: The base resource class which provides some sugar over common
6726
+ # resource functionality.
6727
+ class Resource
6728
+ sig { returns(T::Hash[T.untyped, T.untyped]) }
6729
+ def marshal_dump; end
6730
+
6731
+ # _@param_ `data`
6732
+ sig { params(data: T::Hash[T.untyped, T.untyped]).void }
6733
+ def marshal_load(data); end
6734
+ end
6735
+ end
6736
+ end