checkoff 0.230.0 → 0.231.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/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.231.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.231.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,14 @@ module Checkoff
3086
2594
  end
3087
2595
  def run_on_task(workspace, project, section, task_name); end
3088
2596
 
2597
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3089
2598
  # sord warn - undefined is probably not a type, but using anyway
3090
2599
  # sord warn - undefined wasn't able to be resolved to a constant in this project
3091
2600
  # _@param_ `task`
3092
2601
  sig { params(task: Asana::Resources::Task).returns(T::Hash[Symbol, undefined]) }
3093
2602
  def task_to_hash(task); end
3094
2603
 
2604
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3095
2605
  # _@param_ `tasks`
3096
2606
  sig { params(tasks: T::Enumerable[Asana::Resources::Task]).returns(T::Array[T::Hash[T.untyped, T.untyped]]) }
3097
2607
  def tasks_to_hash(tasks); end
@@ -3174,6 +2684,7 @@ module Checkoff
3174
2684
  LONG_CACHE_TIME = T.let(T.let(MINUTE * 15, Numeric), T.untyped)
3175
2685
  SHORT_CACHE_TIME = T.let(T.let(MINUTE, Numeric), T.untyped)
3176
2686
 
2687
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3177
2688
  # _@param_ `config`
3178
2689
  #
3179
2690
  # _@param_ `clients`
@@ -3194,6 +2705,7 @@ module Checkoff
3194
2705
  end
3195
2706
  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
2707
 
2708
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3197
2709
  # _@param_ `workspace_name`
3198
2710
  #
3199
2711
  # _@param_ `tag_name`
@@ -3211,6 +2723,7 @@ module Checkoff
3211
2723
  end
3212
2724
  def tasks(workspace_name, tag_name, only_uncompleted: true, extra_fields: []); end
3213
2725
 
2726
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3214
2727
  # _@param_ `workspace_name`
3215
2728
  #
3216
2729
  # _@param_ `tag_gid`
@@ -3266,6 +2779,7 @@ module Checkoff
3266
2779
  sig { returns(Checkoff::Projects) }
3267
2780
  attr_reader :projects
3268
2781
 
2782
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3269
2783
  sig { returns(Asana::Client) }
3270
2784
  attr_reader :client
3271
2785
  end
@@ -3281,6 +2795,8 @@ module Checkoff
3281
2795
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
3282
2796
  SHORT_CACHE_TIME = T.let(MINUTE * 5, T.untyped)
3283
2797
 
2798
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
2799
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3284
2800
  # _@param_ `config`
3285
2801
  #
3286
2802
  # _@param_ `client`
@@ -3317,6 +2833,7 @@ module Checkoff
3317
2833
  client:), custom_fields: Checkoff::CustomFields.new(config:,
3318
2834
  client:), time_class: Time, date_class: Date, asana_task: Asana::Resources::Task); end
3319
2835
 
2836
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3320
2837
  # Indicates a task is ready for a person to work on it. This is
3321
2838
  # subtly different than what is used by Asana to mark a date as
3322
2839
  # red/green! A task is ready if it is not dependent on an
@@ -3335,6 +2852,7 @@ module Checkoff
3335
2852
  sig { params(task: Asana::Resources::Task, period: Symbol, ignore_dependencies: T::Boolean).returns(T::Boolean) }
3336
2853
  def task_ready?(task, period: :now_or_before, ignore_dependencies: false); end
3337
2854
 
2855
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3338
2856
  # _@param_ `task`
3339
2857
  #
3340
2858
  # _@param_ `field_name`
@@ -3343,12 +2861,14 @@ module Checkoff
3343
2861
  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
2862
  def in_period?(task, field_name, period); end
3345
2863
 
2864
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3346
2865
  # _@param_ `task`
3347
2866
  #
3348
2867
  # _@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
2868
  sig { params(task: Asana::Resources::Task, field_name: T.any(Symbol, T::Array[T.untyped])).returns(T.nilable(T.any(Date, Time))) }
3350
2869
  def date_or_time_field_by_name(task, field_name); end
3351
2870
 
2871
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3352
2872
  # Pull a specific task by name
3353
2873
  #
3354
2874
  # @sg-ignore
@@ -3395,6 +2915,7 @@ module Checkoff
3395
2915
  end
3396
2916
  def gid_for_task(workspace_name, project_name, section_name, task_name); end
3397
2917
 
2918
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3398
2919
  # Pull a specific task by GID
3399
2920
  #
3400
2921
  # _@param_ `task_gid`
@@ -3405,6 +2926,7 @@ module Checkoff
3405
2926
  sig { params(task_gid: String, extra_fields: T::Array[String], only_uncompleted: T::Boolean).returns(T.nilable(Asana::Resources::Task)) }
3406
2927
  def task_by_gid(task_gid, extra_fields: [], only_uncompleted: true); end
3407
2928
 
2929
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3408
2930
  # Add a task
3409
2931
  #
3410
2932
  # _@param_ `name`
@@ -3415,6 +2937,7 @@ module Checkoff
3415
2937
  sig { params(name: String, workspace_gid: String, assignee_gid: String).returns(Asana::Resources::Task) }
3416
2938
  def add_task(name, workspace_gid: @workspaces.default_workspace_gid, assignee_gid: default_assignee_gid); end
3417
2939
 
2940
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3418
2941
  # Return user-accessible URL for a task
3419
2942
  #
3420
2943
  # _@param_ `task`
@@ -3423,6 +2946,7 @@ module Checkoff
3423
2946
  sig { params(task: Asana::Resources::Task).returns(String) }
3424
2947
  def url_of_task(task); end
3425
2948
 
2949
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3426
2950
  # True if any of the task's dependencies are marked incomplete
3427
2951
  #
3428
2952
  # Include 'dependencies.gid' in extra_fields of task passed in.
@@ -3431,12 +2955,15 @@ module Checkoff
3431
2955
  sig { params(task: Asana::Resources::Task).returns(T::Boolean) }
3432
2956
  def incomplete_dependencies?(task); end
3433
2957
 
2958
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2959
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3434
2960
  # _@param_ `task`
3435
2961
  #
3436
2962
  # _@param_ `extra_task_fields`
3437
2963
  sig { params(task: Asana::Resources::Task, extra_task_fields: T::Array[String]).returns(T::Array[Asana::Resources::Task]) }
3438
2964
  def all_dependent_tasks(task, extra_task_fields: []); end
3439
2965
 
2966
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3440
2967
  # Builds on the standard API representation of an Asana task with some
3441
2968
  # convenience keys:
3442
2969
  #
@@ -3452,10 +2979,12 @@ module Checkoff
3452
2979
  sig { params(task: Asana::Resources::Task).returns(T::Hash[T.untyped, T.untyped]) }
3453
2980
  def task_to_h(task); end
3454
2981
 
2982
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3455
2983
  # _@param_ `task_data`
3456
2984
  sig { params(task_data: T::Hash[T.untyped, T.untyped]).returns(Asana::Resources::Task) }
3457
2985
  def h_to_task(task_data); end
3458
2986
 
2987
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3459
2988
  # True if the task is in a project which is in the given portfolio
3460
2989
  #
3461
2990
  # _@param_ `task`
@@ -3466,6 +2995,7 @@ module Checkoff
3466
2995
  sig { params(task: Asana::Resources::Task, portfolio_name: String, workspace_name: String).returns(T::Boolean) }
3467
2996
  def in_portfolio_named?(task, portfolio_name, workspace_name: @workspaces.default_workspace.name); end
3468
2997
 
2998
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3469
2999
  # True if the task is in a project which is in the given portfolio
3470
3000
  #
3471
3001
  # _@param_ `task`
@@ -3485,6 +3015,7 @@ module Checkoff
3485
3015
  sig { returns(Checkoff::Internal::TaskHashes) }
3486
3016
  def task_hashes; end
3487
3017
 
3018
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3488
3019
  # _@param_ `workspace_name`
3489
3020
  #
3490
3021
  # _@param_ `project_name`
@@ -3540,6 +3071,7 @@ module Checkoff
3540
3071
  sig { returns(Symbol) }
3541
3072
  def log_level; end
3542
3073
 
3074
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3543
3075
  sig { returns(Asana::Client) }
3544
3076
  attr_reader :client
3545
3077
 
@@ -3561,6 +3093,7 @@ module Checkoff
3561
3093
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
3562
3094
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
3563
3095
 
3096
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3564
3097
  # _@param_ `config`
3565
3098
  #
3566
3099
  # _@param_ `workspaces`
@@ -3659,6 +3192,7 @@ module Checkoff
3659
3192
  sig { returns(Checkoff::Workspaces) }
3660
3193
  attr_reader :workspaces
3661
3194
 
3195
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3662
3196
  sig { returns(Asana::Client) }
3663
3197
  attr_reader :client
3664
3198
 
@@ -3804,12 +3338,14 @@ module Checkoff
3804
3338
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
3805
3339
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
3806
3340
 
3341
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3807
3342
  # _@param_ `config`
3808
3343
  #
3809
3344
  # _@param_ `asana_client_class`
3810
3345
  sig { params(config: T.any(T::Hash[T.untyped, T.untyped], Checkoff::Internal::EnvFallbackConfigLoader), asana_client_class: T.class_of(Asana::Client)).void }
3811
3346
  def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana), asana_client_class: Asana::Client); end
3812
3347
 
3348
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3813
3349
  sig { returns(Asana::Client) }
3814
3350
  def client; end
3815
3351
 
@@ -3823,6 +3359,7 @@ module Checkoff
3823
3359
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
3824
3360
  SHORT_CACHE_TIME = T.let(MINUTE * 5, T.untyped)
3825
3361
 
3362
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3826
3363
  # _@param_ `config`
3827
3364
  #
3828
3365
  # _@param_ `client`
@@ -3832,6 +3369,8 @@ module Checkoff
3832
3369
  def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana), client: Checkoff::Clients.new(config:).client, projects: Checkoff::Projects.new(config:,
3833
3370
  client:)); end
3834
3371
 
3372
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3373
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3835
3374
  # Given a 'My Tasks' project object, pull all tasks, then provide
3836
3375
  # a Hash of tasks with section name -> task list of the
3837
3376
  # uncompleted tasks.
@@ -3848,6 +3387,8 @@ module Checkoff
3848
3387
  sig { params(name: String).returns(T.nilable(String)) }
3849
3388
  def section_key(name); end
3850
3389
 
3390
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3391
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3851
3392
  # Given a list of tasks in 'My Tasks', pull a Hash of tasks with
3852
3393
  # section name -> task list
3853
3394
  #
@@ -3860,6 +3401,7 @@ module Checkoff
3860
3401
  sig { returns(Checkoff::Projects) }
3861
3402
  attr_reader :projects
3862
3403
 
3404
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3863
3405
  sig { returns(Asana::Client) }
3864
3406
  attr_reader :client
3865
3407
  end
@@ -3876,6 +3418,7 @@ module Checkoff
3876
3418
  MEDIUM_CACHE_TIME = T.let(MINUTE * 5, T.untyped)
3877
3419
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
3878
3420
 
3421
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3879
3422
  # _@param_ `config`
3880
3423
  #
3881
3424
  # _@param_ `client`
@@ -3924,6 +3467,7 @@ module Checkoff
3924
3467
  sig { params(extra_project_fields: T::Array[String]).returns(T::Hash[Symbol, Object]) }
3925
3468
  def project_options(extra_project_fields: []); end
3926
3469
 
3470
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3927
3471
  # pulls an Asana API project class given a name
3928
3472
  #
3929
3473
  # _@param_ `workspace_name`
@@ -3934,6 +3478,7 @@ module Checkoff
3934
3478
  sig { params(workspace_name: String, project_name: T.any(String, Symbol), extra_fields: T::Array[String]).returns(T.nilable(Asana::Resources::Project)) }
3935
3479
  def project(workspace_name, project_name, extra_fields: []); end
3936
3480
 
3481
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3937
3482
  # _@param_ `workspace_name`
3938
3483
  #
3939
3484
  # _@param_ `project_name` — - :my_tasks or a project name
@@ -3942,18 +3487,23 @@ module Checkoff
3942
3487
  sig { params(workspace_name: String, project_name: T.any(String, Symbol), extra_fields: T::Array[String]).returns(Asana::Resources::Project) }
3943
3488
  def project_or_raise(workspace_name, project_name, extra_fields: []); end
3944
3489
 
3490
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3945
3491
  # _@param_ `gid`
3946
3492
  #
3947
3493
  # _@param_ `extra_fields`
3948
3494
  sig { params(gid: String, extra_fields: T::Array[String]).returns(T.nilable(Asana::Resources::Project)) }
3949
3495
  def project_by_gid(gid, extra_fields: []); end
3950
3496
 
3497
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3498
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3951
3499
  # find uncompleted tasks in a list
3952
3500
  #
3953
3501
  # _@param_ `tasks`
3954
3502
  sig { params(tasks: T::Enumerable[Asana::Resources::Task]).returns(T::Enumerable[Asana::Resources::Task]) }
3955
3503
  def active_tasks(tasks); end
3956
3504
 
3505
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3506
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3957
3507
  # Pull task objects from a named project
3958
3508
  #
3959
3509
  # _@param_ `project`
@@ -3964,6 +3514,7 @@ module Checkoff
3964
3514
  sig { params(project: Asana::Resources::Project, only_uncompleted: T::Boolean, extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Task]) }
3965
3515
  def tasks_from_project(project, only_uncompleted: true, extra_fields: []); end
3966
3516
 
3517
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3967
3518
  # Pull task objects from a project identified by a gid
3968
3519
  #
3969
3520
  # _@param_ `project_gid`
@@ -3974,18 +3525,21 @@ module Checkoff
3974
3525
  sig { params(project_gid: String, only_uncompleted: T::Boolean, extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Task]) }
3975
3526
  def tasks_from_project_gid(project_gid, only_uncompleted: true, extra_fields: []); end
3976
3527
 
3528
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3977
3529
  # _@param_ `workspace_name`
3978
3530
  #
3979
3531
  # _@param_ `extra_fields`
3980
3532
  sig { params(workspace_name: String, extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Project]) }
3981
3533
  def projects_by_workspace_name(workspace_name, extra_fields: []); end
3982
3534
 
3535
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3983
3536
  # _@param_ `project_obj`
3984
3537
  #
3985
3538
  # _@param_ `project` — - :not_specified, :my_tasks or a project name
3986
3539
  sig { params(project_obj: Asana::Resources::Project, project: T.any(String, Symbol)).returns(T::Hash[T.untyped, T.untyped]) }
3987
3540
  def project_to_h(project_obj, project: :not_specified); end
3988
3541
 
3542
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3989
3543
  # Indicates a project is ready for a person to work on it. This
3990
3544
  # is subtly different than what is used by Asana to mark a date as
3991
3545
  # red/green!
@@ -3999,6 +3553,7 @@ module Checkoff
3999
3553
  sig { params(project: Asana::Resources::Project, period: T.any(Symbol, [Symbol, Integer])).returns(T::Boolean) }
4000
3554
  def project_ready?(project, period: :now_or_before); end
4001
3555
 
3556
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4002
3557
  # _@param_ `project`
4003
3558
  #
4004
3559
  # _@param_ `field_name`
@@ -4010,9 +3565,11 @@ module Checkoff
4010
3565
  sig { returns(T::Hash[T.untyped, T.untyped]) }
4011
3566
  def as_cache_key; end
4012
3567
 
3568
+ # sord warn - Asana::ProxiedResourceClasses::Project wasn't able to be resolved to a constant in this project
4013
3569
  sig { returns(Asana::ProxiedResourceClasses::Project) }
4014
3570
  def projects; end
4015
3571
 
3572
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4016
3573
  # _@param_ `workspace_name`
4017
3574
  sig { params(workspace_name: String).returns(Asana::Resources::Project) }
4018
3575
  def my_tasks(workspace_name); end
@@ -4054,6 +3611,7 @@ module Checkoff
4054
3611
  sig { returns(Checkoff::Internal::ProjectHashes) }
4055
3612
  attr_reader :project_hashes
4056
3613
 
3614
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4057
3615
  sig { returns(Asana::Client) }
4058
3616
  attr_reader :client
4059
3617
  end
@@ -4069,6 +3627,7 @@ module Checkoff
4069
3627
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
4070
3628
  SHORT_CACHE_TIME = T.let(MINUTE * 5, T.untyped)
4071
3629
 
3630
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4072
3631
  # _@param_ `config`
4073
3632
  #
4074
3633
  # _@param_ `client`
@@ -4091,6 +3650,7 @@ module Checkoff
4091
3650
  client:), workspaces: Checkoff::Workspaces.new(config:,
4092
3651
  client:), time: Time); end
4093
3652
 
3653
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
4094
3654
  # Returns a list of Asana API section objects for a given project
4095
3655
  #
4096
3656
  # _@param_ `workspace_name`
@@ -4101,6 +3661,7 @@ module Checkoff
4101
3661
  sig { params(workspace_name: String, project_name: T.any(String, Symbol), extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Section]) }
4102
3662
  def sections_or_raise(workspace_name, project_name, extra_fields: []); end
4103
3663
 
3664
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
4104
3665
  # Returns a list of Asana API section objects for a given project GID
4105
3666
  #
4106
3667
  # _@param_ `project_gid`
@@ -4109,6 +3670,7 @@ module Checkoff
4109
3670
  sig { params(project_gid: String, extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Section]) }
4110
3671
  def sections_by_project_gid(project_gid, extra_fields: []); end
4111
3672
 
3673
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4112
3674
  # Given a workspace name and project name, then provide a Hash of
4113
3675
  # tasks with section name -> task list of the uncompleted tasks
4114
3676
  #
@@ -4129,6 +3691,7 @@ module Checkoff
4129
3691
  end
4130
3692
  def tasks_by_section(workspace_name, project_name, only_uncompleted: true, extra_fields: []); end
4131
3693
 
3694
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4132
3695
  # _@param_ `section_gid`
4133
3696
  #
4134
3697
  # _@param_ `only_uncompleted`
@@ -4137,6 +3700,7 @@ module Checkoff
4137
3700
  sig { params(section_gid: String, only_uncompleted: T::Boolean, extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Task]) }
4138
3701
  def tasks_by_section_gid(section_gid, only_uncompleted: true, extra_fields: []); end
4139
3702
 
3703
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4140
3704
  # Pulls task objects from a specified section
4141
3705
  #
4142
3706
  # _@param_ `workspace_name`
@@ -4170,6 +3734,7 @@ module Checkoff
4170
3734
  sig { params(workspace_name: String, project_name: T.any(String, Symbol), section_name: T.nilable(String)).returns(T::Array[String]) }
4171
3735
  def section_task_names(workspace_name, project_name, section_name); end
4172
3736
 
3737
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
4173
3738
  # @sg-ignore
4174
3739
  #
4175
3740
  # _@param_ `workspace_name`
@@ -4193,10 +3758,13 @@ module Checkoff
4193
3758
  sig { params(name: String).returns(T.nilable(String)) }
4194
3759
  def section_key(name); end
4195
3760
 
3761
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
3762
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
4196
3763
  # _@param_ `section`
4197
3764
  sig { params(section: Asana::Resources::Section).returns(T.nilable(Asana::Resources::Section)) }
4198
3765
  def previous_section(section); end
4199
3766
 
3767
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
4200
3768
  # _@param_ `gid`
4201
3769
  sig { params(gid: String).returns(T.nilable(Asana::Resources::Section)) }
4202
3770
  def section_by_gid(gid); end
@@ -4204,6 +3772,7 @@ module Checkoff
4204
3772
  sig { returns(T::Hash[T.untyped, T.untyped]) }
4205
3773
  def as_cache_key; end
4206
3774
 
3775
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
4207
3776
  # @sg-ignore
4208
3777
  #
4209
3778
  # _@param_ `workspace_name`
@@ -4230,6 +3799,8 @@ module Checkoff
4230
3799
  sig { params(response: Asana::HttpClient::Response).returns(T::Array[T.any(T::Hash[T.untyped, T.untyped], T::Hash[T.untyped, T.untyped])]) }
4231
3800
  def parse(response); end
4232
3801
 
3802
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
3803
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4233
3804
  # Given a project object, pull all tasks, then provide a Hash of
4234
3805
  # tasks with section name -> task list of the uncompleted tasks
4235
3806
  #
@@ -4241,6 +3812,8 @@ module Checkoff
4241
3812
  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
3813
  def tasks_by_section_for_project(project, only_uncompleted: true, extra_fields: []); end
4243
3814
 
3815
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3816
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4244
3817
  # Given a list of tasks, pull a Hash of tasks with section name -> task list
4245
3818
  #
4246
3819
  # _@param_ `tasks`
@@ -4249,6 +3822,8 @@ module Checkoff
4249
3822
  sig { params(tasks: T::Enumerable[Asana::Resources::Task], project_gid: String).returns(T::Hash[T.nilable(String), T::Enumerable[Asana::Resources::Task]]) }
4250
3823
  def by_section(tasks, project_gid); end
4251
3824
 
3825
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3826
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4252
3827
  # _@param_ `by_section`
4253
3828
  #
4254
3829
  # _@param_ `task`
@@ -4257,6 +3832,7 @@ module Checkoff
4257
3832
  sig { params(by_section: T::Hash[T.nilable(String), T::Array[Asana::Resources::Task]], task: Asana::Resources::Task, project_gid: String).void }
4258
3833
  def file_task_by_section(by_section, task, project_gid); end
4259
3834
 
3835
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4260
3836
  # _@param_ `workspace_name`
4261
3837
  #
4262
3838
  # _@param_ `project_name`
@@ -4303,6 +3879,7 @@ module Checkoff
4303
3879
  sig { returns(Checkoff::MyTasks) }
4304
3880
  attr_reader :my_tasks
4305
3881
 
3882
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4306
3883
  sig { returns(Asana::Client) }
4307
3884
  attr_reader :client
4308
3885
  end
@@ -4323,24 +3900,30 @@ module Checkoff
4323
3900
  sig { params(config: T.any(T::Hash[T.untyped, T.untyped], Checkoff::Internal::EnvFallbackConfigLoader), projects: Checkoff::Projects, clients: Checkoff::Clients).void }
4324
3901
  def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana), projects: Checkoff::Projects.new(config:), clients: Checkoff::Clients.new(config:)); end
4325
3902
 
3903
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4326
3904
  # True if all subtasks of the task are completed
4327
3905
  #
4328
3906
  # _@param_ `task`
4329
3907
  sig { params(task: Asana::Resources::Task).returns(T::Boolean) }
4330
3908
  def all_subtasks_completed?(task); end
4331
3909
 
3910
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3911
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4332
3912
  # pulls a Hash of subtasks broken out by section
4333
3913
  #
4334
3914
  # _@param_ `tasks`
4335
3915
  sig { params(tasks: T::Enumerable[Asana::Resources::Task]).returns(T::Hash[T.nilable(String), T::Enumerable[Asana::Resources::Task]]) }
4336
3916
  def by_section(tasks); end
4337
3917
 
3918
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3919
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4338
3920
  # Returns all subtasks, including section headers
4339
3921
  #
4340
3922
  # _@param_ `task`
4341
3923
  sig { params(task: Asana::Resources::Task).returns(T::Enumerable[Asana::Resources::Task]) }
4342
3924
  def raw_subtasks(task); end
4343
3925
 
3926
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4344
3927
  # Pull a specific task by GID
4345
3928
  #
4346
3929
  # _@param_ `task_gid`
@@ -4351,6 +3934,7 @@ module Checkoff
4351
3934
  sig { params(task_gid: String, extra_fields: T::Array[String], only_uncompleted: T::Boolean).returns(T::Enumerable[Asana::Resources::Task]) }
4352
3935
  def subtasks_by_gid(task_gid, extra_fields: [], only_uncompleted: true); end
4353
3936
 
3937
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4354
3938
  # True if the subtask passed in represents a section in the subtasks
4355
3939
  #
4356
3940
  # Note: expect this to be removed in a future version, as Asana is
@@ -4361,6 +3945,7 @@ module Checkoff
4361
3945
  sig { params(subtask: Asana::Resources::Task).returns(T::Boolean) }
4362
3946
  def subtask_section?(subtask); end
4363
3947
 
3948
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4364
3949
  # _@param_ `current_section`
4365
3950
  #
4366
3951
  # _@param_ `by_section`
@@ -4372,6 +3957,7 @@ module Checkoff
4372
3957
  sig { returns(Checkoff::Projects) }
4373
3958
  attr_reader :projects
4374
3959
 
3960
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4375
3961
  sig { returns(Asana::Client) }
4376
3962
  attr_reader :client
4377
3963
  end
@@ -4386,6 +3972,7 @@ module Checkoff
4386
3972
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
4387
3973
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
4388
3974
 
3975
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4389
3976
  # _@param_ `config`
4390
3977
  #
4391
3978
  # _@param_ `workspaces`
@@ -4425,14 +4012,17 @@ module Checkoff
4425
4012
  sig { params(gid: String, resource_type: T.nilable(String)).returns([T.untyped, T.untyped, T.untyped, T.untyped]) }
4426
4013
  def resource_by_gid(gid, resource_type: nil); end
4427
4014
 
4015
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4428
4016
  # _@param_ `gid`
4429
4017
  sig { params(gid: String).returns(T.nilable(Asana::Resources::Task)) }
4430
4018
  def fetch_task_gid(gid); end
4431
4019
 
4020
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
4432
4021
  # _@param_ `section_gid`
4433
4022
  sig { params(section_gid: String).returns(T.nilable(Asana::Resources::Section)) }
4434
4023
  def fetch_section_gid(section_gid); end
4435
4024
 
4025
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4436
4026
  # _@param_ `project_gid`
4437
4027
  sig { params(project_gid: String).returns(T.nilable(Asana::Resources::Project)) }
4438
4028
  def fetch_project_gid(project_gid); end
@@ -4452,6 +4042,7 @@ module Checkoff
4452
4042
  sig { returns(Checkoff::Tasks) }
4453
4043
  attr_reader :tasks
4454
4044
 
4045
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4455
4046
  sig { returns(Asana::Client) }
4456
4047
  attr_reader :client
4457
4048
  end
@@ -4466,6 +4057,7 @@ module Checkoff
4466
4057
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
4467
4058
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
4468
4059
 
4060
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4469
4061
  # _@param_ `config`
4470
4062
  #
4471
4063
  # _@param_ `workspaces`
@@ -4492,28 +4084,33 @@ module Checkoff
4492
4084
  end
4493
4085
  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
4086
 
4087
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4495
4088
  # _@param_ `task`
4496
4089
  #
4497
4090
  # _@param_ `limit_to_portfolio_gid`
4498
4091
  sig { params(task: Asana::Resources::Task, limit_to_portfolio_gid: T.nilable(String)).returns(T::Boolean) }
4499
4092
  def task_dependent_on_previous_section_last_milestone?(task, limit_to_portfolio_gid: nil); end
4500
4093
 
4094
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4501
4095
  # _@param_ `task`
4502
4096
  #
4503
4097
  # _@param_ `limit_to_portfolio_name`
4504
4098
  sig { params(task: Asana::Resources::Task, limit_to_portfolio_name: T.nilable(String)).returns(T::Boolean) }
4505
4099
  def last_task_milestone_depends_on_this_task?(task, limit_to_portfolio_name: nil); end
4506
4100
 
4101
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4507
4102
  # _@param_ `task`
4508
4103
  #
4509
4104
  # _@param_ `limit_to_portfolio_name`
4510
4105
  sig { params(task: Asana::Resources::Task, limit_to_portfolio_name: T.nilable(String)).returns(T::Boolean) }
4511
4106
  def any_milestone_depends_on_this_task?(task, limit_to_portfolio_name: nil); end
4512
4107
 
4108
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4513
4109
  # _@param_ `section_gid`
4514
4110
  sig { params(section_gid: String).returns(T.nilable(Asana::Resources::Task)) }
4515
4111
  def last_milestone_in_section(section_gid); end
4516
4112
 
4113
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
4517
4114
  # _@param_ `task_data`
4518
4115
  #
4519
4116
  # _@param_ `section`
@@ -4526,6 +4123,7 @@ module Checkoff
4526
4123
  sig { returns(Checkoff::Workspaces) }
4527
4124
  attr_reader :workspaces
4528
4125
 
4126
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4529
4127
  sig { returns(Asana::Client) }
4530
4128
  attr_reader :client
4531
4129
  end
@@ -4541,6 +4139,7 @@ module Checkoff
4541
4139
  LONG_CACHE_TIME = T.let(T.let(MINUTE * 15, Numeric), T.untyped)
4542
4140
  SHORT_CACHE_TIME = T.let(T.let(MINUTE, Numeric), T.untyped)
4543
4141
 
4142
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4544
4143
  # _@param_ `config`
4545
4144
  #
4546
4145
  # _@param_ `workspaces`
@@ -4561,12 +4160,14 @@ module Checkoff
4561
4160
  end
4562
4161
  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
4162
 
4163
+ # sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
4564
4164
  # _@param_ `workspace_name`
4565
4165
  #
4566
4166
  # _@param_ `portfolio_name`
4567
4167
  sig { params(workspace_name: String, portfolio_name: String).returns(Asana::Resources::Portfolio) }
4568
4168
  def portfolio_or_raise(workspace_name, portfolio_name); end
4569
4169
 
4170
+ # sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
4570
4171
  # @sg-ignore
4571
4172
  #
4572
4173
  # _@param_ `workspace_name`
@@ -4575,6 +4176,7 @@ module Checkoff
4575
4176
  sig { params(workspace_name: String, portfolio_name: String).returns(T.nilable(Asana::Resources::Portfolio)) }
4576
4177
  def portfolio(workspace_name, portfolio_name); end
4577
4178
 
4179
+ # sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
4578
4180
  # Pull a specific portfolio by gid
4579
4181
  #
4580
4182
  # _@param_ `portfolio_gid`
@@ -4583,6 +4185,7 @@ module Checkoff
4583
4185
  sig { params(portfolio_gid: String, extra_fields: T::Array[String]).returns(T.nilable(Asana::Resources::Portfolio)) }
4584
4186
  def portfolio_by_gid(portfolio_gid, extra_fields: []); end
4585
4187
 
4188
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4586
4189
  # _@param_ `workspace_name`
4587
4190
  #
4588
4191
  # _@param_ `portfolio_name`
@@ -4591,6 +4194,8 @@ module Checkoff
4591
4194
  sig { params(workspace_name: String, portfolio_name: String, extra_project_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Project]) }
4592
4195
  def projects_in_portfolio(workspace_name, portfolio_name, extra_project_fields: []); end
4593
4196
 
4197
+ # sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
4198
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4594
4199
  # _@param_ `portfolio`
4595
4200
  #
4596
4201
  # _@param_ `extra_project_fields`
@@ -4606,6 +4211,7 @@ module Checkoff
4606
4211
  sig { returns(Checkoff::Projects) }
4607
4212
  attr_reader :projects
4608
4213
 
4214
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4609
4215
  sig { returns(Asana::Client) }
4610
4216
  attr_reader :client
4611
4217
  end
@@ -4620,6 +4226,8 @@ module Checkoff
4620
4226
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
4621
4227
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
4622
4228
 
4229
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4230
+ # sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
4623
4231
  # _@param_ `config`
4624
4232
  #
4625
4233
  # _@param_ `client`
@@ -4628,6 +4236,7 @@ module Checkoff
4628
4236
  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
4237
  def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana), client: Checkoff::Clients.new(config:).client, asana_workspace: Asana::Resources::Workspace); end
4630
4238
 
4239
+ # sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
4631
4240
  # Pulls an Asana workspace object
4632
4241
  # @sg-ignore
4633
4242
  #
@@ -4635,9 +4244,11 @@ module Checkoff
4635
4244
  sig { params(workspace_name: String).returns(T.nilable(Asana::Resources::Workspace)) }
4636
4245
  def workspace(workspace_name); end
4637
4246
 
4247
+ # sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
4638
4248
  sig { returns(Asana::Resources::Workspace) }
4639
4249
  def default_workspace; end
4640
4250
 
4251
+ # sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
4641
4252
  # _@param_ `workspace_name`
4642
4253
  sig { params(workspace_name: String).returns(Asana::Resources::Workspace) }
4643
4254
  def workspace_or_raise(workspace_name); end
@@ -4646,6 +4257,7 @@ module Checkoff
4646
4257
  sig { returns(String) }
4647
4258
  def default_workspace_gid; end
4648
4259
 
4260
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4649
4261
  sig { returns(Asana::Client) }
4650
4262
  attr_reader :client
4651
4263
  end
@@ -4660,6 +4272,7 @@ module Checkoff
4660
4272
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
4661
4273
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
4662
4274
 
4275
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4663
4276
  # _@param_ `config`
4664
4277
  #
4665
4278
  # _@param_ `workspaces`
@@ -4792,6 +4405,7 @@ module Checkoff
4792
4405
  sig { returns(Checkoff::Workspaces) }
4793
4406
  attr_reader :workspaces
4794
4407
 
4408
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4795
4409
  sig { returns(Asana::Client) }
4796
4410
  attr_reader :client
4797
4411
  end
@@ -4806,6 +4420,7 @@ module Checkoff
4806
4420
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
4807
4421
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
4808
4422
 
4423
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4809
4424
  # _@param_ `config`
4810
4425
  #
4811
4426
  # _@param_ `workspaces`
@@ -4840,18 +4455,24 @@ module Checkoff
4840
4455
  sig { params(workspace_name: String, custom_field_name: String).returns(T.nilable(Asana::Resources::CustomField)) }
4841
4456
  def custom_field(workspace_name, custom_field_name); end
4842
4457
 
4458
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4459
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4843
4460
  # _@param_ `resource`
4844
4461
  #
4845
4462
  # _@param_ `custom_field_gid`
4846
4463
  sig { params(resource: T.any(Asana::Resources::Project, Asana::Resources::Task), custom_field_gid: String).returns(T::Array[String]) }
4847
4464
  def resource_custom_field_values_gids_or_raise(resource, custom_field_gid); end
4848
4465
 
4466
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4467
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4849
4468
  # _@param_ `resource`
4850
4469
  #
4851
4470
  # _@param_ `custom_field_name`
4852
4471
  sig { params(resource: T.any(Asana::Resources::Project, Asana::Resources::Task), custom_field_name: String).returns(T::Array[String]) }
4853
4472
  def resource_custom_field_values_names_by_name(resource, custom_field_name); end
4854
4473
 
4474
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4475
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4855
4476
  # @sg-ignore
4856
4477
  #
4857
4478
  # _@param_ `resource`
@@ -4860,12 +4481,16 @@ module Checkoff
4860
4481
  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
4482
  def resource_custom_field_by_name(resource, custom_field_name); end
4862
4483
 
4484
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4485
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4863
4486
  # _@param_ `resource`
4864
4487
  #
4865
4488
  # _@param_ `custom_field_name`
4866
4489
  sig { params(resource: T.any(Asana::Resources::Task, Asana::Resources::Project), custom_field_name: String).returns(T::Hash[T.untyped, T.untyped]) }
4867
4490
  def resource_custom_field_by_name_or_raise(resource, custom_field_name); end
4868
4491
 
4492
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
4493
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4869
4494
  # _@param_ `resource`
4870
4495
  #
4871
4496
  # _@param_ `custom_field_gid`
@@ -4890,6 +4515,7 @@ module Checkoff
4890
4515
  sig { returns(Checkoff::Workspaces) }
4891
4516
  attr_reader :workspaces
4892
4517
 
4518
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4893
4519
  sig { returns(Asana::Client) }
4894
4520
  attr_reader :client
4895
4521
  end
@@ -4906,6 +4532,7 @@ module Checkoff
4906
4532
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
4907
4533
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
4908
4534
 
4535
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4909
4536
  # sord warn - Asana::Resources::Collection wasn't able to be resolved to a constant in this project
4910
4537
  # _@param_ `config`
4911
4538
  #
@@ -4936,6 +4563,7 @@ module Checkoff
4936
4563
  end
4937
4564
  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
4565
 
4566
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4939
4567
  # Perform an equivalent search API to an Asana search URL in the
4940
4568
  # web UI. Not all URL parameters are supported; each one must be
4941
4569
  # added here manually. In addition, not all are supported in the
@@ -4951,6 +4579,7 @@ module Checkoff
4951
4579
  sig { params(workspace_name: String, url: String, extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Task]) }
4952
4580
  def task_search(workspace_name, url, extra_fields: []); end
4953
4581
 
4582
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4954
4583
  # Perform a search using the Asana Task Search API:
4955
4584
  #
4956
4585
  # https://developers.asana.com/reference/searchtasksforworkspace
@@ -4978,6 +4607,7 @@ module Checkoff
4978
4607
  sig { returns(T::Hash[T.untyped, T.untyped]) }
4979
4608
  def as_cache_key; end
4980
4609
 
4610
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4981
4611
  # Perform a search using the Asana Task Search API:
4982
4612
  #
4983
4613
  # https://developers.asana.com/reference/searchtasksforworkspace
@@ -4990,6 +4620,7 @@ module Checkoff
4990
4620
  sig { params(api_params: T::Hash[String, Object], workspace_gid: String, extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Task]) }
4991
4621
  def api_task_search_request(api_params, workspace_gid:, extra_fields:); end
4992
4622
 
4623
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
4993
4624
  # Perform a search using the Asana Task Search API and use manual pagination to
4994
4625
  # ensure all results are returned:
4995
4626
  #
@@ -5059,6 +4690,7 @@ module Checkoff
5059
4690
  sig { returns(Checkoff::Workspaces) }
5060
4691
  attr_reader :workspaces
5061
4692
 
4693
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5062
4694
  sig { returns(Asana::Client) }
5063
4695
  attr_reader :client
5064
4696
  end
@@ -5072,6 +4704,7 @@ module Checkoff
5072
4704
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
5073
4705
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
5074
4706
 
4707
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5075
4708
  # @sg-ignore
5076
4709
  #
5077
4710
  # _@param_ `config`
@@ -5097,6 +4730,7 @@ module Checkoff
5097
4730
  client:), custom_fields: Checkoff::CustomFields.new(config:,
5098
4731
  client:)); end
5099
4732
 
4733
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5100
4734
  # _@param_ `task`
5101
4735
  #
5102
4736
  # _@param_ `task_selector` — Filter based on task details. Examples: [:tag, 'foo'] [:not, [:tag, 'foo']] [:tag, 'foo']
@@ -5137,6 +4771,7 @@ module Checkoff
5137
4771
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
5138
4772
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
5139
4773
 
4774
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5140
4775
  # _@param_ `config`
5141
4776
  #
5142
4777
  # _@param_ `workspaces`
@@ -5163,6 +4798,7 @@ module Checkoff
5163
4798
  end
5164
4799
  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
4800
 
4801
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
5166
4802
  # _@param_ `project`
5167
4803
  #
5168
4804
  # _@param_ `project_selector` — Filter based on project details. Examples: [:tag, 'foo'] [:not, [:tag, 'foo']] [:tag, 'foo']
@@ -5184,6 +4820,7 @@ module Checkoff
5184
4820
  sig { returns(Checkoff::Portfolios) }
5185
4821
  attr_reader :portfolios
5186
4822
 
4823
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5187
4824
  sig { returns(Asana::Client) }
5188
4825
  attr_reader :client
5189
4826
  end
@@ -5197,6 +4834,7 @@ module Checkoff
5197
4834
  LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
5198
4835
  SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
5199
4836
 
4837
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5200
4838
  # _@param_ `config`
5201
4839
  #
5202
4840
  # _@param_ `workspaces`
@@ -5220,6 +4858,7 @@ module Checkoff
5220
4858
  end
5221
4859
  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
4860
 
4861
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
5223
4862
  # _@param_ `section`
5224
4863
  #
5225
4864
  # _@param_ `section_selector` — Filter based on section details. Examples: [:tag, 'foo'] [:not, [:tag, 'foo']] [:tag, 'foo']
