rock_rms 9.17.0 → 9.19.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ad7c16dbbfc98f16fdff9f66bd26d4939d895855be3bb0dd6ce8f7d3d4ab0b3
4
- data.tar.gz: 607be1b3b97e5accc40eaf8798cfcf4b1459ff6c9168b56b7a68822e9caead49
3
+ metadata.gz: 93942de5bc0730b0857592a1ba4a914dadebeacc233f2c840a0cd4531a79ce43
4
+ data.tar.gz: 776db819d6a4b6ab6a583d0e3e4afad2d99b4261393344c5dec0fcec47911a11
5
5
  SHA512:
6
- metadata.gz: 5d467ed57afcc5ffaba72407e1bd4d468fdf381a7d508eb242ca96ae977aa46a7f5b62ee18df5db99891cd0d8dff1506133b40d7c615b0e75c0a45f40b1943ec
7
- data.tar.gz: 4aeffdfa596b75dc68eb6df5c37c851ffcc96abd90b2037d72666a39d461c3e84efec3ba790bbc72a1548137297c059d91fa2791f16b9144e3f365a62ae23237
6
+ metadata.gz: ccbdd51323e08c90202eed8a61c1ed3a82790fceab7475a8cd7b96b3e74cfa888657f89964828bfe10288da4f7a05f20b2f97708108c4c23aac027ddef279012
7
+ data.tar.gz: 0db3d055f7a09120119a815dc249cbedfcc325cc3947b43d2d71d882e546984ff0a582eb6059c67757a033dbb0c4bd648bf893cbde85cb47ba1ed191f11620a8
@@ -9,6 +9,24 @@ module RockRMS
9
9
  Response::Group.format(get(group_path(id)))
10
10
  end
11
11
 
12
+ def create_group(
13
+ name:,
14
+ group_type_id:,
15
+ campus_id: nil,
16
+ foreign_key: nil,
17
+ foreign_id: nil
18
+ )
19
+ options = {
20
+ 'Name' => name,
21
+ 'GroupTypeId' => group_type_id,
22
+ 'CampusId' => campus_id,
23
+ 'ForeignKey' => foreign_key,
24
+ 'ForeignId' => foreign_id
25
+ }
26
+
27
+ post(group_path, options)
28
+ end
29
+
12
30
  def list_groups_for_person(person_id, options = {})
13
31
  opts = options.dup
14
32
  opts['$filter'] = Array(opts['$filter'])
@@ -5,10 +5,16 @@ module RockRMS
5
5
  Response::PhoneNumber.format(get(phone_number_path, options))
6
6
  end
7
7
 
8
- def create_phone_number(number_type_value_id:, number:, person_id:)
8
+ def create_phone_number(
9
+ number_type_value_id:,
10
+ number:,
11
+ person_id:,
12
+ is_system: true,
13
+ is_messaging_enabled: false
14
+ )
9
15
  options = {
10
- 'IsSystem' => true,
11
- 'IsMessagingEnabled' => false,
16
+ 'IsSystem' => is_system,
17
+ 'IsMessagingEnabled' => is_messaging_enabled,
12
18
  'NumberTypeValueId' => number_type_value_id,
13
19
  'Number' => number,
14
20
  'PersonId' => person_id
@@ -10,6 +10,7 @@ module RockRMS
10
10
  last_name: 'LastName',
11
11
  giving_id: 'GivingId',
12
12
  giving_group_id: 'GivingGroupId',
13
+ graduation_year: 'GraduationYear',
13
14
  alias_id: 'PrimaryAliasId',
14
15
  connection_status_value_id: 'ConnectionStatusValueId',
15
16
  record_type_value_id: 'RecordTypeValueId',
@@ -1,3 +1,3 @@
1
1
  module RockRMS
2
- VERSION = '9.17.0'.freeze
2
+ VERSION = '9.19.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rock_rms
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.17.0
4
+ version: 9.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Brooks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-17 00:00:00.000000000 Z
11
+ date: 2025-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday