diff --git a/spec/cassettes/Change_Salesforce_contact_manually/can_be_set_if_the_Contact_exists_in_SF.yml b/spec/cassettes/Change_Salesforce_contact_manually/can_be_set_if_the_Contact_exists_in_SF.yml index 4ea686fd7..f05123360 100644 --- a/spec/cassettes/Change_Salesforce_contact_manually/can_be_set_if_the_Contact_exists_in_SF.yml +++ b/spec/cassettes/Change_Salesforce_contact_manually/can_be_set_if_the_Contact_exists_in_SF.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: get - uri: "/services/data/v51.0/query?q=SELECT%20Id,%20Name,%20BillingCity,%20BillingState,%20BillingCountry,%20Type,%20School_Location__c,%20SheerID_School_Name__c,%20K_I_P__c,%20child_of_kip__c,%20Total_School_Enrollment__c%20FROM%20Account%20WHERE%20(Name%20IN%20(%27RSpec%20University%27))" + uri: "/services/data/v51.0/query?q=SELECT%20Id,%20Name,%20BillingCity,%20BillingState,%20BillingCountry,%20Type,%20School_Location__c,%20SheerID_School_Name__c,%20K_I_P__c,%20child_of_kip__c,%20Total_School_Enrollment__c,%20Has_Assignable_Contacts__c%20FROM%20Account%20WHERE%20(Name%20IN%20(%27RSpec%20University%27))" body: encoding: US-ASCII string: '' headers: User-Agent: - - Faraday v1.10.3 + - Faraday v1.10.4 Authorization: - OAuth Accept-Encoding: @@ -21,43 +21,45 @@ http_interactions: message: OK headers: Date: - - Wed, 04 Sep 2024 16:23:16 GMT + - Tue, 08 Oct 2024 15:05:06 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Connection: - keep-alive - Vary: - - Accept-Encoding + Set-Cookie: + - BrowserId=tAbwQIWGEe-i5nnxlZkMbg; domain=.salesforce.com; path=/; expires=Wed, + 08-Oct-2025 15:05:06 GMT; Max-Age=31536000; secure; SameSite=None + - CookieConsentPolicy=0:1; path=/; expires=Wed, 08-Oct-2025 15:05:06 GMT; Max-Age=31536000; + secure + - LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Wed, 08-Oct-2025 15:05:06 + GMT; Max-Age=31536000; secure Strict-Transport-Security: - max-age=63072000; includeSubDomains + X-Content-Type-Options: + - nosniff X-Robots-Tag: - none + Vary: + - Accept-Encoding Sforce-Limit-Info: - - api-usage=37109/5000000 - X-Content-Type-Options: - - nosniff + - api-usage=73995/305000 Cache-Control: - no-cache,must-revalidate,max-age=0,no-store,private - Set-Cookie: - - BrowserId=_ULek2rZEe-zbpnlAlupTA; domain=.salesforce.com; path=/; expires=Thu, - 04-Sep-2025 16:23:16 GMT; Max-Age=31536000; secure; SameSite=None - - CookieConsentPolicy=0:1; path=/; expires=Thu, 04-Sep-2025 16:23:16 GMT; Max-Age=31536000; - secure - - LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Thu, 04-Sep-2025 16:23:16 - GMT; Max-Age=31536000; secure Server: - sfdcedge X-Sfdc-Request-Id: - - 0e73c7bfcd2cd4b5613bdc0920bed8d0 + - 1d531721139fbff90848e8fed4ca0720 + X-Request-Id: + - 1d531721139fbff90848e8fed4ca0720 X-Sfdc-Edge-Cache: - MISS body: encoding: ASCII-8BIT string: '{"totalSize":0,"done":true,"records":[]}' http_version: - recorded_at: Wed, 04 Sep 2024 16:23:16 GMT + recorded_at: Tue, 08 Oct 2024 15:05:06 GMT - request: method: post uri: "/services/data/v51.0/sobjects/Account" @@ -66,7 +68,7 @@ http_interactions: string: '{"Name":"RSpec University"}' headers: User-Agent: - - Faraday v1.10.3 + - Faraday v1.10.4 Content-Type: - application/json Authorization: @@ -81,52 +83,54 @@ http_interactions: message: Created headers: Date: - - Wed, 04 Sep 2024 16:23:18 GMT + - Tue, 08 Oct 2024 15:05:07 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Connection: - keep-alive - Sforce-Limit-Info: - - api-usage=37098/5000000 - Strict-Transport-Security: - - max-age=63072000; includeSubDomains Cache-Control: - no-cache,must-revalidate,max-age=0,no-store,private - X-Robots-Tag: - - none Set-Cookie: - - BrowserId=_XXU92rZEe-4jc39-qgTow; domain=.salesforce.com; path=/; expires=Thu, - 04-Sep-2025 16:23:16 GMT; Max-Age=31536000; secure; SameSite=None - - CookieConsentPolicy=0:1; path=/; expires=Thu, 04-Sep-2025 16:23:16 GMT; Max-Age=31536000; + - BrowserId=tDNXG4WGEe-wDwsazMErgw; domain=.salesforce.com; path=/; expires=Wed, + 08-Oct-2025 15:05:06 GMT; Max-Age=31536000; secure; SameSite=None + - CookieConsentPolicy=0:1; path=/; expires=Wed, 08-Oct-2025 15:05:06 GMT; Max-Age=31536000; secure - - LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Thu, 04-Sep-2025 16:23:16 + - LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Wed, 08-Oct-2025 15:05:06 GMT; Max-Age=31536000; secure + Strict-Transport-Security: + - max-age=63072000; includeSubDomains + Location: + - "/services/data/v51.0/sobjects/Account/001Pc00000LuBMUIA3" Vary: - Accept-Encoding + X-Robots-Tag: + - none + Sforce-Limit-Info: + - api-usage=73994/305000 X-Content-Type-Options: - nosniff - Location: - - "/services/data/v51.0/sobjects/Account/001Ox00000OHdSGIA1" Server: - sfdcedge X-Sfdc-Request-Id: - - 12463242670576193bd0d4aceb5d4d64 + - d667f17af657d93ea9ed7db894cbb01a + X-Request-Id: + - d667f17af657d93ea9ed7db894cbb01a body: encoding: ASCII-8BIT - string: '{"id":"001Ox00000OHdSGIA1","success":true,"errors":[]}' + string: '{"id":"001Pc00000LuBMUIA3","success":true,"errors":[]}' http_version: - recorded_at: Wed, 04 Sep 2024 16:23:19 GMT + recorded_at: Tue, 08 Oct 2024 15:05:07 GMT - request: method: post uri: "/services/data/v51.0/sobjects/Contact" body: encoding: UTF-8 - string: '{"FirstName":"Nikita","LastName":"McCullough","Email":"daryl_trantow@bradtke.io"}' + string: '{"FirstName":"Ricardo","LastName":"Reynolds","Email":"coy_mante@rennerryan.co"}' headers: User-Agent: - - Faraday v1.10.3 + - Faraday v1.10.4 Content-Type: - application/json Authorization: @@ -141,7 +145,7 @@ http_interactions: message: Created headers: Date: - - Wed, 04 Sep 2024 16:23:20 GMT + - Tue, 08 Oct 2024 15:05:08 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: @@ -150,43 +154,45 @@ http_interactions: - keep-alive Strict-Transport-Security: - max-age=63072000; includeSubDomains - Location: - - "/services/data/v51.0/sobjects/Contact/003Ox00000QhboXIAR" - X-Content-Type-Options: - - nosniff Set-Cookie: - - BrowserId=_xzOGWrZEe-pC3-63Rbixw; domain=.salesforce.com; path=/; expires=Thu, - 04-Sep-2025 16:23:19 GMT; Max-Age=31536000; secure; SameSite=None - - CookieConsentPolicy=0:1; path=/; expires=Thu, 04-Sep-2025 16:23:19 GMT; Max-Age=31536000; + - BrowserId=tNi-loWGEe-y9O39Swt3yg; domain=.salesforce.com; path=/; expires=Wed, + 08-Oct-2025 15:05:07 GMT; Max-Age=31536000; secure; SameSite=None + - CookieConsentPolicy=0:1; path=/; expires=Wed, 08-Oct-2025 15:05:07 GMT; Max-Age=31536000; secure - - LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Thu, 04-Sep-2025 16:23:19 + - LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Wed, 08-Oct-2025 15:05:07 GMT; Max-Age=31536000; secure + X-Content-Type-Options: + - nosniff Vary: - Accept-Encoding - X-Robots-Tag: - - none Cache-Control: - no-cache,must-revalidate,max-age=0,no-store,private + X-Robots-Tag: + - none Sforce-Limit-Info: - - api-usage=37100/5000000 + - api-usage=73994/305000 + Location: + - "/services/data/v51.0/sobjects/Contact/003Pc00000NsWSHIA3" Server: - sfdcedge X-Sfdc-Request-Id: - - 994f58db89e9f88f7cf486a5dd53e844 + - 489526c71950273d3bb34cf207785209 + X-Request-Id: + - 489526c71950273d3bb34cf207785209 body: encoding: ASCII-8BIT - string: '{"id":"003Ox00000QhboXIAR","success":true,"errors":[]}' + string: '{"id":"003Pc00000NsWSHIA3","success":true,"errors":[]}' http_version: - recorded_at: Wed, 04 Sep 2024 16:23:20 GMT + recorded_at: Tue, 08 Oct 2024 15:05:08 GMT - request: method: get - uri: "/services/data/v51.0/query?q=SELECT%20Id,%20Name,%20FirstName,%20LastName,%20Email,%20Email_alt__c,%20Faculty_Confirmed_Date__c,%20FV_Status__c,%20LastModifiedDate,%20AccountId,%20School_Type__c,%20SendFacultyVerificationTo__c,%20All_Emails__c,%20Adoption_Status__c,%20Grant_Tutor_Access__c,%20Title_1_school__c,%20Accounts_UUID__c,%20LeadSource,%20Signup_Date__c,%20Renewal_Eligible__c,%20Assignable_Interest__c,%20Assignable_Adoption_Date__c%20FROM%20Contact%20WHERE%20(Id%20=%20%27003Ox00000QhboXIAR%27)%20LIMIT%201" + uri: "/services/data/v51.0/query?q=SELECT%20Id,%20Name,%20FirstName,%20LastName,%20Email,%20Email_alt__c,%20Faculty_Confirmed_Date__c,%20FV_Status__c,%20LastModifiedDate,%20AccountId,%20School_Type__c,%20SendFacultyVerificationTo__c,%20All_Emails__c,%20Adoption_Status__c,%20Grant_Tutor_Access__c,%20Title_1_school__c,%20Accounts_UUID__c,%20LeadSource,%20Signup_Date__c,%20Renewal_Eligible__c,%20Assignable_Interest__c,%20Assignable_Adoption_Date__c%20FROM%20Contact%20WHERE%20(Id%20=%20%27003Pc00000NsWSHIA3%27)%20LIMIT%201" body: encoding: US-ASCII string: '' headers: User-Agent: - - Faraday v1.10.3 + - Faraday v1.10.4 Authorization: - OAuth Accept-Encoding: @@ -199,43 +205,45 @@ http_interactions: message: OK headers: Date: - - Wed, 04 Sep 2024 16:23:20 GMT + - Tue, 08 Oct 2024 15:05:08 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Connection: - keep-alive + Strict-Transport-Security: + - max-age=63072000; includeSubDomains + Vary: + - Accept-Encoding + Cache-Control: + - no-cache,must-revalidate,max-age=0,no-store,private X-Robots-Tag: - none Sforce-Limit-Info: - - api-usage=37098/5000000 + - api-usage=73995/305000 Set-Cookie: - - BrowserId=_--uhGrZEe-kH915r93DnQ; domain=.salesforce.com; path=/; expires=Thu, - 04-Sep-2025 16:23:20 GMT; Max-Age=31536000; secure; SameSite=None - - CookieConsentPolicy=0:1; path=/; expires=Thu, 04-Sep-2025 16:23:20 GMT; Max-Age=31536000; + - BrowserId=tYayXIWGEe-ww7eu90yMBg; domain=.salesforce.com; path=/; expires=Wed, + 08-Oct-2025 15:05:08 GMT; Max-Age=31536000; secure; SameSite=None + - CookieConsentPolicy=0:1; path=/; expires=Wed, 08-Oct-2025 15:05:08 GMT; Max-Age=31536000; secure - - LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Thu, 04-Sep-2025 16:23:20 + - LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Wed, 08-Oct-2025 15:05:08 GMT; Max-Age=31536000; secure - Cache-Control: - - no-cache,must-revalidate,max-age=0,no-store,private - Strict-Transport-Security: - - max-age=63072000; includeSubDomains - Vary: - - Accept-Encoding X-Content-Type-Options: - nosniff Server: - sfdcedge X-Sfdc-Request-Id: - - 83ecede8fa83023f772eb1ea9ffa0fa1 + - 91376a8284ef074935f855444a168604 + X-Request-Id: + - 91376a8284ef074935f855444a168604 X-Sfdc-Edge-Cache: - MISS body: encoding: ASCII-8BIT - string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"Contact","url":"/services/data/v51.0/sobjects/Contact/003Ox00000QhboXIAR"},"Id":"003Ox00000QhboXIAR","Name":"Nikita - McCullough","FirstName":"Nikita","LastName":"McCullough","Email":"daryl_trantow@bradtke.io","Email_alt__c":null,"Faculty_Confirmed_Date__c":null,"FV_Status__c":null,"LastModifiedDate":"2024-09-04T16:23:20.000+0000","AccountId":null,"School_Type__c":null,"SendFacultyVerificationTo__c":null,"All_Emails__c":"daryl_trantow@bradtke.io","Adoption_Status__c":"Not + string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"Contact","url":"/services/data/v51.0/sobjects/Contact/003Pc00000NsWSHIA3"},"Id":"003Pc00000NsWSHIA3","Name":"Ricardo + Reynolds","FirstName":"Ricardo","LastName":"Reynolds","Email":"coy_mante@rennerryan.co","Email_alt__c":null,"Faculty_Confirmed_Date__c":null,"FV_Status__c":null,"LastModifiedDate":"2024-10-08T15:05:08.000+0000","AccountId":null,"School_Type__c":null,"SendFacultyVerificationTo__c":null,"All_Emails__c":"coy_mante@rennerryan.co","Adoption_Status__c":"Not Adopter","Grant_Tutor_Access__c":false,"Title_1_school__c":false,"Accounts_UUID__c":null,"LeadSource":null,"Signup_Date__c":null,"Renewal_Eligible__c":false,"Assignable_Interest__c":null,"Assignable_Adoption_Date__c":null}]}' http_version: - recorded_at: Wed, 04 Sep 2024 16:23:20 GMT + recorded_at: Tue, 08 Oct 2024 15:05:08 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/Change_Salesforce_contact_manually/cannot_be_set_if_the_Contact_does_not_exist_in_SF.yml b/spec/cassettes/Change_Salesforce_contact_manually/cannot_be_set_if_the_Contact_does_not_exist_in_SF.yml index 9a01d5a78..8b33cce4c 100644 --- a/spec/cassettes/Change_Salesforce_contact_manually/cannot_be_set_if_the_Contact_does_not_exist_in_SF.yml +++ b/spec/cassettes/Change_Salesforce_contact_manually/cannot_be_set_if_the_Contact_does_not_exist_in_SF.yml @@ -8,7 +8,7 @@ http_interactions: string: '' headers: User-Agent: - - Faraday v1.10.3 + - Faraday v1.10.4 Authorization: - OAuth Accept-Encoding: @@ -21,7 +21,7 @@ http_interactions: message: OK headers: Date: - - Wed, 04 Sep 2024 16:23:21 GMT + - Tue, 08 Oct 2024 15:05:05 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: @@ -30,32 +30,34 @@ http_interactions: - keep-alive Strict-Transport-Security: - max-age=63072000; includeSubDomains - Sforce-Limit-Info: - - api-usage=37099/5000000 - Vary: - - Accept-Encoding X-Robots-Tag: - none + Sforce-Limit-Info: + - api-usage=73994/305000 Cache-Control: - no-cache,must-revalidate,max-age=0,no-store,private + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff Set-Cookie: - - BrowserId=ADrogGraEe-4jc39-qgTow; domain=.salesforce.com; path=/; expires=Thu, - 04-Sep-2025 16:23:21 GMT; Max-Age=31536000; secure; SameSite=None - - CookieConsentPolicy=0:1; path=/; expires=Thu, 04-Sep-2025 16:23:21 GMT; Max-Age=31536000; + - BrowserId=s5KqvoWGEe-oQ-O_-Fe-kw; domain=.salesforce.com; path=/; expires=Wed, + 08-Oct-2025 15:05:05 GMT; Max-Age=31536000; secure; SameSite=None + - CookieConsentPolicy=0:1; path=/; expires=Wed, 08-Oct-2025 15:05:05 GMT; Max-Age=31536000; secure - - LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Thu, 04-Sep-2025 16:23:21 + - LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Wed, 08-Oct-2025 15:05:05 GMT; Max-Age=31536000; secure Server: - sfdcedge X-Sfdc-Request-Id: - - 020106f6edf1737f8fbaa74bbdc49591 + - 0f1add6249c71c3786b963e7dbee805c + X-Request-Id: + - 0f1add6249c71c3786b963e7dbee805c X-Sfdc-Edge-Cache: - MISS body: encoding: ASCII-8BIT string: '{"totalSize":0,"done":true,"records":[]}' http_version: - recorded_at: Wed, 04 Sep 2024 16:23:21 GMT + recorded_at: Tue, 08 Oct 2024 15:05:05 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/Change_Salesforce_contact_manually/cannot_be_set_if_the_ID_is_malformed.yml b/spec/cassettes/Change_Salesforce_contact_manually/cannot_be_set_if_the_ID_is_malformed.yml index 84f6547f2..a54f1f567 100644 --- a/spec/cassettes/Change_Salesforce_contact_manually/cannot_be_set_if_the_ID_is_malformed.yml +++ b/spec/cassettes/Change_Salesforce_contact_manually/cannot_be_set_if_the_ID_is_malformed.yml @@ -8,7 +8,7 @@ http_interactions: string: '' headers: User-Agent: - - Faraday v1.10.3 + - Faraday v1.10.4 Authorization: - OAuth Accept-Encoding: @@ -21,39 +21,41 @@ http_interactions: message: Bad Request headers: Date: - - Wed, 04 Sep 2024 16:23:21 GMT + - Tue, 08 Oct 2024 15:05:06 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Connection: - keep-alive - Set-Cookie: - - BrowserId=AIyLGGraEe--B1c3qM3BiQ; domain=.salesforce.com; path=/; expires=Thu, - 04-Sep-2025 16:23:21 GMT; Max-Age=31536000; secure; SameSite=None - - CookieConsentPolicy=0:1; path=/; expires=Thu, 04-Sep-2025 16:23:21 GMT; Max-Age=31536000; - secure - - LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Thu, 04-Sep-2025 16:23:21 - GMT; Max-Age=31536000; secure - Strict-Transport-Security: - - max-age=63072000; includeSubDomains X-Content-Type-Options: - nosniff - Sforce-Limit-Info: - - api-usage=37125/5000000 - X-Robots-Tag: - - none Cache-Control: - no-cache,must-revalidate,max-age=0,no-store,private + X-Robots-Tag: + - none + Sforce-Limit-Info: + - api-usage=73994/305000 + Strict-Transport-Security: + - max-age=63072000; includeSubDomains + Set-Cookie: + - BrowserId=s9IkRYWGEe-vVKF0vQBeQQ; domain=.salesforce.com; path=/; expires=Wed, + 08-Oct-2025 15:05:06 GMT; Max-Age=31536000; secure; SameSite=None + - CookieConsentPolicy=0:1; path=/; expires=Wed, 08-Oct-2025 15:05:06 GMT; Max-Age=31536000; + secure + - LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Wed, 08-Oct-2025 15:05:06 + GMT; Max-Age=31536000; secure Server: - sfdcedge X-Sfdc-Request-Id: - - 96eee8bd5bfadfa6b2fc91d6f91d0ae0 + - b224126dea1d50eea19f4cbe8c6fa855 + X-Request-Id: + - b224126dea1d50eea19f4cbe8c6fa855 body: encoding: UTF-8 string: '[{"message":"\nAssignable_Adoption_Date__c FROM Contact WHERE (Id = ''somethingwonky'') LIMIT 1\n ^\nERROR at Row:1:Column:392\ninvalid ID field: somethingwonky","errorCode":"INVALID_QUERY_FILTER_OPERATOR"}]' http_version: - recorded_at: Wed, 04 Sep 2024 16:23:21 GMT + recorded_at: Tue, 08 Oct 2024 15:05:06 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/Change_Salesforce_contact_manually/sf_setup.yml b/spec/cassettes/Change_Salesforce_contact_manually/sf_setup.yml index 0b4f408ea..21e182a65 100644 --- a/spec/cassettes/Change_Salesforce_contact_manually/sf_setup.yml +++ b/spec/cassettes/Change_Salesforce_contact_manually/sf_setup.yml @@ -5,10 +5,10 @@ http_interactions: uri: https:///services/oauth2/token body: encoding: US-ASCII - string: grant_type=password&client_id=&client_secret=&username=&password= + string: grant_type=password&client_id=&client_secret=&username=&password= headers: User-Agent: - - Faraday v1.10.3 + - Faraday v1.10.4 Content-Type: - application/x-www-form-urlencoded Accept-Encoding: @@ -21,13 +21,13 @@ http_interactions: message: OK headers: Date: - - Wed, 04 Sep 2024 16:23:15 GMT + - Tue, 08 Oct 2024 15:05:04 GMT Set-Cookie: - - BrowserId=_KbsimrZEe-pwDmPFAlKkA; domain=.salesforce.com; path=/; expires=Thu, - 04-Sep-2025 16:23:15 GMT; Max-Age=31536000; secure; SameSite=None - - CookieConsentPolicy=0:0; path=/; expires=Thu, 04-Sep-2025 16:23:15 GMT; Max-Age=31536000; + - BrowserId=suMwfYWGEe-7dIfpWPOQQA; domain=.salesforce.com; path=/; expires=Wed, + 08-Oct-2025 15:05:04 GMT; Max-Age=31536000; secure; SameSite=None + - CookieConsentPolicy=0:0; path=/; expires=Wed, 08-Oct-2025 15:05:04 GMT; Max-Age=31536000; secure - - LSKey-c$CookieConsentPolicy=0:0; path=/; expires=Thu, 04-Sep-2025 16:23:15 + - LSKey-c$CookieConsentPolicy=0:0; path=/; expires=Wed, 08-Oct-2025 15:05:04 GMT; Max-Age=31536000; secure Strict-Transport-Security: - max-age=63072000; includeSubDomains @@ -47,7 +47,7 @@ http_interactions: - chunked body: encoding: ASCII-8BIT - string: '{"access_token":"","instance_url":"","id":"https:///id/00DOx000002qc01MAA/005U0000005MXdmIAG","token_type":"Bearer","issued_at":"1725466995323","signature":""}' + string: '{"access_token":"","instance_url":"","id":"https:///id/00DU0000000KwchMAC/005U0000005akrEIAQ","token_type":"Bearer","issued_at":"1728399904705","signature":""}' http_version: - recorded_at: Wed, 04 Sep 2024 16:23:15 GMT + recorded_at: Tue, 08 Oct 2024 15:05:04 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/Newflow_CreateOrUpdateSalesforceLead/sf_setup.yml b/spec/cassettes/Newflow_CreateOrUpdateSalesforceLead/sf_setup.yml index 3096ea728..e655045b8 100644 --- a/spec/cassettes/Newflow_CreateOrUpdateSalesforceLead/sf_setup.yml +++ b/spec/cassettes/Newflow_CreateOrUpdateSalesforceLead/sf_setup.yml @@ -5,10 +5,10 @@ http_interactions: uri: https:///services/oauth2/token body: encoding: US-ASCII - string: grant_type=password&client_id=&client_secret=&username=&password= + string: grant_type=password&client_id=&client_secret=&username=&password= headers: User-Agent: - - Faraday v1.10.3 + - Faraday v1.10.4 Content-Type: - application/x-www-form-urlencoded Accept-Encoding: @@ -21,13 +21,13 @@ http_interactions: message: OK headers: Date: - - Wed, 04 Sep 2024 16:55:26 GMT + - Tue, 08 Oct 2024 15:04:38 GMT Set-Cookie: - - BrowserId=e6ZhZmreEe-BJDnZdwCOsA; domain=.salesforce.com; path=/; expires=Thu, - 04-Sep-2025 16:55:26 GMT; Max-Age=31536000; secure; SameSite=None - - CookieConsentPolicy=0:0; path=/; expires=Thu, 04-Sep-2025 16:55:26 GMT; Max-Age=31536000; + - BrowserId=o5XNPYWGEe-UUm_L3BTUAA; domain=.salesforce.com; path=/; expires=Wed, + 08-Oct-2025 15:04:38 GMT; Max-Age=31536000; secure; SameSite=None + - CookieConsentPolicy=0:0; path=/; expires=Wed, 08-Oct-2025 15:04:38 GMT; Max-Age=31536000; secure - - LSKey-c$CookieConsentPolicy=0:0; path=/; expires=Thu, 04-Sep-2025 16:55:26 + - LSKey-c$CookieConsentPolicy=0:0; path=/; expires=Wed, 08-Oct-2025 15:04:38 GMT; Max-Age=31536000; secure Strict-Transport-Security: - max-age=63072000; includeSubDomains @@ -47,7 +47,7 @@ http_interactions: - chunked body: encoding: ASCII-8BIT - string: '{"access_token":"","instance_url":"","id":"https:///id/00DOx000002qc01MAA/005U0000005MXdmIAG","token_type":"Bearer","issued_at":"1725468926449","signature":""}' + string: '{"access_token":"","instance_url":"","id":"https:///id/00DU0000000KwchMAC/005U0000005akrEIAQ","token_type":"Bearer","issued_at":"1728399879076","signature":""}' http_version: - recorded_at: Wed, 04 Sep 2024 16:55:26 GMT + recorded_at: Tue, 08 Oct 2024 15:04:39 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/Newflow_CreateOrUpdateSalesforceLead/works_on_the_happy_path.yml b/spec/cassettes/Newflow_CreateOrUpdateSalesforceLead/works_on_the_happy_path.yml index 94c9dd96c..6e8f6c3b5 100644 --- a/spec/cassettes/Newflow_CreateOrUpdateSalesforceLead/works_on_the_happy_path.yml +++ b/spec/cassettes/Newflow_CreateOrUpdateSalesforceLead/works_on_the_happy_path.yml @@ -2,13 +2,13 @@ http_interactions: - request: method: get - uri: "/services/data/v51.0/query?q=SELECT%20Id,%20Name,%20BillingCity,%20BillingState,%20BillingCountry,%20Type,%20School_Location__c,%20SheerID_School_Name__c,%20K_I_P__c,%20child_of_kip__c,%20Total_School_Enrollment__c%20FROM%20Account%20WHERE%20(Name%20=%20%27Find%20Me%20A%20Home%27)%20LIMIT%201" + uri: "/services/data/v51.0/query?q=SELECT%20Id,%20Name,%20BillingCity,%20BillingState,%20BillingCountry,%20Type,%20School_Location__c,%20SheerID_School_Name__c,%20K_I_P__c,%20child_of_kip__c,%20Total_School_Enrollment__c,%20Has_Assignable_Contacts__c%20FROM%20Account%20WHERE%20(Name%20=%20%27Find%20Me%20A%20Home%27)%20LIMIT%201" body: encoding: US-ASCII string: '' headers: User-Agent: - - Faraday v1.10.3 + - Faraday v1.10.4 Authorization: - OAuth Accept-Encoding: @@ -21,36 +21,38 @@ http_interactions: message: OK headers: Date: - - Wed, 04 Sep 2024 16:55:26 GMT + - Tue, 08 Oct 2024 15:04:39 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Connection: - keep-alive - Strict-Transport-Security: - - max-age=63072000; includeSubDomains - X-Content-Type-Options: - - nosniff - Set-Cookie: - - BrowserId=fBTaLmreEe-4jc39-qgTow; domain=.salesforce.com; path=/; expires=Thu, - 04-Sep-2025 16:55:26 GMT; Max-Age=31536000; secure; SameSite=None - - CookieConsentPolicy=0:1; path=/; expires=Thu, 04-Sep-2025 16:55:26 GMT; Max-Age=31536000; - secure - - LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Thu, 04-Sep-2025 16:55:26 - GMT; Max-Age=31536000; secure Vary: - Accept-Encoding - Sforce-Limit-Info: - - api-usage=37968/5000000 Cache-Control: - no-cache,must-revalidate,max-age=0,no-store,private + Sforce-Limit-Info: + - api-usage=73994/305000 X-Robots-Tag: - none + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=63072000; includeSubDomains + Set-Cookie: + - BrowserId=o-u0_IWGEe-C6HOUw0NLAQ; domain=.salesforce.com; path=/; expires=Wed, + 08-Oct-2025 15:04:39 GMT; Max-Age=31536000; secure; SameSite=None + - CookieConsentPolicy=0:1; path=/; expires=Wed, 08-Oct-2025 15:04:39 GMT; Max-Age=31536000; + secure + - LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Wed, 08-Oct-2025 15:04:39 + GMT; Max-Age=31536000; secure Server: - sfdcedge X-Sfdc-Request-Id: - - 25f505e7c7c08bdbfdf32fde9d97142b + - 4461a9162e92ce538bdc3760f0f1b3c9 + X-Request-Id: + - 4461a9162e92ce538bdc3760f0f1b3c9 X-Sfdc-Edge-Cache: - MISS body: @@ -58,22 +60,22 @@ http_interactions: string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"Account","url":"/services/data/v51.0/sobjects/Account/0016f00002iPs9mAAC"},"Id":"0016f00002iPs9mAAC","Name":"Find Me A Home","BillingCity":"Abu Dhabi","BillingState":null,"BillingCountry":"United Arab Emirates","Type":"Other","School_Location__c":"Foreign","SheerID_School_Name__c":"Find - Me A Home","K_I_P__c":false,"child_of_kip__c":false,"Total_School_Enrollment__c":null}]}' + Me A Home","K_I_P__c":false,"child_of_kip__c":false,"Total_School_Enrollment__c":null,"Has_Assignable_Contacts__c":false}]}' http_version: - recorded_at: Wed, 04 Sep 2024 16:55:26 GMT + recorded_at: Tue, 08 Oct 2024 15:04:39 GMT - request: method: post uri: "/services/data/v51.0/sobjects/Lead" body: encoding: UTF-8 string: '{"FirstName":"Max","LastName":"Liebermann","Subject_Interest__c":"AP - Macro Econ","Company":"Test University","Country":"United States","Phone":"+17133484799","LeadSource":"Account + Macro Econ","Company":"Test University","Country":"United States","Phone":"+17133484799","Email":"","LeadSource":"Account Creation","Newsletter__c":false,"Newsletter_Opt_In__c":false,"Adoption_Status__c":"Confirmed - Adoption Won","Number_of_Students__c":"35","Accounts_ID__c":1,"Accounts_UUID__c":"86ed61c4-e556-4a05-9c55-5453bbdd9f28","Application_Source__c":"Accounts","Role__c":"Instructor","Position__c":"instructor","who_chooses_books__c":"instructor","FV_Status__c":"pending_faculty","BRI_Marketing__c":false,"Title_1_school__c":false,"Signup_Date__c":"2024-09-04T16:55:26.508+0000","Self_Reported_School__c":"Test + Adoption Won","Number_of_Students__c":"35","Accounts_ID__c":1,"Accounts_UUID__c":"6d26c78e-5e7c-4daa-8a0a-26381430024d","Application_Source__c":"Accounts","Role__c":"Instructor","Position__c":"instructor","who_chooses_books__c":"instructor","FV_Status__c":"pending_faculty","BRI_Marketing__c":false,"Title_1_school__c":false,"Signup_Date__c":"2024-10-08T15:04:39.107+0000","Self_Reported_School__c":"Test University","Tracking_Parameters__c":"https://dev.openstax.org/accounts/i/signup/","Account_ID__c":"0016f00002iPs9mAAC","School__c":"0016f00002iPs9mAAC"}' headers: User-Agent: - - Faraday v1.10.3 + - Faraday v1.10.4 Content-Type: - application/json Authorization: @@ -88,41 +90,43 @@ http_interactions: message: Created headers: Date: - - Wed, 04 Sep 2024 16:55:32 GMT + - Tue, 08 Oct 2024 15:04:43 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Connection: - keep-alive - Strict-Transport-Security: - - max-age=63072000; includeSubDomains - Location: - - "/services/data/v51.0/sobjects/Lead/00QOx00000aLVDoMAO" Vary: - Accept-Encoding - Cache-Control: - - no-cache,must-revalidate,max-age=0,no-store,private - Sforce-Limit-Info: - - api-usage=37968/5000000 + Strict-Transport-Security: + - max-age=63072000; includeSubDomains Set-Cookie: - - BrowserId=fEgf2WreEe-pC3-63Rbixw; domain=.salesforce.com; path=/; expires=Thu, - 04-Sep-2025 16:55:27 GMT; Max-Age=31536000; secure; SameSite=None - - CookieConsentPolicy=0:1; path=/; expires=Thu, 04-Sep-2025 16:55:27 GMT; Max-Age=31536000; + - BrowserId=pCWJmIWGEe-ww7eu90yMBg; domain=.salesforce.com; path=/; expires=Wed, + 08-Oct-2025 15:04:39 GMT; Max-Age=31536000; secure; SameSite=None + - CookieConsentPolicy=0:1; path=/; expires=Wed, 08-Oct-2025 15:04:39 GMT; Max-Age=31536000; secure - - LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Thu, 04-Sep-2025 16:55:27 + - LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Wed, 08-Oct-2025 15:04:39 GMT; Max-Age=31536000; secure X-Content-Type-Options: - nosniff + Location: + - "/services/data/v51.0/sobjects/Lead/00QPc00000GGvFeMAL" X-Robots-Tag: - none + Cache-Control: + - no-cache,must-revalidate,max-age=0,no-store,private + Sforce-Limit-Info: + - api-usage=73994/305000 Server: - sfdcedge X-Sfdc-Request-Id: - - 195fe1b23acf0aa4438508370eda95c5 + - 651521e7dffed03910489b953ca0873e + X-Request-Id: + - 651521e7dffed03910489b953ca0873e body: encoding: ASCII-8BIT - string: '{"id":"00QOx00000aLVDoMAO","success":true,"errors":[]}' + string: '{"id":"00QPc00000GGvFeMAL","success":true,"errors":[]}' http_version: - recorded_at: Wed, 04 Sep 2024 16:55:32 GMT + recorded_at: Tue, 08 Oct 2024 15:04:43 GMT recorded_with: VCR 3.0.3