@@ -5238,6 +4877,7 @@ module Checkoff
5238
4877
  sig { returns(Checkoff::CustomFields) }
5239
4878
  attr_reader :custom_fields
5240
4879
 
4880
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5241
4881
  sig { returns(Asana::Client) }
5242
4882
  attr_reader :client
5243
4883
  end
@@ -5246,10 +4886,13 @@ module Checkoff
5246
4886
  # Builds on the standard API representation of an Asana task with some
5247
4887
  # convenience keys.
5248
4888
  class TaskHashes
4889
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5249
4890
  # _@param_ `task`
5250
4891
  sig { params(task: Asana::Resources::Task).returns(T::Hash[T.untyped, T.untyped]) }
5251
4892
  def task_to_h(task); end
5252
4893
 
4894
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
4895
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5253
4896
  # _@param_ `task_data`
5254
4897
  #
5255
4898
  # _@param_ `client`
@@ -5290,6 +4933,7 @@ module Checkoff
5290
4933
 
5291
4934
  # Utility methods for working with task dates and times
5292
4935
  class TaskTiming
4936
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5293
4937
  # _@param_ `time_class`
5294
4938
  #
5295
4939
  # _@param_ `date_class`
@@ -5307,36 +4951,43 @@ module Checkoff
5307
4951
  end
5308
4952
  def initialize(time_class: Time, date_class: Date, client: Checkoff::Clients.new.client, custom_fields: Checkoff::CustomFields.new(client:)); end
5309
4953
 
4954
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5310
4955
  # _@param_ `task`
5311
4956
  sig { params(task: Asana::Resources::Task).returns(T.nilable(Time)) }
5312
4957
  def start_time(task); end
5313
4958
 
4959
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5314
4960
  # _@param_ `task`
5315
4961
  sig { params(task: Asana::Resources::Task).returns(T.nilable(Time)) }
5316
4962
  def due_time(task); end
5317
4963
 
4964
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5318
4965
  # @sg-ignore
5319
4966
  #
5320
4967
  # _@param_ `task`
5321
4968
  sig { params(task: Asana::Resources::Task).returns(T.nilable(T.any(Date, Time))) }
5322
4969
  def start_date_or_time(task); end
5323
4970
 
4971
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5324
4972
  # @sg-ignore
5325
4973
  #
5326
4974
  # _@param_ `task`
5327
4975
  sig { params(task: Asana::Resources::Task).returns(T.nilable(T.any(Date, Time))) }
5328
4976
  def due_date_or_time(task); end
5329
4977
 
4978
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5330
4979
  # _@param_ `task`
5331
4980
  sig { params(task: Asana::Resources::Task).returns(T.nilable(Time)) }
5332
4981
  def modified_time(task); end
5333
4982
 
4983
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5334
4984
  # _@param_ `task`
5335
4985
  #
5336
4986
  # _@param_ `custom_field_name`
5337
4987
  sig { params(task: Asana::Resources::Task, custom_field_name: String).returns(T.nilable(T.any(Time, Date))) }
5338
4988
  def custom_field(task, custom_field_name); end
5339
4989
 
4990
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5340
4991
  # @sg-ignore
5341
4992
  #
5342
4993
  # _@param_ `task`
@@ -5348,6 +4999,8 @@ module Checkoff
5348
4999
 
5349
5000
  # Manage thread lock variables in a block
5350
5001
  class ThreadLocal
5002
+ # sord warn - T wasn't able to be resolved to a constant in this project
5003
+ # sord warn - T wasn't able to be resolved to a constant in this project
5351
5004
  # @sg-ignore
5352
5005
  #
5353
5006
  # _@param_ `name`
@@ -5407,6 +5060,7 @@ module Checkoff
5407
5060
  sig { params(_deps: T::Hash[T.untyped, T.untyped]).void }
5408
5061
  def initialize(_deps = {}); end
5409
5062
 
5063
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
5410
5064
  # _@param_ `project_obj`
5411
5065
  #
5412
5066
  # _@param_ `project` — - :not_specified, :my_tasks
@@ -5420,6 +5074,7 @@ module Checkoff
5420
5074
 
5421
5075
  # Utility methods for working with project dates and times
5422
5076
  class ProjectTiming
5077
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5423
5078
  # _@param_ `time_class`
5424
5079
  #
5425
5080
  # _@param_ `date_class`
@@ -5437,24 +5092,28 @@ module Checkoff
5437
5092
  end
5438
5093
  def initialize(time_class: Time, date_class: Date, client: Checkoff::Clients.new.client, custom_fields: Checkoff::CustomFields.new(client:)); end
5439
5094
 
5095
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
5440
5096
  # @sg-ignore
5441
5097
  #
5442
5098
  # _@param_ `project`
5443
5099
  sig { params(project: Asana::Resources::Project).returns(T.nilable(Date)) }
5444
5100
  def start_date(project); end
5445
5101
 
5102
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
5446
5103
  # @sg-ignore
5447
5104
  #
5448
5105
  # _@param_ `project`
5449
5106
  sig { params(project: Asana::Resources::Project).returns(T.nilable(Date)) }
5450
5107
  def due_date(project); end
5451
5108
 
5109
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
5452
5110
  # _@param_ `project`
5453
5111
  #
5454
5112
  # _@param_ `custom_field_name`
5455
5113
  sig { params(project: Asana::Resources::Project, custom_field_name: String).returns(T.nilable(T.any(Time, Date))) }
5456
5114
  def custom_field(project, custom_field_name); end
5457
5115
 
5116
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
5458
5117
  # @sg-ignore
5459
5118
  #
5460
5119
  # _@param_ `project`
@@ -5858,6 +5517,7 @@ module Checkoff
5858
5517
  class AsanaEventFilter
5859
5518
  include Logging
5860
5519
 
5520
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5861
5521
  # _@param_ `filters` — The filters to match against
5862
5522
  #
5863
5523
  # _@param_ `clients`
@@ -5899,6 +5559,7 @@ module Checkoff
5899
5559
  sig { params(key: String, value: T.any(String, T::Array[String]), asana_event: T::Hash[T.untyped, T.untyped]).returns(T::Boolean) }
5900
5560
  def asana_event_matches_filter_item?(key, value, asana_event); end
5901
5561
 
5562
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5902
5563
  # _@param_ `key`
5903
5564
  #
5904
5565
  # _@param_ `asana_event`
@@ -5941,6 +5602,7 @@ module Checkoff
5941
5602
  class AsanaEventEnrichment
5942
5603
  include Logging
5943
5604
 
5605
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
5944
5606
  # _@param_ `config`
5945
5607
  #
5946
5608
  # _@param_ `workspaces`
@@ -6063,6 +5725,7 @@ module Checkoff
6063
5725
  sig { returns(Checkoff::Resources) }
6064
5726
  attr_reader :resources
6065
5727
 
5728
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
6066
5729
  sig { returns(Asana::Client) }
6067
5730
  attr_reader :client
6068
5731
  end
@@ -6108,6 +5771,7 @@ module Checkoff
6108
5771
  sig { params(_index: Integer).returns(T::Boolean) }
6109
5772
  def evaluate_arg?(_index); end
6110
5773
 
5774
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6111
5775
  # @sg-ignore
6112
5776
  #
6113
5777
  # _@param_ `task`
@@ -6124,6 +5788,7 @@ module Checkoff
6124
5788
  sig { params(_index: Integer).returns(T::Boolean) }
6125
5789
  def evaluate_arg?(_index); end
6126
5790
 
5791
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6127
5792
  # @sg-ignore
6128
5793
  #
6129
5794
  # _@param_ `task`
@@ -6142,6 +5807,7 @@ module Checkoff
6142
5807
  sig { params(_index: Integer).returns(T::Boolean) }
6143
5808
  def evaluate_arg?(_index); end
6144
5809
 
5810
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6145
5811
  # @sg-ignore
6146
5812
  #
6147
5813
  # _@param_ `task`
@@ -6160,6 +5826,7 @@ module Checkoff
6160
5826
  sig { params(_index: Integer).returns(T::Boolean) }
6161
5827
  def evaluate_arg?(_index); end
6162
5828
 
