faithteams-api 4.6.1 → 4.6.2

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.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/faithteams-api.gemspec +8 -2
  4. data/lib/faithteams/version.rb +1 -1
  5. metadata +2 -76
  6. data/.editorconfig +0 -11
  7. data/.github/CODEOWNERS +0 -1
  8. data/.github/CONTRIBUTING.md +0 -35
  9. data/.github/PULL_REQUEST_TEMPLATE.md +0 -8
  10. data/.github/workflows/editorconfig.yml +0 -23
  11. data/.github/workflows/rubocop.yml +0 -21
  12. data/.github/workflows/rubygems.yml +0 -36
  13. data/.github/workflows/tester.yml +0 -21
  14. data/.github/workflows/yard.yml +0 -21
  15. data/.gitignore +0 -17
  16. data/.rspec +0 -2
  17. data/.rubocop.yml +0 -228
  18. data/.tool-versions +0 -1
  19. data/CODE_OF_CONDUCT.md +0 -128
  20. data/Gemfile +0 -11
  21. data/Gemfile.lock +0 -189
  22. data/Guardfile +0 -50
  23. data/Rakefile +0 -8
  24. data/bin/console +0 -15
  25. data/bin/setup +0 -8
  26. data/faithteams-api/.env.template +0 -4
  27. data/faithteams-api/Authenticate.bru +0 -25
  28. data/faithteams-api/api-v2.faithteams.com/Batch/Batch Create.bru +0 -23
  29. data/faithteams-api/api-v2.faithteams.com/Batch/Batch Totals.bru +0 -19
  30. data/faithteams-api/api-v2.faithteams.com/Batch/Batch Update.bru +0 -27
  31. data/faithteams-api/api-v2.faithteams.com/Batch/Batch.bru +0 -15
  32. data/faithteams-api/api-v2.faithteams.com/Batch/Batches.bru +0 -32
  33. data/faithteams-api/api-v2.faithteams.com/Batch/folder.bru +0 -8
  34. data/faithteams-api/api-v2.faithteams.com/Contribution/Contribution Create.bru +0 -40
  35. data/faithteams-api/api-v2.faithteams.com/Contribution/Contribution.bru +0 -15
  36. data/faithteams-api/api-v2.faithteams.com/Contribution/Contributions.bru +0 -34
  37. data/faithteams-api/api-v2.faithteams.com/Contribution/folder.bru +0 -8
  38. data/faithteams-api/api-v2.faithteams.com/Contribution Type/Contribution Type.bru +0 -15
  39. data/faithteams-api/api-v2.faithteams.com/Contribution Type/Contribution Types.bru +0 -20
  40. data/faithteams-api/api-v2.faithteams.com/Contribution Type/folder.bru +0 -8
  41. data/faithteams-api/api-v2.faithteams.com/Error/Integer Too Big.bru +0 -15
  42. data/faithteams-api/api-v2.faithteams.com/Error/Not Found.bru +0 -15
  43. data/faithteams-api/api-v2.faithteams.com/Error/folder.bru +0 -8
  44. data/faithteams-api/api-v2.faithteams.com/Fund/Fund Create.bru +0 -30
  45. data/faithteams-api/api-v2.faithteams.com/Fund/Fund Update.bru +0 -32
  46. data/faithteams-api/api-v2.faithteams.com/Fund/Fund.bru +0 -15
  47. data/faithteams-api/api-v2.faithteams.com/Fund/Funds.bru +0 -20
  48. data/faithteams-api/api-v2.faithteams.com/Fund/folder.bru +0 -8
  49. data/faithteams-api/api-v2.faithteams.com/folder.bru +0 -13
  50. data/faithteams-api/app.faithteams.com-api-v2/Authenticate.bru +0 -26
  51. data/faithteams-api/app.faithteams.com-api-v2/Checkins.bru +0 -15
  52. data/faithteams-api/app.faithteams.com-api-v2/Error/Not Found 2.bru +0 -15
  53. data/faithteams-api/app.faithteams.com-api-v2/Error/Not Found.bru +0 -15
  54. data/faithteams-api/app.faithteams.com-api-v2/Error/folder.bru +0 -8
  55. data/faithteams-api/app.faithteams.com-api-v2/People/Create Person.bru +0 -28
  56. data/faithteams-api/app.faithteams.com-api-v2/People/People Memberships.bru +0 -15
  57. data/faithteams-api/app.faithteams.com-api-v2/People/People.bru +0 -27
  58. data/faithteams-api/app.faithteams.com-api-v2/People/Person Tags.bru +0 -15
  59. data/faithteams-api/app.faithteams.com-api-v2/People/Person.bru +0 -15
  60. data/faithteams-api/app.faithteams.com-api-v2/People/Update Person.bru +0 -26
  61. data/faithteams-api/app.faithteams.com-api-v2/People/folder.bru +0 -8
  62. data/faithteams-api/app.faithteams.com-api-v2/Rules.bru +0 -15
  63. data/faithteams-api/app.faithteams.com-api-v2/Team & Organization/Organization.bru +0 -15
  64. data/faithteams-api/app.faithteams.com-api-v2/Team & Organization/Teams.bru +0 -21
  65. data/faithteams-api/app.faithteams.com-api-v2/Team & Organization/folder.bru +0 -8
  66. data/faithteams-api/app.faithteams.com-api-v2/Unsubscribes.bru +0 -19
  67. data/faithteams-api/app.faithteams.com-api-v2/User/User.bru +0 -15
  68. data/faithteams-api/app.faithteams.com-api-v2/User/Users.bru +0 -24
  69. data/faithteams-api/app.faithteams.com-api-v2/User/folder.bru +0 -8
  70. data/faithteams-api/app.faithteams.com-api-v2/folder.bru +0 -12
  71. data/faithteams-api/bruno.json +0 -9
  72. data/faithteams-api/environments/FaithTeams.bru +0 -17
  73. data/guides/api_client_interface.md +0 -18
  74. data/guides/release-process.md +0 -11
  75. data/thunder-tests/.gitignore +0 -2
  76. data/thunder-tests/collections/tc_col_faithteams-api.json +0 -1301
  77. data/thunder-tests/collections/tc_col_faithteams-app.json +0 -1189
  78. data/thunder-tests/environments/tc_env_faithteams.json +0 -59
  79. data/thunder-tests/faithteams.env.template +0 -4
