openstax_salesforce 5.4.0 → 6.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fafb7a66d1b9d467a4cb83840c8c7e7b7f2bf8905523bc45c949682f708986f8
4
- data.tar.gz: 78cccae14aed1a6809c945d5cc8205b29b457ba890b91bb268c074bf7b9e3bfd
3
+ metadata.gz: 0c5eb439993d9028ec5e037e64f128b8d429183345fedec631f2b00dc03ce3d3
4
+ data.tar.gz: bfab2f00947d9cbc2855c39eb4094fc126899c67e70d350ecd05b6a662acb5d6
5
5
  SHA512:
6
- metadata.gz: d3b733a4fe66f2ab5c6479728cbd7d61aeceb4f52afd3b260846842acbdc532aea3eede295ceaded1bcf13e8882509412fe2363307e10698329ae52c8affbe97
7
- data.tar.gz: 81270ddc4c0475f0660dc463a250bfa4ca7511bca8ff463fdd2337ef7f96e256c9c8d21cabecdf48eb9f84ac6afb83e70fe6a1e9470977ca3c7225ea8f08234c
6
+ metadata.gz: d530bae23f16e7c353bb3b6933e0b3e14a1fe29e2d4b0c02a8b7ddbbd54138da1605d205a4868708727dbf79296e1c404ad7bb9c7cd18f4d57a09be037f418cd
7
+ data.tar.gz: db5380c8880c2f6d34c795f07c2dbb225a4753b996dddd78e2d8ff19dcc6b3aab1f600488cbb9032662d22e54f35bef1e5100e6f4bc044213f6d02cd2f86d10a
@@ -3,23 +3,24 @@ module OpenStax::Salesforce::Remote
3
3
  belongs_to :school, foreign_key: :school_id,
4
4
  model: OpenStax::Salesforce::Remote::School
5
5
 
6
- field :name, from: "Name"
7
- field :first_name, from: "FirstName"
8
- field :last_name, from: "LastName"
9
- field :email, from: "Email"
10
- field :email_alt, from: "Email_alt__c"
11
- field :faculty_confirmed_date, from: "Faculty_Confirmed_Date__c", as: :datetime
12
- field :faculty_verified, from: "Faculty_Verified__c"
13
- field :last_modified_at, from: "LastModifiedDate"
14
- field :school_id, from: "AccountId"
15
- field :school_type, from: "School_Type__c"
16
- field :send_faculty_verification_to, from: "SendFacultyVerificationTo__c"
17
- field :all_emails, from: "All_Emails__c"
18
- field :confirmed_emails, from: "Confirmed_Emails__c"
19
- field :adoption_status, from: "Adoption_Status__c"
20
- field :grant_tutor_access, from: "Grant_Tutor_Access__c", as: :boolean
21
- field :b_r_i_marketing, from: "BRI_Marketing__c", as: :boolean # Bill of Rights Institute (book) marketing
22
- field :title_1_school, from: "Title_1_school__c", as: :boolean
6
+ field :id, from: 'Id'
7
+ field :name, from: 'Name'
8
+ field :first_name, from: 'FirstName'
9
+ field :last_name, from: 'LastName'
10
+ field :email, from: 'Email'
11
+ field :email_alt, from: 'Email_alt__c'
12
+ field :faculty_confirmed_date, from: 'Faculty_Confirmed_Date__c', as: :datetime
13
+ field :faculty_verified, from: 'FV_Status__c'
14
+ field :last_modified_at, from: 'LastModifiedDate'
15
+ field :school_id, from: 'AccountId'
16
+ field :school_type, from: 'School_Type__c'
17
+ field :send_faculty_verification_to, from: 'SendFacultyVerificationTo__c'
18
+ field :all_emails, from: 'All_Emails__c'
19
+ field :confirmed_emails, from: 'Confirmed_Emails__c'
20
+ field :adoption_status, from: 'Adoption_Status__c'
21
+ field :grant_tutor_access, from: 'Grant_Tutor_Access__c', as: :boolean
22
+ field :b_r_i_marketing, from: 'BRI_Marketing__c', as: :boolean # Bill of Rights Institute (book) marketing
23
+ field :title_1_school, from: 'Title_1_school__c', as: :boolean
23
24
 
24
25
  self.table_name = 'Contact'
25
26
  end
@@ -5,42 +5,43 @@ module OpenStax::Salesforce::Remote
5
5
  pending_faculty
6
6
  confirmed_faculty
7
7
  rejected_faculty
8
- no_faculty_info
9
8
  ].freeze
10
9
 
11
10
  VALID_WHO_CHOOSES_BOOKS = %w[instructor committee coordinator].freeze
12
11
 