5829
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6163
5830
  # @sg-ignore
6164
5831
  #
6165
5832
  # _@param_ `task`
@@ -6178,6 +5845,7 @@ module Checkoff
6178
5845
  sig { params(_index: Integer).returns(T::Boolean) }
6179
5846
  def evaluate_arg?(_index); end
6180
5847
 
5848
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6181
5849
  # @sg-ignore
6182
5850
  #
6183
5851
  # _@param_ `task`
@@ -6196,6 +5864,7 @@ module Checkoff
6196
5864
  sig { params(_index: Integer).returns(T::Boolean) }
6197
5865
  def evaluate_arg?(_index); end
6198
5866
 
5867
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6199
5868
  # @sg-ignore
6200
5869
  #
6201
5870
  # _@param_ `task`
@@ -6216,6 +5885,7 @@ module Checkoff
6216
5885
  sig { params(_index: Integer).returns(T::Boolean) }
6217
5886
  def evaluate_arg?(_index); end
6218
5887
 
5888
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6219
5889
  # rubocop:disable Style/OptionalBooleanParameter
6220
5890
  #
6221
5891
  # _@param_ `task`
@@ -6236,6 +5906,7 @@ module Checkoff
6236
5906
  sig { params(_index: Integer).returns(T::Boolean) }
6237
5907
  def evaluate_arg?(_index); end
6238
5908
 
5909
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6239
5910
  # _@param_ `task`
6240
5911
  #
6241
5912
  # _@param_ `field_name` — See Checksoff::Tasks#in_period?
@@ -6250,6 +5921,7 @@ module Checkoff
6250
5921
  sig { returns(T::Boolean) }
6251
5922
  def matches?; end
6252
5923
 
5924
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6253
5925
  # _@param_ `task`
6254
5926
  sig { params(task: Asana::Resources::Task).returns(T::Boolean) }
6255
5927
  def evaluate(task); end
@@ -6262,6 +5934,7 @@ module Checkoff
6262
5934
  sig { returns(T::Boolean) }
6263
5935
  def matches?; end
6264
5936
 
5937
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6265
5938
  # @sg-ignore
6266
5939
  #
6267
5940
  # _@param_ `task`
@@ -6279,6 +5952,7 @@ module Checkoff
6279
5952
  sig { params(_index: Integer).returns(T::Boolean) }
6280
5953
  def evaluate_arg?(_index); end
6281
5954
 
5955
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6282
5956
  # _@param_ `task`
6283
5957
  #
6284
5958
  # _@param_ `num_days`
@@ -6295,10 +5969,12 @@ module Checkoff
6295
5969
  sig { returns(T::Boolean) }
6296
5970
  def matches?; end
6297
5971
 
5972
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6298
5973
  # _@param_ `task`
6299
5974
  sig { params(task: Asana::Resources::Task).returns(Float) }
6300
5975
  def calculate_allocated_hours(task); end
6301
5976
 
5977
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6302
5978
  # _@param_ `task`
6303
5979
  sig { params(task: Asana::Resources::Task).returns(T::Boolean) }
6304
5980
  def evaluate(task); end
@@ -6311,6 +5987,7 @@ module Checkoff
6311
5987
  sig { returns(T::Boolean) }
6312
5988
  def matches?; end
6313
5989
 
5990
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6314
5991
  # _@param_ `task`
6315
5992
  #
6316
5993
  # _@param_ `limit_to_portfolio_gid` — If specified, only projects in this portfolio will be evaluated.
@@ -6325,6 +6002,7 @@ module Checkoff
6325
6002
  sig { returns(T::Boolean) }
6326
6003
  def matches?; end
6327
6004
 
6005
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6328
6006
  # _@param_ `task`
6329
6007
  #
6330
6008
  # _@param_ `portfolio_name`
@@ -6342,6 +6020,7 @@ module Checkoff
6342
6020
  sig { params(_index: Integer).returns(T::Boolean) }
6343
6021
  def evaluate_arg?(_index); end
6344
6022
 
6023
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6345
6024
  # _@param_ `task`
6346
6025
  #
6347
6026
  # _@param_ `limit_to_portfolio_name`
@@ -6359,6 +6038,7 @@ module Checkoff
6359
6038
  sig { params(_index: Integer).returns(T::Boolean) }
6360
6039
  def evaluate_arg?(_index); end
6361
6040
 
6041
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6362
6042
  # _@param_ `task`
6363
6043
  sig { params(task: Asana::Resources::Task).returns(T::Boolean) }
6364
6044
  def evaluate(task); end
@@ -6374,6 +6054,7 @@ module Checkoff
6374
6054
  sig { params(_index: Integer).returns(T::Boolean) }
6375
6055
  def evaluate_arg?(_index); end
6376
6056
 
6057
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6377
6058
  # _@param_ `task`
6378
6059
  #
6379
6060
  # _@param_ `limit_to_portfolio_name`
@@ -6416,6 +6097,8 @@ module Checkoff
6416
6097
  sig { returns(T::Boolean) }
6417
6098
  def matches?; end
6418
6099
 
6100
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6101
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6419
6102
  # _@param_ `_resource`
6420
6103
  #
6421
6104
  # _@param_ `args`
@@ -6433,6 +6116,8 @@ module Checkoff
6433
6116
  sig { returns(T::Boolean) }
6434
6117
  def matches?; end
6435
6118
 
6119
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6120
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6436
6121
  # _@param_ `_resource`
6437
6122
  #
6438
6123
  # _@param_ `args`
@@ -6447,6 +6132,8 @@ module Checkoff
6447
6132
  sig { returns(T::Boolean) }
6448
6133
  def matches?; end
6449
6134
 
6135
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6136
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6450
6137
  # _@param_ `_resource`
6451
6138
  #
6452
6139
  # _@param_ `subvalue`
@@ -6459,6 +6146,8 @@ module Checkoff
6459
6146
  sig { returns(T::Boolean) }
6460
6147
  def matches?; end
6461
6148
 
6149
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6150
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6462
6151
  # _@param_ `_resource`
6463
6152
  #
6464
6153
  # _@param_ `subvalue`
@@ -6473,6 +6162,8 @@ module Checkoff
6473
6162
  sig { returns(T::Boolean) }
6474
6163
  def matches?; end
6475
6164
 
6165
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6166
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6476
6167
  # _@param_ `_resource`
6477
6168
  #
6478
6169
  # _@param_ `lhs`
@@ -6493,6 +6184,8 @@ module Checkoff
6493
6184
  sig { params(_index: Integer).returns(T::Boolean) }
6494
6185
  def evaluate_arg?(_index); end
6495
6186
 
6187
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6188
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6496
6189
  # _@param_ `resource`
6497
6190
  #
6498
6191
  # _@param_ `custom_field_name`
@@ -6508,6 +6201,8 @@ module Checkoff
6508
6201
  sig { params(_index: Integer).returns(T::Boolean) }
6509
6202
  def evaluate_arg?(_index); end
6510
6203
 
6204
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6205
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6511
6206
  # @sg-ignore
6512
6207
  #
6513
6208
  # _@param_ `resource`
@@ -6527,6 +6222,8 @@ module Checkoff
6527
6222
  sig { params(_index: Integer).returns(T::Boolean) }
6528
6223
  def evaluate_arg?(_index); end
6529
6224
 
6225
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6226
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6530
6227
  # _@param_ `resource`
6531
6228
  #
6532
6229
  # _@param_ `custom_field_gid`
@@ -6546,6 +6243,8 @@ module Checkoff
6546
6243
  sig { params(_index: Integer).returns(T::Boolean) }
6547
6244
  def evaluate_arg?(_index); end
6548
6245
 
6246
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6247
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6549
6248
  # _@param_ `resource`
6550
6249
  #
6551
6250
  # _@param_ `custom_field_name`
@@ -6565,6 +6264,8 @@ module Checkoff
6565
6264
  sig { params(_index: Integer).returns(T::Boolean) }
6566
6265
  def evaluate_arg?(_index); end
6567
6266
 
6267
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6268
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6568
6269
  # _@param_ `resource`
6569
6270
  #
6570
6271
  # _@param_ `custom_field_gid`
