faithteams-api 4.4.0 → 4.6.1
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.
- checksums.yaml +4 -4
- data/.github/workflows/editorconfig.yml +2 -2
- data/.github/workflows/rubocop.yml +1 -1
- data/.github/workflows/rubygems.yml +2 -2
- data/.github/workflows/tester.yml +1 -1
- data/.github/workflows/yard.yml +1 -1
- data/.gitignore +1 -0
- data/CHANGELOG.md +23 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +70 -67
- data/README.md +19 -0
- data/faithteams-api/.env.template +4 -0
- data/faithteams-api/Authenticate.bru +25 -0
- data/faithteams-api/api-v2.faithteams.com/Batch/Batch Create.bru +23 -0
- data/faithteams-api/api-v2.faithteams.com/Batch/Batch Totals.bru +19 -0
- data/faithteams-api/api-v2.faithteams.com/Batch/Batch Update.bru +27 -0
- data/faithteams-api/api-v2.faithteams.com/Batch/Batch.bru +15 -0
- data/faithteams-api/api-v2.faithteams.com/Batch/Batches.bru +32 -0
- data/faithteams-api/api-v2.faithteams.com/Batch/folder.bru +8 -0
- data/faithteams-api/api-v2.faithteams.com/Contribution/Contribution Create.bru +40 -0
- data/faithteams-api/api-v2.faithteams.com/Contribution/Contribution.bru +15 -0
- data/faithteams-api/api-v2.faithteams.com/Contribution/Contributions.bru +34 -0
- data/faithteams-api/api-v2.faithteams.com/Contribution/folder.bru +8 -0
- data/faithteams-api/api-v2.faithteams.com/Contribution Type/Contribution Type.bru +15 -0
- data/faithteams-api/api-v2.faithteams.com/Contribution Type/Contribution Types.bru +20 -0
- data/faithteams-api/api-v2.faithteams.com/Contribution Type/folder.bru +8 -0
- data/faithteams-api/api-v2.faithteams.com/Error/Integer Too Big.bru +15 -0
- data/faithteams-api/api-v2.faithteams.com/Error/Not Found.bru +15 -0
- data/faithteams-api/api-v2.faithteams.com/Error/folder.bru +8 -0
- data/faithteams-api/api-v2.faithteams.com/Fund/Fund Create.bru +30 -0
- data/faithteams-api/api-v2.faithteams.com/Fund/Fund Update.bru +32 -0
- data/faithteams-api/api-v2.faithteams.com/Fund/Fund.bru +15 -0
- data/faithteams-api/api-v2.faithteams.com/Fund/Funds.bru +20 -0
- data/faithteams-api/api-v2.faithteams.com/Fund/folder.bru +8 -0
- data/faithteams-api/api-v2.faithteams.com/folder.bru +13 -0
- data/faithteams-api/app.faithteams.com-api-v2/Authenticate.bru +26 -0
- data/faithteams-api/app.faithteams.com-api-v2/Checkins.bru +15 -0
- data/faithteams-api/app.faithteams.com-api-v2/Error/Not Found 2.bru +15 -0
- data/faithteams-api/app.faithteams.com-api-v2/Error/Not Found.bru +15 -0
- data/faithteams-api/app.faithteams.com-api-v2/Error/folder.bru +8 -0
- data/faithteams-api/app.faithteams.com-api-v2/People/Create Person.bru +28 -0
- data/faithteams-api/app.faithteams.com-api-v2/People/People Memberships.bru +15 -0
- data/faithteams-api/app.faithteams.com-api-v2/People/People.bru +27 -0
- data/faithteams-api/app.faithteams.com-api-v2/People/Person Tags.bru +15 -0
- data/faithteams-api/app.faithteams.com-api-v2/People/Person.bru +15 -0
- data/faithteams-api/app.faithteams.com-api-v2/People/Update Person.bru +26 -0
- data/faithteams-api/app.faithteams.com-api-v2/People/folder.bru +8 -0
- data/faithteams-api/app.faithteams.com-api-v2/Rules.bru +15 -0
- data/faithteams-api/app.faithteams.com-api-v2/Team & Organization/Organization.bru +15 -0
- data/faithteams-api/app.faithteams.com-api-v2/Team & Organization/Teams.bru +21 -0
- data/faithteams-api/app.faithteams.com-api-v2/Team & Organization/folder.bru +8 -0
- data/faithteams-api/app.faithteams.com-api-v2/Unsubscribes.bru +19 -0
- data/faithteams-api/app.faithteams.com-api-v2/User/User.bru +15 -0
- data/faithteams-api/app.faithteams.com-api-v2/User/Users.bru +24 -0
- data/faithteams-api/app.faithteams.com-api-v2/User/folder.bru +8 -0
- data/faithteams-api/app.faithteams.com-api-v2/folder.bru +12 -0
- data/faithteams-api/bruno.json +9 -0
- data/faithteams-api/environments/FaithTeams.bru +17 -0
- data/faithteams-api.gemspec +6 -10
- data/lib/faithteams/version.rb +1 -1
- metadata +65 -71
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7094affc4f1e85b777c3c0753bb70419dbfc5fc837026f3eadce7c4e5016fde7
|
|
4
|
+
data.tar.gz: 23d30acf16c0e1873848e13600ebb7ec5c7224ed30bfa60f5534d08fe429d1d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e5821e8131f2a41b8049095e177dd1ef60585d9ee9713e4d3d254e68ca1d87794ee561aa6608d8ccd819faba90828b914eb269bde83676cc06dae1f780405bdb
|
|
7
|
+
data.tar.gz: d7d99a29756dbd95b214694029f1cd7b35c3a1f42d57a99fc40bcb5ae5fa64b56d25f68af8430c36d1a97eb9274d4dc95dd669fce69ef628baafd1cc28ee657d
|
|
@@ -11,11 +11,11 @@ jobs:
|
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
steps:
|
|
13
13
|
- name: Checkout Code
|
|
14
|
-
uses: actions/checkout@
|
|
14
|
+
uses: actions/checkout@v6
|
|
15
15
|
- name: Setup Node
|
|
16
16
|
uses: actions/setup-node@v4
|
|
17
17
|
with:
|
|
18
|
-
node-version:
|
|
18
|
+
node-version: 24
|
|
19
19
|
- name: Install editorconfig-checker
|
|
20
20
|
run: npm install --global editorconfig-checker
|
|
21
21
|
- name: Run editorconfig-checker
|
|
@@ -25,12 +25,12 @@ jobs:
|
|
|
25
25
|
|
|
26
26
|
steps:
|
|
27
27
|
# Set up
|
|
28
|
-
- uses: actions/checkout@
|
|
28
|
+
- uses: actions/checkout@v6
|
|
29
29
|
- name: Set up Ruby
|
|
30
30
|
uses: ruby/setup-ruby@v1
|
|
31
31
|
with:
|
|
32
32
|
bundler-cache: true
|
|
33
|
-
ruby-version:
|
|
33
|
+
ruby-version: 3.3
|
|
34
34
|
|
|
35
35
|
# Release
|
|
36
36
|
- uses: rubygems/release-gem@v1
|
data/.github/workflows/yard.yml
CHANGED
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,29 @@ All notable changes to this project will be documented in this file.
|
|
|
7
7
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
8
8
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
9
9
|
|
|
10
|
+
## [4.6.1]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
1. Use GH actions for Node 24. (ISG-92)
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
1. Lock rubygems.yml ruby version to 3.3. (ISG-92)
|
|
19
|
+
|
|
20
|
+
## [4.6.0]
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
1. Relax patch-level dependency pins to minor-level to allow security patch updates. (ISG-92)
|
|
25
|
+
1. Remove transitive dependencies (logger, ostruct, rexml, thor) from gemspec; add rexml and thor as Gemfile security floor constraints. (ISG-92)
|
|
26
|
+
|
|
27
|
+
## [4.5.0]
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
|
|
31
|
+
1. Add Bruno API Client (to eventually replace ThunderClient). (IN-2728)
|
|
32
|
+
|
|
10
33
|
## [4.4.0]
|
|
11
34
|
|
|
12
35
|
### Changed
|
data/Gemfile
CHANGED
|
@@ -4,3 +4,8 @@ source "https://rubygems.org"
|
|
|
4
4
|
|
|
5
5
|
# Specify your gem's dependencies in faithteams-api.gemspec
|
|
6
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
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
faithteams-api (4.
|
|
5
|
-
activesupport (~> 7.2
|
|
4
|
+
faithteams-api (4.6.1)
|
|
5
|
+
activesupport (~> 7.2)
|
|
6
6
|
http (~> 5.1)
|
|
7
|
-
logger (~> 1.6.1)
|
|
8
|
-
ostruct (~> 0.6.0)
|
|
9
|
-
rexml (~> 3.3.9)
|
|
10
|
-
thor (~> 1.4.0)
|
|
11
7
|
|
|
12
8
|
GEM
|
|
13
9
|
remote: https://rubygems.org/
|
|
14
10
|
specs:
|
|
15
|
-
activesupport (7.2.
|
|
11
|
+
activesupport (7.2.3.1)
|
|
16
12
|
base64
|
|
17
13
|
benchmark (>= 0.3)
|
|
18
14
|
bigdecimal
|
|
@@ -21,34 +17,36 @@ GEM
|
|
|
21
17
|
drb
|
|
22
18
|
i18n (>= 1.6, < 2)
|
|
23
19
|
logger (>= 1.4.2)
|
|
24
|
-
minitest (>= 5.1)
|
|
20
|
+
minitest (>= 5.1, < 6)
|
|
25
21
|
securerandom (>= 0.3)
|
|
26
22
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
27
|
-
addressable (2.8.
|
|
28
|
-
public_suffix (>= 2.0.2, <
|
|
23
|
+
addressable (2.8.9)
|
|
24
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
29
25
|
ast (2.4.3)
|
|
30
|
-
base64 (0.
|
|
31
|
-
benchmark (0.
|
|
32
|
-
bigdecimal (
|
|
26
|
+
base64 (0.3.0)
|
|
27
|
+
benchmark (0.5.0)
|
|
28
|
+
bigdecimal (4.0.1)
|
|
33
29
|
byebug (11.1.3)
|
|
34
30
|
coderay (1.1.3)
|
|
35
|
-
concurrent-ruby (1.3.
|
|
36
|
-
connection_pool (
|
|
37
|
-
crack (1.0.
|
|
31
|
+
concurrent-ruby (1.3.6)
|
|
32
|
+
connection_pool (3.0.2)
|
|
33
|
+
crack (1.0.1)
|
|
38
34
|
bigdecimal
|
|
39
35
|
rexml
|
|
40
|
-
diff-lcs (1.
|
|
36
|
+
diff-lcs (1.6.2)
|
|
41
37
|
docile (1.4.1)
|
|
42
38
|
domain_name (0.6.20240107)
|
|
43
|
-
drb (2.2.
|
|
44
|
-
ffi (1.17.
|
|
39
|
+
drb (2.2.3)
|
|
40
|
+
ffi (1.17.4)
|
|
45
41
|
ffi-compiler (1.3.2)
|
|
46
42
|
ffi (>= 1.15.5)
|
|
47
43
|
rake
|
|
48
|
-
formatador (1.
|
|
49
|
-
|
|
44
|
+
formatador (1.2.3)
|
|
45
|
+
reline
|
|
46
|
+
guard (2.20.1)
|
|
50
47
|
formatador (>= 0.2.4)
|
|
51
48
|
listen (>= 2.7, < 4.0)
|
|
49
|
+
logger (~> 1.6)
|
|
52
50
|
lumberjack (>= 1.0.12, < 2.0)
|
|
53
51
|
nenv (~> 0.1)
|
|
54
52
|
notiffany (~> 0.0)
|
|
@@ -60,67 +58,70 @@ GEM
|
|
|
60
58
|
guard (~> 2.1)
|
|
61
59
|
guard-compat (~> 1.1)
|
|
62
60
|
rspec (>= 2.99.0, < 4.0)
|
|
63
|
-
hashdiff (1.1
|
|
64
|
-
http (5.
|
|
61
|
+
hashdiff (1.2.1)
|
|
62
|
+
http (5.3.1)
|
|
65
63
|
addressable (~> 2.8)
|
|
66
|
-
base64 (~> 0.1)
|
|
67
64
|
http-cookie (~> 1.0)
|
|
68
65
|
http-form_data (~> 2.2)
|
|
69
66
|
llhttp-ffi (~> 0.5.0)
|
|
70
|
-
http-cookie (1.0
|
|
67
|
+
http-cookie (1.1.0)
|
|
71
68
|
domain_name (~> 0.5)
|
|
72
69
|
http-form_data (2.3.0)
|
|
73
|
-
i18n (1.14.
|
|
70
|
+
i18n (1.14.8)
|
|
74
71
|
concurrent-ruby (~> 1.0)
|
|
75
|
-
|
|
72
|
+
io-console (0.8.2)
|
|
73
|
+
json (2.19.3)
|
|
76
74
|
language_server-protocol (3.17.0.5)
|
|
77
75
|
lint_roller (1.1.0)
|
|
78
|
-
listen (3.
|
|
76
|
+
listen (3.10.0)
|
|
77
|
+
logger
|
|
79
78
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
80
79
|
rb-inotify (~> 0.9, >= 0.9.10)
|
|
81
|
-
llhttp-ffi (0.5.
|
|
80
|
+
llhttp-ffi (0.5.1)
|
|
82
81
|
ffi-compiler (~> 1.0)
|
|
83
82
|
rake (~> 13.0)
|
|
84
|
-
logger (1.
|
|
85
|
-
lumberjack (1.2
|
|
83
|
+
logger (1.7.0)
|
|
84
|
+
lumberjack (1.4.2)
|
|
86
85
|
method_source (1.1.0)
|
|
87
|
-
minitest (5.
|
|
86
|
+
minitest (5.27.0)
|
|
88
87
|
nenv (0.3.0)
|
|
89
88
|
notiffany (0.1.3)
|
|
90
89
|
nenv (~> 0.1)
|
|
91
90
|
shellany (~> 0.0)
|
|
92
|
-
ostruct (0.6.1)
|
|
93
91
|
parallel (1.27.0)
|
|
94
|
-
parser (3.3.
|
|
92
|
+
parser (3.3.11.0)
|
|
95
93
|
ast (~> 2.4.1)
|
|
96
94
|
racc
|
|
97
|
-
prism (1.
|
|
98
|
-
pry (0.
|
|
95
|
+
prism (1.9.0)
|
|
96
|
+
pry (0.16.0)
|
|
99
97
|
coderay (~> 1.1)
|
|
100
98
|
method_source (~> 1.0)
|
|
101
|
-
|
|
99
|
+
reline (>= 0.6.0)
|
|
100
|
+
public_suffix (7.0.5)
|
|
102
101
|
racc (1.8.1)
|
|
103
102
|
rainbow (3.1.1)
|
|
104
|
-
rake (13.
|
|
103
|
+
rake (13.3.1)
|
|
105
104
|
rb-fsevent (0.11.2)
|
|
106
105
|
rb-inotify (0.11.1)
|
|
107
106
|
ffi (~> 1.0)
|
|
108
|
-
regexp_parser (2.11.
|
|
109
|
-
|
|
110
|
-
|
|
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)
|
|
111
112
|
rspec-core (~> 3.13.0)
|
|
112
113
|
rspec-expectations (~> 3.13.0)
|
|
113
114
|
rspec-mocks (~> 3.13.0)
|
|
114
|
-
rspec-core (3.13.
|
|
115
|
+
rspec-core (3.13.6)
|
|
115
116
|
rspec-support (~> 3.13.0)
|
|
116
|
-
rspec-expectations (3.13.
|
|
117
|
+
rspec-expectations (3.13.5)
|
|
117
118
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
118
119
|
rspec-support (~> 3.13.0)
|
|
119
|
-
rspec-mocks (3.13.
|
|
120
|
+
rspec-mocks (3.13.8)
|
|
120
121
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
121
122
|
rspec-support (~> 3.13.0)
|
|
122
|
-
rspec-support (3.13.
|
|
123
|
-
rubocop (1.
|
|
123
|
+
rspec-support (3.13.7)
|
|
124
|
+
rubocop (1.86.0)
|
|
124
125
|
json (~> 2.3)
|
|
125
126
|
language_server-protocol (~> 3.17.0.2)
|
|
126
127
|
lint_roller (~> 1.1.0)
|
|
@@ -128,22 +129,22 @@ GEM
|
|
|
128
129
|
parser (>= 3.3.0.2)
|
|
129
130
|
rainbow (>= 2.2.2, < 4.0)
|
|
130
131
|
regexp_parser (>= 2.9.3, < 3.0)
|
|
131
|
-
rubocop-ast (>= 1.
|
|
132
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
132
133
|
ruby-progressbar (~> 1.7)
|
|
133
134
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
134
|
-
rubocop-ast (1.
|
|
135
|
+
rubocop-ast (1.49.1)
|
|
135
136
|
parser (>= 3.3.7.2)
|
|
136
|
-
prism (~> 1.
|
|
137
|
-
rubocop-performance (1.
|
|
137
|
+
prism (~> 1.7)
|
|
138
|
+
rubocop-performance (1.26.1)
|
|
138
139
|
lint_roller (~> 1.1)
|
|
139
|
-
rubocop (>= 1.
|
|
140
|
-
rubocop-ast (>= 1.
|
|
140
|
+
rubocop (>= 1.75.0, < 2.0)
|
|
141
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
141
142
|
rubocop-rake (0.7.1)
|
|
142
143
|
lint_roller (~> 1.1)
|
|
143
144
|
rubocop (>= 1.72.1)
|
|
144
|
-
rubocop-rspec (3.
|
|
145
|
+
rubocop-rspec (3.9.0)
|
|
145
146
|
lint_roller (~> 1.1)
|
|
146
|
-
rubocop (~> 1.
|
|
147
|
+
rubocop (~> 1.81)
|
|
147
148
|
ruby-progressbar (1.13.0)
|
|
148
149
|
securerandom (0.4.1)
|
|
149
150
|
shellany (0.0.1)
|
|
@@ -151,19 +152,19 @@ GEM
|
|
|
151
152
|
docile (~> 1.1)
|
|
152
153
|
simplecov-html (~> 0.11)
|
|
153
154
|
simplecov_json_formatter (~> 0.1)
|
|
154
|
-
simplecov-html (0.13.
|
|
155
|
+
simplecov-html (0.13.2)
|
|
155
156
|
simplecov_json_formatter (0.1.4)
|
|
156
|
-
thor (1.
|
|
157
|
+
thor (1.5.0)
|
|
157
158
|
tzinfo (2.0.6)
|
|
158
159
|
concurrent-ruby (~> 1.0)
|
|
159
|
-
unicode-display_width (3.
|
|
160
|
-
unicode-emoji (~> 4.
|
|
161
|
-
unicode-emoji (4.0
|
|
162
|
-
webmock (3.
|
|
160
|
+
unicode-display_width (3.2.0)
|
|
161
|
+
unicode-emoji (~> 4.1)
|
|
162
|
+
unicode-emoji (4.2.0)
|
|
163
|
+
webmock (3.26.2)
|
|
163
164
|
addressable (>= 2.8.0)
|
|
164
165
|
crack (>= 0.3.2)
|
|
165
166
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
166
|
-
yard (0.9.
|
|
167
|
+
yard (0.9.38)
|
|
167
168
|
|
|
168
169
|
PLATFORMS
|
|
169
170
|
ruby
|
|
@@ -173,14 +174,16 @@ DEPENDENCIES
|
|
|
173
174
|
faithteams-api!
|
|
174
175
|
guard-rspec (~> 4.7)
|
|
175
176
|
rake (~> 13.0)
|
|
177
|
+
rexml (>= 3.4.2)
|
|
176
178
|
rspec (~> 3.12)
|
|
177
|
-
rubocop (~> 1.73
|
|
178
|
-
rubocop-performance (~> 1.24
|
|
179
|
-
rubocop-rake (~> 0.7
|
|
180
|
-
rubocop-rspec (~> 3.5
|
|
179
|
+
rubocop (~> 1.73)
|
|
180
|
+
rubocop-performance (~> 1.24)
|
|
181
|
+
rubocop-rake (~> 0.7)
|
|
182
|
+
rubocop-rspec (~> 3.5)
|
|
181
183
|
simplecov (~> 0.21)
|
|
184
|
+
thor (>= 1.4.0)
|
|
182
185
|
webmock (~> 3.18)
|
|
183
|
-
yard (~> 0.9
|
|
186
|
+
yard (~> 0.9)
|
|
184
187
|
|
|
185
188
|
BUNDLED WITH
|
|
186
|
-
2.5.
|
|
189
|
+
2.5.17
|
data/README.md
CHANGED
|
@@ -29,6 +29,25 @@ Or install it yourself as:
|
|
|
29
29
|
|
|
30
30
|
`gem install faithteams`
|
|
31
31
|
|
|
32
|
+
## VS Code Bruno Extension
|
|
33
|
+
|
|
34
|
+
We are now using the [Bruno API Client](https://docs.usebruno.com/introduction/what-is-bruno) for developing and testing 2nd party API requests. You can use a desktop app or VS Code extension to use Bruno.
|
|
35
|
+
|
|
36
|
+
### Desktop App
|
|
37
|
+
|
|
38
|
+
1. Simply follow these instructions for your desktop app [installation options](https://docs.usebruno.com/get-started/bruno-basics/download).
|
|
39
|
+
|
|
40
|
+
### VS Code Extension
|
|
41
|
+
|
|
42
|
+
1. If you don't already have it, install the VS Code Bruno Extension.
|
|
43
|
+
1. After opening the extension, click the + button to open a "collection".
|
|
44
|
+
1. Find the root level '[second_party]-api' directory. (ie 'faithteams-api')
|
|
45
|
+
1. Make a copy of the .env.template file (and make sure to just call it .env) and fill in the necessary values from 1Password.
|
|
46
|
+
1. In the left pane, open the ... menu beside faithteams-api and select *settings*.
|
|
47
|
+
1. Select your desired environment to use with this collection in the upper right (most likely *FaithTeams*).
|
|
48
|
+
1. You should now be ready to make some API calls!
|
|
49
|
+
1. See Bruno's [VS Code Extension Documentation](https://docs.usebruno.com/vs-code-extension/overview) for more details.
|
|
50
|
+
|
|
32
51
|
## Contributing
|
|
33
52
|
|
|
34
53
|
### How to Contribute
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
}
|