13
- field :name, from: "Name"
14
- field :first_name, from: "FirstName"
15
- field :last_name, from: "LastName"
16
- field :salutation, from: "Salutation"
17
- field :subject, from: "Subject__c"
18
- field :school, from: "Company"
19
- field :city, from: "City"
20
- field :state, from: "State"
21
- field :state_code, from: "StateCode"
22
- field :country, from: "Country"
23
- field :phone, from: "Phone"
24
- field :website, from: "Website"
25
- field :status, from: "Status"
26
- field :email, from: "Email"
27
- field :source, from: "LeadSource"
28
- field :newsletter, from: "Newsletter__c"
29
- field :newsletter_opt_in, from: "Newsletter_Opt_In__c"
30
- field :adoption_status, from: "Adoption_Status__c"
31
- field :num_students, from: "Number_of_Students__c"
32
- field :os_accounts_id, from: "OS_Accounts_ID__c"
33
- field :accounts_uuid, from: "accounts_uuid_c__c"
34
- field :application_source, from: "Application_Source__c"
35
- field :role, from: "Role__c"
36
- field :other_role_name, from: "other_role_name__c"
37
- field :who_chooses_books, from: "who_chooses_books__c"
38
- field :verification_status, from: "FV_Status__c"
39
- field :finalize_educator_signup, from: "FV_Final__c", as: :boolean
40
- field :needs_cs_review, from: "Needs_CS_Review__c", as: :boolean
41
- field :b_r_i_marketing, from: "BRI_Marketing__c", as: :boolean # Bill of Rights Institute (book) marketing
42
- field :title_1_school, from: "Title_1_school__c", as: :boolean
43
- field :sheerid_school_name, from: "SheerID_School_Name__c"
12
+ field :id, from: 'Id'
13
+ field :name, from: 'Name'
14
+ field :first_name, from: 'FirstName'
15
+ field :last_name, from: 'LastName'
16
+ field :salutation, from: 'Salutation'
17
+ field :title, from: 'Title'
18
+ field :subject, from: 'Subject__c'
19
+ field :school, from: 'Company'
20
+ field :city, from: 'City'
21
+ field :state, from: 'State'
22
+ field :state_code, from: 'StateCode'
23
+ field :country, from: 'Country'
24
+ field :phone, from: 'Phone'
25
+ field :website, from: 'Website'
26
+ field :status, from: 'Status'
27
+ field :email, from: 'Email'
28
+ field :source, from: 'LeadSource'
29
+ field :newsletter, from: 'Newsletter__c'
30
+ field :newsletter_opt_in, from: 'Newsletter_Opt_In__c'
31
+ field :adoption_status, from: 'Adoption_Status__c'
32
+ field :adoption_json, from: 'AdoptionsJSON__c'
33
+ field :num_students, from: 'Number_of_Students__c'
34
+ field :os_accounts_id, from: 'Accounts_ID__c'
35
+ field :accounts_uuid, from: 'Accounts_UUID__c'
36
+ field :application_source, from: 'Application_Source__c'
37
+ field :role, from: 'Role__c'
38
+ field :position, from: 'Position__c'
39
+ field :who_chooses_books, from: 'who_chooses_books__c'
40
+ field :verification_status, from: 'FV_Status__c'
41
+ field :b_r_i_marketing, from: 'BRI_Marketing__c', as: :boolean # Bill of Rights Institute (book) marketing
42
+ field :title_1_school, from: 'Title_1_school__c', as: :boolean
43
+ field :sheerid_school_name, from: 'SheerID_School_Name__c'
44
+ field :instant_conversion, from: 'Instant_Conversion__c', as: :boolean
44
45
 
45
46
  # These 2 fields both hold the Account (School) ID, but have different data types and uses in SF
46
47
  field :account_id, from: 'Account_ID__c'
@@ -17,6 +17,8 @@ module OpenStax::Salesforce::Remote
17
17
  field :lead_source, from: "LeadSource"
18
18
  field :os_accounts_id, from: "OS_Accounts_ID__c"
19
19
  field :name, from: "Name"
20
+ field :record_type_name, from: "Opportunity_Record_Type_Name__c"
21
+ field :record_type_id, from: "RecordTypeId"
20
22
 
21
23
 
22
24
  self.table_name = 'Opportunity'
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module Salesforce
3
- VERSION = '5.4.0'
3
+ VERSION = '6.2.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstax_salesforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.0
4
+ version: 6.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Slavinsky
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-06-03 00:00:00.000000000 Z
12
+ date: 2021-11-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  - !ruby/object:Gem::Version
151
151
  version: '0'
152
152
  requirements: []
153
- rubygems_version: 3.1.4
153
+ rubygems_version: 3.2.5
154
154
  signing_key:
155
155
  specification_version: 4
156
156
  summary: Interface gem for accessing OpenStax's Salesforce instance