@@ -6584,6 +6285,8 @@ module Checkoff
6584
6285
  sig { params(_index: Integer).returns(T::Boolean) }
6585
6286
  def evaluate_arg?(_index); end
6586
6287
 
6288
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6289
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6587
6290
  # sord warn - boolish is probably not a type, but using anyway
6588
6291
  # sord warn - boolish wasn't able to be resolved to a constant in this project
6589
6292
  # _@param_ `resource`
@@ -6598,6 +6301,8 @@ module Checkoff
6598
6301
  sig { returns(T::Boolean) }
6599
6302
  def matches?; end
6600
6303
 
6304
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6305
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6601
6306
  # @sg-ignore
6602
6307
  #
6603
6308
  # _@param_ `_resource`
@@ -6629,6 +6334,7 @@ module Checkoff
6629
6334
  sig { returns(T::Boolean) }
6630
6335
  def matches?; end
6631
6336
 
6337
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6632
6338
  # _@param_ `resource`
6633
6339
  sig { params(resource: Asana::Resources::Project).returns(T.nilable(String)) }
6634
6340
  def evaluate(resource); end
@@ -6641,6 +6347,7 @@ module Checkoff
6641
6347
  sig { returns(T::Boolean) }
6642
6348
  def matches?; end
6643
6349
 
6350
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6644
6351
  # _@param_ `project`
6645
6352
  #
6646
6353
  # _@param_ `period` — - :now_or_before or :this_week
@@ -6655,6 +6362,7 @@ module Checkoff
6655
6362
  sig { returns(T::Boolean) }
6656
6363
  def matches?; end
6657
6364
 
6365
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6658
6366
  # _@param_ `project`
6659
6367
  #
6660
6368
  # _@param_ `portfolio_name`
@@ -6709,6 +6417,7 @@ module Checkoff
6709
6417
  sig { returns(T::Boolean) }
6710
6418
  def matches?; end
6711
6419
 
6420
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
6712
6421
  # @sg-ignore
6713
6422
  #
6714
6423
  # _@param_ `section`
@@ -6723,6 +6432,7 @@ module Checkoff
6723
6432
  sig { returns(T::Boolean) }
6724
6433
  def matches?; end
6725
6434
 
6435
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
6726
6436
  # @sg-ignore
6727
6437
  #
6728
6438
  # _@param_ `section`
@@ -6732,6 +6442,7 @@ module Checkoff
6732
6442
 
6733
6443
  # Base class to evaluate a project selector function given fully evaluated arguments
6734
6444
  class FunctionEvaluator < Checkoff::SelectorClasses::FunctionEvaluator
6445
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
6735
6446
  # _@param_ `selector`
6736
6447
  #
6737
6448
  # _@param_ `client`
@@ -6752,6 +6463,7 @@ module Checkoff
6752
6463
  sig { returns([Symbol, T::Array[T.untyped]]) }
6753
6464
  attr_reader :selector
6754
6465
 
6466
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
6755
6467
  sig { returns(Asana::Client) }
6756
6468
  attr_reader :client
6757
6469
  end
@@ -6769,6 +6481,7 @@ module Checkoff
6769
6481
  sig { returns(T::Boolean) }
6770
6482
  def matches?; end
6771
6483
 
6484
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6772
6485
  # @sg-ignore
6773
6486
  #
6774
6487
  # _@param_ `_task`
@@ -6823,6 +6536,7 @@ end - [Checkoff::SelectorClasses::Common::FunctionEvaluator]).freeze, T.untyped)
6823
6536
  end - [Checkoff::SelectorClasses::Task::FunctionEvaluator]).freeze, T.untyped)
6824
6537
  FUNCTION_EVALUTORS = T.let((COMMON_FUNCTION_EVALUATORS + TASK_FUNCTION_EVALUATORS).freeze, T.untyped)
6825
6538
 
6539
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6826
6540
  # _@param_ `task`
6827
6541
  #
6828
6542
  # _@param_ `tasks`
@@ -6846,6 +6560,7 @@ end - [Checkoff::SelectorClasses::Task::FunctionEvaluator]).freeze, T.untyped)
6846
6560
  sig { returns(T::Hash[T.untyped, T.untyped]) }
6847
6561
  def initializer_kwargs; end
6848
6562
 
6563
+ # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
6849
6564
  sig { returns(Asana::Resources::Task) }
6850
6565
  attr_reader :item
6851
6566
 
@@ -6869,6 +6584,7 @@ end - [Checkoff::SelectorClasses::Common::FunctionEvaluator]).freeze, T.untyped)
6869
6584
  end - [Checkoff::SelectorClasses::Project::FunctionEvaluator]).freeze, T.untyped)
6870
6585
  FUNCTION_EVALUTORS = T.let((COMMON_FUNCTION_EVALUATORS + PROJECT_FUNCTION_EVALUATORS).freeze, T.untyped)
6871
6586
 
6587
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6872
6588
  # _@param_ `project`
6873
6589
  #
6874
6590
  # _@param_ `projects`
@@ -6895,6 +6611,7 @@ end - [Checkoff::SelectorClasses::Project::FunctionEvaluator]).freeze, T.untyped
6895
6611
  sig { returns(T::Hash[T.untyped, T.untyped]) }
6896
6612
  def initializer_kwargs; end
6897
6613
 
6614
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6898
6615
  sig { returns(Asana::Resources::Project) }
6899
6616
  attr_reader :item
6900
6617
 
@@ -6921,6 +6638,8 @@ end - [Checkoff::SelectorClasses::Common::FunctionEvaluator]).freeze, T.untyped)
6921
6638
  end - [Checkoff::SelectorClasses::Section::FunctionEvaluator]).freeze, T.untyped)
6922
6639
  FUNCTION_EVALUATORS = T.let((COMMON_FUNCTION_EVALUATORS + SECTION_FUNCTION_EVALUATORS).freeze, T.untyped)
6923
6640
 
6641
+ # sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
6642
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
6924
6643
  # _@param_ `section`
6925
6644
  #
6926
6645
  # _@param_ `client`
@@ -6950,6 +6669,7 @@ end - [Checkoff::SelectorClasses::Section::FunctionEvaluator]).freeze, T.untyped
6950
6669
  sig { returns(T::Hash[T.untyped, T.untyped]) }
6951
6670
  def initializer_kwargs; end
6952
6671
 
6672
+ # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
6953
6673
  sig { returns(Asana::Resources::Project) }
6954
6674
  attr_reader :item
6955
6675
 
@@ -6962,6 +6682,7 @@ end - [Checkoff::SelectorClasses::Section::FunctionEvaluator]).freeze, T.untyped
6962
6682
  sig { returns(Checkoff::CustomFields) }
6963
6683
  attr_reader :custom_fields
6964
6684
 
6685
+ # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
6965
6686
  sig { returns(Asana::Client) }
6966
6687
  attr_reader :client
6967
6688
  end
@@ -6997,3 +6718,29 @@ module Logging
6997
6718
  sig { returns(Symbol) }
6998
6719
  def log_level; end
6999
6720
  end
6721
+
6722
+ # Monkeypatches Asana::Resources::Resource so that Ruby marshalling and
6723
+ # unmarshalling works on Asana resource classes. Currently, it will
6724
+ # work unless you call an accessor method, which triggers Asana's
6725
+ # client library Resource class' method_missing() to "cache" the
6726
+ # result by creating a singleton method. Unfortunately, singleton
6727
+ # methods break marshalling, which is not smart enough to know that it
6728
+ # is not necessary to marshall them as they will simply be recreated
6729
+ # when needed.
6730
+ module Asana
6731
+ # Monkeypatches:
6732
+ #
6733
+ # https://github.com/Asana/ruby-asana/blob/master/lib/asana
6734
+ module Resources
6735
+ # Public: The base resource class which provides some sugar over common
6736
+ # resource functionality.
6737
+ class Resource
6738
+ sig { returns(T::Hash[T.untyped, T.untyped]) }
6739
+ def marshal_dump; end
6740
+
6741
+ # _@param_ `data`
6742
+ sig { params(data: T::Hash[T.untyped, T.untyped]).void }
6743
+ def marshal_load(data); end
6744
+ end
6745
+ end
6746
+ end