data/CODE_OF_CONDUCT.md DELETED
@@ -1,128 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- We as members, contributors, and leaders pledge to make participation in our
6
- community a harassment-free experience for everyone, regardless of age, body
7
- size, visible or invisible disability, ethnicity, sex characteristics, gender
8
- identity and expression, level of experience, education, socioeconomic status,
9
- nationality, personal appearance, race, caste, color, religion, or sexual
10
- identity and orientation.
11
-
12
- We pledge to act and interact in ways that contribute to an open, welcoming,
13
- diverse, inclusive, and healthy community.
14
-
15
- ## Our Standards
16
-
17
- Examples of behavior that contributes to a positive environment for our
18
- community include:
19
-
20
- * Demonstrating empathy and kindness toward other people
21
- * Being respectful of differing opinions, viewpoints, and experiences
22
- * Giving and gracefully accepting constructive feedback
23
- * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
24
- * Focusing on what is best not just for us as individuals, but for the overall community
25
-
26
- Examples of unacceptable behavior include:
27
-
28
- * The use of sexualized language or imagery, and sexual attention or advances of any kind
29
- * Trolling, insulting or derogatory comments, and personal or political attacks
30
- * Public or private harassment
31
- * Publishing others' private information, such as a physical or email address, without their explicit permission
32
- * Other conduct which could reasonably be considered inappropriate in a professional setting
33
-
34
- ## Enforcement Responsibilities
35
-
36
- Community leaders are responsible for clarifying and enforcing our standards of
37
- acceptable behavior and will take appropriate and fair corrective action in
38
- response to any behavior that they deem inappropriate, threatening, offensive,
39
- or harmful.
40
-
41
- Community leaders have the right and responsibility to remove, edit, or reject
42
- comments, commits, code, wiki edits, issues, and other contributions that are
43
- not aligned to this Code of Conduct, and will communicate reasons for moderation
44
- decisions when appropriate.
45
-
46
- ## Scope
47
-
48
- This Code of Conduct applies within all community spaces, and also applies when
49
- an individual is officially representing the community in public spaces.
50
- Examples of representing our community include using an official e-mail address,
51
- posting via an official social media account, or acting as an appointed
52
- representative at an online or offline event.
53
-
54
- ## Enforcement
55
-
56
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
57
- reported to the community leaders responsible for enforcement through [Github
58
- Reporting](https://docs.github.com/en/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam)
59
- or by emailing [integrations@tithe.ly](mailto:integrations@tithe.ly?subject=Code of Conduct violation).
60
- All complaints will be reviewed and investigated promptly and fairly.
61
-
62
- All community leaders are obligated to respect the privacy and security of the
63
- reporter of any incident.
64
-
65
- ## Enforcement Guidelines
66
-
67
- Community leaders will follow these Community Impact Guidelines in determining
68
- the consequences for any action they deem in violation of this Code of Conduct:
69
-
70
- ### 1. Correction
71
-
72
- **Community Impact**: Use of inappropriate language or other behavior deemed
73
- unprofessional or unwelcome in the community.
74
-
75
- **Consequence**: A private, written warning from community leaders, providing
76
- clarity around the nature of the violation and an explanation of why the
77
- behavior was inappropriate. A public apology may be requested.
78
-
79
- ### 2. Warning
80
-
81
- **Community Impact**: A violation through a single incident or series of
82
- actions.
83
-
84
- **Consequence**: A warning with consequences for continued behavior. No
85
- interaction with the people involved, including unsolicited interaction with
86
- those enforcing the Code of Conduct, for a specified period of time. This
87
- includes avoiding interactions in community spaces as well as external channels
88
- like social media. Violating these terms may lead to a temporary or permanent
89
- ban.
90
-
91
- ### 3. Temporary Ban
92
-
93
- **Community Impact**: A serious violation of community standards, including
94
- sustained inappropriate behavior.
95
-
96
- **Consequence**: A temporary ban from any sort of interaction or public
97
- communication with the community for a specified period of time. No public or
98
- private interaction with the people involved, including unsolicited interaction
99
- with those enforcing the Code of Conduct, is allowed during this period.
100
- Violating these terms may lead to a permanent ban.
101
-
102
- ### 4. Permanent Ban
103
-
104
- **Community Impact**: Demonstrating a pattern of violation of community
105
- standards, including sustained inappropriate behavior, harassment of an
106
- individual, or aggression toward or disparagement of classes of individuals.
107
-
108
- **Consequence**: A permanent ban from any sort of public interaction within the
109
- community.
110
-
111
- ## Attribution
112
-
113
- This Code of Conduct is adapted from the [Contributor Covenant][homepage],
114
- version 2.1, available at
115
- [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
116
-
117
- Community Impact Guidelines were inspired by
118
- [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
119
-
120
- For answers to common questions about this code of conduct, see the FAQ at
121
- [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
122
- [https://www.contributor-covenant.org/translations][translations].
123
-
124
- [homepage]: https://www.contributor-covenant.org
125
- [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
126
- [Mozilla CoC]: https://github.com/mozilla/diversity
127
- [FAQ]: https://www.contributor-covenant.org/faq
128
- [translations]: https://www.contributor-covenant.org/translations
data/Gemfile DELETED
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source "https://rubygems.org"
4
-
5
- # Specify your gem's dependencies in faithteams-api.gemspec
6
- gemspec
7
-
8
- # Security floors for transitive dependencies not declared in the gemspec.
9
- # These are not upper-bounded — bundle audit is the ongoing security check.
10
- gem "rexml", ">= 3.4.2" # webmock → crack → rexml
11
- gem "thor", ">= 1.4.0" # guard-rspec → guard → thor
data/Gemfile.lock DELETED
@@ -1,189 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- faithteams-api (4.6.1)
5
- activesupport (~> 7.2)
6
- http (~> 5.1)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- activesupport (7.2.3.1)
12
- base64
13
- benchmark (>= 0.3)
14
- bigdecimal
15
- concurrent-ruby (~> 1.0, >= 1.3.1)
16
- connection_pool (>= 2.2.5)
17
- drb
18
- i18n (>= 1.6, < 2)
19
- logger (>= 1.4.2)
20
- minitest (>= 5.1, < 6)
21
- securerandom (>= 0.3)
22
- tzinfo (~> 2.0, >= 2.0.5)
23
- addressable (2.8.9)
24
- public_suffix (>= 2.0.2, < 8.0)
25
- ast (2.4.3)
26
- base64 (0.3.0)
27
- benchmark (0.5.0)
28
- bigdecimal (4.0.1)
29
- byebug (11.1.3)
30
- coderay (1.1.3)
31
- concurrent-ruby (1.3.6)
32
- connection_pool (3.0.2)
33
- crack (1.0.1)
34
- bigdecimal
35
- rexml
36
- diff-lcs (1.6.2)
37
- docile (1.4.1)
38
- domain_name (0.6.20240107)
39
- drb (2.2.3)
40
- ffi (1.17.4)
41
- ffi-compiler (1.3.2)
42
- ffi (>= 1.15.5)
43
- rake
44
- formatador (1.2.3)
45
- reline
46
- guard (2.20.1)
47
- formatador (>= 0.2.4)
48
- listen (>= 2.7, < 4.0)
49
- logger (~> 1.6)
50
- lumberjack (>= 1.0.12, < 2.0)
51
- nenv (~> 0.1)
52
- notiffany (~> 0.0)
53
- pry (>= 0.13.0)
54
- shellany (~> 0.0)
55
- thor (>= 0.18.1)
56
- guard-compat (1.2.1)
57
- guard-rspec (4.7.3)
58
- guard (~> 2.1)
59
- guard-compat (~> 1.1)
60
- rspec (>= 2.99.0, < 4.0)
61
- hashdiff (1.2.1)
62
- http (5.3.1)
63
- addressable (~> 2.8)
64
- http-cookie (~> 1.0)
65
- http-form_data (~> 2.2)
66
- llhttp-ffi (~> 0.5.0)
67
- http-cookie (1.1.0)
68
- domain_name (~> 0.5)
69
- http-form_data (2.3.0)
70
- i18n (1.14.8)
71
- concurrent-ruby (~> 1.0)
72
- io-console (0.8.2)
73
- json (2.19.3)
74
- language_server-protocol (3.17.0.5)
75
- lint_roller (1.1.0)
76
- listen (3.10.0)
77
- logger
78
- rb-fsevent (~> 0.10, >= 0.10.3)
79
- rb-inotify (~> 0.9, >= 0.9.10)
80
- llhttp-ffi (0.5.1)
81
- ffi-compiler (~> 1.0)
82
- rake (~> 13.0)
83
- logger (1.7.0)
84
- lumberjack (1.4.2)
85
- method_source (1.1.0)
86
- minitest (5.27.0)
87
- nenv (0.3.0)
88
- notiffany (0.1.3)
89
- nenv (~> 0.1)
90
- shellany (~> 0.0)
91
- parallel (1.27.0)
92
- parser (3.3.11.0)
93
- ast (~> 2.4.1)
94
- racc
95
- prism (1.9.0)
96
- pry (0.16.0)
97
- coderay (~> 1.1)
98
- method_source (~> 1.0)
99
- reline (>= 0.6.0)
100
- public_suffix (7.0.5)
101
- racc (1.8.1)
102
- rainbow (3.1.1)
103
- rake (13.3.1)
104
- rb-fsevent (0.11.2)
105
- rb-inotify (0.11.1)
106
- ffi (~> 1.0)
107
- regexp_parser (2.11.3)
108
- reline (0.6.3)
109
- io-console (~> 0.5)
110
- rexml (3.4.4)
111
- rspec (3.13.2)
112
- rspec-core (~> 3.13.0)
113
- rspec-expectations (~> 3.13.0)
114
- rspec-mocks (~> 3.13.0)
115
- rspec-core (3.13.6)
116
- rspec-support (~> 3.13.0)
117
- rspec-expectations (3.13.5)
118
- diff-lcs (>= 1.2.0, < 2.0)
119
- rspec-support (~> 3.13.0)
120
- rspec-mocks (3.13.8)
121
- diff-lcs (>= 1.2.0, < 2.0)
122
- rspec-support (~> 3.13.0)
123
- rspec-support (3.13.7)
124
- rubocop (1.86.0)
125
- json (~> 2.3)
126
- language_server-protocol (~> 3.17.0.2)
127
- lint_roller (~> 1.1.0)
128
- parallel (~> 1.10)
129
- parser (>= 3.3.0.2)
130
- rainbow (>= 2.2.2, < 4.0)
131
- regexp_parser (>= 2.9.3, < 3.0)
132
- rubocop-ast (>= 1.49.0, < 2.0)
133
- ruby-progressbar (~> 1.7)
134
- unicode-display_width (>= 2.4.0, < 4.0)
135
- rubocop-ast (1.49.1)
136
- parser (>= 3.3.7.2)
137
- prism (~> 1.7)
138
- rubocop-performance (1.26.1)
139
- lint_roller (~> 1.1)
140
- rubocop (>= 1.75.0, < 2.0)
141
- rubocop-ast (>= 1.47.1, < 2.0)
142
- rubocop-rake (0.7.1)
143
- lint_roller (~> 1.1)
144
- rubocop (>= 1.72.1)
145
- rubocop-rspec (3.9.0)
146
- lint_roller (~> 1.1)
147
- rubocop (~> 1.81)
148
- ruby-progressbar (1.13.0)
149
- securerandom (0.4.1)
150
- shellany (0.0.1)
151
- simplecov (0.22.0)
152
- docile (~> 1.1)
153
- simplecov-html (~> 0.11)
154
- simplecov_json_formatter (~> 0.1)
155
- simplecov-html (0.13.2)
156
- simplecov_json_formatter (0.1.4)
157
- thor (1.5.0)
158
- tzinfo (2.0.6)
159
- concurrent-ruby (~> 1.0)
160
- unicode-display_width (3.2.0)
161
- unicode-emoji (~> 4.1)
162
- unicode-emoji (4.2.0)
163
- webmock (3.26.2)
164
- addressable (>= 2.8.0)
165
- crack (>= 0.3.2)
166
- hashdiff (>= 0.4.0, < 2.0.0)
167
- yard (0.9.38)
168
-
169
- PLATFORMS
170
- ruby
171
-
172
- DEPENDENCIES
173
- byebug (~> 11.1)
174
- faithteams-api!
175
- guard-rspec (~> 4.7)
176
- rake (~> 13.0)
177
- rexml (>= 3.4.2)
178
- rspec (~> 3.12)
179
- rubocop (~> 1.73)
180
- rubocop-performance (~> 1.24)
181
- rubocop-rake (~> 0.7)
182
- rubocop-rspec (~> 3.5)
183
- simplecov (~> 0.21)
184
- thor (>= 1.4.0)
185
- webmock (~> 3.18)
186
- yard (~> 0.9)
187
-
188
- BUNDLED WITH
189
- 2.5.17
data/Guardfile DELETED
@@ -1,50 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # A sample Guardfile
4
- # More info at https://github.com/guard/guard#readme
5
-
6
- ## Uncomment and set this to only include directories you want to watch
7
- # directories %w(app lib config test spec features) \
8
- # .select{|d| Dir.exist?(d) ? d : UI.warning("Directory #{d} does not exist")}
9
-
10
- ## Note: if you are using the `directories` clause above and you are not
11
- ## watching the project directory ('.'), then you will want to move
12
- ## the Guardfile to a watched dir and symlink it back, e.g.
13
- #
14
- # $ mkdir config
15
- # $ mv Guardfile config/
16
- # $ ln -s config/Guardfile .
17
- #
18
- # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
19
-
20
- # Note: The cmd option is now required due to the increasing number of ways
21
- # rspec may be run, below are examples of the most common uses.
22
- # * bundler: 'bundle exec rspec'
23
- # * bundler binstubs: 'bin/rspec'
24
- # * spring: 'bin/rspec' (This will use spring if running and you have
25
- # installed the spring binstubs per the docs)
26
- # * zeus: 'zeus rspec' (requires the server to be started separately)
27
- # * 'just' rspec: 'rspec'
28
-
29
- guard :rspec, cmd: "bundle exec rspec" do
30
- require "guard/rspec/dsl"
31
- dsl = Guard::RSpec::Dsl.new(self)
32
-
33
- # Feel free to open issues for suggestions and improvements
34
-
35
- # RSpec files
36
- rspec = dsl.rspec
37
- watch(rspec.spec_helper) { rspec.spec_dir }
38
- watch(rspec.spec_support) { rspec.spec_dir }
39
- watch(rspec.spec_files)
40
-
41
- # Ruby files
42
- ruby = dsl.ruby
43
- dsl.watch_spec_files_for(ruby.lib_files)
44
-
45
- # Rails files
46
- rails = dsl.rails(view_extensions: %w(erb haml slim))
47
-
48
- # Rails config changes
49
- watch(rails.spec_helper) { rspec.spec_dir }
50
- end
data/Rakefile DELETED
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "bundler/gem_tasks"
4
- require "rspec/core/rake_task"
5
-
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- task default: :spec
data/bin/console DELETED
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require "bundler/setup"
5
- require "faithteams"
6
-
7
- # You can add fixtures and/or initialization code here to make experimenting
8
- # with your gem easier. You can also use a different console, if you like.
9
-
10
- # (If you use this, don't forget to add pry to your Gemfile!)
11
- # require "pry"
12
- # Pry.start
13
-
14
- require "irb"
15
- IRB.start(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here
@@ -1,4 +0,0 @@
1
- # API V1 & V2
2
- user_id=
3
- password=
4
- user_credentials=<user_id>:<password>
@@ -1,25 +0,0 @@
1
- meta {
2
- name: Authenticate
3
- type: http
4
- seq: 1
5
- }
6
-
7
- get {
8
- url: https://api.faithteams.com/api/v1/authenticate
9
- body: none
10
- auth: basic
11
- }
12
-
13
- auth:basic {
14
- username: {{process.env.user_id}}
15
- password: {{process.env.password}}
16
- }
17
-
18
- script:post-response {
19
- let body = res.getBody();
20
- bru.setEnvVar("auth_token", body.data.token);
21
- }
22
-
23
- settings {
24
- encodeUrl: true
25
- }
@@ -1,23 +0,0 @@
1
- meta {
2
- name: Batch Create
3
- type: http
4
- seq: 3
5
- }
6
-
7
- post {
8
- url: https://api-v2.faithteams.com/batches
9
- body: json
10
- auth: inherit
11
- }
12
-
13
- body:json {
14
- {
15
- "title":"Tithely 2023-07-19 Bank",
16
- "dtm":"2023-07-19 00:00:00",
17
- "status":"O"
18
- }
19
- }
20
-
21
- settings {
22
- encodeUrl: true
23
- }
@@ -1,19 +0,0 @@
1
- meta {
2
- name: Batch Totals
3
- type: http
4
- seq: 4
5
- }
6
-
7
- get {
8
- url: https://api-v2.faithteams.com/batches/totals?batchIds={{batch_id}},{{batch_id_2}}
9
- body: none
10
- auth: inherit
11
- }
12
-
13
- params:query {
14
- batchIds: {{batch_id}},{{batch_id_2}}
15
- }
16
-
17
- settings {
18
- encodeUrl: true
19
- }
@@ -1,27 +0,0 @@
1
- meta {
2
- name: Batch Update
3
- type: http
4
- seq: 5
5
- }
6
-
7
- put {
8
- url: https://api-v2.faithteams.com/batches/{{batch_id}}
9
- body: json
10
- auth: inherit
11
- }
12
-
13
- body:json {
14
- {
15
- "orgId": {{organization_id}},
16
- "status": "D",
17
- "title": "Tithely 2023-07-19 Bank",
18
- "dtm": "2023-07-19 00:00:00",
19
- "updatedDtm": "2023-08-28 23:45:44",
20
- "updatedUser": 27985,
21
- "contributions": []
22
- }
23
- }
24
-
25
- settings {
26
- encodeUrl: true
27
- }
@@ -1,15 +0,0 @@
1
- meta {
2
- name: Batch
3
- type: http
4
- seq: 2
5
- }
6
-
7
- get {
8
- url: https://api-v2.faithteams.com/batches/{{batch_id}}
9
- body: none
10
- auth: inherit
11
- }
12
-
13
- settings {
14
- encodeUrl: true
15
- }
@@ -1,32 +0,0 @@
1
- meta {
2
- name: Batches
3
- type: http
4
- seq: 1
5
- }
6
-
7
- get {
8
- url: https://api-v2.faithteams.com/batches?sort=dtm&sortDirection=desc&dtm=2023-08-28
9
- body: none
10
- auth: inherit
11
- }
12
-
13
- params:query {
14
- sort: dtm
15
- sortDirection: desc
16
- dtm: 2023-08-28
17
- ~status: O
18
- ~title: 2023-08-28 Central Campus Tithely Card
19
- ~limit:
20
- ~start:
21
- ~batchIds: 200782
22
- }
23
-
24
- script:post-response {
25
- let body = res.getBody();
26
- bru.setEnvVar("batch_id", String(body.data[0].batchId));
27
- bru.setEnvVar("batch_id_2", String(body.data[1].batchId));
28
- }
29
-
30
- settings {
31
- encodeUrl: true
32
- }
@@ -1,8 +0,0 @@
1
- meta {
2
- name: Batch
3
- seq: 1
4
- }
5
-
6
- auth {
7
- mode: inherit
8
- }
@@ -1,40 +0,0 @@
1
- meta {
2
- name: Contribution Create
3
- type: http
4
- seq: 3
5
- }
6
-
7
- post {
8
- url: https://api-v2.faithteams.com/contributions
9
- body: json
10
- auth: inherit
11
- }
12
-
13
- body:json {
14
- [
15
- {
16
- "recordType":"H",
17
- "personId":779137,
18
- "batchId":195770,
19
- "amount":"100.00",
20
- "fee":"2.00",
21
- "netAmount":"98.00",
22
- "contributionTypeId":24,
23
- "status":"A",
24
- "note":"Date: 2023-07-17, Method: card, Memo: for the animals"
25
- },
26
- {
27
- "recordType":"D",
28
- "fundId":7894,
29
- "personId":779137,
30
- "batchId":195770,
31
- "amount":"100.00",
32
- "fee":"2.00",
33
- "netAmount":"98.00"
34
- }
35
- ]
36
- }
37
-
38
- settings {
39
- encodeUrl: true
40
- }
@@ -1,15 +0,0 @@
1
- meta {
2
- name: Contribution
3
- type: http
4
- seq: 2
5
- }
6
-
7
- get {
8
- url: https://api-v2.faithteams.com/contributions/{{contribution_parent_id}}
9
- body: none
10
- auth: inherit
11
- }
12
-
13
- settings {
14
- encodeUrl: true
15
- }
@@ -1,34 +0,0 @@
1
- meta {
2
- name: Contributions
3
- type: http
4
- seq: 1
5
- }
6
-
7
- get {
8
- url: https://api-v2.faithteams.com/contributions?startDt=1923-01-01&endDt=2033-01-01&resultType=sum&statuses=A
9
- body: none
10
- auth: inherit
11
- }
12
-
13
- params:query {
14
- startDt: 1923-01-01
15
- endDt: 2033-01-01
16
- resultType: sum
17
- statuses: A
18
- ~filters: true
19
- ~personIds: 769839
20
- ~groupBy: personId,fundId
21
- ~limit: 500
22
- ~sort: dtm
23
- ~sortDirection: asc
24
- }
25
-
26
- script:post-response {
27
- let body = res.getBody();
28
- bru.setEnvVar("contribution_id", String(body.data[0].contributionId));
29
- bru.setEnvVar("contribution_parent_id", String(body.data[0].parentId));
30
- }
31
-
32
- settings {
33
- encodeUrl: true
34
- }
@@ -1,8 +0,0 @@
1
- meta {
2
- name: Contribution
3
- seq: 3
4
- }
5
-
6
- auth {
7
- mode: inherit
8
- }
@@ -1,15 +0,0 @@
1
- meta {
2
- name: Contribution Type
3
- type: http
4
- seq: 2
5
- }
6
-
7
- get {
8
- url: https://api-v2.faithteams.com/contributiontypes/{{contribution_type_id}}
9
- body: none
10
- auth: inherit
11
- }
12
-
13
- settings {
14
- encodeUrl: true
15
- }